@stratusjs/angular 0.10.1 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/angular.bundle.js +89647 -89617
- package/dist/angular.bundle.min.js +1 -1
- package/package.json +3 -4
- package/src/angular.module.js +155 -0
- package/src/angular.module.js.map +1 -0
- package/src/angular.module.min.js +1 -0
- package/src/angular.module.ts +114 -0
- package/src/app.module.js +7 -116
- package/src/app.module.js.map +1 -1
- package/src/app.module.min.js +1 -1
- package/src/app.module.ts +8 -113
- package/src/base/base.component.js +1 -1
- package/src/base/base.component.js.map +1 -1
- package/src/base/base.component.min.js +1 -1
- package/src/base/base.component.ts +1 -1
- package/src/confirm-dialog/confirm-dialog.component.js +1 -1
- package/src/confirm-dialog/confirm-dialog.component.js.map +1 -1
- package/src/confirm-dialog/confirm-dialog.component.min.js +1 -1
- package/src/confirm-dialog/confirm-dialog.component.ts +1 -1
- package/src/editor/citation-dialog.component.css +2 -1
- package/src/editor/citation-dialog.component.css.map +1 -1
- package/src/editor/citation-dialog.component.js +1 -1
- package/src/editor/citation-dialog.component.js.map +1 -1
- package/src/editor/citation-dialog.component.min.css +1 -1
- package/src/editor/citation-dialog.component.min.js +1 -1
- package/src/editor/citation-dialog.component.scss +2 -1
- package/src/editor/citation-dialog.component.ts +1 -1
- package/src/editor/code-view-dialog.component.js +1 -1
- package/src/editor/code-view-dialog.component.js.map +1 -1
- package/src/editor/code-view-dialog.component.min.js +1 -1
- package/src/editor/code-view-dialog.component.ts +1 -1
- package/src/editor/editor.component.js +7 -3
- package/src/editor/editor.component.js.map +1 -1
- package/src/editor/editor.component.min.js +1 -1
- package/src/editor/editor.component.ts +12 -6
- package/src/editor/link-dialog.component.js +1 -1
- package/src/editor/link-dialog.component.js.map +1 -1
- package/src/editor/link-dialog.component.min.js +1 -1
- package/src/editor/link-dialog.component.ts +1 -1
- package/src/editor/media-dialog.component.js +1 -1
- package/src/editor/media-dialog.component.js.map +1 -1
- package/src/editor/media-dialog.component.min.js +1 -1
- package/src/editor/media-dialog.component.ts +1 -1
- package/src/{material.js → material.module.js} +1 -1
- package/src/material.module.js.map +1 -0
- package/src/media-selector/media-selector.component.css +12 -0
- package/src/media-selector/media-selector.component.css.map +1 -1
- package/src/media-selector/media-selector.component.js +1 -1
- package/src/media-selector/media-selector.component.js.map +1 -1
- package/src/media-selector/media-selector.component.min.css +1 -1
- package/src/media-selector/media-selector.component.min.js +1 -1
- package/src/media-selector/media-selector.component.scss +2 -0
- package/src/media-selector/media-selector.component.ts +1 -1
- package/src/selector/selector.component.css +60 -19
- package/src/selector/selector.component.css.map +1 -1
- package/src/selector/selector.component.js +1 -1
- package/src/selector/selector.component.js.map +1 -1
- package/src/selector/selector.component.min.css +1 -1
- package/src/selector/selector.component.min.js +1 -1
- package/src/selector/selector.component.scss +6 -2
- package/src/selector/selector.component.ts +1 -1
- package/src/test/test.directive.js +1 -1
- package/src/test/test.directive.js.map +1 -1
- package/src/test/test.directive.min.js +1 -1
- package/src/test/test.directive.ts +1 -1
- package/src/timezone-selector/timezone-selector.component.js +1 -1
- package/src/timezone-selector/timezone-selector.component.js.map +1 -1
- package/src/timezone-selector/timezone-selector.component.min.js +1 -1
- package/src/timezone-selector/timezone-selector.component.ts +1 -1
- package/src/tree/tree-dialog.component.html +293 -210
- package/src/tree/tree-dialog.component.js +5 -1
- package/src/tree/tree-dialog.component.js.map +1 -1
- package/src/tree/tree-dialog.component.min.html +3 -1
- package/src/tree/tree-dialog.component.min.js +1 -1
- package/src/tree/tree-dialog.component.ts +6 -1
- package/src/tree/tree-node.component.html +2 -2
- package/src/tree/tree-node.component.js +1 -1
- package/src/tree/tree-node.component.js.map +1 -1
- package/src/tree/tree-node.component.min.html +1 -1
- package/src/tree/tree-node.component.min.js +1 -1
- package/src/tree/tree-node.component.ts +1 -1
- package/src/tree/tree.component.css +16 -4
- package/src/tree/tree.component.css.map +1 -1
- package/src/tree/tree.component.html +2 -2
- package/src/tree/tree.component.js +3 -3
- package/src/tree/tree.component.js.map +1 -1
- package/src/tree/tree.component.min.css +1 -1
- package/src/tree/tree.component.min.html +1 -1
- package/src/tree/tree.component.min.js +1 -1
- package/src/tree/tree.component.scss +26 -17
- package/src/tree/tree.component.ts +3 -3
- package/src/angular.modules.js +0 -35
- package/src/angular.modules.js.map +0 -1
- package/src/angular.modules.min.js +0 -1
- package/src/angular.modules.ts +0 -24
- package/src/material.js.map +0 -1
- /package/src/{material.min.js → material.module.min.js} +0 -0
- /package/src/{material.ts → material.module.ts} +0 -0
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
.admin-select-content,
|
|
5
5
|
.autocomplete-option,
|
|
6
6
|
.sa-selector,
|
|
7
|
+
.sa-internal-selector,
|
|
7
8
|
.selected-box.cdk-drag-preview {
|
|
8
9
|
.content-type {
|
|
9
10
|
margin-bottom: 2px;
|
|
@@ -159,6 +160,7 @@ md-autocomplete,
|
|
|
159
160
|
|
|
160
161
|
|
|
161
162
|
sa-selector,
|
|
163
|
+
sa-internal-selector,
|
|
162
164
|
.selected-box.cdk-drag-preview {
|
|
163
165
|
.column-image,
|
|
164
166
|
.column-title,
|
|
@@ -167,7 +169,8 @@ sa-selector,
|
|
|
167
169
|
}
|
|
168
170
|
}
|
|
169
171
|
|
|
170
|
-
sa-selector
|
|
172
|
+
sa-selector,
|
|
173
|
+
sa-internal-selector {
|
|
171
174
|
.column-image {
|
|
172
175
|
width: 15%;
|
|
173
176
|
padding-right: 10px;
|
|
@@ -203,7 +206,8 @@ sa-selector {
|
|
|
203
206
|
|
|
204
207
|
|
|
205
208
|
|
|
206
|
-
sa-selector
|
|
209
|
+
sa-selector,
|
|
210
|
+
sa-internal-selector {
|
|
207
211
|
margin: 0 auto;
|
|
208
212
|
.routing {
|
|
209
213
|
color: #333;
|
|
@@ -83,7 +83,7 @@ const hasNotEmpty = (object: object, path: string) => has(object, path) && !isEm
|
|
|
83
83
|
*/
|
|
84
84
|
@Component({
|
|
85
85
|
// selector: 'sa-selector-component',
|
|
86
|
-
selector: `sa-${moduleName}`,
|
|
86
|
+
selector: `sa-internal-${moduleName}`,
|
|
87
87
|
templateUrl: `${localDir}/${moduleName}/${moduleName}.component${min}.html`,
|
|
88
88
|
// FIXME: This doesn't work, as it seems Angular attempts to use a System.js import instead of their own, so it will
|
|
89
89
|
// require the steal-css module
|
|
@@ -56,7 +56,7 @@ System.register(["@angular/core", "@stratusjs/runtime/stratus", "lodash"], funct
|
|
|
56
56
|
], TestDirective.prototype, "onMouseLeave", null);
|
|
57
57
|
TestDirective = __decorate([
|
|
58
58
|
core_1.Directive({
|
|
59
|
-
selector: `[sa-${moduleName}]`
|
|
59
|
+
selector: `[sa-internal-${moduleName}]`
|
|
60
60
|
}),
|
|
61
61
|
__metadata("design:paramtypes", [core_1.ElementRef])
|
|
62
62
|
], TestDirective);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["test.directive.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;YAgBM,UAAU,GAAG,MAAM,CAAA;YAMZ,aAAa,GAAnB,MAAM,aAAa;gBAKtB,YAAoB,EAAc;oBAAd,OAAE,GAAF,EAAE,CAAY;oBAK9B,IAAI,CAAC,GAAG,GAAG,gBAAC,CAAC,QAAQ,CAAC,MAAM,UAAU,aAAa,CAAC,CAAA;oBACpD,iBAAO,CAAC,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,IAAI,CAAA;oBAElC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,kBAAkB,EAAE,IAAI,CAAC,EAAE,CAAC,CAAA;gBAkBvD,CAAC;gBAE2B,YAAY;oBACpC,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAA;gBAC5B,CAAC;gBAE2B,YAAY;oBACpC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAA;gBACxB,CAAC;gBAEO,SAAS,CAAC,KAAa;oBAC3B,IAAI,CAAC,EAAE,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AAC","file":"test.directive.js"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["@angular/core","@stratusjs/runtime/stratus","lodash"],function(e,t){"use strict";var n,s,
|
|
1
|
+
System.register(["@angular/core","@stratusjs/runtime/stratus","lodash"],function(e,t){"use strict";var n,i,s,o,r,a=this&&this.__decorate||function(e,t,n,i){var s,o=arguments.length,r=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(r=(o<3?s(r):o>3?s(t,n,r):s(t,n))||r);return o>3&&r&&Object.defineProperty(t,n,r),r},u=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};t&&t.id;return{setters:[function(e){n=e},function(e){i=e},function(e){s=e}],execute:function(){o="test",r=class{constructor(e){this.el=e,this.uid=s.default.uniqueId(`sa_${o}_directive_`),i.Stratus.Instances[this.uid]=this,console.warn(this.uid,"has been load to",this.el)}onMouseEnter(){this.highlight("yellow")}onMouseLeave(){this.highlight(null)}highlight(e){this.el.nativeElement.style.backgroundColor=e}},a([n.HostListener("mouseenter"),u("design:type",Function),u("design:paramtypes",[]),u("design:returntype",void 0)],r.prototype,"onMouseEnter",null),a([n.HostListener("mouseleave"),u("design:type",Function),u("design:paramtypes",[]),u("design:returntype",void 0)],r.prototype,"onMouseLeave",null),r=a([n.Directive({selector:`[sa-internal-${o}]`}),u("design:paramtypes",[n.ElementRef])],r),e("TestDirective",r)}}});
|
|
@@ -224,7 +224,7 @@ System.register(["@angular/core", "@angular/platform-browser", "@angular/forms",
|
|
|
224
224
|
], TimezoneSelectorComponent.prototype, "endpoint", void 0);
|
|
225
225
|
TimezoneSelectorComponent = __decorate([
|
|
226
226
|
core_1.Component({
|
|
227
|
-
selector: `sa-${moduleName}`,
|
|
227
|
+
selector: `sa-internal-${moduleName}`,
|
|
228
228
|
templateUrl: `${localDir}/${moduleName}/${moduleName}.component${min}.html`,
|
|
229
229
|
changeDetection: core_1.ChangeDetectionStrategy.OnPush
|
|
230
230
|
}),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["timezone-selector.component.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAkCM,SAAS,GAAG,oBAAoB,CAAA;YAChC,UAAU,GAAG,mBAAmB,CAAA;YAChC,GAAG,GAAG,CAAC,oBAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAA;YAClC,QAAQ,GAAG,GAAG,iBAAO,CAAC,OAAO,GAAG,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,GAAG,SAAS,IAAI,CAAC,CAAC,OAAO,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,WAAW,EAAE,OAAO,CAAC,EAAE,CAAA;YAkBzH,yBAAyB,GAA/B,MAAM,yBAA0B,SAAQ,8BAAa;gBAyDxD,YACY,UAAsB,EACpB,GAAsB,EACxB,SAAuB;oBAG/B,KAAK,EAAE,CAAA;oBALC,eAAU,GAAV,UAAU,CAAY;oBACpB,QAAG,GAAH,GAAG,CAAmB;oBACxB,cAAS,GAAT,SAAS,CAAc;oBAzDnC,UAAK,GAAG,UAAU,GAAG,YAAY,CAAA;oBAoBjC,YAAO,GAAG,iBAAO,CAAA;oBASjB,aAAQ,GAAG,IAAI,mBAAQ,EAAE,CAAA;oBASzB,aAAQ,GAAG,IAAI,cAAO,EAAE,CAAA;oBAKxB,UAAK,GAAG,iBAAiB,CAAA;oBAGzB,kBAAa,GAAG,IAAI,mBAAW,CAAC,EAAE,CAAC,CAAA;oBACnC,iBAAY,GAAa,EAAE,CAAA;oBAI3B,gBAAW,GAAG,KAAK,CAAA;oBAYf,IAAI,CAAC,GAAG,GAAG,mBAAY,CAAC,IAAI,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U,EAAE,SAAS;yBACxB;qBACJ,CAAC,CAAC,SAAS,EAAE,CAAA;oBACd,OAAO,GAAG,CAAA;gBACd,CAAC;gBAGD,gBAAgB,CAAC,KAAc;oBAC3B,IAAG,CAAC,KAAK,EAAE;wBACP,OAAM;qBACT;oBACD,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAA;gBAC5B,CAAC;aACJ,CAAA;YAhNG;gBAAC,YAAK,EAAE;;qEAAe;YACvB;gBAAC,YAAK,EAAE;;2EAAqB;YAC7B;gBAAC,YAAK,EAAE;;iEAAW;YACnB;gBAAC,YAAK,EAAE;;uEAAkB;YAC1B;gBAAC,YAAK,EAAE;;uEAAkB;YAC1B;gBAAC,YAAK,EAAE;;qEAAgB;YACxB;gBAAC,YAAK,EAAE;;kEAAY;YACpB;gBAAC,YAAK,EAAE;;sEAAgB;YAIxB;gBAAC,YAAK,EAAE;;mEAAa;YACrB;gBAAC,YAAK,EAAE;;uEAAiB;YACzB;gBAAC,YAAK,EAAE;;uEAAiB;YApBhB,yBAAyB;gBAZrC,gBAAS,CAAC;oBACP,QAAQ,EAAE,eAAe,UAAU,EAAE;oBAErC,WAAW,EAAE,GAAG,QAAQ,IAAI,UAAU,IAAI,UAAU,aAAa,GAAG,OAAO;oBAM3E,eAAe,EAAE,8BAAuB,CAAC,MAAM;iBAClD,CAAC;iDA4D0B,iBAAU;oBACf,wBAAiB;oBACb,+BAAY;eA5D1B,yBAAyB,CAuNrC;;QACD,CAAC","file":"timezone-selector.component.js"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["@angular/core","@angular/platform-browser","@angular/forms","rxjs","rxjs/operators","toastify-js","@stratusjs/core/misc","@stratusjs/runtime/stratus","@stratusjs/core/environment","@stratusjs/core/events/eventManager","../core/root.component","lodash","@stratusjs/angularjs/services/registry"],function(e,t){"use strict";var i,n,s,r,o,a,u,h,l,c,p,d,f,m,g,y,b,z=this&&this.__decorate||function(e,t,i,n){var s,r=arguments.length,o=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,i,o):s(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o},v=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};t&&t.id;return{setters:[function(e){i=e},function(e){n=e},function(e){s=e},function(e){r=e},function(e){o=e},function(e){a=e},function(e){u=e},function(e){h=e},function(e){l=e},function(e){c=e},function(e){p=e},function(e){d=e},function(e){f=e}],execute:function(){"@stratusjs/angular",m="timezone-selector",g=l.cookie("env")?"":".min",y=`${h.Stratus.BaseUrl}${boot.configuration.paths["@stratusjs/angular/*"].replace(/[^/]*$/,"").replace(/\/dist\/$/,"/src/")}`,b=class extends p.RootComponent{constructor(e,t,i){super(),this.elementRef=e,this.ref=t,this.sanitizer=i,this.title=m+"_component",this.Stratus=h.Stratus,this.registry=new f.Registry,this.onChange=new r.Subject,this.label="Select Timezone",this.inputTimezone=new s.FormControl(""),this.timezoneList=[],this.initialized=!1,this.uid=u.safeUniqueId("sa",m,"component"),h.Stratus.Instances[this.uid]=this,this.timezoneList=Intl.supportedValuesOf("timeZone"),this.currentTimezone=Intl.DateTimeFormat().resolvedOptions().timeZone,this.hydrate(e,i,["title","uid","target","targetSuffix","id","manifest","decouple","direct","api","urlRoot","type","property","endpoint","Stratus","registry","fetched","data","model","dataSub","onChange","subscriber","label","timezone","currentTimezone","inputTimezone","timezoneList","filteredTimezones","initialized","elementRef","ref","sanitizer","ngOnInit","updateLabel","_filter","fetchData","dataDefer","dataRef","valueChanged","handleObservableError","timezoneSelected","hydrate","disableRefresh","stagger","reloading","refresh","ngOnDestroy"]),this.filteredTimezones=this.inputTimezone.valueChanges.pipe(o.startWith(""),o.map(e=>this._filter(e||""))),this.fetchData().then(e=>{if(!(e&&e instanceof c.EventManager))return void console.warn("Unable to bind data from Registry!");const t=()=>{e.completed&&this.dataDefer(this.subscriber)};e.on("change",t),t()}),this.dataSub=new r.Observable(e=>this.dataDefer(e)),this.dataSub.pipe(o.debounce(()=>r.timer(500)),o.catchError(this.handleObservableError)).subscribe(e=>{this.inputTimezone.value!==e?(this.timezone=e,this.updateLabel(),this.inputTimezone.setValue(this.timezone),this.refresh().then()):this.initialized&&this.refresh().then()})}async ngOnInit(){this.inputTimezone.valueChanges.forEach(e=>this.valueChanged(e)).then(),this.updateLabel(),this.initialized=!0}updateLabel(){d.isEmpty(this.timezone)||"local"===this.timezone?this.label=`(local - Currently displayed in ${this.currentTimezone})`:this.label="Select Timezone"}_filter(e){const t=e.toLowerCase();return this.timezoneList.filter(e=>e.toLowerCase().includes(t))}fetchData(){return this.fetched?this.fetched:this.fetched=this.registry.fetch(h.Stratus.Select(this.elementRef.nativeElement),this)}dataDefer(e){if(this.subscriber=this.subscriber||e,!this.subscriber)return;const t=this.dataRef();this.subscriber.next(t)}dataRef(){return this.model?this.model.get(this.property):""}valueChanged(e){e&&(this.timezone=e,this.updateLabel(),this.inputTimezone.setValue(this.timezone),this.model&&this.model.completed&&this.model.set(this.property,this.timezone))}handleObservableError(e){return console.error(e),a.default({text:e.toString(),duration:3e3,close:!0,stopOnFocus:!0,style:{background:"#E14D45"}}).showToast(),e}timezoneSelected(e){e&&this.valueChanged(e)}},z([i.Input(),v("design:type",String)],b.prototype,"target",void 0),z([i.Input(),v("design:type",String)],b.prototype,"targetSuffix",void 0),z([i.Input(),v("design:type",Number)],b.prototype,"id",void 0),z([i.Input(),v("design:type",Boolean)],b.prototype,"manifest",void 0),z([i.Input(),v("design:type",Boolean)],b.prototype,"decouple",void 0),z([i.Input(),v("design:type",Boolean)],b.prototype,"direct",void 0),z([i.Input(),v("design:type",Object)],b.prototype,"api",void 0),z([i.Input(),v("design:type",String)],b.prototype,"urlRoot",void 0),z([i.Input(),v("design:type",String)],b.prototype,"type",void 0),z([i.Input(),v("design:type",String)],b.prototype,"property",void 0),z([i.Input(),v("design:type",String)],b.prototype,"endpoint",void 0),b=z([i.Component({selector:`sa-${m}`,templateUrl:`${y}/${m}/${m}.component${g}.html`,changeDetection:i.ChangeDetectionStrategy.OnPush}),v("design:paramtypes",[i.ElementRef,i.ChangeDetectorRef,n.DomSanitizer])],b),e("TimezoneSelectorComponent",b)}}});
|
|
1
|
+
System.register(["@angular/core","@angular/platform-browser","@angular/forms","rxjs","rxjs/operators","toastify-js","@stratusjs/core/misc","@stratusjs/runtime/stratus","@stratusjs/core/environment","@stratusjs/core/events/eventManager","../core/root.component","lodash","@stratusjs/angularjs/services/registry"],function(e,t){"use strict";var i,n,s,r,o,a,u,h,l,c,p,d,f,m,g,y,b,z=this&&this.__decorate||function(e,t,i,n){var s,r=arguments.length,o=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,i,o):s(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o},v=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};t&&t.id;return{setters:[function(e){i=e},function(e){n=e},function(e){s=e},function(e){r=e},function(e){o=e},function(e){a=e},function(e){u=e},function(e){h=e},function(e){l=e},function(e){c=e},function(e){p=e},function(e){d=e},function(e){f=e}],execute:function(){"@stratusjs/angular",m="timezone-selector",g=l.cookie("env")?"":".min",y=`${h.Stratus.BaseUrl}${boot.configuration.paths["@stratusjs/angular/*"].replace(/[^/]*$/,"").replace(/\/dist\/$/,"/src/")}`,b=class extends p.RootComponent{constructor(e,t,i){super(),this.elementRef=e,this.ref=t,this.sanitizer=i,this.title=m+"_component",this.Stratus=h.Stratus,this.registry=new f.Registry,this.onChange=new r.Subject,this.label="Select Timezone",this.inputTimezone=new s.FormControl(""),this.timezoneList=[],this.initialized=!1,this.uid=u.safeUniqueId("sa",m,"component"),h.Stratus.Instances[this.uid]=this,this.timezoneList=Intl.supportedValuesOf("timeZone"),this.currentTimezone=Intl.DateTimeFormat().resolvedOptions().timeZone,this.hydrate(e,i,["title","uid","target","targetSuffix","id","manifest","decouple","direct","api","urlRoot","type","property","endpoint","Stratus","registry","fetched","data","model","dataSub","onChange","subscriber","label","timezone","currentTimezone","inputTimezone","timezoneList","filteredTimezones","initialized","elementRef","ref","sanitizer","ngOnInit","updateLabel","_filter","fetchData","dataDefer","dataRef","valueChanged","handleObservableError","timezoneSelected","hydrate","disableRefresh","stagger","reloading","refresh","ngOnDestroy"]),this.filteredTimezones=this.inputTimezone.valueChanges.pipe(o.startWith(""),o.map(e=>this._filter(e||""))),this.fetchData().then(e=>{if(!(e&&e instanceof c.EventManager))return void console.warn("Unable to bind data from Registry!");const t=()=>{e.completed&&this.dataDefer(this.subscriber)};e.on("change",t),t()}),this.dataSub=new r.Observable(e=>this.dataDefer(e)),this.dataSub.pipe(o.debounce(()=>r.timer(500)),o.catchError(this.handleObservableError)).subscribe(e=>{this.inputTimezone.value!==e?(this.timezone=e,this.updateLabel(),this.inputTimezone.setValue(this.timezone),this.refresh().then()):this.initialized&&this.refresh().then()})}async ngOnInit(){this.inputTimezone.valueChanges.forEach(e=>this.valueChanged(e)).then(),this.updateLabel(),this.initialized=!0}updateLabel(){d.isEmpty(this.timezone)||"local"===this.timezone?this.label=`(local - Currently displayed in ${this.currentTimezone})`:this.label="Select Timezone"}_filter(e){const t=e.toLowerCase();return this.timezoneList.filter(e=>e.toLowerCase().includes(t))}fetchData(){return this.fetched?this.fetched:this.fetched=this.registry.fetch(h.Stratus.Select(this.elementRef.nativeElement),this)}dataDefer(e){if(this.subscriber=this.subscriber||e,!this.subscriber)return;const t=this.dataRef();this.subscriber.next(t)}dataRef(){return this.model?this.model.get(this.property):""}valueChanged(e){e&&(this.timezone=e,this.updateLabel(),this.inputTimezone.setValue(this.timezone),this.model&&this.model.completed&&this.model.set(this.property,this.timezone))}handleObservableError(e){return console.error(e),a.default({text:e.toString(),duration:3e3,close:!0,stopOnFocus:!0,style:{background:"#E14D45"}}).showToast(),e}timezoneSelected(e){e&&this.valueChanged(e)}},z([i.Input(),v("design:type",String)],b.prototype,"target",void 0),z([i.Input(),v("design:type",String)],b.prototype,"targetSuffix",void 0),z([i.Input(),v("design:type",Number)],b.prototype,"id",void 0),z([i.Input(),v("design:type",Boolean)],b.prototype,"manifest",void 0),z([i.Input(),v("design:type",Boolean)],b.prototype,"decouple",void 0),z([i.Input(),v("design:type",Boolean)],b.prototype,"direct",void 0),z([i.Input(),v("design:type",Object)],b.prototype,"api",void 0),z([i.Input(),v("design:type",String)],b.prototype,"urlRoot",void 0),z([i.Input(),v("design:type",String)],b.prototype,"type",void 0),z([i.Input(),v("design:type",String)],b.prototype,"property",void 0),z([i.Input(),v("design:type",String)],b.prototype,"endpoint",void 0),b=z([i.Component({selector:`sa-internal-${m}`,templateUrl:`${y}/${m}/${m}.component${g}.html`,changeDetection:i.ChangeDetectionStrategy.OnPush}),v("design:paramtypes",[i.ElementRef,i.ChangeDetectorRef,n.DomSanitizer])],b),e("TimezoneSelectorComponent",b)}}});
|
|
@@ -42,7 +42,7 @@ const localDir = `${Stratus.BaseUrl}${boot.configuration.paths[`${systemDir}/*`]
|
|
|
42
42
|
* @title Media Selector with Drag & Drop Uploads and Sorting
|
|
43
43
|
*/
|
|
44
44
|
@Component({
|
|
45
|
-
selector: `sa-${moduleName}`,
|
|
45
|
+
selector: `sa-internal-${moduleName}`,
|
|
46
46
|
// TODO: Add the ability to change the templateUrl to others, based on a cookie.
|
|
47
47
|
templateUrl: `${localDir}/${moduleName}/${moduleName}.component${min}.html`,
|
|
48
48
|
// FIXME: This doesn't work, as it seems Angular attempts to use a System.js import instead of their own, so it will
|