@acorex/components 19.8.0-next.10 → 19.8.0-next.11
Sign up to get free protection for your applications and to get access to all the features.
- package/action-sheet/lib/action-sheet.class.d.ts +1 -2
- package/badge/lib/badge.component.d.ts +2 -2
- package/button/lib/button.component.d.ts +1 -6
- package/button-group/lib/button-group-item.component.d.ts +3 -1
- package/button-group/lib/button-group.module.d.ts +2 -1
- package/chips/lib/chips.component.d.ts +11 -7
- package/color-box/lib/color-box.component.d.ts +5 -1
- package/color-palette/lib/color-palette-picker.component.d.ts +19 -14
- package/color-palette/lib/color-palette.module.d.ts +2 -1
- package/common/lib/classes/styles.class.d.ts +6 -4
- package/common/lib/components/button-base-component.class.d.ts +0 -1
- package/conversation/lib/conversation-container/conversation-container.component.d.ts +2 -3
- package/conversation/lib/conversation-input/conversation-input.component.d.ts +1 -2
- package/datetime-picker/lib/datetime-picker.component.d.ts +0 -10
- package/datetime-picker/lib/datetime-picker.module.d.ts +2 -1
- package/decorators/index.d.ts +5 -4
- package/decorators/lib/components/color-indicator/color-indicator.component.d.ts +6 -0
- package/decorators/lib/decorators.module.d.ts +7 -6
- package/dialog/lib/dialog.component.d.ts +2 -0
- package/dropdown-button/lib/dropdown-button.component.d.ts +1 -1
- package/fesm2022/acorex-components-action-sheet.mjs +3 -3
- package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
- package/fesm2022/acorex-components-alert.mjs +3 -3
- package/fesm2022/acorex-components-alert.mjs.map +1 -1
- package/fesm2022/acorex-components-audio-wave.mjs +4 -4
- package/fesm2022/acorex-components-audio-wave.mjs.map +1 -1
- package/fesm2022/acorex-components-avatar.mjs +3 -3
- package/fesm2022/acorex-components-avatar.mjs.map +1 -1
- package/fesm2022/acorex-components-badge.mjs +5 -5
- package/fesm2022/acorex-components-badge.mjs.map +1 -1
- package/fesm2022/acorex-components-bottom-navigation.mjs +2 -2
- package/fesm2022/acorex-components-bottom-navigation.mjs.map +1 -1
- package/fesm2022/acorex-components-breadcrumbs.mjs +2 -2
- package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/acorex-components-button-group.mjs +147 -146
- package/fesm2022/acorex-components-button-group.mjs.map +1 -1
- package/fesm2022/acorex-components-button.mjs +18 -21
- package/fesm2022/acorex-components-button.mjs.map +1 -1
- package/fesm2022/acorex-components-calendar.mjs +4 -4
- 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-chips.mjs +11 -9
- package/fesm2022/acorex-components-chips.mjs.map +1 -1
- package/fesm2022/acorex-components-circular-progress.mjs +6 -6
- package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
- package/fesm2022/acorex-components-collapse.mjs +2 -2
- package/fesm2022/acorex-components-collapse.mjs.map +1 -1
- package/fesm2022/acorex-components-color-box.mjs +11 -4
- package/fesm2022/acorex-components-color-box.mjs.map +1 -1
- package/fesm2022/acorex-components-color-palette.mjs +342 -326
- package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
- package/fesm2022/acorex-components-comment.mjs +8 -8
- package/fesm2022/acorex-components-comment.mjs.map +1 -1
- package/fesm2022/acorex-components-common.mjs +21 -6
- package/fesm2022/acorex-components-common.mjs.map +1 -1
- package/fesm2022/acorex-components-conversation.mjs +29 -50
- package/fesm2022/acorex-components-conversation.mjs.map +1 -1
- package/fesm2022/acorex-components-cron-job.mjs +2 -2
- package/fesm2022/acorex-components-cron-job.mjs.map +1 -1
- package/fesm2022/acorex-components-data-pager.mjs +6 -6
- package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
- package/fesm2022/acorex-components-data-table.mjs +4 -4
- package/fesm2022/acorex-components-data-table.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-box.mjs +2 -3
- package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-input.mjs +2 -2
- package/fesm2022/acorex-components-datetime-input.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-picker.mjs +17 -23
- package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-decorators.mjs +29 -17
- package/fesm2022/acorex-components-decorators.mjs.map +1 -1
- package/fesm2022/acorex-components-dialog.mjs +10 -3
- package/fesm2022/acorex-components-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-drawer.mjs +4 -4
- package/fesm2022/acorex-components-drawer.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown-button.mjs +6 -12
- package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown.mjs +1 -1
- package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
- package/fesm2022/acorex-components-form.mjs +10 -3
- package/fesm2022/acorex-components-form.mjs.map +1 -1
- package/fesm2022/acorex-components-grid-layout-builder.mjs +22 -200
- package/fesm2022/acorex-components-grid-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-components-image-editor.mjs +42 -57
- package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-image.mjs +2 -2
- package/fesm2022/acorex-components-image.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-label.mjs +2 -2
- package/fesm2022/acorex-components-label.mjs.map +1 -1
- package/fesm2022/acorex-components-list.mjs +2 -2
- package/fesm2022/acorex-components-list.mjs.map +1 -1
- package/fesm2022/acorex-components-loading-dialog.mjs +2 -2
- package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-loading.mjs +4 -4
- package/fesm2022/acorex-components-loading.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-menu.mjs +8 -8
- package/fesm2022/acorex-components-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-navbar.mjs +3 -3
- package/fesm2022/acorex-components-navbar.mjs.map +1 -1
- package/fesm2022/acorex-components-notification.mjs +4 -4
- package/fesm2022/acorex-components-notification.mjs.map +1 -1
- package/fesm2022/acorex-components-number-box.mjs +2 -6
- package/fesm2022/acorex-components-number-box.mjs.map +1 -1
- package/fesm2022/acorex-components-otp.mjs +2 -2
- package/fesm2022/acorex-components-otp.mjs.map +1 -1
- package/fesm2022/acorex-components-paint.mjs +10 -10
- package/fesm2022/acorex-components-paint.mjs.map +1 -1
- package/fesm2022/acorex-components-password-box.mjs +4 -4
- package/fesm2022/acorex-components-password-box.mjs.map +1 -1
- package/fesm2022/acorex-components-phone-box.mjs +2 -2
- package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
- package/fesm2022/acorex-components-picker.mjs +128 -233
- package/fesm2022/acorex-components-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-popup.mjs +2 -2
- package/fesm2022/acorex-components-popup.mjs.map +1 -1
- package/fesm2022/acorex-components-progress-bar.mjs +22 -22
- package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
- package/fesm2022/acorex-components-rail-navigation.mjs +3 -3
- package/fesm2022/acorex-components-rail-navigation.mjs.map +1 -1
- package/fesm2022/acorex-components-range-slider.mjs +3 -3
- package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
- package/fesm2022/acorex-components-rate-picker.mjs +6 -6
- package/fesm2022/acorex-components-rate-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-result.mjs +2 -2
- package/fesm2022/acorex-components-result.mjs.map +1 -1
- package/fesm2022/acorex-components-routing-progress.mjs +2 -2
- package/fesm2022/acorex-components-routing-progress.mjs.map +1 -1
- package/fesm2022/acorex-components-scheduler.mjs +11 -11
- package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
- package/fesm2022/acorex-components-search-box.mjs +19 -10
- package/fesm2022/acorex-components-search-box.mjs.map +1 -1
- package/fesm2022/acorex-components-select-box.mjs +3 -2
- package/fesm2022/acorex-components-select-box.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list.mjs +2 -2
- package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
- package/fesm2022/acorex-components-side-menu.mjs +8 -17
- package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-skeleton.mjs +2 -2
- package/fesm2022/acorex-components-skeleton.mjs.map +1 -1
- package/fesm2022/acorex-components-slider.mjs +2 -2
- package/fesm2022/acorex-components-slider.mjs.map +1 -1
- package/fesm2022/acorex-components-step-wizard.mjs +2 -2
- package/fesm2022/acorex-components-step-wizard.mjs.map +1 -1
- package/fesm2022/acorex-components-switch.mjs +8 -3
- package/fesm2022/acorex-components-switch.mjs.map +1 -1
- package/fesm2022/acorex-components-tabs.mjs +5 -5
- package/fesm2022/acorex-components-tabs.mjs.map +1 -1
- package/fesm2022/acorex-components-tag.mjs +3 -3
- package/fesm2022/acorex-components-tag.mjs.map +1 -1
- package/fesm2022/acorex-components-text-area.mjs +6 -3
- package/fesm2022/acorex-components-text-area.mjs.map +1 -1
- package/fesm2022/acorex-components-text-box.mjs +2 -2
- package/fesm2022/acorex-components-text-box.mjs.map +1 -1
- package/fesm2022/acorex-components-time-line.mjs +7 -7
- package/fesm2022/acorex-components-time-line.mjs.map +1 -1
- package/fesm2022/acorex-components-toast.mjs +4 -4
- package/fesm2022/acorex-components-toast.mjs.map +1 -1
- package/fesm2022/acorex-components-toolbar.mjs +3 -12
- package/fesm2022/acorex-components-toolbar.mjs.map +1 -1
- package/fesm2022/acorex-components-tooltip.mjs +2 -2
- package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
- package/fesm2022/acorex-components-tree-view.mjs +67 -36
- package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
- package/fesm2022/acorex-components-uploader.mjs +6 -6
- package/fesm2022/acorex-components-uploader.mjs.map +1 -1
- package/fesm2022/acorex-components-wysiwyg.mjs +25 -25
- package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
- package/form/lib/form.component.d.ts +3 -2
- package/grid-layout-builder/index.d.ts +0 -1
- package/grid-layout-builder/lib/grid-layout-builder.module.d.ts +2 -3
- package/grid-layout-builder/lib/grid-layout-container.component.d.ts +10 -14
- package/grid-layout-builder/lib/types.d.ts +1 -2
- package/image-editor/index.d.ts +0 -1
- package/image-editor/lib/image-editor-container/image-editor-container.component.d.ts +22 -3
- package/image-editor/lib/image-editor.module.d.ts +16 -17
- package/loading/lib/loading-spinner.component.d.ts +1 -1
- package/menu/lib/menu-item.component.d.ts +2 -1
- package/notification/lib/notification.service.d.ts +1 -1
- package/package.json +1 -5
- package/paint/lib/paint/paint-view/paint-view.component.d.ts +1 -1
- package/picker/index.d.ts +3 -2
- package/picker/lib/picker-container/picker-container.component.d.ts +7 -0
- package/picker/lib/picker-items/picker-items.component.d.ts +20 -0
- package/picker/lib/picker-title/picker-title.component.d.ts +5 -0
- package/picker/lib/picker.module.d.ts +6 -4
- package/progress-bar/lib/progress-bar.component.d.ts +19 -19
- package/range-slider/lib/range-slider.component.d.ts +1 -1
- package/scheduler/lib/scheduler-month-view.component.d.ts +6 -6
- package/search-box/lib/search-box.component.d.ts +5 -1
- package/side-menu/lib/side-menu-item/side-menu-item.component.d.ts +3 -6
- package/side-menu/lib/side-menu.component.d.ts +1 -2
- package/tabs/lib/tabs.class.d.ts +1 -1
- package/text-area/lib/text-area.component.d.ts +5 -1
- package/time-line/lib/time-line.component.d.ts +1 -1
- package/toast/lib/toast.service.d.ts +1 -1
- package/toolbar/lib/toolbar.component.d.ts +1 -3
- package/tree-view/lib/tree-view.class.d.ts +0 -1
- package/tree-view/lib/tree-view.component.d.ts +7 -1
- package/wysiwyg/lib/wysiwyg/wysiwyg-container/wysiwyg-container.component.d.ts +2 -2
- package/fesm2022/acorex-components-file-explorer.mjs +0 -231
- package/fesm2022/acorex-components-file-explorer.mjs.map +0 -1
- package/file-explorer/README.md +0 -3
- package/file-explorer/index.d.ts +0 -6
- package/file-explorer/lib/file-explorer-container/file-explorer-container.component.d.ts +0 -10
- package/file-explorer/lib/file-explorer-item/file-explorer-item.component.d.ts +0 -11
- package/file-explorer/lib/file-explorer-types.d.ts +0 -11
- package/file-explorer/lib/file-explorer-view/file-explorer-view.component.d.ts +0 -27
- package/file-explorer/lib/file-explorer.module.d.ts +0 -16
- package/file-explorer/lib/file-explorer.service.d.ts +0 -6
- package/grid-layout-builder/lib/grid-layout-widget.directive.d.ts +0 -106
- package/image-editor/lib/image-editor-toolbar/image-editor-toolbar.component.d.ts +0 -27
- package/picker/lib/picker-column.directive.d.ts +0 -16
- package/picker/lib/picker.component.d.ts +0 -61
- /package/decorators/lib/components/{clear-button.component.d.ts → clear-button/clear-button.component.d.ts} +0 -0
- /package/decorators/lib/components/{close-button.component.d.ts → close-button/close-button.component.d.ts} +0 -0
- /package/decorators/lib/components/{full-screen-button.component.d.ts → full-screen/full-screen-button.component.d.ts} +0 -0
- /package/decorators/lib/components/{icon.component.d.ts → icon/icon.component.d.ts} +0 -0
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"acorex-components-file-explorer.mjs","sources":["../../../../libs/components/file-explorer/src/lib/file-explorer.service.ts","../../../../libs/components/file-explorer/src/lib/file-explorer-container/file-explorer-container.component.ts","../../../../libs/components/file-explorer/src/lib/file-explorer-container/file-explorer-container.component.html","../../../../libs/components/file-explorer/src/lib/file-explorer-item/file-explorer-item.component.ts","../../../../libs/components/file-explorer/src/lib/file-explorer-item/file-explorer-item.component.html","../../../../libs/components/file-explorer/src/lib/file-explorer-view/file-explorer-view.component.ts","../../../../libs/components/file-explorer/src/lib/file-explorer-view/file-explorer-view.component.html","../../../../libs/components/file-explorer/src/lib/file-explorer.module.ts","../../../../libs/components/file-explorer/src/acorex-components-file-explorer.ts"],"sourcesContent":["import { Injectable, signal } from '@angular/core';\n\n@Injectable()\nexport class AXFileExplorerService {\n treeViewState = signal(false);\n}\n","import { AXDrawerComponent } from '@acorex/components/drawer';\nimport { Component, effect, inject, viewChild, ViewEncapsulation } from '@angular/core';\nimport { AXFileExplorerService } from '../file-explorer.service';\n\n@Component({\n selector: 'ax-file-explorer-container',\n templateUrl: './file-explorer-container.component.html',\n styleUrls: ['./file-explorer-container.component.scss'],\n standalone: false,\n encapsulation: ViewEncapsulation.None,\n providers: [AXFileExplorerService],\n})\nexport class AXFileExplorerContainerComponent {\n protected service = inject(AXFileExplorerService);\n protected drawer = viewChild(AXDrawerComponent);\n\n #effect = effect(() => {\n if (this.service.treeViewState()) {\n this.drawer().open();\n } else {\n this.drawer().close();\n }\n });\n}\n","<ax-drawer-container [ngStyle]=\"this.service.treeViewState() ? { width: 'fit-content' } : { width: 0 }\">\n <ax-drawer location=\"start\" mode=\"push\">\n <ax-content>\n <ng-content select=\"ax-tree-view\"></ng-content>\n </ax-content>\n </ax-drawer>\n</ax-drawer-container>\n\n<ax-divider></ax-divider>\n\n<ng-content select=\"ax-file-explorer-view\"></ng-content>\n","import { MXBaseComponent } from '@acorex/components/common';\nimport { ChangeDetectionStrategy, Component, input, output, ViewEncapsulation } from '@angular/core';\nimport { AXFileExplorerSchema, ViewModeType } from '../file-explorer-types';\n\n@Component({\n selector: 'ax-file-explorer-item',\n templateUrl: './file-explorer-item.component.html',\n styleUrls: ['./file-explorer-item.component.scss'],\n standalone: false,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AXFileExplorerItemComponent extends MXBaseComponent {\n data = input<AXFileExplorerSchema>();\n dbClick = output();\n viewMode = input<ViewModeType>();\n\n protected dbClickHandler() {\n this.dbClick.emit();\n }\n\n // protected fileExtensionPreviewHandler(extension: string) {\n // switch (extension) {\n // case '':\n // return this.sanitizer\n // .bypassSecurityTrustHtml(`<svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n // <path fill=\"none\" d=\"M18 10L13 10\" stroke-linecap=\"round\"/>\n // <path fill=\"none\" d=\"M10 3H16.5C16.9644 3 17.1966 3 17.3916 3.02567C18.7378 3.2029 19.7971 4.26222 19.9743 5.60842C20 5.80337 20 6.03558 20 6.5\" />\n // <path fill=\"none\" d=\"M2 6.94975C2 6.06722 2 5.62595 2.06935 5.25839C2.37464 3.64031 3.64031 2.37464 5.25839 2.06935C5.62595 2 6.06722 2 6.94975 2C7.33642 2 7.52976 2 7.71557 2.01738C8.51665 2.09229 9.27652 2.40704 9.89594 2.92051C10.0396 3.03961 10.1763 3.17633 10.4497 3.44975L11 4C11.8158 4.81578 12.2237 5.22367 12.7121 5.49543C12.9804 5.64471 13.2651 5.7626 13.5604 5.84678C14.0979 6 14.6747 6 15.8284 6H16.2021C18.8345 6 20.1506 6 21.0062 6.76946C21.0849 6.84024 21.1598 6.91514 21.2305 6.99383C22 7.84935 22 9.16554 22 11.7979V14C22 17.7712 22 19.6569 20.8284 20.8284C19.6569 22 17.7712 22 14 22H10C6.22876 22 4.34315 22 3.17157 20.8284C2 19.6569 2 17.7712 2 14V6.94975Z\" />\n // </svg>`);\n // break;\n // case 'jpg':\n // case 'png':\n // case 'jpeg':\n // return this.sanitizer\n // .bypassSecurityTrustHtml(`<svg viewBox=\"-0.5 0 25 25\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n // <path\n // d=\"M21 22H3C2.72 22 2.5 21.6517 2.5 21.2083V3.79167C2.5 3.34833 2.72 3 3 3H21C21.28 3 21.5 3.34833 21.5 3.79167V21.2083C21.5 21.6517 21.28 22 21 22Z\"\n // stroke-miterlimit=\"10\"\n // stroke-linecap=\"round\"\n // stroke-linejoin=\"round\"\n // />\n // <path\n // d=\"M4.5 19.1875L9.66 12.6875C9.86 12.4375 10.24 12.4375 10.44 12.6875L15.6 19.1875\"\n // stroke-miterlimit=\"10\"\n // stroke-linecap=\"round\"\n // stroke-linejoin=\"round\"\n // />\n // <path\n // d=\"M16.2 16.6975L16.4599 16.3275C16.6599 16.0775 17.0399 16.0775 17.2399 16.3275L19.4999 19.1875\"\n // stroke-miterlimit=\"10\"\n // stroke-linecap=\"round\"\n // stroke-linejoin=\"round\"\n // />\n // <path\n // d=\"M17.2046 9.54315C17.2046 10.4294 16.4862 11.1478 15.6 11.1478C14.7138 11.1478 13.9954 10.4294 13.9954 9.54315C13.9954 8.65695 14.7138 7.93854 15.6 7.93854C16.4862 7.93854 17.2046 8.65695 17.2046 9.54315Z\"\n // />\n // </svg>`);\n // break;\n // case 'mp3':\n // case 'wav':\n // return this.sanitizer\n // .bypassSecurityTrustHtml(`<svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n // <path\n // fill-rule=\"evenodd\"\n // clip-rule=\"evenodd\"\n // d=\"M10 1C9.73478 1 9.48043 1.10536 9.29289 1.29289L3.29289 7.29289C3.10536 7.48043 3 7.73478 3 8V20C3 21.6569 4.34315 23 6 23H7C7.55228 23 8 22.5523 8 22C8 21.4477 7.55228 21 7 21H6C5.44772 21 5 20.5523 5 20V9H10C10.5523 9 11 8.55228 11 8V3H18C18.5523 3 19 3.44772 19 4V7C19 7.55228 19.4477 8 20 8C20.5523 8 21 7.55228 21 7V4C21 2.34315 19.6569 1 18 1H10ZM9 7H6.41421L9 4.41421V7ZM12.5 24C13.8807 24 15 22.8807 15 21.5V12.8673L20 12.153V18.05C19.8384 18.0172 19.6712 18 19.5 18C18.1193 18 17 19.1193 17 20.5C17 21.8807 18.1193 23 19.5 23C20.8807 23 22 21.8807 22 20.5V11C22 10.7101 21.8742 10.4345 21.6552 10.2445C21.4362 10.0546 21.1456 9.96905 20.8586 10.0101L13.8586 11.0101C13.3659 11.0804 13 11.5023 13 12V19.05C12.8384 19.0172 12.6712 19 12.5 19C11.1193 19 10 20.1193 10 21.5C10 22.8807 11.1193 24 12.5 24Z\"\n // />\n // </svg>`);\n // default:\n // return this.sanitizer\n // .bypassSecurityTrustHtml(`<svg viewBox=\"0 0 32 32\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n // <path\n // d=\"M26.731 9.902c-0.005-0.035-0.011-0.066-0.019-0.095l0.001 0.005c-0.031-0.134-0.094-0.249-0.182-0.342l0 0-8-8c-0.092-0.087-0.207-0.15-0.335-0.181l-0.005-0.001c-0.027-0.008-0.059-0.014-0.092-0.019l-0.003-0c-0.026-0.007-0.059-0.014-0.092-0.019l-0.004-0h-12c-0.414 0-0.75 0.336-0.75 0.75v0 28c0 0.414 0.336 0.75 0.75 0.75h20c0.414-0 0.75-0.336 0.75-0.75v0-20c-0.005-0.038-0.012-0.071-0.020-0.103l0.001 0.005zM24.189 9.25h-5.439v-5.439zM6.75 29.25v-26.5h10.5v7.25c0 0.414 0.336 0.75 0.75 0.75h7.25v18.5z\"\n // ></path>\n // </svg>`);\n // }\n // }\n}\n","@if (viewMode() === 'ax-list-icon') {\n <div class=\"ax-list-icon\" (dblclick)=\"dbClickHandler()\">\n <div class=\"ax-thumb-file\">\n <ax-icon [icon]=\"data().icon\"></ax-icon>\n <ax-text>{{ data().text }}</ax-text>\n </div>\n\n @if (data().extension) {\n <ax-text>\n {{ data().size }}\n </ax-text>\n }\n\n <ax-text>\n {{ data().description }}\n </ax-text>\n\n <ax-text>\n {{ data().lastModify }}\n </ax-text>\n </div>\n} @else {\n <div [ngClass]=\"viewMode()\" (dblclick)=\"dbClickHandler()\">\n <ax-icon [icon]=\"data().icon\"></ax-icon>\n <ax-text>{{ data().text }}</ax-text>\n </div>\n}\n","import {\n AXContextMenuComponent,\n AXContextMenuItemsClickEvent,\n AXContextMenuOpeningEvent,\n AXMenuItem,\n} from '@acorex/components/menu';\nimport {\n afterNextRender,\n ChangeDetectionStrategy,\n Component,\n effect,\n inject,\n input,\n signal,\n viewChild,\n ViewEncapsulation,\n} from '@angular/core';\nimport { AXFileExplorerItemComponent } from '../file-explorer-item/file-explorer-item.component';\nimport { AXFileExplorerSchema, ViewModeType } from '../file-explorer-types';\nimport { AXFileExplorerService } from '../file-explorer.service';\n\n@Component({\n selector: 'ax-file-explorer-view',\n templateUrl: './file-explorer-view.component.html',\n styleUrls: ['./file-explorer-view.component.scss'],\n standalone: false,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AXFileExplorerViewComponent {\n dataCallBack = input<(selectedItemId?: string | number, sortBy?: 'name' | 'date' | 'type') => any>();\n protected allData = signal<AXFileExplorerSchema[]>([]);\n protected showData = signal<AXFileExplorerSchema[]>([]);\n protected activeFolderId = signal<string | number>(null);\n protected clickedItems = new Set();\n protected breadcrumbsData = signal(['root']);\n protected contextMenu = viewChild(AXContextMenuComponent);\n protected viewMode = signal<ViewModeType>('ax-large-icon');\n protected service = inject(AXFileExplorerService);\n\n #effect = afterNextRender(() => {\n this.setInitialAllData();\n });\n\n #effect2 = effect(() => {\n if (this.activeFolderId()) {\n const result = this.findItemInNestedArray(this.allData(), (item) => item.id === this.activeFolderId());\n this.showData.set(result.childrens);\n } else {\n this.showData.set(this.allData());\n }\n setTimeout(() => {\n this.contextMenu().refresh();\n });\n });\n\n protected async setInitialAllData() {\n const rootData = await this.dataCallBack()();\n this.allData.set(rootData);\n }\n\n protected async dbclickHandler(item?: AXFileExplorerSchema) {\n if (item.extension) return;\n if (!item?.id) return;\n this.activeFolderId.set(item.id);\n const clickedItem = this.findItemInNestedArray(this.allData(), (e) => e.id === item.id);\n this.breadcrumbsData.update((prev) => [...prev, clickedItem.text]);\n let canPass = true;\n this.clickedItems.forEach((e) => {\n if (e === item.id) canPass = false;\n });\n this.clickedItems.add(item.id);\n if (!canPass) return;\n const newChild = await this.dataCallBack()(item.id);\n this.allData.update((prev) => {\n const copy = [...prev];\n const find = this.findItemInNestedArray(copy, (e) => e.id === item.id);\n find.childrens = newChild;\n return copy;\n });\n }\n\n private findItemInNestedArray(array: any[], predicate: (item: any) => boolean) {\n for (const item of array) {\n if (predicate(item)) {\n return item;\n }\n if (item.childrens) {\n const found = this.findItemInNestedArray(item.childrens, predicate);\n if (found) return found;\n }\n }\n return null;\n }\n\n protected backButtonHandler() {\n this.breadcrumbsData.update((prev) => {\n const copy = [...prev];\n if (copy.length !== 1) copy.pop();\n return copy;\n });\n\n const parentId = this.showData()[0].parentId;\n const parent = this.findItemInNestedArray(this.allData(), (item) => item.id === parentId);\n if (parent?.parentId) {\n this.activeFolderId.set(parent.parentId);\n } else {\n this.activeFolderId.set(null);\n }\n }\n\n protected handleContextMenuOpening(e: AXContextMenuOpeningEvent) {\n const target = e.targetElement['__axContext__'] as AXFileExplorerItemComponent;\n\n const items: AXMenuItem[] = [{ text: 'open', data: target } as AXMenuItem];\n e.items.push(...items);\n\n // if (items.length) {\n // e.items.push(...items);\n // } else {\n // e.canceled = true;\n // }\n }\n\n protected handleContextMenuItemClick(e: AXContextMenuItemsClickEvent) {\n console.log(e);\n this.dbclickHandler(e.item.data.data());\n }\n\n protected changeViewHandler(v: ViewModeType) {\n this.viewMode.set(v);\n }\n\n protected async sortItemHandler(sort: 'name' | 'date' | 'type') {\n const newChild = await this.dataCallBack()(this.activeFolderId(), sort);\n }\n\n protected menuToggleHandler() {\n this.service.treeViewState.update((prev) => !prev);\n }\n}\n","<ax-toolbar [dividerState]=\"false\">\n <ax-prefix>\n <ax-button (onClick)=\"menuToggleHandler()\" look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-menu\"></ax-icon>\n </ax-button>\n\n <ax-divider></ax-divider>\n\n <ax-button (onClick)=\"backButtonHandler()\" look=\"blank\">\n <ax-icon class=\"ax-icon ax-icon-up-folder\"></ax-icon>\n </ax-button>\n\n <ax-divider></ax-divider>\n\n <ax-breadcrumbs>\n <ng-template *ngIf=\"false\" #divider> '|' </ng-template>\n @for (item of breadcrumbsData(); track item; let idx = $last) {\n <ax-breadcrumbs-item [active]=\"idx\">\n <p>{{ item }}</p>\n </ax-breadcrumbs-item>\n }\n </ax-breadcrumbs>\n </ax-prefix>\n\n <ax-suffix>\n <ax-menu openOn=\"click\" [hasArrow]=\"false\">\n <ax-menu-item>\n <ax-text>View</ax-text>\n\n <ax-menu-item (onClick)=\"changeViewHandler('ax-large-icon')\">\n <ax-text>Large</ax-text>\n </ax-menu-item>\n\n <ax-menu-item (onClick)=\"changeViewHandler('ax-small-icon')\">\n <ax-text>Small</ax-text>\n </ax-menu-item>\n\n <ax-menu-item (onClick)=\"changeViewHandler('ax-list-icon')\">\n <ax-text>List</ax-text>\n </ax-menu-item>\n </ax-menu-item>\n </ax-menu>\n\n <ax-divider></ax-divider>\n\n <ax-menu openOn=\"click\" [hasArrow]=\"false\">\n <ax-menu-item>\n <ax-prefix>\n <ax-icon class=\"ax-icon ax-icon-sort\"></ax-icon>\n </ax-prefix>\n <ax-menu-item (onClick)=\"sortItemHandler('name')\"> <ax-text>Name</ax-text> </ax-menu-item>\n <ax-menu-item (onClick)=\"sortItemHandler('date')\"> <ax-text>Date</ax-text> </ax-menu-item>\n <ax-menu-item (onClick)=\"sortItemHandler('type')\"> <ax-text>Type</ax-text> </ax-menu-item>\n </ax-menu-item>\n </ax-menu>\n </ax-suffix>\n</ax-toolbar>\n\n<div [ngClass]=\"viewMode()\" class=\"ax-file-container\">\n @for (item of showData(); track item.id) {\n <ax-file-explorer-item\n id=\"ax-file-explore-item-ref\"\n (dbClick)=\"dbclickHandler(item)\"\n [data]=\"item\"\n [viewMode]=\"viewMode()\"\n ></ax-file-explorer-item>\n }\n</div>\n<ax-context-menu\n target=\"#ax-file-explore-item-ref\"\n orientation=\"vertical\"\n (onOpening)=\"handleContextMenuOpening($event)\"\n (onItemClick)=\"handleContextMenuItemClick($event)\"\n>\n</ax-context-menu>\n","import { AXBreadcrumbsModule } from '@acorex/components/breadcrumbs';\nimport { AXButtonModule } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXDrawerModule } from '@acorex/components/drawer';\nimport { AXMenuModule } from '@acorex/components/menu';\nimport { AXToolBarModule } from '@acorex/components/toolbar';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { AXFileExplorerContainerComponent } from './file-explorer-container/file-explorer-container.component';\nimport { AXFileExplorerItemComponent } from './file-explorer-item/file-explorer-item.component';\nimport { AXFileExplorerViewComponent } from './file-explorer-view/file-explorer-view.component';\n\nconst COMPONENT = [\n AXFileExplorerContainerComponent,\n AXFileExplorerViewComponent,\n AXFileExplorerItemComponent,\n];\n\nconst MODULES = [\n AXDecoratorModule,\n AXButtonModule,\n AXBreadcrumbsModule,\n CommonModule,\n AXToolBarModule,\n AXMenuModule,\n AXDrawerModule,\n];\n\n@NgModule({\n declarations: [...COMPONENT],\n imports: [...MODULES],\n exports: [...COMPONENT],\n providers: [],\n})\nexport class AXFileExplorerModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i2","i3","i4","i7.AXFileExplorerItemComponent"],"mappings":";;;;;;;;;;;;;;;;;;MAGa,qBAAqB,CAAA;AADlC,IAAA,WAAA,GAAA;AAEE,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,KAAK,CAAC;AAC9B;8GAFY,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;kHAArB,qBAAqB,EAAA,CAAA,CAAA;;2FAArB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBADjC;;;MCUY,gCAAgC,CAAA;AAR7C,IAAA,WAAA,GAAA;AASY,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,CAAC,qBAAqB,CAAC;AACvC,QAAA,IAAA,CAAA,MAAM,GAAG,SAAS,CAAC,iBAAiB,CAAC;AAE/C,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,CAAC,MAAK;AACpB,YAAA,IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,EAAE,EAAE;AAChC,gBAAA,IAAI,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;;iBACf;AACL,gBAAA,IAAI,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE;;AAEzB,SAAC,CAAC;AACH;AAPC,IAAA,OAAO;8GAJI,gCAAgC,EAAA,IAAA,EAAA,EAAA,EAAA,M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EAAA,CAAA,CAAA;;2FAIT,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBANhC,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;;;ACjCD;;AAEG;;;;"}
|
package/file-explorer/README.md
DELETED
package/file-explorer/index.d.ts
DELETED
@@ -1,6 +0,0 @@
|
|
1
|
-
export * from './lib/file-explorer-container/file-explorer-container.component';
|
2
|
-
export * from './lib/file-explorer-item/file-explorer-item.component';
|
3
|
-
export * from './lib/file-explorer-types';
|
4
|
-
export * from './lib/file-explorer-view/file-explorer-view.component';
|
5
|
-
export * from './lib/file-explorer.module';
|
6
|
-
export * from './lib/file-explorer.service';
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import { AXDrawerComponent } from '@acorex/components/drawer';
|
2
|
-
import { AXFileExplorerService } from '../file-explorer.service';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
export declare class AXFileExplorerContainerComponent {
|
5
|
-
#private;
|
6
|
-
protected service: AXFileExplorerService;
|
7
|
-
protected drawer: import("@angular/core").Signal<AXDrawerComponent>;
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXFileExplorerContainerComponent, never>;
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXFileExplorerContainerComponent, "ax-file-explorer-container", never, {}, {}, never, ["ax-tree-view", "ax-file-explorer-view"], false, never>;
|
10
|
-
}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import { MXBaseComponent } from '@acorex/components/common';
|
2
|
-
import { AXFileExplorerSchema, ViewModeType } from '../file-explorer-types';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
export declare class AXFileExplorerItemComponent extends MXBaseComponent {
|
5
|
-
data: import("@angular/core").InputSignal<AXFileExplorerSchema>;
|
6
|
-
dbClick: import("@angular/core").OutputEmitterRef<void>;
|
7
|
-
viewMode: import("@angular/core").InputSignal<ViewModeType>;
|
8
|
-
protected dbClickHandler(): void;
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXFileExplorerItemComponent, never>;
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXFileExplorerItemComponent, "ax-file-explorer-item", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "viewMode": { "alias": "viewMode"; "required": false; "isSignal": true; }; }, { "dbClick": "dbClick"; }, never, never, false, never>;
|
11
|
-
}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
export type ViewModeType = 'ax-large-icon' | 'ax-small-icon' | 'ax-list-icon';
|
2
|
-
export interface AXFileExplorerSchema {
|
3
|
-
id: number | string;
|
4
|
-
parentId?: number | string;
|
5
|
-
text: string;
|
6
|
-
extension: string;
|
7
|
-
icon?: string;
|
8
|
-
description?: string;
|
9
|
-
lastModify?: string;
|
10
|
-
size?: string;
|
11
|
-
}
|
@@ -1,27 +0,0 @@
|
|
1
|
-
import { AXContextMenuComponent, AXContextMenuItemsClickEvent, AXContextMenuOpeningEvent } from '@acorex/components/menu';
|
2
|
-
import { AXFileExplorerSchema, ViewModeType } from '../file-explorer-types';
|
3
|
-
import { AXFileExplorerService } from '../file-explorer.service';
|
4
|
-
import * as i0 from "@angular/core";
|
5
|
-
export declare class AXFileExplorerViewComponent {
|
6
|
-
#private;
|
7
|
-
dataCallBack: import("@angular/core").InputSignal<(selectedItemId?: string | number, sortBy?: "name" | "date" | "type") => any>;
|
8
|
-
protected allData: import("@angular/core").WritableSignal<AXFileExplorerSchema[]>;
|
9
|
-
protected showData: import("@angular/core").WritableSignal<AXFileExplorerSchema[]>;
|
10
|
-
protected activeFolderId: import("@angular/core").WritableSignal<string | number>;
|
11
|
-
protected clickedItems: Set<unknown>;
|
12
|
-
protected breadcrumbsData: import("@angular/core").WritableSignal<string[]>;
|
13
|
-
protected contextMenu: import("@angular/core").Signal<AXContextMenuComponent>;
|
14
|
-
protected viewMode: import("@angular/core").WritableSignal<ViewModeType>;
|
15
|
-
protected service: AXFileExplorerService;
|
16
|
-
protected setInitialAllData(): Promise<void>;
|
17
|
-
protected dbclickHandler(item?: AXFileExplorerSchema): Promise<void>;
|
18
|
-
private findItemInNestedArray;
|
19
|
-
protected backButtonHandler(): void;
|
20
|
-
protected handleContextMenuOpening(e: AXContextMenuOpeningEvent): void;
|
21
|
-
protected handleContextMenuItemClick(e: AXContextMenuItemsClickEvent): void;
|
22
|
-
protected changeViewHandler(v: ViewModeType): void;
|
23
|
-
protected sortItemHandler(sort: 'name' | 'date' | 'type'): Promise<void>;
|
24
|
-
protected menuToggleHandler(): void;
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXFileExplorerViewComponent, never>;
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXFileExplorerViewComponent, "ax-file-explorer-view", never, { "dataCallBack": { "alias": "dataCallBack"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
27
|
-
}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
import * as i0 from "@angular/core";
|
2
|
-
import * as i1 from "./file-explorer-container/file-explorer-container.component";
|
3
|
-
import * as i2 from "./file-explorer-view/file-explorer-view.component";
|
4
|
-
import * as i3 from "./file-explorer-item/file-explorer-item.component";
|
5
|
-
import * as i4 from "@acorex/components/decorators";
|
6
|
-
import * as i5 from "@acorex/components/button";
|
7
|
-
import * as i6 from "@acorex/components/breadcrumbs";
|
8
|
-
import * as i7 from "@angular/common";
|
9
|
-
import * as i8 from "@acorex/components/toolbar";
|
10
|
-
import * as i9 from "@acorex/components/menu";
|
11
|
-
import * as i10 from "@acorex/components/drawer";
|
12
|
-
export declare class AXFileExplorerModule {
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXFileExplorerModule, never>;
|
14
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXFileExplorerModule, [typeof i1.AXFileExplorerContainerComponent, typeof i2.AXFileExplorerViewComponent, typeof i3.AXFileExplorerItemComponent], [typeof i4.AXDecoratorModule, typeof i5.AXButtonModule, typeof i6.AXBreadcrumbsModule, typeof i7.CommonModule, typeof i8.AXToolBarModule, typeof i9.AXMenuModule, typeof i10.AXDrawerModule], [typeof i1.AXFileExplorerContainerComponent, typeof i2.AXFileExplorerViewComponent, typeof i3.AXFileExplorerItemComponent]>;
|
15
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AXFileExplorerModule>;
|
16
|
-
}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
import * as i0 from "@angular/core";
|
2
|
-
export declare class AXFileExplorerService {
|
3
|
-
treeViewState: import("@angular/core").WritableSignal<boolean>;
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXFileExplorerService, never>;
|
5
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXFileExplorerService>;
|
6
|
-
}
|
@@ -1,106 +0,0 @@
|
|
1
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
2
|
-
import { AXGridLayoutNode, AXGridLayoutWidget, AXGridLayoutWidgetCompElement } from './types';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
/**
|
5
|
-
* A directive that turns any element into a GridStack widget.
|
6
|
-
* It allows the element to be managed by the GridStack library,
|
7
|
-
* enabling features like resizing, dragging, and layout customization.
|
8
|
-
*
|
9
|
-
* This directive creates an inner element inside the host element
|
10
|
-
* and moves the widget content into it for better encapsulation and styling.
|
11
|
-
*
|
12
|
-
* @example
|
13
|
-
* <div axGridLayoutWidget [options]="widgetOptions">Widget Content</div>
|
14
|
-
*/
|
15
|
-
export declare class AXGridLayoutWidgetDirective implements OnInit, OnDestroy {
|
16
|
-
/**
|
17
|
-
* Reference to the native element of the directive.
|
18
|
-
*/
|
19
|
-
private readonly elementRef;
|
20
|
-
/**
|
21
|
-
* Renderer2 for safe DOM manipulation.
|
22
|
-
*/
|
23
|
-
private readonly renderer;
|
24
|
-
/**
|
25
|
-
* The native element of the directive.
|
26
|
-
*/
|
27
|
-
el: AXGridLayoutWidgetCompElement;
|
28
|
-
/**
|
29
|
-
* The current options of the widget. These options are used to define the layout,
|
30
|
-
* content, and behavior of the widget within the grid.
|
31
|
-
*/
|
32
|
-
private _options?;
|
33
|
-
/**
|
34
|
-
* Reference to the newly created inner element.
|
35
|
-
*/
|
36
|
-
private innerElement;
|
37
|
-
/**
|
38
|
-
* Input property that represents the widget's configuration options.
|
39
|
-
*
|
40
|
-
* The options include properties such as position, size, content, and other
|
41
|
-
* configuration values. These options are updated dynamically.
|
42
|
-
*
|
43
|
-
* @param {AXGridLayoutNode} val The configuration object for the widget.
|
44
|
-
* @returns {AXGridLayoutWidgetCompElement} The element associated with the widget.
|
45
|
-
*/
|
46
|
-
options: import("@angular/core").InputSignalWithTransform<import("gridstack").GridStackNode, import("gridstack").GridStackNode>;
|
47
|
-
/**
|
48
|
-
* Initializes the directive and sets up the inner element.
|
49
|
-
* Create a new inner element
|
50
|
-
* Move the host element's content into the new inner element
|
51
|
-
* Append the inner element to the host element
|
52
|
-
* Set the reference to the grid widget directive
|
53
|
-
*/
|
54
|
-
ngOnInit(): void;
|
55
|
-
/**
|
56
|
-
* Cleans up the directive when it is destroyed.
|
57
|
-
*/
|
58
|
-
ngOnDestroy(): void;
|
59
|
-
/**
|
60
|
-
* Clears the widget's options.
|
61
|
-
*
|
62
|
-
* This method removes any existing options set for the widget and resets it
|
63
|
-
* to its default state.
|
64
|
-
*/
|
65
|
-
clearOptions(): void;
|
66
|
-
/**
|
67
|
-
* Removes this widget from the grid.
|
68
|
-
*
|
69
|
-
* This method interacts with GridStack to remove the widget from the layout.
|
70
|
-
* Once removed, the widget will no longer be part of the grid.
|
71
|
-
*/
|
72
|
-
removeWidget(): void;
|
73
|
-
/**
|
74
|
-
* Sets whether the widget can be locked (i.e., not resizable).
|
75
|
-
*
|
76
|
-
* @param {boolean} state Whether the widget should be locked or not.
|
77
|
-
* @remarks
|
78
|
-
* If the widget is locked, it cannot be resized.
|
79
|
-
*/
|
80
|
-
setLockable(state: boolean): void;
|
81
|
-
/**
|
82
|
-
* Sets whether the widget can be resized.
|
83
|
-
*
|
84
|
-
* @param {boolean} state Whether the widget should be resizable or not.
|
85
|
-
* @remarks
|
86
|
-
* If the widget is resizable, the user can change its size by dragging.
|
87
|
-
*/
|
88
|
-
setResizable(state: boolean): void;
|
89
|
-
/**
|
90
|
-
* Updates the options of the widget.
|
91
|
-
*
|
92
|
-
* @param {AXGridLayoutWidget} options The new options to apply to the widget.
|
93
|
-
*/
|
94
|
-
setOptions(options: AXGridLayoutWidget): void;
|
95
|
-
/**
|
96
|
-
* Retrieves the current options of the widget.
|
97
|
-
*
|
98
|
-
* @returns {AXGridLayoutNode} The current configuration options of the widget.
|
99
|
-
* @remarks
|
100
|
-
* This method provides access to the widget's layout and configuration.
|
101
|
-
* If no specific options are set, it returns the default options.
|
102
|
-
*/
|
103
|
-
getOptions(): AXGridLayoutNode;
|
104
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXGridLayoutWidgetDirective, never>;
|
105
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AXGridLayoutWidgetDirective, "[axGridLayoutWidget]", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
106
|
-
}
|
@@ -1,27 +0,0 @@
|
|
1
|
-
import { MXInputBaseValueComponent } from '@acorex/components/common';
|
2
|
-
import { AXDialogService } from '@acorex/components/dialog';
|
3
|
-
import { AXImageEditorService } from '../image-editor.service';
|
4
|
-
import * as i0 from "@angular/core";
|
5
|
-
/**
|
6
|
-
*paint toolbar
|
7
|
-
* @category Components
|
8
|
-
*/
|
9
|
-
export declare class AXImageEditorToolbarComponent extends MXInputBaseValueComponent<Blob[]> {
|
10
|
-
/** @ignore */
|
11
|
-
protected dialogService: AXDialogService;
|
12
|
-
/** @ignore */
|
13
|
-
protected service: AXImageEditorService;
|
14
|
-
/** @ignore */
|
15
|
-
protected options: import("@angular/core").WritableSignal<{
|
16
|
-
color: string;
|
17
|
-
title: string;
|
18
|
-
vertical: boolean;
|
19
|
-
content: string;
|
20
|
-
orientation: any;
|
21
|
-
draggable: boolean;
|
22
|
-
}>;
|
23
|
-
/** @ignore */
|
24
|
-
protected saveHandler(): void;
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXImageEditorToolbarComponent, never>;
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXImageEditorToolbarComponent, "ax-image-editor-toolbar", never, {}, { "onValueChanged": "onValueChanged"; }, never, ["ax-prefix", "*", "ax-suffix"], false, never>;
|
27
|
-
}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
import { MXValueComponent } from '@acorex/components/common';
|
2
|
-
import { EventEmitter } from '@angular/core';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
export declare class AXPickerColumnDirective extends MXValueComponent {
|
5
|
-
valueField: string;
|
6
|
-
textField: string;
|
7
|
-
title: string;
|
8
|
-
step: number;
|
9
|
-
itemsChange: EventEmitter<unknown[]>;
|
10
|
-
private _items;
|
11
|
-
get items(): unknown[];
|
12
|
-
set items(v: unknown[]);
|
13
|
-
internalSetValue(v: any): any;
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXPickerColumnDirective, never>;
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AXPickerColumnDirective, "ax-picker-column", never, { "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "readonlyChange": { "alias": "readonlyChange"; "required": false; }; "disabledChange": { "alias": "disabledChange"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; }; "textField": { "alias": "textField"; "required": false; }; "title": { "alias": "title"; "required": false; }; "step": { "alias": "step"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, { "onValueChanged": "onValueChanged"; "itemsChange": "itemsChange"; }, never, never, false, never>;
|
16
|
-
}
|
@@ -1,61 +0,0 @@
|
|
1
|
-
import { MXBaseComponent } from '@acorex/components/common';
|
2
|
-
import { AXUnsubscriber } from '@acorex/core/utils';
|
3
|
-
import { AfterContentInit, NgZone, OnDestroy, QueryList } from '@angular/core';
|
4
|
-
import { AXPickerColumnDirective } from './picker-column.directive';
|
5
|
-
import * as i0 from "@angular/core";
|
6
|
-
/**
|
7
|
-
* @category Components
|
8
|
-
* A picker component with OnPush change detection and no encapsulation.
|
9
|
-
*/
|
10
|
-
export declare class AXPickerComponent extends MXBaseComponent implements AfterContentInit, OnDestroy {
|
11
|
-
/** @ignore */
|
12
|
-
/** @ignore */
|
13
|
-
protected _columns: QueryList<AXPickerColumnDirective>;
|
14
|
-
/** @ignore */
|
15
|
-
private _itemHeight;
|
16
|
-
/** @ignore */
|
17
|
-
private _htmlColumns;
|
18
|
-
/** @ignore */
|
19
|
-
private _dragging;
|
20
|
-
/** @ignore */
|
21
|
-
private _previousY;
|
22
|
-
/** @ignore */
|
23
|
-
private _currentList;
|
24
|
-
/** @ignore */
|
25
|
-
protected _unsubscriber: AXUnsubscriber;
|
26
|
-
/** @ignore */
|
27
|
-
protected _zone: NgZone;
|
28
|
-
protected platformID: Object;
|
29
|
-
/** @ignore */
|
30
|
-
ngAfterContentInit(): void;
|
31
|
-
/** @ignore */
|
32
|
-
ngOnDestroy(): void;
|
33
|
-
/** @ignore */
|
34
|
-
private _setHeights;
|
35
|
-
/** @ignore */
|
36
|
-
private _calcItemheight;
|
37
|
-
/** @ignore */
|
38
|
-
private _bindEvents;
|
39
|
-
/** @ignore */
|
40
|
-
private _removeEvents;
|
41
|
-
/** @ignore */
|
42
|
-
_handleTouchStart(e: MouseEvent | TouchEvent): void;
|
43
|
-
/** @ignore */
|
44
|
-
private _handleTouchMove;
|
45
|
-
/** @ignore */
|
46
|
-
private _handleTouchEnd;
|
47
|
-
/** @ignore */
|
48
|
-
private _handleMouseWeel;
|
49
|
-
/** @ignore */
|
50
|
-
private _moveByDelta;
|
51
|
-
/** @ignore */
|
52
|
-
protected _handleItemClick(column: AXPickerColumnDirective, item: any): void;
|
53
|
-
/** @ignore */
|
54
|
-
private _detectSelectedItemsByValue;
|
55
|
-
/**
|
56
|
-
* Refreshes the component by setting heights and detecting selected items by value.
|
57
|
-
*/
|
58
|
-
refresh(): void;
|
59
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXPickerComponent, never>;
|
60
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXPickerComponent, "ax-picker", never, {}, {}, ["_columns"], never, false, never>;
|
61
|
-
}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|