1234567891011121314151617181920212223242526272829303132333435363738394041 |
- var Unibase;
- (function (Unibase) {
- let Themes;
- (function (Themes) {
- let Providers;
- (function (Providers) {
- class Settings {
- constructor() {
- this._filecachehelper = Unibase.Platform.Helpers.FileCacheHelper.Instance();
- }
- static Instance() {
- if (this.instance === undefined)
- this.instance = new Settings();
- return this.instance;
- }
- SetProviders(callback) {
- var _filecache = Unibase.Platform.Helpers.FileCacheHelper.Instance();
- let data = [];
- Unibase.Platform.Membership.Managers.AccountManager.Instance().getdomainloadjs().then((res) => {
- if (res.result != null && res.result.length > 0) {
- data = res.result;
- Unibase.Themes.Providers.Login.SetInstance(callback, data);
- }
- else {
- Unibase.Themes.Providers.Login.SetInstance(callback, data);
- }
- });
- }
- _setRegisterProvider(callback) {
- if (callback)
- callback();
- }
- _setForgotPasswordProvider(callback) {
- if (callback)
- callback();
- }
- }
- Providers.Settings = Settings;
- })(Providers = Themes.Providers || (Themes.Providers = {}));
- })(Themes = Unibase.Themes || (Unibase.Themes = {}));
- })(Unibase || (Unibase = {}));
|