coer-elements 0.0.56 → 0.0.59
Sign up to get free protection for your applications and to get access to all the features.
- package/components/lib/coer-button/coer-button.component.d.ts +2 -2
- package/esm2022/components/lib/coer-button/coer-button.component.mjs +4 -6
- package/esm2022/index.mjs +54 -2
- package/esm2022/tools/lib/section.class.mjs +52 -0
- package/esm2022/tools/public-api.mjs +2 -1
- package/fesm2022/coer-elements-components.mjs +3 -5
- package/fesm2022/coer-elements-components.mjs.map +1 -1
- package/fesm2022/coer-elements-tools.mjs +48 -2
- package/fesm2022/coer-elements-tools.mjs.map +1 -1
- package/fesm2022/coer-elements.mjs +53 -0
- package/fesm2022/coer-elements.mjs.map +1 -1
- package/index.d.ts +10 -1
- package/package.json +7 -7
- package/styles/coer-elements.css +0 -5
- package/styles/containers.scss +0 -2
- package/tools/lib/section.class.d.ts +27 -0
- package/tools/public-api.d.ts +1 -0
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
2
2
|
import * as i0 from "@angular/core";
|
3
3
|
export declare class CoerButton implements OnInit, OnDestroy {
|
4
4
|
protected _id: string;
|
@@ -25,7 +25,7 @@ export declare class CoerButton implements OnInit, OnDestroy {
|
|
25
25
|
path: import("@angular/core").InputSignal<string | (string | number)[]>;
|
26
26
|
tooltipPosition: import("@angular/core").InputSignal<"left" | "right" | "top" | "bottom">;
|
27
27
|
set tooltip(value: string);
|
28
|
-
onClick:
|
28
|
+
onClick: import("@angular/core").OutputEmitterRef<MouseEvent>;
|
29
29
|
protected _isEnable: import("@angular/core").Signal<boolean>;
|
30
30
|
protected _icon: import("@angular/core").Signal<string>;
|
31
31
|
ngOnInit(): void;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { Component, computed,
|
1
|
+
import { Component, computed, input, Input, output } from '@angular/core';
|
2
2
|
import { Tools } from 'coer-elements/tools';
|
3
3
|
import { Tooltip } from 'bootstrap';
|
4
4
|
import * as i0 from "@angular/core";
|
@@ -30,8 +30,8 @@ export class CoerButton {
|
|
30
30
|
this.marginLeft = input('0px');
|
31
31
|
this.path = input([]);
|
32
32
|
this.tooltipPosition = input('left');
|
33
|
-
//Outputs
|
34
|
-
this.onClick =
|
33
|
+
//Outputs
|
34
|
+
this.onClick = output();
|
35
35
|
//computed
|
36
36
|
this._isEnable = computed(() => {
|
37
37
|
return !this.isLoading() && !this.isDisabled() && !this.isInvisible();
|
@@ -134,7 +134,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
134
134
|
type: Input
|
135
135
|
}], tooltip: [{
|
136
136
|
type: Input
|
137
|
-
}], onClick: [{
|
138
|
-
type: Output
|
139
137
|
}] } });
|
140
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29lci1idXR0b24uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29lci1lbGVtZW50cy9jb21wb25lbnRzL2xpYi9jb2VyLWJ1dHRvbi9jb2VyLWJ1dHRvbi5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb2VyLWVsZW1lbnRzL2NvbXBvbmVudHMvbGliL2NvZXItYnV0dG9uL2NvZXItYnV0dG9uLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsUUFBUSxFQUFFLFlBQVksRUFBRSxLQUFLLEVBQUUsS0FBSyxFQUFxQixNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0csT0FBTyxFQUFFLEtBQUssRUFBRSxNQUFNLHFCQUFxQixDQUFBO0FBQzNDLE9BQU8sRUFBRSxPQUFPLEVBQUUsTUFBTSxXQUFXLENBQUM7Ozs7O0FBT3BDLE1BQU0sT0FBTyxVQUFVO0lBTHZCO1FBT0ksV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jYXNlICdtZW51JzogcmV0dXJuICdmYS1zb2xpZCBmYS1iYXJzJztcclxuICAgICAgICAgICAgY2FzZSAnZGVsZXRlJzogcmV0dXJuICdmYS1zb2xpZCBmYS10cmFzaC1jYW4nO1xyXG4gICAgICAgICAgICBjYXNlICdlZGl0JzogcmV0dXJuICdmYS1zb2xpZCBmYS1wZW4gZmEtbGcnO1xyXG4gICAgICAgICAgICBjYXNlICdnbyc6IHJldHVybiAnYmkgYmktYm94LWFycm93LXJpZ2h0JztcclxuICAgICAgICAgICAgY2FzZSAnYmFjayc6IHJldHVybiAnYmkgYmktYm94LWFycm93LWxlZnQnO1xyXG4gICAgICAgICAgICBjYXNlICdwb2ludGVyJzogcmV0dXJuICdiaSBiaS1oYW5kLWluZGV4LXRodW1iLWZpbGwnO1xyXG4gICAgICAgICAgICBkZWZhdWx0OiByZXR1cm4gdGhpcy5pY29uKCk7XHJcbiAgICAgICAgfVxyXG4gICAgfSk7XHJcblxyXG5cclxuICAgIG5nT25Jbml0KCkge1xyXG4gICAgICAgIHRoaXMuU2V0VG9vbFRpcCgpO1xyXG4gICAgICAgIHRoaXMuU2V0RXZlbnRzKCk7XHJcbiAgICB9XHJcblxyXG4gICAgbmdPbkRlc3Ryb3koKSB7XHJcbiAgICAgICAgaWYgKHRoaXMuX3Rvb2x0aXBFbGVtZW50KSB7XHJcbiAgICAgICAgICAgIFRvb2xzLlNsZWVwKCkudGhlbigoKSA9PiB0aGlzLl90b29sdGlwRWxlbWVudC5kaXNwb3NlKCkpO1xyXG4gICAgICAgIH1cclxuICAgIH1cclxuXHJcblxyXG4gICAgLyoqICovXHJcbiAgICBwcml2YXRlIFNldEV2ZW50cygpOiB2b2lkIHtcclxuICAgICAgICBUb29scy5TbGVlcCgpLnRoZW4oKCkgPT4ge1xyXG4gICAgICAgICAgICB0aGlzLl9lbGVtZW50ID0gZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQoYCR7dGhpcy5faWR9LWlubmVyLWJ1dHRvbmApISBhcyBIVE1MQnV0dG9uRWxlbWVudDtcclxuXHJcbiAgICAgICAgICAgIGlmIChUb29scy5Jc05vdE51bGwodGhpcy5fZWxlbWVudCkpIHtcclxuICAgICAgICAgICAgICAgIHRoaXMuX2VsZW1lbnQuYWRkRXZlbnRMaXN0ZW5lcignZm9jdXMnLCAoKSA9PiB7XHJcbiAgICAgICAgICAgICAgICAgICAgaWYgKCF0aGlzLl9pc0VuYWJsZSgpKSB0aGlzLkJsdXIoKTtcclxuICAgICAgICAgICAgICAgIH0pO1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgfSk7XHJcbiAgICB9XHJcblxyXG5cclxuICAgIHByaXZhdGUgU2V0VG9vbFRpcCgpOiB2b2lkIHtcclxuICAgICAgICBUb29scy5TbGVlcCgpLnRoZW4oKCkgPT4ge1xyXG4gICAgICAgICAgICBjb25zdCBodG1sRWxlbWVudCA9IGRvY3VtZW50LmdldEVsZW1lbnRCeUlkKGAke3RoaXMuX2lkfS1jb250YWluZXJgKSE7XHJcblxyXG4gICAgICAgICAgICBpZiAoVG9vbHMuSXNOb3ROdWxsKGh0bWxFbGVtZW50KSkge1xyXG4gICAgICAgICAgICAgICAgaHRtbEVsZW1lbnQuYWRkRXZlbnRMaXN0ZW5lcignbW91c2VsZWF2ZScsICgpID0+IHtcclxuICAgICAgICAgICAgICAgICAgICBpZiAoVG9vbHMuSXNOb3ROdWxsKGh0bWxFbGVtZW50KSAmJiBUb29scy5Jc05vdE51bGwodGhpcy5fdG9vbHRpcEVsZW1lbnQpKSB7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMuX3Rvb2x0aXBFbGVtZW50LmhpZGUoKTtcclxuICAgICAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICB9KTtcclxuXHJcbiAgICAgICAgICAgICAgICB0aGlzLl90b29sdGlwRWxlbWVudCA9IG5ldyBUb29sdGlwKGh0bWxFbGVtZW50LCB7XHJcbiAgICAgICAgICAgICAgICAgICAgaHRtbDogdHJ1ZSxcclxuICAgICAgICAgICAgICAgICAgICB0aXRsZTogdGhpcy5fdG9vbHRpcCxcclxuICAgICAgICAgICAgICAgICAgICBwbGFjZW1lbnQ6IHRoaXMudG9vbHRpcFBvc2l0aW9uXHJcbiAgICAgICAgICAgICAgICB9KTtcclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH0pO1xyXG4gICAgfVxyXG5cclxuXHJcbiAgICAvKiogKi9cclxuICAgIHByb3RlY3RlZCBDbGljayhldmVudDogTW91c2VFdmVudCkge1xyXG4gICAgICAgIGlmICh0aGlzLl9pc0VuYWJsZSgpKSB7XHJcbiAgICAgICAgICAgIHRoaXMub25DbGljay5lbWl0KGV2ZW50KTtcclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIHRoaXMuQmx1cigpO1xyXG4gICAgfVxyXG5cclxuXHJcbiAgICAvKiogKi9cclxuICAgIHB1YmxpYyBGb2N1cyh0aW1lb3V0OiBudW1iZXIgPSAwKTogdm9pZCB7XHJcbiAgICAgICAgVG9vbHMuU2xlZXAodGltZW91dCkudGhlbigoKSA9PiB7XHJcbiAgICAgICAgICAgIGlmICh0aGlzLl9pc0VuYWJsZSgpKSB0aGlzLl9lbGVtZW50LmZvY3VzKCk7XHJcbiAgICAgICAgfSk7XHJcbiAgICB9XHJcblxyXG5cclxuICAgIC8qKiAqL1xyXG4gICAgcHVibGljIEJsdXIoKTogdm9pZCB7XHJcbiAgICAgICAgVG9vbHMuU2xlZXAoKS50aGVuKCgpID0+IHtcclxuICAgICAgICAgICAgdGhpcy5fZWxlbWVudC5ibHVyKCk7XHJcbiAgICAgICAgfSk7XHJcbiAgICB9XHJcbn0iLCI8ZGl2IFtuZ0NsYXNzXT1cInsgJ2NvZXItYnV0dG9uJzogdHJ1ZSwgJ2ludmlzaWJsZSc6IGlzSW52aXNpYmxlKCkgfVwiPlxyXG4gICAgPGEgW2lkXT1cIl9pZCArICctY29udGFpbmVyJ1wiXHJcbiAgICAgICAgW3Jvd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pID09ICdzdWNjZXNzJyAgICAmJiB0eXBlKCkgPT0nZmlsbGVkJyksXHJcbiAgICAgICAgICAgICAgICAgICAgJ3dhcm5pbmctZmlsbGVkJyAgICA6IChjb2xvcigpID09ICd3YXJuaW5nJyAgICAmJiB0eXBlKCkgPT0nZmlsbGVkJyksXHJcbiAgICAgICAgICAgICAgICAgICAgJ2Rhbmdlci1maWxsZWQnICAgICA6IChjb2xvcigpID09ICdkYW5nZXInICAgICAmJiB0eXBlKCkgPT0nZmlsbGVkJyksXHJcbiAgICAgICAgICAgICAgICAgICAgJ25hdmlnYXRpb24tZmlsbGVkJyA6IChjb2xvcigpID09ICduYXZpZ2F0aW9uJyAmJiB0eXBlKCkgPT0nZmlsbGVkJyksXHJcbiAgICAgICAgICAgICAgICAgICAgJ2RhcmstZmlsbGVkJyAgICAgICA6IChjb2xvcigpID09ICdkYXJrJyAgICAgICAmJiB0eXBlKCkgPT0nZmlsbGVkJyksXHJcbiAgICAgICAgICAgICAgICAgICAgJ3ByaW1hcnktb3V0bGluZScgICA6IChjb2xvcigpID09ICdwcmltYXJ5JyAgICAmJiB0eXBlKCkgPT0nb3V0bGluZScpLFxyXG4gICAgICAgICAgICAgICAgICAgICdzZWNvbmRhcnktb3V0bGluZScgOiAoY29sb3IoKSA9PSAnc2Vjb25kYXJ5JyAgJiYgdHlwZSgpID09J291dGxpbmUnKSxcclxuICAgICAgICAgICAgICAgICAgICAnc3VjY2Vzcy1vdXRsaW5lJyAgIDogKGNvbG9yKCkgPT0gJ3N1Y2Nlc3MnICAgICYmIHR5cGUoKSA9PSdvdXRsaW5lJyksXHJcbiAgICAgICAgICAgICAgICAgICAgJ3dhcm5pbmctb3V0bGluZScgICA6IChjb2xvcigpID09ICd3YXJuaW5nJyAgICAmJiB0eXBlKCkgPT0nb3V0bGluZScpLFxyXG4gICAgICAgICAgICAgICAgICAgICdkYW5nZXItb3V0bGluZScgICAgOiAoY29sb3IoKSA9PSAnZGFuZ2VyJyAgICAgJiYgdHlwZSgpID09J291dGxpbmUnKSxcclxuICAgICAgICAgICAgICAgICAgICAnbmF2aWdhdGlvbi1vdXRsaW5lJzogKGNvbG9yKCkgPT0gJ25hdmlnYXRpb24nICYmIHR5cGUoKSA9PSdvdXRsaW5lJyksXHJcbiAgICAgICAgICAgICAgICAgICAgJ2Rhcmstb3V0bGluZScgICAgICA6IChjb2xvcigpID09ICdkYXJrJyAgICAgICAmJiB0eXBlKCkgPT0nb3V0bGluZScpLFxyXG4gICAgICAgICAgICAgICAgICAgICdyZWFkb25seSc6IGlzRGlzYWJsZWQoKSxcclxuICAgICAgICAgICAgICAgICAgICAnY3Vyc29yLXdhaXQnOiBpc0xvYWRpbmcoKVxyXG4gICAgICAgICAgICAgICAgfVwiXHJcbiAgICAgICAgICAgICAgICBbbmdTdHlsZV09XCJ7XHJcbiAgICAgICAgICAgICAgICAgICAgJ3dpZHRoJyAgICAgOiB3aWR0aCgpLFxyXG4gICAgICAgICAgICAgICAgICAgICdtaW4td2lkdGgnIDogbWluV2lkdGgoKSxcclxuICAgICAgICAgICAgICAgICAgICAnaGVpZ2h0JyAgICA6IGhlaWdodCgpLFxyXG4gICAgICAgICAgICAgICAgICAgICdtaW4taGVpZ2h0JzogbWluSGVpZ2h0KClcclxuICAgICAgICAgICAgICAgIH1cIj5cclxuICAgICAgICAgICAgICAgIDxzcGFuIGNsYXNzPVwic2xvdFwiICpuZ0lmPVwiIWlzTG9hZGluZygpOyBlbHNlIGxvYWRpbmdcIiA+XHJcbiAgICAgICAgICAgICAgICAgICAgPHNwYW4gKm5nSWY9XCIoaWNvblBvc2l0aW9uKCkgPT0gJ2xlZnQnKVwiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8aSBbY2xhc3NdPVwiX2ljb24oKVwiPjwvaT5cclxuICAgICAgICAgICAgICAgICAgICA8L3NwYW4+XHJcblxyXG4gICAgICAgICAgICAgICAgICAgIDxzcGFuIFtuZ0NsYXNzXT1cInsgJ21zLTInOiAoaWNvblBvc2l0aW9uKCkgPT0gJ2xlZnQnKSwgJ21lLTInOiAoaWNvblBvc2l0aW9uKCkgPT0gJ3JpZ2h0JykgfVwiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XHJcbiAgICAgICAgICAgICAgICAgICAgPC9zcGFuPlxyXG5cclxuICAgICAgICAgICAgICAgICAgICA8c3BhbiAqbmdJZj1cIihpY29uUG9zaXRpb24oKSA9PSAncmlnaHQnKVwiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8aSBbY2xhc3NdPVwiX2ljb24oKVwiPjwvaT5cclxuICAgICAgICAgICAgICAgICAgICA8L3NwYW4+XHJcbiAgICAgICAgICAgICAgICA8L3NwYW4+XHJcblxyXG4gICAgICAgICAgICAgICAgPG5nLXRlbXBsYXRlICNsb2FkaW5nPlxyXG4gICAgICAgICAgICAgICAgICAgIDxzcGFuIGNsYXNzPVwic2xvdCBmYS1mYWRlXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIDxzcGFuIGNsYXNzPVwibWUtMlwiPiBMb2FkaW5nIDwvc3Bhbj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgPGkgY2xhc3M9XCJzcGlubmVyLWJvcmRlclwiPjwvaT5cclxuICAgICAgICAgICAgICAgICAgICA8L3NwYW4+XHJcbiAgICAgICAgICAgICAgICA8L25nLXRlbXBsYXRlPlxyXG4gICAgICAgICAgICA8L2J1dHRvbj5cclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIEBlbHNlIHtcclxuICAgICAgICAgICAgQGlmICh0eXBlKCkgPT0gJ2ljb24nKSB7XHJcbiAgICAgICAgICAgICAgICA8YnV0dG9uIG1hdC1pY29uLWJ1dHRvblxyXG4gICAgICAgICAgICAgICAgICAgIFtpZF09XCJfaWQgKyAnLWlubmVyLWJ1dHRvbidcIlxyXG4gICAgICAgICAgICAgICAgICAgIChjbGljayk9XCJDbGljaygkZXZlbnQpXCJcclxuICAgICAgICAgICAgICAgICAgICBbbmdDbGFzc109XCJ7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICdwcmltYXJ5LWZpbGxlZCcgICA6IChjb2xvcigpID09ICdwcmltYXJ5JyksXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICdzZWNvbmRhcnktZmlsbGVkJyA6IChjb2xvcigpID09ICdzZWNvbmRhcnknKSxcclxuICAgICAgICAgICAgICAgICAgICAgICAgJ3N1Y2Nlc3MtZmlsbGVkJyAgIDogKGNvbG9yKCkgPT0gJ3N1Y2Nlc3MnKSxcclxuICAgICAgICAgICAgICAgICAgICAgICAgJ3dhcm5pbmctZmlsbGVkJyAgIDogKGNvbG9yKCkgPT0gJ3dhcm5pbmcnKSxcclxuICAgICAgICAgICAgICAgICAgICAgICAgJ2Rhbmdlci1maWxsZWQnICAgIDogKGNvbG9yKCkgPT0gJ2RhbmdlcicpLFxyXG4gICAgICAgICAgICAgICAgICAgICAgICAnbmF2aWdhdGlvbi1maWxsZWQnOiAoY29sb3IoKSA9PSAnbmF2aWdhdGlvbicpLFxyXG4gICAgICAgICAgICAgICAgICAgICAgICAnZGFyay1maWxsZWQnICAgICAgOiAoY29sb3IoKSA9PSAnZGFyaycpLFxyXG4gICAgICAgICAgICAgICAgICAgICAgICAncmVhZG9ubHknICAgICAgICAgOiAoaXNEaXNhYmxlZCgpIHx8IGlzTG9hZGluZygpKSxcclxuICAgICAgICAgICAgICAgICAgICAgICAgJ2N1cnNvci13YWl0JyAgICAgIDogaXNMb2FkaW5nKClcclxuICAgICAgICAgICAgICAgICAgICB9XCI+XHJcbiAgICAgICAgICAgICAgICAgICAgPGkgW2NsYXNzXT1cIl9pY29uKClcIj48L2k+XHJcbiAgICAgICAgICAgICAgICA8L2J1dHRvbj5cclxuICAgICAgICAgICAgfVxyXG5cclxuICAgICAgICAgICAgQGVsc2UgaWYgKHR5cGUoKSA9PSAnaWNvbi1vdXRsaW5lJykge1xyXG4gICAgICAgICAgICAgICAgPGJ1dHRvbiBtYXQtaWNvbi1idXR0b25cclxuICAgICAgICAgICAgICAgICAgICBbaWRdPVwiX2lkICsgJy1pbm5lci1idXR0b24nXCJcclxuICAgICAgICAgICAgICAgICAgICAoY2xpY2spPVwiQ2xpY2soJGV2ZW50KVwiXHJcbiAgICAgICAgICAgICAgICAgICAgW25nQ2xhc3NdPVwie1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAncHJpbWFyeS1vdXRsaW5lJyAgIDogKGNvbG9yKCkgPT0gJ3ByaW1hcnknKSxcclxuICAgICAgICAgICAgICAgICAgICAgICAgJ3NlY29uZGFyeS1vdXRsaW5lJyA6IChjb2xvcigpID09ICdzZWNvbmRhcnknKSxcclxuICAgICAgICAgICAgICAgICAgICAgICAgJ3N1Y2Nlc3Mtb3V0bGluZScgICA6IChjb2xvcigpID09ICdzdWNjZXNzJyksXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICd3YXJuaW5nLW91dGxpbmUnICAgOiAoY29sb3IoKSA9PSAnd2FybmluZycpLFxyXG4gICAgICAgICAgICAgICAgICAgICAgICAnZGFuZ2VyLW91dGxpbmUnICAgIDogKGNvbG9yKCkgPT0gJ2RhbmdlcicpLFxyXG4gICAgICAgICAgICAgICAgICAgICAgICAnbmF2aWdhdGlvbi1vdXRsaW5lJzogKGNvbG9yKCkgPT0gJ25hdmlnYXRpb24nKSxcclxuICAgICAgICAgICAgICAgICAgICAgICAgJ2Rhcmstb3V0bGluZScgICAgICA6IChjb2xvcigpID09ICdkYXJrJyksXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICdyZWFkb25seScgICAgICAgICAgOiAoaXNEaXNhYmxlZCgpIHx8IGlzTG9hZGluZygpKSxcclxuICAgICAgICAgICAgICAgICAgICAgICAgJ2N1cnNvci13YWl0JyAgICAgICA6IGlzTG9hZGluZygpXHJcbiAgICAgICAgICAgICAgICAgICAgfVwiPlxyXG4gICAgICAgICAgICAgICAgICAgIDxpIFtjbGFzc109XCJfaWNvbigpXCI+PC9pPlxyXG4gICAgICAgICAgICAgICAgPC9idXR0b24+XHJcbiAgICAgICAgICAgIH1cclxuXHJcbiAgICAgICAgICAgIEBlbHNlIGlmICh0eXBlKCkgPT0gJ2ljb24tbm8tYm9yZGVyJykge1xyXG4gICAgICAgICAgICAgICAgPGJ1dHRvbiBtYXQtaWNvbi1idXR0b25cclxuICAgICAgICAgICAgICAgICAgICBbaWRdPVwiX2lkICsgJy1pbm5lci1idXR0b24nXCJcclxuICAgICAgICAgICAgICAgICAgICAoY2xpY2spPVwiQ2xpY2soJGV2ZW50KVwiXHJcbiAgICAgICAgICAgICAgICAgICAgW25nQ2xhc3NdPVwie1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAncHJpbWFyeS1vdXRsaW5lJyAgIDogKGNvbG9yKCkgPT0gJ3ByaW1hcnknKSxcclxuICAgICAgICAgICAgICAgICAgICAgICAgJ3NlY29uZGFyeS1vdXRsaW5lJyA6IChjb2xvcigpID09ICdzZWNvbmRhcnknKSxcclxuICAgICAgICAgICAgICAgICAgICAgICAgJ3N1Y2Nlc3Mtb3V0bGluZScgICA6IChjb2xvcigpID09ICdzdWNjZXNzJyksXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICd3YXJuaW5nLW91dGxpbmUnICAgOiAoY29sb3IoKSA9PSAnd2FybmluZycpLFxyXG4gICAgICAgICAgICAgICAgICAgICAgICAnZGFuZ2VyLW91dGxpbmUnICAgIDogKGNvbG9yKCkgPT0gJ2RhbmdlcicpLFxyXG4gICAgICAgICAgICAgICAgICAgICAgICAnbmF2aWdhdGlvbi1vdXRsaW5lJzogKGNvbG9yKCkgPT0gJ25hdmlnYXRpb24nKSxcclxuICAgICAgICAgICAgICAgICAgICAgICAgJ2Rhcmstb3V0bGluZScgICAgICA6IChjb2xvcigpID09ICdkYXJrJyksXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICdyZWFkb25seScgICAgICAgICAgOiAoaXNEaXNhYmxlZCgpIHx8IGlzTG9hZGluZygpKSxcclxuICAgICAg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XG4gICAgICAgICAgICBjYXNlICdnbyc6IHJldHVybiAnYmkgYmktYm94LWFycm93LXJpZ2h0JztcclxuICAgICAgICAgICAgY2FzZSAnYmFjayc6IHJldHVybiAnYmkgYmktYm94LWFycm93LWxlZnQnO1xyXG4gICAgICAgICAgICBjYXNlICdwb2ludGVyJzogcmV0dXJuICdiaSBiaS1oYW5kLWluZGV4LXRodW1iLWZpbGwnO1xyXG4gICAgICAgICAgICBkZWZhdWx0OiByZXR1cm4gdGhpcy5pY29uKCk7XHJcbiAgICAgICAgfVxyXG4gICAgfSk7XHJcblxyXG5cclxuICAgIG5nT25Jbml0KCkge1xyXG4gICAgICAgIHRoaXMuU2V0VG9vbFRpcCgpO1xyXG4gICAgICAgIHRoaXMuU2V0RXZlbnRzKCk7XHJcbiAgICB9XHJcblxyXG4gICAgbmdPbkRlc3Ryb3koKSB7XHJcbiAgICAgICAgaWYgKHRoaXMuX3Rvb2x0aXBFbGVtZW50KSB7XHJcbiAgICAgICAgICAgIFRvb2xzLlNsZWVwKCkudGhlbigoKSA9PiB0aGlzLl90b29sdGlwRWxlbWVudC5kaXNwb3NlKCkpO1xyXG4gICAgICAgIH1cclxuICAgIH1cclxuXHJcblxyXG4gICAgLyoqICovXHJcbiAgICBwcml2YXRlIFNldEV2ZW50cygpOiB2b2lkIHtcclxuICAgICAgICBUb29scy5TbGVlcCgpLnRoZW4oKCkgPT4ge1xyXG4gICAgICAgICAgICB0aGlzLl9lbGVtZW50ID0gZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQoYCR7dGhpcy5faWR9LWlubmVyLWJ1dHRvbmApISBhcyBIVE1MQnV0dG9uRWxlbWVudDtcclxuXHJcbiAgICAgICAgICAgIGlmIChUb29scy5Jc05vdE51bGwodGhpcy5fZWxlbWVudCkpIHtcclxuICAgICAgICAgICAgICAgIHRoaXMuX2VsZW1lbnQuYWRkRXZlbnRMaXN0ZW5lcignZm9jdXMnLCAoKSA9PiB7XHJcbiAgICAgICAgICAgICAgICAgICAgaWYgKCF0aGlzLl9pc0VuYWJsZSgpKSB0aGlzLkJsdXIoKTtcclxuICAgICAgICAgICAgICAgIH0pO1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgfSk7XHJcbiAgICB9XHJcblxyXG5cclxuICAgIHByaXZhdGUgU2V0VG9vbFRpcCgpOiB2b2lkIHtcclxuICAgICAgICBUb29scy5TbGVlcCgpLnRoZW4oKCkgPT4ge1xyXG4gICAgICAgICAgICBjb25zdCBodG1sRWxlbWVudCA9IGRvY3VtZW50LmdldEVsZW1lbnRCeUlkKGAke3RoaXMuX2lkfS1jb250YWluZXJgKSE7XHJcblxyXG4gICAgICAgICAgICBpZiAoVG9vbHMuSXNOb3ROdWxsKGh0bWxFbGVtZW50KSkge1xyXG4gICAgICAgICAgICAgICAgaHRtbEVsZW1lbnQuYWRkRXZlbnRMaXN0ZW5lcignbW91c2VsZWF2ZScsICgpID0+IHtcclxuICAgICAgICAgICAgICAgICAgICBpZiAoVG9vbHMuSXNOb3ROdWxsKGh0bWxFbGVtZW50KSAmJiBUb29scy5Jc05vdE51bGwodGhpcy5fdG9vbHRpcEVsZW1lbnQpKSB7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMuX3Rvb2x0aXBFbGVtZW50LmhpZGUoKTtcclxuICAgICAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICB9KTtcclxuXHJcbiAgICAgICAgICAgICAgICB0aGlzLl90b29sdGlwRWxlbWVudCA9IG5ldyBUb29sdGlwKGh0bWxFbGVtZW50LCB7XHJcbiAgICAgICAgICAgICAgICAgICAgaHRtbDogdHJ1ZSxcclxuICAgICAgICAgICAgICAgICAgICB0aXRsZTogdGhpcy5fdG9vbHRpcCxcclxuICAgICAgICAgICAgICAgICAgICBwbGFjZW1lbnQ6IHRoaXMudG9vbHRpcFBvc2l0aW9uXHJcbiAgICAgICAgICAgICAgICB9KTtcclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH0pO1xy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ydWUsICdhbmltYXRlX19kaXNhYmxlZCc6ICFhbmltYXRpb24oKSB9XCJcclxuICAgICAgICBbbmdTdHlsZV09XCJ7ICdtYXJnaW4tdG9wJzogbWFyZ2luVG9wKCksICdtYXJnaW4tcmlnaHQnOiBtYXJnaW5SaWdodCgpLCAnbWFyZ2luLWJvdHRvbSc6IG1hcmdpbkJvdHRvbSgpLCAnbWFyZ2luLWxlZnQnOiBtYXJnaW5MZWZ0KCkgIH1cIj5cclxuICAgICAgICBAaWYodHlwZSgpID09J2ZpbGxlZCcgfHwgdHlwZSgpID09ICdvdXRsaW5lJykge1xyXG4gICAgICAgICAgICA8YnV0dG9uIG1hdC1idXR0b25cclxuICAgICAgICAgICAgICAgIFtpZF09XCJfaWQgKyAnLWlubmVyLWJ1dHRvbidcIlxyXG4gICAgICAgICAgICAgICAgdHlwZT1cImJ1dHRvblwiXHJcbiAgICAgICAgICAgICAgICAoY2xpY2spPVwiQ2xpY2soJGV2ZW50KVwiXHJcbiAgICAgICAgICAgICAgICBbbmdDbGFzc109XCJ7XHJcbiAgICAgICAgICAgICAgICAgICAgJ3ByaW1hcnktZmlsbGVkJyAgICA6IChjb2xvcigpID09ICdwcmltYXJ5JyAgICAmJiB0eXBlKCkgPT0nZmlsbGVkJyksXHJcbiAgICAgICAgICAgICAgICAgICAgJ3NlY29uZGFyeS1maWxsZWQnICA6IChjb2xvcigpID09ICdzZWNvbmRhcnknICAmJiB0eXBlKCkgPT0nZmlsbGVkJyksXHJcbiAgICAgICAgICAgICAgICAgICAgJ3N1Y2Nlc3MtZmlsbGVkJyAgICA6IChjb2xvcigpID09ICdzdWNjZXNzJyAgICAmJiB0eXBlKCkgPT0nZmlsbGVkJyksXHJcbiAgICAgICAgICAgICAgICAgICAgJ3dhcm5pbmctZmlsbGVkJyAgICA6IChjb2xvcigpID09ICd3YXJuaW5nJyAgICAmJiB0eXBlKCkgPT0nZmlsbGVkJyksXHJcbiAgICAgICAgICAgICAgICAgICAgJ2Rhbmdlci1maWxsZWQnICAgICA6IChjb2xvcigpID09ICdkYW5nZXInICAgICAmJiB0eXBlKCkgPT0nZmlsbGVkJyksXHJcbiAgICAgICAgICAgICAgICAgICAgJ25hdmlnYXRpb24tZmlsbGVkJyA6IChjb2xvcigpID09ICduYXZpZ2F0aW9uJyAmJiB0eXBlKCkgPT0nZmlsbGVkJyksXHJcbiAgICAgICAgICAgICAgICAgICAgJ2RhcmstZmlsbGVkJyAgICAgICA6IChjb2xvcigpID09ICdkYXJrJyAgICAgICAmJiB0eXBlKCkgPT0nZmlsbGVkJyksXHJcbiAgICAgICAgICAgICAgICAgICAgJ3ByaW1hcnktb3V0bGluZScgICA6IChjb2xvcigpID09ICdwcmltYXJ5JyAgICAmJiB0eXBlKCkgPT0nb3V0bGluZScpLFxyXG4gICAgICAgICAgICAgICAgICAgICdzZWNvbmRhcnktb3V0bGluZScgOiAoY29sb3IoKSA9PSAnc2Vjb25kYXJ5JyAgJiYgdHlwZSgpID09J291dGxpbmUnKSxcclxuICAgICAgICAgICAgICAgICAgICAnc3VjY2Vzcy1vdXRsaW5lJyAgIDogKGNvbG9yKCkgPT0gJ3N1Y2Nlc3MnICAgICYmIHR5cGUoKSA9PSdvdXRsaW5lJyksXHJcbiAgICAgICAgICAgICAgICAgICAgJ3dhcm5pbmctb3V0bGluZScgICA6IChjb2xvcigpID09ICd3YXJuaW5nJyAgICAmJiB0eXBlKCkgPT0nb3V0bGluZScpLFxyXG4gICAgICAgICAgICAgICAgICAgICdkYW5nZXItb3V0bGluZScgICAgOiAoY29sb3IoKSA9PSAnZGFuZ2VyJyAgICAgJiYgdHlwZSgpID09J291dGxpbmUnKSxcclxuICAgICAgICAgICAgICAgICAgICAnbmF2aWdhdGlvbi1vdXRsaW5lJzogKGNvbG9yKCkgPT0gJ25hdmlnYXRpb24nICYmIHR5cGUoKSA9PSdvdXRsaW5lJyksXHJcbiAgICAgICAgICAgICAgICAgICAgJ2Rhcmstb3V0bGluZScgICAgICA6IChjb2xvcigpID09ICdkYXJrJyAgICAgICAmJiB0eXBlKCkgPT0nb3V0bGluZScpLFxyXG4gICAgICAgICAgICAgICAgICAgICdyZWFkb25seSc6IGlzRGlzYWJsZWQoKSxcclxuICAgICAgICAgICAgICAgICAgICAnY3Vyc29yLXdhaXQnOiBpc0xvYWRpbmcoKVxyXG4gICAgICAgICAgICAgICAgfVwiXHJcbiAgICAgICAgICAgICAgICBbbmdTdHlsZV09XCJ7XHJcbiAgICAgICAgICAgICAgICAgICAgJ3dpZHRoJyAgICAgOiB3aWR0aCgpLFxyXG4gICAgICAgICAgICAgICAgICAgICdtaW4td2lkdGgnIDogbWluV2lkdGgoKSxcclxuICAgICAgICAgICAgICAgICAgICAnaGVpZ2h0JyAgICA6IGhlaWdodCgpLFxyXG4gICAgICAgICAgICAgICAgICAgICdtaW4taGVpZ2h0JzogbWluSGVpZ2h0KClcclxuICAgICAgICAgICAgICAgIH1cIj5cclxuICAgICAgICAgICAgICAgIDxzcGFuIGNsYXNzPVwic2xvdFwiICpuZ0lmPVwiIWlzTG9hZGluZygpOyBlbHNlIGxvYWRpbmdcIiA+XHJcbiAgICAgICAgICAgICAgICAgICAgPHNwYW4gKm5nSWY9XCIoaWNvblBvc2l0aW9uKCkgPT0gJ2xlZnQnKVwiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8aSBbY2xhc3NdPVwiX2ljb24oKVwiPjwvaT5cclxuICAgICAgICAgICAgICAgICAgICA8L3NwYW4+XHJcblxyXG4gICAgICAgICAgICAgICAgICAgIDxzcGFuIFtuZ0NsYXNzXT1cInsgJ21zLTInOiAoaWNvblBvc2l0aW9uKCkgPT0gJ2xlZnQnKSwgJ21lLTInOiAoaWNvblBvc2l0aW9uKCkgPT0gJ3JpZ2h0JykgfVwiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XHJcbiAgICAgICAgICAgICAgICAgICAgPC9zcGFuPlxyXG5cclxuICAgICAgICAgICAgICAgICAgICA8c3BhbiAqbmdJZj1cIihpY29uUG9zaXRpb24oKSA9PSAncmlnaHQnKVwiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8aSBbY2xhc3NdPVwiX2ljb24oKVwiPjwvaT5cclxuICAgICAgICAgICAgICAgICAgICA8L3NwYW4+XHJcbiAgICAgICAgICAgICAgICA8L3NwYW4+XHJcblxyXG4gICAgICAgICAgICAgICAgPG5nLXRlbXBsYXRlICNsb2FkaW5nPlxyXG4gICAgICAgICAgICAgICAgICAgIDxzcGFuIGNsYXNzPVwic2xvdCBmYS1mYWRlXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIDxzcGFuIGNsYXNzPVwibWUtMlwiPiBMb2FkaW5nIDwvc3Bhbj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgPGkgY2xhc3M9XCJzcGlubmVyLWJvcmRlclwiPjwvaT5cclxuICAgICAgICAgICAgICAgICAgICA8L3NwYW4+XHJcbiAgICAgICAgICAgICAgICA8L25nLXRlbXBsYXRlPlxyXG4gICAgICAgICAgICA8L2J1dHRvbj5cclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIEBlbHNlIHtcclxuICAgICAgICAgICAgQGlmICh0eXBlKCkgPT0gJ2ljb24nKSB7XHJcbiAgICAgICAgICAgICAgICA8YnV0dG9uIG1hdC1pY29uLWJ1dHRvblxyXG4gICAgICAgICAgICAgICAgICAgIFtpZF09XCJfaWQgKyAnLWlubmVyLWJ1dHRvbidcIlxyXG4gICAgICAgICAgICAgICAgICAgIChjbGljayk9XCJDbGljaygkZXZlbnQpXCJcclxuICAgICAgICAgICAgICAgICAgICBbbmdDbGFzc109XCJ7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICdwcmltYXJ5LWZpbGxlZCcgICA6IChjb2xvcigpID09ICdwcmltYXJ5JyksXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICdzZWNvbmRhcnktZmlsbGVkJyA6IChjb2xvcigpID09ICdzZWNvbmRhcnknKSxcclxuICAgICAgICAgICAgICAgICAgICAgICAgJ3N1Y2Nlc3MtZmlsbGVkJyAgIDogKGNvbG9yKCkgPT0gJ3N1Y2Nlc3MnKSxcclxuICAgICAgICAgICAgICAgICAgICAgICAgJ3dhcm5pbmctZmlsbGVkJyAgIDogKGNvbG9yKCkgPT0gJ3dhcm5pbmcnKSxcclxuICAgICAgICAgICAgICAgICAgICAgICAgJ2Rhbmdlci1maWxsZWQnICAgIDogKGNvbG9yKCkgPT0gJ2RhbmdlcicpLFxyXG4gICAgICAgICAgICAgICAgICAgICAgICAnbmF2aWdhdGlvbi1maWxsZWQnOiAoY29sb3IoKSA9PSAnbmF2aWdhdGlvbicpLFxyXG4gICAgICAgICAgICAgICAgICAgICAgICAnZGFyay1maWxsZWQnICAgICAgOiAoY29sb3IoKSA9PSAnZGFyaycpLFxyXG4gICAgICAgICAgICAgICAgICAgICAgICAncmVhZG9ubHknICAgICAgICAgOiAoaXNEaXNhYmxlZCgpIHx8IGlzTG9hZGluZygpKSxcclxuICAgICAgICAgICAgICAgICAgICAgICAgJ2N1cnNvci13YWl0JyAgICAgIDogaXNMb2FkaW5nKClcclxuICAgICAgICAgICAgICAgICAgICB9XCI+XHJcbiAgICAgICAgICAgICAgICAgICAgPGkgW2NsYXNzXT1cIl9pY29uKClcIj48L2k+XHJcbiAgICAgICAgICAgICAgICA8L2J1dHRvbj5cclxuICAgICAgICAgICAgfVxyXG5cclxuICAgICAgICAgICAgQGVsc2UgaWYgKHR5cGUoKSA9PSAnaWNvbi1vdXRsaW5lJykge1xyXG4gICAgICAgICAgICAgICAgPGJ1dHRvbiBtYXQtaWNvbi1idXR0b25cclxuICAgICAgICAgICAgICAgICAgICBbaWRdPVwiX2lkICsgJy1pbm5lci1idXR0b24nXCJcclxuICAgICAgICAgICAgICAgICAgICAoY2xpY2spPVwiQ2xpY2soJGV2ZW50KVwiXHJcbiAgICAgICAgICAgICAgICAgICAgW25nQ2xhc3NdPVwie1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAncHJpbWFyeS1vdXRsaW5lJyAgIDogKGNvbG9yKCkgPT0gJ3ByaW1hcnknKSxcclxuICAgICAgICAgICAgICAgICAgICAgICAgJ3NlY29uZGFyeS1vdXRsaW5lJyA6IChjb2xvcigpID09ICdzZWNvbmRhcnknKSxcclxuICAgICAgICAgICAgICAgICAgICAgICAgJ3N1Y2Nlc3Mtb3V0bGluZScgICA6IChjb2xvcigpID09ICdzdWNjZXNzJyksXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICd3YXJuaW5nLW91dGxpbmUnICAgOiAoY29sb3IoKSA9PSAnd2FybmluZycpLFxyXG4gICAgICAgICAgICAgICAgICAgICAgICAnZGFuZ2VyLW91dGxpbmUnICAgIDogKGNvbG9yKCkgPT0gJ2RhbmdlcicpLFxyXG4gICAgICAgICAgICAgICAgICAgICAgICAnbmF2aWdhdGlvbi1vdXRsaW5lJzogKGNvbG9yKCkgPT0gJ25hdmlnYXRpb24nKSxcclxuICAgICAgICAgICAgICAgICAgICAgICAgJ2Rhcmstb3V0bGluZScgICAgICA6IChjb2xvcigpID09ICdkYXJrJyksXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICdyZWFkb25seScgICAgICAgICAgOiAoaXNEaXNhYmxlZCgpIHx8IGlzTG9hZGluZygpKSxcclxuICAgICAgICAgICAgICAgICAgICAgICAgJ2N1cnNvci13YWl0JyAgICAgICA6IGlzTG9hZGluZygpXHJcbiAgICAgICAgICAgICAgICAgICAgfVwiPlxyXG4gICAgICAgICAgICAgICAgICAgIDxpIFtjbGFzc109XCJfaWNvbigpXCI+PC9pPlxyXG4gICAgICAgICAgICAgICAgPC9idXR0b24+XHJcbiAgICAgICAgICAgIH1cclxuXHJcbiAgICAgICAgICAgIEBlbHNlIGlmICh0eXBlKCkgPT0gJ2ljb24tbm8tYm9yZGVyJykge1xyXG4gICAgICAgICAgICAgICAgPGJ1dHRvbiBtYXQtaWNvbi1idXR0b25cclxuICAgICAgICAgICAgICAgICAgICBbaWRdPVwiX2lkICsgJy1pbm5lci1idXR0b24nXCJcclxuICAgICAgICAgICAgICAgICAgICAoY2xpY2spPVwiQ2xpY2soJGV2ZW50KVwiXHJcbiAgICAgICAgICAgICAgICAgICAgW25nQ2xhc3NdPVwie1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAncHJpbWFyeS1vdXRsaW5lJyAgIDogKGNvbG9yKCkgPT0gJ3ByaW1hcnknKSxcclxuICAgICAgICAgICAgICAgICAgICAgICAgJ3NlY29uZGFyeS1vdXRsaW5lJyA6IChjb2xvcigpID09ICdzZWNvbmRhcnknKSxcclxuICAgICAgICAgICAgICAgICAgICAgICAgJ3N1Y2Nlc3Mtb3V0bGluZScgICA6IChjb2xvcigpID09ICdzdWNjZXNzJyksXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICd3YXJuaW5nLW91dGxpbmUnICAgOiAoY29sb3IoKSA9PSAnd2FybmluZycpLFxyXG4gICAgICAgICAgICAgICAgICAgICAgICAnZGFuZ2VyLW91dGxpbmUnICAgIDogKGNvbG9yKCkgPT0gJ2RhbmdlcicpLFxyXG4gICAgICAgICAgICAgICAgICAgICAgICAnbmF2aWdhdGlvbi1vdXRsaW5lJzogKGNvbG9yKCkgPT0gJ25hdmlnYXRpb24nKSxcclxuICAgICAgICAgICAgICAgICAgICAgICAgJ2Rhcmstb3V0bGluZScgICAgICA6IChjb2xvcigpID09ICdkYXJrJyksXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICdyZWFkb25seScgICAgICAgICAgOiAoaXNEaXNhYmxlZCgpIHx8IGlzTG9hZGluZygpKSxcclxuICAgICAgICAgICAgICAgICAgICAgICAgJ2ljb24tbm8tYm9yZGVyJyAgICA6IHRydWVcclxuICAgICAgICAgICAgICAgICAgICB9XCI+XHJcbiAgICAgICAgICAgICAgICAgICAgPGkgW2NsYXNzXT1cIl9pY29uKClcIj48L2k+XHJcbiAgICAgICAgICAgICAgICA8L2J1dHRvbj5cclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH1cclxuICAgIDwvYT5cclxuPC9kaXY+Il19
|
package/esm2022/index.mjs
CHANGED
@@ -1,2 +1,54 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
import { NgModule } from '@angular/core';
|
2
|
+
//Components
|
3
|
+
import { CoerAlert } from 'coer-elements/tools';
|
4
|
+
import * as components from 'coer-elements/components';
|
5
|
+
import * as directives from 'coer-elements/directives';
|
6
|
+
import * as pipes from 'coer-elements/pipes';
|
7
|
+
import * as i0 from "@angular/core";
|
8
|
+
import * as i1 from "coer-elements/components";
|
9
|
+
import * as i2 from "coer-elements/directives";
|
10
|
+
import * as i3 from "coer-elements/pipes";
|
11
|
+
export class CoerElementsModule {
|
12
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CoerElementsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
13
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: CoerElementsModule, imports: [i1.ComponentsModule, i2.DirectivesModule, i3.PipesModule, CoerAlert], exports: [CoerAlert, i1.CoerButton, i1.CoerCheckbox, i1.CoerFilebox, i1.CoerForm, i1.CoerGrid, i1.CoerList, i1.CoerModal, i1.CoerNumberBox, i1.CoerPageTitle, i1.CoerSelectbox, i1.CoerSidenav, i1.CoerSwitch, i1.CoerTextarea, i1.CoerTab, i1.CoerTextBox, i1.CoerToolbar, i2.CoerRefDirective, i2.LifeCycleDirective, i3.HtmlPipe, i3.NoImagePipe, i3.NumericFormatPipe] }); }
|
14
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CoerElementsModule, imports: [components.ComponentsModule,
|
15
|
+
directives.DirectivesModule,
|
16
|
+
pipes.PipesModule,
|
17
|
+
CoerAlert] }); }
|
18
|
+
}
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CoerElementsModule, decorators: [{
|
20
|
+
type: NgModule,
|
21
|
+
args: [{
|
22
|
+
imports: [
|
23
|
+
components.ComponentsModule,
|
24
|
+
directives.DirectivesModule,
|
25
|
+
pipes.PipesModule,
|
26
|
+
CoerAlert
|
27
|
+
],
|
28
|
+
exports: [
|
29
|
+
CoerAlert,
|
30
|
+
components.CoerButton,
|
31
|
+
components.CoerCheckbox,
|
32
|
+
components.CoerFilebox,
|
33
|
+
components.CoerForm,
|
34
|
+
components.CoerGrid,
|
35
|
+
components.CoerList,
|
36
|
+
components.CoerModal,
|
37
|
+
components.CoerNumberBox,
|
38
|
+
components.CoerPageTitle,
|
39
|
+
components.CoerSelectbox,
|
40
|
+
components.CoerSidenav,
|
41
|
+
components.CoerSwitch,
|
42
|
+
components.CoerTextarea,
|
43
|
+
components.CoerTab,
|
44
|
+
components.CoerTextBox,
|
45
|
+
components.CoerToolbar,
|
46
|
+
directives.CoerRefDirective,
|
47
|
+
directives.LifeCycleDirective,
|
48
|
+
pipes.HtmlPipe,
|
49
|
+
pipes.NoImagePipe,
|
50
|
+
pipes.NumericFormatPipe
|
51
|
+
]
|
52
|
+
}]
|
53
|
+
}] });
|
54
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9wcm9qZWN0cy9jb2VyLWVsZW1lbnRzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFekMsWUFBWTtBQUNaLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQUNoRCxPQUFPLEtBQUssVUFBVSxNQUFNLDBCQUEwQixDQUFDO0FBQ3ZELE9BQU8sS0FBSyxVQUFVLE1BQU0sME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21wb25lbnRzLkNvZXJNb2RhbCxcclxuICAgICAgICBjb21wb25lbnRzLkNvZXJOdW1iZXJCb3gsXHJcbiAgICAgICAgY29tcG9uZW50cy5Db2VyUGFnZVRpdGxlLFxyXG4gICAgICAgIGNvbXBvbmVudHMuQ29lclNlbGVjdGJveCxcclxuICAgICAgICBjb21wb25lbnRzLkNvZXJTaWRlbmF2LFxyXG4gICAgICAgIGNvbXBvbmVudHMuQ29lclN3aXRjaCxcclxuICAgICAgICBjb21wb25lbnRzLkNvZXJUZXh0YXJlYSxcclxuICAgICAgICBjb21wb25lbnRzLkNvZXJUYWIsXHJcbiAgICAgICAgY29tcG9uZW50cy5Db2VyVGV4dEJveCxcclxuICAgICAgICBjb21wb25lbnRzLkNvZXJUb29sYmFyLFxyXG4gICAgICAgIGRpcmVjdGl2ZXMuQ29lclJlZkRpcmVjdGl2ZSxcclxuICAgICAgICBkaXJlY3RpdmVzLkxpZmVDeWNsZURpcmVjdGl2ZSxcclxuICAgICAgICBwaXBlcy5IdG1sUGlwZSxcclxuICAgICAgICBwaXBlcy5Ob0ltYWdlUGlwZSxcclxuICAgICAgICBwaXBlcy5OdW1lcmljRm9ybWF0UGlwZVxyXG4gICAgXVxyXG59KVxyXG5leHBvcnQgY2xhc3MgQ29lckVsZW1lbnRzTW9kdWxlIHsgfSJdfQ==
|
@@ -0,0 +1,52 @@
|
|
1
|
+
import { Router } from '@angular/router';
|
2
|
+
import { Component, inject, input, output } from '@angular/core';
|
3
|
+
import { GridTemplates } from './coer-grid.templates';
|
4
|
+
import { CoerAlert } from './coer-alert/coer-alert.component';
|
5
|
+
import { Tools } from './tools';
|
6
|
+
import * as i0 from "@angular/core";
|
7
|
+
export class Section {
|
8
|
+
constructor() {
|
9
|
+
//Injection
|
10
|
+
this.alert = inject(CoerAlert);
|
11
|
+
this.router = inject(Router);
|
12
|
+
//Inputs enableAnimations
|
13
|
+
this.isLoading = input(false);
|
14
|
+
this.isUpdate = input(false);
|
15
|
+
//Outputs
|
16
|
+
this.onReady = output();
|
17
|
+
this.onDestroy = output();
|
18
|
+
//Variables
|
19
|
+
this.enableAnimations = false;
|
20
|
+
//Grid Templates
|
21
|
+
this.isActiveTemplate = GridTemplates.isActiveTemplate;
|
22
|
+
this.coerSwitchTemplate = GridTemplates.coerSwitchTemplate;
|
23
|
+
this.coerTextboxTemplate = GridTemplates.coerTextboxTemplate;
|
24
|
+
this.coerIconTemplate = GridTemplates.coerIconTemplate;
|
25
|
+
//Tools
|
26
|
+
this.IsNull = Tools.IsNull;
|
27
|
+
this.IsNotNull = Tools.IsNotNull;
|
28
|
+
this.IsOnlyWhiteSpace = Tools.IsOnlyWhiteSpace;
|
29
|
+
this.IsNotOnlyWhiteSpace = Tools.IsNotOnlyWhiteSpace;
|
30
|
+
}
|
31
|
+
ngAfterViewInit() {
|
32
|
+
Tools.Sleep().then(_ => this.onReady.emit());
|
33
|
+
Tools.Sleep(1000).then(_ => this.enableAnimations = true);
|
34
|
+
}
|
35
|
+
ngOnDestroy() {
|
36
|
+
this.onDestroy.emit();
|
37
|
+
}
|
38
|
+
/** */
|
39
|
+
Log(value, log = null) {
|
40
|
+
if (Tools.IsNotNull(log))
|
41
|
+
console.log({ log, value });
|
42
|
+
else
|
43
|
+
console.log(value);
|
44
|
+
}
|
45
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: Section, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
46
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "17.3.12", type: Section, selector: "ng-component", inputs: { isLoading: { classPropertyName: "isLoading", publicName: "isLoading", isSignal: true, isRequired: false, transformFunction: null }, isUpdate: { classPropertyName: "isUpdate", publicName: "isUpdate", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onReady: "onReady", onDestroy: "onDestroy" }, ngImport: i0, template: '', isInline: true }); }
|
47
|
+
}
|
48
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: Section, decorators: [{
|
49
|
+
type: Component,
|
50
|
+
args: [{ template: '' }]
|
51
|
+
}] });
|
52
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VjdGlvbi5jbGFzcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvZXItZWxlbWVudHMvdG9vbHMvbGliL3NlY3Rpb24uY2xhc3MudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLE1BQU0sRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQ3pDLE9BQU8sRUFBaUIsU0FBUyxFQUFFLE1BQU0sRUFBRSxLQUFLLEVBQWEsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNGLE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQztBQUN0RCxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sbUNBQW1DLENBQUM7QUFDOUQsT0FBTyxFQUFFLEtBQUssRUFBRSxNQUFNLFNBQVMsQ0FBQzs7QUFHaEMsTUFBTSxPQUFPLE9BQU87SUFEcEI7UUFHSSxXQUFXO1FBQ1EsVUFBSyxHQUFHLE1BQU0sQ0FBQyxTQUFTLENBQUMsQ0FBQztRQUMxQixXQUFNLEdBQUcsTUFBTSxDQUFDLE1BQU0sQ0FBQyxDQUFDO1FBRTNDLDJCQUEyQjtRQUNwQixjQUFTLEdBQUcsS0FBSyxDQUFVLEtBQUssQ0FBQyxDQUFDO1FBQ2xDLGFBQVEsR0FBRyxLQUFLLENBQVUsS0FBSyxDQUFDLENBQUM7UUFFeEMsU0FBUztRQUNGLFlBQU8sR0FBRyxNQUFNLEVBQVEsQ0FBQztRQUN6QixjQUFTLEdBQUcsTUFBTSxFQUFRLENBQUM7UU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RlO1xyXG4gICAgcHJvdGVjdGVkIGNvZXJUZXh0Ym94VGVtcGxhdGUgPSBHcmlkVGVtcGxhdGVzLmNvZXJUZXh0Ym94VGVtcGxhdGU7XHJcbiAgICBwcm90ZWN0ZWQgY29lckljb25UZW1wbGF0ZSA9IEdyaWRUZW1wbGF0ZXMuY29lckljb25UZW1wbGF0ZTtcclxuXHJcblxyXG4gICAgLy9Ub29sc1xyXG4gICAgcHJvdGVjdGVkIElzTnVsbCA9IFRvb2xzLklzTnVsbDtcclxuICAgIHByb3RlY3RlZCBJc05vdE51bGwgPSBUb29scy5Jc05vdE51bGw7XHJcbiAgICBwcm90ZWN0ZWQgSXNPbmx5V2hpdGVTcGFjZSA9IFRvb2xzLklzT25seVdoaXRlU3BhY2U7XHJcbiAgICBwcm90ZWN0ZWQgSXNOb3RPbmx5V2hpdGVTcGFjZSA9IFRvb2xzLklzTm90T25seVdoaXRlU3BhY2U7XHJcbn0iXX0=
|
@@ -9,7 +9,8 @@ export * from './lib/filters.class';
|
|
9
9
|
export * from './lib/menu.class';
|
10
10
|
export * from './lib/page.class';
|
11
11
|
export * from './lib/screen.class';
|
12
|
+
export * from './lib/section.class';
|
12
13
|
export * from './lib/service.class';
|
13
14
|
export * from './lib/source.class';
|
14
15
|
export * from './lib/tools';
|
15
|
-
//# sourceMappingURL=data:application/json;base64,
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2NvZXItZWxlbWVudHMvdG9vbHMvcHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHVDQUF1QyxDQUFDO0FBQ3RELGNBQWMseUJBQXlCLENBQUM7QUFDeEMsY0FBYywyQkFBMkIsQ0FBQztBQUMxQyxjQUFjLG9CQUFvQixDQUFDO0F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3MnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9zb3VyY2UuY2xhc3MnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi90b29scyc7Il19
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as i0 from '@angular/core';
|
2
|
-
import { viewChild, input, Component, Input,
|
2
|
+
import { viewChild, input, Component, Input, output, computed, ContentChildren, inject, signal, viewChildren, ViewChild, EventEmitter, Output, ViewChildren, NgModule } from '@angular/core';
|
3
3
|
import * as i1 from '@angular/common';
|
4
4
|
import { CommonModule } from '@angular/common';
|
5
5
|
import * as i2$1 from '@angular/router';
|
@@ -110,8 +110,8 @@ class CoerButton {
|
|
110
110
|
this.marginLeft = input('0px');
|
111
111
|
this.path = input([]);
|
112
112
|
this.tooltipPosition = input('left');
|
113
|
-
//Outputs
|
114
|
-
this.onClick =
|
113
|
+
//Outputs
|
114
|
+
this.onClick = output();
|
115
115
|
//computed
|
116
116
|
this._isEnable = computed(() => {
|
117
117
|
return !this.isLoading() && !this.isDisabled() && !this.isInvisible();
|
@@ -214,8 +214,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
214
214
|
type: Input
|
215
215
|
}], tooltip: [{
|
216
216
|
type: Input
|
217
|
-
}], onClick: [{
|
218
|
-
type: Output
|
219
217
|
}] } });
|
220
218
|
|
221
219
|
class CoerCheckbox extends ControlValue {
|