@acorex/platform 1.0.0 → 1.0.1
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/auth/index.d.ts +3 -6
- package/auth/lib/application/application.loader.d.ts +2 -3
- package/auth/lib/auth.module.d.ts +5 -4
- package/auth/lib/auth.strategy.d.ts +17 -6
- package/auth/lib/errors.types.d.ts +12 -2
- package/auth/lib/feature/feature.directive.d.ts +15 -0
- package/auth/lib/feature/feature.guard.d.ts +2 -0
- package/auth/lib/feature/feature.loader.d.ts +2 -1
- package/auth/lib/feature/index.d.ts +4 -0
- package/auth/lib/permission/index.d.ts +4 -0
- package/auth/lib/permission/permission.directive.d.ts +5 -6
- package/auth/lib/permission/permission.guard.d.ts +1 -1
- package/auth/lib/permission/permission.loader.d.ts +2 -1
- package/auth/lib/session.service.d.ts +21 -13
- package/auth/lib/session.types.d.ts +24 -0
- package/auth/lib/tenant/tenant.loader.d.ts +2 -3
- package/common/index.d.ts +0 -1
- package/common/lib/common.module.d.ts +1 -1
- package/common/lib/configs/app.config.d.ts +0 -1
- package/common/lib/data/data-provider.types.d.ts +4 -0
- package/common/lib/shared/state-persistence/state-persistence.actions.d.ts +1 -1
- package/common/lib/store/common.actions.d.ts +3 -3
- package/core/README.md +4 -0
- package/core/index.d.ts +4 -0
- package/core/lib/app/application.types.d.ts +144 -0
- package/core/lib/app/operators.d.ts +22 -0
- package/core/lib/configs/config.types.d.ts +5 -0
- package/core/lib/core.module.d.ts +6 -0
- package/esm2022/auth/index.mjs +4 -7
- package/esm2022/auth/lib/application/application.loader.mjs +2 -5
- package/esm2022/auth/lib/auth-registry.service.mjs +3 -3
- package/esm2022/auth/lib/auth.guard.mjs +7 -9
- package/esm2022/auth/lib/auth.module.mjs +26 -20
- package/esm2022/auth/lib/auth.strategy.mjs +1 -1
- package/esm2022/auth/lib/errors.types.mjs +7 -5
- package/esm2022/auth/lib/feature/feature.directive.mjs +55 -0
- package/esm2022/auth/lib/feature/feature.guard.mjs +19 -0
- package/esm2022/auth/lib/feature/feature.loader.mjs +2 -2
- package/esm2022/auth/lib/feature/index.mjs +5 -0
- package/esm2022/auth/lib/permission/index.mjs +5 -0
- package/esm2022/auth/lib/permission/permission.directive.mjs +24 -21
- package/esm2022/auth/lib/permission/permission.guard.mjs +12 -9
- package/esm2022/auth/lib/permission/permission.loader.mjs +2 -2
- package/esm2022/auth/lib/session.service.mjs +116 -121
- package/esm2022/auth/lib/session.types.mjs +29 -0
- package/esm2022/auth/lib/tenant/tenant.loader.mjs +2 -5
- package/esm2022/common/index.mjs +1 -2
- package/esm2022/common/lib/common.module.mjs +19 -26
- package/esm2022/common/lib/configs/app.config.mjs +2 -3
- package/esm2022/common/lib/data/data-provider.types.mjs +1 -1
- package/esm2022/common/lib/errors/error-handler-registry.service.mjs +3 -3
- package/esm2022/common/lib/errors/global-error-handler.mjs +3 -3
- package/esm2022/common/lib/settings/settings.service.mjs +3 -3
- package/esm2022/common/lib/shared/state-persistence/state-persistence.module.mjs +4 -4
- package/esm2022/common/lib/store/common.effects.mjs +3 -3
- package/esm2022/common/lib/utils/clipboard-service.mjs +3 -3
- package/esm2022/common/lib/utils/router-util.service.mjs +3 -3
- package/esm2022/common/lib/utils/sticky.directive.mjs +3 -3
- package/esm2022/core/acorex-platform-core.mjs +5 -0
- package/esm2022/core/index.mjs +5 -0
- package/esm2022/core/lib/app/application.types.mjs +19 -0
- package/esm2022/core/lib/app/operators.mjs +50 -0
- package/esm2022/core/lib/configs/config.types.mjs +3 -0
- package/esm2022/core/lib/core.module.mjs +16 -0
- package/esm2022/layout/acorex-platform-layout.mjs +5 -0
- package/esm2022/layout/index.mjs +3 -0
- package/esm2022/layout/lib/builder/builder.module.mjs +66 -0
- package/esm2022/layout/lib/builder/context.service.mjs +64 -0
- package/esm2022/layout/lib/builder/index.mjs +8 -0
- package/esm2022/layout/lib/builder/widget-column-renderer.mjs +75 -0
- package/esm2022/layout/lib/builder/widget-container.mjs +45 -0
- package/esm2022/layout/lib/builder/widget-registery.service.mjs +33 -0
- package/esm2022/layout/lib/builder/widget-renderer.mjs +279 -0
- package/esm2022/layout/lib/builder/widget.types.mjs +49 -0
- package/esm2022/layout/lib/component-slot/component-slot-loader.service.mjs +56 -0
- package/esm2022/layout/lib/component-slot/component-slot-registery.service.mjs +28 -0
- package/esm2022/layout/lib/component-slot/component-slot.directive.mjs +24 -0
- package/esm2022/layout/lib/component-slot/component-slot.module.mjs +72 -0
- package/esm2022/layout/lib/component-slot/component-slot.types.mjs +2 -0
- package/esm2022/layout/lib/component-slot/index.mjs +6 -0
- package/esm2022/layouts/lib/admin/admin-child-layout/admin-child-features-list.component.mjs +3 -3
- package/esm2022/layouts/lib/admin/admin-child-layout/admin-child-layout.component.mjs +3 -3
- package/esm2022/layouts/lib/admin/admin-child-layout/admin-child-layout.module.mjs +4 -4
- package/esm2022/layouts/lib/admin/admin-root-layout/admin-root-layout.component.mjs +6 -6
- package/esm2022/layouts/lib/admin/admin-root-layout/admin-root-layout.module.mjs +6 -6
- package/esm2022/layouts/lib/admin/admin-root-layout/components/admin-footer/admin-footer.component.mjs +4 -4
- package/esm2022/layouts/lib/admin/admin-root-layout/components/admin-header/admin-header.component.mjs +5 -5
- package/esm2022/layouts/lib/admin/admin.module.mjs +18 -10
- package/esm2022/layouts/lib/admin/admin.routes.mjs +14 -2
- package/esm2022/layouts/lib/admin/entity-layout/entity-create-view/entity-create-view.component.mjs +4 -4
- package/esm2022/layouts/lib/admin/entity-layout/entity-create-view/entity-create-view.config.mjs +3 -3
- package/esm2022/layouts/lib/admin/entity-layout/entity-details-view/detail-view.config.mjs +3 -3
- package/esm2022/layouts/lib/admin/entity-layout/entity-details-view/entity-details-view.component.mjs +15 -15
- package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/components/entity-custom-view/entity-custom-view.component.mjs +4 -4
- package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/components/list-view-option-columns/list-view-option-columns.component.mjs +3 -3
- package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/components/list-view-option-conditions/list-view-option-conditions.component.mjs +3 -3
- package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/components/list-view-option-conditions/list-view-option-filter-operator.component.mjs +6 -6
- package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/components/list-view-option-sorting/list-view-option-sorting.component.mjs +3 -3
- package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/entity-list-view.component.mjs +31 -27
- package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/list-view.config.mjs +8 -6
- package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/list-view.module.mjs +11 -7
- package/esm2022/layouts/lib/admin/entity-layout/entity-modify-view/entity-modify-view.component.mjs +4 -4
- package/esm2022/layouts/lib/admin/entity-layout/entity-modify-view/entity-modify-view.config.mjs +3 -3
- package/esm2022/layouts/lib/admin/entity-layout/entity-quick-view/entity-quick-view.component.mjs +16 -18
- package/esm2022/layouts/lib/admin/entity-layout/index.mjs +2 -1
- package/esm2022/layouts/lib/admin/entity-layout/workflows/create-entity.workflow.mjs +3 -3
- package/esm2022/layouts/lib/admin/entity-layout/workflows/delete-entity.workflow.mjs +7 -22
- package/esm2022/layouts/lib/admin/entity-layout/workflows/index.mjs +4 -0
- package/esm2022/layouts/lib/admin/entity-layout/workflows/modify-entity.workflow.mjs +3 -3
- package/esm2022/layouts/lib/admin/entity-layout/workflows/show-details.workflow.mjs +10 -0
- package/esm2022/layouts/lib/admin/entity-layout/workflows/show-list.workflow.mjs +10 -0
- package/esm2022/layouts/lib/admin/entity-layout/workflows/show-quick-view.workflow.mjs +10 -0
- package/esm2022/layouts/lib/admin/entity.resolver.mjs +1 -5
- package/esm2022/layouts/lib/admin/store/admin-layout.effects.mjs +3 -3
- package/esm2022/layouts/lib/layout.module.mjs +9 -24
- package/esm2022/layouts/lib/shared/components/content-view/content-view.page.mjs +4 -4
- package/esm2022/layouts/lib/shared/components/error-401/error-401.component.mjs +5 -6
- package/esm2022/layouts/lib/shared/components/error-404/error-404.component.mjs +3 -3
- package/esm2022/layouts/lib/shared/components/error-offline/error-offline.component.mjs +3 -3
- package/esm2022/layouts/lib/shared/components/index.mjs +2 -1
- package/esm2022/layouts/lib/shared/components/logo/logo.component.mjs +5 -5
- package/esm2022/layouts/lib/shared/components/slots/footer-text-slot.component.mjs +3 -3
- package/esm2022/layouts/lib/shared/components/slots/navbar-slot.component.mjs +3 -3
- package/esm2022/layouts/lib/shared/components/slots/theme-slot.component.mjs +4 -4
- package/esm2022/layouts/lib/shared/entity/entity-registery.service.mjs +3 -3
- package/esm2022/layouts/lib/shared/entity/entity.class.mjs +1 -1
- package/esm2022/layouts/lib/shared/services/layout.service.mjs +3 -3
- package/esm2022/layouts/lib/shared/workflows/common.workflow.mjs +54 -17
- package/esm2022/layouts/lib/shared/workflows/error-handler.mjs +3 -3
- package/esm2022/layouts/lib/themes/default/entity-layouts/entity-details-view/entity-details-view.component.mjs +73 -0
- package/esm2022/layouts/lib/themes/default/entity-layouts/entity-details.viewmodel.mjs +99 -0
- package/esm2022/layouts/lib/themes/default/index.mjs +3 -0
- package/esm2022/layouts/lib/widgets/avatar/avatar-widget-edit.component.mjs +70 -12
- package/esm2022/layouts/lib/widgets/avatar/avatar-widget-view.component.mjs +41 -13
- package/esm2022/layouts/lib/widgets/checkbox/checkbox-widget-column.component.mjs +6 -6
- package/esm2022/layouts/lib/widgets/checkbox/checkbox-widget-edit.component.mjs +3 -3
- package/esm2022/layouts/lib/widgets/checkbox/checkbox-widget-view.component.mjs +5 -5
- package/esm2022/layouts/lib/widgets/common-widget-filter/boolean-widget-filter.component.mjs +4 -4
- package/esm2022/layouts/lib/widgets/common-widget-filter/number-widget-filter.component.mjs +3 -3
- package/esm2022/layouts/lib/widgets/common-widget-filter/string-widget-filter.component.mjs +3 -3
- package/esm2022/layouts/lib/widgets/common-widgets.module.mjs +32 -7
- package/esm2022/layouts/lib/widgets/dateTime/dateTime-widget-column.component.mjs +7 -7
- package/esm2022/layouts/lib/widgets/dateTime/dateTime-widget-edit.component.mjs +12 -9
- package/esm2022/layouts/lib/widgets/dateTime/dateTime-widget-filter.component.mjs +10 -26
- package/esm2022/layouts/lib/widgets/dateTime/dateTime-widget-view.component.mjs +6 -6
- package/esm2022/layouts/lib/widgets/email/email-widget-column.component.mjs +7 -7
- package/esm2022/layouts/lib/widgets/email/email-widget-edit.component.mjs +5 -5
- package/esm2022/layouts/lib/widgets/email/email-widget-view.component.mjs +5 -5
- package/esm2022/layouts/lib/widgets/file/file-widget-column.component.mjs +6 -6
- package/esm2022/layouts/lib/widgets/file/file-widget-edit.component.mjs +5 -5
- package/esm2022/layouts/lib/widgets/file/file-widget-filter.component.mjs +5 -5
- package/esm2022/layouts/lib/widgets/file/file-widget-view.component.mjs +5 -5
- package/esm2022/layouts/lib/widgets/gallery/gallery-widget-edit.component.mjs +5 -5
- package/esm2022/layouts/lib/widgets/gallery/gallery-widget-filter.component.mjs +5 -5
- package/esm2022/layouts/lib/widgets/gallery/gallery-widget-view.component.mjs +6 -6
- package/esm2022/layouts/lib/widgets/lookup/lookup-widget-column.component.mjs +6 -6
- package/esm2022/layouts/lib/widgets/lookup/lookup-widget-edit.component.mjs +5 -5
- package/esm2022/layouts/lib/widgets/lookup/lookup-widget-filter.component.mjs +10 -34
- package/esm2022/layouts/lib/widgets/lookup/lookup-widget-view.component.mjs +5 -5
- package/esm2022/layouts/lib/widgets/map/map-widget-edit.component.mjs +3 -3
- package/esm2022/layouts/lib/widgets/map/map-widget-view.component.mjs +5 -5
- package/esm2022/layouts/lib/widgets/messenger/messenger-widget-column.component.mjs +7 -7
- package/esm2022/layouts/lib/widgets/messenger/messenger-widget-edit.component.mjs +5 -5
- package/esm2022/layouts/lib/widgets/messenger/messenger-widget-view.component.mjs +5 -5
- package/esm2022/layouts/lib/widgets/number/number-widget-edit.component.mjs +3 -3
- package/esm2022/layouts/lib/widgets/number/number-widget-view.component.mjs +6 -6
- package/esm2022/layouts/lib/widgets/password/change-password.component.mjs +5 -5
- package/esm2022/layouts/lib/widgets/password/password-widget-column.component.mjs +10 -20
- package/esm2022/layouts/lib/widgets/password/password-widget-edit.component.mjs +17 -10
- package/esm2022/layouts/lib/widgets/password/password-widget-view.component.mjs +5 -5
- package/esm2022/layouts/lib/widgets/phone/phone-widget-column.component.mjs +7 -7
- package/esm2022/layouts/lib/widgets/phone/phone-widget-edit.component.mjs +8 -92
- package/esm2022/layouts/lib/widgets/phone/phone-widget-view.component.mjs +5 -5
- package/esm2022/layouts/lib/widgets/rich-text/rich-text-widget-column.component.mjs +9 -17
- package/esm2022/layouts/lib/widgets/rich-text/rich-text-widget-edit.component.mjs +3 -3
- package/esm2022/layouts/lib/widgets/rich-text/rich-text-widget-view.component.mjs +5 -5
- package/esm2022/layouts/lib/widgets/selection-list/selection-list-widget-column.component.mjs +6 -6
- package/esm2022/layouts/lib/widgets/selection-list/selection-list-widget-edit.component.mjs +28 -28
- package/esm2022/layouts/lib/widgets/selection-list/selection-list-widget-filter.component.mjs +6 -6
- package/esm2022/layouts/lib/widgets/selection-list/selection-list-widget-view.component.mjs +6 -6
- package/esm2022/layouts/lib/widgets/signature-pad/signature-pad-widget-edit.component.mjs +5 -5
- package/esm2022/layouts/lib/widgets/signature-pad/signature-pad-widget-view.component.mjs +5 -5
- package/esm2022/layouts/lib/widgets/text/largetext-widget-edit.component.mjs +3 -3
- package/esm2022/layouts/lib/widgets/text/text-widget-column.component.mjs +10 -11
- package/esm2022/layouts/lib/widgets/text/text-widget-edit.component.mjs +5 -5
- package/esm2022/layouts/lib/widgets/text/text-widget-view.component.mjs +5 -5
- package/esm2022/layouts/lib/widgets/toggle/toggle-widget-column.component.mjs +6 -6
- package/esm2022/layouts/lib/widgets/toggle/toggle-widget-edit.component.mjs +3 -3
- package/esm2022/layouts/lib/widgets/toggle/toggle-widget-view.component.mjs +5 -5
- package/esm2022/mocks/lib/mocks.module.mjs +4 -4
- package/esm2022/mocks/lib/services/mocker.service.mjs +8 -18
- package/esm2022/mocks/lib/storage/storage.mock.service.mjs +6 -9
- package/esm2022/native/lib/native.module.mjs +4 -4
- package/esm2022/native/lib/native.service.mjs +3 -3
- package/esm2022/schema/index.mjs +2 -2
- package/esm2022/schema/lib/schema-registery.service.mjs +4 -4
- package/esm2022/schema/lib/schema.module.mjs +4 -4
- package/esm2022/schema/lib/schema.types.mjs +2 -0
- package/esm2022/schema/lib/widget/widget-base.mjs +14 -11
- package/esm2022/schema/lib/widget/widget-column-renderer.mjs +36 -17
- package/esm2022/schema/lib/widget/widget-filter-renderer.mjs +3 -3
- package/esm2022/schema/lib/widget/widget-renderer.mjs +7 -7
- package/esm2022/schema/lib/widget/widget-token.mjs +1 -1
- package/esm2022/widgets/acorex-platform-widgets.mjs +5 -0
- package/esm2022/widgets/index.mjs +2 -0
- package/esm2022/widgets/lib/editors/checkbox/checkbox-widget-edit.component.mjs +45 -0
- package/esm2022/widgets/lib/editors/checkbox/checkbox-widget.config.mjs +9 -0
- package/esm2022/widgets/lib/editors/checkbox/index.mjs +3 -0
- package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget-column.component.mjs +19 -0
- package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget-designer.component.mjs +19 -0
- package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget-edit.component.mjs +113 -0
- package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget-filter.component.mjs +20 -0
- package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget-print.component.mjs +19 -0
- package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget-view.component.mjs +45 -0
- package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget.config.mjs +24 -0
- package/esm2022/widgets/lib/editors/date-time-box-widget/index.mjs +8 -0
- package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget-column.component.mjs +19 -0
- package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget-designer.component.mjs +19 -0
- package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget-edit.component.mjs +196 -0
- package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget-filter.component.mjs +20 -0
- package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget-print.component.mjs +19 -0
- package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget-view.component.mjs +111 -0
- package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget.config.mjs +24 -0
- package/esm2022/widgets/lib/editors/email-box-widget/index.mjs +8 -0
- package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget-column.component.mjs +19 -0
- package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget-designer.component.mjs +19 -0
- package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget-edit.component.mjs +189 -0
- package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget-filter.component.mjs +20 -0
- package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget-print.component.mjs +19 -0
- package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget-view.component.mjs +147 -0
- package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget.config.mjs +24 -0
- package/esm2022/widgets/lib/editors/file-box-widget/index.mjs +8 -0
- package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-column.component.mjs +19 -0
- package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-designer.component.mjs +19 -0
- package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-edit.component.mjs +172 -0
- package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-filter.component.mjs +20 -0
- package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-print.component.mjs +19 -0
- package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-types.mjs +2 -0
- package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-view.component.mjs +159 -0
- package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget.config.mjs +24 -0
- package/esm2022/widgets/lib/editors/gallery-widget/index.mjs +8 -0
- package/esm2022/widgets/lib/editors/map-box-widget/index.mjs +8 -0
- package/esm2022/widgets/lib/editors/map-box-widget/map-box-widget-column.component.mjs +19 -0
- package/esm2022/widgets/lib/editors/map-box-widget/map-box-widget-designer.component.mjs +19 -0
- package/esm2022/widgets/lib/editors/map-box-widget/map-box-widget-edit.component.mjs +92 -0
- package/esm2022/widgets/lib/editors/map-box-widget/map-box-widget-filter.component.mjs +20 -0
- package/esm2022/widgets/lib/editors/map-box-widget/map-box-widget-print.component.mjs +19 -0
- package/esm2022/widgets/lib/editors/map-box-widget/map-box-widget-view.component.mjs +65 -0
- package/esm2022/widgets/lib/editors/map-box-widget/map-box-widget.config.mjs +24 -0
- package/esm2022/widgets/lib/editors/number-box-widget/index.mjs +8 -0
- package/esm2022/widgets/lib/editors/number-box-widget/number-box-widget-column.component.mjs +19 -0
- package/esm2022/widgets/lib/editors/number-box-widget/number-box-widget-designer.component.mjs +19 -0
- package/esm2022/widgets/lib/editors/number-box-widget/number-box-widget-edit.component.mjs +135 -0
- package/esm2022/widgets/lib/editors/number-box-widget/number-box-widget-filter.component.mjs +20 -0
- package/esm2022/widgets/lib/editors/number-box-widget/number-box-widget-print.component.mjs +19 -0
- package/esm2022/widgets/lib/editors/number-box-widget/number-box-widget-view.component.mjs +39 -0
- package/esm2022/widgets/lib/editors/number-box-widget/number-box-widget.config.mjs +24 -0
- package/esm2022/widgets/lib/editors/password-box-widget/index.mjs +8 -0
- package/esm2022/widgets/lib/editors/password-box-widget/password-box-widget-column.component.mjs +19 -0
- package/esm2022/widgets/lib/editors/password-box-widget/password-box-widget-designer.component.mjs +19 -0
- package/esm2022/widgets/lib/editors/password-box-widget/password-box-widget-edit.component.mjs +39 -0
- package/esm2022/widgets/lib/editors/password-box-widget/password-box-widget-filter.component.mjs +20 -0
- package/esm2022/widgets/lib/editors/password-box-widget/password-box-widget-print.component.mjs +19 -0
- package/esm2022/widgets/lib/editors/password-box-widget/password-box-widget-view.component.mjs +73 -0
- package/esm2022/widgets/lib/editors/password-box-widget/password-box-widget.config.mjs +24 -0
- package/esm2022/widgets/lib/editors/phone-box-widget/index.mjs +8 -0
- package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget-column.component.mjs +19 -0
- package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget-designer.component.mjs +19 -0
- package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget-edit.component.mjs +190 -0
- package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget-filter.component.mjs +20 -0
- package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget-print.component.mjs +19 -0
- package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget-view.component.mjs +113 -0
- package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget.config.mjs +24 -0
- package/esm2022/widgets/lib/editors/rich-text-widget/index.mjs +8 -0
- package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget-column.component.mjs +19 -0
- package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget-designer.component.mjs +19 -0
- package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget-edit.component.mjs +63 -0
- package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget-filter.component.mjs +20 -0
- package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget-print.component.mjs +19 -0
- package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget-view.component.mjs +33 -0
- package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget.config.mjs +24 -0
- package/esm2022/widgets/lib/editors/select-box-widget/index.mjs +8 -0
- package/esm2022/widgets/lib/editors/select-box-widget/select-box-widget-column.component.mjs +19 -0
- package/esm2022/widgets/lib/editors/select-box-widget/select-box-widget-designer.component.mjs +19 -0
- package/esm2022/widgets/lib/editors/select-box-widget/select-box-widget-edit.component.mjs +80 -0
- package/esm2022/widgets/lib/editors/select-box-widget/select-box-widget-filter.component.mjs +19 -0
- package/esm2022/widgets/lib/editors/select-box-widget/select-box-widget-print.component.mjs +19 -0
- package/esm2022/widgets/lib/editors/select-box-widget/select-box-widget-view.component.mjs +54 -0
- package/esm2022/widgets/lib/editors/select-box-widget/select-box-widget.config.mjs +24 -0
- package/esm2022/widgets/lib/editors/selection-list-widget/index.mjs +8 -0
- package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget-column.component.mjs +19 -0
- package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget-designer.component.mjs +19 -0
- package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget-edit.component.mjs +58 -0
- package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget-filter.component.mjs +20 -0
- package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget-print.component.mjs +19 -0
- package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget-view.component.mjs +19 -0
- package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget.config.mjs +24 -0
- package/esm2022/widgets/lib/editors/signature-pad-widget/index.mjs +8 -0
- package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget-column.component.mjs +19 -0
- package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget-designer.component.mjs +19 -0
- package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget-edit.component.mjs +129 -0
- package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget-filter.component.mjs +20 -0
- package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget-print.component.mjs +19 -0
- package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget-view.component.mjs +41 -0
- package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget.config.mjs +24 -0
- package/esm2022/widgets/lib/editors/text-box-widget/index.mjs +8 -0
- package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget-column.component.mjs +19 -0
- package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget-designer.component.mjs +19 -0
- package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget-edit.component.mjs +120 -0
- package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget-filter.component.mjs +20 -0
- package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget-print.component.mjs +19 -0
- package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget-view.component.mjs +39 -0
- package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget.config.mjs +24 -0
- package/esm2022/widgets/lib/layout/block-widget/block-widget.component.mjs +39 -0
- package/esm2022/widgets/lib/layout/block-widget/block-widget.config.mjs +9 -0
- package/esm2022/widgets/lib/layout/block-widget/index.mjs +3 -0
- package/esm2022/widgets/lib/widgets.module.mjs +71 -0
- package/esm2022/workflow/lib/workflow-event-dispatcher.service.mjs +3 -3
- package/esm2022/workflow/lib/workflow-registery.service.mjs +3 -3
- package/esm2022/workflow/lib/workflow.module.mjs +4 -4
- package/esm2022/workflow/lib/workflow.service.mjs +3 -3
- package/esm2022/workflow/lib/workflow.types.mjs +7 -7
- package/fesm2022/acorex-platform-auth.mjs +311 -214
- package/fesm2022/acorex-platform-auth.mjs.map +1 -1
- package/fesm2022/acorex-platform-common.mjs +70 -244
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs +94 -0
- package/fesm2022/acorex-platform-core.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout.mjs +756 -0
- package/fesm2022/acorex-platform-layout.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layouts-avatar-widget-edit.component-PZr1lXj-.mjs → acorex-platform-layouts-avatar-widget-edit.component-a_eCmVu5.mjs} +72 -14
- package/fesm2022/acorex-platform-layouts-avatar-widget-edit.component-a_eCmVu5.mjs.map +1 -0
- package/fesm2022/acorex-platform-layouts-avatar-widget-view.component-wwI7L0Kc.mjs +64 -0
- package/fesm2022/acorex-platform-layouts-avatar-widget-view.component-wwI7L0Kc.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layouts-boolean-widget-filter.component-H056Q5Gz.mjs → acorex-platform-layouts-boolean-widget-filter.component-CHW4rgxA.mjs} +6 -6
- package/fesm2022/{acorex-platform-layouts-boolean-widget-filter.component-H056Q5Gz.mjs.map → acorex-platform-layouts-boolean-widget-filter.component-CHW4rgxA.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-layouts-change-password.component-QMAm6dxN.mjs → acorex-platform-layouts-change-password.component-vUZy2W_B.mjs} +7 -7
- package/fesm2022/{acorex-platform-layouts-change-password.component-QMAm6dxN.mjs.map → acorex-platform-layouts-change-password.component-vUZy2W_B.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-layouts-checkbox-widget-column.component-vRJI5S-w.mjs → acorex-platform-layouts-checkbox-widget-column.component-BNEtAS7g.mjs} +6 -6
- package/fesm2022/acorex-platform-layouts-checkbox-widget-column.component-BNEtAS7g.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layouts-checkbox-widget-edit.component-P4cD_Nwg.mjs → acorex-platform-layouts-checkbox-widget-edit.component-Cqn_QBcv.mjs} +4 -4
- package/fesm2022/{acorex-platform-layouts-checkbox-widget-edit.component-P4cD_Nwg.mjs.map → acorex-platform-layouts-checkbox-widget-edit.component-Cqn_QBcv.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-layouts-checkbox-widget-view.component-m6bF8XFR.mjs → acorex-platform-layouts-checkbox-widget-view.component-DQLggJ9x.mjs} +5 -5
- package/fesm2022/acorex-platform-layouts-checkbox-widget-view.component-DQLggJ9x.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layouts-dateTime-widget-column.component-qeQRJePy.mjs → acorex-platform-layouts-dateTime-widget-column.component-D0eNN66F.mjs} +7 -7
- package/fesm2022/acorex-platform-layouts-dateTime-widget-column.component-D0eNN66F.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layouts-dateTime-widget-edit.component-zeJXGXY8.mjs → acorex-platform-layouts-dateTime-widget-edit.component-BLqAWdRX.mjs} +13 -10
- package/fesm2022/acorex-platform-layouts-dateTime-widget-edit.component-BLqAWdRX.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layouts-dateTime-widget-filter.component-DJ6esclU.mjs → acorex-platform-layouts-dateTime-widget-filter.component-tvc-cTos.mjs} +10 -26
- package/fesm2022/acorex-platform-layouts-dateTime-widget-filter.component-tvc-cTos.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layouts-dateTime-widget-view.component-BrwycTWz.mjs → acorex-platform-layouts-dateTime-widget-view.component-CjChqiJw.mjs} +6 -6
- package/fesm2022/acorex-platform-layouts-dateTime-widget-view.component-CjChqiJw.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layouts-email-widget-column.component-ac8gqsFT.mjs → acorex-platform-layouts-email-widget-column.component-CUnxKERe.mjs} +7 -7
- package/fesm2022/acorex-platform-layouts-email-widget-column.component-CUnxKERe.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layouts-email-widget-edit.component-m2dI7y9X.mjs → acorex-platform-layouts-email-widget-edit.component-DqnNien2.mjs} +8 -8
- package/fesm2022/{acorex-platform-layouts-email-widget-edit.component-m2dI7y9X.mjs.map → acorex-platform-layouts-email-widget-edit.component-DqnNien2.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-layouts-email-widget-view.component-XrV8va7z.mjs → acorex-platform-layouts-email-widget-view.component-BZsLYW2w.mjs} +5 -5
- package/fesm2022/{acorex-platform-layouts-email-widget-view.component-XrV8va7z.mjs.map → acorex-platform-layouts-email-widget-view.component-BZsLYW2w.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-layouts-entity-create-view.component-8rtifIvM.mjs → acorex-platform-layouts-entity-create-view.component-C3TUCnB2.mjs} +6 -6
- package/fesm2022/{acorex-platform-layouts-entity-create-view.component-8rtifIvM.mjs.map → acorex-platform-layouts-entity-create-view.component-C3TUCnB2.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-layouts-entity-modify-view.component-VeTkP3-n.mjs → acorex-platform-layouts-entity-modify-view.component-BnSfJlc5.mjs} +6 -6
- package/fesm2022/{acorex-platform-layouts-entity-modify-view.component-VeTkP3-n.mjs.map → acorex-platform-layouts-entity-modify-view.component-BnSfJlc5.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-layouts-file-widget-column.component-v7kAdIQ9.mjs → acorex-platform-layouts-file-widget-column.component-f54Z9E5C.mjs} +6 -6
- package/fesm2022/acorex-platform-layouts-file-widget-column.component-f54Z9E5C.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layouts-file-widget-edit.component-Wrq7ZL9R.mjs → acorex-platform-layouts-file-widget-edit.component-CW9ESi46.mjs} +6 -6
- package/fesm2022/{acorex-platform-layouts-file-widget-edit.component-Wrq7ZL9R.mjs.map → acorex-platform-layouts-file-widget-edit.component-CW9ESi46.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-layouts-file-widget-filter.component-1-NJh38j.mjs → acorex-platform-layouts-file-widget-filter.component-K3mC1xLX.mjs} +5 -5
- package/fesm2022/{acorex-platform-layouts-file-widget-filter.component-1-NJh38j.mjs.map → acorex-platform-layouts-file-widget-filter.component-K3mC1xLX.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-layouts-file-widget-view.component-mXBrKX0K.mjs → acorex-platform-layouts-file-widget-view.component-DVlbi33v.mjs} +7 -7
- package/fesm2022/acorex-platform-layouts-file-widget-view.component-DVlbi33v.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layouts-gallery-widget-edit.component-cWNvVwum.mjs → acorex-platform-layouts-gallery-widget-edit.component-BUlkUU5u.mjs} +6 -6
- package/fesm2022/{acorex-platform-layouts-gallery-widget-edit.component-cWNvVwum.mjs.map → acorex-platform-layouts-gallery-widget-edit.component-BUlkUU5u.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-layouts-gallery-widget-filter.component-OCz0hj5i.mjs → acorex-platform-layouts-gallery-widget-filter.component-BYFQSXOV.mjs} +5 -5
- package/fesm2022/{acorex-platform-layouts-gallery-widget-filter.component-OCz0hj5i.mjs.map → acorex-platform-layouts-gallery-widget-filter.component-BYFQSXOV.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-layouts-gallery-widget-view.component-xU52uaP0.mjs → acorex-platform-layouts-gallery-widget-view.component-BqVO3rDH.mjs} +7 -7
- package/fesm2022/acorex-platform-layouts-gallery-widget-view.component-BqVO3rDH.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layouts-largetext-widget-edit.component-Um_eBRFi.mjs → acorex-platform-layouts-largetext-widget-edit.component-CmH9daul.mjs} +4 -4
- package/fesm2022/{acorex-platform-layouts-largetext-widget-edit.component-Um_eBRFi.mjs.map → acorex-platform-layouts-largetext-widget-edit.component-CmH9daul.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-layouts-lookup-widget-column.component-Ts0MJe8O.mjs → acorex-platform-layouts-lookup-widget-column.component-C4Bb5AYW.mjs} +6 -6
- package/fesm2022/acorex-platform-layouts-lookup-widget-column.component-C4Bb5AYW.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layouts-lookup-widget-edit.component-l5nSr9Cm.mjs → acorex-platform-layouts-lookup-widget-edit.component-B2Qyoi4Q.mjs} +8 -7
- package/fesm2022/acorex-platform-layouts-lookup-widget-edit.component-B2Qyoi4Q.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layouts-lookup-widget-filter.component-gp5skvmz.mjs → acorex-platform-layouts-lookup-widget-filter.component-JJzSun3D.mjs} +14 -37
- package/fesm2022/acorex-platform-layouts-lookup-widget-filter.component-JJzSun3D.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layouts-lookup-widget-view.component-ftFXFj6k.mjs → acorex-platform-layouts-lookup-widget-view.component-Bmp_zVcQ.mjs} +5 -5
- package/fesm2022/acorex-platform-layouts-lookup-widget-view.component-Bmp_zVcQ.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layouts-map-widget-edit.component-SOQvPhmX.mjs → acorex-platform-layouts-map-widget-edit.component-EWlgQnx5.mjs} +4 -4
- package/fesm2022/{acorex-platform-layouts-map-widget-edit.component-SOQvPhmX.mjs.map → acorex-platform-layouts-map-widget-edit.component-EWlgQnx5.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-layouts-map-widget-view.component-1Lj9efbd.mjs → acorex-platform-layouts-map-widget-view.component-cB5Mq7G7.mjs} +5 -5
- package/fesm2022/acorex-platform-layouts-map-widget-view.component-cB5Mq7G7.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layouts-messenger-widget-column.component-W7ZY-W84.mjs → acorex-platform-layouts-messenger-widget-column.component-DWgWrdmz.mjs} +7 -7
- package/fesm2022/acorex-platform-layouts-messenger-widget-column.component-DWgWrdmz.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layouts-messenger-widget-edit.component-dAX8nirB.mjs → acorex-platform-layouts-messenger-widget-edit.component-C7VOe49a.mjs} +8 -8
- package/fesm2022/acorex-platform-layouts-messenger-widget-edit.component-C7VOe49a.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layouts-messenger-widget-view.component-9TJiFdq-.mjs → acorex-platform-layouts-messenger-widget-view.component-uciMJWYn.mjs} +5 -5
- package/fesm2022/acorex-platform-layouts-messenger-widget-view.component-uciMJWYn.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layouts-number-widget-edit.component-DDi-o_Zn.mjs → acorex-platform-layouts-number-widget-edit.component-CXTwKvM4.mjs} +4 -4
- package/fesm2022/{acorex-platform-layouts-number-widget-edit.component-DDi-o_Zn.mjs.map → acorex-platform-layouts-number-widget-edit.component-CXTwKvM4.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-layouts-number-widget-filter.component-DPGSzdNm.mjs → acorex-platform-layouts-number-widget-filter.component-ARH7BdkE.mjs} +6 -6
- package/fesm2022/{acorex-platform-layouts-number-widget-filter.component-DPGSzdNm.mjs.map → acorex-platform-layouts-number-widget-filter.component-ARH7BdkE.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-layouts-number-widget-view.component-hqkAR0LG.mjs → acorex-platform-layouts-number-widget-view.component-B0duuEhX.mjs} +6 -6
- package/fesm2022/acorex-platform-layouts-number-widget-view.component-B0duuEhX.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layouts-password-widget-column.component-ic1jykZL.mjs → acorex-platform-layouts-password-widget-column.component-Cav_zCe4.mjs} +10 -20
- package/fesm2022/acorex-platform-layouts-password-widget-column.component-Cav_zCe4.mjs.map +1 -0
- package/fesm2022/acorex-platform-layouts-password-widget-edit.component-Dm2E5zA_.mjs +44 -0
- package/fesm2022/acorex-platform-layouts-password-widget-edit.component-Dm2E5zA_.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layouts-password-widget-view.component-E2vtPKRO.mjs → acorex-platform-layouts-password-widget-view.component-BaipF6fT.mjs} +8 -8
- package/fesm2022/{acorex-platform-layouts-password-widget-view.component-E2vtPKRO.mjs.map → acorex-platform-layouts-password-widget-view.component-BaipF6fT.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-layouts-phone-widget-column.component-s04WZfzv.mjs → acorex-platform-layouts-phone-widget-column.component-BtZ5Qke0.mjs} +7 -7
- package/fesm2022/acorex-platform-layouts-phone-widget-column.component-BtZ5Qke0.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layouts-phone-widget-edit.component-MKzlZ0_B.mjs → acorex-platform-layouts-phone-widget-edit.component-BugCYS-l.mjs} +11 -95
- package/fesm2022/acorex-platform-layouts-phone-widget-edit.component-BugCYS-l.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layouts-phone-widget-view.component-NEO22XO7.mjs → acorex-platform-layouts-phone-widget-view.component-C7EN8qDk.mjs} +5 -5
- package/fesm2022/{acorex-platform-layouts-phone-widget-view.component-NEO22XO7.mjs.map → acorex-platform-layouts-phone-widget-view.component-C7EN8qDk.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-layouts-rich-text-widget-column.component-P0YzXTIB.mjs → acorex-platform-layouts-rich-text-widget-column.component-B99s2Zhi.mjs} +11 -19
- package/fesm2022/acorex-platform-layouts-rich-text-widget-column.component-B99s2Zhi.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layouts-rich-text-widget-edit.component-ro2yg7PR.mjs → acorex-platform-layouts-rich-text-widget-edit.component-Di1P6EQV.mjs} +4 -4
- package/fesm2022/{acorex-platform-layouts-rich-text-widget-edit.component-ro2yg7PR.mjs.map → acorex-platform-layouts-rich-text-widget-edit.component-Di1P6EQV.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-layouts-rich-text-widget-view.component--Rzxm2a6.mjs → acorex-platform-layouts-rich-text-widget-view.component-B_QG0YJc.mjs} +5 -5
- package/fesm2022/acorex-platform-layouts-rich-text-widget-view.component-B_QG0YJc.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layouts-selection-list-widget-column.component-9FTkDGmq.mjs → acorex-platform-layouts-selection-list-widget-column.component-Cx9QqR9f.mjs} +6 -6
- package/fesm2022/acorex-platform-layouts-selection-list-widget-column.component-Cx9QqR9f.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layouts-selection-list-widget-edit.component-FpOQ12Ie.mjs → acorex-platform-layouts-selection-list-widget-edit.component-DU-U-Af-.mjs} +28 -28
- package/fesm2022/acorex-platform-layouts-selection-list-widget-edit.component-DU-U-Af-.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layouts-selection-list-widget-filter.component-hGk-ZZ78.mjs → acorex-platform-layouts-selection-list-widget-filter.component-B8y8heXR.mjs} +6 -6
- package/fesm2022/acorex-platform-layouts-selection-list-widget-filter.component-B8y8heXR.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layouts-selection-list-widget-view.component-s9xq___Y.mjs → acorex-platform-layouts-selection-list-widget-view.component-BDupWZy-.mjs} +6 -6
- package/fesm2022/acorex-platform-layouts-selection-list-widget-view.component-BDupWZy-.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layouts-signature-pad-widget-edit.component-W28Uk9zO.mjs → acorex-platform-layouts-signature-pad-widget-edit.component-bEDsl8mg.mjs} +7 -7
- package/fesm2022/{acorex-platform-layouts-signature-pad-widget-edit.component-W28Uk9zO.mjs.map → acorex-platform-layouts-signature-pad-widget-edit.component-bEDsl8mg.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-layouts-signature-pad-widget-view.component-R40Ml757.mjs → acorex-platform-layouts-signature-pad-widget-view.component-DB903O2F.mjs} +5 -5
- package/fesm2022/acorex-platform-layouts-signature-pad-widget-view.component-DB903O2F.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layouts-string-widget-filter.component-4oZ6BVis.mjs → acorex-platform-layouts-string-widget-filter.component-D3ZxVk6S.mjs} +7 -7
- package/fesm2022/{acorex-platform-layouts-string-widget-filter.component-4oZ6BVis.mjs.map → acorex-platform-layouts-string-widget-filter.component-D3ZxVk6S.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-layouts-text-widget-column.component-qhh6MT79.mjs → acorex-platform-layouts-text-widget-column.component-D8WDAbQB.mjs} +10 -11
- package/fesm2022/acorex-platform-layouts-text-widget-column.component-D8WDAbQB.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layouts-text-widget-edit.component-TC127Dq8.mjs → acorex-platform-layouts-text-widget-edit.component-BrDbNXgJ.mjs} +6 -6
- package/fesm2022/{acorex-platform-layouts-text-widget-edit.component-TC127Dq8.mjs.map → acorex-platform-layouts-text-widget-edit.component-BrDbNXgJ.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-layouts-text-widget-view.component-65eOj0qR.mjs → acorex-platform-layouts-text-widget-view.component-XHN41M3T.mjs} +5 -5
- package/fesm2022/acorex-platform-layouts-text-widget-view.component-XHN41M3T.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layouts-toggle-widget-column.component-uxOXR-bL.mjs → acorex-platform-layouts-toggle-widget-column.component-BjIyTuZj.mjs} +6 -6
- package/fesm2022/acorex-platform-layouts-toggle-widget-column.component-BjIyTuZj.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layouts-toggle-widget-edit.component-R44L1pgJ.mjs → acorex-platform-layouts-toggle-widget-edit.component-BKbBile6.mjs} +4 -4
- package/fesm2022/{acorex-platform-layouts-toggle-widget-edit.component-R44L1pgJ.mjs.map → acorex-platform-layouts-toggle-widget-edit.component-BKbBile6.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-layouts-toggle-widget-view.component-DTOeAUiy.mjs → acorex-platform-layouts-toggle-widget-view.component-CyjhQSiV.mjs} +5 -5
- package/fesm2022/{acorex-platform-layouts-toggle-widget-view.component-DTOeAUiy.mjs.map → acorex-platform-layouts-toggle-widget-view.component-CyjhQSiV.mjs.map} +1 -1
- package/fesm2022/acorex-platform-layouts.mjs +565 -422
- package/fesm2022/acorex-platform-layouts.mjs.map +1 -1
- package/fesm2022/acorex-platform-mocks.mjs +16 -29
- package/fesm2022/acorex-platform-mocks.mjs.map +1 -1
- package/fesm2022/acorex-platform-native.mjs +7 -7
- package/fesm2022/acorex-platform-schema.mjs +63 -41
- package/fesm2022/acorex-platform-schema.mjs.map +1 -1
- package/fesm2022/acorex-platform-widgets.mjs +3966 -0
- package/fesm2022/acorex-platform-widgets.mjs.map +1 -0
- package/fesm2022/acorex-platform-workflow.mjs +19 -19
- package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
- package/layout/README.md +4 -0
- package/layout/index.d.ts +2 -0
- package/layout/lib/builder/builder.module.d.ts +23 -0
- package/layout/lib/builder/context.service.d.ts +17 -0
- package/layout/lib/builder/index.d.ts +7 -0
- package/layout/lib/builder/widget-column-renderer.d.ts +30 -0
- package/layout/lib/builder/widget-container.d.ts +13 -0
- package/layout/lib/builder/widget-registery.service.d.ts +10 -0
- package/layout/lib/builder/widget-renderer.d.ts +41 -0
- package/layout/lib/builder/widget.types.d.ts +55 -0
- package/layouts/lib/admin/admin-root-layout/admin-root-layout.module.d.ts +1 -1
- package/layouts/lib/admin/entity-layout/entity-details-view/entity-details-view.component.d.ts +3 -5
- package/layouts/lib/admin/entity-layout/entity-list-view/entity-list-view.component.d.ts +7 -2
- package/layouts/lib/admin/entity-layout/entity-list-view/list-view.config.d.ts +2 -0
- package/layouts/lib/admin/entity-layout/entity-list-view/list-view.module.d.ts +2 -1
- package/layouts/lib/admin/entity-layout/entity-quick-view/entity-quick-view.component.d.ts +3 -0
- package/layouts/lib/admin/entity-layout/index.d.ts +1 -0
- package/layouts/lib/admin/entity-layout/workflows/index.d.ts +3 -0
- package/layouts/lib/admin/entity-layout/workflows/show-details.workflow.d.ts +2 -0
- package/layouts/lib/admin/entity-layout/workflows/show-list.workflow.d.ts +2 -0
- package/layouts/lib/admin/entity-layout/workflows/show-quick-view.workflow.d.ts +2 -0
- package/layouts/lib/admin/store/admin-layout.actions.d.ts +8 -8
- package/layouts/lib/admin/store/admin-layout.effects.d.ts +1 -1
- package/layouts/lib/admin/store/admin-layout.reducers.d.ts +2 -2
- package/layouts/lib/layout.module.d.ts +1 -1
- package/layouts/lib/shared/components/error-401/error-401.component.d.ts +1 -4
- package/layouts/lib/shared/components/index.d.ts +1 -0
- package/layouts/lib/shared/components/slots/theme-slot.component.d.ts +1 -1
- package/layouts/lib/shared/entity/entity.class.d.ts +10 -2
- package/layouts/lib/shared/workflows/common.workflow.d.ts +9 -0
- package/layouts/lib/themes/default/entity-layouts/entity-details-view/entity-details-view.component.d.ts +11 -0
- package/layouts/lib/themes/default/entity-layouts/entity-details.viewmodel.d.ts +34 -0
- package/layouts/lib/themes/default/index.d.ts +2 -0
- package/layouts/lib/widgets/avatar/avatar-widget-edit.component.d.ts +8 -2
- package/layouts/lib/widgets/avatar/avatar-widget-view.component.d.ts +6 -1
- package/layouts/lib/widgets/checkbox/checkbox-widget-column.component.d.ts +1 -1
- package/layouts/lib/widgets/dateTime/dateTime-widget-column.component.d.ts +1 -1
- package/layouts/lib/widgets/dateTime/dateTime-widget-edit.component.d.ts +4 -2
- package/layouts/lib/widgets/email/email-widget-column.component.d.ts +1 -1
- package/layouts/lib/widgets/file/file-widget-column.component.d.ts +1 -1
- package/layouts/lib/widgets/lookup/lookup-widget-column.component.d.ts +1 -1
- package/layouts/lib/widgets/messenger/messenger-widget-column.component.d.ts +1 -1
- package/layouts/lib/widgets/number/number-widget-view.component.d.ts +1 -1
- package/layouts/lib/widgets/password/password-widget-column.component.d.ts +2 -2
- package/layouts/lib/widgets/phone/phone-widget-column.component.d.ts +1 -1
- package/layouts/lib/widgets/rich-text/rich-text-widget-column.component.d.ts +1 -1
- package/layouts/lib/widgets/selection-list/selection-list-widget-column.component.d.ts +1 -1
- package/layouts/lib/widgets/selection-list/selection-list-widget-edit.component.d.ts +2 -0
- package/layouts/lib/widgets/selection-list/selection-list-widget-filter.component.d.ts +1 -1
- package/layouts/lib/widgets/selection-list/selection-list-widget-view.component.d.ts +1 -1
- package/layouts/lib/widgets/text/text-widget-column.component.d.ts +2 -1
- package/layouts/lib/widgets/toggle/toggle-widget-column.component.d.ts +1 -1
- package/mocks/lib/storage/storage.mock.service.d.ts +1 -1
- package/package.json +19 -1
- package/schema/index.d.ts +1 -1
- package/schema/lib/schema-registery.service.d.ts +1 -1
- package/schema/lib/{schema.d.ts → schema.types.d.ts} +1 -6
- package/schema/lib/widget/widget-base.d.ts +3 -1
- package/schema/lib/widget/widget-column-renderer.d.ts +10 -3
- package/schema/lib/widget/widget-token.d.ts +2 -1
- package/widgets/README.md +4 -0
- package/widgets/index.d.ts +1 -0
- package/widgets/lib/editors/checkbox/checkbox-widget-edit.component.d.ts +13 -0
- package/widgets/lib/editors/checkbox/checkbox-widget.config.d.ts +2 -0
- package/widgets/lib/editors/checkbox/index.d.ts +2 -0
- package/widgets/lib/editors/date-time-box-widget/date-time-box-widget-column.component.d.ts +6 -0
- package/widgets/lib/editors/date-time-box-widget/date-time-box-widget-designer.component.d.ts +6 -0
- package/widgets/lib/editors/date-time-box-widget/date-time-box-widget-edit.component.d.ts +20 -0
- package/widgets/lib/editors/date-time-box-widget/date-time-box-widget-filter.component.d.ts +6 -0
- package/widgets/lib/editors/date-time-box-widget/date-time-box-widget-print.component.d.ts +6 -0
- package/widgets/lib/editors/date-time-box-widget/date-time-box-widget-view.component.d.ts +11 -0
- package/widgets/lib/editors/date-time-box-widget/date-time-box-widget.config.d.ts +2 -0
- package/widgets/lib/editors/date-time-box-widget/index.d.ts +7 -0
- package/widgets/lib/editors/email-box-widget/email-box-widget-column.component.d.ts +6 -0
- package/widgets/lib/editors/email-box-widget/email-box-widget-designer.component.d.ts +6 -0
- package/widgets/lib/editors/email-box-widget/email-box-widget-edit.component.d.ts +25 -0
- package/widgets/lib/editors/email-box-widget/email-box-widget-filter.component.d.ts +6 -0
- package/widgets/lib/editors/email-box-widget/email-box-widget-print.component.d.ts +6 -0
- package/widgets/lib/editors/email-box-widget/email-box-widget-view.component.d.ts +12 -0
- package/widgets/lib/editors/email-box-widget/email-box-widget.config.d.ts +2 -0
- package/widgets/lib/editors/email-box-widget/index.d.ts +7 -0
- package/widgets/lib/editors/file-box-widget/file-box-widget-column.component.d.ts +6 -0
- package/widgets/lib/editors/file-box-widget/file-box-widget-designer.component.d.ts +6 -0
- package/widgets/lib/editors/file-box-widget/file-box-widget-edit.component.d.ts +18 -0
- package/widgets/lib/editors/file-box-widget/file-box-widget-filter.component.d.ts +6 -0
- package/widgets/lib/editors/file-box-widget/file-box-widget-print.component.d.ts +6 -0
- package/widgets/lib/editors/file-box-widget/file-box-widget-view.component.d.ts +17 -0
- package/widgets/lib/editors/file-box-widget/file-box-widget.config.d.ts +2 -0
- package/widgets/lib/editors/file-box-widget/index.d.ts +7 -0
- package/widgets/lib/editors/gallery-widget/gallery-widget-column.component.d.ts +6 -0
- package/widgets/lib/editors/gallery-widget/gallery-widget-designer.component.d.ts +6 -0
- package/widgets/lib/editors/gallery-widget/gallery-widget-edit.component.d.ts +15 -0
- package/widgets/lib/editors/gallery-widget/gallery-widget-filter.component.d.ts +6 -0
- package/widgets/lib/editors/gallery-widget/gallery-widget-print.component.d.ts +6 -0
- package/widgets/lib/editors/gallery-widget/gallery-widget-types.d.ts +10 -0
- package/widgets/lib/editors/gallery-widget/gallery-widget-view.component.d.ts +15 -0
- package/widgets/lib/editors/gallery-widget/gallery-widget.config.d.ts +2 -0
- package/widgets/lib/editors/gallery-widget/index.d.ts +7 -0
- package/widgets/lib/editors/map-box-widget/index.d.ts +7 -0
- package/widgets/lib/editors/map-box-widget/map-box-widget-column.component.d.ts +6 -0
- package/widgets/lib/editors/map-box-widget/map-box-widget-designer.component.d.ts +6 -0
- package/widgets/lib/editors/map-box-widget/map-box-widget-edit.component.d.ts +15 -0
- package/widgets/lib/editors/map-box-widget/map-box-widget-filter.component.d.ts +6 -0
- package/widgets/lib/editors/map-box-widget/map-box-widget-print.component.d.ts +6 -0
- package/widgets/lib/editors/map-box-widget/map-box-widget-view.component.d.ts +16 -0
- package/widgets/lib/editors/map-box-widget/map-box-widget.config.d.ts +2 -0
- package/widgets/lib/editors/number-box-widget/index.d.ts +7 -0
- package/widgets/lib/editors/number-box-widget/number-box-widget-column.component.d.ts +6 -0
- package/widgets/lib/editors/number-box-widget/number-box-widget-designer.component.d.ts +6 -0
- package/widgets/lib/editors/number-box-widget/number-box-widget-edit.component.d.ts +25 -0
- package/widgets/lib/editors/number-box-widget/number-box-widget-filter.component.d.ts +6 -0
- package/widgets/lib/editors/number-box-widget/number-box-widget-print.component.d.ts +6 -0
- package/widgets/lib/editors/number-box-widget/number-box-widget-view.component.d.ts +8 -0
- package/widgets/lib/editors/number-box-widget/number-box-widget.config.d.ts +2 -0
- package/widgets/lib/editors/password-box-widget/index.d.ts +7 -0
- package/widgets/lib/editors/password-box-widget/password-box-widget-column.component.d.ts +6 -0
- package/widgets/lib/editors/password-box-widget/password-box-widget-designer.component.d.ts +6 -0
- package/widgets/lib/editors/password-box-widget/password-box-widget-edit.component.d.ts +8 -0
- package/widgets/lib/editors/password-box-widget/password-box-widget-filter.component.d.ts +6 -0
- package/widgets/lib/editors/password-box-widget/password-box-widget-print.component.d.ts +6 -0
- package/widgets/lib/editors/password-box-widget/password-box-widget-view.component.d.ts +13 -0
- package/widgets/lib/editors/password-box-widget/password-box-widget.config.d.ts +2 -0
- package/widgets/lib/editors/phone-box-widget/index.d.ts +7 -0
- package/widgets/lib/editors/phone-box-widget/phone-box-widget-column.component.d.ts +6 -0
- package/widgets/lib/editors/phone-box-widget/phone-box-widget-designer.component.d.ts +6 -0
- package/widgets/lib/editors/phone-box-widget/phone-box-widget-edit.component.d.ts +25 -0
- package/widgets/lib/editors/phone-box-widget/phone-box-widget-filter.component.d.ts +6 -0
- package/widgets/lib/editors/phone-box-widget/phone-box-widget-print.component.d.ts +6 -0
- package/widgets/lib/editors/phone-box-widget/phone-box-widget-view.component.d.ts +12 -0
- package/widgets/lib/editors/phone-box-widget/phone-box-widget.config.d.ts +2 -0
- package/widgets/lib/editors/rich-text-widget/index.d.ts +7 -0
- package/widgets/lib/editors/rich-text-widget/rich-text-widget-column.component.d.ts +6 -0
- package/widgets/lib/editors/rich-text-widget/rich-text-widget-designer.component.d.ts +6 -0
- package/widgets/lib/editors/rich-text-widget/rich-text-widget-edit.component.d.ts +33 -0
- package/widgets/lib/editors/rich-text-widget/rich-text-widget-filter.component.d.ts +6 -0
- package/widgets/lib/editors/rich-text-widget/rich-text-widget-print.component.d.ts +6 -0
- package/widgets/lib/editors/rich-text-widget/rich-text-widget-view.component.d.ts +9 -0
- package/widgets/lib/editors/rich-text-widget/rich-text-widget.config.d.ts +2 -0
- package/widgets/lib/editors/select-box-widget/index.d.ts +7 -0
- package/widgets/lib/editors/select-box-widget/select-box-widget-column.component.d.ts +6 -0
- package/widgets/lib/editors/select-box-widget/select-box-widget-designer.component.d.ts +6 -0
- package/widgets/lib/editors/select-box-widget/select-box-widget-edit.component.d.ts +15 -0
- package/widgets/lib/editors/select-box-widget/select-box-widget-filter.component.d.ts +6 -0
- package/widgets/lib/editors/select-box-widget/select-box-widget-print.component.d.ts +6 -0
- package/widgets/lib/editors/select-box-widget/select-box-widget-view.component.d.ts +12 -0
- package/widgets/lib/editors/select-box-widget/select-box-widget.config.d.ts +2 -0
- package/widgets/lib/editors/selection-list-widget/index.d.ts +7 -0
- package/widgets/lib/editors/selection-list-widget/selection-list-widget-column.component.d.ts +6 -0
- package/widgets/lib/editors/selection-list-widget/selection-list-widget-designer.component.d.ts +6 -0
- package/widgets/lib/editors/selection-list-widget/selection-list-widget-edit.component.d.ts +13 -0
- package/widgets/lib/editors/selection-list-widget/selection-list-widget-filter.component.d.ts +6 -0
- package/widgets/lib/editors/selection-list-widget/selection-list-widget-print.component.d.ts +6 -0
- package/widgets/lib/editors/selection-list-widget/selection-list-widget-view.component.d.ts +6 -0
- package/widgets/lib/editors/selection-list-widget/selection-list-widget.config.d.ts +2 -0
- package/widgets/lib/editors/signature-pad-widget/index.d.ts +7 -0
- package/widgets/lib/editors/signature-pad-widget/signature-pad-widget-column.component.d.ts +6 -0
- package/widgets/lib/editors/signature-pad-widget/signature-pad-widget-designer.component.d.ts +6 -0
- package/widgets/lib/editors/signature-pad-widget/signature-pad-widget-edit.component.d.ts +19 -0
- package/widgets/lib/editors/signature-pad-widget/signature-pad-widget-filter.component.d.ts +6 -0
- package/widgets/lib/editors/signature-pad-widget/signature-pad-widget-print.component.d.ts +6 -0
- package/widgets/lib/editors/signature-pad-widget/signature-pad-widget-view.component.d.ts +7 -0
- package/widgets/lib/editors/signature-pad-widget/signature-pad-widget.config.d.ts +2 -0
- package/widgets/lib/editors/text-box-widget/index.d.ts +7 -0
- package/widgets/lib/editors/text-box-widget/text-box-widget-column.component.d.ts +6 -0
- package/widgets/lib/editors/text-box-widget/text-box-widget-designer.component.d.ts +6 -0
- package/widgets/lib/editors/text-box-widget/text-box-widget-edit.component.d.ts +19 -0
- package/widgets/lib/editors/text-box-widget/text-box-widget-filter.component.d.ts +6 -0
- package/widgets/lib/editors/text-box-widget/text-box-widget-print.component.d.ts +6 -0
- package/widgets/lib/editors/text-box-widget/text-box-widget-view.component.d.ts +8 -0
- package/widgets/lib/editors/text-box-widget/text-box-widget.config.d.ts +2 -0
- package/widgets/lib/layout/block-widget/block-widget.component.d.ts +8 -0
- package/widgets/lib/layout/block-widget/block-widget.config.d.ts +2 -0
- package/widgets/lib/layout/block-widget/index.d.ts +2 -0
- package/widgets/lib/widgets.module.d.ts +7 -0
- package/workflow/lib/workflow.types.d.ts +2 -2
- package/esm2022/common/lib/layout/component-slot/component-slot-loader.service.mjs +0 -56
- package/esm2022/common/lib/layout/component-slot/component-slot-registery.service.mjs +0 -28
- package/esm2022/common/lib/layout/component-slot/component-slot.directive.mjs +0 -24
- package/esm2022/common/lib/layout/component-slot/component-slot.module.mjs +0 -72
- package/esm2022/common/lib/layout/component-slot/component-slot.types.mjs +0 -2
- package/esm2022/common/lib/layout/component-slot/index.mjs +0 -6
- package/esm2022/layouts/lib/admin/entity-layout/store/entity.actions.mjs +0 -18
- package/esm2022/layouts/lib/admin/entity-layout/store/entity.effects.mjs +0 -76
- package/esm2022/schema/lib/schema.mjs +0 -2
- package/fesm2022/acorex-platform-layouts-avatar-widget-edit.component-PZr1lXj-.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-avatar-widget-view.component-pJJYkvdH.mjs +0 -36
- package/fesm2022/acorex-platform-layouts-avatar-widget-view.component-pJJYkvdH.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-checkbox-widget-column.component-vRJI5S-w.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-checkbox-widget-view.component-m6bF8XFR.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-dateTime-widget-column.component-qeQRJePy.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-dateTime-widget-edit.component-zeJXGXY8.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-dateTime-widget-filter.component-DJ6esclU.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-dateTime-widget-view.component-BrwycTWz.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-email-widget-column.component-ac8gqsFT.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-file-widget-column.component-v7kAdIQ9.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-file-widget-view.component-mXBrKX0K.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-gallery-widget-view.component-xU52uaP0.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-lookup-widget-column.component-Ts0MJe8O.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-lookup-widget-edit.component-l5nSr9Cm.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-lookup-widget-filter.component-gp5skvmz.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-lookup-widget-view.component-ftFXFj6k.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-map-widget-view.component-1Lj9efbd.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-messenger-widget-column.component-W7ZY-W84.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-messenger-widget-edit.component-dAX8nirB.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-messenger-widget-view.component-9TJiFdq-.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-number-widget-view.component-hqkAR0LG.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-password-widget-column.component-ic1jykZL.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-password-widget-edit.component-D8xI17yk.mjs +0 -37
- package/fesm2022/acorex-platform-layouts-password-widget-edit.component-D8xI17yk.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-phone-widget-column.component-s04WZfzv.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-phone-widget-edit.component-MKzlZ0_B.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-rich-text-widget-column.component-P0YzXTIB.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-rich-text-widget-view.component--Rzxm2a6.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-selection-list-widget-column.component-9FTkDGmq.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-selection-list-widget-edit.component-FpOQ12Ie.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-selection-list-widget-filter.component-hGk-ZZ78.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-selection-list-widget-view.component-s9xq___Y.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-signature-pad-widget-view.component-R40Ml757.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-text-widget-column.component-qhh6MT79.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-text-widget-view.component-65eOj0qR.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-toggle-widget-column.component-uxOXR-bL.mjs.map +0 -1
- package/layouts/lib/admin/entity-layout/store/entity.actions.d.ts +0 -48
- package/layouts/lib/admin/entity-layout/store/entity.effects.d.ts +0 -22
- /package/{common/lib/layout → layout/lib}/component-slot/component-slot-loader.service.d.ts +0 -0
- /package/{common/lib/layout → layout/lib}/component-slot/component-slot-registery.service.d.ts +0 -0
- /package/{common/lib/layout → layout/lib}/component-slot/component-slot.directive.d.ts +0 -0
- /package/{common/lib/layout → layout/lib}/component-slot/component-slot.module.d.ts +0 -0
- /package/{common/lib/layout → layout/lib}/component-slot/component-slot.types.d.ts +0 -0
- /package/{common/lib/layout → layout/lib}/component-slot/index.d.ts +0 -0
|
@@ -6,10 +6,10 @@ import { Component, ChangeDetectionStrategy } from '@angular/core';
|
|
|
6
6
|
|
|
7
7
|
class AXPCheckboxWidgetColumnComponent extends AXPWidgetBase {
|
|
8
8
|
render() {
|
|
9
|
-
this.value = !!this.
|
|
9
|
+
this.value = !!this.rawValue;
|
|
10
10
|
}
|
|
11
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
11
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPCheckboxWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
12
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.2", type: AXPCheckboxWidgetColumnComponent, isStandalone: true, selector: "ng-component", inputs: { context: "context", trulyText: "trulyText", falsyText: "falsyText", negative: "negative", width: "width", allowResizing: "allowResizing" }, usesInheritance: true, ngImport: i0, template: `<div>
|
|
13
13
|
@if(value){ @if(trulyText){
|
|
14
14
|
<span [class]="negative ? 'ax-text-danger' : 'ax-text-success'">{{ trulyText }}</span>
|
|
15
15
|
}@else { @if(negative){
|
|
@@ -26,7 +26,7 @@ class AXPCheckboxWidgetColumnComponent extends AXPWidgetBase {
|
|
|
26
26
|
} } }
|
|
27
27
|
</div>`, isInline: true, dependencies: [{ kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
28
28
|
}
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPCheckboxWidgetColumnComponent, decorators: [{
|
|
30
30
|
type: Component,
|
|
31
31
|
args: [{
|
|
32
32
|
template: `<div>
|
|
@@ -48,9 +48,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImpor
|
|
|
48
48
|
standalone: true,
|
|
49
49
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
50
50
|
imports: [AXDecoratorModule],
|
|
51
|
-
inputs: ['context', 'trulyText', 'falsyText', 'negative', 'width'],
|
|
51
|
+
inputs: ['context', 'trulyText', 'falsyText', 'negative', 'width', 'allowResizing'],
|
|
52
52
|
}]
|
|
53
53
|
}] });
|
|
54
54
|
|
|
55
55
|
export { AXPCheckboxWidgetColumnComponent };
|
|
56
|
-
//# sourceMappingURL=acorex-platform-layouts-checkbox-widget-column.component-
|
|
56
|
+
//# sourceMappingURL=acorex-platform-layouts-checkbox-widget-column.component-BNEtAS7g.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-layouts-checkbox-widget-column.component-BNEtAS7g.mjs","sources":["../../../../libs/platform/layouts/src/lib/widgets/checkbox/checkbox-widget-column.component.ts"],"sourcesContent":["import { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXPWidgetBase } from '@acorex/platform/schema';\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\n@Component({\n template: `<div>\n @if(value){ @if(trulyText){\n <span [class]=\"negative ? 'ax-text-danger' : 'ax-text-success'\">{{ trulyText }}</span>\n }@else { @if(negative){\n <ax-icon class=\"fa-solid fa-check ax-text-danger\"> </ax-icon>\n }@else{\n <ax-icon class=\"fa-solid fa-check ax-text-success\"> </ax-icon>\n\n } } }@else { @if(falsyText){\n <span [class]=\"negative ? 'ax-text-success' : 'ax-text-danger'\">{{ falsyText }}</span>\n }@else { @if(negative){\n <ax-icon class=\"fa-solid fa-xmark ax-text-success\"> </ax-icon>\n }@else{\n <ax-icon class=\"fa-solid fa-xmark ax-text-danger\"> </ax-icon>\n } } }\n </div>`,\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [AXDecoratorModule],\n inputs: ['context', 'trulyText', 'falsyText', 'negative', 'width', 'allowResizing'],\n})\nexport class AXPCheckboxWidgetColumnComponent extends AXPWidgetBase {\n protected value!: boolean;\n protected negative!: boolean;\n protected trulyText!: boolean;\n protected falsyText!: boolean;\n\n protected override render(): void {\n this.value = !!this.rawValue;\n }\n}\n"],"names":["i1"],"mappings":";;;;;;AAyBM,MAAO,gCAAiC,SAAQ,aAAa,CAAA;IAM9C,MAAM,GAAA;QACvB,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC;KAC9B;8GARU,gCAAgC,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAhC,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,gCAAgC,EArBjC,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,cAAA,EAAA,MAAA,EAAA,EAAA,OAAA,EAAA,SAAA,EAAA,SAAA,EAAA,WAAA,EAAA,SAAA,EAAA,WAAA,EAAA,QAAA,EAAA,UAAA,EAAA,KAAA,EAAA,OAAA,EAAA,aAAA,EAAA,eAAA,EAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;;;;;;;;;;;;AAeH,QAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAGG,iBAAiB,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAAA,EAAA,CAAA,wBAAA,EAAA,QAAA,EAAA,SAAA,EAAA,MAAA,EAAA,CAAA,MAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAGhB,gCAAgC,EAAA,UAAA,EAAA,CAAA;kBAtB5C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,CAAA;;;;;;;;;;;;;;;AAeH,QAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;oBAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,OAAO,EAAE,CAAC,iBAAiB,CAAC;AAC5B,oBAAA,MAAM,EAAE,CAAC,SAAS,EAAE,WAAW,EAAE,WAAW,EAAE,UAAU,EAAE,OAAO,EAAE,eAAe,CAAC;AACpF,iBAAA,CAAA;;;;;"}
|
|
@@ -7,10 +7,10 @@ import * as i2 from '@angular/forms';
|
|
|
7
7
|
import { FormsModule } from '@angular/forms';
|
|
8
8
|
|
|
9
9
|
class AXPCheckboxWidgetEditComponent extends AXPWidgetEditBase {
|
|
10
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
10
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPCheckboxWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
11
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.2", type: AXPCheckboxWidgetEditComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `<ax-check-box [(ngModel)]="value"></ax-check-box>`, isInline: true, dependencies: [{ kind: "ngmodule", type: AXCheckBoxModule }, { kind: "component", type: i1.AXCheckBoxComponent, selector: "ax-check-box", inputs: ["disabled", "tabIndex", "readonly", "value", "name", "id", "checked", "indeterminate"], outputs: ["onBlur", "onFocus", "valueChange", "onValueChanged"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
12
12
|
}
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPCheckboxWidgetEditComponent, decorators: [{
|
|
14
14
|
type: Component,
|
|
15
15
|
args: [{
|
|
16
16
|
template: `<ax-check-box [(ngModel)]="value"></ax-check-box>`,
|
|
@@ -22,4 +22,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImpor
|
|
|
22
22
|
}] });
|
|
23
23
|
|
|
24
24
|
export { AXPCheckboxWidgetEditComponent };
|
|
25
|
-
//# sourceMappingURL=acorex-platform-layouts-checkbox-widget-edit.component-
|
|
25
|
+
//# sourceMappingURL=acorex-platform-layouts-checkbox-widget-edit.component-Cqn_QBcv.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-layouts-checkbox-widget-edit.component-
|
|
1
|
+
{"version":3,"file":"acorex-platform-layouts-checkbox-widget-edit.component-Cqn_QBcv.mjs","sources":["../../../../libs/platform/layouts/src/lib/widgets/checkbox/checkbox-widget-edit.component.ts"],"sourcesContent":["import { AXCheckBoxModule } from '@acorex/components/check-box';\nimport { AXPWidgetEditBase } from '@acorex/platform/schema';\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\n\n@Component({\n template: `<ax-check-box [(ngModel)]=\"value\"></ax-check-box>`,\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [AXCheckBoxModule, FormsModule],\n inputs: [],\n})\nexport class AXPCheckboxWidgetEditComponent extends AXPWidgetEditBase { }\n"],"names":[],"mappings":";;;;;;;;AAYM,MAAO,8BAA+B,SAAQ,iBAAiB,CAAA;8GAAxD,8BAA8B,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAA9B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,8BAA8B,EAN/B,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,cAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA,iDAAA,CAAmD,EAGnD,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,gBAAgB,+QAAE,WAAW,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,eAAA,EAAA,QAAA,EAAA,2CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,OAAA,EAAA,QAAA,EAAA,qDAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,UAAA,EAAA,SAAA,EAAA,gBAAA,CAAA,EAAA,OAAA,EAAA,CAAA,eAAA,CAAA,EAAA,QAAA,EAAA,CAAA,SAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAG5B,8BAA8B,EAAA,UAAA,EAAA,CAAA;kBAP1C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,CAAmD,iDAAA,CAAA;AAC7D,oBAAA,UAAU,EAAE,IAAI;oBAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAC/C,oBAAA,OAAO,EAAE,CAAC,gBAAgB,EAAE,WAAW,CAAC;AACxC,oBAAA,MAAM,EAAE,EAAE;AACX,iBAAA,CAAA;;;;;"}
|
|
@@ -6,10 +6,10 @@ import { Component, ChangeDetectionStrategy } from '@angular/core';
|
|
|
6
6
|
|
|
7
7
|
class AXPCheckboxWidgetViewComponent extends AXPWidgetBase {
|
|
8
8
|
render() {
|
|
9
|
-
this.value = !!this.
|
|
9
|
+
this.value = !!this.rawValue;
|
|
10
10
|
}
|
|
11
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
11
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPCheckboxWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
12
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.2", type: AXPCheckboxWidgetViewComponent, isStandalone: true, selector: "ng-component", inputs: { trulyText: "trulyText", falsyText: "falsyText", negative: "negative" }, usesInheritance: true, ngImport: i0, template: ` <div>
|
|
13
13
|
@if(value){ @if(trulyText){
|
|
14
14
|
<span [class]="negative ? 'ax-text-danger' : 'ax-text-success'">{{ trulyText }}</span>
|
|
15
15
|
}@else {
|
|
@@ -23,7 +23,7 @@ class AXPCheckboxWidgetViewComponent extends AXPWidgetBase {
|
|
|
23
23
|
} }
|
|
24
24
|
</div>`, isInline: true, dependencies: [{ kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
25
25
|
}
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPCheckboxWidgetViewComponent, decorators: [{
|
|
27
27
|
type: Component,
|
|
28
28
|
args: [{
|
|
29
29
|
template: ` <div>
|
|
@@ -47,4 +47,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImpor
|
|
|
47
47
|
}] });
|
|
48
48
|
|
|
49
49
|
export { AXPCheckboxWidgetViewComponent };
|
|
50
|
-
//# sourceMappingURL=acorex-platform-layouts-checkbox-widget-view.component-
|
|
50
|
+
//# sourceMappingURL=acorex-platform-layouts-checkbox-widget-view.component-DQLggJ9x.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-layouts-checkbox-widget-view.component-DQLggJ9x.mjs","sources":["../../../../libs/platform/layouts/src/lib/widgets/checkbox/checkbox-widget-view.component.ts"],"sourcesContent":["import { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXPWidgetBase } from '@acorex/platform/schema';\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\n@Component({\n template: ` <div>\n @if(value){ @if(trulyText){\n <span [class]=\"negative ? 'ax-text-danger' : 'ax-text-success'\">{{ trulyText }}</span>\n }@else {\n\n <ax-icon class=\"fa-solid fa-check ax-text-success\"> </ax-icon>\n } }@else { @if(falsyText){\n <span [class]=\"negative ? 'ax-text-success' : 'ax-text-danger'\">{{ falsyText }}</span>\n }@else {\n\n <ax-icon class=\"fa-solid fa-xmark ax-text-danger\"> </ax-icon>\n } }\n </div>`,\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [AXDecoratorModule],\n inputs: ['trulyText', 'falsyText', 'negative'],\n})\nexport class AXPCheckboxWidgetViewComponent extends AXPWidgetBase {\n protected value!: boolean;\n protected negative!: boolean;\n protected trulyText!: boolean;\n protected falsyText!: boolean;\n\n protected override render(): void {\n this.value = !!this.rawValue;\n }\n}\n"],"names":["i1"],"mappings":";;;;;;AAsBM,MAAO,8BAA+B,SAAQ,aAAa,CAAA;IAM5C,MAAM,GAAA;QACvB,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC;KAC9B;8GARU,8BAA8B,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAA9B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,8BAA8B,EAlB/B,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,cAAA,EAAA,MAAA,EAAA,EAAA,SAAA,EAAA,WAAA,EAAA,SAAA,EAAA,WAAA,EAAA,QAAA,EAAA,UAAA,EAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;;;;;;;;;AAYH,QAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAGG,iBAAiB,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAAA,EAAA,CAAA,wBAAA,EAAA,QAAA,EAAA,SAAA,EAAA,MAAA,EAAA,CAAA,MAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAGhB,8BAA8B,EAAA,UAAA,EAAA,CAAA;kBAnB1C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,CAAA;;;;;;;;;;;;AAYH,QAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;oBAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,OAAO,EAAE,CAAC,iBAAiB,CAAC;AAC5B,oBAAA,MAAM,EAAE,CAAC,WAAW,EAAE,WAAW,EAAE,UAAU,CAAC;AAC/C,iBAAA,CAAA;;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AXDateTimeModule } from '@acorex/core/
|
|
1
|
+
import { AXDateTimeModule } from '@acorex/core/date-time';
|
|
2
2
|
import { AXFormatModule } from '@acorex/core/format';
|
|
3
3
|
import { AXPWidgetBase } from '@acorex/platform/schema';
|
|
4
4
|
import * as i0 from '@angular/core';
|
|
@@ -6,7 +6,7 @@ import { Component, ChangeDetectionStrategy } from '@angular/core';
|
|
|
6
6
|
|
|
7
7
|
class AXPDateTimeWidgetColumnComponent extends AXPWidgetBase {
|
|
8
8
|
render() {
|
|
9
|
-
const rawValue = this.
|
|
9
|
+
const rawValue = this.rawValue;
|
|
10
10
|
if (rawValue == null) {
|
|
11
11
|
this.convertedValue = null;
|
|
12
12
|
return;
|
|
@@ -29,19 +29,19 @@ class AXPDateTimeWidgetColumnComponent extends AXPWidgetBase {
|
|
|
29
29
|
isArray(val) {
|
|
30
30
|
return Array.isArray(val);
|
|
31
31
|
}
|
|
32
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
33
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
32
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPDateTimeWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
33
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.2", type: AXPDateTimeWidgetColumnComponent, isStandalone: true, selector: "ng-component", inputs: { context: "context", value: "value", multiple: "multiple", width: "width", format: "format", allowResizing: "allowResizing" }, usesInheritance: true, ngImport: i0, template: ` <span [title]="convertedValue">{{ convertedValue }}</span> `, isInline: true, dependencies: [{ kind: "ngmodule", type: AXFormatModule }, { kind: "ngmodule", type: AXDateTimeModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
34
34
|
}
|
|
35
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
35
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPDateTimeWidgetColumnComponent, decorators: [{
|
|
36
36
|
type: Component,
|
|
37
37
|
args: [{
|
|
38
38
|
template: ` <span [title]="convertedValue">{{ convertedValue }}</span> `,
|
|
39
39
|
standalone: true,
|
|
40
40
|
imports: [AXFormatModule, AXDateTimeModule],
|
|
41
41
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
42
|
-
inputs: ['context', 'value', 'multiple', 'width'],
|
|
42
|
+
inputs: ['context', 'value', 'multiple', 'width', 'format', 'allowResizing'],
|
|
43
43
|
}]
|
|
44
44
|
}] });
|
|
45
45
|
|
|
46
46
|
export { AXPDateTimeWidgetColumnComponent };
|
|
47
|
-
//# sourceMappingURL=acorex-platform-layouts-dateTime-widget-column.component-
|
|
47
|
+
//# sourceMappingURL=acorex-platform-layouts-dateTime-widget-column.component-D0eNN66F.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-layouts-dateTime-widget-column.component-D0eNN66F.mjs","sources":["../../../../libs/platform/layouts/src/lib/widgets/dateTime/dateTime-widget-column.component.ts"],"sourcesContent":["import { AXDateTimeModule } from '@acorex/core/date-time';\nimport { AXFormatModule } from '@acorex/core/format';\nimport { AXPWidgetBase } from '@acorex/platform/schema';\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\n\n@Component({\n template: ` <span [title]=\"convertedValue\">{{ convertedValue }}</span> `,\n standalone: true,\n imports: [AXFormatModule, AXDateTimeModule],\n changeDetection: ChangeDetectionStrategy.OnPush,\n inputs: ['context', 'value', 'multiple', 'width', 'format', 'allowResizing'],\n})\nexport class AXPDateTimeWidgetColumnComponent extends AXPWidgetBase {\n protected convertedValue!: string | null;\n protected multiple!: boolean;\n\n override render() {\n const rawValue = this.rawValue;\n if (rawValue == null) {\n this.convertedValue = null;\n return;\n }\n if (this.isArray(rawValue)) {\n this.convertedValue = rawValue.map((item: Date) => this.formatValue(new Date(item))).join(', ');\n } else {\n this.convertedValue = this.formatValue(new Date(rawValue));\n }\n }\n\n protected formatValue(value: Date) {\n if (this.formats?.default) {\n return this.formatService.format(value, 'datetime', { format: this.formats.default });\n } else {\n return value.toISOString();\n }\n }\n\n protected isArray(val: any) {\n return Array.isArray(val);\n }\n}\n"],"names":[],"mappings":";;;;;;AAYM,MAAO,gCAAiC,SAAQ,aAAa,CAAA;IAIxD,MAAM,GAAA;AACb,QAAA,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC;AAC/B,QAAA,IAAI,QAAQ,IAAI,IAAI,EAAE;AACpB,YAAA,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC;YAC3B,OAAO;SACR;AACD,QAAA,IAAI,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A,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA,4DAAA,CAA8D,EAE9D,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,cAAc,8BAAE,gBAAgB,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAI/B,gCAAgC,EAAA,UAAA,EAAA,CAAA;kBAP5C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,CAA8D,4DAAA,CAAA;AACxE,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,OAAO,EAAE,CAAC,cAAc,EAAE,gBAAgB,CAAC;oBAC3C,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAC/C,oBAAA,MAAM,EAAE,CAAC,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,QAAQ,EAAE,eAAe,CAAC;AAC7E,iBAAA,CAAA;;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as i2$1 from '@acorex/components/button';
|
|
2
2
|
import { AXButtonModule } from '@acorex/components/button';
|
|
3
3
|
import * as i3 from '@acorex/components/datetime-box';
|
|
4
4
|
import { AXDateTimeBoxModule } from '@acorex/components/datetime-box';
|
|
@@ -41,17 +41,17 @@ class AXPDateTimeWidgetEditComponent extends AXPWidgetEditBase {
|
|
|
41
41
|
this.calendarFormat = 'dd/MM/yyyy HH:mm';
|
|
42
42
|
// ****** Set Value ******
|
|
43
43
|
if (!this.value || this.value?.length == 0) {
|
|
44
|
-
this.convertedValue.set([{ value:
|
|
44
|
+
this.convertedValue.set([{ value: this.getInitValue(), id: this.mockerService.uid() }]);
|
|
45
45
|
}
|
|
46
46
|
else if (Array.isArray(this.value)) {
|
|
47
|
-
this.convertedValue.set(this.value.map((item) => ({ value: new Date(item), id: this.mockerService.uid() })));
|
|
47
|
+
this.convertedValue.set(this.value.map((item) => ({ value: item ? new Date(item) : this.getInitValue(), id: this.mockerService.uid() })));
|
|
48
48
|
}
|
|
49
49
|
else {
|
|
50
|
-
this.convertedValue.set([{ value: new Date(this.value), id: this.mockerService.uid() }]);
|
|
50
|
+
this.convertedValue.set([{ value: this.value ? new Date(this.value) : this.getInitValue(), id: this.mockerService.uid() }]);
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
handleAddItem() {
|
|
54
|
-
this.convertedValue.update((prev) => [...prev, { value:
|
|
54
|
+
this.convertedValue.update((prev) => [...prev, { value: this.getInitValue(), id: this.mockerService.uid() }]);
|
|
55
55
|
}
|
|
56
56
|
handleRemoveItem(item) {
|
|
57
57
|
this.convertedValue.update((prev) => prev.filter((c) => c != item));
|
|
@@ -61,8 +61,11 @@ class AXPDateTimeWidgetEditComponent extends AXPWidgetEditBase {
|
|
|
61
61
|
this.convertedValue.update((prev) => prev.map((i) => (i.id === id ? { value: e.value, id: i.id } : i)));
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
getInitValue() {
|
|
65
|
+
return this.autoSetToday ? new Date() : null;
|
|
66
|
+
}
|
|
67
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPDateTimeWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
68
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.2", type: AXPDateTimeWidgetEditComponent, isStandalone: true, selector: "axp-datetime-widget-edit", inputs: { multiple: "multiple" }, usesInheritance: true, ngImport: i0, template: `
|
|
66
69
|
<div class="ax-grid ax-grid-cols-12 ax-gap-4">
|
|
67
70
|
@if(multiple){ @for(item of convertedValue();track $index){
|
|
68
71
|
<ng-container [ngTemplateOutlet]="textBoxTemplate" [ngTemplateOutletContext]="{ $implicit: item }"></ng-container>
|
|
@@ -111,9 +114,9 @@ class AXPDateTimeWidgetEditComponent extends AXPWidgetEditBase {
|
|
|
111
114
|
</ax-button>
|
|
112
115
|
}
|
|
113
116
|
</div>
|
|
114
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXFormatModule }, { kind: "ngmodule", type: AXDateTimeBoxModule }, { kind: "component", type: i3.AXDateTimeBoxComponent, selector: "ax-datetime-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "depth", "id", "type", "look", "format"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "formatChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3$1.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3$1.AXDecoratorClearButtonComponent, selector: "ax-clear-button", inputs: ["icon"] }, { kind: "component", type: i3$1.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title
|
|
117
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXFormatModule }, { kind: "ngmodule", type: AXDateTimeBoxModule }, { kind: "component", type: i3.AXDateTimeBoxComponent, selector: "ax-datetime-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "depth", "id", "type", "look", "allowTyping", "format"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "onOpened", "onClosed", "readonlyChange", "disabledChange", "formatChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3$1.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3$1.AXDecoratorClearButtonComponent, selector: "ax-clear-button", inputs: ["icon"] }, { kind: "component", type: i3$1.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-sub-title, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i2$1.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i3$2.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
115
118
|
}
|
|
116
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
119
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPDateTimeWidgetEditComponent, decorators: [{
|
|
117
120
|
type: Component,
|
|
118
121
|
args: [{
|
|
119
122
|
selector: 'axp-datetime-widget-edit',
|
|
@@ -175,4 +178,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImpor
|
|
|
175
178
|
}] });
|
|
176
179
|
|
|
177
180
|
export { AXPDateTimeWidgetEditComponent };
|
|
178
|
-
//# sourceMappingURL=acorex-platform-layouts-dateTime-widget-edit.component-
|
|
181
|
+
//# sourceMappingURL=acorex-platform-layouts-dateTime-widget-edit.component-BLqAWdRX.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-layouts-dateTime-widget-edit.component-BLqAWdRX.mjs","sources":["../../../../libs/platform/layouts/src/lib/widgets/dateTime/dateTime-widget-edit.component.ts"],"sourcesContent":["import { AXButtonModule } from '@acorex/components/button';\nimport { AXValueChangedEvent } from '@acorex/components/common';\nimport { AXDateTimeBoxModule } from '@acorex/components/datetime-box';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXFormModule } from '@acorex/components/form';\nimport { AXFormatModule } from '@acorex/core/format';\nimport { AXValidationModule } from '@acorex/core/validation';\nimport { MockDataService } from '@acorex/platform/mocks';\nimport { AXPWidgetEditBase } from '@acorex/platform/schema';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, WritableSignal, effect, inject, signal } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\n\n@Component({\n selector: 'axp-datetime-widget-edit',\n template: `\n <div class=\"ax-grid ax-grid-cols-12 ax-gap-4\">\n @if(multiple){ @for(item of convertedValue();track $index){\n <ng-container [ngTemplateOutlet]=\"textBoxTemplate\" [ngTemplateOutletContext]=\"{ $implicit: item }\"></ng-container>\n } } @else {\n <ng-container\n [ngTemplateOutlet]=\"textBoxTemplate\"\n [ngTemplateOutletContext]=\"{ $implicit: convertedValue()[0] }\"\n ></ng-container>\n }\n <ng-template #textBoxTemplate let-item>\n <ax-datetime-box\n [(ngModel)]=\"item.value\"\n (onValueChanged)=\"handleValueChange($event, item.id)\"\n [format]=\"calendarFormat\"\n [minValue]=\"minValue\"\n [maxValue]=\"maxValue\"\n [placeholder]=\"prop.description\"\n [class]=\"multiple ? 'ax-col-start-1 ax-col-end-11 lg:ax-col-end-12' : 'ax-col-start-1 ax-col-end-13'\"\n >\n @for(vl of validations;track $index) {\n <ax-validation-rule [rule]=\"vl.rule\" [options]=\"vl.options\"></ax-validation-rule>\n }\n <ax-clear-button></ax-clear-button>\n </ax-datetime-box>\n @if(multiple){\n <ax-button\n look=\"twotone\"\n color=\"danger\"\n (onClick)=\"handleRemoveItem(item)\"\n class=\" ax-col-start-11 lg:ax-col-start-12 ax-col-end-13 ax-justify-self-end\"\n >\n <ax-icon icon=\"fa-regular fa-xmark\"></ax-icon>\n </ax-button>\n }\n </ng-template>\n @if(multiple){\n <ax-button\n [text]=\"!convertedValue().length ? 'Add New' : 'Add Another'\"\n look=\"twotone\"\n (onClick)=\"handleAddItem()\"\n class=\"ax-col-start-8 lg:ax-col-start-10 2xl:ax-col-start-10 ax-col-end-13\"\n >\n <ax-prefix>\n <ax-icon class=\"fa-solid fa-add\"></ax-icon>\n </ax-prefix>\n </ax-button>\n }\n </div>\n `,\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [CommonModule, FormsModule, AXFormatModule, AXDateTimeBoxModule, AXDecoratorModule, AXButtonModule, AXFormModule],\n inputs: ['multiple'],\n})\nexport class AXPDateTimeWidgetEditComponent extends AXPWidgetEditBase {\n protected mockerService = inject(MockDataService);\n\n public multiple!: boolean;\n public autoSetToday!: boolean;\n\n\n protected minValue: any;\n protected maxValue: any;\n protected format: string = 'dateTime';\n protected calendarFormat!: string;\n protected convertedValue: WritableSignal<{ value: Date | null; id: string }[]> = signal([]);\n\n private changeValueEffect = effect(() => {\n if (this.multiple) {\n this.value = this.convertedValue().map((i) => i.value);\n } else {\n this.value = this.convertedValue().map((i) => i.value)[0];\n }\n });\n\n ngOnInit(): void {\n // ****** Set Format ******\n if (this.format === 'date') this.calendarFormat = 'dd/MM/yyyy';\n else if (this.format === 'time') this.calendarFormat = 'HH:mm';\n else this.calendarFormat = 'dd/MM/yyyy HH:mm';\n // ****** Set Value ******\n if (!this.value || this.value?.length == 0) {\n this.convertedValue.set([{ value: this.getInitValue(), id: this.mockerService.uid() }]);\n } else if (Array.isArray(this.value)) {\n this.convertedValue.set(this.value.map((item) => ({ value: item ? new Date(item) : this.getInitValue(), id: this.mockerService.uid() })));\n } else {\n this.convertedValue.set([{ value: this.value ? new Date(this.value) : this.getInitValue(), id: this.mockerService.uid() }]);\n }\n }\n\n protected handleAddItem() {\n this.convertedValue.update((prev) => [...prev, { value: this.getInitValue(), id: this.mockerService.uid() }]);\n }\n\n protected handleRemoveItem(item: any) {\n this.convertedValue.update((prev) => prev.filter((c: any) => c != item));\n }\n protected handleValueChange(e: AXValueChangedEvent, id: string) {\n if (e.isUserInteraction) {\n this.convertedValue.update((prev) => prev.map((i) => (i.id === id ? { value: e.value, id: i.id } : i)));\n }\n }\n\n private getInitValue(): Date | null {\n return this.autoSetToday ? new Date() : null;\n }\n}\n"],"names":["i4","i5","i6"],"mappings":";;;;;;;;;;;;;;;;;;AAsEM,MAAO,8BAA+B,SAAQ,iBAAiB,CAAA;AAzDrE,IAAA,WAAA,GAAA;;AA0DY,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,eAAe,CAAC,CAAC;QAQxC,IAAM,CAAA,MAAA,GAAW,UAAU,CAAC;AAE5B,QAAA,IAAA,CAAA,cAAc,GAAyD,MAAM,CAAC,EAAE,CAAC,CAAC;AAEpF,QAAA,IAAA,CAAA,iBAAiB,GAAG,MAAM,CAAC,MAAK;AACtC,YAAA,IAAI,IAAI,CAAC,QAAQ,EAAE;AACjB,gBAAA,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,cAAc,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,CAAC;aACxD;iBA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AAA,EAAA,QAAA,EAAA,oBAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,SAAA,EAAA,SAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAG9G,8BAA8B,EAAA,UAAA,EAAA,CAAA;kBAzD1C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,0BAA0B;AACpC,oBAAA,QAAQ,EAAE,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiDT,EAAA,CAAA;AACD,oBAAA,UAAU,EAAE,IAAI;oBAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAC/C,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,WAAW,EAAE,cAAc,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,cAAc,EAAE,YAAY,CAAC;oBAC1H,MAAM,EAAE,CAAC,UAAU,CAAC;AACrB,iBAAA,CAAA;;;;;"}
|
|
@@ -4,7 +4,7 @@ import * as i3$1 from '@acorex/components/decorators';
|
|
|
4
4
|
import { AXDecoratorModule } from '@acorex/components/decorators';
|
|
5
5
|
import * as i6 from '@acorex/components/select-box';
|
|
6
6
|
import { AXSelectBoxModule } from '@acorex/components/select-box';
|
|
7
|
-
import { AXCalendarService } from '@acorex/core/
|
|
7
|
+
import { AXCalendarService } from '@acorex/core/date-time';
|
|
8
8
|
import { AXFormatModule } from '@acorex/core/format';
|
|
9
9
|
import { AXPWidgetFilterBase } from '@acorex/platform/schema';
|
|
10
10
|
import { CommonModule } from '@angular/common';
|
|
@@ -139,15 +139,10 @@ class AXPDateTimeWidgetFilterComponent extends AXPWidgetFilterBase {
|
|
|
139
139
|
.replace(/^\w/, (match) => match.toUpperCase())
|
|
140
140
|
.replace(/\b\w/g, (match) => match.toUpperCase());
|
|
141
141
|
}
|
|
142
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
143
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
142
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPDateTimeWidgetFilterComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
143
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.2", type: AXPDateTimeWidgetFilterComponent, isStandalone: true, selector: "axp-datetime-widget-filter", inputs: { value: "value", operator: "operator" }, outputs: { valueChange: "valueChange", operatorChange: "operatorChange" }, usesInheritance: true, ngImport: i0, template: `
|
|
144
144
|
<div class="ax-flex-1">
|
|
145
|
-
<ax-select-box
|
|
146
|
-
[ngModel]="selectedItem()"
|
|
147
|
-
placeholder="Select ..."
|
|
148
|
-
(onValueChanged)="changeSelectedItem($event)"
|
|
149
|
-
[dataSource]="dataSource"
|
|
150
|
-
>
|
|
145
|
+
<ax-select-box [ngModel]="selectedItem()" placeholder="Select ..." (onValueChanged)="changeSelectedItem($event)" [dataSource]="dataSource">
|
|
151
146
|
</ax-select-box>
|
|
152
147
|
@if(selectedItem()=="Between"){
|
|
153
148
|
<div class="ax-flex ax-gap-2 ax-mt-2">
|
|
@@ -168,29 +163,21 @@ class AXPDateTimeWidgetFilterComponent extends AXPWidgetFilterBase {
|
|
|
168
163
|
</div>
|
|
169
164
|
} @if(selectedItem()=="Greater Than" || selectedItem()=="Less Than"){
|
|
170
165
|
<div class="ax-mt-2">
|
|
171
|
-
<ax-datetime-box
|
|
172
|
-
[(ngModel)]="value"
|
|
173
|
-
class="ax-col-start-1 ax-col-end-13 lg:ax-col-end-5 xl:ax-col-end-4 2xl:ax-col-end-3"
|
|
174
|
-
>
|
|
166
|
+
<ax-datetime-box [(ngModel)]="value" class="ax-col-start-1 ax-col-end-13 lg:ax-col-end-5 xl:ax-col-end-4 2xl:ax-col-end-3">
|
|
175
167
|
<ax-clear-button></ax-clear-button>
|
|
176
168
|
</ax-datetime-box>
|
|
177
169
|
</div>
|
|
178
170
|
}
|
|
179
171
|
</div>
|
|
180
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXFormatModule }, { kind: "ngmodule", type: AXDateTimeBoxModule }, { kind: "component", type: i3.AXDateTimeBoxComponent, selector: "ax-datetime-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "depth", "id", "type", "look", "format"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "formatChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3$1.AXDecoratorClearButtonComponent, selector: "ax-clear-button", inputs: ["icon"] }, { kind: "ngmodule", type: AXSelectBoxModule }, { kind: "component", type: i6.AXSelectBoxComponent, selector: "ax-select-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "id", "type", "look", "multiple", "valueField", "textField", "dataSource", "itemTemplate", "emptyTemplate", "loadingTemplate"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
172
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXFormatModule }, { kind: "ngmodule", type: AXDateTimeBoxModule }, { kind: "component", type: i3.AXDateTimeBoxComponent, selector: "ax-datetime-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "depth", "id", "type", "look", "allowTyping", "format"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "onOpened", "onClosed", "readonlyChange", "disabledChange", "formatChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3$1.AXDecoratorClearButtonComponent, selector: "ax-clear-button", inputs: ["icon"] }, { kind: "ngmodule", type: AXSelectBoxModule }, { kind: "component", type: i6.AXSelectBoxComponent, selector: "ax-select-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "id", "type", "look", "multiple", "valueField", "textField", "dataSource", "caption", "itemTemplate", "selectedTemplate", "emptyTemplate", "loadingTemplate", "dropdownWidth"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onOpened", "onClosed"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
181
173
|
}
|
|
182
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
174
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPDateTimeWidgetFilterComponent, decorators: [{
|
|
183
175
|
type: Component,
|
|
184
176
|
args: [{
|
|
185
177
|
selector: 'axp-datetime-widget-filter',
|
|
186
178
|
template: `
|
|
187
179
|
<div class="ax-flex-1">
|
|
188
|
-
<ax-select-box
|
|
189
|
-
[ngModel]="selectedItem()"
|
|
190
|
-
placeholder="Select ..."
|
|
191
|
-
(onValueChanged)="changeSelectedItem($event)"
|
|
192
|
-
[dataSource]="dataSource"
|
|
193
|
-
>
|
|
180
|
+
<ax-select-box [ngModel]="selectedItem()" placeholder="Select ..." (onValueChanged)="changeSelectedItem($event)" [dataSource]="dataSource">
|
|
194
181
|
</ax-select-box>
|
|
195
182
|
@if(selectedItem()=="Between"){
|
|
196
183
|
<div class="ax-flex ax-gap-2 ax-mt-2">
|
|
@@ -211,10 +198,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImpor
|
|
|
211
198
|
</div>
|
|
212
199
|
} @if(selectedItem()=="Greater Than" || selectedItem()=="Less Than"){
|
|
213
200
|
<div class="ax-mt-2">
|
|
214
|
-
<ax-datetime-box
|
|
215
|
-
[(ngModel)]="value"
|
|
216
|
-
class="ax-col-start-1 ax-col-end-13 lg:ax-col-end-5 xl:ax-col-end-4 2xl:ax-col-end-3"
|
|
217
|
-
>
|
|
201
|
+
<ax-datetime-box [(ngModel)]="value" class="ax-col-start-1 ax-col-end-13 lg:ax-col-end-5 xl:ax-col-end-4 2xl:ax-col-end-3">
|
|
218
202
|
<ax-clear-button></ax-clear-button>
|
|
219
203
|
</ax-datetime-box>
|
|
220
204
|
</div>
|
|
@@ -230,4 +214,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImpor
|
|
|
230
214
|
}] });
|
|
231
215
|
|
|
232
216
|
export { AXPDateTimeWidgetFilterComponent };
|
|
233
|
-
//# sourceMappingURL=acorex-platform-layouts-dateTime-widget-filter.component-
|
|
217
|
+
//# sourceMappingURL=acorex-platform-layouts-dateTime-widget-filter.component-tvc-cTos.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-layouts-dateTime-widget-filter.component-tvc-cTos.mjs","sources":["../../../../libs/platform/layouts/src/lib/widgets/dateTime/dateTime-widget-filter.component.ts"],"sourcesContent":["import { AXValueChangedEvent } from '@acorex/components/common';\nimport { AXDateTimeBoxModule } from '@acorex/components/datetime-box';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXSelectBoxModule } from '@acorex/components/select-box';\nimport { AXCalendarService } from '@acorex/core/date-time';\nimport { AXFormatModule } from '@acorex/core/format';\nimport { AXPWidgetFilterBase } from '@acorex/platform/schema';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, WritableSignal, effect, inject, signal } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\n\n@Component({\n selector: 'axp-datetime-widget-filter',\n template: `\n <div class=\"ax-flex-1\">\n <ax-select-box [ngModel]=\"selectedItem()\" placeholder=\"Select ...\" (onValueChanged)=\"changeSelectedItem($event)\" [dataSource]=\"dataSource\">\n </ax-select-box>\n @if(selectedItem()==\"Between\"){\n <div class=\"ax-flex ax-gap-2 ax-mt-2\">\n <ax-datetime-box\n placeholder=\"From\"\n [(ngModel)]=\"value.from\"\n class=\"ax-col-start-1 ax-col-end-13 lg:ax-col-end-5 xl:ax-col-end-4 2xl:ax-col-end-3\"\n >\n <ax-clear-button></ax-clear-button>\n </ax-datetime-box>\n <ax-datetime-box\n placeholder=\"To\"\n [(ngModel)]=\"value.to\"\n class=\"ax-col-start-1 ax-col-end-13 lg:ax-col-end-5 xl:ax-col-end-4 2xl:ax-col-end-3\"\n >\n <ax-clear-button></ax-clear-button>\n </ax-datetime-box>\n </div>\n } @if(selectedItem()==\"Greater Than\" || selectedItem()==\"Less Than\"){\n <div class=\"ax-mt-2\">\n <ax-datetime-box [(ngModel)]=\"value\" class=\"ax-col-start-1 ax-col-end-13 lg:ax-col-end-5 xl:ax-col-end-4 2xl:ax-col-end-3\">\n <ax-clear-button></ax-clear-button>\n </ax-datetime-box>\n </div>\n }\n </div>\n `,\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [CommonModule, FormsModule, AXFormatModule, AXDateTimeBoxModule, AXDecoratorModule, AXSelectBoxModule],\n outputs: ['valueChange', 'operatorChange'],\n inputs: ['value', 'operator'],\n})\nexport class AXPDateTimeWidgetFilterComponent extends AXPWidgetFilterBase {\n protected selectedItem: WritableSignal<string> = signal('');\n dataSource: string[] = [];\n\n private calendarService = inject(AXCalendarService);\n private changeValueEffect = effect(() => {\n console.log(this.selectedItem());\n this.getSelectedItemValue(this.selectedItem());\n });\n\n ngOnInit(): void {\n if (this.operator == 'greaterThan' || this.operator == 'lessThan') {\n this.selectedItem.set(this.convertToTitleCase(this.operator));\n } else {\n this.selectedItem.set(this.convertToTitleCase(this.value));\n }\n this.dataSource = [\n 'Today',\n 'This Week',\n 'This Month',\n 'Yesterday',\n 'Last Week',\n 'Last Month',\n 'Tomorrow',\n 'Next Week',\n 'Next Month',\n 'Between',\n 'Greater Than',\n 'Less Than',\n ];\n }\n\n protected changeSelectedItem(e: AXValueChangedEvent) {\n if (e.isUserInteraction) {\n this.selectedItem.set(e.value);\n }\n }\n\n protected getSelectedItemValue(itemTitle: string): void {\n this.operator = 'between';\n const currentDate = this.calendarService.now().date;\n const calendar = this.calendarService.calendar;\n switch (itemTitle) {\n case 'Today':\n this.value = {\n from: calendar.startOf(currentDate, 'day').date,\n to: calendar.endOf(currentDate, 'day').date,\n };\n break;\n case 'This Week':\n this.value = {\n from: calendar.startOf(currentDate, 'week').date,\n to: calendar.endOf(currentDate, 'week').date,\n };\n break;\n case 'This Month':\n this.value = {\n from: calendar.startOf(currentDate, 'month').date,\n to: calendar.endOf(currentDate, 'month').date,\n };\n break;\n case 'Yesterday':\n const yesterDay = calendar.add(currentDate, 'day', -1);\n this.value = {\n from: yesterDay.startOf('day').date,\n to: yesterDay.endOf('day').date,\n };\n break;\n case 'Last Week':\n const lastWeek = calendar.add(currentDate, 'week', -1);\n this.value = {\n from: lastWeek.startOf('week').date,\n to: lastWeek.endOf('week').date,\n };\n break;\n case 'Last Month':\n const lastMonth = calendar.add(currentDate, 'month', -1);\n this.value = {\n from: lastMonth.startOf('month').date,\n to: lastMonth.endOf('month').date,\n };\n break;\n case 'Tomorrow':\n const tomorrow = calendar.add(currentDate, 'day', 1);\n this.value = {\n from: tomorrow.startOf('day').date,\n to: tomorrow.endOf('day').date,\n };\n break;\n case 'Next Week':\n const nextWeek = calendar.add(currentDate, 'week', 1);\n this.value = {\n from: nextWeek.startOf('week').date,\n to: nextWeek.endOf('week').date,\n };\n break;\n case 'Next Month':\n const nextMonth = calendar.add(currentDate, 'month', -1);\n this.value = {\n from: nextMonth.startOf('month').date,\n to: nextMonth.endOf('month').date,\n };\n break;\n case 'Between':\n this.value = {\n from: '',\n to: '',\n };\n break;\n case 'Greater Than':\n this.operator = 'greaterThan';\n break;\n case 'Less Than':\n this.operator = 'lessThan';\n break;\n default:\n break;\n }\n }\n protected convertToTitleCase(str: string) {\n return str\n .replace(/[A-Z]/g, (match) => ` ${match}`)\n .trim()\n .replace(/^\\w/, (match) => match.toUpperCase())\n .replace(/\\b\\w/g, (match) => match.toUpperCase());\n }\n}\n"],"names":["i1","i2","i3","i4"],"mappings":";;;;;;;;;;;;;;;AAiDM,MAAO,gCAAiC,SAAQ,mBAAmB,CAAA;AAtCzE,IAAA,WAAA,GAAA;;AAuCY,QAAA,IAAA,CAAA,YAAY,GAA2B,MAAM,CAAC,EAAE,CAAC,CAAC;QAC5D,IAAU,CAAA,UAAA,GAAa,EAAE,CAAC;AAElB,QAAA,IAAA,CAAA,eAAe,GAAG,MAAM,CAAC,iBAAiB,CAAC,CAAC;AAC5C,QAAA,IAAA,CAAA,iBAAiB,GAAG,MAAM,CAAC,MAAK;YACtC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,YAAY,EAAE,CAAC,CAAC;YACjC,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,YAAY,EAAE,CAAC,CAAC;AACjD,SAAC,CAAC,CAAC;AAsHJ,KAAA;IApHC,QAAQ,GAAA;AACN,QAAA,IAAI,IAAI,CAAC,QAAQ,IAAI,aAAa,IAAI,IAAI,CAAC,QAAQ,IAAI,UAAU,EAAE;AACjE,YAAA,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC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AAA,IAAA,EAAA,MAAA,EAAA,MAAA,EAAA,UAAA,EAAA,YAAA,EAAA,WAAA,EAAA,YAAA,EAAA,SAAA,EAAA,cAAA,EAAA,kBAAA,EAAA,eAAA,EAAA,iBAAA,EAAA,eAAA,CAAA,EAAA,OAAA,EAAA,CAAA,aAAA,EAAA,aAAA,EAAA,gBAAA,EAAA,QAAA,EAAA,SAAA,EAAA,gBAAA,EAAA,gBAAA,EAAA,UAAA,EAAA,UAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAInG,gCAAgC,EAAA,UAAA,EAAA,CAAA;kBAtC5C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,4BAA4B;AACtC,oBAAA,QAAQ,EAAE,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6BT,EAAA,CAAA;AACD,oBAAA,UAAU,EAAE,IAAI;oBAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAC/C,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,WAAW,EAAE,cAAc,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,iBAAiB,CAAC;AAC/G,oBAAA,OAAO,EAAE,CAAC,aAAa,EAAE,gBAAgB,CAAC;AAC1C,oBAAA,MAAM,EAAE,CAAC,OAAO,EAAE,UAAU,CAAC;AAC9B,iBAAA,CAAA;;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AXDateTimeModule } from '@acorex/core/
|
|
1
|
+
import { AXDateTimeModule } from '@acorex/core/date-time';
|
|
2
2
|
import { AXFormatModule } from '@acorex/core/format';
|
|
3
3
|
import { AXPWidgetBase } from '@acorex/platform/schema';
|
|
4
4
|
import * as i0 from '@angular/core';
|
|
@@ -6,7 +6,7 @@ import { Component, ChangeDetectionStrategy } from '@angular/core';
|
|
|
6
6
|
|
|
7
7
|
class AXPDateTimeWidgetViewComponent extends AXPWidgetBase {
|
|
8
8
|
render() {
|
|
9
|
-
const rawValue = this.
|
|
9
|
+
const rawValue = this.rawValue;
|
|
10
10
|
if (rawValue == null) {
|
|
11
11
|
this.convertedValue = null;
|
|
12
12
|
return;
|
|
@@ -36,8 +36,8 @@ class AXPDateTimeWidgetViewComponent extends AXPWidgetBase {
|
|
|
36
36
|
isArray(val) {
|
|
37
37
|
return Array.isArray(val);
|
|
38
38
|
}
|
|
39
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
40
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
39
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPDateTimeWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
40
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.2", type: AXPDateTimeWidgetViewComponent, isStandalone: true, selector: "ng-component", inputs: { context: "context", value: "value", multiple: "multiple" }, usesInheritance: true, ngImport: i0, template: `
|
|
41
41
|
@if(multiple && isArray(convertedValue)){
|
|
42
42
|
<div class="ax-flex ax-flex-col ax-gap-1">
|
|
43
43
|
@for(value of convertedValue; track $index){
|
|
@@ -49,7 +49,7 @@ class AXPDateTimeWidgetViewComponent extends AXPWidgetBase {
|
|
|
49
49
|
}
|
|
50
50
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: AXFormatModule }, { kind: "ngmodule", type: AXDateTimeModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
51
51
|
}
|
|
52
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
52
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPDateTimeWidgetViewComponent, decorators: [{
|
|
53
53
|
type: Component,
|
|
54
54
|
args: [{
|
|
55
55
|
template: `
|
|
@@ -71,4 +71,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImpor
|
|
|
71
71
|
}] });
|
|
72
72
|
|
|
73
73
|
export { AXPDateTimeWidgetViewComponent };
|
|
74
|
-
//# sourceMappingURL=acorex-platform-layouts-dateTime-widget-view.component-
|
|
74
|
+
//# sourceMappingURL=acorex-platform-layouts-dateTime-widget-view.component-CjChqiJw.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-layouts-dateTime-widget-view.component-CjChqiJw.mjs","sources":["../../../../libs/platform/layouts/src/lib/widgets/dateTime/dateTime-widget-view.component.ts"],"sourcesContent":["import { AXDateTimeModule } from '@acorex/core/date-time';\nimport { AXFormatModule } from '@acorex/core/format';\nimport { AXPWidgetBase } from '@acorex/platform/schema';\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\n\n@Component({\n template: `\n @if(multiple && isArray(convertedValue)){\n <div class=\"ax-flex ax-flex-col ax-gap-1\">\n @for(value of convertedValue; track $index){\n <span>{{ value }}</span>\n }\n </div>\n }@else{\n <span>{{ convertedValue }}</span>\n }\n `,\n standalone: true,\n imports: [AXFormatModule, AXDateTimeModule],\n changeDetection: ChangeDetectionStrategy.OnPush,\n inputs: ['context', 'value', 'multiple'],\n})\nexport class AXPDateTimeWidgetViewComponent extends AXPWidgetBase {\n protected convertedValue!: string | null;\n protected multiple!: boolean;\n\n override render() {\n const rawValue = this.rawValue;\n if (rawValue == null) {\n this.convertedValue = null;\n return;\n }\n if (this.isArray(rawValue)) {\n // if (this.multiple) {\n console.log(rawValue);\n this.convertedValue = rawValue.map((item: Date) => this.formatValue(new Date(item)));\n // } else {\n // this.convertedValue = this.formatValue(rawValue[0]);\n // }\n } else {\n this.convertedValue = this.formatValue(new Date(rawValue));\n }\n\n // const value = new Date(rawValue);\n // this.formatValue(value);\n }\n\n protected formatValue(value: Date) {\n if (this.formats?.default) {\n return this.formatService.format(new Date(value), 'datetime', { format: this.formats.default });\n } else {\n return value.toISOString();\n }\n }\n\n protected isArray(val: any) {\n return Array.isArray(val);\n }\n}\n"],"names":[],"mappings":";;;;;;AAsBM,MAAO,8BAA+B,SAAQ,aAAa,CAAA;IAItD,MAAM,GAAA;AACb,QAAA,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC;AAC/B,QAAA,IAAI,QAAQ,IAAI,IAAI,EAAE;AACpB,YAAA,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC;YAC3B,OAAO;SACR;AACD,QAAA,IAAI,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE;;AAE1B,YAAA,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;YACtB,IAAI,CAAC,cAAc,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAC,IAAU,KAAK,IAAI,CAAC,WAAW,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;;;;SAItF;aAAM;AACL,YAAA,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;SAC5D;;;KAIF;AAES,IAAA,WAAW,CAAC,KAAW,EAAA;AAC/B,QAAA,IAAI,IAAI,CAAC,OAAO,EAAE,OAAO,EAAE;YACzB,OAAO,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,EAAE,UAAU,EAAE,EAAE,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC,CAAC;SACjG;aAAM;AACL,YAAA,OAAO,KAAK,CAAC,WAAW,EAAE,CAAC;SAC5B;KACF;AAES,IAAA,OAAO,CAAC,GAAQ,EAAA;AACxB,QAAA,OAAO,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;KAC3B;8GAnCU,8BAA8B,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAA9B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,8BAA8B,EAhB/B,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,cAAA,EAAA,MAAA,EAAA,EAAA,OAAA,EAAA,SAAA,EAAA,KAAA,EAAA,OAAA,EAAA,QAAA,EAAA,UAAA,EAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;;;;;;;GAUT,EAES,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,cAAc,8BAAE,gBAAgB,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAI/B,8BAA8B,EAAA,UAAA,EAAA,CAAA;kBAjB1C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,CAAA;;;;;;;;;;AAUT,EAAA,CAAA;AACD,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,OAAO,EAAE,CAAC,cAAc,EAAE,gBAAgB,CAAC;oBAC3C,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAC/C,oBAAA,MAAM,EAAE,CAAC,SAAS,EAAE,OAAO,EAAE,UAAU,CAAC;AACzC,iBAAA,CAAA;;;;;"}
|
|
@@ -16,8 +16,8 @@ class AXPEmailWidgetColumnComponent extends AXPWidgetBase {
|
|
|
16
16
|
return text.split('\n')[0];
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
|
-
if (this.
|
|
20
|
-
const rawValue = this.
|
|
19
|
+
if (this.rawValue) {
|
|
20
|
+
const rawValue = this.rawValue;
|
|
21
21
|
this.list = Array.isArray(rawValue) ? rawValue.map((c) => this.extractItem(c)) : [this.extractItem(rawValue)];
|
|
22
22
|
this.text = this.list.map((item) => item.value).join('\n');
|
|
23
23
|
}
|
|
@@ -35,8 +35,8 @@ class AXPEmailWidgetColumnComponent extends AXPWidgetBase {
|
|
|
35
35
|
label: null,
|
|
36
36
|
};
|
|
37
37
|
}
|
|
38
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
39
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
38
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPEmailWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
39
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.2", type: AXPEmailWidgetColumnComponent, isStandalone: true, selector: "axp-email-widget-column", inputs: { context: "context", multiple: "multiple", width: "width", hasLabel: "hasLabel", allowResizing: "allowResizing" }, usesInheritance: true, ngImport: i0, template: `<div>
|
|
40
40
|
@if(multiple && list.length>1){
|
|
41
41
|
<div [title]="text">{{ dot3(text) }}</div>
|
|
42
42
|
}@else {
|
|
@@ -49,7 +49,7 @@ class AXPEmailWidgetColumnComponent extends AXPWidgetBase {
|
|
|
49
49
|
}
|
|
50
50
|
</div>`, isInline: true, dependencies: [{ kind: "ngmodule", type: AXTooltipModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
51
51
|
}
|
|
52
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
52
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPEmailWidgetColumnComponent, decorators: [{
|
|
53
53
|
type: Component,
|
|
54
54
|
args: [{
|
|
55
55
|
selector: 'axp-email-widget-column',
|
|
@@ -68,9 +68,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImpor
|
|
|
68
68
|
standalone: true,
|
|
69
69
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
70
70
|
imports: [AXTooltipModule],
|
|
71
|
-
inputs: ['context', 'multiple', 'width', 'hasLabel'],
|
|
71
|
+
inputs: ['context', 'multiple', 'width', 'hasLabel', 'allowResizing'],
|
|
72
72
|
}]
|
|
73
73
|
}] });
|
|
74
74
|
|
|
75
75
|
export { AXPEmailWidgetColumnComponent };
|
|
76
|
-
//# sourceMappingURL=acorex-platform-layouts-email-widget-column.component-
|
|
76
|
+
//# sourceMappingURL=acorex-platform-layouts-email-widget-column.component-CUnxKERe.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-layouts-email-widget-column.component-CUnxKERe.mjs","sources":["../../../../libs/platform/layouts/src/lib/widgets/email/email-widget-column.component.ts"],"sourcesContent":["import { AXTooltipModule } from '@acorex/components/tooltip';\nimport { AXPWidgetBase } from '@acorex/platform/schema';\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\n@Component({\n selector: 'axp-email-widget-column',\n template: `<div>\n @if(multiple && list.length>1){\n <div [title]=\"text\">{{ dot3(text) }}</div>\n }@else {\n <div>\n @if(list && list.length){\n {{ list[0].value }}\n }@else { - }\n </div>\n\n }\n </div>`,\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [AXTooltipModule],\n inputs: ['context', 'multiple', 'width', 'hasLabel', 'allowResizing'],\n})\nexport class AXPEmailWidgetColumnComponent extends AXPWidgetBase {\n protected list: { value: string; label: string }[] = [];\n protected text: string = '';\n protected multiple!: boolean;\n protected hasLabel!: boolean;\n\n protected dot3(text: string) {\n if (this.multiple) return text.split('\\n')[0] + '...';\n else return text.split('\\n')[0];\n }\n\n protected override render(): void {\n if (this.rawValue) {\n const rawValue = this.rawValue;\n this.list = Array.isArray(rawValue) ? rawValue.map((c) => this.extractItem(c)) : [this.extractItem(rawValue)];\n this.text = this.list.map((item) => item.value).join('\\n');\n }\n }\n\n private extractItem(item: any): any {\n return typeof item == 'object'\n ? {\n value: item.value ?? '-',\n type: item.type ?? 'primary',\n label: item.label,\n }\n : {\n value: item,\n type: 'primary',\n label: null,\n };\n }\n}\n"],"names":[],"mappings":";;;;;AAsBM,MAAO,6BAA8B,SAAQ,aAAa,CAAA;AAnBhE,IAAA,WAAA,GAAA;;QAoBY,IAAI,CAAA,IAAA,GAAuC,EAAE,CAAC;QAC9C,IAAI,CAAA,IAAA,GAAW,EAAE,CAAC;AA8B7B,KAAA;AA1BW,IAAA,IAAI,CAAC,IAAY,EAAA;QACzB,IAAI,IAAI,CAAC,QAAQ;YAAE,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC;;YACjD,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;KACjC;IAEkB,MAAM,GAAA;AACvB,QAAA,IAAI,IAAI,CAAC,QAAQ,EAAE;AACjB,YAAA,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC;AAC/B,YAAA,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,CAAC;YAC9G,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;SAC5D;KACF;AAEO,IAAA,WAAW,CAAC,IAAS,EAAA;QAC3B,OAAO,OAAO,IAAI,IAAI,QAAQ;AAC5B,cAAE;AACE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AAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,OAAO,EAAE,CAAC,eAAe,CAAC;oBAC1B,MAAM,EAAE,CAAC,SAAS,EAAE,UAAU,EAAE,OAAO,EAAE,UAAU,EAAE,eAAe,CAAC;AACtE,iBAAA,CAAA;;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as i2 from '@acorex/components/button';
|
|
2
2
|
import { AXButtonModule } from '@acorex/components/button';
|
|
3
3
|
import * as i3 from '@acorex/components/decorators';
|
|
4
4
|
import { AXDecoratorModule } from '@acorex/components/decorators';
|
|
@@ -6,7 +6,7 @@ import * as i3$1 from '@acorex/components/form';
|
|
|
6
6
|
import { AXFormModule } from '@acorex/components/form';
|
|
7
7
|
import * as i6 from '@acorex/components/select-box';
|
|
8
8
|
import { AXSelectBoxModule } from '@acorex/components/select-box';
|
|
9
|
-
import * as i4
|
|
9
|
+
import * as i4 from '@acorex/components/text-box';
|
|
10
10
|
import { AXTextBoxModule } from '@acorex/components/text-box';
|
|
11
11
|
import { AXPlatform } from '@acorex/core/platform';
|
|
12
12
|
import { MockDataService } from '@acorex/platform/mocks';
|
|
@@ -15,7 +15,7 @@ import * as i1 from '@angular/common';
|
|
|
15
15
|
import { CommonModule } from '@angular/common';
|
|
16
16
|
import * as i0 from '@angular/core';
|
|
17
17
|
import { inject, signal, effect, Component, ChangeDetectionStrategy } from '@angular/core';
|
|
18
|
-
import * as i2 from '@angular/forms';
|
|
18
|
+
import * as i2$1 from '@angular/forms';
|
|
19
19
|
import { FormsModule } from '@angular/forms';
|
|
20
20
|
|
|
21
21
|
class AXPEmailWidgetEditComponent extends AXPWidgetEditBase {
|
|
@@ -94,8 +94,8 @@ class AXPEmailWidgetEditComponent extends AXPWidgetEditBase {
|
|
|
94
94
|
];
|
|
95
95
|
this.convertedValue.set(newValue);
|
|
96
96
|
}
|
|
97
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
98
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
97
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPEmailWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
98
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.2", type: AXPEmailWidgetEditComponent, isStandalone: true, selector: "ng-component", inputs: { multiple: "multiple", hasLabel: "hasLabel" }, usesInheritance: true, ngImport: i0, template: `
|
|
99
99
|
<div class="ax-grid ax-grid-cols-12 ax-gap-4">
|
|
100
100
|
<ng-container *ngIf="multiple">
|
|
101
101
|
@for(item of convertedValue();track item?.value) {
|
|
@@ -161,9 +161,9 @@ class AXPEmailWidgetEditComponent extends AXPWidgetEditBase {
|
|
|
161
161
|
</ax-prefix>
|
|
162
162
|
</ax-button>
|
|
163
163
|
</div>
|
|
164
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type:
|
|
164
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i2.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXTextBoxModule }, { kind: "component", type: i4.AXTextBoxComponent, selector: "ax-text-box", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "id", "placeholder", "maxLength", "allowNull", "type", "autoComplete", "look", "mask-options", "class"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-sub-title, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXSelectBoxModule }, { kind: "component", type: i6.AXSelectBoxComponent, selector: "ax-select-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "id", "type", "look", "multiple", "valueField", "textField", "dataSource", "caption", "itemTemplate", "selectedTemplate", "emptyTemplate", "loadingTemplate", "dropdownWidth"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onOpened", "onClosed"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i3$1.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
165
165
|
}
|
|
166
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
166
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPEmailWidgetEditComponent, decorators: [{
|
|
167
167
|
type: Component,
|
|
168
168
|
args: [{
|
|
169
169
|
template: `
|
|
@@ -249,4 +249,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImpor
|
|
|
249
249
|
}] });
|
|
250
250
|
|
|
251
251
|
export { AXPEmailWidgetEditComponent };
|
|
252
|
-
//# sourceMappingURL=acorex-platform-layouts-email-widget-edit.component-
|
|
252
|
+
//# sourceMappingURL=acorex-platform-layouts-email-widget-edit.component-DqnNien2.mjs.map
|