@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,5 +1,17 @@
|
|
|
1
|
+
import { AXP_DATA_PATH_PROPERTY, AXP_DISABLED_PROPERTY, AXP_FALSY_TEXT_PROPERTY, AXP_NAME_PROPERTY, AXP_STYLE_COLOR_PROPERTY, AXP_TRULY_TEXT_PROPERTY, AXP_VALIDATION_PROPERTY, booleanDefaultProperty, } from '../../../properties';
|
|
1
2
|
export const AXPToggleWidget = {
|
|
2
|
-
name:
|
|
3
|
+
name: 'toggle',
|
|
4
|
+
title: 'Toggle',
|
|
5
|
+
properties: [
|
|
6
|
+
AXP_NAME_PROPERTY,
|
|
7
|
+
AXP_DATA_PATH_PROPERTY,
|
|
8
|
+
AXP_DISABLED_PROPERTY,
|
|
9
|
+
AXP_STYLE_COLOR_PROPERTY,
|
|
10
|
+
AXP_VALIDATION_PROPERTY,
|
|
11
|
+
AXP_FALSY_TEXT_PROPERTY,
|
|
12
|
+
AXP_TRULY_TEXT_PROPERTY,
|
|
13
|
+
booleanDefaultProperty(),
|
|
14
|
+
],
|
|
3
15
|
components: {
|
|
4
16
|
view: {
|
|
5
17
|
component: () => import('./toggle-widget-view.component').then((c) => c.AXPToggleWidgetViewComponent),
|
|
@@ -17,8 +29,8 @@ export const AXPToggleWidget = {
|
|
|
17
29
|
component: () => import('./toggle-widget-print.component').then((c) => c.AXPToggleWidgetPrintComponent),
|
|
18
30
|
},
|
|
19
31
|
designer: {
|
|
20
|
-
component: () => import('./toggle-widget-
|
|
32
|
+
component: () => import('./toggle-widget-edit.component').then((c) => c.AXPToggleWidgetEditComponent),
|
|
21
33
|
},
|
|
22
|
-
}
|
|
34
|
+
},
|
|
23
35
|
};
|
|
24
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
36
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9nZ2xlLXdpZGdldC5jb25maWcuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3BsYXRmb3JtL3dpZGdldHMvc3JjL2xpYi93aWRnZXRzL2VkaXRvcnMvdG9nZ2xlLXdpZGdldC90b2dnbGUt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S13aWRnZXQtY29sdW1uLmNvbXBvbmVudCcpLnRoZW4oKGMpID0+IGMuQVhQVG9nZ2xlV2lkZ2V0Q29sdW1uQ29tcG9uZW50KSxcbiAgICB9LFxuICAgIHByaW50OiB7XG4gICAgICBjb21wb25lbnQ6ICgpID0+IGltcG9ydCgnLi90b2dnbGUtd2lkZ2V0LXByaW50LmNvbXBvbmVudCcpLnRoZW4oKGMpID0+IGMuQVhQVG9nZ2xlV2lkZ2V0UHJpbnRDb21wb25lbnQpLFxuICAgIH0sXG4gICAgZGVzaWduZXI6IHtcbiAgICAgIGNvbXBvbmVudDogKCkgPT4gaW1wb3J0KCcuL3RvZ2dsZS13aWRnZXQtZWRpdC5jb21wb25lbnQnKS50aGVuKChjKSA9PiBjLkFYUFRvZ2dsZVdpZGdldEVkaXRDb21wb25lbnQpLFxuICAgIH0sXG4gIH0sXG59O1xuIl19
|
|
@@ -19,6 +19,7 @@ export * from './editors/signature-pad-widget';
|
|
|
19
19
|
export * from './editors/text-box-widget';
|
|
20
20
|
export * from './editors/toggle-widget';
|
|
21
21
|
//
|
|
22
|
+
export * from './layout/page-widget';
|
|
22
23
|
export * from './layout/block-widget';
|
|
23
24
|
export * from './layout/repeater-widget';
|
|
24
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
25
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3BsYXRmb3JtL3dpZGdldHMvc3JjL2xpYi93aWRnZXRzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMseUJBQXlCLENBQUM7QUFDeEMsRUFBRTtBQUNGLGNBQWMsb0JBQW9CLENBQUM7QUFDbkMsY0FBYywwQkFBMEIsQ0FBQztBQUN6QyxjQUFjLGdDQUFnQyxDQUFDO0FBQy9DLGNBQ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J0ICogZnJvbSAnLi9lZGl0b3JzL2xpbmstd2lkZ2V0JztcbmV4cG9ydCAqIGZyb20gJy4vZWRpdG9ycy9tYXAtYm94LXdpZGdldCc7XG5leHBvcnQgKiBmcm9tICcuL2VkaXRvcnMvbnVtYmVyLWJveC13aWRnZXQnO1xuZXhwb3J0ICogZnJvbSAnLi9lZGl0b3JzL3Bhc3N3b3JkLWJveC13aWRnZXQnO1xuZXhwb3J0ICogZnJvbSAnLi9lZGl0b3JzL3Bob25lLWJveC13aWRnZXQnO1xuZXhwb3J0ICogZnJvbSAnLi9lZGl0b3JzL3JpY2gtdGV4dC13aWRnZXQnO1xuZXhwb3J0ICogZnJvbSAnLi9lZGl0b3JzL3NlbGVjdC1ib3gtd2lkZ2V0JztcbmV4cG9ydCAqIGZyb20gJy4vZWRpdG9ycy9zZWxlY3Rpb24tbGlzdC13aWRnZXQnO1xuZXhwb3J0ICogZnJvbSAnLi9lZGl0b3JzL3NpZ25hdHVyZS1wYWQtd2lkZ2V0JztcbmV4cG9ydCAqIGZyb20gJy4vZWRpdG9ycy90ZXh0LWJveC13aWRnZXQnO1xuZXhwb3J0ICogZnJvbSAnLi9lZGl0b3JzL3RvZ2dsZS13aWRnZXQnO1xuLy9cbmV4cG9ydCAqIGZyb20gJy4vbGF5b3V0L3BhZ2Utd2lkZ2V0JztcbmV4cG9ydCAqIGZyb20gJy4vbGF5b3V0L2Jsb2NrLXdpZGdldCc7XG5leHBvcnQgKiBmcm9tICcuL2xheW91dC9yZXBlYXRlci13aWRnZXQnO1xuIl19
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { AXPContainerWidgetComponent, AXPLayoutBuilderModule } from '@acorex/platform/layout/builder';
|
|
2
|
+
import { AXPDesignerAddWidgetButtonComponent, AXPWidgetDesignerRendererComponent } from '@acorex/platform/layout/designer';
|
|
3
|
+
import { CommonModule } from '@angular/common';
|
|
4
|
+
import { ChangeDetectionStrategy, Component, computed, HostBinding } from '@angular/core';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export class AXPBlockWidgetDesignerComponent extends AXPContainerWidgetComponent {
|
|
7
|
+
constructor() {
|
|
8
|
+
super(...arguments);
|
|
9
|
+
this.backgroundColor = computed(() => this.options()["backgroundColor"]);
|
|
10
|
+
this.cssClass = computed(() => this.options()["cssClass"]);
|
|
11
|
+
}
|
|
12
|
+
get __class() {
|
|
13
|
+
return this.cssClass();
|
|
14
|
+
}
|
|
15
|
+
get __class2() {
|
|
16
|
+
return ['ax-border', 'ax-border-dashed'];
|
|
17
|
+
}
|
|
18
|
+
get __style() {
|
|
19
|
+
return {
|
|
20
|
+
'background-color': this.backgroundColor(),
|
|
21
|
+
'display': 'block',
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPBlockWidgetDesignerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
25
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPBlockWidgetDesignerComponent, isStandalone: true, selector: "axp-block-widget", host: { properties: { "class": "this.__class2", "style": "this.__style" } }, providers: [
|
|
26
|
+
{
|
|
27
|
+
provide: AXPContainerWidgetComponent, useExisting: AXPBlockWidgetDesignerComponent
|
|
28
|
+
}
|
|
29
|
+
], usesInheritance: true, ngImport: i0, template: `
|
|
30
|
+
@for (node of children(); track $index) {
|
|
31
|
+
<axp-widget-designer-renderer [node]="node" [parentNode]="this" [mode]="this.mode"> </axp-widget-designer-renderer>
|
|
32
|
+
}
|
|
33
|
+
<axp-designer-add-widget-button></axp-designer-add-widget-button>
|
|
34
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "component", type: AXPWidgetDesignerRendererComponent, selector: "axp-widget-designer-renderer", inputs: ["parentNode", "index", "mode", "node"] }, { kind: "component", type: AXPDesignerAddWidgetButtonComponent, selector: "axp-designer-add-widget-button" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
35
|
+
}
|
|
36
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPBlockWidgetDesignerComponent, decorators: [{
|
|
37
|
+
type: Component,
|
|
38
|
+
args: [{
|
|
39
|
+
selector: 'axp-block-widget',
|
|
40
|
+
template: `
|
|
41
|
+
@for (node of children(); track $index) {
|
|
42
|
+
<axp-widget-designer-renderer [node]="node" [parentNode]="this" [mode]="this.mode"> </axp-widget-designer-renderer>
|
|
43
|
+
}
|
|
44
|
+
<axp-designer-add-widget-button></axp-designer-add-widget-button>
|
|
45
|
+
`,
|
|
46
|
+
standalone: true,
|
|
47
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
48
|
+
imports: [CommonModule, AXPLayoutBuilderModule, AXPWidgetDesignerRendererComponent, AXPDesignerAddWidgetButtonComponent],
|
|
49
|
+
providers: [
|
|
50
|
+
{
|
|
51
|
+
provide: AXPContainerWidgetComponent, useExisting: AXPBlockWidgetDesignerComponent
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
}]
|
|
55
|
+
}], propDecorators: { __class: [{
|
|
56
|
+
type: HostBinding,
|
|
57
|
+
args: ['class']
|
|
58
|
+
}], __class2: [{
|
|
59
|
+
type: HostBinding,
|
|
60
|
+
args: ['class']
|
|
61
|
+
}], __style: [{
|
|
62
|
+
type: HostBinding,
|
|
63
|
+
args: ['style']
|
|
64
|
+
}] } });
|
|
65
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmxvY2std2lkZ2V0LWRlc2lnbmVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvcGxhdGZvcm0vd2lkZ2V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BvcnQgY2xhc3MgQVhQQmxvY2tXaWRnZXREZXNpZ25lckNvbXBvbmVudCBleHRlbmRzIEFYUENvbnRhaW5lcldpZGdldENvbXBvbmVudDx2b2lkPiB7XG5cbiAgcHJvdGVjdGVkIGJhY2tncm91bmRDb2xvciA9IGNvbXB1dGVkPHN0cmluZz4oKCkgPT4gdGhpcy5vcHRpb25zKClbXCJiYWNrZ3JvdW5kQ29sb3JcIl0gYXMgc3RyaW5nKTtcbiAgcHJvdGVjdGVkIGNzc0NsYXNzID0gY29tcHV0ZWQ8c3RyaW5nPigoKSA9PiB0aGlzLm9wdGlvbnMoKVtcImNzc0NsYXNzXCJdIGFzIHN0cmluZyk7XG5cbiAgQEhvc3RCaW5kaW5nKCdjbGFzcycpXG4gIHByaXZhdGUgZ2V0IF9fY2xhc3MoKTogc3RyaW5nIHtcbiAgICByZXR1cm4gdGhpcy5jc3NDbGFzcygpO1xuICB9XG5cbiAgQEhvc3RCaW5kaW5nKCdjbGFzcycpXG4gIHByaXZhdGUgZ2V0IF9fY2xhc3MyKCk6IGFueSB7XG4gICAgcmV0dXJuIFsnYXgtYm9yZGVyJywgJ2F4LWJvcmRlci1kYXNoZWQnXVxuICB9XG5cbiAgQEhvc3RCaW5kaW5nKCdzdHlsZScpXG4gIHByaXZhdGUgZ2V0IF9fc3R5bGUoKTogYW55IHtcbiAgICByZXR1cm4ge1xuICAgICAgJ2JhY2tncm91bmQtY29sb3InOiB0aGlzLmJhY2tncm91bmRDb2xvcigpLFxuICAgICAgJ2Rpc3BsYXknOiAnYmxvY2snLFxuICAgIH07XG4gIH1cbn1cbiJdfQ==
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { AXPLayoutBuilderModule, AXPWidgetComponent } from '@acorex/platform/layout/builder';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { ChangeDetectionStrategy, Component, computed, HostBinding } from '@angular/core';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@acorex/platform/layout/builder";
|
|
6
|
+
export class AXPBlockWidgetViewComponent extends AXPWidgetComponent {
|
|
7
|
+
constructor() {
|
|
8
|
+
super(...arguments);
|
|
9
|
+
this.backgroundColor = computed(() => this.options()["backgroundColor"]);
|
|
10
|
+
this.cssClass = computed(() => this.options()["cssClass"]);
|
|
11
|
+
}
|
|
12
|
+
get __class() {
|
|
13
|
+
return this.cssClass();
|
|
14
|
+
}
|
|
15
|
+
get __style() {
|
|
16
|
+
return {
|
|
17
|
+
'background-color': this.backgroundColor(),
|
|
18
|
+
'display': 'block',
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPBlockWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
22
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPBlockWidgetViewComponent, isStandalone: true, selector: "axp-block-widget", host: { properties: { "class": "this.__class", "style": "this.__style" } }, usesInheritance: true, ngImport: i0, template: `
|
|
23
|
+
@for (node of children(); track $index) {
|
|
24
|
+
<axp-widget-renderer [node]="node" [parentNode]="this" [mode]="this.mode"> </axp-widget-renderer>
|
|
25
|
+
}
|
|
26
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "component", type: i1.AXPWidgetRendererComponent, selector: "axp-widget-renderer", inputs: ["node", "mode", "parentNode", "index"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
27
|
+
}
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPBlockWidgetViewComponent, decorators: [{
|
|
29
|
+
type: Component,
|
|
30
|
+
args: [{
|
|
31
|
+
selector: 'axp-block-widget',
|
|
32
|
+
template: `
|
|
33
|
+
@for (node of children(); track $index) {
|
|
34
|
+
<axp-widget-renderer [node]="node" [parentNode]="this" [mode]="this.mode"> </axp-widget-renderer>
|
|
35
|
+
}
|
|
36
|
+
`,
|
|
37
|
+
standalone: true,
|
|
38
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
39
|
+
imports: [CommonModule, AXPLayoutBuilderModule],
|
|
40
|
+
}]
|
|
41
|
+
}], propDecorators: { __class: [{
|
|
42
|
+
type: HostBinding,
|
|
43
|
+
args: ['class']
|
|
44
|
+
}], __style: [{
|
|
45
|
+
type: HostBinding,
|
|
46
|
+
args: ['style']
|
|
47
|
+
}] } });
|
|
48
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmxvY2std2lkZ2V0LXZpZXcuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9wbGF0Zm9ybS93aWRnZXRzL3NyYy9saWIvd2lkZ2V0cy9sYXlvdXQvYmxvY2std2lkZ2V0L2Jsb2NrLXdpZGdldC12aWV3LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSxpQ0FBaUMsQ0FBQztBQUM3RixPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLHVCQUF1QixFQUFFLFNBQVMsRUFBRSxRQUFRLEVBQUUsV0FBVyxFQUFFLE1BQU0sZUFBZSxDQUFDOzs7QUFhMUYsTUFBTSxPQUFPLDJCQUE0QixTQUFRLGtCQUF3QjtJQVh6RTs7UUFhWSxvQkFBZSxHQUFHLFFBQVEsQ0FBUyxHQUFHLEVBQUUsQ0FBQyxJQUFJLENBQUMsT0FBTyxFQUFFLENBQUMsaUJBQWlCLENBQVcs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zdHlsZScpXG4gIHByaXZhdGUgZ2V0IF9fc3R5bGUoKTogYW55IHtcbiAgICByZXR1cm4ge1xuICAgICAgJ2JhY2tncm91bmQtY29sb3InOiB0aGlzLmJhY2tncm91bmRDb2xvcigpLFxuICAgICAgJ2Rpc3BsYXknOiAnYmxvY2snLFxuICAgIH07XG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,9 +1,27 @@
|
|
|
1
|
+
import { cloneProperty } from '@acorex/platform/layout/builder';
|
|
2
|
+
import { AXP_BG_COLOR_PROPERTY, AXP_FONT_SIZE_PROPERTY } from '../../../properties';
|
|
1
3
|
export const AXPBlockWidget = {
|
|
2
4
|
name: "block",
|
|
5
|
+
title: "Block",
|
|
6
|
+
icon: "fa-solid fa-square",
|
|
7
|
+
container: true,
|
|
8
|
+
properties: [
|
|
9
|
+
AXP_FONT_SIZE_PROPERTY,
|
|
10
|
+
cloneProperty(AXP_BG_COLOR_PROPERTY, { schema: { defaultValue: null } })
|
|
11
|
+
],
|
|
3
12
|
components: {
|
|
13
|
+
designer: {
|
|
14
|
+
component: () => import('./block-widget-designer.component').then((c) => c.AXPBlockWidgetDesignerComponent),
|
|
15
|
+
},
|
|
16
|
+
edit: {
|
|
17
|
+
component: () => import('./block-widget-view.component').then((c) => c.AXPBlockWidgetViewComponent),
|
|
18
|
+
},
|
|
19
|
+
print: {
|
|
20
|
+
component: () => import('./block-widget-view.component').then((c) => c.AXPBlockWidgetViewComponent),
|
|
21
|
+
},
|
|
4
22
|
view: {
|
|
5
|
-
component: () => import('./block-widget.component').then((c) => c.AXPBlockWidgetViewComponent),
|
|
6
|
-
}
|
|
23
|
+
component: () => import('./block-widget-view.component').then((c) => c.AXPBlockWidgetViewComponent),
|
|
24
|
+
},
|
|
7
25
|
}
|
|
8
26
|
};
|
|
9
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
27
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmxvY2std2lkZ2V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gICAgICAgICAgICBjb21wb25lbnQ6ICgpID0+IGltcG9ydCgnLi9ibG9jay13aWRnZXQtZGVzaWduZXIuY29tcG9uZW50JykudGhlbigoYykgPT4gYy5BWFBCbG9ja1dpZGdldERlc2lnbmVyQ29tcG9uZW50KSxcbiAgICAgICAgfSxcbiAgICAgICAgZWRpdDoge1xuICAgICAgICAgICAgY29tcG9uZW50OiAoKSA9PiBpbXBvcnQoJy4vYmxvY2std2lkZ2V0LXZpZXcuY29tcG9uZW50JykudGhlbigoYykgPT4gYy5BWFBCbG9ja1dpZGdldFZpZXdDb21wb25lbnQpLFxuICAgICAgICB9LFxuICAgICAgICBwcmludDoge1xuICAgICAgICAgICAgY29tcG9uZW50OiAoKSA9PiBpbXBvcnQoJy4vYmxvY2std2lkZ2V0LXZpZXcuY29tcG9uZW50JykudGhlbigoYykgPT4gYy5BWFBCbG9ja1dpZGdldFZpZXdDb21wb25lbnQpLFxuICAgICAgICB9LFxuICAgICAgICB2aWV3OiB7XG4gICAgICAgICAgICBjb21wb25lbnQ6ICgpID0+IGltcG9ydCgnLi9ibG9jay13aWRnZXQtdmlldy5jb21wb25lbnQnKS50aGVuKChjKSA9PiBjLkFYUEJsb2NrV2lkZ2V0Vmlld0NvbXBvbmVudCksXG4gICAgICAgIH0sXG4gICAgfVxufSJdfQ==
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
export * from './block-widget.component';
|
|
1
|
+
export * from './block-widget-designer.component';
|
|
2
|
+
export * from './block-widget-view.component';
|
|
2
3
|
export * from './block-widget.config';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3BsYXRmb3JtL3dpZGdldHMvc3JjL2xpYi93aWRnZXRzL2xheW91dC9ibG9jay13aWRnZXQvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxtQ0FBbUMsQ0FBQztBQUNsRCxjQUFjLCtCQUErQixDQUFDO0FBQzlDLGNBQWMsdUJBQXVCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2Jsb2NrLXdpZGdldC1kZXNpZ25lci5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9ibG9jay13aWRnZXQtdmlldy5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9ibG9jay13aWRnZXQuY29uZmlnJzsiXX0=
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './page-widget-view.component';
|
|
2
|
+
export * from './page-widget.config';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3BsYXRmb3JtL3dpZGdldHMvc3JjL2xpYi93aWRnZXRzL2xheW91dC9wYWdlLXdpZGdldC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLDhCQUE4QixDQUFDO0FBQzdDLGNBQWMsc0JBQXNCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3BhZ2Utd2lkZ2V0LXZpZXcuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vcGFnZS13aWRnZXQuY29uZmlnJzsiXX0=
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { AXPLayoutBuilderModule, AXPContainerWidgetComponent } from '@acorex/platform/layout/builder';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { ChangeDetectionStrategy, Component, computed, HostBinding, ViewEncapsulation } from '@angular/core';
|
|
4
|
+
import { AXPDesignerAddWidgetButtonComponent, AXPWidgetDesignerRendererComponent } from "@acorex/platform/layout/designer";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export class AXPPageWidgetDesignerComponent extends AXPContainerWidgetComponent {
|
|
7
|
+
constructor() {
|
|
8
|
+
super(...arguments);
|
|
9
|
+
this.backgroundColor = computed(() => this.options()["backgroundColor"]);
|
|
10
|
+
}
|
|
11
|
+
get __style() {
|
|
12
|
+
return {
|
|
13
|
+
'background-color': this.backgroundColor(),
|
|
14
|
+
'display': 'block',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPPageWidgetDesignerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
18
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPPageWidgetDesignerComponent, isStandalone: true, selector: "axp-page-widget", host: { properties: { "style": "this.__style" } }, providers: [
|
|
19
|
+
{
|
|
20
|
+
provide: AXPContainerWidgetComponent, useExisting: AXPPageWidgetDesignerComponent
|
|
21
|
+
}
|
|
22
|
+
], usesInheritance: true, ngImport: i0, template: `
|
|
23
|
+
@for (node of children(); track $index) {
|
|
24
|
+
<axp-widget-designer-renderer [node]="node" [parentNode]="this" [mode]="mode">
|
|
25
|
+
</axp-widget-designer-renderer>
|
|
26
|
+
}
|
|
27
|
+
<axp-designer-add-widget-button></axp-designer-add-widget-button>
|
|
28
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "component", type: AXPWidgetDesignerRendererComponent, selector: "axp-widget-designer-renderer", inputs: ["parentNode", "index", "mode", "node"] }, { kind: "component", type: AXPDesignerAddWidgetButtonComponent, selector: "axp-designer-add-widget-button" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
29
|
+
}
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPPageWidgetDesignerComponent, decorators: [{
|
|
31
|
+
type: Component,
|
|
32
|
+
args: [{
|
|
33
|
+
selector: 'axp-page-widget',
|
|
34
|
+
template: `
|
|
35
|
+
@for (node of children(); track $index) {
|
|
36
|
+
<axp-widget-designer-renderer [node]="node" [parentNode]="this" [mode]="mode">
|
|
37
|
+
</axp-widget-designer-renderer>
|
|
38
|
+
}
|
|
39
|
+
<axp-designer-add-widget-button></axp-designer-add-widget-button>
|
|
40
|
+
`,
|
|
41
|
+
standalone: true,
|
|
42
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
43
|
+
encapsulation: ViewEncapsulation.None,
|
|
44
|
+
imports: [CommonModule, AXPLayoutBuilderModule, AXPWidgetDesignerRendererComponent, AXPDesignerAddWidgetButtonComponent],
|
|
45
|
+
providers: [
|
|
46
|
+
{
|
|
47
|
+
provide: AXPContainerWidgetComponent, useExisting: AXPPageWidgetDesignerComponent
|
|
48
|
+
}
|
|
49
|
+
]
|
|
50
|
+
}]
|
|
51
|
+
}], propDecorators: { __style: [{
|
|
52
|
+
type: HostBinding,
|
|
53
|
+
args: ['style']
|
|
54
|
+
}] } });
|
|
55
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFnZS13aWRnZXQtZGVzaWduZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9wbGF0Zm9ybS93aWRnZXRzL3NyYy9saWIvd2lkZ2V0cy9sYXlvdXQvcGFnZS13aWRnZXQvcGFnZS13aWRnZXQtZGVzaWduZXIuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRS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LmJhY2tncm91bmRDb2xvcigpLFxuICAgICAgJ2Rpc3BsYXknOiAnYmxvY2snLFxuICAgIH07XG4gIH1cbn0iXX0=
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { AXPLayoutBuilderModule, AXPWidgetComponent } from '@acorex/platform/layout/builder';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { ChangeDetectionStrategy, Component, computed, HostBinding, ViewEncapsulation } from '@angular/core';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@acorex/platform/layout/builder";
|
|
6
|
+
export class AXPPageWidgetViewComponent extends AXPWidgetComponent {
|
|
7
|
+
constructor() {
|
|
8
|
+
super(...arguments);
|
|
9
|
+
this.backgroundColor = computed(() => this.options()["backgroundColor"]);
|
|
10
|
+
}
|
|
11
|
+
get __style() {
|
|
12
|
+
return {
|
|
13
|
+
'background-color': this.backgroundColor(),
|
|
14
|
+
'display': 'block',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPPageWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
18
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPPageWidgetViewComponent, isStandalone: true, selector: "axp-page-widget", host: { properties: { "style": "this.__style" } }, usesInheritance: true, ngImport: i0, template: `
|
|
19
|
+
@for (node of children(); track $index) {
|
|
20
|
+
<axp-widget-renderer [node]="node" [parentNode]="this" [mode]="mode" > </axp-widget-renderer>
|
|
21
|
+
}
|
|
22
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "component", type: i1.AXPWidgetRendererComponent, selector: "axp-widget-renderer", inputs: ["node", "mode", "parentNode", "index"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
23
|
+
}
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPPageWidgetViewComponent, decorators: [{
|
|
25
|
+
type: Component,
|
|
26
|
+
args: [{
|
|
27
|
+
selector: 'axp-page-widget',
|
|
28
|
+
template: `
|
|
29
|
+
@for (node of children(); track $index) {
|
|
30
|
+
<axp-widget-renderer [node]="node" [parentNode]="this" [mode]="mode" > </axp-widget-renderer>
|
|
31
|
+
}
|
|
32
|
+
`,
|
|
33
|
+
standalone: true,
|
|
34
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
35
|
+
encapsulation: ViewEncapsulation.None,
|
|
36
|
+
imports: [CommonModule, AXPLayoutBuilderModule],
|
|
37
|
+
}]
|
|
38
|
+
}], propDecorators: { __style: [{
|
|
39
|
+
type: HostBinding,
|
|
40
|
+
args: ['style']
|
|
41
|
+
}] } });
|
|
42
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFnZS13aWRnZXQtdmlldy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3BsYXRmb3JtL3dpZGdldHMvc3JjL2xpYi93aWRnZXRzL2xheW91dC9wYWdlLXdpZGdldC9wYWdlLXdpZGdldC12aWV3LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSxpQ0FBaUMsQ0FBQztBQUM3RixPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLHVCQUF1QixFQUFFLFNBQVMsRUFBRSxRQUFRLEVBQUUsV0FBVyxFQUFVLGlCQUFpQixFQUFFL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IH07XG4gIH1cblxufSJdfQ==
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { AXP_BG_COLOR_PROPERTY, AXP_FONT_SIZE_PROPERTY } from '../../../properties';
|
|
2
|
+
export const AXPPageWidget = {
|
|
3
|
+
name: "page",
|
|
4
|
+
title: "Page",
|
|
5
|
+
icon: "fa-solid fa-page",
|
|
6
|
+
container: true,
|
|
7
|
+
visible: false,
|
|
8
|
+
properties: [
|
|
9
|
+
AXP_FONT_SIZE_PROPERTY,
|
|
10
|
+
AXP_BG_COLOR_PROPERTY
|
|
11
|
+
],
|
|
12
|
+
components: {
|
|
13
|
+
view: {
|
|
14
|
+
component: () => import('./page-widget-view.component').then((c) => c.AXPPageWidgetViewComponent),
|
|
15
|
+
},
|
|
16
|
+
edit: {
|
|
17
|
+
component: () => import('./page-widget-view.component').then((c) => c.AXPPageWidgetViewComponent),
|
|
18
|
+
},
|
|
19
|
+
print: {
|
|
20
|
+
component: () => import('./page-widget-view.component').then((c) => c.AXPPageWidgetViewComponent),
|
|
21
|
+
},
|
|
22
|
+
designer: {
|
|
23
|
+
component: () => import('./page-widget-designer.component').then((c) => c.AXPPageWidgetDesignerComponent),
|
|
24
|
+
},
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFnZS13aWRnZXQuY29uZmlnLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9wbGF0Zm9ybS93aWRnZXRzL3NyYy9saWIvd2lkZ2V0cy9sYXlvdXQvcGFnZS13aWRnZXQvcGFnZS13aWRnZXQuY29uZmlnLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxzQkFBc0IsRUFBRSxNQUFNLHFCQUFxQixDQUFDO0FBQ3BGLE1BQU0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dpZGdldC1kZXNpZ25lci5jb21wb25lbnQnKS50aGVuKChjKSA9PiBjLkFYUFBhZ2VXaWRnZXREZXNpZ25lckNvbXBvbmVudCksXG4gICAgfSxcbiAgfVxufSJdfQ==
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
export * from './repeater-widget-view.component';
|
|
2
2
|
export * from './repeater-widget-edit.component';
|
|
3
|
-
export * from './repeater-widget-filter.component';
|
|
4
|
-
export * from './repeater-widget-column.component';
|
|
5
3
|
export * from './repeater-widget-print.component';
|
|
6
4
|
export * from './repeater-widget-designer.component';
|
|
7
5
|
export * from './repeater-widget.config';
|
|
8
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3BsYXRmb3JtL3dpZGdldHMvc3JjL2xpYi93aWRnZXRzL2xheW91dC9yZXBlYXRlci13aWRnZXQvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxrQ0FBa0MsQ0FBQztBQUNqRCxjQUFjLGtDQUFrQyxDQUFDO0FBQ2pELGNBQWMsbUNBQW1DLENBQUM7QUFDbEQsY0FBYyxzQ0FBc0MsQ0FBQztBQUNyRCxjQUFjLDBCQUEwQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9yZXBlYXRlci13aWRnZXQtdmlldy5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9yZXBlYXRlci13aWRnZXQtZWRpdC5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9yZXBlYXRlci13aWRnZXQtcHJpbnQuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vcmVwZWF0ZXItd2lkZ2V0LWRlc2lnbmVyLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL3JlcGVhdGVyLXdpZGdldC5jb25maWcnOyJdfQ==
|
package/esm2022/widgets/lib/widgets/layout/repeater-widget/repeater-widget-designer.component.mjs
CHANGED
|
@@ -1,19 +1,50 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AXPContainerWidgetComponent, AXPLayoutBuilderModule, } from '@acorex/platform/layout/builder';
|
|
2
|
+
import { AXPDesignerAddWidgetButtonComponent, AXPWidgetDesignerRendererComponent } from '@acorex/platform/layout/designer';
|
|
2
3
|
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
|
4
|
+
import { ChangeDetectionStrategy, Component, signal } from '@angular/core';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
|
-
export class AXPRepeaterWidgetDesignerComponent extends
|
|
6
|
+
export class AXPRepeaterWidgetDesignerComponent extends AXPContainerWidgetComponent {
|
|
7
|
+
constructor() {
|
|
8
|
+
super(...arguments);
|
|
9
|
+
this.rows = signal([0]);
|
|
10
|
+
}
|
|
6
11
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPRepeaterWidgetDesignerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
7
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
12
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPRepeaterWidgetDesignerComponent, isStandalone: true, selector: "ng-component", providers: [
|
|
13
|
+
{
|
|
14
|
+
provide: AXPContainerWidgetComponent, useExisting: AXPRepeaterWidgetDesignerComponent
|
|
15
|
+
}
|
|
16
|
+
], usesInheritance: true, ngImport: i0, template: `
|
|
17
|
+
@for(row of rows();let i=$index; track i){
|
|
18
|
+
<ng-container>
|
|
19
|
+
@for (node of children();track $index) {
|
|
20
|
+
<axp-widget-designer-renderer [node]="node" [parentNode]="this" [index]="i" [mode]="this.mode"> </axp-widget-designer-renderer>
|
|
21
|
+
}
|
|
22
|
+
</ng-container>
|
|
23
|
+
}
|
|
24
|
+
<axp-designer-add-widget-button></axp-designer-add-widget-button>
|
|
25
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "component", type: AXPWidgetDesignerRendererComponent, selector: "axp-widget-designer-renderer", inputs: ["parentNode", "index", "mode", "node"] }, { kind: "component", type: AXPDesignerAddWidgetButtonComponent, selector: "axp-designer-add-widget-button" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
8
26
|
}
|
|
9
27
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPRepeaterWidgetDesignerComponent, decorators: [{
|
|
10
28
|
type: Component,
|
|
11
29
|
args: [{
|
|
12
|
-
template:
|
|
30
|
+
template: `
|
|
31
|
+
@for(row of rows();let i=$index; track i){
|
|
32
|
+
<ng-container>
|
|
33
|
+
@for (node of children();track $index) {
|
|
34
|
+
<axp-widget-designer-renderer [node]="node" [parentNode]="this" [index]="i" [mode]="this.mode"> </axp-widget-designer-renderer>
|
|
35
|
+
}
|
|
36
|
+
</ng-container>
|
|
37
|
+
}
|
|
38
|
+
<axp-designer-add-widget-button></axp-designer-add-widget-button>
|
|
39
|
+
`,
|
|
13
40
|
standalone: true,
|
|
14
41
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
15
|
-
imports: [CommonModule],
|
|
16
|
-
|
|
42
|
+
imports: [CommonModule, AXPLayoutBuilderModule, AXPWidgetDesignerRendererComponent, AXPDesignerAddWidgetButtonComponent],
|
|
43
|
+
providers: [
|
|
44
|
+
{
|
|
45
|
+
provide: AXPContainerWidgetComponent, useExisting: AXPRepeaterWidgetDesignerComponent
|
|
46
|
+
}
|
|
47
|
+
]
|
|
17
48
|
}]
|
|
18
49
|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AgICA8YXhwLXdpZGdldC1kZXNpZ25lci1yZW5kZXJlciBbbm9kZV09XCJub2RlXCIgW3BhcmVudE5vZGVdPVwidGhpc1wiIFtpbmRleF09XCJpXCIgW21vZGVdPVwidGhpcy5tb2RlXCI+IDwvYXhwLXdpZGdldC1kZXNpZ25lci1yZW5kZXJlcj5cbiAgICAgIH1cbiAgICA8L25nLWNvbnRhaW5lcj5cbiAgICB9XG4gICA8YXhwLWRlc2lnbmVyLWFkZC13aWRnZXQtYnV0dG9uPjwvYXhwLWRlc2lnbmVyLWFkZC13aWRnZXQtYnV0dG9uPlxuICBgLFxuICBzdGFuZGFsb25lOiB0cnVlLFxuICBjaGFuZ2VEZXRlY3Rpb246IENoYW5nZURldGVjdGlvblN0cmF0ZWd5Lk9uUHVzaCxcbiAgaW1wb3J0czogW0NvbW1vbk1vZHVsZSwgQVhQTGF5b3V0QnVpbGRlck1vZHVsZSwgQVhQV2lkZ2V0RGVzaWduZXJSZW5kZXJlckNvbXBvbmVudCwgQVhQRGVzaWduZXJBZGRXaWRnZXRCdXR0b25Db21wb25lbnRdLFxuICBwcm92aWRlcnM6IFtcbiAgICB7XG4gICAgICBwcm92aWRlOiBBWFBDb250YWluZXJXaWRnZXRDb21wb25lbnQsIHVzZUV4aXN0aW5nOiBBWFBSZXBlYXRlcldpZGdldERlc2lnbmVyQ29tcG9uZW50XG4gICAgfVxuICBdXG59KVxuZXhwb3J0IGNsYXNzIEFYUFJlcGVhdGVyV2lkZ2V0RGVzaWduZXJDb21wb25lbnQgZXh0ZW5kcyBBWFBDb250YWluZXJXaWRnZXRDb21wb25lbnQ8dm9pZD4ge1xuXG4gIHByb3RlY3RlZCByb3dzOiBXcml0YWJsZVNpZ25hbDxhbnlbXT4gPSBzaWduYWwoWzBdKTtcblxufSJdfQ==
|
package/esm2022/widgets/lib/widgets/layout/repeater-widget/repeater-widget-edit.component.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AXPWidgetComponent } from '@acorex/platform/layout/builder';
|
|
2
2
|
import { CommonModule } from '@angular/common';
|
|
3
3
|
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
|
4
4
|
import { FormsModule } from '@angular/forms';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export class AXPRepeaterWidgetEditComponent extends
|
|
6
|
+
export class AXPRepeaterWidgetEditComponent extends AXPWidgetComponent {
|
|
7
7
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPRepeaterWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
8
8
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPRepeaterWidgetEditComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
9
9
|
}
|
|
@@ -17,4 +17,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
|
17
17
|
inputs: []
|
|
18
18
|
}]
|
|
19
19
|
}] });
|
|
20
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVwZWF0ZXItd2lkZ2V0LWVkaXQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9wbGF0Zm9ybS93aWRnZXRzL3NyYy9saWIvd2lkZ2V0cy9sYXlvdXQvcmVwZWF0ZXItd2lkZ2V0L3JlcGVhdGVyLXdpZGdldC1lZGl0LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQU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lRGV0ZWN0aW9uOiBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneS5PblB1c2gsXG4gIGltcG9ydHM6IFtDb21tb25Nb2R1bGUsIEZvcm1zTW9kdWxlXSxcbiAgaW5wdXRzOiBbXVxufSlcbmV4cG9ydCBjbGFzcyBBWFBSZXBlYXRlcldpZGdldEVkaXRDb21wb25lbnQgZXh0ZW5kcyBBWFBXaWRnZXRDb21wb25lbnQ8YW55PiB7IH0iXX0=
|
package/esm2022/widgets/lib/widgets/layout/repeater-widget/repeater-widget-print.component.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AXPWidgetComponent } from '@acorex/platform/layout/builder';
|
|
2
2
|
import { CommonModule } from '@angular/common';
|
|
3
3
|
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export class AXPRepeaterWidgetPrintComponent extends
|
|
5
|
+
export class AXPRepeaterWidgetPrintComponent extends AXPWidgetComponent {
|
|
6
6
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPRepeaterWidgetPrintComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
7
7
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPRepeaterWidgetPrintComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
8
8
|
}
|
|
@@ -16,4 +16,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
|
16
16
|
inputs: []
|
|
17
17
|
}]
|
|
18
18
|
}] });
|
|
19
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2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ZWN0aW9uU3RyYXRlZ3ksIENvbXBvbmVudCwgaW5qZWN0IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5AQ29tcG9uZW50KHtcbiAgdGVtcGxhdGU6IGBgLFxuICBzdGFuZGFsb25lOiB0cnVlLFxuICBjaGFuZ2VEZXRlY3Rpb246IENoYW5nZURldGVjdGlvblN0cmF0ZWd5Lk9uUHVzaCxcbiAgaW1wb3J0czogW0NvbW1vbk1vZHVsZV0sXG4gIGlucHV0czogW11cbn0pXG5leHBvcnQgY2xhc3MgQVhQUmVwZWF0ZXJXaWRnZXRQcmludENvbXBvbmVudCBleHRlbmRzIEFYUFdpZGdldENvbXBvbmVudDxhbnk+IHsgfSJdfQ==
|
package/esm2022/widgets/lib/widgets/layout/repeater-widget/repeater-widget-view.component.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { AXPLayoutBuilderModule,
|
|
1
|
+
import { AXPLayoutBuilderModule, AXPWidgetComponent } from '@acorex/platform/layout/builder';
|
|
2
2
|
import { CommonModule } from '@angular/common';
|
|
3
3
|
import { ChangeDetectionStrategy, Component, signal } from '@angular/core';
|
|
4
4
|
import { FormsModule } from '@angular/forms';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
import * as i1 from "@acorex/platform/layout/builder";
|
|
7
|
-
export class AXPRepeaterWidgetViewComponent extends
|
|
7
|
+
export class AXPRepeaterWidgetViewComponent extends AXPWidgetComponent {
|
|
8
8
|
constructor() {
|
|
9
9
|
super(...arguments);
|
|
10
10
|
this.rows = signal([]);
|
|
@@ -24,12 +24,12 @@ export class AXPRepeaterWidgetViewComponent extends AXPWidgetBase {
|
|
|
24
24
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPRepeaterWidgetViewComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
|
|
25
25
|
@for(row of rows();let i=$index; track i){
|
|
26
26
|
<ng-container>
|
|
27
|
-
@for (node of children;track $index) {
|
|
27
|
+
@for (node of children();track $index) {
|
|
28
28
|
<axp-widget-renderer [node]="node" [parentNode]="this" [index]="i"> </axp-widget-renderer>
|
|
29
29
|
}
|
|
30
30
|
</ng-container>
|
|
31
31
|
}
|
|
32
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "component", type: i1.AXPWidgetRendererComponent, selector: "axp-widget-renderer", inputs: ["node", "parentNode", "index"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
32
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "component", type: i1.AXPWidgetRendererComponent, selector: "axp-widget-renderer", inputs: ["node", "mode", "parentNode", "index"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
33
33
|
}
|
|
34
34
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPRepeaterWidgetViewComponent, decorators: [{
|
|
35
35
|
type: Component,
|
|
@@ -37,7 +37,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
|
37
37
|
template: `
|
|
38
38
|
@for(row of rows();let i=$index; track i){
|
|
39
39
|
<ng-container>
|
|
40
|
-
@for (node of children;track $index) {
|
|
40
|
+
@for (node of children();track $index) {
|
|
41
41
|
<axp-widget-renderer [node]="node" [parentNode]="this" [index]="i"> </axp-widget-renderer>
|
|
42
42
|
}
|
|
43
43
|
</ng-container>
|
|
@@ -49,4 +49,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
|
49
49
|
inputs: [],
|
|
50
50
|
}]
|
|
51
51
|
}] });
|
|
52
|
-
//# sourceMappingURL=data:application/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