@acorex/platform 18.0.10 → 18.0.11
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/core/index.d.ts +2 -0
- package/core/lib/types.d.ts +1 -0
- package/core/utils/countdown-timer.d.ts +12 -0
- package/core/utils/html-utils.d.ts +9 -0
- package/esm2022/common/lib/schema/widgets/common-widget-filter/number-widget-filter.component.mjs +2 -2
- package/esm2022/common/lib/schema/widgets/number/number-widget-edit.component.mjs +2 -2
- package/esm2022/core/index.mjs +3 -1
- package/esm2022/core/lib/types.mjs +13 -2
- package/esm2022/core/utils/countdown-timer.mjs +42 -0
- package/esm2022/core/utils/html-utils.mjs +27 -0
- package/esm2022/layout/builder/lib/builder/widget-column-renderer.mjs +3 -3
- package/esm2022/layout/builder/lib/builder/widget-container.component.mjs +12 -18
- package/esm2022/layout/builder/lib/builder/widget-registery.service.mjs +4 -1
- package/esm2022/layout/builder/lib/builder/widget-renderer.component.mjs +19 -12
- package/esm2022/layout/builder/lib/builder/widget.types.mjs +55 -57
- package/esm2022/layout/designer/index.mjs +7 -2
- package/esm2022/layout/designer/lib/board/board.component.mjs +68 -0
- package/esm2022/layout/designer/lib/breadcrumbs/breadcrumbs.component.mjs +64 -0
- package/esm2022/layout/designer/lib/buttons/add-widget-button/add-widget-button.component.mjs +37 -0
- package/esm2022/layout/designer/lib/designer/designer.component.mjs +77 -0
- package/esm2022/layout/designer/lib/designer.module.mjs +6 -26
- package/esm2022/layout/designer/lib/designer.service.mjs +370 -0
- package/esm2022/layout/designer/lib/outline/outline.component.mjs +56 -0
- package/esm2022/layout/designer/lib/property-viewer/widget-property-viewer.component.mjs +103 -0
- package/esm2022/layout/designer/lib/widget-designer-renderer.component.mjs +243 -0
- package/esm2022/layout/designer/lib/widget-picker/widget-picker.component.mjs +23 -0
- package/esm2022/layout/entity/lib/widgets/lookup-widget/index.mjs +1 -2
- package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-column.component.mjs +3 -3
- package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-edit.component.mjs +17 -16
- package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-filter.component.mjs +3 -3
- package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-print.component.mjs +3 -3
- package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-view.component.mjs +4 -4
- package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget.config.mjs +39 -4
- package/esm2022/layouts/lib/admin/entity-layout/entity-details-view/entity-details-view.component.mjs +3 -3
- package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/entity-list-view.component.mjs +3 -3
- package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-create-view/entity-master-create-view.component.mjs +5 -4
- package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-modify-view/entity-master-modify-view.component.mjs +4 -4
- package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-single-view/entity-master-single-view.component.mjs +4 -4
- package/esm2022/widgets/lib/properties/editors.props.mjs +355 -31
- package/esm2022/widgets/lib/properties/table-column.props.mjs +8 -7
- package/esm2022/widgets/lib/widgets/actions/button-widget/button-widget-view.component.mjs +11 -7
- package/esm2022/widgets/lib/widgets/actions/button-widget/button-widget.config.mjs +20 -4
- package/esm2022/widgets/lib/widgets/editors/checkbox/checkbox-widget-column.component.mjs +9 -3
- package/esm2022/widgets/lib/widgets/editors/checkbox/checkbox-widget-edit.component.mjs +10 -7
- package/esm2022/widgets/lib/widgets/editors/checkbox/checkbox-widget-view.component.mjs +20 -19
- package/esm2022/widgets/lib/widgets/editors/checkbox/checkbox-widget.config.mjs +20 -1
- package/esm2022/widgets/lib/widgets/editors/color-box-widget/color-box-widget-column.component.mjs +19 -0
- package/esm2022/widgets/lib/widgets/editors/color-box-widget/color-box-widget-edit.component.mjs +54 -0
- package/esm2022/widgets/lib/widgets/editors/color-box-widget/color-box-widget-filter.component.mjs +20 -0
- package/esm2022/widgets/lib/widgets/editors/color-box-widget/color-box-widget-print.component.mjs +19 -0
- package/esm2022/widgets/lib/widgets/editors/color-box-widget/color-box-widget-view.component.mjs +19 -0
- package/esm2022/widgets/lib/widgets/editors/color-box-widget/color-box-widget.config.mjs +34 -0
- package/esm2022/widgets/lib/widgets/editors/color-box-widget/index.mjs +7 -0
- package/esm2022/widgets/lib/widgets/editors/contact-widget/contact-widget-column.component.mjs +23 -6
- package/esm2022/widgets/lib/widgets/editors/contact-widget/contact-widget-edit.component.mjs +74 -44
- package/esm2022/widgets/lib/widgets/editors/contact-widget/contact-widget-filter.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/editors/contact-widget/contact-widget-print.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/editors/contact-widget/contact-widget-view.component.mjs +110 -8
- package/esm2022/widgets/lib/widgets/editors/contact-widget/contact-widget.config.mjs +58 -4
- package/esm2022/widgets/lib/widgets/editors/contact-widget/contact.type.mjs +2 -0
- package/esm2022/widgets/lib/widgets/editors/contact-widget/index.mjs +1 -2
- package/esm2022/widgets/lib/widgets/editors/contact-widget/popup-component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/editors/date-time-box-widget/date-time-box-widget-column.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/editors/date-time-box-widget/date-time-box-widget-edit.component.mjs +48 -37
- package/esm2022/widgets/lib/widgets/editors/date-time-box-widget/date-time-box-widget-filter.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/editors/date-time-box-widget/date-time-box-widget-print.component.mjs +5 -5
- package/esm2022/widgets/lib/widgets/editors/date-time-box-widget/date-time-box-widget-view.component.mjs +22 -13
- package/esm2022/widgets/lib/widgets/editors/date-time-box-widget/date-time-box-widget.config.mjs +16 -2
- package/esm2022/widgets/lib/widgets/editors/date-time-box-widget/index.mjs +1 -2
- package/esm2022/widgets/lib/widgets/editors/email-box-widget/email-box-widget-column.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/editors/email-box-widget/email-box-widget-edit.component.mjs +147 -126
- package/esm2022/widgets/lib/widgets/editors/email-box-widget/email-box-widget-filter.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/editors/email-box-widget/email-box-widget-print.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/editors/email-box-widget/email-box-widget-view.component.mjs +30 -26
- package/esm2022/widgets/lib/widgets/editors/email-box-widget/email-box-widget.config.mjs +14 -2
- package/esm2022/widgets/lib/widgets/editors/email-box-widget/index.mjs +1 -2
- package/esm2022/widgets/lib/widgets/editors/file-box-widget/file-box-widget-column.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/editors/file-box-widget/file-box-widget-edit.component.mjs +14 -10
- package/esm2022/widgets/lib/widgets/editors/file-box-widget/file-box-widget-filter.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/editors/file-box-widget/file-box-widget-print.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/editors/file-box-widget/file-box-widget-view.component.mjs +9 -7
- package/esm2022/widgets/lib/widgets/editors/file-box-widget/file-box-widget.config.mjs +28 -4
- package/esm2022/widgets/lib/widgets/editors/file-box-widget/file-box-widget.service.mjs +1 -1
- package/esm2022/widgets/lib/widgets/editors/file-box-widget/index.mjs +1 -2
- package/esm2022/widgets/lib/widgets/editors/gallery-widget/gallery-widget-column.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/editors/gallery-widget/gallery-widget-edit.component.mjs +4 -3
- package/esm2022/widgets/lib/widgets/editors/gallery-widget/gallery-widget-filter.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/editors/gallery-widget/gallery-widget-print.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/editors/gallery-widget/gallery-widget-view.component.mjs +4 -3
- package/esm2022/widgets/lib/widgets/editors/gallery-widget/gallery-widget.config.mjs +4 -2
- package/esm2022/widgets/lib/widgets/editors/gallery-widget/index.mjs +1 -2
- package/esm2022/widgets/lib/widgets/editors/large-text-widget/index.mjs +1 -2
- package/esm2022/widgets/lib/widgets/editors/large-text-widget/large-text-widget-column.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/editors/large-text-widget/large-text-widget-edit.component.mjs +22 -17
- package/esm2022/widgets/lib/widgets/editors/large-text-widget/large-text-widget-filter.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/editors/large-text-widget/large-text-widget-print.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/editors/large-text-widget/large-text-widget-view.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/editors/large-text-widget/large-text-widget.config.mjs +13 -9
- package/esm2022/widgets/lib/widgets/editors/link-widget/index.mjs +1 -2
- package/esm2022/widgets/lib/widgets/editors/link-widget/link-widget-column.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/editors/link-widget/link-widget-edit.component.mjs +35 -34
- package/esm2022/widgets/lib/widgets/editors/link-widget/link-widget-filter.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/editors/link-widget/link-widget-print.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/editors/link-widget/link-widget-view.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/editors/link-widget/link-widget.config.mjs +4 -2
- package/esm2022/widgets/lib/widgets/editors/map-box-widget/index.mjs +1 -2
- package/esm2022/widgets/lib/widgets/editors/map-box-widget/map-box-widget-column.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/editors/map-box-widget/map-box-widget-edit.component.mjs +9 -5
- package/esm2022/widgets/lib/widgets/editors/map-box-widget/map-box-widget-filter.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/editors/map-box-widget/map-box-widget-print.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/editors/map-box-widget/map-box-widget-view.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/editors/map-box-widget/map-box-widget.config.mjs +8 -4
- package/esm2022/widgets/lib/widgets/editors/number-box-widget/index.mjs +1 -2
- package/esm2022/widgets/lib/widgets/editors/number-box-widget/number-box-widget-column.component.mjs +5 -5
- package/esm2022/widgets/lib/widgets/editors/number-box-widget/number-box-widget-edit.component.mjs +68 -55
- package/esm2022/widgets/lib/widgets/editors/number-box-widget/number-box-widget-filter.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/editors/number-box-widget/number-box-widget-print.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/editors/number-box-widget/number-box-widget-view.component.mjs +20 -17
- package/esm2022/widgets/lib/widgets/editors/number-box-widget/number-box-widget.config.mjs +15 -9
- package/esm2022/widgets/lib/widgets/editors/password-box-widget/index.mjs +1 -2
- package/esm2022/widgets/lib/widgets/editors/password-box-widget/password-box-widget-column.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/editors/password-box-widget/password-box-widget-edit.component.mjs +24 -11
- package/esm2022/widgets/lib/widgets/editors/password-box-widget/password-box-widget-filter.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/editors/password-box-widget/password-box-widget-print.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/editors/password-box-widget/password-box-widget-view.component.mjs +17 -14
- package/esm2022/widgets/lib/widgets/editors/password-box-widget/password-box-widget.config.mjs +15 -4
- package/esm2022/widgets/lib/widgets/editors/phone-box-widget/index.mjs +1 -2
- package/esm2022/widgets/lib/widgets/editors/phone-box-widget/phone-box-widget-column.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/editors/phone-box-widget/phone-box-widget-edit.component.mjs +27 -26
- package/esm2022/widgets/lib/widgets/editors/phone-box-widget/phone-box-widget-filter.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/editors/phone-box-widget/phone-box-widget-print.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/editors/phone-box-widget/phone-box-widget-view.component.mjs +11 -9
- package/esm2022/widgets/lib/widgets/editors/phone-box-widget/phone-box-widget.config.mjs +9 -17
- package/esm2022/widgets/lib/widgets/editors/rich-text-widget/index.mjs +1 -2
- package/esm2022/widgets/lib/widgets/editors/rich-text-widget/rich-text-popup.component.mjs +38 -0
- package/esm2022/widgets/lib/widgets/editors/rich-text-widget/rich-text-widget-column.component.mjs +35 -12
- package/esm2022/widgets/lib/widgets/editors/rich-text-widget/rich-text-widget-edit.component.mjs +56 -52
- package/esm2022/widgets/lib/widgets/editors/rich-text-widget/rich-text-widget-filter.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/editors/rich-text-widget/rich-text-widget-print.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/editors/rich-text-widget/rich-text-widget-view.component.mjs +26 -20
- package/esm2022/widgets/lib/widgets/editors/rich-text-widget/rich-text-widget.config.mjs +15 -2
- package/esm2022/widgets/lib/widgets/editors/select-box-widget/index.mjs +1 -2
- package/esm2022/widgets/lib/widgets/editors/select-box-widget/select-box-widget-column.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/editors/select-box-widget/select-box-widget-edit.component.mjs +20 -25
- package/esm2022/widgets/lib/widgets/editors/select-box-widget/select-box-widget-filter.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/editors/select-box-widget/select-box-widget-print.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/editors/select-box-widget/select-box-widget-view.component.mjs +10 -10
- package/esm2022/widgets/lib/widgets/editors/select-box-widget/select-box-widget.config.mjs +8 -4
- package/esm2022/widgets/lib/widgets/editors/selection-list-widget/index.mjs +1 -2
- package/esm2022/widgets/lib/widgets/editors/selection-list-widget/selection-list-widget-column.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/editors/selection-list-widget/selection-list-widget-edit.component.mjs +37 -23
- package/esm2022/widgets/lib/widgets/editors/selection-list-widget/selection-list-widget-filter.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/editors/selection-list-widget/selection-list-widget-print.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/editors/selection-list-widget/selection-list-widget-view.component.mjs +11 -8
- package/esm2022/widgets/lib/widgets/editors/selection-list-widget/selection-list-widget.config.mjs +3 -2
- package/esm2022/widgets/lib/widgets/editors/signature-pad-widget/index.mjs +1 -2
- package/esm2022/widgets/lib/widgets/editors/signature-pad-widget/signature-pad-widget-column.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/editors/signature-pad-widget/signature-pad-widget-edit.component.mjs +17 -15
- package/esm2022/widgets/lib/widgets/editors/signature-pad-widget/signature-pad-widget-filter.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/editors/signature-pad-widget/signature-pad-widget-print.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/editors/signature-pad-widget/signature-pad-widget-view.component.mjs +6 -5
- package/esm2022/widgets/lib/widgets/editors/signature-pad-widget/signature-pad-widget.config.mjs +12 -2
- package/esm2022/widgets/lib/widgets/editors/text-box-widget/index.mjs +1 -2
- package/esm2022/widgets/lib/widgets/editors/text-box-widget/text-box-widget-column.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/editors/text-box-widget/text-box-widget-edit.component.mjs +21 -23
- package/esm2022/widgets/lib/widgets/editors/text-box-widget/text-box-widget-filter.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/editors/text-box-widget/text-box-widget-print.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/editors/text-box-widget/text-box-widget-view.component.mjs +18 -11
- package/esm2022/widgets/lib/widgets/editors/text-box-widget/text-box-widget.config.mjs +14 -13
- package/esm2022/widgets/lib/widgets/editors/toggle-widget/index.mjs +1 -2
- package/esm2022/widgets/lib/widgets/editors/toggle-widget/toggle-widget-column.component.mjs +9 -3
- package/esm2022/widgets/lib/widgets/editors/toggle-widget/toggle-widget-edit.component.mjs +11 -6
- package/esm2022/widgets/lib/widgets/editors/toggle-widget/toggle-widget-filter.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/editors/toggle-widget/toggle-widget-print.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/editors/toggle-widget/toggle-widget-view.component.mjs +22 -16
- package/esm2022/widgets/lib/widgets/editors/toggle-widget/toggle-widget.config.mjs +16 -4
- package/esm2022/widgets/lib/widgets/index.mjs +2 -1
- package/esm2022/widgets/lib/widgets/layout/block-widget/block-widget-designer.component.mjs +65 -0
- package/esm2022/widgets/lib/widgets/layout/block-widget/block-widget-view.component.mjs +48 -0
- package/esm2022/widgets/lib/widgets/layout/block-widget/block-widget.config.mjs +21 -3
- package/esm2022/widgets/lib/widgets/layout/block-widget/index.mjs +3 -2
- package/esm2022/widgets/lib/widgets/layout/page-widget/index.mjs +3 -0
- package/esm2022/widgets/lib/widgets/layout/page-widget/page-widget-designer.component.mjs +55 -0
- package/esm2022/widgets/lib/widgets/layout/page-widget/page-widget-view.component.mjs +42 -0
- package/esm2022/widgets/lib/widgets/layout/page-widget/page-widget.config.mjs +27 -0
- package/esm2022/widgets/lib/widgets/layout/repeater-widget/index.mjs +1 -3
- package/esm2022/widgets/lib/widgets/layout/repeater-widget/repeater-widget-designer.component.mjs +39 -8
- package/esm2022/widgets/lib/widgets/layout/repeater-widget/repeater-widget-edit.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/layout/repeater-widget/repeater-widget-print.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/layout/repeater-widget/repeater-widget-view.component.mjs +6 -6
- package/esm2022/widgets/lib/widgets/layout/repeater-widget/repeater-widget.config.mjs +4 -8
- package/esm2022/widgets/lib/widgets/layout/text-block-widget/index.mjs +3 -0
- package/esm2022/widgets/lib/widgets/layout/text-block-widget/text-block-widget-view.component.mjs +29 -0
- package/esm2022/widgets/lib/widgets/layout/text-block-widget/text-block-widget.config.mjs +39 -0
- package/esm2022/widgets/lib/widgets.module.mjs +18 -6
- package/fesm2022/{acorex-platform-common-number-widget-edit.component-bTHacO49.mjs → acorex-platform-common-number-widget-edit.component-XSWI6466.mjs} +2 -2
- package/fesm2022/{acorex-platform-common-number-widget-edit.component-bTHacO49.mjs.map → acorex-platform-common-number-widget-edit.component-XSWI6466.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-common-number-widget-filter.component-CFqNphMw.mjs → acorex-platform-common-number-widget-filter.component-BOT9wPJ5.mjs} +2 -2
- package/fesm2022/{acorex-platform-common-number-widget-filter.component-CFqNphMw.mjs.map → acorex-platform-common-number-widget-filter.component-BOT9wPJ5.mjs.map} +1 -1
- package/fesm2022/acorex-platform-common.mjs +2 -2
- package/fesm2022/acorex-platform-core.mjs +83 -0
- package/fesm2022/acorex-platform-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-builder.mjs +87 -85
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-designer-widget-picker.component-DkZGbnkz.mjs +26 -0
- package/fesm2022/acorex-platform-layout-designer-widget-picker.component-DkZGbnkz.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-designer.mjs +918 -59
- package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +59 -43
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layouts.mjs +4 -4
- package/fesm2022/acorex-platform-layouts.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-D1vzPrng.mjs → acorex-platform-themes-default-entity-master-create-view.component-Cv0mt0pU.mjs} +5 -4
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-Cv0mt0pU.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-entity-master-modify-view.component-DCE6c3Is.mjs → acorex-platform-themes-default-entity-master-modify-view.component-BDk03AnX.mjs} +4 -4
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-BDk03AnX.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default.mjs +7 -7
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/{acorex-platform-widgets-checkbox-widget-column.component-CJUV6lFi.mjs → acorex-platform-widgets-checkbox-widget-column.component-BzNhzB9y.mjs} +9 -3
- package/fesm2022/acorex-platform-widgets-checkbox-widget-column.component-BzNhzB9y.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-checkbox-widget-view.component-T-tXqoMd.mjs → acorex-platform-widgets-checkbox-widget-view.component-BCsej7C6.mjs} +20 -19
- package/fesm2022/acorex-platform-widgets-checkbox-widget-view.component-BCsej7C6.mjs.map +1 -0
- package/fesm2022/acorex-platform-widgets-page-widget-designer.component-DYb6bilD.mjs +58 -0
- package/fesm2022/acorex-platform-widgets-page-widget-designer.component-DYb6bilD.mjs.map +1 -0
- package/fesm2022/acorex-platform-widgets-rich-text-popup.component-RCdFIz45.mjs +41 -0
- package/fesm2022/acorex-platform-widgets-rich-text-popup.component-RCdFIz45.mjs.map +1 -0
- package/fesm2022/acorex-platform-widgets.mjs +2138 -1280
- package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
- package/layout/builder/lib/builder/widget-container.component.d.ts +5 -5
- package/layout/builder/lib/builder/widget-registery.service.d.ts +1 -0
- package/layout/builder/lib/builder/widget-renderer.component.d.ts +6 -3
- package/layout/builder/lib/builder/widget.types.d.ts +52 -31
- package/layout/designer/index.d.ts +6 -1
- package/layout/designer/lib/board/board.component.d.ts +10 -0
- package/layout/designer/lib/breadcrumbs/breadcrumbs.component.d.ts +11 -0
- package/layout/designer/lib/buttons/add-widget-button/add-widget-button.component.d.ts +9 -0
- package/layout/designer/lib/designer/designer.component.d.ts +18 -0
- package/layout/designer/lib/designer.module.d.ts +1 -7
- package/layout/designer/lib/designer.service.d.ts +103 -0
- package/layout/designer/lib/outline/outline.component.d.ts +17 -0
- package/layout/designer/lib/{components → property-viewer}/widget-property-viewer.component.d.ts +12 -12
- package/layout/designer/lib/widget-designer-renderer.component.d.ts +38 -0
- package/layout/designer/lib/widget-picker/widget-picker.component.d.ts +9 -0
- package/layout/entity/lib/widgets/lookup-widget/index.d.ts +0 -1
- package/layout/entity/lib/widgets/lookup-widget/lookup-widget-column.component.d.ts +2 -2
- package/layout/entity/lib/widgets/lookup-widget/lookup-widget-edit.component.d.ts +9 -9
- package/layout/entity/lib/widgets/lookup-widget/lookup-widget-filter.component.d.ts +2 -2
- package/layout/entity/lib/widgets/lookup-widget/lookup-widget-print.component.d.ts +2 -2
- package/layout/entity/lib/widgets/lookup-widget/lookup-widget-view.component.d.ts +5 -5
- package/package.json +7 -7
- package/widgets/lib/properties/editors.props.d.ts +21 -1
- package/widgets/lib/widgets/actions/button-widget/button-widget-view.component.d.ts +7 -3
- package/widgets/lib/widgets/editors/checkbox/checkbox-widget-column.component.d.ts +4 -4
- package/widgets/lib/widgets/editors/checkbox/checkbox-widget-edit.component.d.ts +6 -4
- package/widgets/lib/widgets/editors/checkbox/checkbox-widget-view.component.d.ts +5 -5
- package/widgets/lib/widgets/editors/color-box-widget/color-box-widget-column.component.d.ts +6 -0
- package/widgets/lib/widgets/editors/color-box-widget/color-box-widget-edit.component.d.ts +12 -0
- package/widgets/lib/widgets/editors/color-box-widget/color-box-widget-filter.component.d.ts +6 -0
- package/widgets/lib/widgets/editors/color-box-widget/color-box-widget-print.component.d.ts +6 -0
- package/widgets/lib/widgets/editors/color-box-widget/color-box-widget-view.component.d.ts +6 -0
- package/widgets/lib/widgets/editors/color-box-widget/color-box-widget.config.d.ts +2 -0
- package/widgets/lib/widgets/editors/color-box-widget/index.d.ts +6 -0
- package/widgets/lib/widgets/editors/contact-widget/contact-widget-column.component.d.ts +4 -2
- package/widgets/lib/widgets/editors/contact-widget/contact-widget-edit.component.d.ts +11 -15
- package/widgets/lib/widgets/editors/contact-widget/contact-widget-filter.component.d.ts +2 -2
- package/widgets/lib/widgets/editors/contact-widget/contact-widget-print.component.d.ts +2 -2
- package/widgets/lib/widgets/editors/contact-widget/contact-widget-view.component.d.ts +15 -2
- package/widgets/lib/widgets/editors/contact-widget/contact.type.d.ts +5 -0
- package/widgets/lib/widgets/editors/contact-widget/index.d.ts +0 -1
- package/widgets/lib/widgets/editors/date-time-box-widget/date-time-box-widget-column.component.d.ts +2 -2
- package/widgets/lib/widgets/editors/date-time-box-widget/date-time-box-widget-edit.component.d.ts +7 -7
- package/widgets/lib/widgets/editors/date-time-box-widget/date-time-box-widget-filter.component.d.ts +2 -2
- package/widgets/lib/widgets/editors/date-time-box-widget/date-time-box-widget-print.component.d.ts +2 -2
- package/widgets/lib/widgets/editors/date-time-box-widget/date-time-box-widget-view.component.d.ts +4 -4
- package/widgets/lib/widgets/editors/date-time-box-widget/index.d.ts +0 -1
- package/widgets/lib/widgets/editors/email-box-widget/email-box-widget-column.component.d.ts +2 -2
- package/widgets/lib/widgets/editors/email-box-widget/email-box-widget-edit.component.d.ts +8 -7
- package/widgets/lib/widgets/editors/email-box-widget/email-box-widget-filter.component.d.ts +2 -2
- package/widgets/lib/widgets/editors/email-box-widget/email-box-widget-print.component.d.ts +2 -2
- package/widgets/lib/widgets/editors/email-box-widget/email-box-widget-view.component.d.ts +4 -4
- package/widgets/lib/widgets/editors/email-box-widget/index.d.ts +0 -1
- package/widgets/lib/widgets/editors/file-box-widget/file-box-widget-column.component.d.ts +2 -2
- package/widgets/lib/widgets/editors/file-box-widget/file-box-widget-edit.component.d.ts +6 -5
- package/widgets/lib/widgets/editors/file-box-widget/file-box-widget-filter.component.d.ts +2 -2
- package/widgets/lib/widgets/editors/file-box-widget/file-box-widget-print.component.d.ts +2 -2
- package/widgets/lib/widgets/editors/file-box-widget/file-box-widget-view.component.d.ts +4 -4
- package/widgets/lib/widgets/editors/file-box-widget/file-box-widget.service.d.ts +1 -1
- package/widgets/lib/widgets/editors/file-box-widget/index.d.ts +0 -1
- package/widgets/lib/widgets/editors/gallery-widget/gallery-widget-column.component.d.ts +2 -2
- package/widgets/lib/widgets/editors/gallery-widget/gallery-widget-edit.component.d.ts +3 -3
- package/widgets/lib/widgets/editors/gallery-widget/gallery-widget-filter.component.d.ts +2 -2
- package/widgets/lib/widgets/editors/gallery-widget/gallery-widget-print.component.d.ts +2 -2
- package/widgets/lib/widgets/editors/gallery-widget/gallery-widget-view.component.d.ts +3 -3
- package/widgets/lib/widgets/editors/gallery-widget/index.d.ts +0 -1
- package/widgets/lib/widgets/editors/large-text-widget/index.d.ts +0 -1
- package/widgets/lib/widgets/editors/large-text-widget/large-text-widget-column.component.d.ts +2 -2
- package/widgets/lib/widgets/editors/large-text-widget/large-text-widget-edit.component.d.ts +7 -5
- package/widgets/lib/widgets/editors/large-text-widget/large-text-widget-filter.component.d.ts +2 -2
- package/widgets/lib/widgets/editors/large-text-widget/large-text-widget-print.component.d.ts +2 -2
- package/widgets/lib/widgets/editors/large-text-widget/large-text-widget-view.component.d.ts +2 -2
- package/widgets/lib/widgets/editors/link-widget/index.d.ts +0 -1
- package/widgets/lib/widgets/editors/link-widget/link-widget-column.component.d.ts +2 -2
- package/widgets/lib/widgets/editors/link-widget/link-widget-edit.component.d.ts +9 -9
- package/widgets/lib/widgets/editors/link-widget/link-widget-filter.component.d.ts +2 -2
- package/widgets/lib/widgets/editors/link-widget/link-widget-print.component.d.ts +2 -2
- package/widgets/lib/widgets/editors/link-widget/link-widget-view.component.d.ts +2 -2
- package/widgets/lib/widgets/editors/map-box-widget/index.d.ts +0 -1
- package/widgets/lib/widgets/editors/map-box-widget/map-box-widget-column.component.d.ts +2 -2
- package/widgets/lib/widgets/editors/map-box-widget/map-box-widget-edit.component.d.ts +5 -5
- package/widgets/lib/widgets/editors/map-box-widget/map-box-widget-filter.component.d.ts +2 -2
- package/widgets/lib/widgets/editors/map-box-widget/map-box-widget-print.component.d.ts +2 -2
- package/widgets/lib/widgets/editors/map-box-widget/map-box-widget-view.component.d.ts +6 -6
- package/widgets/lib/widgets/editors/number-box-widget/index.d.ts +0 -1
- package/widgets/lib/widgets/editors/number-box-widget/number-box-widget-column.component.d.ts +2 -2
- package/widgets/lib/widgets/editors/number-box-widget/number-box-widget-edit.component.d.ts +8 -11
- package/widgets/lib/widgets/editors/number-box-widget/number-box-widget-filter.component.d.ts +2 -2
- package/widgets/lib/widgets/editors/number-box-widget/number-box-widget-print.component.d.ts +2 -2
- package/widgets/lib/widgets/editors/number-box-widget/number-box-widget-view.component.d.ts +5 -7
- package/widgets/lib/widgets/editors/password-box-widget/index.d.ts +0 -1
- package/widgets/lib/widgets/editors/password-box-widget/password-box-widget-column.component.d.ts +2 -2
- package/widgets/lib/widgets/editors/password-box-widget/password-box-widget-edit.component.d.ts +4 -2
- package/widgets/lib/widgets/editors/password-box-widget/password-box-widget-filter.component.d.ts +2 -2
- package/widgets/lib/widgets/editors/password-box-widget/password-box-widget-print.component.d.ts +2 -2
- package/widgets/lib/widgets/editors/password-box-widget/password-box-widget-view.component.d.ts +6 -5
- package/widgets/lib/widgets/editors/phone-box-widget/index.d.ts +0 -1
- package/widgets/lib/widgets/editors/phone-box-widget/phone-box-widget-column.component.d.ts +2 -2
- package/widgets/lib/widgets/editors/phone-box-widget/phone-box-widget-edit.component.d.ts +7 -8
- package/widgets/lib/widgets/editors/phone-box-widget/phone-box-widget-filter.component.d.ts +2 -2
- package/widgets/lib/widgets/editors/phone-box-widget/phone-box-widget-print.component.d.ts +2 -2
- package/widgets/lib/widgets/editors/phone-box-widget/phone-box-widget-view.component.d.ts +4 -4
- package/widgets/lib/widgets/editors/rich-text-widget/index.d.ts +0 -1
- package/widgets/lib/widgets/editors/rich-text-widget/rich-text-popup.component.d.ts +9 -0
- package/widgets/lib/widgets/editors/rich-text-widget/rich-text-widget-column.component.d.ts +11 -3
- package/widgets/lib/widgets/editors/rich-text-widget/rich-text-widget-edit.component.d.ts +7 -29
- package/widgets/lib/widgets/editors/rich-text-widget/rich-text-widget-filter.component.d.ts +2 -2
- package/widgets/lib/widgets/editors/rich-text-widget/rich-text-widget-print.component.d.ts +2 -2
- package/widgets/lib/widgets/editors/rich-text-widget/rich-text-widget-view.component.d.ts +10 -6
- package/widgets/lib/widgets/editors/select-box-widget/index.d.ts +0 -1
- package/widgets/lib/widgets/editors/select-box-widget/select-box-widget-column.component.d.ts +2 -2
- package/widgets/lib/widgets/editors/select-box-widget/select-box-widget-edit.component.d.ts +8 -7
- package/widgets/lib/widgets/editors/select-box-widget/select-box-widget-filter.component.d.ts +2 -2
- package/widgets/lib/widgets/editors/select-box-widget/select-box-widget-print.component.d.ts +2 -2
- package/widgets/lib/widgets/editors/select-box-widget/select-box-widget-view.component.d.ts +5 -5
- package/widgets/lib/widgets/editors/selection-list-widget/index.d.ts +0 -1
- package/widgets/lib/widgets/editors/selection-list-widget/selection-list-widget-column.component.d.ts +2 -2
- package/widgets/lib/widgets/editors/selection-list-widget/selection-list-widget-edit.component.d.ts +10 -7
- package/widgets/lib/widgets/editors/selection-list-widget/selection-list-widget-filter.component.d.ts +2 -2
- package/widgets/lib/widgets/editors/selection-list-widget/selection-list-widget-print.component.d.ts +2 -2
- package/widgets/lib/widgets/editors/selection-list-widget/selection-list-widget-view.component.d.ts +5 -5
- package/widgets/lib/widgets/editors/signature-pad-widget/index.d.ts +0 -1
- package/widgets/lib/widgets/editors/signature-pad-widget/signature-pad-widget-column.component.d.ts +2 -2
- package/widgets/lib/widgets/editors/signature-pad-widget/signature-pad-widget-edit.component.d.ts +4 -2
- package/widgets/lib/widgets/editors/signature-pad-widget/signature-pad-widget-filter.component.d.ts +2 -2
- package/widgets/lib/widgets/editors/signature-pad-widget/signature-pad-widget-print.component.d.ts +2 -2
- package/widgets/lib/widgets/editors/signature-pad-widget/signature-pad-widget-view.component.d.ts +3 -2
- package/widgets/lib/widgets/editors/text-box-widget/index.d.ts +0 -1
- package/widgets/lib/widgets/editors/text-box-widget/text-box-widget-column.component.d.ts +2 -2
- package/widgets/lib/widgets/editors/text-box-widget/text-box-widget-edit.component.d.ts +7 -8
- package/widgets/lib/widgets/editors/text-box-widget/text-box-widget-filter.component.d.ts +2 -2
- package/widgets/lib/widgets/editors/text-box-widget/text-box-widget-print.component.d.ts +2 -2
- package/widgets/lib/widgets/editors/text-box-widget/text-box-widget-view.component.d.ts +3 -3
- package/widgets/lib/widgets/editors/toggle-widget/index.d.ts +0 -1
- package/widgets/lib/widgets/editors/toggle-widget/toggle-widget-column.component.d.ts +3 -3
- package/widgets/lib/widgets/editors/toggle-widget/toggle-widget-edit.component.d.ts +5 -2
- package/widgets/lib/widgets/editors/toggle-widget/toggle-widget-filter.component.d.ts +2 -2
- package/widgets/lib/widgets/editors/toggle-widget/toggle-widget-print.component.d.ts +2 -2
- package/widgets/lib/widgets/editors/toggle-widget/toggle-widget-view.component.d.ts +5 -5
- package/widgets/lib/widgets/index.d.ts +1 -0
- package/widgets/lib/widgets/layout/block-widget/block-widget-designer.component.d.ts +11 -0
- package/widgets/lib/widgets/layout/block-widget/{block-widget.component.d.ts → block-widget-view.component.d.ts} +5 -3
- package/widgets/lib/widgets/layout/block-widget/index.d.ts +2 -1
- package/widgets/lib/widgets/layout/page-widget/index.d.ts +2 -0
- package/widgets/lib/widgets/layout/page-widget/page-widget-designer.component.d.ts +8 -0
- package/widgets/lib/widgets/layout/page-widget/page-widget-view.component.d.ts +8 -0
- package/widgets/lib/widgets/layout/page-widget/page-widget.config.d.ts +2 -0
- package/widgets/lib/widgets/layout/repeater-widget/index.d.ts +0 -2
- package/widgets/lib/widgets/layout/repeater-widget/repeater-widget-designer.component.d.ts +4 -2
- package/widgets/lib/widgets/layout/repeater-widget/repeater-widget-edit.component.d.ts +2 -2
- package/widgets/lib/widgets/layout/repeater-widget/repeater-widget-print.component.d.ts +2 -2
- package/widgets/lib/widgets/layout/repeater-widget/repeater-widget-view.component.d.ts +2 -2
- package/widgets/lib/widgets/layout/text-block-widget/index.d.ts +2 -0
- package/widgets/lib/widgets/layout/text-block-widget/text-block-widget-view.component.d.ts +10 -0
- package/widgets/lib/widgets/layout/text-block-widget/text-block-widget.config.d.ts +2 -0
- package/esm2022/layout/designer/lib/components/widget-property-viewer.component.mjs +0 -86
- package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-designer.component.mjs +0 -19
- package/esm2022/widgets/lib/widgets/editors/contact-widget/contact-widget-designer.component.mjs +0 -19
- package/esm2022/widgets/lib/widgets/editors/date-time-box-widget/date-time-box-widget-designer.component.mjs +0 -19
- package/esm2022/widgets/lib/widgets/editors/email-box-widget/email-box-widget-designer.component.mjs +0 -19
- package/esm2022/widgets/lib/widgets/editors/file-box-widget/file-box-widget-designer.component.mjs +0 -19
- package/esm2022/widgets/lib/widgets/editors/gallery-widget/gallery-widget-designer.component.mjs +0 -19
- package/esm2022/widgets/lib/widgets/editors/large-text-widget/large-text-widget-designer.component.mjs +0 -19
- package/esm2022/widgets/lib/widgets/editors/link-widget/link-widget-designer.component.mjs +0 -19
- package/esm2022/widgets/lib/widgets/editors/map-box-widget/map-box-widget-designer.component.mjs +0 -19
- package/esm2022/widgets/lib/widgets/editors/number-box-widget/number-box-widget-designer.component.mjs +0 -19
- package/esm2022/widgets/lib/widgets/editors/password-box-widget/password-box-widget-designer.component.mjs +0 -19
- package/esm2022/widgets/lib/widgets/editors/phone-box-widget/phone-box-widget-designer.component.mjs +0 -19
- package/esm2022/widgets/lib/widgets/editors/rich-text-widget/rich-text-widget-designer.component.mjs +0 -19
- package/esm2022/widgets/lib/widgets/editors/select-box-widget/select-box-widget-designer.component.mjs +0 -19
- package/esm2022/widgets/lib/widgets/editors/selection-list-widget/selection-list-widget-designer.component.mjs +0 -19
- package/esm2022/widgets/lib/widgets/editors/signature-pad-widget/signature-pad-widget-designer.component.mjs +0 -19
- package/esm2022/widgets/lib/widgets/editors/text-box-widget/text-box-widget-designer.component.mjs +0 -19
- package/esm2022/widgets/lib/widgets/editors/toggle-widget/toggle-widget-designer.component.mjs +0 -19
- package/esm2022/widgets/lib/widgets/layout/block-widget/block-widget.component.mjs +0 -34
- package/esm2022/widgets/lib/widgets/layout/repeater-widget/repeater-widget-column.component.mjs +0 -19
- package/esm2022/widgets/lib/widgets/layout/repeater-widget/repeater-widget-filter.component.mjs +0 -20
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-D1vzPrng.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-DCE6c3Is.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-checkbox-widget-column.component-CJUV6lFi.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-checkbox-widget-view.component-T-tXqoMd.mjs.map +0 -1
- package/layout/entity/lib/widgets/lookup-widget/lookup-widget-designer.component.d.ts +0 -6
- package/widgets/lib/widgets/editors/contact-widget/contact-widget-designer.component.d.ts +0 -6
- package/widgets/lib/widgets/editors/date-time-box-widget/date-time-box-widget-designer.component.d.ts +0 -6
- package/widgets/lib/widgets/editors/email-box-widget/email-box-widget-designer.component.d.ts +0 -6
- package/widgets/lib/widgets/editors/file-box-widget/file-box-widget-designer.component.d.ts +0 -6
- package/widgets/lib/widgets/editors/gallery-widget/gallery-widget-designer.component.d.ts +0 -6
- package/widgets/lib/widgets/editors/large-text-widget/large-text-widget-designer.component.d.ts +0 -6
- package/widgets/lib/widgets/editors/link-widget/link-widget-designer.component.d.ts +0 -6
- package/widgets/lib/widgets/editors/map-box-widget/map-box-widget-designer.component.d.ts +0 -6
- package/widgets/lib/widgets/editors/number-box-widget/number-box-widget-designer.component.d.ts +0 -6
- package/widgets/lib/widgets/editors/password-box-widget/password-box-widget-designer.component.d.ts +0 -6
- package/widgets/lib/widgets/editors/phone-box-widget/phone-box-widget-designer.component.d.ts +0 -6
- package/widgets/lib/widgets/editors/rich-text-widget/rich-text-widget-designer.component.d.ts +0 -6
- package/widgets/lib/widgets/editors/select-box-widget/select-box-widget-designer.component.d.ts +0 -6
- package/widgets/lib/widgets/editors/selection-list-widget/selection-list-widget-designer.component.d.ts +0 -6
- package/widgets/lib/widgets/editors/signature-pad-widget/signature-pad-widget-designer.component.d.ts +0 -6
- package/widgets/lib/widgets/editors/text-box-widget/text-box-widget-designer.component.d.ts +0 -6
- package/widgets/lib/widgets/editors/toggle-widget/toggle-widget-designer.component.d.ts +0 -6
- package/widgets/lib/widgets/layout/repeater-widget/repeater-widget-column.component.d.ts +0 -6
- package/widgets/lib/widgets/layout/repeater-widget/repeater-widget-filter.component.d.ts +0 -6
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { EventEmitter } from "@angular/core";
|
|
2
|
+
import { AXPLayoutContextEvent } from "./widget.types";
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class AXPWidgetContainerComponent {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
get context(): any;
|
|
7
|
-
set context(v: any);
|
|
5
|
+
readonly onChanged: EventEmitter<AXPLayoutContextEvent>;
|
|
6
|
+
context: import("@angular/core").ModelSignal<any>;
|
|
8
7
|
set variables(v: any);
|
|
9
8
|
set functions(v: any);
|
|
10
9
|
private unsubscriber;
|
|
11
10
|
private builderService;
|
|
11
|
+
private ef;
|
|
12
12
|
ngOnInit(): void;
|
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPWidgetContainerComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXPWidgetContainerComponent, "axp-widgets-container", never, { "context": { "alias": "context"; "required": false; }; "variables": { "alias": "variables"; "required": false; }; "functions": { "alias": "functions"; "required": false; }; }, { "
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPWidgetContainerComponent, "axp-widgets-container", never, { "context": { "alias": "context"; "required": false; "isSignal": true; }; "variables": { "alias": "variables"; "required": false; }; "functions": { "alias": "functions"; "required": false; }; }, { "onChanged": "onChanged"; "context": "contextChange"; }, never, ["*"], false, never>;
|
|
15
15
|
}
|
|
@@ -5,6 +5,7 @@ export declare class AXPWidgetRegistryService {
|
|
|
5
5
|
register(widget: AXPWidgetConfig): void;
|
|
6
6
|
extend(parentName: string, widget: AXPWidgetConfig): void;
|
|
7
7
|
resolve(name: string): AXPWidgetConfig | undefined;
|
|
8
|
+
all(): AXPWidgetConfig[];
|
|
8
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPWidgetRegistryService, never>;
|
|
9
10
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXPWidgetRegistryService>;
|
|
10
11
|
}
|
|
@@ -3,13 +3,16 @@ import { CdkPortalOutletAttachedRef, ComponentPortal } from '@angular/cdk/portal
|
|
|
3
3
|
import { WritableSignal } from '@angular/core';
|
|
4
4
|
import { AXPLayoutBuilderService } from './builder.service';
|
|
5
5
|
import { AXPWidgetRegistryService } from './widget-registery.service';
|
|
6
|
-
import {
|
|
6
|
+
import { AXPWidgetComponent, AXPWidgetNode, AXPWidgetRenderMode } from './widget.types';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class AXPWidgetRendererComponent {
|
|
9
9
|
private _node;
|
|
10
10
|
get node(): AXPWidgetNode;
|
|
11
11
|
set node(v: AXPWidgetNode);
|
|
12
|
-
|
|
12
|
+
private _mode;
|
|
13
|
+
get mode(): AXPWidgetRenderMode;
|
|
14
|
+
set mode(v: AXPWidgetRenderMode);
|
|
15
|
+
parentNode: AXPWidgetComponent | null;
|
|
13
16
|
index: number | null;
|
|
14
17
|
protected mergedOptions: WritableSignal<any>;
|
|
15
18
|
private injector;
|
|
@@ -41,5 +44,5 @@ export declare class AXPWidgetRendererComponent {
|
|
|
41
44
|
private evaluateTrigger;
|
|
42
45
|
private evaluateAction;
|
|
43
46
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPWidgetRendererComponent, never>;
|
|
44
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXPWidgetRendererComponent, "axp-widget-renderer", never, { "node": { "alias": "node"; "required": true; }; "parentNode": { "alias": "parentNode"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, false, never>;
|
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPWidgetRendererComponent, "axp-widget-renderer", never, { "node": { "alias": "node"; "required": true; }; "mode": { "alias": "mode"; "required": false; }; "parentNode": { "alias": "parentNode"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, false, never>;
|
|
45
48
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { AXPMetaData, AXPOptionsData, AXPPartialNested, AXPValidationRules } from '@acorex/platform/core';
|
|
1
2
|
import { InjectionToken } from '@angular/core';
|
|
3
|
+
import { Subject } from 'rxjs';
|
|
2
4
|
import { AXPLayoutElement } from './builder.service';
|
|
3
|
-
import { AXPMetaData, AXPOptionsData, AXPPartialNested, AXPValidationRules } from '@acorex/platform/core';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export type AXPWidgetTrigger = {
|
|
6
7
|
event: string;
|
|
@@ -22,24 +23,27 @@ export interface AXPWidgetProperty {
|
|
|
22
23
|
dataType: 'string' | 'number' | 'object' | 'boolean' | 'array';
|
|
23
24
|
nullable?: boolean;
|
|
24
25
|
defaultValue?: any | string | ((context: any | null) => any);
|
|
25
|
-
interface
|
|
26
|
+
interface: Required<Pick<AXPWidgetNode, 'path'>> & Omit<AXPWidgetNode, 'path'>;
|
|
26
27
|
};
|
|
27
28
|
options?: AXPOptionsData;
|
|
28
29
|
validations?: AXPValidationRules;
|
|
30
|
+
visible: boolean;
|
|
29
31
|
}
|
|
30
32
|
export declare function cloneProperty(property: AXPWidgetProperty, values: AXPPartialNested<AXPWidgetProperty>): AXPWidgetProperty;
|
|
31
33
|
export interface AXPWidgetNode {
|
|
32
34
|
type: string;
|
|
33
35
|
path?: string;
|
|
34
36
|
name?: string;
|
|
37
|
+
defaultValue?: any;
|
|
35
38
|
formula?: string;
|
|
36
39
|
children?: AXPWidgetNode[];
|
|
37
|
-
mode: 'view' | 'edit' | 'designer';
|
|
38
40
|
options?: AXPOptionsData;
|
|
39
41
|
triggers?: AXPWidgetTriggers;
|
|
40
42
|
}
|
|
41
|
-
export interface AXPWidgetNodeToken
|
|
43
|
+
export interface AXPWidgetNodeToken {
|
|
42
44
|
config: AXPWidgetConfig;
|
|
45
|
+
node: AXPWidgetNode;
|
|
46
|
+
options?: AXPOptionsData;
|
|
43
47
|
}
|
|
44
48
|
export interface AXPWidgetColumnNode {
|
|
45
49
|
type: string;
|
|
@@ -55,58 +59,75 @@ export interface AXPWidgetComponentConfig {
|
|
|
55
59
|
component: () => Promise<any>;
|
|
56
60
|
properties?: AXPWidgetProperty[];
|
|
57
61
|
}
|
|
62
|
+
export interface AXPWidgetConfigComponents {
|
|
63
|
+
designer: AXPWidgetComponentConfig;
|
|
64
|
+
view: AXPWidgetComponentConfig;
|
|
65
|
+
edit?: AXPWidgetComponentConfig;
|
|
66
|
+
print?: AXPWidgetComponentConfig;
|
|
67
|
+
column?: AXPWidgetComponentConfig;
|
|
68
|
+
filter?: AXPWidgetComponentConfig;
|
|
69
|
+
}
|
|
58
70
|
export interface AXPWidgetConfig {
|
|
59
71
|
name: string;
|
|
60
|
-
|
|
72
|
+
title: string;
|
|
73
|
+
icon?: string;
|
|
74
|
+
description?: string;
|
|
61
75
|
properties?: AXPWidgetProperty[];
|
|
62
|
-
components:
|
|
63
|
-
view: AXPWidgetComponentConfig;
|
|
64
|
-
[name: string]: AXPWidgetComponentConfig;
|
|
65
|
-
};
|
|
76
|
+
components: AXPWidgetConfigComponents;
|
|
66
77
|
meta?: AXPMetaData;
|
|
78
|
+
container?: boolean;
|
|
79
|
+
visible?: boolean;
|
|
67
80
|
}
|
|
81
|
+
export type AXPWidgetRenderMode = keyof AXPWidgetConfigComponents;
|
|
68
82
|
export interface AXPLayoutContextEvent {
|
|
69
83
|
oldValue: any;
|
|
70
84
|
newValue: any;
|
|
71
85
|
path?: string | null;
|
|
72
86
|
data: any;
|
|
73
87
|
}
|
|
74
|
-
export declare abstract class
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
protected readonly path: string | undefined;
|
|
88
|
+
export declare abstract class AXPWidgetComponent<T = any | null | void> extends AXPLayoutElement {
|
|
89
|
+
protected readonly token: AXPWidgetNodeToken;
|
|
90
|
+
protected readonly path: string;
|
|
78
91
|
protected readonly name: string | undefined;
|
|
79
|
-
protected readonly
|
|
80
|
-
protected readonly
|
|
81
|
-
protected
|
|
92
|
+
protected readonly defaultValue: any;
|
|
93
|
+
protected readonly _children: import("@angular/core").WritableSignal<AXPWidgetNode[]>;
|
|
94
|
+
protected children: import("@angular/core").Signal<AXPWidgetNode[]>;
|
|
82
95
|
protected readonly config: AXPWidgetConfig;
|
|
96
|
+
protected _options: import("@angular/core").WritableSignal<any>;
|
|
97
|
+
protected options: import("@angular/core").Signal<any>;
|
|
83
98
|
private readonly contextService;
|
|
84
|
-
|
|
99
|
+
protected readonly rawValue: import("@angular/core").Signal<T>;
|
|
100
|
+
readonly onReady: Subject<void>;
|
|
101
|
+
private isRendered;
|
|
85
102
|
private _id;
|
|
86
103
|
get id(): string | null;
|
|
87
|
-
parent:
|
|
88
|
-
index: number | null;
|
|
89
|
-
|
|
104
|
+
parent: AXPWidgetComponent | null | undefined;
|
|
105
|
+
index: number | null | undefined;
|
|
106
|
+
mode: AXPWidgetRenderMode;
|
|
90
107
|
private _fullPath;
|
|
91
108
|
ngOnInit(): void;
|
|
109
|
+
private nextRender;
|
|
110
|
+
private initRender;
|
|
92
111
|
getValue<T>(): T_1;
|
|
93
112
|
setValue(value: T): void;
|
|
94
113
|
setOptions(values: any): void;
|
|
95
114
|
call(name: string, ...args: any[]): void;
|
|
115
|
+
setChildren(children: AXPWidgetNode[]): void;
|
|
96
116
|
onValueChanged(oldValue: T, newValue: T): void;
|
|
97
117
|
private detectFullPath;
|
|
98
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
99
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
118
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPWidgetComponent<any>, never>;
|
|
119
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXPWidgetComponent<any>>;
|
|
100
120
|
}
|
|
101
|
-
export declare abstract class
|
|
121
|
+
export declare abstract class AXPContainerWidgetComponent<T> extends AXPWidgetComponent<T> {
|
|
122
|
+
readonly node: AXPWidgetNode;
|
|
123
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPContainerWidgetComponent<any>, never>;
|
|
124
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXPContainerWidgetComponent<any>>;
|
|
125
|
+
}
|
|
126
|
+
export declare abstract class AXPColumnWidgetComponent<T = any | null | void> {
|
|
102
127
|
private readonly token;
|
|
103
128
|
protected readonly path: string;
|
|
104
|
-
protected readonly options: AXPOptionsData
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
ngOnInit(): void;
|
|
109
|
-
setOptions(values: any): void;
|
|
110
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXPColumnWidgetBase<any>, never>;
|
|
111
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXPColumnWidgetBase<any>>;
|
|
129
|
+
protected readonly options: AXPOptionsData;
|
|
130
|
+
protected readonly rawValue: any;
|
|
131
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPColumnWidgetComponent<any>, never>;
|
|
132
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXPColumnWidgetComponent<any>>;
|
|
112
133
|
}
|
|
@@ -1,2 +1,7 @@
|
|
|
1
|
-
export * from './lib/
|
|
1
|
+
export * from './lib/board/board.component';
|
|
2
|
+
export * from './lib/buttons/add-widget-button/add-widget-button.component';
|
|
2
3
|
export * from './lib/designer.module';
|
|
4
|
+
export * from './lib/designer.service';
|
|
5
|
+
export * from './lib/designer/designer.component';
|
|
6
|
+
export * from './lib/property-viewer/widget-property-viewer.component';
|
|
7
|
+
export * from './lib/widget-designer-renderer.component';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AXPDesignerService } from '../designer.service';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AXPDesignerBoardComponent {
|
|
4
|
+
protected context: any;
|
|
5
|
+
protected service: AXPDesignerService;
|
|
6
|
+
private get __class();
|
|
7
|
+
private handleKeyboardEvent;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPDesignerBoardComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPDesignerBoardComponent, "axp-designer-board", never, {}, {}, never, never, true, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AXPWidgetNode } from '@acorex/platform/layout/builder';
|
|
2
|
+
import { AXPDesignerService } from '../designer.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AXPDesignerBreadcrumbsComponent {
|
|
5
|
+
protected service: AXPDesignerService;
|
|
6
|
+
protected getTitle(node: AXPWidgetNode): string;
|
|
7
|
+
protected handleClick(node: AXPWidgetNode): void;
|
|
8
|
+
protected handleMouseOver(node: AXPWidgetNode): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPDesignerBreadcrumbsComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPDesignerBreadcrumbsComponent, "axp-designer-breadcrumbs", never, {}, {}, never, never, true, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AXClickEvent } from '@acorex/components/common';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AXPDesignerAddWidgetButtonComponent {
|
|
4
|
+
private designerService;
|
|
5
|
+
private parent;
|
|
6
|
+
handleClick(e: AXClickEvent): Promise<void>;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPDesignerAddWidgetButtonComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPDesignerAddWidgetButtonComponent, "axp-designer-add-widget-button", never, {}, {}, never, never, true, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { AXTabStripChangedEvent } from '@acorex/components/tabs';
|
|
2
|
+
import { AXPWidgetConfig, AXPWidgetRenderMode } from '@acorex/platform/layout/builder';
|
|
3
|
+
import { WritableSignal } from '@angular/core';
|
|
4
|
+
import { AXPDesignerService } from '../designer.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class AXPLayoutDesignerComponent {
|
|
7
|
+
protected currentTabIndex: WritableSignal<number>;
|
|
8
|
+
protected service: AXPDesignerService;
|
|
9
|
+
protected tabs: {
|
|
10
|
+
mode: AXPWidgetRenderMode;
|
|
11
|
+
title: string;
|
|
12
|
+
}[];
|
|
13
|
+
protected handleTabChange(event: AXTabStripChangedEvent): void;
|
|
14
|
+
private get __class();
|
|
15
|
+
protected nodeConfig: import("@angular/core").Signal<AXPWidgetConfig | null>;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPLayoutDesignerComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPLayoutDesignerComponent, "axp-layout-designer", never, {}, {}, never, never, true, never>;
|
|
18
|
+
}
|
|
@@ -1,12 +1,6 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./components/widget-property-viewer.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "@acorex/components/collapse";
|
|
5
|
-
import * as i4 from "@acorex/components/tabs";
|
|
6
|
-
import * as i5 from "@acorex/platform/widgets";
|
|
7
|
-
import * as i6 from "@acorex/platform/layout/builder";
|
|
8
2
|
export declare class AXPDesignerModule {
|
|
9
3
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPDesignerModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXPDesignerModule,
|
|
4
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXPDesignerModule, never, never, never>;
|
|
11
5
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXPDesignerModule>;
|
|
12
6
|
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { AXPWidgetComponent, AXPWidgetConfig, AXPWidgetNode, AXPWidgetRenderMode } from '@acorex/platform/layout/builder';
|
|
2
|
+
import { Subject } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface AXPDesignerFocusCommand {
|
|
5
|
+
widget: AXPWidgetNode | null;
|
|
6
|
+
}
|
|
7
|
+
export interface AXPDesignerUpdateCommand {
|
|
8
|
+
values: any;
|
|
9
|
+
mode: "init" | "update";
|
|
10
|
+
}
|
|
11
|
+
export interface AXPDesignerUpdateEvent {
|
|
12
|
+
values: any;
|
|
13
|
+
widget: AXPWidgetNode;
|
|
14
|
+
}
|
|
15
|
+
export interface AXPDesignerSelectCommand {
|
|
16
|
+
widget: AXPWidgetNode;
|
|
17
|
+
}
|
|
18
|
+
export interface AXPDesignerRegisterCommand {
|
|
19
|
+
id: number;
|
|
20
|
+
widget: AXPWidgetNode;
|
|
21
|
+
config: AXPWidgetConfig;
|
|
22
|
+
instance: AXPWidgetComponent;
|
|
23
|
+
}
|
|
24
|
+
export interface AXPDesignerSelectEvent {
|
|
25
|
+
widget: AXPWidgetNode;
|
|
26
|
+
}
|
|
27
|
+
export interface AXPDesignerRefreshCommand {
|
|
28
|
+
widget: AXPWidgetNode;
|
|
29
|
+
}
|
|
30
|
+
export interface AXPDesignerRefreshEvent {
|
|
31
|
+
widget: AXPWidgetNode;
|
|
32
|
+
}
|
|
33
|
+
export interface AXPDesignerAddNodeCommand {
|
|
34
|
+
widget: AXPWidgetNode;
|
|
35
|
+
}
|
|
36
|
+
export interface AXPDesignerAddNodeEvent {
|
|
37
|
+
widget: AXPWidgetNode;
|
|
38
|
+
}
|
|
39
|
+
export interface AXPDesignerFocusEvent {
|
|
40
|
+
widget: AXPWidgetNode | null;
|
|
41
|
+
}
|
|
42
|
+
export declare class AXPDesignerService {
|
|
43
|
+
private clipboard;
|
|
44
|
+
private undoStack;
|
|
45
|
+
private redoStack;
|
|
46
|
+
private maxHistorySize;
|
|
47
|
+
canUndo: import("@angular/core").WritableSignal<boolean>;
|
|
48
|
+
canRedo: import("@angular/core").WritableSignal<boolean>;
|
|
49
|
+
canCutCopy: import("@angular/core").Signal<boolean>;
|
|
50
|
+
canPaste: import("@angular/core").Signal<boolean>;
|
|
51
|
+
private popupService;
|
|
52
|
+
private widgetRegisteryService;
|
|
53
|
+
readonly root: import("@angular/core").WritableSignal<AXPWidgetNode>;
|
|
54
|
+
breadcrumbs: import("@angular/core").Signal<AXPWidgetNode[]>;
|
|
55
|
+
selectedNode: import("@angular/core").WritableSignal<AXPWidgetNode | null>;
|
|
56
|
+
private _lastSelectedNode;
|
|
57
|
+
private _focusedNode;
|
|
58
|
+
focusedNode: () => AXPWidgetNode | null;
|
|
59
|
+
private _mode;
|
|
60
|
+
mode: import("@angular/core").Signal<keyof import("@acorex/platform/layout/builder").AXPWidgetConfigComponents>;
|
|
61
|
+
setMode(mode: AXPWidgetRenderMode): void;
|
|
62
|
+
readonly onSelected: Subject<AXPDesignerSelectEvent>;
|
|
63
|
+
readonly onRefresh: Subject<AXPDesignerRefreshEvent>;
|
|
64
|
+
register(command: AXPDesignerRegisterCommand): void;
|
|
65
|
+
select(command: AXPDesignerSelectCommand): void;
|
|
66
|
+
readonly onUpdate: Subject<AXPDesignerUpdateEvent>;
|
|
67
|
+
update(command: AXPDesignerUpdateCommand): void;
|
|
68
|
+
readonly onFocused: Subject<AXPDesignerFocusEvent>;
|
|
69
|
+
focus(command: AXPDesignerFocusCommand): void;
|
|
70
|
+
refresh(command: AXPDesignerRefreshCommand): void;
|
|
71
|
+
private findBreadcrumbs;
|
|
72
|
+
showPicker(currentNode: AXPWidgetNode): Promise<void>;
|
|
73
|
+
private createPage;
|
|
74
|
+
findWidgetById(root: AXPWidgetNode, id: string): AXPWidgetNode | null;
|
|
75
|
+
private findParent;
|
|
76
|
+
private findNearestContainer;
|
|
77
|
+
addWidget(currentNode: AXPWidgetNode, node: AXPWidgetNode): AXPWidgetNode | null;
|
|
78
|
+
removeWidget(node: AXPWidgetNode): void;
|
|
79
|
+
private saveStateForUndo;
|
|
80
|
+
private applyState;
|
|
81
|
+
undo(): void;
|
|
82
|
+
redo(): void;
|
|
83
|
+
private formatOutputJSON;
|
|
84
|
+
copy(widget?: AXPWidgetNode | null): void;
|
|
85
|
+
cut(widget?: AXPWidgetNode | null): void;
|
|
86
|
+
paste(parentNode?: AXPWidgetNode): void;
|
|
87
|
+
export(): string;
|
|
88
|
+
download(): void;
|
|
89
|
+
/**
|
|
90
|
+
* Generates a well-formed, unique name for a new widget node based on its type.
|
|
91
|
+
* @param type The type of the widget (e.g., 'textBox', 'numberBox').
|
|
92
|
+
* @returns A unique name for the widget (e.g., 'textBox1', 'numberBox2').
|
|
93
|
+
*/
|
|
94
|
+
private generateUniqueName;
|
|
95
|
+
/**
|
|
96
|
+
* Collects all existing widget names from the widget tree.
|
|
97
|
+
* @param node The current node being inspected.
|
|
98
|
+
* @param names A set to store existing names.
|
|
99
|
+
*/
|
|
100
|
+
private collectAllNames;
|
|
101
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPDesignerService, never>;
|
|
102
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXPDesignerService>;
|
|
103
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { AXPWidgetConfig, AXPWidgetNode } from '@acorex/platform/layout/builder';
|
|
2
|
+
import { AXPDesignerService } from '../designer.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AXPDesignerOutlineComponent {
|
|
5
|
+
protected service: AXPDesignerService;
|
|
6
|
+
protected collapsedStates: Map<any, boolean>;
|
|
7
|
+
protected root: import("@angular/core").WritableSignal<AXPWidgetNode>;
|
|
8
|
+
constructor();
|
|
9
|
+
private toggleCollapse;
|
|
10
|
+
protected isCollapsed(node: any): boolean;
|
|
11
|
+
protected getConfig(node: AXPWidgetNode): AXPWidgetConfig;
|
|
12
|
+
protected handleClick(e: MouseEvent, node: AXPWidgetNode): void;
|
|
13
|
+
protected handleToggleClick(event: MouseEvent, item: any): void;
|
|
14
|
+
protected handleMouseOver(e: MouseEvent, node: AXPWidgetNode): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPDesignerOutlineComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPDesignerOutlineComponent, "axp-designer-outline", never, {}, {}, never, never, true, never>;
|
|
17
|
+
}
|
package/layout/designer/lib/{components → property-viewer}/widget-property-viewer.component.d.ts
RENAMED
|
@@ -1,12 +1,7 @@
|
|
|
1
1
|
import { AXTabStripChangedEvent } from '@acorex/components/tabs';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { WritableSignal } from '@angular/core';
|
|
2
|
+
import { AXPLayoutContextEvent, AXPWidgetConfig, AXPWidgetNode, AXPWidgetProperty } from '@acorex/platform/layout/builder';
|
|
3
|
+
import { EventEmitter, WritableSignal } from '@angular/core';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
|
-
export interface AXPWidgetPropertyViewerInput {
|
|
7
|
-
name: string;
|
|
8
|
-
values: AXPOptionsData;
|
|
9
|
-
}
|
|
10
5
|
export interface AXPWidgetPropertyTab {
|
|
11
6
|
name: string;
|
|
12
7
|
title: string;
|
|
@@ -17,8 +12,12 @@ export interface AXPWidgetPropertyTab {
|
|
|
17
12
|
props: AXPWidgetProperty[];
|
|
18
13
|
}[];
|
|
19
14
|
}
|
|
15
|
+
export interface AXPWidgetPropertiesChangedEvent {
|
|
16
|
+
values: any;
|
|
17
|
+
mode: 'init' | 'update';
|
|
18
|
+
}
|
|
20
19
|
export declare class AXPWidgetPropertyViewerComponent {
|
|
21
|
-
widget: import("@angular/core").InputSignal<
|
|
20
|
+
widget: import("@angular/core").InputSignal<AXPWidgetNode>;
|
|
22
21
|
private widgetRegistryService;
|
|
23
22
|
protected currentTabIndex: WritableSignal<number>;
|
|
24
23
|
protected config: WritableSignal<AXPWidgetConfig | null>;
|
|
@@ -30,12 +29,13 @@ export declare class AXPWidgetPropertyViewerComponent {
|
|
|
30
29
|
isCollapsed: boolean;
|
|
31
30
|
props: AXPWidgetProperty[];
|
|
32
31
|
}[]>;
|
|
33
|
-
|
|
32
|
+
onChanged: EventEmitter<AXPWidgetPropertiesChangedEvent>;
|
|
33
|
+
protected context: WritableSignal<any>;
|
|
34
34
|
protected initialContext: any;
|
|
35
35
|
constructor();
|
|
36
36
|
private fillTabs;
|
|
37
|
-
protected handleContextChange(e:
|
|
38
|
-
handleTabChange(event: AXTabStripChangedEvent): void;
|
|
37
|
+
protected handleContextChange(e: AXPLayoutContextEvent): void;
|
|
38
|
+
protected handleTabChange(event: AXTabStripChangedEvent): void;
|
|
39
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPWidgetPropertyViewerComponent, never>;
|
|
40
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXPWidgetPropertyViewerComponent, "axp-widget-property-viewer", never, { "widget": { "alias": "widget"; "required": true; "isSignal": true; }; }, {}, never, never,
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPWidgetPropertyViewerComponent, "axp-widget-property-viewer", never, { "widget": { "alias": "widget"; "required": true; "isSignal": true; }; }, { "onChanged": "onChanged"; }, never, never, true, never>;
|
|
41
41
|
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { AXUnsubscriber } from '@acorex/core/utils';
|
|
2
|
+
import { AXPWidgetComponent, AXPWidgetNode, AXPWidgetRegistryService } from '@acorex/platform/layout/builder';
|
|
3
|
+
import { CdkPortalOutletAttachedRef, ComponentPortal } from '@angular/cdk/portal';
|
|
4
|
+
import { NgZone, WritableSignal } from '@angular/core';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class AXPWidgetDesignerRendererComponent {
|
|
7
|
+
protected mergedOptions: WritableSignal<any>;
|
|
8
|
+
private injector;
|
|
9
|
+
protected widgetRegistery: AXPWidgetRegistryService;
|
|
10
|
+
protected unsubscriber: AXUnsubscriber;
|
|
11
|
+
protected zone: NgZone;
|
|
12
|
+
protected isLoading: WritableSignal<boolean>;
|
|
13
|
+
private instance;
|
|
14
|
+
private config?;
|
|
15
|
+
protected portal: ComponentPortal<any>;
|
|
16
|
+
private service;
|
|
17
|
+
private elementRef;
|
|
18
|
+
parentNode: import("@angular/core").InputSignal<AXPWidgetComponent<any> | null | undefined>;
|
|
19
|
+
index: import("@angular/core").InputSignal<number | null | undefined>;
|
|
20
|
+
mode: import("@angular/core").InputSignal<keyof import("@acorex/platform/layout/builder").AXPWidgetConfigComponents>;
|
|
21
|
+
node: import("@angular/core").InputSignal<AXPWidgetNode>;
|
|
22
|
+
private hostElement;
|
|
23
|
+
private isCurrentWidget;
|
|
24
|
+
/**
|
|
25
|
+
* @ignore
|
|
26
|
+
*/
|
|
27
|
+
constructor();
|
|
28
|
+
private loadComponent;
|
|
29
|
+
protected handleAttached(portalOutletRef: CdkPortalOutletAttachedRef): Promise<void>;
|
|
30
|
+
private overlay;
|
|
31
|
+
private addOverlay;
|
|
32
|
+
private removeOverlay;
|
|
33
|
+
preprocessAndInitialOptions(obj: any, pathPrefix?: string): void;
|
|
34
|
+
private applyOptions;
|
|
35
|
+
onKeydownHandler(event: KeyboardEvent): Promise<void>;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPWidgetDesignerRendererComponent, never>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPWidgetDesignerRendererComponent, "axp-widget-designer-renderer", never, { "parentNode": { "alias": "parentNode"; "required": false; "isSignal": true; }; "index": { "alias": "index"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": true; "isSignal": true; }; "node": { "alias": "node"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
38
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AXBasePageComponent } from '@acorex/components/page';
|
|
2
|
+
import { AXPWidgetConfig } from '@acorex/platform/layout/builder';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AXPDesignerWidgetPickerComponent extends AXBasePageComponent {
|
|
5
|
+
protected widgets: AXPWidgetConfig[];
|
|
6
|
+
protected handleClick(widget: AXPWidgetConfig): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPDesignerWidgetPickerComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPDesignerWidgetPickerComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
9
|
+
}
|
|
@@ -3,5 +3,4 @@ export * from './lookup-widget-edit.component';
|
|
|
3
3
|
export * from './lookup-widget-filter.component';
|
|
4
4
|
export * from './lookup-widget-column.component';
|
|
5
5
|
export * from './lookup-widget-print.component';
|
|
6
|
-
export * from './lookup-widget-designer.component';
|
|
7
6
|
export * from './lookup-widget.config';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AXPColumnWidgetComponent } from '@acorex/platform/layout/builder';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class AXPLookupWidgetColumnComponent extends
|
|
3
|
+
export declare class AXPLookupWidgetColumnComponent extends AXPColumnWidgetComponent<any> {
|
|
4
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPLookupWidgetColumnComponent, never>;
|
|
5
5
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXPLookupWidgetColumnComponent, "ng-component", never, { "rawValue": { "alias": "rawValue"; "required": false; }; }, {}, never, never, true, never>;
|
|
6
6
|
}
|
|
@@ -3,15 +3,16 @@ import { AXPopupService } from '@acorex/components/popup';
|
|
|
3
3
|
import { AXTextBoxComponent } from '@acorex/components/text-box';
|
|
4
4
|
import { AXFormatService } from '@acorex/core/format';
|
|
5
5
|
import { AXPQueryFilter } from '@acorex/platform/common';
|
|
6
|
-
import {
|
|
6
|
+
import { AXPValidationRules } from '@acorex/platform/core';
|
|
7
|
+
import { AXPWidgetComponent } from '@acorex/platform/layout/builder';
|
|
7
8
|
import { Injector } from '@angular/core';
|
|
8
9
|
import { AXPLookupWidgetSelectorViewModel } from './lookup-widget-selector.viewmodel';
|
|
9
|
-
import { AXPValidationRules } from '@acorex/platform/core';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
|
-
export declare class AXPLookupWidgetEditComponent extends
|
|
12
|
-
protected
|
|
13
|
-
protected
|
|
14
|
-
protected
|
|
11
|
+
export declare class AXPLookupWidgetEditComponent extends AXPWidgetComponent<any> {
|
|
12
|
+
protected expose: import("@angular/core").Signal<string | any[] | undefined>;
|
|
13
|
+
protected entity: import("@angular/core").Signal<string>;
|
|
14
|
+
protected textField: import("@angular/core").WritableSignal<string>;
|
|
15
|
+
protected conditions?: AXPQueryFilter[];
|
|
15
16
|
protected filter: AXDataSourceFilterOption | null;
|
|
16
17
|
protected validationRules: AXPValidationRules;
|
|
17
18
|
protected injector: Injector;
|
|
@@ -22,10 +23,9 @@ export declare class AXPLookupWidgetEditComponent extends AXPWidgetBase<any> {
|
|
|
22
23
|
private readonly destroyRef;
|
|
23
24
|
private translateService;
|
|
24
25
|
private entityDef;
|
|
25
|
-
protected
|
|
26
|
+
protected searchTerm: import("@angular/core").WritableSignal<string | null>;
|
|
26
27
|
protected displayText: import("@angular/core").WritableSignal<string>;
|
|
27
28
|
protected selectedItem: import("@angular/core").WritableSignal<any>;
|
|
28
|
-
protected searchTerm: import("@angular/core").WritableSignal<string | null>;
|
|
29
29
|
textbox: AXTextBoxComponent;
|
|
30
30
|
protected isLoading: import("@angular/core").WritableSignal<boolean>;
|
|
31
31
|
protected isOpen: import("@angular/core").WritableSignal<boolean>;
|
|
@@ -42,5 +42,5 @@ export declare class AXPLookupWidgetEditComponent extends AXPWidgetBase<any> {
|
|
|
42
42
|
protected handleClearClick(): void;
|
|
43
43
|
clear(): void;
|
|
44
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPLookupWidgetEditComponent, never>;
|
|
45
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXPLookupWidgetEditComponent, "ng-component", never, {
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPLookupWidgetEditComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
46
46
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AXPWidgetComponent } from '@acorex/platform/layout/builder';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class AXPLookupWidgetFilterComponent extends
|
|
3
|
+
export declare class AXPLookupWidgetFilterComponent extends AXPWidgetComponent<any> {
|
|
4
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPLookupWidgetFilterComponent, never>;
|
|
5
5
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXPLookupWidgetFilterComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AXPWidgetComponent } from '@acorex/platform/layout/builder';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class AXPLookupWidgetPrintComponent extends
|
|
3
|
+
export declare class AXPLookupWidgetPrintComponent extends AXPWidgetComponent<any> {
|
|
4
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPLookupWidgetPrintComponent, never>;
|
|
5
5
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXPLookupWidgetPrintComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
6
6
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { AXFormatService } from '@acorex/core/format';
|
|
2
|
-
import {
|
|
2
|
+
import { AXPWidgetComponent } from '@acorex/platform/layout/builder';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class AXPLookupWidgetViewComponent extends
|
|
4
|
+
export declare class AXPLookupWidgetViewComponent extends AXPWidgetComponent<any> {
|
|
5
|
+
protected textField: string;
|
|
6
|
+
protected expose: string | undefined;
|
|
7
|
+
protected entity: string;
|
|
5
8
|
protected formatService: AXFormatService;
|
|
6
9
|
protected loader: import("../../entity.config").AXPEntityDefinitionLoader;
|
|
7
10
|
private entityDef;
|
|
8
11
|
protected displayText: import("@angular/core").WritableSignal<string>;
|
|
9
12
|
protected loading: import("@angular/core").WritableSignal<boolean>;
|
|
10
13
|
protected selectedItem: import("@angular/core").WritableSignal<any>;
|
|
11
|
-
protected textField: string;
|
|
12
|
-
protected expose: string | undefined;
|
|
13
|
-
protected entity: string;
|
|
14
14
|
ngOnInit(): Promise<void>;
|
|
15
15
|
setItem(): Promise<void>;
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPLookupWidgetViewComponent, never>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acorex/platform",
|
|
3
|
-
"version": "18.0.
|
|
3
|
+
"version": "18.0.11",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": ">=18.0.0",
|
|
6
6
|
"@angular/core": ">=18.0.0",
|
|
@@ -50,12 +50,6 @@
|
|
|
50
50
|
"esm": "./esm2022/core/acorex-platform-core.mjs",
|
|
51
51
|
"default": "./fesm2022/acorex-platform-core.mjs"
|
|
52
52
|
},
|
|
53
|
-
"./layouts": {
|
|
54
|
-
"types": "./layouts/index.d.ts",
|
|
55
|
-
"esm2022": "./esm2022/layouts/acorex-platform-layouts.mjs",
|
|
56
|
-
"esm": "./esm2022/layouts/acorex-platform-layouts.mjs",
|
|
57
|
-
"default": "./fesm2022/acorex-platform-layouts.mjs"
|
|
58
|
-
},
|
|
59
53
|
"./common": {
|
|
60
54
|
"types": "./common/index.d.ts",
|
|
61
55
|
"esm2022": "./esm2022/common/acorex-platform-common.mjs",
|
|
@@ -68,6 +62,12 @@
|
|
|
68
62
|
"esm": "./esm2022/mocks/acorex-platform-mocks.mjs",
|
|
69
63
|
"default": "./fesm2022/acorex-platform-mocks.mjs"
|
|
70
64
|
},
|
|
65
|
+
"./layouts": {
|
|
66
|
+
"types": "./layouts/index.d.ts",
|
|
67
|
+
"esm2022": "./esm2022/layouts/acorex-platform-layouts.mjs",
|
|
68
|
+
"esm": "./esm2022/layouts/acorex-platform-layouts.mjs",
|
|
69
|
+
"default": "./fesm2022/acorex-platform-layouts.mjs"
|
|
70
|
+
},
|
|
71
71
|
"./native": {
|
|
72
72
|
"types": "./native/index.d.ts",
|
|
73
73
|
"esm2022": "./esm2022/native/acorex-platform-native.mjs",
|