aril 1.2.46 → 1.2.48
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/esm2022/theme/layout/service/interfaces/interfaces.mjs +1 -1
- package/esm2022/theme/layout/service/selection-group.service.mjs +72 -6
- package/esm2022/ui/table/src/table.component.mjs +5 -3
- package/esm2022/ui/table-expand/src/table.component.mjs +5 -3
- package/esm2022/ui-business/notification-templates-dialog/src/notification-templates-dialog.component.mjs +2 -2
- package/fesm2022/aril-theme-layout.mjs +71 -5
- package/fesm2022/aril-theme-layout.mjs.map +1 -1
- package/fesm2022/aril-ui-business-notification-templates-dialog.mjs +1 -1
- package/fesm2022/aril-ui-business-notification-templates-dialog.mjs.map +1 -1
- package/fesm2022/aril-ui-table-expand.mjs +4 -2
- package/fesm2022/aril-ui-table-expand.mjs.map +1 -1
- package/fesm2022/aril-ui-table.mjs +4 -2
- package/fesm2022/aril-ui-table.mjs.map +1 -1
- package/package.json +128 -128
- package/theme/layout/service/interfaces/interfaces.d.ts +7 -0
- package/theme/layout/service/interfaces/interfaces.ts +8 -0
- package/theme/layout/service/selection-group.service.d.ts +12 -0
- package/theme/layout/service/selection-group.service.ts +144 -73
- package/ui/table/src/table.component.d.ts +2 -1
- package/ui/table-expand/src/table.component.d.ts +2 -1
|
@@ -55,7 +55,7 @@ class NotificationTemplatesDialogComponent {
|
|
|
55
55
|
this.ref.close();
|
|
56
56
|
}
|
|
57
57
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: NotificationTemplatesDialogComponent, deps: [{ token: i1.DynamicDialogRef }, { token: i2.HttpClient }, { token: i3.MessageService }, { token: i4.TranslocoService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
58
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.1.2", type: NotificationTemplatesDialogComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: "<div class=\"grid\">\r\n\t<aril-table\r\n\t\tclass=\"col-12\"\r\n\t\t[data]=\"notificationTemplates() || []\"\r\n\t\t[noDataFoundLabel]=\"translocoService.translate('noDataFound')\">\r\n\t\t<aril-table-column field=\"templateCode\" [header]=\"translocoService.translate('notifications.templateCode')\" type=\"text\">\r\n\t\t\t<ng-template let-item>\r\n\t\t\t\t<aril-value type=\"text\" [model]=\"item.templateCode\" />\r\n\t\t\t</ng-template>\r\n\t\t</aril-table-column>\r\n\r\n\t\t<aril-table-column field=\"templateTitle\" [header]=\"translocoService.translate('notifications.fileName')\" type=\"text\">\r\n\t\t\t<ng-template let-item>\r\n\t\t\t\t@if (item.url) {\r\n\t\t\t\t\t<aril-value [model]=\"item.templateTitle\" [isClickable]=\"true\" (click)=\"downloadTemplate(item.url)\" />\r\n\t\t\t\t} @else {\r\n\t\t\t\t\t<aril-value type=\"text\" [model]=\"item.templateTitle\" />\r\n\t\t\t\t}\r\n\t\t\t</ng-template>\r\n\t\t</aril-table-column>\r\n\t</aril-table>\r\n\r\n\t<div class=\"col-12 flex justify-content-end\">\r\n\t\t<aril-button\r\n\t\t\t[label]=\"translocoService.translate('close')\"\r\n\t\t\ticon=\"TIMES\"\r\n\t\t\tcolor=\"secondary\"\r\n\t\t\t[outlined]=\"true\"\r\n\t\t\t(clickEvent)=\"closeDialog()\" />\r\n\t</div>\r\n</div>\r\n", dependencies: [{ kind: "ngmodule", type: ARiLTableModule }, { kind: "component", type: i5.TableComponent, selector: "aril-table", inputs: ["kebabMenuItems", "expandableFields", "data", "checkboxSelection", "radioButtonSelection", "headerCheckboxSelection", "pageSize", "proxy", "showFooter", "tAlign", "selectionMode", "exportFileName", "noDataFoundLabel", "tableHeader", "showTableHeader", "isFirstRowSelected", "dataKey", "selectedRowsInput", "isLazy", "totalRecords", "paginator", "paginatorDropdownAppendTo", "isColumnExpandMode", "isResizableColumns", "isSortable", "scrollable", "scrollHeight", "sortMode", "showFirstLastIcon", "rowSelectable", "reorderableColumns", "reorderField", "showColumnFilters", "selectionPageOnly", "openSelectionOnSidebar", "globalFilterFields", "exportConfig"], outputs: ["onPageEvent", "selectionEvent", "lazyLoadEvent", "rowReorderEvent"] }, { kind: "component", type: i5.TableColumnComponent, selector: "aril-table-column", inputs: ["type", "field", "header", "tAlign", "isShowHeaderTooltip", "tooltipTemplate", "width", "showFilter", "filterType", "showTimeInDateFilters", "enumGroupName"] }, { kind: "component", type: ButtonComponent, selector: "aril-button:not([click])", inputs: ["label", "loading", "disabled", "raised", "rounded", "text", "outlined", "badge", "size", "icon", "iconPos", "color"], outputs: ["clickEvent"] }, { kind: "ngmodule", type: TranslocoModule }, { kind: "component", type: ValueComponent, selector: "aril-value", inputs: ["model", "type", "format", "isClickable", "groupName", "parentSelectionKey", "isTextClamp", "textClampCharacters", "style", "copyable", "shouldShowCopyForClampedText", "arrayTypeDisplayName", "arrayTypeMaxBadgeCount", "bigDecimalRoundingMode", "bigDecimalScale"] }] }); }
|
|
58
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.1.2", type: NotificationTemplatesDialogComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: "<div class=\"grid\">\r\n\t<aril-table\r\n\t\tclass=\"col-12\"\r\n\t\t[data]=\"notificationTemplates() || []\"\r\n\t\t[noDataFoundLabel]=\"translocoService.translate('noDataFound')\">\r\n\t\t<aril-table-column field=\"templateCode\" [header]=\"translocoService.translate('notifications.templateCode')\" type=\"text\">\r\n\t\t\t<ng-template let-item>\r\n\t\t\t\t<aril-value type=\"text\" [model]=\"item.templateCode\" />\r\n\t\t\t</ng-template>\r\n\t\t</aril-table-column>\r\n\r\n\t\t<aril-table-column field=\"templateTitle\" [header]=\"translocoService.translate('notifications.fileName')\" type=\"text\">\r\n\t\t\t<ng-template let-item>\r\n\t\t\t\t@if (item.url) {\r\n\t\t\t\t\t<aril-value [model]=\"item.templateTitle\" [isClickable]=\"true\" (click)=\"downloadTemplate(item.url)\" />\r\n\t\t\t\t} @else {\r\n\t\t\t\t\t<aril-value type=\"text\" [model]=\"item.templateTitle\" />\r\n\t\t\t\t}\r\n\t\t\t</ng-template>\r\n\t\t</aril-table-column>\r\n\t</aril-table>\r\n\r\n\t<div class=\"col-12 flex justify-content-end\">\r\n\t\t<aril-button\r\n\t\t\t[label]=\"translocoService.translate('close')\"\r\n\t\t\ticon=\"TIMES\"\r\n\t\t\tcolor=\"secondary\"\r\n\t\t\t[outlined]=\"true\"\r\n\t\t\t(clickEvent)=\"closeDialog()\" />\r\n\t</div>\r\n</div>\r\n", dependencies: [{ kind: "ngmodule", type: ARiLTableModule }, { kind: "component", type: i5.TableComponent, selector: "aril-table", inputs: ["kebabMenuItems", "expandableFields", "data", "checkboxSelection", "radioButtonSelection", "headerCheckboxSelection", "pageSize", "proxy", "showFooter", "tAlign", "selectionMode", "exportFileName", "noDataFoundLabel", "tableHeader", "showTableHeader", "isFirstRowSelected", "dataKey", "selectedRowsInput", "isLazy", "totalRecords", "paginator", "paginatorDropdownAppendTo", "paginatorDropdownScrollHeight", "isColumnExpandMode", "isResizableColumns", "isSortable", "scrollable", "scrollHeight", "sortMode", "showFirstLastIcon", "rowSelectable", "reorderableColumns", "reorderField", "showColumnFilters", "selectionPageOnly", "openSelectionOnSidebar", "globalFilterFields", "exportConfig"], outputs: ["onPageEvent", "selectionEvent", "lazyLoadEvent", "rowReorderEvent"] }, { kind: "component", type: i5.TableColumnComponent, selector: "aril-table-column", inputs: ["type", "field", "header", "tAlign", "isShowHeaderTooltip", "tooltipTemplate", "width", "showFilter", "filterType", "showTimeInDateFilters", "enumGroupName"] }, { kind: "component", type: ButtonComponent, selector: "aril-button:not([click])", inputs: ["label", "loading", "disabled", "raised", "rounded", "text", "outlined", "badge", "size", "icon", "iconPos", "color"], outputs: ["clickEvent"] }, { kind: "ngmodule", type: TranslocoModule }, { kind: "component", type: ValueComponent, selector: "aril-value", inputs: ["model", "type", "format", "isClickable", "groupName", "parentSelectionKey", "isTextClamp", "textClampCharacters", "style", "copyable", "shouldShowCopyForClampedText", "arrayTypeDisplayName", "arrayTypeMaxBadgeCount", "bigDecimalRoundingMode", "bigDecimalScale"] }] }); }
|
|
59
59
|
}
|
|
60
60
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: NotificationTemplatesDialogComponent, decorators: [{
|
|
61
61
|
type: Component,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aril-ui-business-notification-templates-dialog.mjs","sources":["../../projects/aril/ui-business/notification-templates-dialog/src/interface.ts","../../projects/aril/ui-business/notification-templates-dialog/src/notification-templates-dialog.component.ts","../../projects/aril/ui-business/notification-templates-dialog/src/notification-templates-dialog.component.html","../../projects/aril/ui-business/notification-templates-dialog/aril-ui-business-notification-templates-dialog.ts"],"sourcesContent":["export interface NotificationTemplate {\r\n\tid: string;\r\n\tcontent: string;\r\n\ttemplateTitle: string;\r\n\ttemplateCode: string;\r\n\ttemplateGroup: string;\r\n\turl: string;\r\n\tcreator: string;\r\n\tupdater: string;\r\n\ttemplateType: NotificationTemplateType;\r\n}\r\n\r\nexport enum NotificationTemplateType {\r\n\tSMS = 'SMS',\r\n\tEMAIL = 'EMAIL',\r\n\tMATBU = 'MATBU',\r\n\tJASPER_REPORT = 'JASPER_REPORT'\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Component } from '@angular/core';\r\nimport { toSignal } from '@angular/core/rxjs-interop';\r\n\r\nimport { MessageService } from 'primeng/api';\r\nimport { DynamicDialogRef } from 'primeng/dynamicdialog';\r\n\r\nimport { TranslocoModule, TranslocoService } from '@ngneat/transloco';\r\nimport { saveAs } from 'file-saver';\r\nimport { catchError, firstValueFrom, throwError } from 'rxjs';\r\n\r\nimport { API_CONFIGS } from 'aril/boot/config/api';\r\nimport { Apps } from 'aril/boot/config/apps';\r\nimport { ButtonComponent } from 'aril/ui/button';\r\nimport { ARiLTableModule } from 'aril/ui/table';\r\nimport { ValueComponent } from 'aril/ui/value';\r\n\r\nimport { NotificationTemplate, NotificationTemplateType } from './interface';\r\n\r\n@Component({\r\n\tstandalone: true,\r\n\timports: [ARiLTableModule, ButtonComponent, TranslocoModule, ValueComponent],\r\n\ttemplateUrl: `./notification-templates-dialog.component.html`\r\n})\r\nexport class NotificationTemplatesDialogComponent {\r\n\tnotificationTemplates = toSignal(\r\n\t\tthis.http.get<NotificationTemplate[]>(\r\n\t\t\tAPI_CONFIGS.getExternalAppEndpoint(Apps.MNG) + '/notification-templates/' + NotificationTemplateType.MATBU\r\n\t\t)\r\n\t);\r\n\r\n\tconstructor(\r\n\t\tprivate readonly ref: DynamicDialogRef,\r\n\t\tprivate readonly http: HttpClient,\r\n\t\tprivate readonly messageService: MessageService,\r\n\t\tpublic readonly translocoService: TranslocoService\r\n\t) {}\r\n\r\n\tasync downloadTemplate(url: string) {\r\n\t\tconst hostApi = API_CONFIGS.getExternalAppEndpoint(Apps.MNG);\r\n\t\tconst response = await firstValueFrom(\r\n\t\t\tthis.http\r\n\t\t\t\t.get(`${hostApi}/bucket-objects/download`, {\r\n\t\t\t\t\tparams: { url },\r\n\t\t\t\t\tresponseType: 'blob'\r\n\t\t\t\t})\r\n\t\t\t\t.pipe(\r\n\t\t\t\t\tcatchError((error) => {\r\n\t\t\t\t\t\tif (error?.status === 400 || error?.status === 500) {\r\n\t\t\t\t\t\t\tthis.messageService.add({\r\n\t\t\t\t\t\t\t\tseverity: 'error',\r\n\t\t\t\t\t\t\t\tsummary: this.translocoService.translate('messages.exportUrlNotFound'),\r\n\t\t\t\t\t\t\t\tkey: 'toast-root'\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\treturn throwError(() => error);\r\n\t\t\t\t\t})\r\n\t\t\t\t)\r\n\t\t);\r\n\r\n\t\tconst filename = url.split('/').pop();\r\n\r\n\t\tsaveAs(response, filename);\r\n\t}\r\n\r\n\tcloseDialog(): void {\r\n\t\tthis.ref.close();\r\n\t}\r\n}\r\n","<div class=\"grid\">\r\n\t<aril-table\r\n\t\tclass=\"col-12\"\r\n\t\t[data]=\"notificationTemplates() || []\"\r\n\t\t[noDataFoundLabel]=\"translocoService.translate('noDataFound')\">\r\n\t\t<aril-table-column field=\"templateCode\" [header]=\"translocoService.translate('notifications.templateCode')\" type=\"text\">\r\n\t\t\t<ng-template let-item>\r\n\t\t\t\t<aril-value type=\"text\" [model]=\"item.templateCode\" />\r\n\t\t\t</ng-template>\r\n\t\t</aril-table-column>\r\n\r\n\t\t<aril-table-column field=\"templateTitle\" [header]=\"translocoService.translate('notifications.fileName')\" type=\"text\">\r\n\t\t\t<ng-template let-item>\r\n\t\t\t\t@if (item.url) {\r\n\t\t\t\t\t<aril-value [model]=\"item.templateTitle\" [isClickable]=\"true\" (click)=\"downloadTemplate(item.url)\" />\r\n\t\t\t\t} @else {\r\n\t\t\t\t\t<aril-value type=\"text\" [model]=\"item.templateTitle\" />\r\n\t\t\t\t}\r\n\t\t\t</ng-template>\r\n\t\t</aril-table-column>\r\n\t</aril-table>\r\n\r\n\t<div class=\"col-12 flex justify-content-end\">\r\n\t\t<aril-button\r\n\t\t\t[label]=\"translocoService.translate('close')\"\r\n\t\t\ticon=\"TIMES\"\r\n\t\t\tcolor=\"secondary\"\r\n\t\t\t[outlined]=\"true\"\r\n\t\t\t(clickEvent)=\"closeDialog()\" />\r\n\t</div>\r\n</div>\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAYA,IAAY,wBAKX,CAAA;AALD,CAAA,UAAY,wBAAwB,EAAA;AACnC,IAAA,wBAAA,CAAA,KAAA,CAAA,GAAA,KAAW,CAAA;AACX,IAAA,wBAAA,CAAA,OAAA,CAAA,GAAA,OAAe,CAAA;AACf,IAAA,wBAAA,CAAA,OAAA,CAAA,GAAA,OAAe,CAAA;AACf,IAAA,wBAAA,CAAA,eAAA,CAAA,GAAA,eAA+B,CAAA;AAChC,C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ACH;AACD,YAAA,OAAO,UAAU,CAAC,MAAM,KAAK,CAAC,CAAC;SAC/B,CAAC,CACF,CACF,CAAC;QAEF,MAAM,QAAQ,GAAG,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC;AAEtC,QAAA,MAAM,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;KAC3B;IAED,WAAW,GAAA;AACV,QAAA,IAAI,CAAC,GAAG,CAAC,KAAK,EAAE,CAAC;KACjB;8GA3CW,oCAAoC,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,gBAAA,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,UAAA,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,cAAA,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,gBAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAApC,oCAAoC,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,cAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECxBjD,muCA+BA,EDVW,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,eAAe,
|
|
1
|
+
{"version":3,"file":"aril-ui-business-notification-templates-dialog.mjs","sources":["../../projects/aril/ui-business/notification-templates-dialog/src/interface.ts","../../projects/aril/ui-business/notification-templates-dialog/src/notification-templates-dialog.component.ts","../../projects/aril/ui-business/notification-templates-dialog/src/notification-templates-dialog.component.html","../../projects/aril/ui-business/notification-templates-dialog/aril-ui-business-notification-templates-dialog.ts"],"sourcesContent":["export interface NotificationTemplate {\r\n\tid: string;\r\n\tcontent: string;\r\n\ttemplateTitle: string;\r\n\ttemplateCode: string;\r\n\ttemplateGroup: string;\r\n\turl: string;\r\n\tcreator: string;\r\n\tupdater: string;\r\n\ttemplateType: NotificationTemplateType;\r\n}\r\n\r\nexport enum NotificationTemplateType {\r\n\tSMS = 'SMS',\r\n\tEMAIL = 'EMAIL',\r\n\tMATBU = 'MATBU',\r\n\tJASPER_REPORT = 'JASPER_REPORT'\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Component } from '@angular/core';\r\nimport { toSignal } from '@angular/core/rxjs-interop';\r\n\r\nimport { MessageService } from 'primeng/api';\r\nimport { DynamicDialogRef } from 'primeng/dynamicdialog';\r\n\r\nimport { TranslocoModule, TranslocoService } from '@ngneat/transloco';\r\nimport { saveAs } from 'file-saver';\r\nimport { catchError, firstValueFrom, throwError } from 'rxjs';\r\n\r\nimport { API_CONFIGS } from 'aril/boot/config/api';\r\nimport { Apps } from 'aril/boot/config/apps';\r\nimport { ButtonComponent } from 'aril/ui/button';\r\nimport { ARiLTableModule } from 'aril/ui/table';\r\nimport { ValueComponent } from 'aril/ui/value';\r\n\r\nimport { NotificationTemplate, NotificationTemplateType } from './interface';\r\n\r\n@Component({\r\n\tstandalone: true,\r\n\timports: [ARiLTableModule, ButtonComponent, TranslocoModule, ValueComponent],\r\n\ttemplateUrl: `./notification-templates-dialog.component.html`\r\n})\r\nexport class NotificationTemplatesDialogComponent {\r\n\tnotificationTemplates = toSignal(\r\n\t\tthis.http.get<NotificationTemplate[]>(\r\n\t\t\tAPI_CONFIGS.getExternalAppEndpoint(Apps.MNG) + '/notification-templates/' + NotificationTemplateType.MATBU\r\n\t\t)\r\n\t);\r\n\r\n\tconstructor(\r\n\t\tprivate readonly ref: DynamicDialogRef,\r\n\t\tprivate readonly http: HttpClient,\r\n\t\tprivate readonly messageService: MessageService,\r\n\t\tpublic readonly translocoService: TranslocoService\r\n\t) {}\r\n\r\n\tasync downloadTemplate(url: string) {\r\n\t\tconst hostApi = API_CONFIGS.getExternalAppEndpoint(Apps.MNG);\r\n\t\tconst response = await firstValueFrom(\r\n\t\t\tthis.http\r\n\t\t\t\t.get(`${hostApi}/bucket-objects/download`, {\r\n\t\t\t\t\tparams: { url },\r\n\t\t\t\t\tresponseType: 'blob'\r\n\t\t\t\t})\r\n\t\t\t\t.pipe(\r\n\t\t\t\t\tcatchError((error) => {\r\n\t\t\t\t\t\tif (error?.status === 400 || error?.status === 500) {\r\n\t\t\t\t\t\t\tthis.messageService.add({\r\n\t\t\t\t\t\t\t\tseverity: 'error',\r\n\t\t\t\t\t\t\t\tsummary: this.translocoService.translate('messages.exportUrlNotFound'),\r\n\t\t\t\t\t\t\t\tkey: 'toast-root'\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\treturn throwError(() => error);\r\n\t\t\t\t\t})\r\n\t\t\t\t)\r\n\t\t);\r\n\r\n\t\tconst filename = url.split('/').pop();\r\n\r\n\t\tsaveAs(response, filename);\r\n\t}\r\n\r\n\tcloseDialog(): void {\r\n\t\tthis.ref.close();\r\n\t}\r\n}\r\n","<div class=\"grid\">\r\n\t<aril-table\r\n\t\tclass=\"col-12\"\r\n\t\t[data]=\"notificationTemplates() || []\"\r\n\t\t[noDataFoundLabel]=\"translocoService.translate('noDataFound')\">\r\n\t\t<aril-table-column field=\"templateCode\" [header]=\"translocoService.translate('notifications.templateCode')\" type=\"text\">\r\n\t\t\t<ng-template let-item>\r\n\t\t\t\t<aril-value type=\"text\" [model]=\"item.templateCode\" />\r\n\t\t\t</ng-template>\r\n\t\t</aril-table-column>\r\n\r\n\t\t<aril-table-column field=\"templateTitle\" [header]=\"translocoService.translate('notifications.fileName')\" type=\"text\">\r\n\t\t\t<ng-template let-item>\r\n\t\t\t\t@if (item.url) {\r\n\t\t\t\t\t<aril-value [model]=\"item.templateTitle\" [isClickable]=\"true\" (click)=\"downloadTemplate(item.url)\" />\r\n\t\t\t\t} @else {\r\n\t\t\t\t\t<aril-value type=\"text\" [model]=\"item.templateTitle\" />\r\n\t\t\t\t}\r\n\t\t\t</ng-template>\r\n\t\t</aril-table-column>\r\n\t</aril-table>\r\n\r\n\t<div class=\"col-12 flex justify-content-end\">\r\n\t\t<aril-button\r\n\t\t\t[label]=\"translocoService.translate('close')\"\r\n\t\t\ticon=\"TIMES\"\r\n\t\t\tcolor=\"secondary\"\r\n\t\t\t[outlined]=\"true\"\r\n\t\t\t(clickEvent)=\"closeDialog()\" />\r\n\t</div>\r\n</div>\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAYA,IAAY,wBAKX,CAAA;AALD,CAAA,UAAY,wBAAwB,EAAA;AACnC,IAAA,wBAAA,CAAA,KAAA,CAAA,GAAA,KAAW,CAAA;AACX,IAAA,wBAAA,CAAA,OAAA,CAAA,GAAA,OAAe,CAAA;AACf,IAAA,wBAAA,CAAA,OAAA,CAAA,GAAA,OAAe,CAAA;AACf,IAAA,wBAAA,CAAA,eAAA,CAAA,GAAA,eAA+B,CAAA;AAChC,CAAC,EALW,wBAAwB,KAAxB,wBAAwB,GAKnC,EAAA,CAAA,CAAA;;MCOY,oCAAoC,CAAA;AAOhD,IAAA,WAAA,CACkB,GAAqB,EACrB,IAAgB,EAChB,cAA8B,EAC/B,gBAAkC,EAAA;QAHjC,IAAG,CAAA,GAAA,GAAH,GAAG,CAAkB;QACrB,IAAI,CAAA,IAAA,GAAJ,IAAI,CAAY;QAChB,IAAc,CAAA,cAAA,GAAd,cAAc,CAAgB;QAC/B,IAAgB,CAAA,gBAAA,GAAhB,gBAAgB,CAAkB;QAVnD,IAAqB,CAAA,qBAAA,GAAG,QAAQ,CAC/B,IAAI,CAAC,IAAI,CAAC,GAAG,CACZ,WAAW,CAAC,sBAAsB,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,0BAA0B,GAAG,wBAAwB,CAAC,KAAK,CAC1G,CACD,CAAC;KAOE;IAEJ,MAAM,gBAAgB,CAAC,GAAW,EAAA;QACjC,MAAM,OAAO,GAAG,WAAW,CAAC,sBAAsB,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,QAAA,MAAM,QAAQ,GA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AA,EAAA,EAAA,EAAA,QAAA,ECxBjD,muCA+BA,EDVW,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,eAAe,+mCAAE,eAAe,EAAA,QAAA,EAAA,0BAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,SAAA,EAAA,UAAA,EAAA,QAAA,EAAA,SAAA,EAAA,MAAA,EAAA,UAAA,EAAA,OAAA,EAAA,MAAA,EAAA,MAAA,EAAA,SAAA,EAAA,OAAA,CAAA,EAAA,OAAA,EAAA,CAAA,YAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAE,eAAe,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAE,cAAc,EAAA,QAAA,EAAA,YAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,MAAA,EAAA,QAAA,EAAA,aAAA,EAAA,WAAA,EAAA,oBAAA,EAAA,aAAA,EAAA,qBAAA,EAAA,OAAA,EAAA,UAAA,EAAA,8BAAA,EAAA,sBAAA,EAAA,wBAAA,EAAA,wBAAA,EAAA,iBAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAG/D,oCAAoC,EAAA,UAAA,EAAA,CAAA;kBALhD,SAAS;iCACG,IAAI,EAAA,OAAA,EACP,CAAC,eAAe,EAAE,eAAe,EAAE,eAAe,EAAE,cAAc,CAAC,EAAA,QAAA,EAAA,muCAAA,EAAA,CAAA;;;AErB7E;;AAEG;;;;"}
|
|
@@ -71,6 +71,8 @@ class ExpandTableComponent {
|
|
|
71
71
|
this.checkboxSelection = input();
|
|
72
72
|
this.headerCheckboxSelection = input();
|
|
73
73
|
this.pageSize = input(10);
|
|
74
|
+
// PrimeNG varsayılanı 200px; 6 seçenekli liste ~261px yer istiyor ve son seçenekler gizli kalıyor
|
|
75
|
+
this.paginatorDropdownScrollHeight = input('320px');
|
|
74
76
|
this.proxy = input(ProxyTypes.Native);
|
|
75
77
|
this.showFooter = input(false);
|
|
76
78
|
this.tAlign = input('left');
|
|
@@ -115,11 +117,11 @@ class ExpandTableComponent {
|
|
|
115
117
|
this.tableRef.clear();
|
|
116
118
|
}
|
|
117
119
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: ExpandTableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
118
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.1.2", type: ExpandTableComponent, selector: "aril-expand-table", inputs: { kebabMenuItems: { classPropertyName: "kebabMenuItems", publicName: "kebabMenuItems", isSignal: false, isRequired: false, transformFunction: null }, checkExpandableFieldsArray: { classPropertyName: "checkExpandableFieldsArray", publicName: "checkExpandableFieldsArray", isSignal: false, isRequired: false, transformFunction: null }, data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: true, transformFunction: null }, colspan: { classPropertyName: "colspan", publicName: "colspan", isSignal: true, isRequired: true, transformFunction: null }, checkboxSelection: { classPropertyName: "checkboxSelection", publicName: "checkboxSelection", isSignal: true, isRequired: false, transformFunction: null }, headerCheckboxSelection: { classPropertyName: "headerCheckboxSelection", publicName: "headerCheckboxSelection", isSignal: true, isRequired: false, transformFunction: null }, pageSize: { classPropertyName: "pageSize", publicName: "pageSize", isSignal: true, isRequired: false, transformFunction: null }, proxy: { classPropertyName: "proxy", publicName: "proxy", isSignal: true, isRequired: false, transformFunction: null }, showFooter: { classPropertyName: "showFooter", publicName: "showFooter", isSignal: true, isRequired: false, transformFunction: null }, tAlign: { classPropertyName: "tAlign", publicName: "tAlign", isSignal: true, isRequired: false, transformFunction: null }, selectionMode: { classPropertyName: "selectionMode", publicName: "selectionMode", isSignal: true, isRequired: false, transformFunction: null }, showSearchTool: { classPropertyName: "showSearchTool", publicName: "showSearchTool", isSignal: true, isRequired: false, transformFunction: null }, showExportTool: { classPropertyName: "showExportTool", publicName: "showExportTool", isSignal: true, isRequired: false, transformFunction: null }, exportFileName: { classPropertyName: "exportFileName", publicName: "exportFileName", isSignal: true, isRequired: false, transformFunction: null }, noDataFoundLabel: { classPropertyName: "noDataFoundLabel", publicName: "noDataFoundLabel", isSignal: true, isRequired: false, transformFunction: null }, tableHeader: { classPropertyName: "tableHeader", publicName: "tableHeader", isSignal: true, isRequired: false, transformFunction: null }, showTableHeader: { classPropertyName: "showTableHeader", publicName: "showTableHeader", isSignal: true, isRequired: false, transformFunction: null }, isFirstRowSelected: { classPropertyName: "isFirstRowSelected", publicName: "isFirstRowSelected", isSignal: true, isRequired: false, transformFunction: null }, dataKey: { classPropertyName: "dataKey", publicName: "dataKey", isSignal: true, isRequired: true, transformFunction: null }, selectedRowsInput: { classPropertyName: "selectedRowsInput", publicName: "selectedRowsInput", isSignal: true, isRequired: false, transformFunction: null }, isLazy: { classPropertyName: "isLazy", publicName: "isLazy", isSignal: true, isRequired: false, transformFunction: null }, totalRecords: { classPropertyName: "totalRecords", publicName: "totalRecords", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onPageEvent: "onPageEvent", selectionEvent: "selectionEvent", lazyLoadEvent: "lazyLoadEvent" }, queries: [{ propertyName: "columns", predicate: ExpandTableColumnComponent }, { propertyName: "expandAreas", predicate: TableExpandAreaComponent }], viewQueries: [{ propertyName: "tableRef", first: true, predicate: Table, descendants: true }], ngImport: i0, template: "<p-table\n\t#ref\n\t[value]=\"data()\"\n\t[dataKey]=\"dataKey()\"\n\t[columns]=\"columns._results\"\n\t[rows]=\"pageSize()\"\n\t[rowHover]=\"true\"\n\t[paginator]=\"true\"\n\t[lazy]=\"isLazy()\"\n\t[lazyLoadOnInit]=\"false\"\n\t[totalRecords]=\"totalRecords()\"\n\t[rowsPerPageOptions]=\"[10, 20, 50, 100, 500, 1000]\"\n\t[filterDelay]=\"0\"\n\tsortMode=\"multiple\"\n\t(onPage)=\"onPageEvent.emit($event)\"\n\t(onLazyLoad)=\"handleLazyLoadEvent($event)\"\n\t[showCurrentPageReport]=\"true\"\n\tcurrentPageReportTemplate=\"Toplam : {totalRecords} kay\u0131t | Sayfa : {currentPage} / {totalPages}\"\n\tstyleClass=\"p-datatable-sm\">\n\t<ng-template pTemplate=\"header\" let-columns>\n\t\t<tr>\n\t\t\t<th>#</th>\n\t\t\t@for (column of columns; track $index) {\n\t\t\t\t@if (column.type() === 'operations') {\n\t\t\t\t\t<th>\n\t\t\t\t\t\t<div class=\"flex justify-content-center\">\u0130\u015Flemler</div>\n\t\t\t\t\t</th>\n\t\t\t\t} @else {\n\t\t\t\t\t<th [pSortableColumn]=\"column.field()\">\n\t\t\t\t\t\t<div class=\"flex justify-content-between align-items-center gap-2\">\n\t\t\t\t\t\t\t{{ column.header() }}\n\t\t\t\t\t\t\t<div class=\"flex\">\n\t\t\t\t\t\t\t\t@if (column.isShowHeaderTooltip()) {\n\t\t\t\t\t\t\t\t\t<i\n\t\t\t\t\t\t\t\t\t\tstyle=\"color: var(--primary-color); padding-top: 4px; padding-left: 4px\"\n\t\t\t\t\t\t\t\t\t\tclass=\"pi pi-question-circle\"\n\t\t\t\t\t\t\t\t\t\t[pTooltip]=\"column.tooltipTemplate()\"\n\t\t\t\t\t\t\t\t\t\ttooltipPosition=\"top\"></i>\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t@if (!isLazy()) {\n\t\t\t\t\t\t\t\t\t<p-sortIcon [field]=\"column.field()\"></p-sortIcon>\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</th>\n\t\t\t\t}\n\t\t\t}\n\t\t</tr>\n\t</ng-template>\n\t<ng-template pTemplate=\"body\" let-expandItem let-columns=\"columns\" let-expanded=\"expanded\">\n\t\t<tr>\n\t\t\t<td>\n\t\t\t\t@if (checkExpandableFieldsArray) {\n\t\t\t\t\t@if (expandItem[checkExpandableFieldsArray].length) {\n\t\t\t\t\t\t<button\n\t\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t\tpButton\n\t\t\t\t\t\t\tpRipple\n\t\t\t\t\t\t\t[pRowToggler]=\"expandItem\"\n\t\t\t\t\t\t\tclass=\"p-button-text p-button-rounded p-button-plain\"\n\t\t\t\t\t\t\t[icon]=\"expanded ? 'pi pi-chevron-down' : 'pi pi-chevron-right'\"></button>\n\t\t\t\t\t}\n\t\t\t\t} @else {\n\t\t\t\t\t<button\n\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\tpButton\n\t\t\t\t\t\tpRipple\n\t\t\t\t\t\t[pRowToggler]=\"expandItem\"\n\t\t\t\t\t\tclass=\"p-button-text p-button-rounded p-button-plain\"\n\t\t\t\t\t\t[icon]=\"expanded ? 'pi pi-chevron-down' : 'pi pi-chevron-right'\"></button>\n\t\t\t\t}\n\t\t\t</td>\n\t\t\t@for (column of columns; track $index) {\n\t\t\t\t<td [ngStyle]=\"{ 'text-align': column.type() === 'operations' ? 'center' : column.tAlign() || tAlign() }\">\n\t\t\t\t\t<ng-template ngFor [ngForOf]=\"[expandItem]\" [ngForTemplate]=\"column.template\"></ng-template>\n\t\t\t\t</td>\n\t\t\t}\n\t\t</tr>\n\t</ng-template>\n\t<ng-template pTemplate=\"rowexpansion\" let-columns=\"columns\" let-expandItem>\n\t\t<tr>\n\t\t\t<td [attr.colspan]=\"colspan()\">\n\t\t\t\t<div class=\"p-3\">\n\t\t\t\t\t<ng-template ngFor [ngForOf]=\"[expandItem]\" [ngForTemplate]=\"expandAreas._results[0].template\"></ng-template>\n\t\t\t\t</div>\n\t\t\t</td>\n\t\t</tr>\n\t</ng-template>\n\n\t@if (showFooter()) {\n\t\t<ng-template pTemplate=\"summary\">\n\t\t\t<ng-content select=\"[footer]\"></ng-content>\n\t\t</ng-template>\n\t}\n\n\t<ng-template pTemplate=\"emptymessage\">\n\t\t<tr>\n\t\t\t<td [attr.colspan]=\"columns._results.length\">{{ noDataFoundLabel() }}</td>\n\t\t</tr>\n\t</ng-template>\n</p-table>\n", dependencies: [{ kind: "component", type: i1.Table, selector: "p-table", inputs: ["frozenColumns", "frozenValue", "style", "styleClass", "tableStyle", "tableStyleClass", "paginator", "pageLinks", "rowsPerPageOptions", "alwaysShowPaginator", "paginatorPosition", "paginatorStyleClass", "paginatorDropdownAppendTo", "paginatorDropdownScrollHeight", "currentPageReportTemplate", "showCurrentPageReport", "showJumpToPageDropdown", "showJumpToPageInput", "showFirstLastIcon", "showPageLinks", "defaultSortOrder", "sortMode", "resetPageOnSort", "selectionMode", "selectionPageOnly", "contextMenuSelection", "contextMenuSelectionMode", "dataKey", "metaKeySelection", "rowSelectable", "rowTrackBy", "lazy", "lazyLoadOnInit", "compareSelectionBy", "csvSeparator", "exportFilename", "filters", "globalFilterFields", "filterDelay", "filterLocale", "expandedRowKeys", "editingRowKeys", "rowExpandMode", "scrollable", "scrollDirection", "rowGroupMode", "scrollHeight", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "virtualScrollDelay", "frozenWidth", "responsive", "contextMenu", "resizableColumns", "columnResizeMode", "reorderableColumns", "loading", "loadingIcon", "showLoader", "rowHover", "customSort", "showInitialSortBadge", "autoLayout", "exportFunction", "exportHeader", "stateKey", "stateStorage", "editMode", "groupRowsBy", "groupRowsByOrder", "responsiveLayout", "breakpoint", "paginatorLocale", "value", "columns", "first", "rows", "totalRecords", "sortField", "sortOrder", "multiSortMeta", "selection", "selectAll", "virtualRowHeight"], outputs: ["contextMenuSelectionChange", "selectAllChange", "selectionChange", "onRowSelect", "onRowUnselect", "onPage", "onSort", "onFilter", "onLazyLoad", "onRowExpand", "onRowCollapse", "onContextMenuSelect", "onColResize", "onColReorder", "onRowReorder", "onEditInit", "onEditComplete", "onEditCancel", "onHeaderCheckboxToggle", "sortFunction", "firstChange", "rowsChange", "onStateSave", "onStateRestore"] }, { kind: "directive", type: i2.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "directive", type: i1.SortableColumn, selector: "[pSortableColumn]", inputs: ["pSortableColumn", "pSortableColumnDisabled"] }, { kind: "directive", type: i1.RowToggler, selector: "[pRowToggler]", inputs: ["pRowToggler", "pRowTogglerDisabled"] }, { kind: "component", type: i1.SortIcon, selector: "p-sortIcon", inputs: ["field"] }, { kind: "directive", type: i3.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }, { kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i5.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "label", "icon", "loading", "severity", "raised", "rounded", "text", "outlined", "size", "plain"] }] }); }
|
|
120
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.1.2", type: ExpandTableComponent, selector: "aril-expand-table", inputs: { kebabMenuItems: { classPropertyName: "kebabMenuItems", publicName: "kebabMenuItems", isSignal: false, isRequired: false, transformFunction: null }, checkExpandableFieldsArray: { classPropertyName: "checkExpandableFieldsArray", publicName: "checkExpandableFieldsArray", isSignal: false, isRequired: false, transformFunction: null }, data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: true, transformFunction: null }, colspan: { classPropertyName: "colspan", publicName: "colspan", isSignal: true, isRequired: true, transformFunction: null }, checkboxSelection: { classPropertyName: "checkboxSelection", publicName: "checkboxSelection", isSignal: true, isRequired: false, transformFunction: null }, headerCheckboxSelection: { classPropertyName: "headerCheckboxSelection", publicName: "headerCheckboxSelection", isSignal: true, isRequired: false, transformFunction: null }, pageSize: { classPropertyName: "pageSize", publicName: "pageSize", isSignal: true, isRequired: false, transformFunction: null }, paginatorDropdownScrollHeight: { classPropertyName: "paginatorDropdownScrollHeight", publicName: "paginatorDropdownScrollHeight", isSignal: true, isRequired: false, transformFunction: null }, proxy: { classPropertyName: "proxy", publicName: "proxy", isSignal: true, isRequired: false, transformFunction: null }, showFooter: { classPropertyName: "showFooter", publicName: "showFooter", isSignal: true, isRequired: false, transformFunction: null }, tAlign: { classPropertyName: "tAlign", publicName: "tAlign", isSignal: true, isRequired: false, transformFunction: null }, selectionMode: { classPropertyName: "selectionMode", publicName: "selectionMode", isSignal: true, isRequired: false, transformFunction: null }, showSearchTool: { classPropertyName: "showSearchTool", publicName: "showSearchTool", isSignal: true, isRequired: false, transformFunction: null }, showExportTool: { classPropertyName: "showExportTool", publicName: "showExportTool", isSignal: true, isRequired: false, transformFunction: null }, exportFileName: { classPropertyName: "exportFileName", publicName: "exportFileName", isSignal: true, isRequired: false, transformFunction: null }, noDataFoundLabel: { classPropertyName: "noDataFoundLabel", publicName: "noDataFoundLabel", isSignal: true, isRequired: false, transformFunction: null }, tableHeader: { classPropertyName: "tableHeader", publicName: "tableHeader", isSignal: true, isRequired: false, transformFunction: null }, showTableHeader: { classPropertyName: "showTableHeader", publicName: "showTableHeader", isSignal: true, isRequired: false, transformFunction: null }, isFirstRowSelected: { classPropertyName: "isFirstRowSelected", publicName: "isFirstRowSelected", isSignal: true, isRequired: false, transformFunction: null }, dataKey: { classPropertyName: "dataKey", publicName: "dataKey", isSignal: true, isRequired: true, transformFunction: null }, selectedRowsInput: { classPropertyName: "selectedRowsInput", publicName: "selectedRowsInput", isSignal: true, isRequired: false, transformFunction: null }, isLazy: { classPropertyName: "isLazy", publicName: "isLazy", isSignal: true, isRequired: false, transformFunction: null }, totalRecords: { classPropertyName: "totalRecords", publicName: "totalRecords", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onPageEvent: "onPageEvent", selectionEvent: "selectionEvent", lazyLoadEvent: "lazyLoadEvent" }, queries: [{ propertyName: "columns", predicate: ExpandTableColumnComponent }, { propertyName: "expandAreas", predicate: TableExpandAreaComponent }], viewQueries: [{ propertyName: "tableRef", first: true, predicate: Table, descendants: true }], ngImport: i0, template: "<p-table\n\t#ref\n\t[value]=\"data()\"\n\t[dataKey]=\"dataKey()\"\n\t[columns]=\"columns._results\"\n\t[rows]=\"pageSize()\"\n\t[rowHover]=\"true\"\n\t[paginator]=\"true\"\n\t[lazy]=\"isLazy()\"\n\t[lazyLoadOnInit]=\"false\"\n\t[totalRecords]=\"totalRecords()\"\n\t[rowsPerPageOptions]=\"[10, 20, 50, 100, 500, 1000]\"\n\t[paginatorDropdownScrollHeight]=\"paginatorDropdownScrollHeight()\"\n\t[filterDelay]=\"0\"\n\tsortMode=\"multiple\"\n\t(onPage)=\"onPageEvent.emit($event)\"\n\t(onLazyLoad)=\"handleLazyLoadEvent($event)\"\n\t[showCurrentPageReport]=\"true\"\n\tcurrentPageReportTemplate=\"Toplam : {totalRecords} kay\u0131t | Sayfa : {currentPage} / {totalPages}\"\n\tstyleClass=\"p-datatable-sm\">\n\t<ng-template pTemplate=\"header\" let-columns>\n\t\t<tr>\n\t\t\t<th>#</th>\n\t\t\t@for (column of columns; track $index) {\n\t\t\t\t@if (column.type() === 'operations') {\n\t\t\t\t\t<th>\n\t\t\t\t\t\t<div class=\"flex justify-content-center\">\u0130\u015Flemler</div>\n\t\t\t\t\t</th>\n\t\t\t\t} @else {\n\t\t\t\t\t<th [pSortableColumn]=\"column.field()\">\n\t\t\t\t\t\t<div class=\"flex justify-content-between align-items-center gap-2\">\n\t\t\t\t\t\t\t{{ column.header() }}\n\t\t\t\t\t\t\t<div class=\"flex\">\n\t\t\t\t\t\t\t\t@if (column.isShowHeaderTooltip()) {\n\t\t\t\t\t\t\t\t\t<i\n\t\t\t\t\t\t\t\t\t\tstyle=\"color: var(--primary-color); padding-top: 4px; padding-left: 4px\"\n\t\t\t\t\t\t\t\t\t\tclass=\"pi pi-question-circle\"\n\t\t\t\t\t\t\t\t\t\t[pTooltip]=\"column.tooltipTemplate()\"\n\t\t\t\t\t\t\t\t\t\ttooltipPosition=\"top\"></i>\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t@if (!isLazy()) {\n\t\t\t\t\t\t\t\t\t<p-sortIcon [field]=\"column.field()\"></p-sortIcon>\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</th>\n\t\t\t\t}\n\t\t\t}\n\t\t</tr>\n\t</ng-template>\n\t<ng-template pTemplate=\"body\" let-expandItem let-columns=\"columns\" let-expanded=\"expanded\">\n\t\t<tr>\n\t\t\t<td>\n\t\t\t\t@if (checkExpandableFieldsArray) {\n\t\t\t\t\t@if (expandItem[checkExpandableFieldsArray].length) {\n\t\t\t\t\t\t<button\n\t\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t\tpButton\n\t\t\t\t\t\t\tpRipple\n\t\t\t\t\t\t\t[pRowToggler]=\"expandItem\"\n\t\t\t\t\t\t\tclass=\"p-button-text p-button-rounded p-button-plain\"\n\t\t\t\t\t\t\t[icon]=\"expanded ? 'pi pi-chevron-down' : 'pi pi-chevron-right'\"></button>\n\t\t\t\t\t}\n\t\t\t\t} @else {\n\t\t\t\t\t<button\n\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\tpButton\n\t\t\t\t\t\tpRipple\n\t\t\t\t\t\t[pRowToggler]=\"expandItem\"\n\t\t\t\t\t\tclass=\"p-button-text p-button-rounded p-button-plain\"\n\t\t\t\t\t\t[icon]=\"expanded ? 'pi pi-chevron-down' : 'pi pi-chevron-right'\"></button>\n\t\t\t\t}\n\t\t\t</td>\n\t\t\t@for (column of columns; track $index) {\n\t\t\t\t<td [ngStyle]=\"{ 'text-align': column.type() === 'operations' ? 'center' : column.tAlign() || tAlign() }\">\n\t\t\t\t\t<ng-template ngFor [ngForOf]=\"[expandItem]\" [ngForTemplate]=\"column.template\"></ng-template>\n\t\t\t\t</td>\n\t\t\t}\n\t\t</tr>\n\t</ng-template>\n\t<ng-template pTemplate=\"rowexpansion\" let-columns=\"columns\" let-expandItem>\n\t\t<tr>\n\t\t\t<td [attr.colspan]=\"colspan()\">\n\t\t\t\t<div class=\"p-3\">\n\t\t\t\t\t<ng-template ngFor [ngForOf]=\"[expandItem]\" [ngForTemplate]=\"expandAreas._results[0].template\"></ng-template>\n\t\t\t\t</div>\n\t\t\t</td>\n\t\t</tr>\n\t</ng-template>\n\n\t@if (showFooter()) {\n\t\t<ng-template pTemplate=\"summary\">\n\t\t\t<ng-content select=\"[footer]\"></ng-content>\n\t\t</ng-template>\n\t}\n\n\t<ng-template pTemplate=\"emptymessage\">\n\t\t<tr>\n\t\t\t<td [attr.colspan]=\"columns._results.length\">{{ noDataFoundLabel() }}</td>\n\t\t</tr>\n\t</ng-template>\n</p-table>\n", dependencies: [{ kind: "component", type: i1.Table, selector: "p-table", inputs: ["frozenColumns", "frozenValue", "style", "styleClass", "tableStyle", "tableStyleClass", "paginator", "pageLinks", "rowsPerPageOptions", "alwaysShowPaginator", "paginatorPosition", "paginatorStyleClass", "paginatorDropdownAppendTo", "paginatorDropdownScrollHeight", "currentPageReportTemplate", "showCurrentPageReport", "showJumpToPageDropdown", "showJumpToPageInput", "showFirstLastIcon", "showPageLinks", "defaultSortOrder", "sortMode", "resetPageOnSort", "selectionMode", "selectionPageOnly", "contextMenuSelection", "contextMenuSelectionMode", "dataKey", "metaKeySelection", "rowSelectable", "rowTrackBy", "lazy", "lazyLoadOnInit", "compareSelectionBy", "csvSeparator", "exportFilename", "filters", "globalFilterFields", "filterDelay", "filterLocale", "expandedRowKeys", "editingRowKeys", "rowExpandMode", "scrollable", "scrollDirection", "rowGroupMode", "scrollHeight", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "virtualScrollDelay", "frozenWidth", "responsive", "contextMenu", "resizableColumns", "columnResizeMode", "reorderableColumns", "loading", "loadingIcon", "showLoader", "rowHover", "customSort", "showInitialSortBadge", "autoLayout", "exportFunction", "exportHeader", "stateKey", "stateStorage", "editMode", "groupRowsBy", "groupRowsByOrder", "responsiveLayout", "breakpoint", "paginatorLocale", "value", "columns", "first", "rows", "totalRecords", "sortField", "sortOrder", "multiSortMeta", "selection", "selectAll", "virtualRowHeight"], outputs: ["contextMenuSelectionChange", "selectAllChange", "selectionChange", "onRowSelect", "onRowUnselect", "onPage", "onSort", "onFilter", "onLazyLoad", "onRowExpand", "onRowCollapse", "onContextMenuSelect", "onColResize", "onColReorder", "onRowReorder", "onEditInit", "onEditComplete", "onEditCancel", "onHeaderCheckboxToggle", "sortFunction", "firstChange", "rowsChange", "onStateSave", "onStateRestore"] }, { kind: "directive", type: i2.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "directive", type: i1.SortableColumn, selector: "[pSortableColumn]", inputs: ["pSortableColumn", "pSortableColumnDisabled"] }, { kind: "directive", type: i1.RowToggler, selector: "[pRowToggler]", inputs: ["pRowToggler", "pRowTogglerDisabled"] }, { kind: "component", type: i1.SortIcon, selector: "p-sortIcon", inputs: ["field"] }, { kind: "directive", type: i3.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }, { kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i5.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "label", "icon", "loading", "severity", "raised", "rounded", "text", "outlined", "size", "plain"] }] }); }
|
|
119
121
|
}
|
|
120
122
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: ExpandTableComponent, decorators: [{
|
|
121
123
|
type: Component,
|
|
122
|
-
args: [{ selector: 'aril-expand-table', template: "<p-table\n\t#ref\n\t[value]=\"data()\"\n\t[dataKey]=\"dataKey()\"\n\t[columns]=\"columns._results\"\n\t[rows]=\"pageSize()\"\n\t[rowHover]=\"true\"\n\t[paginator]=\"true\"\n\t[lazy]=\"isLazy()\"\n\t[lazyLoadOnInit]=\"false\"\n\t[totalRecords]=\"totalRecords()\"\n\t[rowsPerPageOptions]=\"[10, 20, 50, 100, 500, 1000]\"\n\t[filterDelay]=\"0\"\n\tsortMode=\"multiple\"\n\t(onPage)=\"onPageEvent.emit($event)\"\n\t(onLazyLoad)=\"handleLazyLoadEvent($event)\"\n\t[showCurrentPageReport]=\"true\"\n\tcurrentPageReportTemplate=\"Toplam : {totalRecords} kay\u0131t | Sayfa : {currentPage} / {totalPages}\"\n\tstyleClass=\"p-datatable-sm\">\n\t<ng-template pTemplate=\"header\" let-columns>\n\t\t<tr>\n\t\t\t<th>#</th>\n\t\t\t@for (column of columns; track $index) {\n\t\t\t\t@if (column.type() === 'operations') {\n\t\t\t\t\t<th>\n\t\t\t\t\t\t<div class=\"flex justify-content-center\">\u0130\u015Flemler</div>\n\t\t\t\t\t</th>\n\t\t\t\t} @else {\n\t\t\t\t\t<th [pSortableColumn]=\"column.field()\">\n\t\t\t\t\t\t<div class=\"flex justify-content-between align-items-center gap-2\">\n\t\t\t\t\t\t\t{{ column.header() }}\n\t\t\t\t\t\t\t<div class=\"flex\">\n\t\t\t\t\t\t\t\t@if (column.isShowHeaderTooltip()) {\n\t\t\t\t\t\t\t\t\t<i\n\t\t\t\t\t\t\t\t\t\tstyle=\"color: var(--primary-color); padding-top: 4px; padding-left: 4px\"\n\t\t\t\t\t\t\t\t\t\tclass=\"pi pi-question-circle\"\n\t\t\t\t\t\t\t\t\t\t[pTooltip]=\"column.tooltipTemplate()\"\n\t\t\t\t\t\t\t\t\t\ttooltipPosition=\"top\"></i>\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t@if (!isLazy()) {\n\t\t\t\t\t\t\t\t\t<p-sortIcon [field]=\"column.field()\"></p-sortIcon>\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</th>\n\t\t\t\t}\n\t\t\t}\n\t\t</tr>\n\t</ng-template>\n\t<ng-template pTemplate=\"body\" let-expandItem let-columns=\"columns\" let-expanded=\"expanded\">\n\t\t<tr>\n\t\t\t<td>\n\t\t\t\t@if (checkExpandableFieldsArray) {\n\t\t\t\t\t@if (expandItem[checkExpandableFieldsArray].length) {\n\t\t\t\t\t\t<button\n\t\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t\tpButton\n\t\t\t\t\t\t\tpRipple\n\t\t\t\t\t\t\t[pRowToggler]=\"expandItem\"\n\t\t\t\t\t\t\tclass=\"p-button-text p-button-rounded p-button-plain\"\n\t\t\t\t\t\t\t[icon]=\"expanded ? 'pi pi-chevron-down' : 'pi pi-chevron-right'\"></button>\n\t\t\t\t\t}\n\t\t\t\t} @else {\n\t\t\t\t\t<button\n\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\tpButton\n\t\t\t\t\t\tpRipple\n\t\t\t\t\t\t[pRowToggler]=\"expandItem\"\n\t\t\t\t\t\tclass=\"p-button-text p-button-rounded p-button-plain\"\n\t\t\t\t\t\t[icon]=\"expanded ? 'pi pi-chevron-down' : 'pi pi-chevron-right'\"></button>\n\t\t\t\t}\n\t\t\t</td>\n\t\t\t@for (column of columns; track $index) {\n\t\t\t\t<td [ngStyle]=\"{ 'text-align': column.type() === 'operations' ? 'center' : column.tAlign() || tAlign() }\">\n\t\t\t\t\t<ng-template ngFor [ngForOf]=\"[expandItem]\" [ngForTemplate]=\"column.template\"></ng-template>\n\t\t\t\t</td>\n\t\t\t}\n\t\t</tr>\n\t</ng-template>\n\t<ng-template pTemplate=\"rowexpansion\" let-columns=\"columns\" let-expandItem>\n\t\t<tr>\n\t\t\t<td [attr.colspan]=\"colspan()\">\n\t\t\t\t<div class=\"p-3\">\n\t\t\t\t\t<ng-template ngFor [ngForOf]=\"[expandItem]\" [ngForTemplate]=\"expandAreas._results[0].template\"></ng-template>\n\t\t\t\t</div>\n\t\t\t</td>\n\t\t</tr>\n\t</ng-template>\n\n\t@if (showFooter()) {\n\t\t<ng-template pTemplate=\"summary\">\n\t\t\t<ng-content select=\"[footer]\"></ng-content>\n\t\t</ng-template>\n\t}\n\n\t<ng-template pTemplate=\"emptymessage\">\n\t\t<tr>\n\t\t\t<td [attr.colspan]=\"columns._results.length\">{{ noDataFoundLabel() }}</td>\n\t\t</tr>\n\t</ng-template>\n</p-table>\n" }]
|
|
124
|
+
args: [{ selector: 'aril-expand-table', template: "<p-table\n\t#ref\n\t[value]=\"data()\"\n\t[dataKey]=\"dataKey()\"\n\t[columns]=\"columns._results\"\n\t[rows]=\"pageSize()\"\n\t[rowHover]=\"true\"\n\t[paginator]=\"true\"\n\t[lazy]=\"isLazy()\"\n\t[lazyLoadOnInit]=\"false\"\n\t[totalRecords]=\"totalRecords()\"\n\t[rowsPerPageOptions]=\"[10, 20, 50, 100, 500, 1000]\"\n\t[paginatorDropdownScrollHeight]=\"paginatorDropdownScrollHeight()\"\n\t[filterDelay]=\"0\"\n\tsortMode=\"multiple\"\n\t(onPage)=\"onPageEvent.emit($event)\"\n\t(onLazyLoad)=\"handleLazyLoadEvent($event)\"\n\t[showCurrentPageReport]=\"true\"\n\tcurrentPageReportTemplate=\"Toplam : {totalRecords} kay\u0131t | Sayfa : {currentPage} / {totalPages}\"\n\tstyleClass=\"p-datatable-sm\">\n\t<ng-template pTemplate=\"header\" let-columns>\n\t\t<tr>\n\t\t\t<th>#</th>\n\t\t\t@for (column of columns; track $index) {\n\t\t\t\t@if (column.type() === 'operations') {\n\t\t\t\t\t<th>\n\t\t\t\t\t\t<div class=\"flex justify-content-center\">\u0130\u015Flemler</div>\n\t\t\t\t\t</th>\n\t\t\t\t} @else {\n\t\t\t\t\t<th [pSortableColumn]=\"column.field()\">\n\t\t\t\t\t\t<div class=\"flex justify-content-between align-items-center gap-2\">\n\t\t\t\t\t\t\t{{ column.header() }}\n\t\t\t\t\t\t\t<div class=\"flex\">\n\t\t\t\t\t\t\t\t@if (column.isShowHeaderTooltip()) {\n\t\t\t\t\t\t\t\t\t<i\n\t\t\t\t\t\t\t\t\t\tstyle=\"color: var(--primary-color); padding-top: 4px; padding-left: 4px\"\n\t\t\t\t\t\t\t\t\t\tclass=\"pi pi-question-circle\"\n\t\t\t\t\t\t\t\t\t\t[pTooltip]=\"column.tooltipTemplate()\"\n\t\t\t\t\t\t\t\t\t\ttooltipPosition=\"top\"></i>\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t@if (!isLazy()) {\n\t\t\t\t\t\t\t\t\t<p-sortIcon [field]=\"column.field()\"></p-sortIcon>\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</th>\n\t\t\t\t}\n\t\t\t}\n\t\t</tr>\n\t</ng-template>\n\t<ng-template pTemplate=\"body\" let-expandItem let-columns=\"columns\" let-expanded=\"expanded\">\n\t\t<tr>\n\t\t\t<td>\n\t\t\t\t@if (checkExpandableFieldsArray) {\n\t\t\t\t\t@if (expandItem[checkExpandableFieldsArray].length) {\n\t\t\t\t\t\t<button\n\t\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t\tpButton\n\t\t\t\t\t\t\tpRipple\n\t\t\t\t\t\t\t[pRowToggler]=\"expandItem\"\n\t\t\t\t\t\t\tclass=\"p-button-text p-button-rounded p-button-plain\"\n\t\t\t\t\t\t\t[icon]=\"expanded ? 'pi pi-chevron-down' : 'pi pi-chevron-right'\"></button>\n\t\t\t\t\t}\n\t\t\t\t} @else {\n\t\t\t\t\t<button\n\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\tpButton\n\t\t\t\t\t\tpRipple\n\t\t\t\t\t\t[pRowToggler]=\"expandItem\"\n\t\t\t\t\t\tclass=\"p-button-text p-button-rounded p-button-plain\"\n\t\t\t\t\t\t[icon]=\"expanded ? 'pi pi-chevron-down' : 'pi pi-chevron-right'\"></button>\n\t\t\t\t}\n\t\t\t</td>\n\t\t\t@for (column of columns; track $index) {\n\t\t\t\t<td [ngStyle]=\"{ 'text-align': column.type() === 'operations' ? 'center' : column.tAlign() || tAlign() }\">\n\t\t\t\t\t<ng-template ngFor [ngForOf]=\"[expandItem]\" [ngForTemplate]=\"column.template\"></ng-template>\n\t\t\t\t</td>\n\t\t\t}\n\t\t</tr>\n\t</ng-template>\n\t<ng-template pTemplate=\"rowexpansion\" let-columns=\"columns\" let-expandItem>\n\t\t<tr>\n\t\t\t<td [attr.colspan]=\"colspan()\">\n\t\t\t\t<div class=\"p-3\">\n\t\t\t\t\t<ng-template ngFor [ngForOf]=\"[expandItem]\" [ngForTemplate]=\"expandAreas._results[0].template\"></ng-template>\n\t\t\t\t</div>\n\t\t\t</td>\n\t\t</tr>\n\t</ng-template>\n\n\t@if (showFooter()) {\n\t\t<ng-template pTemplate=\"summary\">\n\t\t\t<ng-content select=\"[footer]\"></ng-content>\n\t\t</ng-template>\n\t}\n\n\t<ng-template pTemplate=\"emptymessage\">\n\t\t<tr>\n\t\t\t<td [attr.colspan]=\"columns._results.length\">{{ noDataFoundLabel() }}</td>\n\t\t</tr>\n\t</ng-template>\n</p-table>\n" }]
|
|
123
125
|
}], ctorParameters: () => [], propDecorators: { onPageEvent: [{
|
|
124
126
|
type: Output
|
|
125
127
|
}], selectionEvent: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aril-ui-table-expand.mjs","sources":["../../projects/aril/ui/table-expand/src/table-column.component.ts","../../projects/aril/ui/table-expand/src/table-expand-area.component.ts","../../projects/aril/ui/table-expand/src/table.component.ts","../../projects/aril/ui/table-expand/src/table.component.html","../../projects/aril/ui/table-expand/index.ts","../../projects/aril/ui/table-expand/aril-ui-table-expand.ts"],"sourcesContent":["import { Component, ContentChild, TemplateRef, input } from '@angular/core';\r\n\r\ntype ValueTypes = 'text' | 'numeric' | 'date' | 'boolean' | 'custom' | 'operations';\r\nexport type AlignTypes = 'left' | 'right' | 'center';\r\n\r\nexport interface TableColumns {\r\n\t_results: Array<TableColumn>;\r\n}\r\ninterface TableColumn {\r\n\tfield: string;\r\n\theader: string;\r\n\ttype: ValueTypes;\r\n\tisOperation?: boolean;\r\n\tisShowHeaderTooltip?: boolean;\r\n\ttooltipTemplate?: TemplateRef<any>;\r\n\ttemplate: TemplateRef<any>;\r\n}\r\n\r\n@Component({\r\n\tselector: 'aril-expand-table-column',\r\n\ttemplate: ` <ng-content></ng-content> `\r\n})\r\nexport class ExpandTableColumnComponent {\r\n\ttype = input<ValueTypes>('text');\r\n\tfield = input.required<string>();\r\n\theader = input.required<string>();\r\n\ttAlign = input<AlignTypes>();\r\n\tisShowHeaderTooltip = input<boolean>(false);\r\n\ttooltipTemplate = input<TemplateRef<any>>();\r\n\r\n\t@ContentChild(TemplateRef) template: any;\r\n}\r\n","import { Component, ContentChild, TemplateRef, input } from '@angular/core';\r\n\r\n// type ValueTypes = 'text' | 'numeric' | 'date' | 'boolean' | 'custom' | 'operations';\r\n\r\nexport interface ExpandAreas {\r\n\t_results: Array<ExpandArea>;\r\n}\r\ninterface ExpandArea {\r\n\ttemplate: TemplateRef<any>;\r\n}\r\n\r\n@Component({\r\n\tselector: 'aril-expand-area-template',\r\n\ttemplate: ` <ng-content></ng-content> `\r\n})\r\nexport class TableExpandAreaComponent {\r\n\t@ContentChild(TemplateRef) template: any;\r\n}\r\n","import { Component, ContentChildren, EventEmitter, Input, Output, ViewChild, effect, input } from '@angular/core';\n\nimport { MenuItem } from 'primeng/api';\nimport { Table } from 'primeng/table';\n\nimport { ProxyTypes } from 'aril/http';\n\nimport { AlignTypes, ExpandTableColumnComponent, TableColumns } from './table-column.component';\nimport { ExpandAreas, TableExpandAreaComponent } from './table-expand-area.component';\n\n/* TODO :\n * server-side-proxy (ProxyTypes.ServerSide)\n * search & colum filter & sort\n * pagination operation\n * Query Signals\n */\nconst pageOptions = [10, 20, 50, 100, 500, 1000] as const;\n\ntype SelectionTypes = 'single' | 'multiple';\n\n@Component({\n\tselector: 'aril-expand-table',\n\ttemplateUrl: './table.component.html'\n})\nexport class ExpandTableComponent {\n\t@Output() onPageEvent: EventEmitter<any> = new EventEmitter<any>();\n\t@Output() selectionEvent: EventEmitter<any> = new EventEmitter<any>();\n\t@Output() lazyLoadEvent: EventEmitter<any> = new EventEmitter<any>();\n\t@ContentChildren(ExpandTableColumnComponent) columns!: TableColumns;\n\t@ContentChildren(TableExpandAreaComponent) expandAreas!: ExpandAreas;\n\n\t@ViewChild(Table) tableRef!: Table;\n\t@Input() kebabMenuItems: MenuItem[] = [];\n\t@Input() checkExpandableFieldsArray!: string;\n\n\tdata = input.required<any[]>();\n\tcolspan = input.required<string>();\n\tcheckboxSelection = input<boolean>();\n\theaderCheckboxSelection = input<boolean>();\n\tpageSize = input<(typeof pageOptions)[number]>(10);\n\tproxy = input<ProxyTypes>(ProxyTypes.Native);\n\tshowFooter = input<boolean>(false);\n\ttAlign = input<AlignTypes>('left');\n\tselectionMode = input<SelectionTypes>();\n\tshowSearchTool = input<boolean>(true);\n\tshowExportTool = input<boolean>(true);\n\texportFileName = input<string>('');\n\tnoDataFoundLabel = input<string>('No Data Found');\n\ttableHeader = input<string>('');\n\tshowTableHeader = input<boolean>(false);\n\tisFirstRowSelected = input<boolean>(false);\n\tdataKey = input.required<string>();\n\tselectedRowsInput = input<any>([]);\n\tisLazy = input<boolean>(false);\n\ttotalRecords = input<number>(0);\n\n\tfilterText!: string;\n\tselectedRows: any;\n\tpageOptions = pageOptions;\n\n\tconstructor() {\n\t\teffect(() => {\n\t\t\tif (this.isFirstRowSelected() && this.data()) {\n\t\t\t\tthis.selectedRows = this.data()[0];\n\t\t\t\tthis.selectionEvent.emit(this.selectedRows);\n\t\t\t}\n\t\t});\n\n\t\teffect(() => {\n\t\t\tif (this.selectedRowsInput()) {\n\t\t\t\tthis.selectedRows = this.selectedRowsInput();\n\t\t\t}\n\t\t});\n\t}\n\n\thandleLazyLoadEvent(event: any): void {\n\t\tconst newEventData = {\n\t\t\tpager: {\n\t\t\t\tpageSize: event.rows,\n\t\t\t\tpageNumber: event.first / event.rows + 1\n\t\t\t},\n\t\t\tsort: event.multiSortMeta,\n\t\t\tfilter: event.filters\n\t\t};\n\t\tthis.lazyLoadEvent.emit(newEventData);\n\t}\n\n\tclear() {\n\t\tthis.tableRef.value = [];\n\t\tthis.tableRef.clear();\n\t}\n}\n","<p-table\n\t#ref\n\t[value]=\"data()\"\n\t[dataKey]=\"dataKey()\"\n\t[columns]=\"columns._results\"\n\t[rows]=\"pageSize()\"\n\t[rowHover]=\"true\"\n\t[paginator]=\"true\"\n\t[lazy]=\"isLazy()\"\n\t[lazyLoadOnInit]=\"false\"\n\t[totalRecords]=\"totalRecords()\"\n\t[rowsPerPageOptions]=\"[10, 20, 50, 100, 500, 1000]\"\n\t[filterDelay]=\"0\"\n\tsortMode=\"multiple\"\n\t(onPage)=\"onPageEvent.emit($event)\"\n\t(onLazyLoad)=\"handleLazyLoadEvent($event)\"\n\t[showCurrentPageReport]=\"true\"\n\tcurrentPageReportTemplate=\"Toplam : {totalRecords} kayıt | Sayfa : {currentPage} / {totalPages}\"\n\tstyleClass=\"p-datatable-sm\">\n\t<ng-template pTemplate=\"header\" let-columns>\n\t\t<tr>\n\t\t\t<th>#</th>\n\t\t\t@for (column of columns; track $index) {\n\t\t\t\t@if (column.type() === 'operations') {\n\t\t\t\t\t<th>\n\t\t\t\t\t\t<div class=\"flex justify-content-center\">İşlemler</div>\n\t\t\t\t\t</th>\n\t\t\t\t} @else {\n\t\t\t\t\t<th [pSortableColumn]=\"column.field()\">\n\t\t\t\t\t\t<div class=\"flex justify-content-between align-items-center gap-2\">\n\t\t\t\t\t\t\t{{ column.header() }}\n\t\t\t\t\t\t\t<div class=\"flex\">\n\t\t\t\t\t\t\t\t@if (column.isShowHeaderTooltip()) {\n\t\t\t\t\t\t\t\t\t<i\n\t\t\t\t\t\t\t\t\t\tstyle=\"color: var(--primary-color); padding-top: 4px; padding-left: 4px\"\n\t\t\t\t\t\t\t\t\t\tclass=\"pi pi-question-circle\"\n\t\t\t\t\t\t\t\t\t\t[pTooltip]=\"column.tooltipTemplate()\"\n\t\t\t\t\t\t\t\t\t\ttooltipPosition=\"top\"></i>\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t@if (!isLazy()) {\n\t\t\t\t\t\t\t\t\t<p-sortIcon [field]=\"column.field()\"></p-sortIcon>\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</th>\n\t\t\t\t}\n\t\t\t}\n\t\t</tr>\n\t</ng-template>\n\t<ng-template pTemplate=\"body\" let-expandItem let-columns=\"columns\" let-expanded=\"expanded\">\n\t\t<tr>\n\t\t\t<td>\n\t\t\t\t@if (checkExpandableFieldsArray) {\n\t\t\t\t\t@if (expandItem[checkExpandableFieldsArray].length) {\n\t\t\t\t\t\t<button\n\t\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t\tpButton\n\t\t\t\t\t\t\tpRipple\n\t\t\t\t\t\t\t[pRowToggler]=\"expandItem\"\n\t\t\t\t\t\t\tclass=\"p-button-text p-button-rounded p-button-plain\"\n\t\t\t\t\t\t\t[icon]=\"expanded ? 'pi pi-chevron-down' : 'pi pi-chevron-right'\"></button>\n\t\t\t\t\t}\n\t\t\t\t} @else {\n\t\t\t\t\t<button\n\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\tpButton\n\t\t\t\t\t\tpRipple\n\t\t\t\t\t\t[pRowToggler]=\"expandItem\"\n\t\t\t\t\t\tclass=\"p-button-text p-button-rounded p-button-plain\"\n\t\t\t\t\t\t[icon]=\"expanded ? 'pi pi-chevron-down' : 'pi pi-chevron-right'\"></button>\n\t\t\t\t}\n\t\t\t</td>\n\t\t\t@for (column of columns; track $index) {\n\t\t\t\t<td [ngStyle]=\"{ 'text-align': column.type() === 'operations' ? 'center' : column.tAlign() || tAlign() }\">\n\t\t\t\t\t<ng-template ngFor [ngForOf]=\"[expandItem]\" [ngForTemplate]=\"column.template\"></ng-template>\n\t\t\t\t</td>\n\t\t\t}\n\t\t</tr>\n\t</ng-template>\n\t<ng-template pTemplate=\"rowexpansion\" let-columns=\"columns\" let-expandItem>\n\t\t<tr>\n\t\t\t<td [attr.colspan]=\"colspan()\">\n\t\t\t\t<div class=\"p-3\">\n\t\t\t\t\t<ng-template ngFor [ngForOf]=\"[expandItem]\" [ngForTemplate]=\"expandAreas._results[0].template\"></ng-template>\n\t\t\t\t</div>\n\t\t\t</td>\n\t\t</tr>\n\t</ng-template>\n\n\t@if (showFooter()) {\n\t\t<ng-template pTemplate=\"summary\">\n\t\t\t<ng-content select=\"[footer]\"></ng-content>\n\t\t</ng-template>\n\t}\n\n\t<ng-template pTemplate=\"emptymessage\">\n\t\t<tr>\n\t\t\t<td [attr.colspan]=\"columns._results.length\">{{ noDataFoundLabel() }}</td>\n\t\t</tr>\n\t</ng-template>\n</p-table>\n","import { JsonPipe, NgFor, NgForOf, NgStyle, NgTemplateOutlet } from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { FormsModule } from '@angular/forms';\r\n\r\nimport { TableModule } from 'primeng/table';\r\nimport { TooltipModule } from 'primeng/tooltip';\r\n\r\nimport { ButtonComponent } from 'aril/ui/button';\r\nimport { TextComponent } from 'aril/ui/text';\r\n\r\nimport { ExpandTableColumnComponent } from './src/table-column.component';\r\nimport { ExpandTableComponent } from './src/table.component';\r\nimport { Menu, MenuModule } from 'primeng/menu';\r\nimport { ButtonModule } from 'primeng/button';\r\nimport { TableExpandAreaComponent } from './src/table-expand-area.component';\r\n\r\nexport * from './src/table.component';\r\nexport * from './src/table-column.component';\r\nexport * from './src/table-expand-area.component'\r\n\r\nconst components = [ExpandTableComponent, ExpandTableColumnComponent, TableExpandAreaComponent];\r\n\r\n@NgModule({\r\n\timports: [\r\n\t\tTableModule,\r\n\t\tTooltipModule,\r\n\t\tButtonComponent,\r\n\t\tTextComponent,\r\n\t\tFormsModule,\r\n\t\tNgFor,\r\n\t\tNgForOf,\r\n\t\tNgStyle,\r\n\t\tNgTemplateOutlet,\r\n\t\tButtonModule,\r\n\t\tMenuModule,\r\n\t\tJsonPipe\r\n\t],\r\n\texports: [components],\r\n\tdeclarations: [components]\r\n})\r\nexport class ARiLExpandTableModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;MAsBa,0BAA0B,CAAA;AAJvC,IAAA,WAAA,GAAA;AAKC,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAa,MAAM,CAAC,CAAC;AACjC,QAAA,IAAA,CAAA,KAAK,GAAG,KAAK,CAAC,QAAQ,EAAU,CAAC;AACjC,QAAA,IAAA,CAAA,MAAM,GAAG,KAAK,CAAC,QAAQ,EAAU,CAAC;QAClC,IAAM,CAAA,MAAA,GAAG,KAAK,EAAc,CAAC;AAC7B,QAAA,IAAA,CAAA,mBAAmB,GAAG,KAAK,CAAU,KAAK,CAAC,CAAC;QAC5C,IAAe,CAAA,eAAA,GAAG,KAAK,EAAoB,CAAC;AAG5C,KAAA;8GATY,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAA1B,0BAA0B,EAAA,QAAA,EAAA,0BAAA,EAAA,MAAA,EAAA,EAAA,IAAA,EAAA,EAAA,iBAAA,EAAA,MAAA,EAAA,UAAA,EAAA,MAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,KAAA,EAAA,EAAA,iBAAA,EAAA,OAAA,EAAA,UAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EA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
|
|
1
|
+
{"version":3,"file":"aril-ui-table-expand.mjs","sources":["../../projects/aril/ui/table-expand/src/table-column.component.ts","../../projects/aril/ui/table-expand/src/table-expand-area.component.ts","../../projects/aril/ui/table-expand/src/table.component.ts","../../projects/aril/ui/table-expand/src/table.component.html","../../projects/aril/ui/table-expand/index.ts","../../projects/aril/ui/table-expand/aril-ui-table-expand.ts"],"sourcesContent":["import { Component, ContentChild, TemplateRef, input } from '@angular/core';\r\n\r\ntype ValueTypes = 'text' | 'numeric' | 'date' | 'boolean' | 'custom' | 'operations';\r\nexport type AlignTypes = 'left' | 'right' | 'center';\r\n\r\nexport interface TableColumns {\r\n\t_results: Array<TableColumn>;\r\n}\r\ninterface TableColumn {\r\n\tfield: string;\r\n\theader: string;\r\n\ttype: ValueTypes;\r\n\tisOperation?: boolean;\r\n\tisShowHeaderTooltip?: boolean;\r\n\ttooltipTemplate?: TemplateRef<any>;\r\n\ttemplate: TemplateRef<any>;\r\n}\r\n\r\n@Component({\r\n\tselector: 'aril-expand-table-column',\r\n\ttemplate: ` <ng-content></ng-content> `\r\n})\r\nexport class ExpandTableColumnComponent {\r\n\ttype = input<ValueTypes>('text');\r\n\tfield = input.required<string>();\r\n\theader = input.required<string>();\r\n\ttAlign = input<AlignTypes>();\r\n\tisShowHeaderTooltip = input<boolean>(false);\r\n\ttooltipTemplate = input<TemplateRef<any>>();\r\n\r\n\t@ContentChild(TemplateRef) template: any;\r\n}\r\n","import { Component, ContentChild, TemplateRef, input } from '@angular/core';\r\n\r\n// type ValueTypes = 'text' | 'numeric' | 'date' | 'boolean' | 'custom' | 'operations';\r\n\r\nexport interface ExpandAreas {\r\n\t_results: Array<ExpandArea>;\r\n}\r\ninterface ExpandArea {\r\n\ttemplate: TemplateRef<any>;\r\n}\r\n\r\n@Component({\r\n\tselector: 'aril-expand-area-template',\r\n\ttemplate: ` <ng-content></ng-content> `\r\n})\r\nexport class TableExpandAreaComponent {\r\n\t@ContentChild(TemplateRef) template: any;\r\n}\r\n","import { Component, ContentChildren, EventEmitter, Input, Output, ViewChild, effect, input } from '@angular/core';\n\nimport { MenuItem } from 'primeng/api';\nimport { Table } from 'primeng/table';\n\nimport { ProxyTypes } from 'aril/http';\n\nimport { AlignTypes, ExpandTableColumnComponent, TableColumns } from './table-column.component';\nimport { ExpandAreas, TableExpandAreaComponent } from './table-expand-area.component';\n\n/* TODO :\n * server-side-proxy (ProxyTypes.ServerSide)\n * search & colum filter & sort\n * pagination operation\n * Query Signals\n */\nconst pageOptions = [10, 20, 50, 100, 500, 1000] as const;\n\ntype SelectionTypes = 'single' | 'multiple';\n\n@Component({\n\tselector: 'aril-expand-table',\n\ttemplateUrl: './table.component.html'\n})\nexport class ExpandTableComponent {\n\t@Output() onPageEvent: EventEmitter<any> = new EventEmitter<any>();\n\t@Output() selectionEvent: EventEmitter<any> = new EventEmitter<any>();\n\t@Output() lazyLoadEvent: EventEmitter<any> = new EventEmitter<any>();\n\t@ContentChildren(ExpandTableColumnComponent) columns!: TableColumns;\n\t@ContentChildren(TableExpandAreaComponent) expandAreas!: ExpandAreas;\n\n\t@ViewChild(Table) tableRef!: Table;\n\t@Input() kebabMenuItems: MenuItem[] = [];\n\t@Input() checkExpandableFieldsArray!: string;\n\n\tdata = input.required<any[]>();\n\tcolspan = input.required<string>();\n\tcheckboxSelection = input<boolean>();\n\theaderCheckboxSelection = input<boolean>();\n\tpageSize = input<(typeof pageOptions)[number]>(10);\n\t// PrimeNG varsayılanı 200px; 6 seçenekli liste ~261px yer istiyor ve son seçenekler gizli kalıyor\n\tpaginatorDropdownScrollHeight = input<string>('320px');\n\tproxy = input<ProxyTypes>(ProxyTypes.Native);\n\tshowFooter = input<boolean>(false);\n\ttAlign = input<AlignTypes>('left');\n\tselectionMode = input<SelectionTypes>();\n\tshowSearchTool = input<boolean>(true);\n\tshowExportTool = input<boolean>(true);\n\texportFileName = input<string>('');\n\tnoDataFoundLabel = input<string>('No Data Found');\n\ttableHeader = input<string>('');\n\tshowTableHeader = input<boolean>(false);\n\tisFirstRowSelected = input<boolean>(false);\n\tdataKey = input.required<string>();\n\tselectedRowsInput = input<any>([]);\n\tisLazy = input<boolean>(false);\n\ttotalRecords = input<number>(0);\n\n\tfilterText!: string;\n\tselectedRows: any;\n\tpageOptions = pageOptions;\n\n\tconstructor() {\n\t\teffect(() => {\n\t\t\tif (this.isFirstRowSelected() && this.data()) {\n\t\t\t\tthis.selectedRows = this.data()[0];\n\t\t\t\tthis.selectionEvent.emit(this.selectedRows);\n\t\t\t}\n\t\t});\n\n\t\teffect(() => {\n\t\t\tif (this.selectedRowsInput()) {\n\t\t\t\tthis.selectedRows = this.selectedRowsInput();\n\t\t\t}\n\t\t});\n\t}\n\n\thandleLazyLoadEvent(event: any): void {\n\t\tconst newEventData = {\n\t\t\tpager: {\n\t\t\t\tpageSize: event.rows,\n\t\t\t\tpageNumber: event.first / event.rows + 1\n\t\t\t},\n\t\t\tsort: event.multiSortMeta,\n\t\t\tfilter: event.filters\n\t\t};\n\t\tthis.lazyLoadEvent.emit(newEventData);\n\t}\n\n\tclear() {\n\t\tthis.tableRef.value = [];\n\t\tthis.tableRef.clear();\n\t}\n}\n","<p-table\n\t#ref\n\t[value]=\"data()\"\n\t[dataKey]=\"dataKey()\"\n\t[columns]=\"columns._results\"\n\t[rows]=\"pageSize()\"\n\t[rowHover]=\"true\"\n\t[paginator]=\"true\"\n\t[lazy]=\"isLazy()\"\n\t[lazyLoadOnInit]=\"false\"\n\t[totalRecords]=\"totalRecords()\"\n\t[rowsPerPageOptions]=\"[10, 20, 50, 100, 500, 1000]\"\n\t[paginatorDropdownScrollHeight]=\"paginatorDropdownScrollHeight()\"\n\t[filterDelay]=\"0\"\n\tsortMode=\"multiple\"\n\t(onPage)=\"onPageEvent.emit($event)\"\n\t(onLazyLoad)=\"handleLazyLoadEvent($event)\"\n\t[showCurrentPageReport]=\"true\"\n\tcurrentPageReportTemplate=\"Toplam : {totalRecords} kayıt | Sayfa : {currentPage} / {totalPages}\"\n\tstyleClass=\"p-datatable-sm\">\n\t<ng-template pTemplate=\"header\" let-columns>\n\t\t<tr>\n\t\t\t<th>#</th>\n\t\t\t@for (column of columns; track $index) {\n\t\t\t\t@if (column.type() === 'operations') {\n\t\t\t\t\t<th>\n\t\t\t\t\t\t<div class=\"flex justify-content-center\">İşlemler</div>\n\t\t\t\t\t</th>\n\t\t\t\t} @else {\n\t\t\t\t\t<th [pSortableColumn]=\"column.field()\">\n\t\t\t\t\t\t<div class=\"flex justify-content-between align-items-center gap-2\">\n\t\t\t\t\t\t\t{{ column.header() }}\n\t\t\t\t\t\t\t<div class=\"flex\">\n\t\t\t\t\t\t\t\t@if (column.isShowHeaderTooltip()) {\n\t\t\t\t\t\t\t\t\t<i\n\t\t\t\t\t\t\t\t\t\tstyle=\"color: var(--primary-color); padding-top: 4px; padding-left: 4px\"\n\t\t\t\t\t\t\t\t\t\tclass=\"pi pi-question-circle\"\n\t\t\t\t\t\t\t\t\t\t[pTooltip]=\"column.tooltipTemplate()\"\n\t\t\t\t\t\t\t\t\t\ttooltipPosition=\"top\"></i>\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t@if (!isLazy()) {\n\t\t\t\t\t\t\t\t\t<p-sortIcon [field]=\"column.field()\"></p-sortIcon>\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</th>\n\t\t\t\t}\n\t\t\t}\n\t\t</tr>\n\t</ng-template>\n\t<ng-template pTemplate=\"body\" let-expandItem let-columns=\"columns\" let-expanded=\"expanded\">\n\t\t<tr>\n\t\t\t<td>\n\t\t\t\t@if (checkExpandableFieldsArray) {\n\t\t\t\t\t@if (expandItem[checkExpandableFieldsArray].length) {\n\t\t\t\t\t\t<button\n\t\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t\tpButton\n\t\t\t\t\t\t\tpRipple\n\t\t\t\t\t\t\t[pRowToggler]=\"expandItem\"\n\t\t\t\t\t\t\tclass=\"p-button-text p-button-rounded p-button-plain\"\n\t\t\t\t\t\t\t[icon]=\"expanded ? 'pi pi-chevron-down' : 'pi pi-chevron-right'\"></button>\n\t\t\t\t\t}\n\t\t\t\t} @else {\n\t\t\t\t\t<button\n\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\tpButton\n\t\t\t\t\t\tpRipple\n\t\t\t\t\t\t[pRowToggler]=\"expandItem\"\n\t\t\t\t\t\tclass=\"p-button-text p-button-rounded p-button-plain\"\n\t\t\t\t\t\t[icon]=\"expanded ? 'pi pi-chevron-down' : 'pi pi-chevron-right'\"></button>\n\t\t\t\t}\n\t\t\t</td>\n\t\t\t@for (column of columns; track $index) {\n\t\t\t\t<td [ngStyle]=\"{ 'text-align': column.type() === 'operations' ? 'center' : column.tAlign() || tAlign() }\">\n\t\t\t\t\t<ng-template ngFor [ngForOf]=\"[expandItem]\" [ngForTemplate]=\"column.template\"></ng-template>\n\t\t\t\t</td>\n\t\t\t}\n\t\t</tr>\n\t</ng-template>\n\t<ng-template pTemplate=\"rowexpansion\" let-columns=\"columns\" let-expandItem>\n\t\t<tr>\n\t\t\t<td [attr.colspan]=\"colspan()\">\n\t\t\t\t<div class=\"p-3\">\n\t\t\t\t\t<ng-template ngFor [ngForOf]=\"[expandItem]\" [ngForTemplate]=\"expandAreas._results[0].template\"></ng-template>\n\t\t\t\t</div>\n\t\t\t</td>\n\t\t</tr>\n\t</ng-template>\n\n\t@if (showFooter()) {\n\t\t<ng-template pTemplate=\"summary\">\n\t\t\t<ng-content select=\"[footer]\"></ng-content>\n\t\t</ng-template>\n\t}\n\n\t<ng-template pTemplate=\"emptymessage\">\n\t\t<tr>\n\t\t\t<td [attr.colspan]=\"columns._results.length\">{{ noDataFoundLabel() }}</td>\n\t\t</tr>\n\t</ng-template>\n</p-table>\n","import { JsonPipe, NgFor, NgForOf, NgStyle, NgTemplateOutlet } from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { FormsModule } from '@angular/forms';\r\n\r\nimport { TableModule } from 'primeng/table';\r\nimport { TooltipModule } from 'primeng/tooltip';\r\n\r\nimport { ButtonComponent } from 'aril/ui/button';\r\nimport { TextComponent } from 'aril/ui/text';\r\n\r\nimport { ExpandTableColumnComponent } from './src/table-column.component';\r\nimport { ExpandTableComponent } from './src/table.component';\r\nimport { Menu, MenuModule } from 'primeng/menu';\r\nimport { ButtonModule } from 'primeng/button';\r\nimport { TableExpandAreaComponent } from './src/table-expand-area.component';\r\n\r\nexport * from './src/table.component';\r\nexport * from './src/table-column.component';\r\nexport * from './src/table-expand-area.component'\r\n\r\nconst components = [ExpandTableComponent, ExpandTableColumnComponent, TableExpandAreaComponent];\r\n\r\n@NgModule({\r\n\timports: [\r\n\t\tTableModule,\r\n\t\tTooltipModule,\r\n\t\tButtonComponent,\r\n\t\tTextComponent,\r\n\t\tFormsModule,\r\n\t\tNgFor,\r\n\t\tNgForOf,\r\n\t\tNgStyle,\r\n\t\tNgTemplateOutlet,\r\n\t\tButtonModule,\r\n\t\tMenuModule,\r\n\t\tJsonPipe\r\n\t],\r\n\texports: [components],\r\n\tdeclarations: [components]\r\n})\r\nexport class ARiLExpandTableModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;MAsBa,0BAA0B,CAAA;AAJvC,IAAA,WAAA,GAAA;AAKC,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAa,MAAM,CAAC,CAAC;AACjC,QAAA,IAAA,CAAA,KAAK,GAAG,KAAK,CAAC,QAAQ,EAAU,CAAC;AACjC,QAAA,IAAA,CAAA,MAAM,GAAG,KAAK,CAAC,QAAQ,EAAU,CAAC;QAClC,IAAM,CAAA,MAAA,GAAG,KAAK,EAAc,CAAC;AAC7B,QAAA,IAAA,CAAA,mBAAmB,GAAG,KAAK,CAAU,KAAK,CAAC,CAAC;QAC5C,IAAe,CAAA,eAAA,GAAG,KAAK,EAAoB,CAAC;AAG5C,KAA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