@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
|
@@ -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';
|
|
@@ -14,7 +14,7 @@ class AXPFileWidgetViewComponent extends AXPWidgetBase {
|
|
|
14
14
|
this.list = [];
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
|
-
const rawValue = this.
|
|
17
|
+
const rawValue = this.rawValue;
|
|
18
18
|
this.list = Array.isArray(rawValue) ? rawValue.map((c) => this.extractItem(c)) : [this.extractItem(rawValue)];
|
|
19
19
|
}
|
|
20
20
|
getFileInfo(fileName) {
|
|
@@ -70,8 +70,8 @@ class AXPFileWidgetViewComponent extends AXPWidgetBase {
|
|
|
70
70
|
}
|
|
71
71
|
: null;
|
|
72
72
|
}
|
|
73
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
74
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
73
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPFileWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
74
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.2", type: AXPFileWidgetViewComponent, isStandalone: true, selector: "ng-component", inputs: { context: "context", value: "value", multiple: "multiple" }, usesInheritance: true, ngImport: i0, template: `
|
|
75
75
|
<div class="ax-grid ax-grid-cols-12 ax-gap-2">
|
|
76
76
|
@if(multiple){ @for(item of list;let first=$first;track item.name) {
|
|
77
77
|
<ng-template [ngTemplateOutlet]="itemTemplate" ] [ngTemplateOutletContext]="{ data: item }" ]></ng-template>
|
|
@@ -105,9 +105,9 @@ class AXPFileWidgetViewComponent extends AXPWidgetBase {
|
|
|
105
105
|
</div>
|
|
106
106
|
</ng-template>
|
|
107
107
|
</div>
|
|
108
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type:
|
|
108
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { 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: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
109
109
|
}
|
|
110
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
110
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPFileWidgetViewComponent, decorators: [{
|
|
111
111
|
type: Component,
|
|
112
112
|
args: [{
|
|
113
113
|
template: `
|
|
@@ -153,4 +153,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImpor
|
|
|
153
153
|
}] });
|
|
154
154
|
|
|
155
155
|
export { AXPFileWidgetViewComponent };
|
|
156
|
-
//# sourceMappingURL=acorex-platform-layouts-file-widget-view.component-
|
|
156
|
+
//# sourceMappingURL=acorex-platform-layouts-file-widget-view.component-DVlbi33v.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-layouts-file-widget-view.component-DVlbi33v.mjs","sources":["../../../../libs/platform/layouts/src/lib/widgets/file/file-widget-view.component.ts"],"sourcesContent":["import { AXButtonModule } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXPWidgetBase } from '@acorex/platform/schema';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\n\n@Component({\n template: `\n <div class=\"ax-grid ax-grid-cols-12 ax-gap-2\">\n @if(multiple){ @for(item of list;let first=$first;track item.name) {\n <ng-template [ngTemplateOutlet]=\"itemTemplate\" ] [ngTemplateOutletContext]=\"{ data: item }\" ]></ng-template>\n } }@else {\n <ng-template [ngTemplateOutlet]=\"itemTemplate\" ] [ngTemplateOutletContext]=\"{ data: list[0] }\" ]></ng-template>\n }\n <ng-template #itemTemplate let-item=\"data\">\n <div\n *ngIf=\"item\"\n class=\"ax-flex ax-items-center ax-justify-between ax-p-2 ax-border ax-rounded-lg ax-bg-surface ax-col-start-1 ax-col-end-13 lg:ax-col-end-7 2xl:ax-col-end-5\"\n >\n <div class=\"ax-flex ax-items-center ax-gap-3\">\n <ng-container *ngIf=\"getFileInfo(item.name) as fileInfo\">\n <div\n class=\"ax-w-10 ax-h-10 ax-rounded-lg ax-flex ax-items-center ax-justify-center\"\n [ngClass]=\"[fileInfo.color]\"\n >\n <i [ngClass]=\"['fa-solid', 'ax-text-xl', fileInfo.icon]\"></i>\n </div>\n </ng-container>\n <div>\n <div class=\"ax-leading-6\">{{ item.name }}</div>\n <p class=\"ax-text-sm ax-text-neutral-400\">250 KB</p>\n </div>\n </div>\n <ax-button look=\"blank\" color=\"ghost\" class=\"!ax-text-neutral-400 hover:!ax-text-neutral-600\">\n <ax-icon>\n <i class=\"fa-solid fa-download\"></i>\n </ax-icon>\n </ax-button>\n </div>\n </ng-template>\n </div>\n `,\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [CommonModule, AXButtonModule, AXDecoratorModule],\n inputs: ['context', 'value', 'multiple'],\n})\nexport class AXPFileWidgetViewComponent extends AXPWidgetBase {\n protected list: { name: string; type: string }[] = [];\n protected multiple!: boolean;\n\n override render() {\n const rawValue = this.rawValue;\n this.list = Array.isArray(rawValue) ? rawValue.map((c) => this.extractItem(c)) : [this.extractItem(rawValue)];\n }\n\n protected getFileInfo(fileName: string): { icon: string; color: string } {\n const extension = fileName.split('.').pop()?.toLowerCase();\n\n switch (extension) {\n case 'txt':\n return { icon: 'fa-file-alt', color: 'ax-bg-blue-100 ax-text-blue-500' };\n\n case 'pdf':\n return { icon: 'fa-file-pdf', color: 'ax-bg-red-100 ax-text-red-500' };\n\n case 'doc':\n case 'docx':\n return { icon: 'fa-file-word', color: 'ax-bg-blue-200 ax-text-blue-600' };\n\n case 'xls':\n case 'xlsx':\n return { icon: 'fa-file-excel', color: 'ax-bg-green-100 ax-text-green-500' };\n\n case 'ppt':\n case 'pptx':\n return { icon: 'fa-file-powerpoint', color: 'ax-bg-orange-100 ax-text-orange-500' };\n\n case 'jpg':\n case 'jpeg':\n case 'png':\n case 'gif':\n case 'bmp':\n return { icon: 'fa-file-image', color: 'ax-bg-purple-100 ax-text-purple-500' };\n\n case 'zip':\n case 'rar':\n case '7z':\n return { icon: 'fa-file-archive', color: 'ax-bg-yellow-100 ax-text-yellow-500' };\n\n case 'mp3':\n case 'wav':\n case 'ogg':\n return { icon: 'fa-file-audio', color: 'ax-bg-pink-100 ax-text-pink-500' };\n\n case 'mp4':\n case 'avi':\n case 'mkv':\n case 'mov':\n return { icon: 'fa-file-video', color: 'ax-bg-blue-100 ax-text-blue-500' };\n\n case 'js':\n case 'jsx':\n case 'ts':\n case 'tsx':\n return { icon: 'fa-file-code', color: 'ax-bg-yellow-100 ax-text-yellow-500' };\n\n // Add more cases as needed for other file types\n\n default:\n return { icon: 'fa-file', color: 'ax-bg-gray-100 ax-text-gray-500' };\n }\n }\n\n private extractItem(item: any): any {\n return typeof item == 'object'\n ? {\n name: item.name,\n type: item.type ?? 'Unknown',\n }\n : null;\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;AA+CM,MAAO,0BAA2B,SAAQ,aAAa,CAAA;AAzC7D,IAAA,WAAA,GAAA;;QA0CY,IAAI,CAAA,IAAA,GAAqC,EAAE,CAAC;AA0EvD,KAAA;IAvEU,MAAM,GAAA;AACb,QAAA,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC;AAC/B,QAAA,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,GAAG,QAAQ,CAAC,GAAG,CA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A,EAAA,WAAA,EAAA,IAAA,EAAA,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;;2FAG9C,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBAzCtC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkCT,EAAA,CAAA;AACD,oBAAA,UAAU,EAAE,IAAI;oBAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAC/C,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,cAAc,EAAE,iBAAiB,CAAC;AAC1D,oBAAA,MAAM,EAAE,CAAC,SAAS,EAAE,OAAO,EAAE,UAAU,CAAC;AACzC,iBAAA,CAAA;;;;;"}
|
|
@@ -3,7 +3,7 @@ import * as i3 from '@acorex/components/decorators';
|
|
|
3
3
|
import { AXDecoratorModule } from '@acorex/components/decorators';
|
|
4
4
|
import * as i2 from '@acorex/components/image';
|
|
5
5
|
import { AXImageModule } from '@acorex/components/image';
|
|
6
|
-
import * as
|
|
6
|
+
import * as i3$1 from '@acorex/components/loading';
|
|
7
7
|
import { AXLoadingModule } from '@acorex/components/loading';
|
|
8
8
|
import * as i5 from '@acorex/components/uploader';
|
|
9
9
|
import { AXUploaderModule } from '@acorex/components/uploader';
|
|
@@ -50,8 +50,8 @@ class AXPGalleryWidgetEditComponent extends AXPWidgetEditBase {
|
|
|
50
50
|
return { icon: '', format: 'image' };
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
54
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
53
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPGalleryWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
54
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.2", type: AXPGalleryWidgetEditComponent, isStandalone: true, selector: "ng-component", inputs: { multiple: "multiple" }, usesInheritance: true, ngImport: i0, template: `
|
|
55
55
|
<div class="ax-grid ax-grid-cols-12 ax-gap-2">
|
|
56
56
|
@if(list().length){
|
|
57
57
|
<div class="ax-col-start-1 ax-col-end-13 ax-flex ax-items-center lg:ax-justify-start ax-justify-center ">
|
|
@@ -113,9 +113,9 @@ class AXPGalleryWidgetEditComponent extends AXPWidgetEditBase {
|
|
|
113
113
|
|
|
114
114
|
}
|
|
115
115
|
</div>
|
|
116
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: AXButtonModule }, { 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
|
|
116
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: AXButtonModule }, { 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: AXImageModule }, { kind: "component", type: i2.AXImageComponent, selector: "ax-image", inputs: ["overlayMode", "src", "alt", "priority", "lazy"], outputs: ["onLoad", "onError"] }, { kind: "ngmodule", type: AXLoadingModule }, { kind: "component", type: i3$1.AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "context"], outputs: ["visibleChange"] }, { kind: "ngmodule", type: AXUploaderModule }, { kind: "component", type: i5.AXUploaderDropZoneComponent, selector: "ax-uploader-drop-zone" }, { kind: "directive", type: i5.AXUploaderZoneDirective, selector: "[axUploaderZone]", inputs: ["multiple"] }, { kind: "directive", type: i5.AXUploaderBrowseDirective, selector: "[axUploaderBrowseHandle]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
117
117
|
}
|
|
118
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
118
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPGalleryWidgetEditComponent, decorators: [{
|
|
119
119
|
type: Component,
|
|
120
120
|
args: [{
|
|
121
121
|
template: `
|
|
@@ -189,4 +189,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImpor
|
|
|
189
189
|
}] });
|
|
190
190
|
|
|
191
191
|
export { AXPGalleryWidgetEditComponent };
|
|
192
|
-
//# sourceMappingURL=acorex-platform-layouts-gallery-widget-edit.component-
|
|
192
|
+
//# sourceMappingURL=acorex-platform-layouts-gallery-widget-edit.component-BUlkUU5u.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-layouts-gallery-widget-edit.component-
|
|
1
|
+
{"version":3,"file":"acorex-platform-layouts-gallery-widget-edit.component-BUlkUU5u.mjs","sources":["../../../../libs/platform/layouts/src/lib/widgets/gallery/gallery-widget-edit.component.ts"],"sourcesContent":["import { AXButtonModule } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXImageModule } from '@acorex/components/image';\nimport { AXLoadingModule } from '@acorex/components/loading';\nimport { AXUploaderModule } from '@acorex/components/uploader';\nimport { AXPWidgetEditBase } from '@acorex/platform/schema';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, Signal, WritableSignal, computed, signal } from '@angular/core';\nimport { AXPMediaInfo, AXPMediaItem } from './gallery-widget-types';\n\n@Component({\n template: `\n <div class=\"ax-grid ax-grid-cols-12 ax-gap-2\">\n @if(list().length){\n <div class=\"ax-col-start-1 ax-col-end-13 ax-flex ax-items-center lg:ax-justify-start ax-justify-center \">\n <div class=\"ax-flex ax-flex-col ax-items-center ax-gap-4 ax-w-full\">\n @switch (getMediaInfo(activeMedia()?.name||'').format) { @case ('video') {\n <video\n class=\"ax-rounded-lg ax-h-48 md:ax-h-72 ax-w-auto ax-shadow-md\"\n controls\n [src]=\"activeMedia()?.url\"\n ></video>\n } @case ('image') {\n <ax-image class=\"ax-rounded-lg ax-h-48 md:ax-h-72 ax-w-auto\" [src]=\"activeMedia()?.url\">\n <ax-loading></ax-loading>\n <ax-placeholder>\n <div\n class=\"ax-w-96 ax-h-72 ax-gap-4 ax-flex ax-flex-col ax-items-center ax-justify-center ax-border ax-rounded-lg\"\n >\n <ax-icon class=\"fa-solid fa-circle-exclamation ax-text-3xl\"> </ax-icon>\n <span>Connection Error!</span>\n </div>\n </ax-placeholder>\n </ax-image>\n } @case ('audio') {\n <audio controls class=\"ax-rounded-lg\">\n <source [src]=\"activeMedia()?.url\" type=\"audio/mp3\" />\n </audio>\n } }\n <div class=\"ax-flex ax-gap-4 ax-overflow-x-auto ax-max-w-[320px] lg:ax-max-w-[480px] ax-pb-2\">\n @for (media of thumbnails(); track $index) {\n <div\n *ngIf=\"getMediaInfo(media.name) as mediaInfo\"\n class=\"hover:ax-opacity-75 ax-transition-all ax-relative ax-cursor-pointer ax-flex ax-justify-center ax-items-center\"\n (click)=\"changeMediaSelected(media)\"\n >\n <ax-image\n class=\"ax-w-16 ax-brightness-50 ax-h-16 ax-rounded-lg ax-shadow-md ax-filter\"\n [src]=\"mediaInfo.format == 'image' ? media.url : media.posterUrl\"\n ></ax-image>\n <div class=\"ax-absolute ax-text-neutral-300 ax-text-xl\">\n <ax-icon [class]=\"mediaInfo.icon\"> </ax-icon>\n </div>\n </div>\n }\n <div axUploaderZone>\n <div\n axUploaderBrowseHandle\n class=\"ax-flex ax-justify-center ax-items-center ax-w-16 ax-h-16 ax-border ax-rounded-lg ax-cursor-pointer\"\n >\n <ax-icon class=\"fa-solid fa-plus ax-text-neutral-500\"> </ax-icon>\n </div>\n </div>\n </div>\n </div>\n </div>\n } @else {\n <div class=\" ax-col-start-1 ax-col-end-13\">\n <ax-uploader-drop-zone></ax-uploader-drop-zone>\n </div>\n\n }\n </div>\n `,\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [CommonModule, AXButtonModule, AXDecoratorModule, AXImageModule, AXLoadingModule, AXUploaderModule],\n inputs: ['multiple'],\n})\nexport class AXPGalleryWidgetEditComponent extends AXPWidgetEditBase {\n protected multiple!: boolean;\n protected activeMedia: WritableSignal<AXPMediaItem | null> = signal(null);\n protected list: WritableSignal<AXPMediaItem[]> = signal([]);\n protected thumbnails: Signal<AXPMediaItem[]> = computed(() =>\n this.list().filter((i) => i.id !== this.activeMedia()?.id)\n );\n\n ngAfterViewInit(): void {\n const parsedValue = this.value ? JSON.parse(this.value) : [];\n this.list.set(Array.isArray(parsedValue) ? parsedValue.map((c) => c) : [parsedValue]);\n this.activeMedia.set(this.list()[0]);\n }\n\n changeMediaSelected(media: AXPMediaItem) {\n this.activeMedia.set(media);\n }\n\n protected getMediaInfo(mediaName: string): AXPMediaInfo {\n const extension = mediaName.split('.').pop()?.toLowerCase();\n\n switch (extension) {\n case 'jpg':\n case 'jpeg':\n case 'png':\n case 'gif':\n case 'bmp':\n return { icon: '', format: 'image' };\n\n case 'mp4':\n case 'avi':\n case 'mkv':\n case 'mov':\n return { icon: 'fa-regular fa-play', format: 'video' };\n\n case 'mp3':\n case 'wav':\n case 'ogg':\n return { icon: 'fa-regular fa-volume-high', format: 'audio' };\n\n default:\n return { icon: '', format: 'image' };\n }\n }\n}\n"],"names":["i3","i4"],"mappings":";;;;;;;;;;;;;;;AA+EM,MAAO,6BAA8B,SAAQ,iBAAiB,CAAA;AArEpE,IAAA,WAAA,GAAA;;AAuEY,QAAA,IAAA,CAAA,WAAW,GAAwC,MAAM,CAAC,IAAI,CAAC,CAAC;AAChE,QAAA,IAAA,CAAA,IAAI,GAAmC,MAAM,CAAC,EAAE,CAAC,CAAC;AAClD,QAAA,IAAA,CAAA,UAAU,GAA2B,QAAQ,CAAC,MACtD,IAAI,CAAC,IAAI,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,KAAK,IAAI,CAAC,WAAW,EAAE,EAAE,EAAE,CAAC,CAC3D,CAAC;AAsCH,KAAA;IApCC,eAAe,GAAA;QACb,MAAM,WAAW,GAAG,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC;AAC7D,QAAA,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,WAAW,CAAC,GAAG,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC;AACtF,QAAA,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;KACtC;AAED,IAAA,mBAAmB,CAAC,KAAmB,EAAA;AACrC,QAAA,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;KAC7B;AAES,IAAA,YAAY,CAAC,SAAiB,EAAA;AACtC,QAAA,MAAM,SAAS,GAAG,SAAS,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,G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QAAA,EAAA,0BAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAGhG,6BAA6B,EAAA,UAAA,EAAA,CAAA;kBArEzC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8DT,EAAA,CAAA;AACD,oBAAA,UAAU,EAAE,IAAI;oBAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAC/C,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,cAAc,EAAE,iBAAiB,EAAE,aAAa,EAAE,eAAe,EAAE,gBAAgB,CAAC;oBAC5G,MAAM,EAAE,CAAC,UAAU,CAAC;AACrB,iBAAA,CAAA;;;;;"}
|
|
@@ -8,12 +8,12 @@ import * as i2 from '@angular/forms';
|
|
|
8
8
|
import { FormsModule } from '@angular/forms';
|
|
9
9
|
|
|
10
10
|
class AXPGalleryWidgetFilterComponent extends AXPWidgetFilterBase {
|
|
11
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
11
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPGalleryWidgetFilterComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
12
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.2", type: AXPGalleryWidgetFilterComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
|
|
13
13
|
<ax-select-box [(ngModel)]="value" [placeholder]="'Has media'" [dataSource]="['Yes', 'No']"></ax-select-box>
|
|
14
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { 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"] }, { 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 }); }
|
|
14
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { 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: 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 }); }
|
|
15
15
|
}
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPGalleryWidgetFilterComponent, decorators: [{
|
|
17
17
|
type: Component,
|
|
18
18
|
args: [{
|
|
19
19
|
template: `
|
|
@@ -27,4 +27,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImpor
|
|
|
27
27
|
}] });
|
|
28
28
|
|
|
29
29
|
export { AXPGalleryWidgetFilterComponent };
|
|
30
|
-
//# sourceMappingURL=acorex-platform-layouts-gallery-widget-filter.component-
|
|
30
|
+
//# sourceMappingURL=acorex-platform-layouts-gallery-widget-filter.component-BYFQSXOV.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-layouts-gallery-widget-filter.component-
|
|
1
|
+
{"version":3,"file":"acorex-platform-layouts-gallery-widget-filter.component-BYFQSXOV.mjs","sources":["../../../../libs/platform/layouts/src/lib/widgets/gallery/gallery-widget-filter.component.ts"],"sourcesContent":["import { AXSelectBoxModule } from '@acorex/components/select-box';\nimport { AXPWidgetFilterBase } from '@acorex/platform/schema';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\n@Component({\n template: `\n <ax-select-box [(ngModel)]=\"value\" [placeholder]=\"'Has media'\" [dataSource]=\"['Yes', 'No']\"></ax-select-box>\n `,\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [CommonModule, AXSelectBoxModule, FormsModule],\n inputs: [],\n})\nexport class AXPGalleryWidgetFilterComponent extends AXPWidgetFilterBase {}\n"],"names":["i1"],"mappings":";;;;;;;;;AAcM,MAAO,+BAAgC,SAAQ,mBAAmB,CAAA;8GAA3D,+BAA+B,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAA/B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,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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;;2FAG3C,+BAA+B,EAAA,UAAA,EAAA,CAAA;kBAT3C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,CAAA;;AAET,EAAA,CAAA;AACD,oBAAA,UAAU,EAAE,IAAI;oBAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAC/C,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,iBAAiB,EAAE,WAAW,CAAC;AACvD,oBAAA,MAAM,EAAE,EAAE;AACX,iBAAA,CAAA;;;;;"}
|
|
@@ -3,7 +3,7 @@ import * as i3 from '@acorex/components/decorators';
|
|
|
3
3
|
import { AXDecoratorModule } from '@acorex/components/decorators';
|
|
4
4
|
import * as i2 from '@acorex/components/image';
|
|
5
5
|
import { AXImageModule } from '@acorex/components/image';
|
|
6
|
-
import * as
|
|
6
|
+
import * as i3$1 from '@acorex/components/loading';
|
|
7
7
|
import { AXLoadingModule } from '@acorex/components/loading';
|
|
8
8
|
import { AXPWidgetBase } from '@acorex/platform/schema';
|
|
9
9
|
import * as i1 from '@angular/common';
|
|
@@ -19,7 +19,7 @@ class AXPGalleryWidgetViewComponent extends AXPWidgetBase {
|
|
|
19
19
|
this.activeMedia = signal(undefined);
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
|
-
const rawValue = this.
|
|
22
|
+
const rawValue = this.rawValue ? JSON.parse(this.rawValue) : [];
|
|
23
23
|
this.list.set(Array.isArray(rawValue) ? rawValue.map((c) => c) : [rawValue]);
|
|
24
24
|
}
|
|
25
25
|
ngOnInit() {
|
|
@@ -50,8 +50,8 @@ class AXPGalleryWidgetViewComponent extends AXPWidgetBase {
|
|
|
50
50
|
return { icon: '', format: 'image' };
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
54
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
53
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPGalleryWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
54
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.2", type: AXPGalleryWidgetViewComponent, isStandalone: true, selector: "ng-component", inputs: { context: "context", multiple: "multiple" }, usesInheritance: true, ngImport: i0, template: `
|
|
55
55
|
<div class="ax-grid ax-grid-cols-12 ax-gap-2">
|
|
56
56
|
@if(list().length){
|
|
57
57
|
<div class="ax-flex ax-items-center ax-justify-between ax-rounded-lg ax-bg-surface ax-col-start-1 ax-col-end-13">
|
|
@@ -105,9 +105,9 @@ class AXPGalleryWidgetViewComponent extends AXPWidgetBase {
|
|
|
105
105
|
<small>No Media!</small>
|
|
106
106
|
}
|
|
107
107
|
</div>
|
|
108
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: AXButtonModule }, { 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
|
|
108
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: AXButtonModule }, { 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: AXImageModule }, { kind: "component", type: i2.AXImageComponent, selector: "ax-image", inputs: ["overlayMode", "src", "alt", "priority", "lazy"], outputs: ["onLoad", "onError"] }, { kind: "ngmodule", type: AXLoadingModule }, { kind: "component", type: i3$1.AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "context"], outputs: ["visibleChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
109
109
|
}
|
|
110
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
110
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPGalleryWidgetViewComponent, decorators: [{
|
|
111
111
|
type: Component,
|
|
112
112
|
args: [{
|
|
113
113
|
template: `
|
|
@@ -173,4 +173,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImpor
|
|
|
173
173
|
}] });
|
|
174
174
|
|
|
175
175
|
export { AXPGalleryWidgetViewComponent };
|
|
176
|
-
//# sourceMappingURL=acorex-platform-layouts-gallery-widget-view.component-
|
|
176
|
+
//# sourceMappingURL=acorex-platform-layouts-gallery-widget-view.component-BqVO3rDH.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-layouts-gallery-widget-view.component-BqVO3rDH.mjs","sources":["../../../../libs/platform/layouts/src/lib/widgets/gallery/gallery-widget-view.component.ts"],"sourcesContent":["import { AXButtonModule } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXImageModule } from '@acorex/components/image';\nimport { AXLoadingModule } from '@acorex/components/loading';\nimport { AXPWidgetBase } from '@acorex/platform/schema';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, Signal, WritableSignal, computed, signal } from '@angular/core';\nimport { AXPMediaInfo, AXPMediaItem } from './gallery-widget-types';\n\n@Component({\n template: `\n <div class=\"ax-grid ax-grid-cols-12 ax-gap-2\">\n @if(list().length){\n <div class=\"ax-flex ax-items-center ax-justify-between ax-rounded-lg ax-bg-surface ax-col-start-1 ax-col-end-13\">\n <div class=\"ax-flex ax-items-center md:ax-justify-start ax-justify-center ax-w-full ax-gap-3\">\n <div class=\"ax-flex ax-flex-col ax-items-center ax-gap-4\">\n @switch (getMediaInfo(activeMedia()?.name||'').format) { @case ('video') {\n <video\n class=\"ax-rounded-lg ax-h-48 md:ax-h-72 ax-w-auto ax-shadow-md\"\n controls\n [src]=\"activeMedia()?.url\"\n ></video>\n } @case ('image') {\n <ax-image class=\"ax-rounded-lg ax-h-48 md:ax-h-72 ax-w-auto\" [src]=\"activeMedia()?.url\">\n <ax-loading></ax-loading>\n <ax-placeholder>\n <div\n class=\"ax-w-96 ax-h-72 ax-gap-4 ax-flex ax-flex-col ax-items-center ax-justify-center ax-border ax-rounded-lg\"\n >\n <ax-icon class=\"fa-solid fa-circle-exclamation ax-text-3xl\"> </ax-icon>\n <span>Connection Error!</span>\n </div>\n </ax-placeholder>\n </ax-image>\n } @case ('audio') {\n <audio controls class=\"ax-rounded-lg\">\n <source [src]=\"activeMedia()?.url\" type=\"audio/mp3\" />\n </audio>\n } }\n <div class=\"ax-flex ax-gap-4 ax-overflow-x-auto ax-max-w-[320px] lg:ax-max-w-[480px] ax-pb-2\">\n @for (media of thumbnails(); track $index) {\n <div\n *ngIf=\"getMediaInfo(media.name) as mediaInfo\"\n class=\"hover:ax-opacity-75 ax-transition-all ax-relative ax-cursor-pointer ax-flex ax-justify-center ax-items-center\"\n (click)=\"changeMediaSelected(media)\"\n >\n <ax-image\n class=\"ax-w-16 ax-brightness-50 ax-h-16 ax-rounded-lg ax-shadow-md ax-filter\"\n [src]=\"mediaInfo.format == 'image' ? media.url : media.posterUrl\"\n ></ax-image>\n <div class=\"ax-absolute ax-text-neutral-300 ax-text-xl\">\n <ax-icon [class]=\"mediaInfo.icon\"> </ax-icon>\n </div>\n </div>\n }\n </div>\n </div>\n </div>\n </div>\n } @else {\n <!-- ask for empty state: -->\n <small>No Media!</small>\n }\n </div>\n `,\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [CommonModule, AXButtonModule, AXDecoratorModule, AXImageModule, AXLoadingModule],\n inputs: ['context', 'multiple'],\n})\nexport class AXPGalleryWidgetViewComponent extends AXPWidgetBase {\n protected multiple!: boolean;\n protected list: WritableSignal<AXPMediaItem[]> = signal([]);\n protected thumbnails: Signal<AXPMediaItem[]> = computed(() =>\n this.list().filter((i) => i.id !== this.activeMedia()?.id)\n );\n protected activeMedia: WritableSignal<AXPMediaItem | undefined> = signal(undefined);\n\n override render() {\n const rawValue: AXPMediaItem[] = this.rawValue ? JSON.parse(this.rawValue) : [];\n this.list.set(Array.isArray(rawValue) ? rawValue.map((c) => c) : [rawValue]);\n }\n\n ngOnInit(): void {\n this.activeMedia.set(this.list()[0]);\n }\n\n changeMediaSelected(media: AXPMediaItem) {\n this.activeMedia.set(media);\n }\n\n protected getMediaInfo(mediaName: string): AXPMediaInfo {\n const extension = mediaName.split('.').pop()?.toLowerCase();\n\n switch (extension) {\n case 'jpg':\n case 'jpeg':\n case 'png':\n case 'gif':\n case 'bmp':\n return { icon: '', format: 'image' };\n\n case 'mp4':\n case 'avi':\n case 'mkv':\n case 'mov':\n return { icon: 'fa-regular fa-play', format: 'video' };\n\n case 'mp3':\n case 'wav':\n case 'ogg':\n return { icon: 'fa-regular fa-volume-high', format: 'audio' };\n\n default:\n return { icon: '', format: 'image' };\n }\n }\n}\n"],"names":["i2","i4"],"mappings":";;;;;;;;;;;;;AAsEM,MAAO,6BAA8B,SAAQ,aAAa,CAAA;AA7DhE,IAAA,WAAA,GAA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AAA,IAAA,EAAAA,EAAA,CAAA,wBAAA,EAAA,QAAA,EAAA,SAAA,EAAA,MAAA,EAAA,CAAA,MAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAAA,EAAA,CAAA,2BAAA,EAAA,QAAA,EAAA,+IAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,aAAa,iMAAE,eAAe,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAAC,IAAA,CAAA,kBAAA,EAAA,QAAA,EAAA,YAAA,EAAA,MAAA,EAAA,CAAA,SAAA,EAAA,MAAA,EAAA,SAAA,CAAA,EAAA,OAAA,EAAA,CAAA,eAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAG9E,6BAA6B,EAAA,UAAA,EAAA,CAAA;kBA7DzC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsDT,EAAA,CAAA;AACD,oBAAA,UAAU,EAAE,IAAI;oBAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,OAAO,EAAE,CAAC,YAAY,EAAE,cAAc,EAAE,iBAAiB,EAAE,aAAa,EAAE,eAAe,CAAC;AAC1F,oBAAA,MAAM,EAAE,CAAC,SAAS,EAAE,UAAU,CAAC;AAChC,iBAAA,CAAA;;;;;"}
|
|
@@ -10,8 +10,8 @@ import * as i2 from '@angular/forms';
|
|
|
10
10
|
import { FormsModule } from '@angular/forms';
|
|
11
11
|
|
|
12
12
|
class AXPLargeTextWidgetEditComponent extends AXPWidgetEditBase {
|
|
13
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
13
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPLargeTextWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
14
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.2", type: AXPLargeTextWidgetEditComponent, isStandalone: true, selector: "axp-largetext-widget-edit", inputs: { width: "width" }, usesInheritance: true, ngImport: i0, template: `
|
|
15
15
|
<ax-text-area [(ngModel)]="value">
|
|
16
16
|
@for(vl of validations;track $index) {
|
|
17
17
|
<ax-validation-rule [rule]="vl.rule" [options]="vl.options"></ax-validation-rule>
|
|
@@ -19,7 +19,7 @@ class AXPLargeTextWidgetEditComponent extends AXPWidgetEditBase {
|
|
|
19
19
|
</ax-text-area>
|
|
20
20
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: AXTextAreaModule }, { kind: "component", type: i1.AXTextAreaComponent, selector: "ax-text-area", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "placeholder", "maxLength", "look", "rows", "allowResize", "showCounter"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { 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: AXDecoratorModule }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i3.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message"] }] }); }
|
|
21
21
|
}
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPLargeTextWidgetEditComponent, decorators: [{
|
|
23
23
|
type: Component,
|
|
24
24
|
args: [{
|
|
25
25
|
selector: 'axp-largetext-widget-edit',
|
|
@@ -37,4 +37,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImpor
|
|
|
37
37
|
}] });
|
|
38
38
|
|
|
39
39
|
export { AXPLargeTextWidgetEditComponent };
|
|
40
|
-
//# sourceMappingURL=acorex-platform-layouts-largetext-widget-edit.component-
|
|
40
|
+
//# sourceMappingURL=acorex-platform-layouts-largetext-widget-edit.component-CmH9daul.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-layouts-largetext-widget-edit.component-
|
|
1
|
+
{"version":3,"file":"acorex-platform-layouts-largetext-widget-edit.component-CmH9daul.mjs","sources":["../../../../libs/platform/layouts/src/lib/widgets/text/largetext-widget-edit.component.ts"],"sourcesContent":["import { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXFormModule } from '@acorex/components/form';\nimport { AXTextAreaModule } from '@acorex/components/text-area';\nimport { AXPWidgetEditBase } from '@acorex/platform/schema';\nimport { Component } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\n\n@Component({\n selector: 'axp-largetext-widget-edit',\n template: `\n <ax-text-area [(ngModel)]=\"value\">\n @for(vl of validations;track $index) {\n <ax-validation-rule [rule]=\"vl.rule\" [options]=\"vl.options\"></ax-validation-rule>\n }\n </ax-text-area>\n `,\n standalone: true,\n imports: [AXTextAreaModule, FormsModule, AXDecoratorModule, AXFormModule],\n inputs: ['width']\n})\nexport class AXPLargeTextWidgetEditComponent extends AXPWidgetEditBase<string> {\n\n}"],"names":[],"mappings":";;;;;;;;;;;AAoBM,MAAO,+BAAgC,SAAQ,iBAAyB,CAAA;8GAAjE,+BAA+B,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA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,CAAA,EAAA,OAAA,EAAA,CAAA,eAAA,CAAA,EAAA,QAAA,EAAA,CAAA,SAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,iBAAiB,8BAAE,YAAY,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,yBAAA,EAAA,QAAA,EAAA,oBAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,SAAA,EAAA,SAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAG/D,+BAA+B,EAAA,UAAA,EAAA,CAAA;kBAb3C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,2BAA2B;AACrC,oBAAA,QAAQ,EAAE,CAAA;;;;;;AAMT,IAAA,CAAA;AACD,oBAAA,UAAU,EAAE,IAAI;oBAChB,OAAO,EAAE,CAAC,gBAAgB,EAAE,WAAW,EAAE,iBAAiB,EAAE,YAAY,CAAC;oBACzE,MAAM,EAAE,CAAC,OAAO,CAAC;AACpB,iBAAA,CAAA;;;;;"}
|
|
@@ -11,7 +11,7 @@ class AXPLookupWidgetColumnComponent extends AXPWidgetBase {
|
|
|
11
11
|
this.valueField = 'id';
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
const rawValue = this.
|
|
14
|
+
const rawValue = this.rawValue;
|
|
15
15
|
this.list = Array.isArray(rawValue) ? rawValue.map((c) => this.extractItem(c)) : [this.extractItem(rawValue)];
|
|
16
16
|
//
|
|
17
17
|
this.text = this.list.map((c) => c.text).join(', ');
|
|
@@ -27,10 +27,10 @@ class AXPLookupWidgetColumnComponent extends AXPWidgetBase {
|
|
|
27
27
|
text: '',
|
|
28
28
|
};
|
|
29
29
|
}
|
|
30
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
31
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
30
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPLookupWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
31
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.2", type: AXPLookupWidgetColumnComponent, isStandalone: true, selector: "axp-lookup-widget-column", inputs: { context: "context", multiple: "multiple", width: "width", textField: "textField", valueField: "valueField", reference: "reference", referenceField: "referenceField", allowResizing: "allowResizing" }, usesInheritance: true, ngImport: i0, template: '{{text}}', isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
32
32
|
}
|
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPLookupWidgetColumnComponent, decorators: [{
|
|
34
34
|
type: Component,
|
|
35
35
|
args: [{
|
|
36
36
|
selector: 'axp-lookup-widget-column',
|
|
@@ -38,9 +38,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImpor
|
|
|
38
38
|
standalone: true,
|
|
39
39
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
40
40
|
imports: [CommonModule],
|
|
41
|
-
inputs: ['context', 'multiple', 'width', 'textField', 'valueField', 'reference', 'referenceField'],
|
|
41
|
+
inputs: ['context', 'multiple', 'width', 'textField', 'valueField', 'reference', 'referenceField', 'allowResizing'],
|
|
42
42
|
}]
|
|
43
43
|
}] });
|
|
44
44
|
|
|
45
45
|
export { AXPLookupWidgetColumnComponent };
|
|
46
|
-
//# sourceMappingURL=acorex-platform-layouts-lookup-widget-column.component-
|
|
46
|
+
//# sourceMappingURL=acorex-platform-layouts-lookup-widget-column.component-C4Bb5AYW.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-layouts-lookup-widget-column.component-C4Bb5AYW.mjs","sources":["../../../../libs/platform/layouts/src/lib/widgets/lookup/lookup-widget-column.component.ts"],"sourcesContent":["import { AXPWidgetBase } from '@acorex/platform/schema';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\n@Component({\n selector: 'axp-lookup-widget-column',\n template: '{{text}}',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [CommonModule],\n inputs: ['context', 'multiple', 'width', 'textField', 'valueField', 'reference', 'referenceField', 'allowResizing'],\n})\nexport class AXPLookupWidgetColumnComponent extends AXPWidgetBase {\n protected multiple!: boolean;\n protected list: { id: string; text: string }[] = [];\n protected text!: string;\n protected textField: string = 'title';\n protected valueField: string = 'id';\n\n override render() {\n const rawValue = this.rawValue;\n this.list = Array.isArray(rawValue) ? rawValue.map((c) => this.extractItem(c)) : [this.extractItem(rawValue)];\n //\n this.text = this.list.map((c) => c.text).join(', ');\n }\n\n private extractItem(item: any): any {\n return typeof item == 'object' && item\n ? {\n id: item[this.valueField],\n text: item[this.textField],\n }\n : {\n id: item,\n text: '',\n };\n }\n}\n"],"names":[],"mappings":";;;;;AAWM,MAAO,8BAA+B,SAAQ,aAAa,CAAA;AARjE,IAAA,WAAA,GAAA;;QAUY,IAAI,CAAA,IAAA,GAAmC,EAAE,CAAC;QAE1C,IAAS,CAAA,SAAA,GAAW,OAAO,CAAC;QAC5B,IAAU,CAAA,UAAA,GAAW,IAAI,CAAC;AAoBrC,KAAA;IAlBU,MAAM,GAAA;AACb,QAAA,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC;AAC/B,QAAA,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAA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AA;kBAR1C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,0BAA0B;AACpC,oBAAA,QAAQ,EAAE,UAAU;AACpB,oBAAA,UAAU,EAAE,IAAI;oBAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,OAAO,EAAE,CAAC,YAAY,CAAC;AACvB,oBAAA,MAAM,EAAE,CAAC,SAAS,EAAE,UAAU,EAAE,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,WAAW,EAAE,gBAAgB,EAAE,eAAe,CAAC;AACpH,iBAAA,CAAA;;;;;"}
|
|
@@ -23,13 +23,16 @@ import '@acorex/components/dialog';
|
|
|
23
23
|
import '@acorex/components/drawer';
|
|
24
24
|
import '@acorex/components/loading';
|
|
25
25
|
import '@acorex/components/tabs';
|
|
26
|
+
import '@acorex/platform/layout';
|
|
26
27
|
import '@acorex/core/utils';
|
|
27
28
|
import '@acorex/components/collapse';
|
|
28
29
|
import '@acorex/components/nav';
|
|
29
30
|
import '@acorex/platform/auth';
|
|
30
31
|
import '@acorex/components/image';
|
|
31
32
|
import 'lodash-es';
|
|
33
|
+
import '@acorex/components/popup';
|
|
32
34
|
import '@acorex/components/toast';
|
|
35
|
+
import '@acorex/core/format';
|
|
33
36
|
import '@acorex/platform/workflow';
|
|
34
37
|
import '@acorex/components/side-menu';
|
|
35
38
|
import '@acorex/components/avatar';
|
|
@@ -42,10 +45,8 @@ import '@acorex/components/text-box';
|
|
|
42
45
|
import '@acorex/components/label';
|
|
43
46
|
import '@acorex/components/selection-list';
|
|
44
47
|
import '@acorex/components/dropdown-button';
|
|
45
|
-
import '@acorex/components/popup';
|
|
46
48
|
import '@acorex/components/action-sheet';
|
|
47
49
|
import '@acorex/components/data-table';
|
|
48
|
-
import '@acorex/core/format';
|
|
49
50
|
import '@acorex/components/loading-dialog';
|
|
50
51
|
import '@acorex/components/search-box';
|
|
51
52
|
import '@acorex/components/list';
|
|
@@ -74,8 +75,8 @@ class AXPLookupWidgetEditComponent extends AXPWidgetEditBase {
|
|
|
74
75
|
}
|
|
75
76
|
}
|
|
76
77
|
}
|
|
77
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
78
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
78
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPLookupWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
79
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.2", type: AXPLookupWidgetEditComponent, isStandalone: true, selector: "axp-lookup-widget-edit", inputs: { value: "value", reference: "reference", valueField: "valueField", textField: "textField", multiple: "multiple", referenceField: "referenceField" }, usesInheritance: true, ngImport: i0, template: `
|
|
79
80
|
<ax-select-box
|
|
80
81
|
[valueField]="valueField"
|
|
81
82
|
[textField]="textField"
|
|
@@ -88,9 +89,9 @@ class AXPLookupWidgetEditComponent extends AXPWidgetEditBase {
|
|
|
88
89
|
<ax-validation-rule [rule]="vl.rule" [options]="vl.options"></ax-validation-rule>
|
|
89
90
|
}
|
|
90
91
|
</ax-select-box>
|
|
91
|
-
`, 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: 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"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i3.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
92
|
+
`, 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: 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.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
92
93
|
}
|
|
93
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
94
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPLookupWidgetEditComponent, decorators: [{
|
|
94
95
|
type: Component,
|
|
95
96
|
args: [{
|
|
96
97
|
selector: 'axp-lookup-widget-edit',
|
|
@@ -116,4 +117,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImpor
|
|
|
116
117
|
}] });
|
|
117
118
|
|
|
118
119
|
export { AXPLookupWidgetEditComponent };
|
|
119
|
-
//# sourceMappingURL=acorex-platform-layouts-lookup-widget-edit.component-
|
|
120
|
+
//# sourceMappingURL=acorex-platform-layouts-lookup-widget-edit.component-B2Qyoi4Q.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-layouts-lookup-widget-edit.component-B2Qyoi4Q.mjs","sources":["../../../../libs/platform/layouts/src/lib/widgets/lookup/lookup-widget-edit.component.ts"],"sourcesContent":["import { AXDataSource, AXValueChangedEvent } from '@acorex/components/common';\nimport { AXFormModule } from '@acorex/components/form';\nimport { AXSelectBoxModule } from '@acorex/components/select-box';\nimport { AXPWidgetEditBase } from '@acorex/platform/schema';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, inject } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { AXPEntityRegistryService } from '../../shared';\n@Component({\n selector: 'axp-lookup-widget-edit',\n template: `\n <ax-select-box\n [valueField]=\"valueField\"\n [textField]=\"textField\"\n [ngModel]=\"value\"\n [multiple]=\"multiple\"\n (onValueChanged)=\"handleChange($event)\"\n [dataSource]=\"dataSource || []\"\n >\n @for(vl of validations;track $index) {\n <ax-validation-rule [rule]=\"vl.rule\" [options]=\"vl.options\"></ax-validation-rule>\n }\n </ax-select-box>\n `,\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [CommonModule, FormsModule, AXSelectBoxModule, AXFormModule],\n inputs: ['value', 'reference', 'valueField', 'textField', 'multiple', 'referenceField'],\n})\nexport class AXPLookupWidgetEditComponent extends AXPWidgetEditBase {\n protected reference!: string;\n protected multiple!: boolean;\n protected valueField: string = 'value';\n protected textField: string = 'text';\n private entityRegistery = inject(AXPEntityRegistryService);\n protected dataSource!: AXDataSource;\n\n async ngOnInit() {\n const entity = await this.entityRegistery.resolve(this.reference, this.reference);\n this.dataSource = new AXDataSource(entity.dataSource);\n }\n\n protected handleChange(e: AXValueChangedEvent) {\n if (e.isUserInteraction) {\n if (this.multiple) {\n this.value = e.component.selectedItems;\n } else {\n this.value = e.component.selectedItems[0];\n }\n }\n }\n}\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6BM,MAAO,4BAA6B,SAAQ,iBAAiB,CAAA;AArBnE,IAAA,WAAA,GAAA;;QAwBY,IAAU,CAAA,UAAA,GAAW,OAAO,CAAC;QAC7B,IAAS,CAAA,SAAA,GAAW,MAAM,CAAC;AAC7B,QAAA,IAAA,CAAA,eAAe,GAAG,MAAM,CAAC,wBAAwB,CAAC,CAAC;AAiB5D,KAAA;AAdC,IAAA,MAAM,QAAQ,GAAA;AACZ,QAAA,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,eAAe,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC;QAClF,IAAI,CAAC,UAAU,GAAG,IAAI,YAAY,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;KACvD;AAES,IAAA,YAAY,CAAC,CAAsB,EAAA;AAC3C,QAAA,IAAI,CAAC,CAAC,iBAAiB,EAAE;AACvB,YAAA,IAAI,IAAI,CAAC,QAAQ,EAAE;gBACjB,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC,SAAS,CAAC,aAAa,CAAC;aACxC;iBAAM;gBACL,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;aAC3C;SACF;KACF;8GArBU,4BAA4B,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAA5B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,Q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S;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,wBAAwB;AAClC,oBAAA,QAAQ,EAAE,CAAA;;;;;;;;;;;;;AAaT,EAAA,CAAA;AACD,oBAAA,UAAU,EAAE,IAAI;oBAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,OAAO,EAAE,CAAC,YAAY,EAAE,WAAW,EAAE,iBAAiB,EAAE,YAAY,CAAC;AACrE,oBAAA,MAAM,EAAE,CAAC,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,gBAAgB,CAAC;AACxF,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 { AXDataSource } from '@acorex/components/common';
|
|
4
4
|
import * as i3 from '@acorex/components/decorators';
|
|
@@ -27,13 +27,16 @@ import '@acorex/components/dialog';
|
|
|
27
27
|
import '@acorex/components/drawer';
|
|
28
28
|
import '@acorex/components/loading';
|
|
29
29
|
import '@acorex/components/tabs';
|
|
30
|
+
import '@acorex/platform/layout';
|
|
30
31
|
import '@acorex/core/utils';
|
|
31
32
|
import '@acorex/components/collapse';
|
|
32
33
|
import '@acorex/components/nav';
|
|
33
34
|
import '@acorex/platform/auth';
|
|
34
35
|
import '@acorex/components/image';
|
|
35
36
|
import 'lodash-es';
|
|
37
|
+
import '@acorex/components/popup';
|
|
36
38
|
import '@acorex/components/toast';
|
|
39
|
+
import '@acorex/core/format';
|
|
37
40
|
import '@acorex/platform/workflow';
|
|
38
41
|
import '@acorex/components/side-menu';
|
|
39
42
|
import '@acorex/components/avatar';
|
|
@@ -44,10 +47,8 @@ import '@acorex/components/switch';
|
|
|
44
47
|
import '@acorex/components/text-box';
|
|
45
48
|
import '@acorex/components/label';
|
|
46
49
|
import '@acorex/components/dropdown-button';
|
|
47
|
-
import '@acorex/components/popup';
|
|
48
50
|
import '@acorex/components/action-sheet';
|
|
49
51
|
import '@acorex/components/data-table';
|
|
50
|
-
import '@acorex/core/format';
|
|
51
52
|
import '@acorex/components/loading-dialog';
|
|
52
53
|
import '@acorex/components/search-box';
|
|
53
54
|
import '@acorex/components/form';
|
|
@@ -73,8 +74,8 @@ class AXPLookupWidgetFilterComponent extends AXPWidgetFilterBase {
|
|
|
73
74
|
this.dataSource = new AXDataSource(entity.dataSource);
|
|
74
75
|
this.operations = this.schema.filterOptions.operators;
|
|
75
76
|
}
|
|
76
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
77
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
77
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPLookupWidgetFilterComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
78
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.2", type: AXPLookupWidgetFilterComponent, isStandalone: true, selector: "axp-lookup-widget-filter", inputs: { value: "value", operator: "operator", refrence: "refrence", multiple: "multiple", textField: "textField", valueField: "valueField" }, outputs: { valueChange: "valueChange", operatorChange: "operatorChange" }, usesInheritance: true, ngImport: i0, template: `
|
|
78
79
|
<div class="ax-flex ax-items-center">
|
|
79
80
|
<ax-select-box
|
|
80
81
|
[textField]="'title'"
|
|
@@ -91,16 +92,8 @@ class AXPLookupWidgetFilterComponent extends AXPWidgetFilterBase {
|
|
|
91
92
|
<ax-button #changeOperator look="blank" color="default" class="ax-sm">
|
|
92
93
|
<ax-icon class="fa-solid fa-ellipsis-vertical"></ax-icon>
|
|
93
94
|
</ax-button>
|
|
94
|
-
<ax-popover
|
|
95
|
-
|
|
96
|
-
[target]="changeOperator"
|
|
97
|
-
[openOn]="'toggle'"
|
|
98
|
-
[closeOn]="'clickOut'"
|
|
99
|
-
[adaptivityEnabled]="true"
|
|
100
|
-
>
|
|
101
|
-
<div
|
|
102
|
-
class="ax-bg-surface ax-py-5 ax-px-3 ax-border ax-border-default ax-rounded-md ax-shadow-md ax-w-full ax-min-w-[250px]"
|
|
103
|
-
>
|
|
95
|
+
<ax-popover #operatorsPopover [target]="changeOperator" [openOn]="'toggle'" [closeOn]="'clickOut'" [adaptivityEnabled]="true">
|
|
96
|
+
<div class="ax-bg-surface ax-py-5 ax-px-3 ax-border ax-border-default ax-rounded-md ax-shadow-md ax-w-full ax-min-w-[250px]">
|
|
104
97
|
<ax-selection-list
|
|
105
98
|
[valueField]="'name'"
|
|
106
99
|
[textField]="'title'"
|
|
@@ -114,9 +107,9 @@ class AXPLookupWidgetFilterComponent extends AXPWidgetFilterBase {
|
|
|
114
107
|
</ax-popover>
|
|
115
108
|
}
|
|
116
109
|
</div>
|
|
117
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { 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"] }, { 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: AXPopoverModule }, { kind: "component", type: i5.AXPopoverComponent, selector: "ax-popover", inputs: ["offsetX", "offsetY", "target", "placement", "content", "openOn", "closeOn", "hasBackdrop", "openAfter", "closeAfter", "backdropClass", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }, { kind: "ngmodule", type: AXSelectionListModule }, { kind: "component", type: i4.AXSelectionListComponent, selector: "ax-selection-list", inputs: ["id", "name", "disabled", "readonly", "tabIndex", "size", "value", "valueField", "textField", "hintField", "disabledField", "readonlyField", "multiple", "direction", "customTemplate", "showControl", "items", "look"], outputs: ["onValueChanged", "onBlur", "onFocus"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type:
|
|
110
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { 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: 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: AXPopoverModule }, { kind: "component", type: i5.AXPopoverComponent, selector: "ax-popover", inputs: ["offsetX", "offsetY", "target", "placement", "content", "openOn", "closeOn", "hasBackdrop", "openAfter", "closeAfter", "backdropClass", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }, { kind: "ngmodule", type: AXSelectionListModule }, { kind: "component", type: i4.AXSelectionListComponent, selector: "ax-selection-list", inputs: ["id", "name", "disabled", "readonly", "tabIndex", "size", "value", "valueField", "textField", "hintField", "disabledField", "readonlyField", "multiple", "direction", "customTemplate", "showControl", "items", "look"], outputs: ["onValueChanged", "onBlur", "onFocus"] }, { 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: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
118
111
|
}
|
|
119
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
112
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPLookupWidgetFilterComponent, decorators: [{
|
|
120
113
|
type: Component,
|
|
121
114
|
args: [{
|
|
122
115
|
selector: 'axp-lookup-widget-filter',
|
|
@@ -137,16 +130,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImpor
|
|
|
137
130
|
<ax-button #changeOperator look="blank" color="default" class="ax-sm">
|
|
138
131
|
<ax-icon class="fa-solid fa-ellipsis-vertical"></ax-icon>
|
|
139
132
|
</ax-button>
|
|
140
|
-
<ax-popover
|
|
141
|
-
|
|
142
|
-
[target]="changeOperator"
|
|
143
|
-
[openOn]="'toggle'"
|
|
144
|
-
[closeOn]="'clickOut'"
|
|
145
|
-
[adaptivityEnabled]="true"
|
|
146
|
-
>
|
|
147
|
-
<div
|
|
148
|
-
class="ax-bg-surface ax-py-5 ax-px-3 ax-border ax-border-default ax-rounded-md ax-shadow-md ax-w-full ax-min-w-[250px]"
|
|
149
|
-
>
|
|
133
|
+
<ax-popover #operatorsPopover [target]="changeOperator" [openOn]="'toggle'" [closeOn]="'clickOut'" [adaptivityEnabled]="true">
|
|
134
|
+
<div class="ax-bg-surface ax-py-5 ax-px-3 ax-border ax-border-default ax-rounded-md ax-shadow-md ax-w-full ax-min-w-[250px]">
|
|
150
135
|
<ax-selection-list
|
|
151
136
|
[valueField]="'name'"
|
|
152
137
|
[textField]="'title'"
|
|
@@ -163,19 +148,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImpor
|
|
|
163
148
|
`,
|
|
164
149
|
standalone: true,
|
|
165
150
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
166
|
-
imports: [
|
|
167
|
-
CommonModule,
|
|
168
|
-
AXSelectBoxModule,
|
|
169
|
-
FormsModule,
|
|
170
|
-
AXPopoverModule,
|
|
171
|
-
AXSelectionListModule,
|
|
172
|
-
AXButtonModule,
|
|
173
|
-
AXDecoratorModule,
|
|
174
|
-
],
|
|
151
|
+
imports: [CommonModule, AXSelectBoxModule, FormsModule, AXPopoverModule, AXSelectionListModule, AXButtonModule, AXDecoratorModule],
|
|
175
152
|
outputs: ['valueChange', 'operatorChange'],
|
|
176
153
|
inputs: ['value', 'operator', 'refrence', 'multiple', 'textField', 'valueField'],
|
|
177
154
|
}]
|
|
178
155
|
}] });
|
|
179
156
|
|
|
180
157
|
export { AXPLookupWidgetFilterComponent };
|
|
181
|
-
//# sourceMappingURL=acorex-platform-layouts-lookup-widget-filter.component-
|
|
158
|
+
//# sourceMappingURL=acorex-platform-layouts-lookup-widget-filter.component-JJzSun3D.mjs.map
|