@acorex/components 19.10.5 → 19.10.7
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/conversation/lib/conversation-container/conversation-container.component.d.ts +2 -3
- package/conversation/lib/conversation-message/conversation-message.component.d.ts +1 -0
- package/data-table/lib/data-table/data-table.component.d.ts +19 -4
- package/datetime-box/lib/datetime-box.component.d.ts +2 -0
- package/datetime-picker/lib/datetime-picker.component.d.ts +3 -1
- package/decorators/lib/components/heading/heading.component.d.ts +1 -1
- package/fesm2022/acorex-components-avatar.mjs +3 -3
- package/fesm2022/acorex-components-avatar.mjs.map +1 -1
- package/fesm2022/acorex-components-calendar.mjs +2 -2
- package/fesm2022/acorex-components-calendar.mjs.map +1 -1
- package/fesm2022/acorex-components-check-box.mjs +2 -2
- package/fesm2022/acorex-components-check-box.mjs.map +1 -1
- package/fesm2022/acorex-components-color-box.mjs +2 -2
- package/fesm2022/acorex-components-color-box.mjs.map +1 -1
- package/fesm2022/acorex-components-color-palette.mjs +1 -1
- package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
- package/fesm2022/acorex-components-common.mjs +13 -20
- package/fesm2022/acorex-components-common.mjs.map +1 -1
- package/fesm2022/acorex-components-conversation.mjs +22 -19
- package/fesm2022/acorex-components-conversation.mjs.map +1 -1
- package/fesm2022/acorex-components-cron-job.mjs +6 -6
- package/fesm2022/acorex-components-cron-job.mjs.map +1 -1
- package/fesm2022/acorex-components-data-table.mjs +56 -79
- package/fesm2022/acorex-components-data-table.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-box.mjs +10 -29
- package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-picker.mjs +10 -4
- package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-decorators.mjs +2 -2
- package/fesm2022/acorex-components-decorators.mjs.map +1 -1
- package/fesm2022/acorex-components-file-explorer.mjs +167 -124
- package/fesm2022/acorex-components-file-explorer.mjs.map +1 -1
- package/fesm2022/acorex-components-grid-layout-builder.mjs +2 -2
- package/fesm2022/acorex-components-grid-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-components-json-viewer.mjs +2 -2
- package/fesm2022/acorex-components-json-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-list.mjs +6 -16
- package/fesm2022/acorex-components-list.mjs.map +1 -1
- package/fesm2022/acorex-components-media-viewer.mjs +4 -4
- package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-phone-box.mjs +1 -1
- package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
- package/fesm2022/acorex-components-popover.mjs +4 -18
- package/fesm2022/acorex-components-popover.mjs.map +1 -1
- package/fesm2022/acorex-components-query-builder.mjs +2 -2
- package/fesm2022/acorex-components-query-builder.mjs.map +1 -1
- package/fesm2022/acorex-components-rest-api-generator.mjs +6 -6
- package/fesm2022/acorex-components-rest-api-generator.mjs.map +1 -1
- package/fesm2022/acorex-components-select-box.mjs +20 -12
- package/fesm2022/acorex-components-select-box.mjs.map +1 -1
- package/fesm2022/acorex-components-tree-view.mjs +24 -12
- package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
- package/fesm2022/acorex-components-wysiwyg.mjs +1 -1
- package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
- package/file-explorer/index.d.ts +2 -0
- package/file-explorer/lib/file-explorer-container/file-explorer-container.component.d.ts +1 -6
- package/file-explorer/lib/file-explorer-header/file-explorer-header.component.d.ts +9 -0
- package/file-explorer/lib/file-explorer-internal.service.d.ts +18 -0
- package/file-explorer/lib/file-explorer-tree/file-explorer-tree.component.d.ts +13 -0
- package/file-explorer/lib/file-explorer-view/file-explorer-view.component.d.ts +3 -16
- package/file-explorer/lib/file-explorer.module.d.ts +11 -8
- package/file-explorer/lib/file-explorer.service.d.ts +6 -1
- package/list/lib/list.component.d.ts +1 -1
- package/package.json +1 -1
- package/select-box/lib/select-box.component.d.ts +11 -4
- package/tree-view/lib/tree-view.class.d.ts +2 -0
- package/tree-view/lib/tree-view.component.d.ts +4 -2
@@ -95,11 +95,11 @@ class AXQueryParamsComponent {
|
|
95
95
|
return '';
|
96
96
|
}
|
97
97
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXQueryParamsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
98
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.3", type: AXQueryParamsComponent, isStandalone: false, selector: "ax-query-params", ngImport: i0, template: "<div class=\"ax-query-params-container\">\n <div class=\"ax-query-params-header\">\n <ax-text>Query Params</ax-text>\n <ax-button look=\"blank\" class=\"ax-sm\" color=\"primary\"
|
98
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.3", type: AXQueryParamsComponent, isStandalone: false, selector: "ax-query-params", ngImport: i0, template: "<div class=\"ax-query-params-container\">\n <div class=\"ax-query-params-header\">\n <ax-text>Query Params</ax-text>\n <ax-button look=\"blank\" class=\"ax-sm\" color=\"primary\" (onClick)=\"addQueryParamsHandler()\">\n <ax-icon icon=\"ax-icon ax-icon-plus\"></ax-icon>\n </ax-button>\n </div>\n\n <div class=\"ax-query-params-value-container\">\n @for (item of queryParamsArray(); track item) {\n <div class=\"ax-query-params-value\">\n <ax-text-box (onValueChanged)=\"queryParamsKeyHandler($event, item.tempId)\" placeholder=\"key\" [ngModel]=\"setInitialState(item, 'key')\"></ax-text-box>\n <ax-text-box\n (onValueChanged)=\"queryParamsValueHandler($event, item.tempId)\"\n placeholder=\"value\"\n [ngModel]=\"setInitialState(item, 'value')\"\n ></ax-text-box>\n <ax-button look=\"blank\" class=\"ax-md\" color=\"danger\" (onClick)=\"removeQueryParamsHandler(item.tempId)\">\n <ax-prefix>\n <ax-icon icon=\"ax-icon ax-icon-trash\"></ax-icon>\n </ax-prefix>\n </ax-button>\n </div>\n }\n </div>\n</div>\n", styles: ["ax-query-params{padding-inline:.5rem;padding-top:1rem;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}ax-query-params .ax-query-params-container{width:100%}ax-query-params .ax-query-params-value-container{display:flex;flex-direction:column;gap:.5rem}ax-query-params .ax-query-params-value-container .ax-query-params-value{display:flex;gap:.5rem;align-items:center}ax-query-params .ax-query-params-header{display:flex;align-items:center;justify-content:space-between;margin-block:.5rem}\n"], dependencies: [{ kind: "component", type: i1.AXTextBoxComponent, selector: "ax-text-box", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "id", "placeholder", "maxLength", "allowNull", "type", "autoComplete", "look", "mask-options", "class"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "component", type: i2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i2.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "component", type: i3.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
99
99
|
}
|
100
100
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXQueryParamsComponent, decorators: [{
|
101
101
|
type: Component,
|
102
|
-
args: [{ selector: 'ax-query-params', standalone: false, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"ax-query-params-container\">\n <div class=\"ax-query-params-header\">\n <ax-text>Query Params</ax-text>\n <ax-button look=\"blank\" class=\"ax-sm\" color=\"primary\"
|
102
|
+
args: [{ selector: 'ax-query-params', standalone: false, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"ax-query-params-container\">\n <div class=\"ax-query-params-header\">\n <ax-text>Query Params</ax-text>\n <ax-button look=\"blank\" class=\"ax-sm\" color=\"primary\" (onClick)=\"addQueryParamsHandler()\">\n <ax-icon icon=\"ax-icon ax-icon-plus\"></ax-icon>\n </ax-button>\n </div>\n\n <div class=\"ax-query-params-value-container\">\n @for (item of queryParamsArray(); track item) {\n <div class=\"ax-query-params-value\">\n <ax-text-box (onValueChanged)=\"queryParamsKeyHandler($event, item.tempId)\" placeholder=\"key\" [ngModel]=\"setInitialState(item, 'key')\"></ax-text-box>\n <ax-text-box\n (onValueChanged)=\"queryParamsValueHandler($event, item.tempId)\"\n placeholder=\"value\"\n [ngModel]=\"setInitialState(item, 'value')\"\n ></ax-text-box>\n <ax-button look=\"blank\" class=\"ax-md\" color=\"danger\" (onClick)=\"removeQueryParamsHandler(item.tempId)\">\n <ax-prefix>\n <ax-icon icon=\"ax-icon ax-icon-trash\"></ax-icon>\n </ax-prefix>\n </ax-button>\n </div>\n }\n </div>\n</div>\n", styles: ["ax-query-params{padding-inline:.5rem;padding-top:1rem;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}ax-query-params .ax-query-params-container{width:100%}ax-query-params .ax-query-params-value-container{display:flex;flex-direction:column;gap:.5rem}ax-query-params .ax-query-params-value-container .ax-query-params-value{display:flex;gap:.5rem;align-items:center}ax-query-params .ax-query-params-header{display:flex;align-items:center;justify-content:space-between;margin-block:.5rem}\n"] }]
|
103
103
|
}] });
|
104
104
|
|
105
105
|
class AXRequestBodyComponent {
|
@@ -248,11 +248,11 @@ class AXRequestHeadersComponent {
|
|
248
248
|
return [allHeaders];
|
249
249
|
}
|
250
250
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXRequestHeadersComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
251
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.3", type: AXRequestHeadersComponent, isStandalone: false, selector: "ax-request-headers", ngImport: i0, template: "<div class=\"ax-headers-container\">\n <div class=\"ax-headers-header\">\n <ax-text>Headers</ax-text>\n <ax-button look=\"blank\" class=\"ax-sm\" color=\"primary\"
|
251
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.3", type: AXRequestHeadersComponent, isStandalone: false, selector: "ax-request-headers", ngImport: i0, template: "<div class=\"ax-headers-container\">\n <div class=\"ax-headers-header\">\n <ax-text>Headers</ax-text>\n <ax-button look=\"blank\" class=\"ax-sm\" color=\"primary\" (onClick)=\"addHeadersHandler()\">\n <ax-icon icon=\"ax-icon ax-icon-plus\"></ax-icon>\n </ax-button>\n </div>\n\n <div class=\"ax-headers-value-container\">\n @for (item of headersArray(); track item.tempId) {\n <div class=\"ax-headers-value\">\n <ax-text-box [ngModel]=\"setInitialState(item, 'key')\" (onValueChanged)=\"headersKeyHandler($event, item.tempId)\" placeholder=\"key\"></ax-text-box>\n <ax-text-box [ngModel]=\"setInitialState(item, 'value')\" (onValueChanged)=\"headersValueHandler($event, item.tempId)\" placeholder=\"value\"></ax-text-box>\n <ax-button look=\"blank\" class=\"ax-md\" color=\"danger\" (onClick)=\"removeHeadersHandler(item.tempId)\">\n <ax-prefix>\n <ax-icon icon=\"ax-icon ax-icon-trash\"></ax-icon>\n </ax-prefix>\n </ax-button>\n </div>\n }\n </div>\n</div>\n", styles: ["ax-request-headers{padding-inline:.5rem;padding-top:1rem;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}ax-request-headers .ax-headers-container{width:100%}ax-request-headers .ax-headers-value-container{display:flex;flex-direction:column;gap:.5rem}ax-request-headers .ax-headers-value-container .ax-headers-value{display:flex;gap:.5rem;align-items:center}ax-request-headers .ax-headers-header{display:flex;align-items:center;justify-content:space-between;margin-block:.5rem}\n"], dependencies: [{ kind: "component", type: i1.AXTextBoxComponent, selector: "ax-text-box", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "id", "placeholder", "maxLength", "allowNull", "type", "autoComplete", "look", "mask-options", "class"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "component", type: i2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i2.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "component", type: i3.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
252
252
|
}
|
253
253
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXRequestHeadersComponent, decorators: [{
|
254
254
|
type: Component,
|
255
|
-
args: [{ selector: 'ax-request-headers', standalone: false, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"ax-headers-container\">\n <div class=\"ax-headers-header\">\n <ax-text>Headers</ax-text>\n <ax-button look=\"blank\" class=\"ax-sm\" color=\"primary\"
|
255
|
+
args: [{ selector: 'ax-request-headers', standalone: false, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"ax-headers-container\">\n <div class=\"ax-headers-header\">\n <ax-text>Headers</ax-text>\n <ax-button look=\"blank\" class=\"ax-sm\" color=\"primary\" (onClick)=\"addHeadersHandler()\">\n <ax-icon icon=\"ax-icon ax-icon-plus\"></ax-icon>\n </ax-button>\n </div>\n\n <div class=\"ax-headers-value-container\">\n @for (item of headersArray(); track item.tempId) {\n <div class=\"ax-headers-value\">\n <ax-text-box [ngModel]=\"setInitialState(item, 'key')\" (onValueChanged)=\"headersKeyHandler($event, item.tempId)\" placeholder=\"key\"></ax-text-box>\n <ax-text-box [ngModel]=\"setInitialState(item, 'value')\" (onValueChanged)=\"headersValueHandler($event, item.tempId)\" placeholder=\"value\"></ax-text-box>\n <ax-button look=\"blank\" class=\"ax-md\" color=\"danger\" (onClick)=\"removeHeadersHandler(item.tempId)\">\n <ax-prefix>\n <ax-icon icon=\"ax-icon ax-icon-trash\"></ax-icon>\n </ax-prefix>\n </ax-button>\n </div>\n }\n </div>\n</div>\n", styles: ["ax-request-headers{padding-inline:.5rem;padding-top:1rem;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}ax-request-headers .ax-headers-container{width:100%}ax-request-headers .ax-headers-value-container{display:flex;flex-direction:column;gap:.5rem}ax-request-headers .ax-headers-value-container .ax-headers-value{display:flex;gap:.5rem;align-items:center}ax-request-headers .ax-headers-header{display:flex;align-items:center;justify-content:space-between;margin-block:.5rem}\n"] }]
|
256
256
|
}] });
|
257
257
|
|
258
258
|
class AXRestApiAuthComponent {
|
@@ -324,11 +324,11 @@ class AXRestApiGeneratorComponent {
|
|
324
324
|
this.service.outPutJSON.update((prev) => ({ ...prev, method: e.value }));
|
325
325
|
}
|
326
326
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXRestApiGeneratorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
327
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.0.3", type: AXRestApiGeneratorComponent, isStandalone: false, selector: "ax-rest-api-generator", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onValueChange: "onValueChange" }, providers: [AXRestApiGeneratorService], ngImport: i0, template: "<div class=\"ax-url-input-container\">\n <ax-text-box [(ngModel)]=\"service.outPutJSON().url\" placeholder=\"URL\" (onValueChanged)=\"urlHandler($event)\">\n <ax-clear-button></ax-clear-button>\n <ax-
|
327
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.0.3", type: AXRestApiGeneratorComponent, isStandalone: false, selector: "ax-rest-api-generator", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onValueChange: "onValueChange" }, providers: [AXRestApiGeneratorService], ngImport: i0, template: "<div class=\"ax-url-input-container\">\n <ax-text-box [(ngModel)]=\"service.outPutJSON().url\" placeholder=\"URL\" (onValueChanged)=\"urlHandler($event)\">\n <ax-clear-button></ax-clear-button>\n <ax-prefix>\n <ax-select-box\n [(ngModel)]=\"service.outPutJSON().method\"\n (onValueChanged)=\"methodHandler($event)\"\n [dataSource]=\"['GET', 'POST', 'DELETE', 'PUT', 'PATCH']\"\n >\n </ax-select-box\n ></ax-prefix>\n </ax-text-box>\n</div>\n\n<ax-tabs [content]=\"cronTab\" look=\"with-line\" [fitParent]=\"true\" location=\"bottom\">\n <ax-tab-item key=\"1\" text=\"Params\">\n <ax-content> <ax-query-params></ax-query-params> </ax-content>\n </ax-tab-item>\n <ax-tab-item key=\"2\" text=\"Body\">\n <ax-content><ax-request-body></ax-request-body></ax-content>\n </ax-tab-item>\n <ax-tab-item key=\"3\" text=\"Auth\">\n <ax-content> <ax-rest-api-auth></ax-rest-api-auth></ax-content>\n </ax-tab-item>\n <ax-tab-item key=\"4\" text=\"Headers\">\n <ax-content> <ax-request-headers></ax-request-headers></ax-content>\n </ax-tab-item>\n</ax-tabs>\n\n<ng-template [axTabContent] #cronTab=\"axTabContent\"> </ng-template>\n", styles: ["ax-rest-api-generator{min-width:40rem}ax-rest-api-generator ax-select-box ax-dropdown-box{--ax-comp-editor-border-width: 0px !important}ax-rest-api-generator ax-select-box ax-dropdown-box.ax-editor-container{--ax-comp-editor-box-outline-width: 0}ax-rest-api-generator .ax-select-box{border:0}ax-rest-api-generator .ax-url-input-container{margin-bottom:1rem}\n"], dependencies: [{ kind: "component", type: i1.AXTextBoxComponent, selector: "ax-text-box", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "id", "placeholder", "maxLength", "allowNull", "type", "autoComplete", "look", "mask-options", "class"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "component", type: i2.AXDecoratorClearButtonComponent, selector: "ax-clear-button", inputs: ["icon"] }, { kind: "component", type: i2.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "component", type: i3$1.AXSelectBoxComponent, selector: "ax-select-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "id", "type", "look", "multiple", "valueField", "textField", "textTemplate", "selectedItems", "dataSource", "minRecordsForSearch", "caption", "itemTemplate", "selectedTemplate", "emptyTemplate", "loadingTemplate", "dropdownWidth", "searchBoxAutoFocus"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onOpened", "onClosed"] }, { kind: "component", type: i4$1.AXTabsComponent, selector: "ax-tabs", inputs: ["look", "location", "fitParent", "minWidth", "content"], outputs: ["onActiveTabChanged"] }, { kind: "component", type: i4$1.AXTabItemComponent, selector: "ax-tab-item", inputs: ["disabled", "text", "key", "headerTemplate", "active"], outputs: ["disabledChange", "onClick", "onBlur", "onFocus", "activeChange"] }, { kind: "directive", type: i4$1.AXTabContentDirective, selector: "[axTabContent]", inputs: ["axTabContent"], exportAs: ["axTabContent"] }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: AXQueryParamsComponent, selector: "ax-query-params" }, { kind: "component", type: AXRequestBodyComponent, selector: "ax-request-body" }, { kind: "component", type: AXRestApiAuthComponent, selector: "ax-rest-api-auth" }, { kind: "component", type: AXRequestHeadersComponent, selector: "ax-request-headers" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
328
328
|
}
|
329
329
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXRestApiGeneratorComponent, decorators: [{
|
330
330
|
type: Component,
|
331
|
-
args: [{ selector: 'ax-rest-api-generator', standalone: false, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [AXRestApiGeneratorService], template: "<div class=\"ax-url-input-container\">\n <ax-text-box [(ngModel)]=\"service.outPutJSON().url\" placeholder=\"URL\" (onValueChanged)=\"urlHandler($event)\">\n <ax-clear-button></ax-clear-button>\n <ax-
|
331
|
+
args: [{ selector: 'ax-rest-api-generator', standalone: false, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [AXRestApiGeneratorService], template: "<div class=\"ax-url-input-container\">\n <ax-text-box [(ngModel)]=\"service.outPutJSON().url\" placeholder=\"URL\" (onValueChanged)=\"urlHandler($event)\">\n <ax-clear-button></ax-clear-button>\n <ax-prefix>\n <ax-select-box\n [(ngModel)]=\"service.outPutJSON().method\"\n (onValueChanged)=\"methodHandler($event)\"\n [dataSource]=\"['GET', 'POST', 'DELETE', 'PUT', 'PATCH']\"\n >\n </ax-select-box\n ></ax-prefix>\n </ax-text-box>\n</div>\n\n<ax-tabs [content]=\"cronTab\" look=\"with-line\" [fitParent]=\"true\" location=\"bottom\">\n <ax-tab-item key=\"1\" text=\"Params\">\n <ax-content> <ax-query-params></ax-query-params> </ax-content>\n </ax-tab-item>\n <ax-tab-item key=\"2\" text=\"Body\">\n <ax-content><ax-request-body></ax-request-body></ax-content>\n </ax-tab-item>\n <ax-tab-item key=\"3\" text=\"Auth\">\n <ax-content> <ax-rest-api-auth></ax-rest-api-auth></ax-content>\n </ax-tab-item>\n <ax-tab-item key=\"4\" text=\"Headers\">\n <ax-content> <ax-request-headers></ax-request-headers></ax-content>\n </ax-tab-item>\n</ax-tabs>\n\n<ng-template [axTabContent] #cronTab=\"axTabContent\"> </ng-template>\n", styles: ["ax-rest-api-generator{min-width:40rem}ax-rest-api-generator ax-select-box ax-dropdown-box{--ax-comp-editor-border-width: 0px !important}ax-rest-api-generator ax-select-box ax-dropdown-box.ax-editor-container{--ax-comp-editor-box-outline-width: 0}ax-rest-api-generator .ax-select-box{border:0}ax-rest-api-generator .ax-url-input-container{margin-bottom:1rem}\n"] }]
|
332
332
|
}] });
|
333
333
|
|
334
334
|
const COMPONENT = [AXRestApiGeneratorComponent, AXQueryParamsComponent, AXRequestBodyComponent, AXRestApiAuthComponent, AXRequestHeadersComponent];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"acorex-components-rest-api-generator.mjs","sources":["../../../../libs/components/rest-api-generator/src/lib/rest-api-generator.service.ts","../../../../libs/components/rest-api-generator/src/lib/query-params/query-params.component.ts","../../../../libs/components/rest-api-generator/src/lib/query-params/query-params.component.html","../../../../libs/components/rest-api-generator/src/lib/request-body/request-body.component.ts","../../../../libs/components/rest-api-generator/src/lib/request-body/request-body.component.html","../../../../libs/components/rest-api-generator/src/lib/request-headers/request-headers.component.ts","../../../../libs/components/rest-api-generator/src/lib/request-headers/request-headers.component.html","../../../../libs/components/rest-api-generator/src/lib/rest-api-auth/rest-api-auth.component.ts","../../../../libs/components/rest-api-generator/src/lib/rest-api-auth/rest-api-auth.component.html","../../../../libs/components/rest-api-generator/src/lib/rest-api-generator.component.ts","../../../../libs/components/rest-api-generator/src/lib/rest-api-generator.component.html","../../../../libs/components/rest-api-generator/src/lib/rest-api-generator.module.ts","../../../../libs/components/rest-api-generator/src/acorex-components-rest-api-generator.ts"],"sourcesContent":["import { Injectable, signal } from '@angular/core';\nimport { AXRestApiOutput } from './types';\n\n@Injectable()\nexport class AXRestApiGeneratorService {\n outPutJSON = signal<AXRestApiOutput>({\n url: '',\n method: 'GET',\n headers: {\n Authorization: '',\n ContentType: '',\n },\n queries: [{}],\n body: '',\n });\n}\n","import { AXValueChangedEvent } from '@acorex/components/common';\nimport { ChangeDetectionStrategy, Component, effect, inject, signal, ViewEncapsulation } from '@angular/core';\nimport { AXRestApiGeneratorService } from '../rest-api-generator.service';\nimport { Queries } from '../types';\n\n@Component({\n selector: 'ax-query-params',\n templateUrl: './query-params.component.html',\n styleUrls: ['./query-params.component.scss'],\n standalone: false,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AXQueryParamsComponent {\n protected service = inject(AXRestApiGeneratorService);\n\n protected queryParamsArray = signal<Queries[]>(this.service.outPutJSON().queries);\n\n protected addQueryParamsHandler() {\n this.queryParamsArray.update((prev) => [...prev, { tempId: String(Math.random()) }]);\n }\n\n protected removeQueryParamsHandler(id: string) {\n this.queryParamsArray.update((prev) => {\n const copy = [...prev];\n const filter = copy.filter((item) => item.tempId !== id);\n return filter;\n });\n }\n\n protected queryParamsValueHandler(e: AXValueChangedEvent<any>, id: string) {\n this.queryParamsArray.update((prev) => {\n const copy = [...prev];\n const find = copy.find((item) => item.tempId === id);\n Object.keys(find).forEach((key) => {\n if (key !== 'tempId') {\n find[key] = e.value;\n }\n });\n return copy;\n });\n }\n\n protected queryParamsKeyHandler(e: AXValueChangedEvent<any>, id: string) {\n this.queryParamsArray.update((prev) => {\n const copy = [...prev];\n const find = copy.find((item) => item.tempId === id);\n Object.keys(find).forEach((key) => {\n if (key !== 'tempId') {\n delete find[key];\n }\n });\n find[e.value] = '';\n return copy;\n });\n }\n\n #eff = effect(() => {\n this.service.outPutJSON.update((prev) => ({ ...prev, queries: this.queryParamsArray() }));\n });\n\n protected setInitialState(item: Queries, type: string) {\n for (const [key, value] of Object.entries(item)) {\n if (key !== 'tempId') {\n if (type === 'key') {\n return key;\n } else if (type === 'value') {\n return value;\n }\n }\n }\n return '';\n }\n}\n","<div class=\"ax-query-params-container\">\n <div class=\"ax-query-params-header\">\n <ax-text>Query Params</ax-text>\n <ax-button look=\"blank\" class=\"ax-sm\" color=\"primary\" text=\"add\" (onClick)=\"addQueryParamsHandler()\"></ax-button>\n </div>\n\n <div class=\"ax-query-params-value-container\">\n @for (item of queryParamsArray(); track item) {\n <div class=\"ax-query-params-value\">\n <ax-text-box (onValueChanged)=\"queryParamsKeyHandler($event, item.tempId)\" placeholder=\"key\" [ngModel]=\"setInitialState(item, 'key')\"></ax-text-box>\n <ax-text-box\n (onValueChanged)=\"queryParamsValueHandler($event, item.tempId)\"\n placeholder=\"value\"\n [ngModel]=\"setInitialState(item, 'value')\"\n ></ax-text-box>\n <ax-button look=\"blank\" class=\"ax-sm\" color=\"danger\" (onClick)=\"removeQueryParamsHandler(item.tempId)\">\n <ax-prefix>\n <ax-icon icon=\"fa-solid fa-trash-can\"></ax-icon>\n </ax-prefix>\n </ax-button>\n </div>\n }\n </div>\n</div>\n","import { AXValueChangedEvent } from '@acorex/components/common';\nimport { afterNextRender, ChangeDetectionStrategy, Component, inject, signal, ViewEncapsulation } from '@angular/core';\nimport { AXRestApiGeneratorService } from '../rest-api-generator.service';\n\n@Component({\n selector: 'ax-request-body',\n templateUrl: './request-body.component.html',\n styleUrls: ['./request-body.component.scss'],\n standalone: false,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AXRequestBodyComponent {\n protected service = inject(AXRestApiGeneratorService);\n\n protected value = signal(null);\n\n protected selectedItem = signal({ id: null, text: '', placeHolder: '' });\n\n #init = afterNextRender(() => {\n const type = this.service.outPutJSON().headers.ContentType;\n\n if (type) {\n switch (type) {\n case 'text/plain':\n this.value.set(1);\n break;\n case 'application/json':\n this.value.set(2);\n break;\n case 'multipart/form-data':\n this.value.set(3);\n break;\n case 'application/xml':\n this.value.set(4);\n break;\n }\n } else {\n this.value.set(2);\n }\n });\n\n protected items = [\n { id: 1, text: 'None', placeHolder: '' },\n { id: 2, text: 'Json', placeHolder: '{\"key\" : \"value\"}' },\n { id: 3, text: 'Form', placeHolder: 'key1=value1' },\n { id: 4, text: 'XML', placeHolder: '<data></data>' },\n ];\n\n protected bodyReqHandler(e: AXValueChangedEvent<any>) {\n const find = this.items.find((item) => item.id === e.value);\n this.selectedItem.set(find);\n }\n\n protected bodyTextHandler(e: AXValueChangedEvent<any>) {\n const type = this.selectedItem().text;\n let contentType: string;\n\n switch (type) {\n case 'None':\n contentType = 'text/plain';\n break;\n case 'Json':\n contentType = 'application/json';\n break;\n case 'Form':\n contentType = 'multipart/form-data';\n break;\n case 'XML':\n contentType = 'application/xml';\n break;\n }\n this.service.outPutJSON.update((prev) => ({ ...prev, body: e.value }));\n\n this.service.outPutJSON.update((prev) => {\n const copy = { ...prev };\n copy.headers.ContentType = contentType;\n return copy;\n });\n }\n}\n","<ax-selection-list [showControl]=\"true\" look=\"solid\" [items]=\"items\" [(ngModel)]=\"value\" (onValueChanged)=\"bodyReqHandler($event)\"> </ax-selection-list>\n<ax-text-area [(ngModel)]=\"service.outPutJSON().body\" (onValueChanged)=\"bodyTextHandler($event)\" [placeholder]=\"selectedItem().placeHolder\"> </ax-text-area>\n","import { AXValueChangedEvent } from '@acorex/components/common';\nimport { ChangeDetectionStrategy, Component, effect, inject, signal, ViewEncapsulation } from '@angular/core';\nimport { AXRestApiGeneratorService } from '../rest-api-generator.service';\nimport { HeadersDynamic } from '../types';\n\n@Component({\n selector: 'ax-request-headers',\n templateUrl: './request-headers.component.html',\n styleUrls: ['./request-headers.component.scss'],\n standalone: false,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AXRequestHeadersComponent {\n protected service = inject(AXRestApiGeneratorService);\n\n protected headersArray = signal<HeadersDynamic[]>(this.filterUnnecessaryKey());\n\n protected addHeadersHandler() {\n this.headersArray.update((prev) => [...prev, { tempId: String(Math.random()) }]);\n }\n\n protected removeHeadersHandler(id: string) {\n this.headersArray.update((prev) => {\n const copy = [...prev];\n const filter = copy.filter((item) => item.tempId !== id);\n return filter;\n });\n }\n\n protected headersValueHandler(e: AXValueChangedEvent<any>, id: string) {\n this.headersArray.update((prev) => {\n const copy = [...prev];\n const find = copy.find((item) => item.tempId === id);\n Object.keys(find).forEach((key) => {\n if (key !== 'tempId') {\n find[key] = e.value;\n }\n });\n return copy;\n });\n }\n\n protected headersKeyHandler(e: AXValueChangedEvent<any>, id: string) {\n this.headersArray.update((prev) => {\n const copy = [...prev];\n const find = copy.find((item) => item.tempId === id);\n Object.keys(find).forEach((key) => {\n if (key !== 'tempId') {\n delete find[key];\n }\n });\n find[e.value] = '';\n return copy;\n });\n }\n\n #eff = effect(() => {\n this.service.outPutJSON.update((prev) => {\n const copy = { ...prev };\n const copyHeader = { Authorization: copy.headers.Authorization, ContentType: copy.headers.ContentType };\n copy.headers = copyHeader;\n this.headersArray().forEach((item) => {\n Object.assign(copy.headers, item);\n });\n return copy;\n });\n });\n\n protected setInitialState(item: HeadersDynamic, type: string) {\n for (const [key, value] of Object.entries(item)) {\n if (key !== 'tempId') {\n if (type === 'key') {\n return key;\n } else if (type === 'value') {\n return value;\n }\n }\n }\n return '';\n }\n\n protected filterUnnecessaryKey() {\n const allHeaders = { ...this.service.outPutJSON().headers };\n\n Object.keys(allHeaders).forEach((key) => {\n if (key === 'Authorization' || key === 'ContentType') {\n delete allHeaders[key];\n }\n });\n\n return [allHeaders];\n }\n}\n","<div class=\"ax-headers-container\">\n <div class=\"ax-headers-header\">\n <ax-text>Headers</ax-text>\n <ax-button look=\"blank\" class=\"ax-sm\" color=\"primary\" text=\"add\" (onClick)=\"addHeadersHandler()\"></ax-button>\n </div>\n\n <div class=\"ax-headers-value-container\">\n @for (item of headersArray(); track item.tempId) {\n <div class=\"ax-headers-value\">\n <ax-text-box [ngModel]=\"setInitialState(item, 'key')\" (onValueChanged)=\"headersKeyHandler($event, item.tempId)\" placeholder=\"key\"></ax-text-box>\n <ax-text-box [ngModel]=\"setInitialState(item, 'value')\" (onValueChanged)=\"headersValueHandler($event, item.tempId)\" placeholder=\"value\"></ax-text-box>\n <ax-button look=\"blank\" class=\"ax-sm\" color=\"danger\" (onClick)=\"removeHeadersHandler(item.tempId)\">\n <ax-prefix>\n <ax-icon icon=\"fa-solid fa-trash-can\"></ax-icon>\n </ax-prefix>\n </ax-button>\n </div>\n }\n </div>\n</div>\n","import { AXValueChangedEvent } from '@acorex/components/common';\nimport { afterNextRender, ChangeDetectionStrategy, Component, inject, signal, ViewEncapsulation } from '@angular/core';\nimport { AXRestApiGeneratorService } from '../rest-api-generator.service';\n\n@Component({\n selector: 'ax-rest-api-auth',\n templateUrl: './rest-api-auth.component.html',\n styleUrls: ['./rest-api-auth.component.scss'],\n standalone: false,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AXRestApiAuthComponent {\n protected service = inject(AXRestApiGeneratorService);\n\n protected value = signal(null);\n\n #init = afterNextRender(() => {\n const token = this.service.outPutJSON().headers.Authorization;\n if (token) {\n this.value.set(2);\n } else {\n this.value.set(1);\n }\n });\n\n protected selectedItem = signal({ id: null, text: '', placeHolder: '' });\n\n protected items = [\n { id: 1, text: 'None', placeHolder: '' },\n { id: 2, text: 'Bearer Token', placeHolder: 'Token' },\n ];\n\n protected authTypeHandler(e: AXValueChangedEvent<any>) {\n const find = this.items.find((item) => item.id === e.value);\n this.selectedItem.set(find);\n\n if (e.value === 1) {\n this.service.outPutJSON.update((prev) => {\n const copy = { ...prev };\n copy.headers.Authorization = '';\n return copy;\n });\n }\n }\n\n protected authInputHandler(e: AXValueChangedEvent<any>) {\n this.service.outPutJSON.update((prev) => {\n const copy = { ...prev };\n copy.headers.Authorization = e.value;\n return copy;\n });\n }\n}\n","<ax-selection-list [showControl]=\"true\" look=\"solid\" [items]=\"items\" [(ngModel)]=\"value\" (onValueChanged)=\"authTypeHandler($event)\"> </ax-selection-list>\n\n@if (selectedItem().text !== 'None') {\n <ax-text-box [(ngModel)]=\"service.outPutJSON().headers.Authorization\" (onValueChanged)=\"authInputHandler($event)\" [placeholder]=\"selectedItem().placeHolder\">\n </ax-text-box>\n}\n","import { AXValueChangedEvent } from '@acorex/components/common';\nimport { afterNextRender, ChangeDetectionStrategy, Component, effect, inject, input, output, ViewEncapsulation } from '@angular/core';\nimport { AXRestApiGeneratorService } from './rest-api-generator.service';\nimport { AXRestApiOutput } from './types';\n\n@Component({\n selector: 'ax-rest-api-generator',\n templateUrl: './rest-api-generator.component.html',\n styleUrls: ['./rest-api-generator.component.scss'],\n standalone: false,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [AXRestApiGeneratorService],\n})\nexport class AXRestApiGeneratorComponent {\n value = input<AXRestApiOutput>();\n\n onValueChange = output<AXRestApiOutput>();\n\n protected service = inject(AXRestApiGeneratorService);\n\n #init = afterNextRender(() => {\n if (this.value()) {\n this.service.outPutJSON.set(this.value());\n }\n });\n\n #eff = effect(() => {\n this.onValueChange.emit(this.service.outPutJSON());\n });\n\n protected urlHandler(e: AXValueChangedEvent<any>) {\n this.service.outPutJSON.update((prev) => ({ ...prev, url: e.value }));\n }\n\n protected methodHandler(e: AXValueChangedEvent<any>) {\n this.service.outPutJSON.update((prev) => ({ ...prev, method: e.value }));\n }\n}\n","<div class=\"ax-url-input-container\">\n <ax-text-box [(ngModel)]=\"service.outPutJSON().url\" placeholder=\"URL\" (onValueChanged)=\"urlHandler($event)\">\n <ax-clear-button></ax-clear-button>\n <ax-suffix>\n <ax-select-box\n [(ngModel)]=\"service.outPutJSON().method\"\n (onValueChanged)=\"methodHandler($event)\"\n [dataSource]=\"['GET', 'POST', 'DELETE', 'PUT', 'PATCH']\"\n >\n </ax-select-box\n ></ax-suffix>\n </ax-text-box>\n</div>\n\n<ax-tabs [content]=\"cronTab\" look=\"with-line\" [fitParent]=\"true\" location=\"bottom\">\n <ax-tab-item key=\"1\" text=\"Params\">\n <ax-content> <ax-query-params></ax-query-params> </ax-content>\n </ax-tab-item>\n <ax-tab-item key=\"2\" text=\"Body\">\n <ax-content><ax-request-body></ax-request-body></ax-content>\n </ax-tab-item>\n <ax-tab-item key=\"3\" text=\"Auth\">\n <ax-content> <ax-rest-api-auth></ax-rest-api-auth></ax-content>\n </ax-tab-item>\n <ax-tab-item key=\"4\" text=\"Headers\">\n <ax-content> <ax-request-headers></ax-request-headers></ax-content>\n </ax-tab-item>\n</ax-tabs>\n\n<ng-template [axTabContent] #cronTab=\"axTabContent\"> </ng-template>\n","import { AXButtonModule } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXSelectBoxModule } from '@acorex/components/select-box';\nimport { AXSelectionListModule } from '@acorex/components/selection-list';\nimport { AXTabsModule } from '@acorex/components/tabs';\nimport { AXTextAreaModule } from '@acorex/components/text-area';\nimport { AXTextBoxModule } from '@acorex/components/text-box';\nimport { NgModule } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { AXQueryParamsComponent } from './query-params/query-params.component';\nimport { AXRequestBodyComponent } from './request-body/request-body.component';\nimport { AXRequestHeadersComponent } from './request-headers/request-headers.component';\nimport { AXRestApiAuthComponent } from './rest-api-auth/rest-api-auth.component';\nimport { AXRestApiGeneratorComponent } from './rest-api-generator.component';\n\nconst COMPONENT = [AXRestApiGeneratorComponent, AXQueryParamsComponent, AXRequestBodyComponent, AXRestApiAuthComponent, AXRequestHeadersComponent];\n\nconst MODULES = [AXTextBoxModule, AXDecoratorModule, AXSelectBoxModule, AXTabsModule, AXButtonModule, AXTextAreaModule, AXSelectionListModule, FormsModule];\n\n@NgModule({\n declarations: [...COMPONENT],\n imports: [...MODULES],\n exports: [...COMPONENT],\n providers: [],\n})\nexport class AXRestApiGeneratorModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1","i2","i3","i4","i5","i6.AXQueryParamsComponent","i7.AXRequestBodyComponent","i8.AXRestApiAuthComponent","i9.AXRequestHeadersComponent"],"mappings":";;;;;;;;;;;;;;;;;;;MAIa,yBAAyB,CAAA;AADtC,IAAA,WAAA,GAAA;QAEE,IAAU,CAAA,UAAA,GAAG,MAAM,CAAkB;AACnC,YAAA,GAAG,EAAE,EAAE;AACP,YAAA,MAAM,EAAE,KAAK;AACb,YAAA,OAAO,EAAE;AACP,gBAAA,aAAa,EAAE,EAAE;AACjB,gBAAA,WAAW,EAAE,EAAE;AAChB,aAAA;YACD,OAAO,EAAE,CAAC,EAAE,CAAC;AACb,YAAA,IAAI,EAAE,EAAE;AACT,SAAA,CAAC;AACH;8GAXY,yBAAyB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;kHAAzB,yBAAyB,EAAA,CAAA,CAAA;;2FAAzB,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBADrC;;;MCUY,sBAAsB,CAAA;AARnC,IAAA,WAAA,GAAA;AASY,QAAA,IAAA,CAAA,OAAO,GAAG,MA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A,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAxB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,wBAAwB,EAVlB,YAAA,EAAA,CAAA,2BAA2B,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,yBAAyB,CAEhI,EAAA,OAAA,EAAA,CAAA,eAAe,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,YAAY,EAAE,cAAc,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,WAAW,CAAA,EAAA,OAAA,EAAA,CAFvI,2BAA2B,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,yBAAyB,CAAA,EAAA,CAAA,CAAA;AAUpI,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,wBAAwB,YAJtB,OAAO,CAAA,EAAA,CAAA,CAAA;;2FAIT,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBANpC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,CAAC,GAAG,SAAS,CAAC;AAC5B,oBAAA,OAAO,EAAE,CAAC,GAAG,OAAO,CAAC;AACrB,oBAAA,OAAO,EAAE,CAAC,GAAG,SAAS,CAAC;AACvB,oBAAA,SAAS,EAAE,EAAE;AACd,iBAAA;;;ACxBD;;AAEG;;;;"}
|
1
|
+
{"version":3,"file":"acorex-components-rest-api-generator.mjs","sources":["../../../../libs/components/rest-api-generator/src/lib/rest-api-generator.service.ts","../../../../libs/components/rest-api-generator/src/lib/query-params/query-params.component.ts","../../../../libs/components/rest-api-generator/src/lib/query-params/query-params.component.html","../../../../libs/components/rest-api-generator/src/lib/request-body/request-body.component.ts","../../../../libs/components/rest-api-generator/src/lib/request-body/request-body.component.html","../../../../libs/components/rest-api-generator/src/lib/request-headers/request-headers.component.ts","../../../../libs/components/rest-api-generator/src/lib/request-headers/request-headers.component.html","../../../../libs/components/rest-api-generator/src/lib/rest-api-auth/rest-api-auth.component.ts","../../../../libs/components/rest-api-generator/src/lib/rest-api-auth/rest-api-auth.component.html","../../../../libs/components/rest-api-generator/src/lib/rest-api-generator.component.ts","../../../../libs/components/rest-api-generator/src/lib/rest-api-generator.component.html","../../../../libs/components/rest-api-generator/src/lib/rest-api-generator.module.ts","../../../../libs/components/rest-api-generator/src/acorex-components-rest-api-generator.ts"],"sourcesContent":["import { Injectable, signal } from '@angular/core';\nimport { AXRestApiOutput } from './types';\n\n@Injectable()\nexport class AXRestApiGeneratorService {\n outPutJSON = signal<AXRestApiOutput>({\n url: '',\n method: 'GET',\n headers: {\n Authorization: '',\n ContentType: '',\n },\n queries: [{}],\n body: '',\n });\n}\n","import { AXValueChangedEvent } from '@acorex/components/common';\nimport { ChangeDetectionStrategy, Component, effect, inject, signal, ViewEncapsulation } from '@angular/core';\nimport { AXRestApiGeneratorService } from '../rest-api-generator.service';\nimport { Queries } from '../types';\n\n@Component({\n selector: 'ax-query-params',\n templateUrl: './query-params.component.html',\n styleUrls: ['./query-params.component.scss'],\n standalone: false,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AXQueryParamsComponent {\n protected service = inject(AXRestApiGeneratorService);\n\n protected queryParamsArray = signal<Queries[]>(this.service.outPutJSON().queries);\n\n protected addQueryParamsHandler() {\n this.queryParamsArray.update((prev) => [...prev, { tempId: String(Math.random()) }]);\n }\n\n protected removeQueryParamsHandler(id: string) {\n this.queryParamsArray.update((prev) => {\n const copy = [...prev];\n const filter = copy.filter((item) => item.tempId !== id);\n return filter;\n });\n }\n\n protected queryParamsValueHandler(e: AXValueChangedEvent<any>, id: string) {\n this.queryParamsArray.update((prev) => {\n const copy = [...prev];\n const find = copy.find((item) => item.tempId === id);\n Object.keys(find).forEach((key) => {\n if (key !== 'tempId') {\n find[key] = e.value;\n }\n });\n return copy;\n });\n }\n\n protected queryParamsKeyHandler(e: AXValueChangedEvent<any>, id: string) {\n this.queryParamsArray.update((prev) => {\n const copy = [...prev];\n const find = copy.find((item) => item.tempId === id);\n Object.keys(find).forEach((key) => {\n if (key !== 'tempId') {\n delete find[key];\n }\n });\n find[e.value] = '';\n return copy;\n });\n }\n\n #eff = effect(() => {\n this.service.outPutJSON.update((prev) => ({ ...prev, queries: this.queryParamsArray() }));\n });\n\n protected setInitialState(item: Queries, type: string) {\n for (const [key, value] of Object.entries(item)) {\n if (key !== 'tempId') {\n if (type === 'key') {\n return key;\n } else if (type === 'value') {\n return value;\n }\n }\n }\n return '';\n }\n}\n","<div class=\"ax-query-params-container\">\n <div class=\"ax-query-params-header\">\n <ax-text>Query Params</ax-text>\n <ax-button look=\"blank\" class=\"ax-sm\" color=\"primary\" (onClick)=\"addQueryParamsHandler()\">\n <ax-icon icon=\"ax-icon ax-icon-plus\"></ax-icon>\n </ax-button>\n </div>\n\n <div class=\"ax-query-params-value-container\">\n @for (item of queryParamsArray(); track item) {\n <div class=\"ax-query-params-value\">\n <ax-text-box (onValueChanged)=\"queryParamsKeyHandler($event, item.tempId)\" placeholder=\"key\" [ngModel]=\"setInitialState(item, 'key')\"></ax-text-box>\n <ax-text-box\n (onValueChanged)=\"queryParamsValueHandler($event, item.tempId)\"\n placeholder=\"value\"\n [ngModel]=\"setInitialState(item, 'value')\"\n ></ax-text-box>\n <ax-button look=\"blank\" class=\"ax-md\" color=\"danger\" (onClick)=\"removeQueryParamsHandler(item.tempId)\">\n <ax-prefix>\n <ax-icon icon=\"ax-icon ax-icon-trash\"></ax-icon>\n </ax-prefix>\n </ax-button>\n </div>\n }\n </div>\n</div>\n","import { AXValueChangedEvent } from '@acorex/components/common';\nimport { afterNextRender, ChangeDetectionStrategy, Component, inject, signal, ViewEncapsulation } from '@angular/core';\nimport { AXRestApiGeneratorService } from '../rest-api-generator.service';\n\n@Component({\n selector: 'ax-request-body',\n templateUrl: './request-body.component.html',\n styleUrls: ['./request-body.component.scss'],\n standalone: false,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AXRequestBodyComponent {\n protected service = inject(AXRestApiGeneratorService);\n\n protected value = signal(null);\n\n protected selectedItem = signal({ id: null, text: '', placeHolder: '' });\n\n #init = afterNextRender(() => {\n const type = this.service.outPutJSON().headers.ContentType;\n\n if (type) {\n switch (type) {\n case 'text/plain':\n this.value.set(1);\n break;\n case 'application/json':\n this.value.set(2);\n break;\n case 'multipart/form-data':\n this.value.set(3);\n break;\n case 'application/xml':\n this.value.set(4);\n break;\n }\n } else {\n this.value.set(2);\n }\n });\n\n protected items = [\n { id: 1, text: 'None', placeHolder: '' },\n { id: 2, text: 'Json', placeHolder: '{\"key\" : \"value\"}' },\n { id: 3, text: 'Form', placeHolder: 'key1=value1' },\n { id: 4, text: 'XML', placeHolder: '<data></data>' },\n ];\n\n protected bodyReqHandler(e: AXValueChangedEvent<any>) {\n const find = this.items.find((item) => item.id === e.value);\n this.selectedItem.set(find);\n }\n\n protected bodyTextHandler(e: AXValueChangedEvent<any>) {\n const type = this.selectedItem().text;\n let contentType: string;\n\n switch (type) {\n case 'None':\n contentType = 'text/plain';\n break;\n case 'Json':\n contentType = 'application/json';\n break;\n case 'Form':\n contentType = 'multipart/form-data';\n break;\n case 'XML':\n contentType = 'application/xml';\n break;\n }\n this.service.outPutJSON.update((prev) => ({ ...prev, body: e.value }));\n\n this.service.outPutJSON.update((prev) => {\n const copy = { ...prev };\n copy.headers.ContentType = contentType;\n return copy;\n });\n }\n}\n","<ax-selection-list [showControl]=\"true\" look=\"solid\" [items]=\"items\" [(ngModel)]=\"value\" (onValueChanged)=\"bodyReqHandler($event)\"> </ax-selection-list>\n<ax-text-area [(ngModel)]=\"service.outPutJSON().body\" (onValueChanged)=\"bodyTextHandler($event)\" [placeholder]=\"selectedItem().placeHolder\"> </ax-text-area>\n","import { AXValueChangedEvent } from '@acorex/components/common';\nimport { ChangeDetectionStrategy, Component, effect, inject, signal, ViewEncapsulation } from '@angular/core';\nimport { AXRestApiGeneratorService } from '../rest-api-generator.service';\nimport { HeadersDynamic } from '../types';\n\n@Component({\n selector: 'ax-request-headers',\n templateUrl: './request-headers.component.html',\n styleUrls: ['./request-headers.component.scss'],\n standalone: false,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AXRequestHeadersComponent {\n protected service = inject(AXRestApiGeneratorService);\n\n protected headersArray = signal<HeadersDynamic[]>(this.filterUnnecessaryKey());\n\n protected addHeadersHandler() {\n this.headersArray.update((prev) => [...prev, { tempId: String(Math.random()) }]);\n }\n\n protected removeHeadersHandler(id: string) {\n this.headersArray.update((prev) => {\n const copy = [...prev];\n const filter = copy.filter((item) => item.tempId !== id);\n return filter;\n });\n }\n\n protected headersValueHandler(e: AXValueChangedEvent<any>, id: string) {\n this.headersArray.update((prev) => {\n const copy = [...prev];\n const find = copy.find((item) => item.tempId === id);\n Object.keys(find).forEach((key) => {\n if (key !== 'tempId') {\n find[key] = e.value;\n }\n });\n return copy;\n });\n }\n\n protected headersKeyHandler(e: AXValueChangedEvent<any>, id: string) {\n this.headersArray.update((prev) => {\n const copy = [...prev];\n const find = copy.find((item) => item.tempId === id);\n Object.keys(find).forEach((key) => {\n if (key !== 'tempId') {\n delete find[key];\n }\n });\n find[e.value] = '';\n return copy;\n });\n }\n\n #eff = effect(() => {\n this.service.outPutJSON.update((prev) => {\n const copy = { ...prev };\n const copyHeader = { Authorization: copy.headers.Authorization, ContentType: copy.headers.ContentType };\n copy.headers = copyHeader;\n this.headersArray().forEach((item) => {\n Object.assign(copy.headers, item);\n });\n return copy;\n });\n });\n\n protected setInitialState(item: HeadersDynamic, type: string) {\n for (const [key, value] of Object.entries(item)) {\n if (key !== 'tempId') {\n if (type === 'key') {\n return key;\n } else if (type === 'value') {\n return value;\n }\n }\n }\n return '';\n }\n\n protected filterUnnecessaryKey() {\n const allHeaders = { ...this.service.outPutJSON().headers };\n\n Object.keys(allHeaders).forEach((key) => {\n if (key === 'Authorization' || key === 'ContentType') {\n delete allHeaders[key];\n }\n });\n\n return [allHeaders];\n }\n}\n","<div class=\"ax-headers-container\">\n <div class=\"ax-headers-header\">\n <ax-text>Headers</ax-text>\n <ax-button look=\"blank\" class=\"ax-sm\" color=\"primary\" (onClick)=\"addHeadersHandler()\">\n <ax-icon icon=\"ax-icon ax-icon-plus\"></ax-icon>\n </ax-button>\n </div>\n\n <div class=\"ax-headers-value-container\">\n @for (item of headersArray(); track item.tempId) {\n <div class=\"ax-headers-value\">\n <ax-text-box [ngModel]=\"setInitialState(item, 'key')\" (onValueChanged)=\"headersKeyHandler($event, item.tempId)\" placeholder=\"key\"></ax-text-box>\n <ax-text-box [ngModel]=\"setInitialState(item, 'value')\" (onValueChanged)=\"headersValueHandler($event, item.tempId)\" placeholder=\"value\"></ax-text-box>\n <ax-button look=\"blank\" class=\"ax-md\" color=\"danger\" (onClick)=\"removeHeadersHandler(item.tempId)\">\n <ax-prefix>\n <ax-icon icon=\"ax-icon ax-icon-trash\"></ax-icon>\n </ax-prefix>\n </ax-button>\n </div>\n }\n </div>\n</div>\n","import { AXValueChangedEvent } from '@acorex/components/common';\nimport { afterNextRender, ChangeDetectionStrategy, Component, inject, signal, ViewEncapsulation } from '@angular/core';\nimport { AXRestApiGeneratorService } from '../rest-api-generator.service';\n\n@Component({\n selector: 'ax-rest-api-auth',\n templateUrl: './rest-api-auth.component.html',\n styleUrls: ['./rest-api-auth.component.scss'],\n standalone: false,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AXRestApiAuthComponent {\n protected service = inject(AXRestApiGeneratorService);\n\n protected value = signal(null);\n\n #init = afterNextRender(() => {\n const token = this.service.outPutJSON().headers.Authorization;\n if (token) {\n this.value.set(2);\n } else {\n this.value.set(1);\n }\n });\n\n protected selectedItem = signal({ id: null, text: '', placeHolder: '' });\n\n protected items = [\n { id: 1, text: 'None', placeHolder: '' },\n { id: 2, text: 'Bearer Token', placeHolder: 'Token' },\n ];\n\n protected authTypeHandler(e: AXValueChangedEvent<any>) {\n const find = this.items.find((item) => item.id === e.value);\n this.selectedItem.set(find);\n\n if (e.value === 1) {\n this.service.outPutJSON.update((prev) => {\n const copy = { ...prev };\n copy.headers.Authorization = '';\n return copy;\n });\n }\n }\n\n protected authInputHandler(e: AXValueChangedEvent<any>) {\n this.service.outPutJSON.update((prev) => {\n const copy = { ...prev };\n copy.headers.Authorization = e.value;\n return copy;\n });\n }\n}\n","<ax-selection-list [showControl]=\"true\" look=\"solid\" [items]=\"items\" [(ngModel)]=\"value\" (onValueChanged)=\"authTypeHandler($event)\"> </ax-selection-list>\n\n@if (selectedItem().text !== 'None') {\n <ax-text-box [(ngModel)]=\"service.outPutJSON().headers.Authorization\" (onValueChanged)=\"authInputHandler($event)\" [placeholder]=\"selectedItem().placeHolder\">\n </ax-text-box>\n}\n","import { AXValueChangedEvent } from '@acorex/components/common';\nimport { afterNextRender, ChangeDetectionStrategy, Component, effect, inject, input, output, ViewEncapsulation } from '@angular/core';\nimport { AXRestApiGeneratorService } from './rest-api-generator.service';\nimport { AXRestApiOutput } from './types';\n\n@Component({\n selector: 'ax-rest-api-generator',\n templateUrl: './rest-api-generator.component.html',\n styleUrls: ['./rest-api-generator.component.scss'],\n standalone: false,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [AXRestApiGeneratorService],\n})\nexport class AXRestApiGeneratorComponent {\n value = input<AXRestApiOutput>();\n\n onValueChange = output<AXRestApiOutput>();\n\n protected service = inject(AXRestApiGeneratorService);\n\n #init = afterNextRender(() => {\n if (this.value()) {\n this.service.outPutJSON.set(this.value());\n }\n });\n\n #eff = effect(() => {\n this.onValueChange.emit(this.service.outPutJSON());\n });\n\n protected urlHandler(e: AXValueChangedEvent<any>) {\n this.service.outPutJSON.update((prev) => ({ ...prev, url: e.value }));\n }\n\n protected methodHandler(e: AXValueChangedEvent<any>) {\n this.service.outPutJSON.update((prev) => ({ ...prev, method: e.value }));\n }\n}\n","<div class=\"ax-url-input-container\">\n <ax-text-box [(ngModel)]=\"service.outPutJSON().url\" placeholder=\"URL\" (onValueChanged)=\"urlHandler($event)\">\n <ax-clear-button></ax-clear-button>\n <ax-prefix>\n <ax-select-box\n [(ngModel)]=\"service.outPutJSON().method\"\n (onValueChanged)=\"methodHandler($event)\"\n [dataSource]=\"['GET', 'POST', 'DELETE', 'PUT', 'PATCH']\"\n >\n </ax-select-box\n ></ax-prefix>\n </ax-text-box>\n</div>\n\n<ax-tabs [content]=\"cronTab\" look=\"with-line\" [fitParent]=\"true\" location=\"bottom\">\n <ax-tab-item key=\"1\" text=\"Params\">\n <ax-content> <ax-query-params></ax-query-params> </ax-content>\n </ax-tab-item>\n <ax-tab-item key=\"2\" text=\"Body\">\n <ax-content><ax-request-body></ax-request-body></ax-content>\n </ax-tab-item>\n <ax-tab-item key=\"3\" text=\"Auth\">\n <ax-content> <ax-rest-api-auth></ax-rest-api-auth></ax-content>\n </ax-tab-item>\n <ax-tab-item key=\"4\" text=\"Headers\">\n <ax-content> <ax-request-headers></ax-request-headers></ax-content>\n </ax-tab-item>\n</ax-tabs>\n\n<ng-template [axTabContent] #cronTab=\"axTabContent\"> </ng-template>\n","import { AXButtonModule } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXSelectBoxModule } from '@acorex/components/select-box';\nimport { AXSelectionListModule } from '@acorex/components/selection-list';\nimport { AXTabsModule } from '@acorex/components/tabs';\nimport { AXTextAreaModule } from '@acorex/components/text-area';\nimport { AXTextBoxModule } from '@acorex/components/text-box';\nimport { NgModule } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { AXQueryParamsComponent } from './query-params/query-params.component';\nimport { AXRequestBodyComponent } from './request-body/request-body.component';\nimport { AXRequestHeadersComponent } from './request-headers/request-headers.component';\nimport { AXRestApiAuthComponent } from './rest-api-auth/rest-api-auth.component';\nimport { AXRestApiGeneratorComponent } from './rest-api-generator.component';\n\nconst COMPONENT = [AXRestApiGeneratorComponent, AXQueryParamsComponent, AXRequestBodyComponent, AXRestApiAuthComponent, AXRequestHeadersComponent];\n\nconst MODULES = [AXTextBoxModule, AXDecoratorModule, AXSelectBoxModule, AXTabsModule, AXButtonModule, AXTextAreaModule, AXSelectionListModule, FormsModule];\n\n@NgModule({\n declarations: [...COMPONENT],\n imports: [...MODULES],\n exports: [...COMPONENT],\n providers: [],\n})\nexport class AXRestApiGeneratorModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1","i2","i3","i4","i5","i6.AXQueryParamsComponent","i7.AXRequestBodyComponent","i8.AXRestApiAuthComponent","i9.AXRequestHeadersComponent"],"mappings":";;;;;;;;;;;;;;;;;;;MAIa,yBAAyB,CAAA;AADtC,IAAA,WAAA,GAAA;QAEE,IAAU,CAAA,UAAA,GAAG,MAAM,CAAkB;AACnC,YAAA,GAAG,EAAE,EAAE;AACP,YAAA,MAAM,EAAE,KAAK;AACb,YAAA,OAAO,EAAE;AACP,gBAAA,aAAa,EAAE,EAAE;AACjB,gBAAA,WAAW,EAAE,EAAE;AAChB,aAAA;YACD,OAAO,EAAE,CAAC,EAAE,CAAC;AACb,YAAA,IAAI,EAAE,EAAE;AACT,SAAA,CAAC;AACH;8GAXY,yBAAyB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;kHAAzB,yBAAyB,EAAA,CAAA,CAAA;;2FAAzB,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBADrC;;;MCUY,sBAAsB,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DropdownBoxBaseComponent, MXSelecti
|
|
37
37
|
/** @ignore */
|
38
38
|
this.isLoading = signal(false);
|
39
39
|
/** @ignore */
|
40
|
+
this.searchValue = signal('');
|
41
|
+
/** @ignore */
|
40
42
|
this.renderList = false;
|
41
43
|
/** @ignore */
|
42
44
|
this.dropdownSizes = {
|
@@ -85,7 +87,7 @@ class AXSelectBoxComponent extends classes(MXDropdownBoxBaseComponent, MXSelecti
|
|
85
87
|
}
|
86
88
|
//
|
87
89
|
//
|
88
|
-
this._listDataSource.onChanged.
|
90
|
+
this.onChangedSubscription = this._listDataSource.onChanged.subscribe((data) => {
|
89
91
|
this.setDropdownSize(data.totalCount);
|
90
92
|
});
|
91
93
|
this._listDataSource.onLoadingChanged.pipe(this._unsubscriber.takeUntilDestroy).subscribe((loading) => {
|
@@ -105,6 +107,7 @@ class AXSelectBoxComponent extends classes(MXDropdownBoxBaseComponent, MXSelecti
|
|
105
107
|
/** @ignore */
|
106
108
|
ngOnDestroy() {
|
107
109
|
this.searchBox?.onKeyDown.unsubscribe();
|
110
|
+
this.onChangedSubscription.unsubscribe();
|
108
111
|
}
|
109
112
|
/**
|
110
113
|
* Retrieves an item by its key.
|
@@ -127,8 +130,13 @@ class AXSelectBoxComponent extends classes(MXDropdownBoxBaseComponent, MXSelecti
|
|
127
130
|
}
|
128
131
|
/** @ignore */
|
129
132
|
_handleOnOpenedEvent(e) {
|
130
|
-
this.renderList
|
131
|
-
|
133
|
+
if (!this.renderList) {
|
134
|
+
this.renderList = true;
|
135
|
+
this.list?.render();
|
136
|
+
}
|
137
|
+
else if (!this._listDataSource.totalCount || this._listDataSource.totalCount == 0) {
|
138
|
+
this.list?.refresh(false);
|
139
|
+
}
|
132
140
|
this._handleFocus();
|
133
141
|
//
|
134
142
|
this.onOpened.emit({
|
@@ -180,16 +188,13 @@ class AXSelectBoxComponent extends classes(MXDropdownBoxBaseComponent, MXSelecti
|
|
180
188
|
/** @ignore */
|
181
189
|
_handleValueChanged(e) {
|
182
190
|
if (e.isUserInteraction) {
|
191
|
+
if (!this.multiple) {
|
192
|
+
this.close();
|
193
|
+
}
|
183
194
|
this.commitValue(e.component.selectedItems, true);
|
184
195
|
}
|
185
196
|
}
|
186
197
|
/** @ignore */
|
187
|
-
_handleOnItemClick(e) {
|
188
|
-
if (!this.multiple) {
|
189
|
-
this.close();
|
190
|
-
}
|
191
|
-
}
|
192
|
-
/** @ignore */
|
193
198
|
setDropdownSize(count = 0) {
|
194
199
|
if (this.dropdown.isActionsheetStyle) {
|
195
200
|
this.dropdownSizes = {
|
@@ -257,6 +262,7 @@ class AXSelectBoxComponent extends classes(MXDropdownBoxBaseComponent, MXSelecti
|
|
257
262
|
* @param {string} term
|
258
263
|
*/
|
259
264
|
search(term) {
|
265
|
+
this.searchValue.set(term);
|
260
266
|
if (term) {
|
261
267
|
this._listDataSource.filter({
|
262
268
|
field: this.textField,
|
@@ -279,7 +285,7 @@ class AXSelectBoxComponent extends classes(MXDropdownBoxBaseComponent, MXSelecti
|
|
279
285
|
this.close();
|
280
286
|
}
|
281
287
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXSelectBoxComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
282
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.3", type: AXSelectBoxComponent, isStandalone: false, selector: "ax-select-box", inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: false, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: false, isRequired: false, transformFunction: null }, tabIndex: { classPropertyName: "tabIndex", publicName: "tabIndex", isSignal: false, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: false, isRequired: false, transformFunction: null }, minValue: { classPropertyName: "minValue", publicName: "minValue", isSignal: false, isRequired: false, transformFunction: null }, maxValue: { classPropertyName: "maxValue", publicName: "maxValue", isSignal: false, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: false, isRequired: false, transformFunction: null }, state: { classPropertyName: "state", publicName: "state", isSignal: false, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: false, isRequired: false, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: false, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: false, isRequired: false, transformFunction: null }, look: { classPropertyName: "look", publicName: "look", isSignal: false, isRequired: false, transformFunction: null }, multiple: { classPropertyName: "multiple", publicName: "multiple", isSignal: false, isRequired: false, transformFunction: null }, valueField: { classPropertyName: "valueField", publicName: "valueField", isSignal: false, isRequired: false, transformFunction: null }, textField: { classPropertyName: "textField", publicName: "textField", isSignal: false, isRequired: false, transformFunction: null }, textTemplate: { classPropertyName: "textTemplate", publicName: "textTemplate", isSignal: false, isRequired: false, transformFunction: null }, selectedItems: { classPropertyName: "selectedItems", publicName: "selectedItems", isSignal: false, isRequired: false, transformFunction: null }, dataSource: { classPropertyName: "dataSource", publicName: "dataSource", isSignal: false, isRequired: false, transformFunction: null }, caption: { classPropertyName: "caption", publicName: "caption", isSignal: false, isRequired: false, transformFunction: null }, itemTemplate: { classPropertyName: "itemTemplate", publicName: "itemTemplate", isSignal: false, isRequired: false, transformFunction: null }, selectedTemplate: { classPropertyName: "selectedTemplate", publicName: "selectedTemplate", isSignal: false, isRequired: false, transformFunction: null }, emptyTemplate: { classPropertyName: "emptyTemplate", publicName: "emptyTemplate", isSignal: false, isRequired: false, transformFunction: null }, loadingTemplate: { classPropertyName: "loadingTemplate", publicName: "loadingTemplate", isSignal: false, isRequired: false, transformFunction: null }, dropdownWidth: { classPropertyName: "dropdownWidth", publicName: "dropdownWidth", isSignal: false, isRequired: false, transformFunction: null }, searchBoxAutoFocus: { classPropertyName: "searchBoxAutoFocus", publicName: "searchBoxAutoFocus", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { valueChange: "valueChange", stateChange: "stateChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus", readonlyChange: "readonlyChange", disabledChange: "disabledChange", onOpened: "onOpened", onClosed: "onClosed" }, host: { attributes: { "ngSkipHydration": "true" }, listeners: { "keydown": "_handleKeydown($event)" } }, providers: [
|
288
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.3", type: AXSelectBoxComponent, isStandalone: false, selector: "ax-select-box", inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: false, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: false, isRequired: false, transformFunction: null }, tabIndex: { classPropertyName: "tabIndex", publicName: "tabIndex", isSignal: false, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: false, isRequired: false, transformFunction: null }, minValue: { classPropertyName: "minValue", publicName: "minValue", isSignal: false, isRequired: false, transformFunction: null }, maxValue: { classPropertyName: "maxValue", publicName: "maxValue", isSignal: false, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: false, isRequired: false, transformFunction: null }, state: { classPropertyName: "state", publicName: "state", isSignal: false, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: false, isRequired: false, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: false, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: false, isRequired: false, transformFunction: null }, look: { classPropertyName: "look", publicName: "look", isSignal: false, isRequired: false, transformFunction: null }, multiple: { classPropertyName: "multiple", publicName: "multiple", isSignal: false, isRequired: false, transformFunction: null }, valueField: { classPropertyName: "valueField", publicName: "valueField", isSignal: false, isRequired: false, transformFunction: null }, textField: { classPropertyName: "textField", publicName: "textField", isSignal: false, isRequired: false, transformFunction: null }, textTemplate: { classPropertyName: "textTemplate", publicName: "textTemplate", isSignal: false, isRequired: false, transformFunction: null }, selectedItems: { classPropertyName: "selectedItems", publicName: "selectedItems", isSignal: false, isRequired: false, transformFunction: null }, dataSource: { classPropertyName: "dataSource", publicName: "dataSource", isSignal: false, isRequired: false, transformFunction: null }, minRecordsForSearch: { classPropertyName: "minRecordsForSearch", publicName: "minRecordsForSearch", isSignal: false, isRequired: false, transformFunction: null }, caption: { classPropertyName: "caption", publicName: "caption", isSignal: false, isRequired: false, transformFunction: null }, itemTemplate: { classPropertyName: "itemTemplate", publicName: "itemTemplate", isSignal: false, isRequired: false, transformFunction: null }, selectedTemplate: { classPropertyName: "selectedTemplate", publicName: "selectedTemplate", isSignal: false, isRequired: false, transformFunction: null }, emptyTemplate: { classPropertyName: "emptyTemplate", publicName: "emptyTemplate", isSignal: false, isRequired: false, transformFunction: null }, loadingTemplate: { classPropertyName: "loadingTemplate", publicName: "loadingTemplate", isSignal: false, isRequired: false, transformFunction: null }, dropdownWidth: { classPropertyName: "dropdownWidth", publicName: "dropdownWidth", isSignal: false, isRequired: false, transformFunction: null }, searchBoxAutoFocus: { classPropertyName: "searchBoxAutoFocus", publicName: "searchBoxAutoFocus", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { valueChange: "valueChange", stateChange: "stateChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus", readonlyChange: "readonlyChange", disabledChange: "disabledChange", onOpened: "onOpened", onClosed: "onClosed" }, host: { attributes: { "ngSkipHydration": "true" }, listeners: { "keydown": "_handleKeydown($event)" } }, providers: [
|
283
289
|
{ provide: AXComponent, useExisting: AXSelectBoxComponent },
|
284
290
|
{ provide: AXFocusableComponent, useExisting: AXSelectBoxComponent },
|
285
291
|
{ provide: AXValuableComponent, useExisting: AXSelectBoxComponent },
|
@@ -296,7 +302,7 @@ class AXSelectBoxComponent extends classes(MXDropdownBoxBaseComponent, MXSelecti
|
|
296
302
|
useClass: MXSelectionBridgeService,
|
297
303
|
},
|
298
304
|
AXUnsubscriber,
|
299
|
-
], queries: [{ propertyName: "searchBox", first: true, predicate: AXSearchBoxComponent, descendants: true }], viewQueries: [{ propertyName: "panel", first: true, predicate: ["panel"], descendants: true }, { propertyName: "list", first: true, predicate: AXListComponent, descendants: true }, { propertyName: "dropdown", first: true, predicate: AXDropdownBoxComponent, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<ax-dropdown-box\r\n [class.ax-state-multiple]=\"multiple\"\r\n (onOpened)=\"_handleOnOpenedEvent($event)\"\r\n (onClosed)=\"_handleOnClosedEvent($event)\"\r\n (focus)=\"emitOnFocusEvent($event)\"\r\n (blur)=\"emitOnBlurEvent($event)\"\r\n [disabled]=\"disabled\"\r\n [look]=\"look\"\r\n>\r\n <ng-container input>\r\n <ng-content select=\"ax-prefix\"> </ng-content>\r\n <div class=\"ax-editor ax-chips-container ax-content ax-input\" [class.ax-state-multiple]=\"multiple\" [tabindex]=\"tabIndex\" (click)=\"toggle()\">\r\n @if (selectedItems.length === 0) {\r\n <div class=\"ax-placeholder\" role=\"textbox\" area-readonly=\"true\">\r\n {{ placeholder }}\r\n </div>\r\n }\r\n @for (item of selectedItems; track $index) {\r\n @if (selectedTemplate) {\r\n <ng-template *ngTemplateOutlet=\"selectedTemplate; context: { $implicit: { data: item } }\"></ng-template>\r\n } @else {\r\n <div class=\"ax-chips\">\r\n {{ getDisplayText(item) }}\r\n @if (!disabled && !readonly && multiple) {\r\n <span class=\"ax-icon ax-icon-close\" (click)=\"_handleBadgeRemove($event, item)\"> </span>\r\n }\r\n </div>\r\n }\r\n }\r\n </div>\r\n @if (selectedItems?.length && !disabled && !readonly) {\r\n <ng-content select=\"ax-clear-button\"></ng-content>\r\n }\r\n <button type=\"button\" [disabled]=\"disabled\" [tabIndex]=\"-1\" class=\"ax-editor-button\" (click)=\"toggle()\">\r\n <span\r\n class=\"ax-icon\"\r\n [ngClass]=\"{\r\n 'ax-icon-chevron-down': !isOpen,\r\n 'ax-icon-chevron-up': isOpen,\r\n }\"\r\n ></span>\r\n </button>\r\n <ng-content select=\"ax-suffix\"> </ng-content>\r\n <ng-template #search>\r\n <ng-content select=\"ax-search-box\"> </ng-content>\r\n </ng-template>\r\n </ng-container>\r\n <ng-container panel>\r\n <div #panel class=\"ax-select-box-panel\" [style.min-width]=\"dropdownSizes.width\">\r\n @if (dropdown.isActionsheetStyle) {\r\n <ax-header class=\"ax-solid\">\r\n <ax-title>{{ caption || placeholder || 'selectbox.popover.title' | translate | async }}</ax-title>\r\n <ax-close-button [icon]=\"multiple ? 'ax-icon ax-icon-check' : 'ax-icon ax-icon-close'\"></ax-close-button>\r\n </ax-header>\r\n }\r\n @if (searchBox) {\r\n <div class=\"ax-search-container\">\r\n <ng-template [ngTemplateOutlet]=\"search\"></ng-template>\r\n </div>\r\n }\r\n @if (renderList) {\r\n <ax-list\r\n [readonly]=\"readonly\"\r\n [dataSource]=\"_listDataSource\"\r\n [multiple]=\"multiple\"\r\n [style.height]=\"dropdownSizes.height\"\r\n [valueField]=\"valueField\"\r\n [textField]=\"textField\"\r\n [textTemplate]=\"textTemplate\"\r\n [emptyTemplate]=\"emptyTemplate ?? empty\"\r\n [itemTemplate]=\"itemTemplate\"\r\n [loadingTemplate]=\"loadingTemplate\"\r\n [ngModel]=\"value\"\r\n (onValueChanged)=\"_handleValueChanged($event)\"\r\n [selectionMode]=\"'item'\"\r\n (onItemClick)=\"_handleOnItemClick($event)\"\r\n >\r\n <ng-template #empty> {{ 'no-result-found' | translate | async }} </ng-template>\r\n </ax-list>\r\n }\r\n\r\n @if (isLoading()) {\r\n @if (loadingTemplate) {\r\n <ng-template *ngTemplateOutlet=\"loadingTemplate\"></ng-template>\r\n } @else {\r\n <div class=\"ax-select-box-loading-container\">\r\n <ax-loading></ax-loading>\r\n </div>\r\n }\r\n }\r\n\r\n <ng-content select=\"ax-footer\"> </ng-content>\r\n </div>\r\n </ng-container>\r\n</ax-dropdown-box>\r\n<ng-content select=\"ax-validation-rule\"> </ng-content>\r\n", styles: [".ax-editor-container.ax-fill .ax-chips{--ax-comp-select-box-chips-bg-color: var(--ax-sys-color-surfaceest);--ax-comp-select-box-chips-text-color: var(--ax-sys-color-on-surface-high)}.ax-editor-container.ax-flat .ax-chips,.ax-editor-container.ax-outline .ax-chips{--ax-comp-select-box-chips-bg-color: var(--ax-sys-color-surface);--ax-comp-select-box-chips-text-color: var(--ax-sys-color-on-surface-high)}.ax-editor-container.ax-solid .ax-chips{--ax-comp-select-box-chips-bg-color: var(--ax-sys-color-light-surface);--ax-comp-select-box-chips-text-color: var(--ax-sys-color-on-light-surface)}ax-select-box .ax-chips-container{outline:0px solid transparent}.ax-xs ax-select-box,ax-select-box.ax-xs{--ax-comp-select-box-chips-padding-x: .25rem;--ax-comp-select-box-chips-padding-y: .125rem;--ax-comp-select-box-chips-font-size: .625rem;--ax-comp-editor-placeholder-space-x: .375rem}.ax-sm ax-select-box,ax-select-box.ax-sm{--ax-comp-select-box-chips-padding-x: .25rem;--ax-comp-select-box-chips-padding-y: .125rem;--ax-comp-select-box-chips-font-size: .75rem;--ax-comp-editor-placeholder-space-x: .5rem}ax-select-box,ax-select-box.ax-md{--ax-comp-select-box-chips-padding-x: .5rem;--ax-comp-select-box-chips-padding-y: .25rem;--ax-comp-select-box-chips-font-size: .875rem;--ax-comp-editor-placeholder-space-x: .75rem}.ax-lg ax-select-box,ax-select-box.ax-lg{--ax-comp-select-box-chips-padding-x: .75rem;--ax-comp-select-box-chips-padding-y: .5rem;--ax-comp-select-box-chips-font-size: 1rem;--ax-comp-editor-placeholder-space-x: .75rem}.ax-xl ax-select-box,ax-select-box.ax-xl{--ax-comp-select-box-chips-padding-x: .875rem;--ax-comp-select-box-chips-padding-y: .75rem;--ax-comp-select-box-chips-font-size: 1.125rem;--ax-comp-editor-placeholder-space-x: .75rem}ax-select-box{display:block;width:100%;border-radius:var(--ax-sys-border-radius)}ax-select-box .ax-state-disabled{opacity:.5;cursor:not-allowed}ax-select-box .ax-state-disabled .ax-content{cursor:not-allowed}ax-select-box .ax-state-disabled .ax-editor-button{cursor:not-allowed}ax-select-box ax-dropdown-box{border-radius:inherit!important}ax-select-box ax-dropdown-box.ax-state-multiple{height:auto;min-height:var(--ax-comp-editor-height);--ax-comp-editor-space-start-size: 0}ax-select-box ax-dropdown-box.ax-state-multiple .ax-placeholder{padding:0 var(--ax-comp-editor-placeholder-space-x)}ax-select-box .ax-chips-container{display:flex;flex:1 1 0%;cursor:pointer;-webkit-user-select:none;user-select:none;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:var(--ax-comp-select-box-chips-gap, .25rem);height:100%}ax-select-box .ax-chips-container .ax-chips{display:flex;align-items:center;padding:0 var(--ax-comp-editor-padding-x, .25rem);color:rgb(var(--ax-comp-select-box-chips-text-color));font-size:var(--ax-comp-select-box-chips-font-size);line-height:normal}ax-select-box .ax-chips-container.ax-state-multiple .ax-chips{background-color:rgb(var(--ax-comp-select-box-chips-bg-color));border-radius:var(--ax-comp-select-box-chips-border-radius, 999rem);border-width:var(--ax-comp-select-box-chips-border-width, 0px);padding:var(--ax-comp-select-box-chips-padding-y, .25rem) var(--ax-comp-select-box-chips-padding-x, .5rem)}ax-select-box .ax-chips-container.ax-state-multiple .ax-chips .ax-icon-close{cursor:pointer;margin-inline-start:var(--ax-comp-select-box-chips-padding-x)}ax-select-box .ax-chips-container .ax-selectbox-input{width:0px;opacity:0}ax-select-box .ax-chips-container.ax-state-multiple:has(.ax-chips){padding:var(--ax-comp-select-box-chips-container-padding, .25rem)}.ax-select-box-panel{height:fit-content}.ax-select-box-panel .ax-select-box-loading-container{display:flex;align-items:center;justify-content:center;padding:1rem}.ax-select-box-panel>ax-header .ax-icon-check{color:rgba(var(--ax-sys-color-primary-500))}.ax-select-box-panel>ax-header.ax-solid{border-bottom-width:1px;border-color:rgba(var(--ax-sys-color-border-lightest-surface))}.ax-select-box-panel>ax-header.ax-solid ax-title{font-size:1rem;line-height:1.5rem;font-weight:500}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.AXDecoratorCloseButtonComponent, selector: "ax-close-button", inputs: ["closeAll", "icon"] }, { kind: "component", type: i3.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "component", type: i4.AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "context"], outputs: ["visibleChange"] }, { kind: "component", type: i5.AXDropdownBoxComponent, selector: "ax-dropdown-box", inputs: ["disabled", "look"], outputs: ["disabledChange", "onBlur", "onFocus", "onClick", "onOpened", "onClosed"] }, { kind: "component", type: i6.AXListComponent, selector: "ax-list", inputs: ["id", "name", "disabled", "readonly", "valueField", "textField", "textTemplate", "disabledField", "multiple", "selectionMode", "dataSource", "itemHeight", "itemTemplate", "emptyTemplate", "loadingTemplate", "checkbox"], outputs: ["onValueChanged", "disabledChange", "readOnlyChange", "onBlur", "onFocus", "onItemClick", "onScrolledIndexChanged"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i7.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
305
|
+
], queries: [{ propertyName: "searchBox", first: true, predicate: AXSearchBoxComponent, descendants: true }], viewQueries: [{ propertyName: "panel", first: true, predicate: ["panel"], descendants: true }, { propertyName: "list", first: true, predicate: AXListComponent, descendants: true }, { propertyName: "dropdown", first: true, predicate: AXDropdownBoxComponent, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<ax-dropdown-box\r\n [class.ax-state-multiple]=\"multiple\"\r\n (onOpened)=\"_handleOnOpenedEvent($event)\"\r\n (onClosed)=\"_handleOnClosedEvent($event)\"\r\n (focus)=\"emitOnFocusEvent($event)\"\r\n (blur)=\"emitOnBlurEvent($event)\"\r\n [disabled]=\"disabled\"\r\n [look]=\"look\"\r\n>\r\n <ng-container input>\r\n <ng-content select=\"ax-prefix\"> </ng-content>\r\n <div class=\"ax-editor ax-chips-container ax-content ax-input\" [class.ax-state-multiple]=\"multiple\" [tabindex]=\"tabIndex\" (click)=\"toggle()\">\r\n @if (selectedItems.length === 0) {\r\n <div class=\"ax-placeholder\" role=\"textbox\" area-readonly=\"true\">\r\n {{ placeholder }}\r\n </div>\r\n }\r\n @for (item of selectedItems; track $index) {\r\n @if (selectedTemplate) {\r\n <ng-template *ngTemplateOutlet=\"selectedTemplate; context: { $implicit: { data: item } }\"></ng-template>\r\n } @else {\r\n <div class=\"ax-chips\">\r\n {{ getDisplayText(item) }}\r\n @if (!disabled && !readonly && multiple) {\r\n <span class=\"ax-icon ax-icon-close\" (click)=\"_handleBadgeRemove($event, item)\"> </span>\r\n }\r\n </div>\r\n }\r\n }\r\n </div>\r\n @if (selectedItems?.length && !disabled && !readonly) {\r\n <ng-content select=\"ax-clear-button\"></ng-content>\r\n }\r\n <button type=\"button\" [disabled]=\"disabled\" [tabIndex]=\"-1\" class=\"ax-editor-button\" (click)=\"toggle()\">\r\n <span\r\n class=\"ax-icon\"\r\n [ngClass]=\"{\r\n 'ax-icon-chevron-down': !isOpen,\r\n 'ax-icon-chevron-up': isOpen,\r\n }\"\r\n ></span>\r\n </button>\r\n <ng-content select=\"ax-suffix\"> </ng-content>\r\n <ng-template #search>\r\n <ng-content select=\"ax-search-box\"> </ng-content>\r\n </ng-template>\r\n </ng-container>\r\n <ng-container panel>\r\n <div #panel class=\"ax-select-box-panel\" [style.min-width]=\"dropdownSizes.width\">\r\n @if (dropdown.isActionsheetStyle) {\r\n <ax-header class=\"ax-solid\">\r\n <ax-title>{{ caption || placeholder || 'selectbox.popover.title' | translate | async }}</ax-title>\r\n <ax-close-button [icon]=\"multiple ? 'ax-icon ax-icon-check' : 'ax-icon ax-icon-close'\"></ax-close-button>\r\n </ax-header>\r\n }\r\n @if (searchBox && (!minRecordsForSearch || _listDataSource.totalCount >= minRecordsForSearch || searchValue())) {\r\n <div class=\"ax-search-container\">\r\n <ng-template [ngTemplateOutlet]=\"search\"></ng-template>\r\n </div>\r\n }\r\n @if (renderList) {\r\n <ax-list\r\n [readonly]=\"readonly\"\r\n [dataSource]=\"_listDataSource\"\r\n [multiple]=\"multiple\"\r\n [style.height]=\"dropdownSizes.height\"\r\n [valueField]=\"valueField\"\r\n [textField]=\"textField\"\r\n [textTemplate]=\"textTemplate\"\r\n [emptyTemplate]=\"emptyTemplate ?? empty\"\r\n [itemTemplate]=\"itemTemplate\"\r\n [loadingTemplate]=\"loadingTemplate\"\r\n [ngModel]=\"value\"\r\n (onValueChanged)=\"_handleValueChanged($event)\"\r\n [selectionMode]=\"'item'\"\r\n >\r\n <ng-template #empty> {{ 'no-result-found' | translate | async }} </ng-template>\r\n </ax-list>\r\n }\r\n\r\n @if (isLoading()) {\r\n @if (loadingTemplate) {\r\n <ng-template *ngTemplateOutlet=\"loadingTemplate\"></ng-template>\r\n } @else {\r\n <div class=\"ax-select-box-loading-container\">\r\n <ax-loading></ax-loading>\r\n </div>\r\n }\r\n }\r\n\r\n <ng-content select=\"ax-footer\"> </ng-content>\r\n </div>\r\n </ng-container>\r\n</ax-dropdown-box>\r\n<ng-content select=\"ax-validation-rule\"> </ng-content>\r\n", styles: [".ax-editor-container.ax-fill .ax-chips{--ax-comp-select-box-chips-bg-color: var(--ax-sys-color-surfaceest);--ax-comp-select-box-chips-text-color: var(--ax-sys-color-on-surface-high)}.ax-editor-container.ax-flat .ax-chips,.ax-editor-container.ax-outline .ax-chips{--ax-comp-select-box-chips-bg-color: var(--ax-sys-color-surface);--ax-comp-select-box-chips-text-color: var(--ax-sys-color-on-surface-high)}.ax-editor-container.ax-solid .ax-chips{--ax-comp-select-box-chips-bg-color: var(--ax-sys-color-light-surface);--ax-comp-select-box-chips-text-color: var(--ax-sys-color-on-light-surface)}ax-select-box .ax-chips-container{outline:0px solid transparent}.ax-xs ax-select-box,ax-select-box.ax-xs{--ax-comp-select-box-chips-padding-x: .25rem;--ax-comp-select-box-chips-padding-y: .125rem;--ax-comp-select-box-chips-font-size: .625rem;--ax-comp-editor-placeholder-space-x: .375rem}.ax-sm ax-select-box,ax-select-box.ax-sm{--ax-comp-select-box-chips-padding-x: .25rem;--ax-comp-select-box-chips-padding-y: .125rem;--ax-comp-select-box-chips-font-size: .75rem;--ax-comp-editor-placeholder-space-x: .5rem}ax-select-box,ax-select-box.ax-md{--ax-comp-select-box-chips-padding-x: .5rem;--ax-comp-select-box-chips-padding-y: .25rem;--ax-comp-select-box-chips-font-size: .875rem;--ax-comp-editor-placeholder-space-x: .75rem}.ax-lg ax-select-box,ax-select-box.ax-lg{--ax-comp-select-box-chips-padding-x: .75rem;--ax-comp-select-box-chips-padding-y: .5rem;--ax-comp-select-box-chips-font-size: 1rem;--ax-comp-editor-placeholder-space-x: .75rem}.ax-xl ax-select-box,ax-select-box.ax-xl{--ax-comp-select-box-chips-padding-x: .875rem;--ax-comp-select-box-chips-padding-y: .75rem;--ax-comp-select-box-chips-font-size: 1.125rem;--ax-comp-editor-placeholder-space-x: .75rem}ax-select-box{display:block;width:100%;height:100%;border-radius:var(--ax-sys-border-radius)}ax-select-box .ax-state-disabled{opacity:.5;cursor:not-allowed}ax-select-box .ax-state-disabled .ax-content{cursor:not-allowed}ax-select-box .ax-state-disabled .ax-editor-button{cursor:not-allowed}ax-select-box ax-dropdown-box{border-radius:inherit!important}ax-select-box ax-dropdown-box.ax-state-multiple{height:auto;min-height:var(--ax-comp-editor-height);--ax-comp-editor-space-start-size: 0}ax-select-box ax-dropdown-box.ax-state-multiple .ax-placeholder{padding:0 var(--ax-comp-editor-placeholder-space-x)}ax-select-box .ax-chips-container{display:flex;flex:1 1 0%;cursor:pointer!important;-webkit-user-select:none;user-select:none;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:var(--ax-comp-select-box-chips-gap, .25rem);min-height:var(--ax-sys-size-base)}ax-select-box .ax-chips-container .ax-chips{display:flex;align-items:center;padding:0 var(--ax-comp-editor-padding-x, .25rem);color:rgb(var(--ax-comp-select-box-chips-text-color));font-size:var(--ax-comp-select-box-chips-font-size);line-height:normal}ax-select-box .ax-chips-container.ax-state-multiple .ax-chips{background-color:rgb(var(--ax-comp-select-box-chips-bg-color));border-radius:var(--ax-comp-select-box-chips-border-radius, 999rem);border-width:var(--ax-comp-select-box-chips-border-width, 0px);padding:var(--ax-comp-select-box-chips-padding-y, .25rem) var(--ax-comp-select-box-chips-padding-x, .5rem)}ax-select-box .ax-chips-container.ax-state-multiple .ax-chips .ax-icon-close{cursor:pointer;margin-inline-start:var(--ax-comp-select-box-chips-padding-x)}ax-select-box .ax-chips-container .ax-selectbox-input{width:0px;opacity:0}ax-select-box .ax-chips-container.ax-state-multiple:has(.ax-chips){padding:var(--ax-comp-select-box-chips-container-padding, .25rem)}.ax-select-box-panel{height:fit-content}.ax-select-box-panel .ax-select-box-loading-container{display:flex;align-items:center;justify-content:center;padding:1rem}.ax-select-box-panel>ax-header .ax-icon-check{color:rgba(var(--ax-sys-color-primary-500))}.ax-select-box-panel>ax-header.ax-solid{border-bottom-width:1px;border-color:rgba(var(--ax-sys-color-border-lightest-surface))}.ax-select-box-panel>ax-header.ax-solid ax-title{font-size:1rem;line-height:1.5rem;font-weight:500}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.AXDecoratorCloseButtonComponent, selector: "ax-close-button", inputs: ["closeAll", "icon"] }, { kind: "component", type: i3.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "component", type: i4.AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "context"], outputs: ["visibleChange"] }, { kind: "component", type: i5.AXDropdownBoxComponent, selector: "ax-dropdown-box", inputs: ["disabled", "look"], outputs: ["disabledChange", "onBlur", "onFocus", "onClick", "onOpened", "onClosed"] }, { kind: "component", type: i6.AXListComponent, selector: "ax-list", inputs: ["id", "name", "disabled", "readonly", "valueField", "textField", "textTemplate", "disabledField", "multiple", "selectionMode", "dataSource", "itemHeight", "itemTemplate", "emptyTemplate", "loadingTemplate", "checkbox"], outputs: ["onValueChanged", "disabledChange", "readOnlyChange", "onBlur", "onFocus", "onItemClick", "onScrolledIndexChanged"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i7.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
300
306
|
}
|
301
307
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXSelectBoxComponent, decorators: [{
|
302
308
|
type: Component,
|
@@ -335,11 +341,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
|
|
335
341
|
useClass: MXSelectionBridgeService,
|
336
342
|
},
|
337
343
|
AXUnsubscriber,
|
338
|
-
], host: { ngSkipHydration: 'true' }, standalone: false, template: "<ax-dropdown-box\r\n [class.ax-state-multiple]=\"multiple\"\r\n (onOpened)=\"_handleOnOpenedEvent($event)\"\r\n (onClosed)=\"_handleOnClosedEvent($event)\"\r\n (focus)=\"emitOnFocusEvent($event)\"\r\n (blur)=\"emitOnBlurEvent($event)\"\r\n [disabled]=\"disabled\"\r\n [look]=\"look\"\r\n>\r\n <ng-container input>\r\n <ng-content select=\"ax-prefix\"> </ng-content>\r\n <div class=\"ax-editor ax-chips-container ax-content ax-input\" [class.ax-state-multiple]=\"multiple\" [tabindex]=\"tabIndex\" (click)=\"toggle()\">\r\n @if (selectedItems.length === 0) {\r\n <div class=\"ax-placeholder\" role=\"textbox\" area-readonly=\"true\">\r\n {{ placeholder }}\r\n </div>\r\n }\r\n @for (item of selectedItems; track $index) {\r\n @if (selectedTemplate) {\r\n <ng-template *ngTemplateOutlet=\"selectedTemplate; context: { $implicit: { data: item } }\"></ng-template>\r\n } @else {\r\n <div class=\"ax-chips\">\r\n {{ getDisplayText(item) }}\r\n @if (!disabled && !readonly && multiple) {\r\n <span class=\"ax-icon ax-icon-close\" (click)=\"_handleBadgeRemove($event, item)\"> </span>\r\n }\r\n </div>\r\n }\r\n }\r\n </div>\r\n @if (selectedItems?.length && !disabled && !readonly) {\r\n <ng-content select=\"ax-clear-button\"></ng-content>\r\n }\r\n <button type=\"button\" [disabled]=\"disabled\" [tabIndex]=\"-1\" class=\"ax-editor-button\" (click)=\"toggle()\">\r\n <span\r\n class=\"ax-icon\"\r\n [ngClass]=\"{\r\n 'ax-icon-chevron-down': !isOpen,\r\n 'ax-icon-chevron-up': isOpen,\r\n }\"\r\n ></span>\r\n </button>\r\n <ng-content select=\"ax-suffix\"> </ng-content>\r\n <ng-template #search>\r\n <ng-content select=\"ax-search-box\"> </ng-content>\r\n </ng-template>\r\n </ng-container>\r\n <ng-container panel>\r\n <div #panel class=\"ax-select-box-panel\" [style.min-width]=\"dropdownSizes.width\">\r\n @if (dropdown.isActionsheetStyle) {\r\n <ax-header class=\"ax-solid\">\r\n <ax-title>{{ caption || placeholder || 'selectbox.popover.title' | translate | async }}</ax-title>\r\n <ax-close-button [icon]=\"multiple ? 'ax-icon ax-icon-check' : 'ax-icon ax-icon-close'\"></ax-close-button>\r\n </ax-header>\r\n }\r\n @if (searchBox) {\r\n <div class=\"ax-search-container\">\r\n <ng-template [ngTemplateOutlet]=\"search\"></ng-template>\r\n </div>\r\n }\r\n @if (renderList) {\r\n <ax-list\r\n [readonly]=\"readonly\"\r\n [dataSource]=\"_listDataSource\"\r\n [multiple]=\"multiple\"\r\n [style.height]=\"dropdownSizes.height\"\r\n [valueField]=\"valueField\"\r\n [textField]=\"textField\"\r\n [textTemplate]=\"textTemplate\"\r\n [emptyTemplate]=\"emptyTemplate ?? empty\"\r\n [itemTemplate]=\"itemTemplate\"\r\n [loadingTemplate]=\"loadingTemplate\"\r\n [ngModel]=\"value\"\r\n (onValueChanged)=\"_handleValueChanged($event)\"\r\n [selectionMode]=\"'item'\"\r\n
|
344
|
+
], host: { ngSkipHydration: 'true' }, standalone: false, template: "<ax-dropdown-box\r\n [class.ax-state-multiple]=\"multiple\"\r\n (onOpened)=\"_handleOnOpenedEvent($event)\"\r\n (onClosed)=\"_handleOnClosedEvent($event)\"\r\n (focus)=\"emitOnFocusEvent($event)\"\r\n (blur)=\"emitOnBlurEvent($event)\"\r\n [disabled]=\"disabled\"\r\n [look]=\"look\"\r\n>\r\n <ng-container input>\r\n <ng-content select=\"ax-prefix\"> </ng-content>\r\n <div class=\"ax-editor ax-chips-container ax-content ax-input\" [class.ax-state-multiple]=\"multiple\" [tabindex]=\"tabIndex\" (click)=\"toggle()\">\r\n @if (selectedItems.length === 0) {\r\n <div class=\"ax-placeholder\" role=\"textbox\" area-readonly=\"true\">\r\n {{ placeholder }}\r\n </div>\r\n }\r\n @for (item of selectedItems; track $index) {\r\n @if (selectedTemplate) {\r\n <ng-template *ngTemplateOutlet=\"selectedTemplate; context: { $implicit: { data: item } }\"></ng-template>\r\n } @else {\r\n <div class=\"ax-chips\">\r\n {{ getDisplayText(item) }}\r\n @if (!disabled && !readonly && multiple) {\r\n <span class=\"ax-icon ax-icon-close\" (click)=\"_handleBadgeRemove($event, item)\"> </span>\r\n }\r\n </div>\r\n }\r\n }\r\n </div>\r\n @if (selectedItems?.length && !disabled && !readonly) {\r\n <ng-content select=\"ax-clear-button\"></ng-content>\r\n }\r\n <button type=\"button\" [disabled]=\"disabled\" [tabIndex]=\"-1\" class=\"ax-editor-button\" (click)=\"toggle()\">\r\n <span\r\n class=\"ax-icon\"\r\n [ngClass]=\"{\r\n 'ax-icon-chevron-down': !isOpen,\r\n 'ax-icon-chevron-up': isOpen,\r\n }\"\r\n ></span>\r\n </button>\r\n <ng-content select=\"ax-suffix\"> </ng-content>\r\n <ng-template #search>\r\n <ng-content select=\"ax-search-box\"> </ng-content>\r\n </ng-template>\r\n </ng-container>\r\n <ng-container panel>\r\n <div #panel class=\"ax-select-box-panel\" [style.min-width]=\"dropdownSizes.width\">\r\n @if (dropdown.isActionsheetStyle) {\r\n <ax-header class=\"ax-solid\">\r\n <ax-title>{{ caption || placeholder || 'selectbox.popover.title' | translate | async }}</ax-title>\r\n <ax-close-button [icon]=\"multiple ? 'ax-icon ax-icon-check' : 'ax-icon ax-icon-close'\"></ax-close-button>\r\n </ax-header>\r\n }\r\n @if (searchBox && (!minRecordsForSearch || _listDataSource.totalCount >= minRecordsForSearch || searchValue())) {\r\n <div class=\"ax-search-container\">\r\n <ng-template [ngTemplateOutlet]=\"search\"></ng-template>\r\n </div>\r\n }\r\n @if (renderList) {\r\n <ax-list\r\n [readonly]=\"readonly\"\r\n [dataSource]=\"_listDataSource\"\r\n [multiple]=\"multiple\"\r\n [style.height]=\"dropdownSizes.height\"\r\n [valueField]=\"valueField\"\r\n [textField]=\"textField\"\r\n [textTemplate]=\"textTemplate\"\r\n [emptyTemplate]=\"emptyTemplate ?? empty\"\r\n [itemTemplate]=\"itemTemplate\"\r\n [loadingTemplate]=\"loadingTemplate\"\r\n [ngModel]=\"value\"\r\n (onValueChanged)=\"_handleValueChanged($event)\"\r\n [selectionMode]=\"'item'\"\r\n >\r\n <ng-template #empty> {{ 'no-result-found' | translate | async }} </ng-template>\r\n </ax-list>\r\n }\r\n\r\n @if (isLoading()) {\r\n @if (loadingTemplate) {\r\n <ng-template *ngTemplateOutlet=\"loadingTemplate\"></ng-template>\r\n } @else {\r\n <div class=\"ax-select-box-loading-container\">\r\n <ax-loading></ax-loading>\r\n </div>\r\n }\r\n }\r\n\r\n <ng-content select=\"ax-footer\"> </ng-content>\r\n </div>\r\n </ng-container>\r\n</ax-dropdown-box>\r\n<ng-content select=\"ax-validation-rule\"> </ng-content>\r\n", styles: [".ax-editor-container.ax-fill .ax-chips{--ax-comp-select-box-chips-bg-color: var(--ax-sys-color-surfaceest);--ax-comp-select-box-chips-text-color: var(--ax-sys-color-on-surface-high)}.ax-editor-container.ax-flat .ax-chips,.ax-editor-container.ax-outline .ax-chips{--ax-comp-select-box-chips-bg-color: var(--ax-sys-color-surface);--ax-comp-select-box-chips-text-color: var(--ax-sys-color-on-surface-high)}.ax-editor-container.ax-solid .ax-chips{--ax-comp-select-box-chips-bg-color: var(--ax-sys-color-light-surface);--ax-comp-select-box-chips-text-color: var(--ax-sys-color-on-light-surface)}ax-select-box .ax-chips-container{outline:0px solid transparent}.ax-xs ax-select-box,ax-select-box.ax-xs{--ax-comp-select-box-chips-padding-x: .25rem;--ax-comp-select-box-chips-padding-y: .125rem;--ax-comp-select-box-chips-font-size: .625rem;--ax-comp-editor-placeholder-space-x: .375rem}.ax-sm ax-select-box,ax-select-box.ax-sm{--ax-comp-select-box-chips-padding-x: .25rem;--ax-comp-select-box-chips-padding-y: .125rem;--ax-comp-select-box-chips-font-size: .75rem;--ax-comp-editor-placeholder-space-x: .5rem}ax-select-box,ax-select-box.ax-md{--ax-comp-select-box-chips-padding-x: .5rem;--ax-comp-select-box-chips-padding-y: .25rem;--ax-comp-select-box-chips-font-size: .875rem;--ax-comp-editor-placeholder-space-x: .75rem}.ax-lg ax-select-box,ax-select-box.ax-lg{--ax-comp-select-box-chips-padding-x: .75rem;--ax-comp-select-box-chips-padding-y: .5rem;--ax-comp-select-box-chips-font-size: 1rem;--ax-comp-editor-placeholder-space-x: .75rem}.ax-xl ax-select-box,ax-select-box.ax-xl{--ax-comp-select-box-chips-padding-x: .875rem;--ax-comp-select-box-chips-padding-y: .75rem;--ax-comp-select-box-chips-font-size: 1.125rem;--ax-comp-editor-placeholder-space-x: .75rem}ax-select-box{display:block;width:100%;height:100%;border-radius:var(--ax-sys-border-radius)}ax-select-box .ax-state-disabled{opacity:.5;cursor:not-allowed}ax-select-box .ax-state-disabled .ax-content{cursor:not-allowed}ax-select-box .ax-state-disabled .ax-editor-button{cursor:not-allowed}ax-select-box ax-dropdown-box{border-radius:inherit!important}ax-select-box ax-dropdown-box.ax-state-multiple{height:auto;min-height:var(--ax-comp-editor-height);--ax-comp-editor-space-start-size: 0}ax-select-box ax-dropdown-box.ax-state-multiple .ax-placeholder{padding:0 var(--ax-comp-editor-placeholder-space-x)}ax-select-box .ax-chips-container{display:flex;flex:1 1 0%;cursor:pointer!important;-webkit-user-select:none;user-select:none;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:var(--ax-comp-select-box-chips-gap, .25rem);min-height:var(--ax-sys-size-base)}ax-select-box .ax-chips-container .ax-chips{display:flex;align-items:center;padding:0 var(--ax-comp-editor-padding-x, .25rem);color:rgb(var(--ax-comp-select-box-chips-text-color));font-size:var(--ax-comp-select-box-chips-font-size);line-height:normal}ax-select-box .ax-chips-container.ax-state-multiple .ax-chips{background-color:rgb(var(--ax-comp-select-box-chips-bg-color));border-radius:var(--ax-comp-select-box-chips-border-radius, 999rem);border-width:var(--ax-comp-select-box-chips-border-width, 0px);padding:var(--ax-comp-select-box-chips-padding-y, .25rem) var(--ax-comp-select-box-chips-padding-x, .5rem)}ax-select-box .ax-chips-container.ax-state-multiple .ax-chips .ax-icon-close{cursor:pointer;margin-inline-start:var(--ax-comp-select-box-chips-padding-x)}ax-select-box .ax-chips-container .ax-selectbox-input{width:0px;opacity:0}ax-select-box .ax-chips-container.ax-state-multiple:has(.ax-chips){padding:var(--ax-comp-select-box-chips-container-padding, .25rem)}.ax-select-box-panel{height:fit-content}.ax-select-box-panel .ax-select-box-loading-container{display:flex;align-items:center;justify-content:center;padding:1rem}.ax-select-box-panel>ax-header .ax-icon-check{color:rgba(var(--ax-sys-color-primary-500))}.ax-select-box-panel>ax-header.ax-solid{border-bottom-width:1px;border-color:rgba(var(--ax-sys-color-border-lightest-surface))}.ax-select-box-panel>ax-header.ax-solid ax-title{font-size:1rem;line-height:1.5rem;font-weight:500}\n"] }]
|
339
345
|
}], propDecorators: { dataSource: [{
|
340
346
|
type: Input
|
341
347
|
}], placeholder: [{
|
342
348
|
type: Input
|
349
|
+
}], minRecordsForSearch: [{
|
350
|
+
type: Input
|
343
351
|
}], caption: [{
|
344
352
|
type: Input
|
345
353
|
}], itemTemplate: [{
|