@acorex/platform 1.0.6 → 18.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/README.md +7 -7
- package/auth/README.md +3 -3
- package/auth/lib/auth.strategy.d.ts +6 -3
- package/common/README.md +3 -3
- package/common/index.d.ts +5 -3
- package/common/lib/app/application.types.d.ts +234 -0
- package/common/lib/app/index.d.ts +2 -0
- package/common/lib/common.module.d.ts +6 -4
- package/common/lib/configs/app.config.d.ts +1 -1
- package/common/lib/layout/beardcrumb.type.d.ts +6 -0
- package/common/lib/layout/grid-layout/grid-layout.directive.d.ts +15 -0
- package/common/lib/layout/grid-layout/grid-layout.types.d.ts +19 -0
- package/common/lib/layout/grid-layout/index.d.ts +2 -0
- package/common/lib/layout/index.d.ts +9 -0
- package/common/lib/layout/logo/index.d.ts +2 -0
- package/common/lib/layout/sticky.directive.d.ts +25 -0
- package/common/lib/layout/theme/components/slots/index.d.ts +3 -0
- package/common/lib/layout/theme/components/slots/navbar-slot.component.d.ts +10 -0
- package/common/lib/layout/theme/store/admin-layout.selectors.d.ts +5 -0
- package/common/lib/schema/entity/entity.class.d.ts +155 -0
- package/common/lib/schema/index.d.ts +8 -0
- package/common/lib/schema/schema.types.d.ts +15 -0
- package/common/lib/schema/widget/index.d.ts +5 -0
- package/common/lib/schema/widget/widget-base.d.ts +45 -0
- package/common/lib/schema/widget/widget-token.d.ts +16 -0
- package/common/lib/schema/widgets/avatar/avatar-widget-edit.component.d.ts +16 -0
- package/common/lib/schema/widgets/avatar/avatar-widget-view.component.d.ts +13 -0
- package/common/lib/schema/widgets/checkbox/checkbox-widget-column.component.d.ts +11 -0
- package/common/lib/schema/widgets/checkbox/checkbox-widget-edit.component.d.ts +6 -0
- package/common/lib/schema/widgets/checkbox/checkbox-widget-view.component.d.ts +11 -0
- package/common/lib/schema/widgets/common-widget-filter/boolean-widget-filter.component.d.ts +18 -0
- package/common/lib/schema/widgets/common-widget-filter/number-widget-filter.component.d.ts +12 -0
- package/common/lib/schema/widgets/common-widget-filter/string-widget-filter.component.d.ts +12 -0
- package/common/lib/schema/widgets/common-widgets.module.d.ts +32 -0
- package/common/lib/schema/widgets/dateTime/dateTime-widget-column.component.d.ts +11 -0
- package/common/lib/schema/widgets/dateTime/dateTime-widget-edit.component.d.ts +26 -0
- package/common/lib/schema/widgets/dateTime/dateTime-widget-filter.component.d.ts +16 -0
- package/common/lib/schema/widgets/dateTime/dateTime-widget-view.component.d.ts +11 -0
- package/common/lib/schema/widgets/email/email-widget-column.component.d.ts +16 -0
- package/common/lib/schema/widgets/email/email-widget-edit.component.d.ts +28 -0
- package/common/lib/schema/widgets/email/email-widget-view.component.d.ts +16 -0
- package/common/lib/schema/widgets/file/file-widget-column.component.d.ts +8 -0
- package/common/lib/schema/widgets/file/file-widget-edit.component.d.ts +17 -0
- package/common/lib/schema/widgets/file/file-widget-filter.component.d.ts +6 -0
- package/common/lib/schema/widgets/file/file-widget-view.component.d.ts +17 -0
- package/common/lib/schema/widgets/gallery/gallery-widget-edit.component.d.ts +15 -0
- package/common/lib/schema/widgets/gallery/gallery-widget-filter.component.d.ts +6 -0
- package/common/lib/schema/widgets/gallery/gallery-widget-view.component.d.ts +16 -0
- package/common/lib/schema/widgets/lookup/lookup-widget-column.component.d.ts +17 -0
- package/common/lib/schema/widgets/lookup/lookup-widget-edit.component.d.ts +15 -0
- package/common/lib/schema/widgets/lookup/lookup-widget-filter.component.d.ts +17 -0
- package/common/lib/schema/widgets/lookup/lookup-widget-view.component.d.ts +17 -0
- package/common/lib/schema/widgets/map/map-widget-edit.component.d.ts +15 -0
- package/common/lib/schema/widgets/map/map-widget-view.component.d.ts +17 -0
- package/common/lib/schema/widgets/messenger/messenger-widget-column.component.d.ts +15 -0
- package/common/lib/schema/widgets/messenger/messenger-widget-edit.component.d.ts +14 -0
- package/common/lib/schema/widgets/messenger/messenger-widget-view.component.d.ts +17 -0
- package/common/lib/schema/widgets/number/number-widget-edit.component.d.ts +7 -0
- package/common/lib/schema/widgets/number/number-widget-view.component.d.ts +8 -0
- package/common/lib/schema/widgets/password/password-widget-column.component.d.ts +14 -0
- package/common/lib/schema/widgets/password/password-widget-edit.component.d.ts +6 -0
- package/common/lib/schema/widgets/password/password-widget-view.component.d.ts +18 -0
- package/common/lib/schema/widgets/phone/phone-widget-column.component.d.ts +15 -0
- package/common/lib/schema/widgets/phone/phone-widget-edit.component.d.ts +29 -0
- package/common/lib/schema/widgets/phone/phone-widget-view.component.d.ts +18 -0
- package/common/lib/schema/widgets/rich-text/rich-text-widget-column.component.d.ts +11 -0
- package/common/lib/schema/widgets/rich-text/rich-text-widget-edit.component.d.ts +33 -0
- package/common/lib/schema/widgets/rich-text/rich-text-widget-view.component.d.ts +10 -0
- package/common/lib/schema/widgets/selection-list/selection-list-widget-column.component.d.ts +16 -0
- package/common/lib/schema/widgets/selection-list/selection-list-widget-edit.component.d.ts +12 -0
- package/common/lib/schema/widgets/selection-list/selection-list-widget-filter.component.d.ts +9 -0
- package/common/lib/schema/widgets/selection-list/selection-list-widget-view.component.d.ts +15 -0
- package/common/lib/schema/widgets/signature-pad/signature-pad-widget-edit.component.d.ts +19 -0
- package/common/lib/schema/widgets/signature-pad/signature-pad-widget-view.component.d.ts +8 -0
- package/common/lib/schema/widgets/text/largetext-widget-edit.component.d.ts +6 -0
- package/common/lib/schema/widgets/text/text-widget-column.component.d.ts +12 -0
- package/common/lib/schema/widgets/text/text-widget-edit.component.d.ts +23 -0
- package/common/lib/schema/widgets/text/text-widget-view.component.d.ts +11 -0
- package/common/lib/schema/widgets/toggle/toggle-widget-column.component.d.ts +11 -0
- package/common/lib/schema/widgets/toggle/toggle-widget-edit.component.d.ts +6 -0
- package/common/lib/schema/widgets/toggle/toggle-widget-view.component.d.ts +11 -0
- package/common/lib/store/common.actions.d.ts +1 -0
- package/common/lib/utils/data-generator.d.ts +12 -0
- package/common/lib/utils/index.d.ts +1 -1
- package/common/lib/utils/router-util.service.d.ts +1 -1
- package/common/lib/workflows/common.workflow.d.ts +38 -0
- package/common/lib/workflows/error-handler.d.ts +8 -0
- package/esm2022/auth/index.mjs +1 -1
- package/esm2022/auth/lib/application/application.loader.mjs +1 -1
- package/esm2022/auth/lib/application/application.types.mjs +1 -1
- package/esm2022/auth/lib/auth-registry.service.mjs +1 -1
- package/esm2022/auth/lib/auth.guard.mjs +1 -1
- package/esm2022/auth/lib/auth.module.mjs +1 -1
- package/esm2022/auth/lib/auth.strategy.mjs +1 -1
- package/esm2022/auth/lib/errors.types.mjs +1 -1
- package/esm2022/auth/lib/feature/feature.directive.mjs +1 -1
- package/esm2022/auth/lib/feature/feature.guard.mjs +1 -1
- package/esm2022/auth/lib/feature/feature.loader.mjs +1 -1
- package/esm2022/auth/lib/feature/feature.types.mjs +1 -1
- package/esm2022/auth/lib/feature/index.mjs +1 -1
- package/esm2022/auth/lib/permission/index.mjs +1 -1
- package/esm2022/auth/lib/permission/permission.directive.mjs +1 -1
- package/esm2022/auth/lib/permission/permission.guard.mjs +1 -1
- package/esm2022/auth/lib/permission/permission.loader.mjs +1 -1
- package/esm2022/auth/lib/permission/permission.types.mjs +1 -1
- package/esm2022/auth/lib/session.service.mjs +4 -2
- package/esm2022/auth/lib/session.types.mjs +1 -1
- package/esm2022/auth/lib/tenant/tenant.loader.mjs +1 -1
- package/esm2022/auth/lib/tenant/tenant.types.mjs +1 -1
- package/esm2022/auth/lib/user/user.types.mjs +1 -1
- package/esm2022/common/index.mjs +6 -4
- package/esm2022/common/lib/app/application.types.mjs +39 -0
- package/esm2022/common/lib/app/index.mjs +3 -0
- package/esm2022/common/lib/app/operators.mjs +50 -0
- package/esm2022/common/lib/common.module.mjs +20 -44
- package/esm2022/common/lib/configs/app.config.mjs +2 -2
- package/esm2022/common/lib/configs/config.types.mjs +3 -0
- package/esm2022/common/lib/data/data-provider.types.mjs +1 -1
- package/esm2022/common/lib/errors/error-handler-registry.service.mjs +1 -1
- package/esm2022/common/lib/errors/error-handler.types.mjs +1 -1
- package/esm2022/common/lib/errors/global-error-handler.mjs +1 -1
- package/esm2022/common/lib/errors/index.mjs +1 -1
- package/esm2022/common/lib/layout/beardcrumb.type.mjs +2 -0
- package/esm2022/common/lib/layout/component-slot/component-slot-loader.service.mjs +56 -0
- package/esm2022/common/lib/layout/component-slot/component-slot-registery.service.mjs +28 -0
- package/esm2022/common/lib/layout/component-slot/component-slot.directive.mjs +24 -0
- package/esm2022/common/lib/layout/component-slot/component-slot.module.mjs +72 -0
- package/esm2022/common/lib/layout/component-slot/component-slot.types.mjs +2 -0
- package/esm2022/common/lib/layout/component-slot/index.mjs +6 -0
- package/esm2022/common/lib/layout/grid-layout/grid-layout.directive.mjs +61 -0
- package/esm2022/common/lib/layout/grid-layout/grid-layout.types.mjs +2 -0
- package/esm2022/common/lib/layout/grid-layout/index.mjs +3 -0
- package/esm2022/common/lib/layout/index.mjs +10 -0
- package/esm2022/common/lib/layout/layout.service.mjs +79 -0
- package/esm2022/common/lib/layout/logo/index.mjs +3 -0
- package/esm2022/common/lib/layout/logo/logo.component.mjs +38 -0
- package/esm2022/common/lib/layout/logo/logo.types.mjs +21 -0
- package/esm2022/common/lib/layout/menu/index.mjs +3 -0
- package/esm2022/common/lib/layout/menu/menu.loader.mjs +39 -0
- package/esm2022/common/lib/layout/menu/menu.types.mjs +2 -0
- package/esm2022/common/lib/layout/sticky.directive.mjs +78 -0
- package/esm2022/common/lib/layout/theme/components/slots/footer-text-slot.component.mjs +20 -0
- package/esm2022/common/lib/layout/theme/components/slots/index.mjs +4 -0
- package/esm2022/common/lib/layout/theme/components/slots/navbar-slot.component.mjs +36 -0
- package/esm2022/common/lib/layout/theme/components/slots/theme-slot.component.mjs +48 -0
- package/esm2022/common/lib/layout/theme/store/admin-layout.actions.mjs +12 -0
- package/esm2022/common/lib/layout/theme/store/admin-layout.effects.mjs +29 -0
- package/esm2022/common/lib/layout/theme/store/admin-layout.reducers.mjs +60 -0
- package/esm2022/common/lib/layout/theme/store/admin-layout.selectors.mjs +8 -0
- package/esm2022/common/lib/layout/theme/store/admin-layout.state.mjs +16 -0
- package/esm2022/common/lib/layout/theme/store/index.mjs +6 -0
- package/esm2022/common/lib/schema/component-loader.mjs +2 -0
- package/esm2022/common/lib/schema/entity/entity-registery.service.mjs +70 -0
- package/esm2022/common/lib/schema/entity/entity.class.mjs +32 -0
- package/esm2022/common/lib/schema/entity/entity.loader.mjs +13 -0
- package/esm2022/common/lib/schema/entity/index.mjs +4 -0
- package/esm2022/common/lib/schema/formats.mjs +2 -0
- package/esm2022/common/lib/schema/index.mjs +9 -0
- package/esm2022/common/lib/schema/schema-registery.service.mjs +33 -0
- package/esm2022/common/lib/schema/schema.module.mjs +23 -0
- package/esm2022/common/lib/schema/schema.types.mjs +2 -0
- package/esm2022/common/lib/schema/widget/index.mjs +6 -0
- package/esm2022/common/lib/schema/widget/widget-base.mjs +113 -0
- package/esm2022/common/lib/schema/widget/widget-column-renderer.mjs +118 -0
- package/esm2022/common/lib/schema/widget/widget-filter-renderer.mjs +133 -0
- package/esm2022/common/lib/schema/widget/widget-renderer.mjs +144 -0
- package/esm2022/common/lib/schema/widget/widget-token.mjs +3 -0
- package/esm2022/common/lib/schema/widgets/avatar/avatar-widget-edit.component.mjs +160 -0
- package/esm2022/common/lib/schema/widgets/avatar/avatar-widget-view.component.mjs +63 -0
- package/esm2022/common/lib/schema/widgets/checkbox/checkbox-widget-column.component.mjs +53 -0
- package/esm2022/common/lib/schema/widgets/checkbox/checkbox-widget-edit.component.mjs +22 -0
- package/esm2022/common/lib/schema/widgets/checkbox/checkbox-widget-view.component.mjs +47 -0
- package/esm2022/common/lib/schema/widgets/common-widget-filter/boolean-widget-filter.component.mjs +147 -0
- package/esm2022/common/lib/schema/widgets/common-widget-filter/number-widget-filter.component.mjs +135 -0
- package/esm2022/common/lib/schema/widgets/common-widget-filter/string-widget-filter.component.mjs +125 -0
- package/esm2022/common/lib/schema/widgets/common-widgets.module.mjs +505 -0
- package/esm2022/common/lib/schema/widgets/dateTime/dateTime-widget-column.component.mjs +44 -0
- package/esm2022/common/lib/schema/widgets/dateTime/dateTime-widget-edit.component.mjs +178 -0
- package/esm2022/common/lib/schema/widgets/dateTime/dateTime-widget-filter.component.mjs +213 -0
- package/esm2022/common/lib/schema/widgets/dateTime/dateTime-widget-view.component.mjs +71 -0
- package/esm2022/common/lib/schema/widgets/email/email-widget-column.component.mjs +73 -0
- package/esm2022/common/lib/schema/widgets/email/email-widget-edit.component.mjs +249 -0
- package/esm2022/common/lib/schema/widgets/email/email-widget-view.component.mjs +108 -0
- package/esm2022/common/lib/schema/widgets/file/file-widget-column.component.mjs +27 -0
- package/esm2022/common/lib/schema/widgets/file/file-widget-edit.component.mjs +200 -0
- package/esm2022/common/lib/schema/widgets/file/file-widget-filter.component.mjs +27 -0
- package/esm2022/common/lib/schema/widgets/file/file-widget-view.component.mjs +153 -0
- package/esm2022/common/lib/schema/widgets/gallery/gallery-widget-edit.component.mjs +189 -0
- package/esm2022/common/lib/schema/widgets/gallery/gallery-widget-filter.component.mjs +27 -0
- package/esm2022/common/lib/schema/widgets/gallery/gallery-widget-types.mjs +2 -0
- package/esm2022/common/lib/schema/widgets/gallery/gallery-widget-view.component.mjs +173 -0
- package/esm2022/common/lib/schema/widgets/index.mjs +2 -0
- package/esm2022/common/lib/schema/widgets/lookup/lookup-widget-column.component.mjs +43 -0
- package/esm2022/common/lib/schema/widgets/lookup/lookup-widget-edit.component.mjs +74 -0
- package/esm2022/common/lib/schema/widgets/lookup/lookup-widget-filter.component.mjs +115 -0
- package/esm2022/common/lib/schema/widgets/lookup/lookup-widget-view.component.mjs +54 -0
- package/esm2022/common/lib/schema/widgets/map/map-widget-edit.component.mjs +91 -0
- package/esm2022/common/lib/schema/widgets/map/map-widget-view.component.mjs +63 -0
- package/esm2022/common/lib/schema/widgets/messenger/messenger-widget-column.component.mjs +71 -0
- package/esm2022/common/lib/schema/widgets/messenger/messenger-widget-edit.component.mjs +136 -0
- package/esm2022/common/lib/schema/widgets/messenger/messenger-widget-view.component.mjs +132 -0
- package/esm2022/common/lib/schema/widgets/number/number-widget-edit.component.mjs +46 -0
- package/esm2022/common/lib/schema/widgets/number/number-widget-view.component.mjs +30 -0
- package/esm2022/common/lib/schema/widgets/password/change-password.component.mjs +174 -0
- package/esm2022/common/lib/schema/widgets/password/password-widget-column.component.mjs +67 -0
- package/esm2022/common/lib/schema/widgets/password/password-widget-edit.component.mjs +41 -0
- package/esm2022/common/lib/schema/widgets/password/password-widget-view.component.mjs +109 -0
- package/esm2022/common/lib/schema/widgets/phone/phone-widget-column.component.mjs +91 -0
- package/esm2022/common/lib/schema/widgets/phone/phone-widget-edit.component.mjs +245 -0
- package/esm2022/common/lib/schema/widgets/phone/phone-widget-view.component.mjs +123 -0
- package/esm2022/common/lib/schema/widgets/rich-text/rich-text-widget-column.component.mjs +61 -0
- package/esm2022/common/lib/schema/widgets/rich-text/rich-text-widget-edit.component.mjs +67 -0
- package/esm2022/common/lib/schema/widgets/rich-text/rich-text-widget-view.component.mjs +34 -0
- package/esm2022/common/lib/schema/widgets/selection-list/selection-list-widget-column.component.mjs +45 -0
- package/esm2022/common/lib/schema/widgets/selection-list/selection-list-widget-edit.component.mjs +53 -0
- package/esm2022/common/lib/schema/widgets/selection-list/selection-list-widget-filter.component.mjs +41 -0
- package/esm2022/common/lib/schema/widgets/selection-list/selection-list-widget-view.component.mjs +45 -0
- package/esm2022/common/lib/schema/widgets/signature-pad/signature-pad-widget-edit.component.mjs +128 -0
- package/esm2022/common/lib/schema/widgets/signature-pad/signature-pad-widget-view.component.mjs +41 -0
- package/esm2022/common/lib/schema/widgets/text/largetext-widget-edit.component.mjs +37 -0
- package/esm2022/common/lib/schema/widgets/text/text-widget-column.component.mjs +46 -0
- package/esm2022/common/lib/schema/widgets/text/text-widget-edit.component.mjs +162 -0
- package/esm2022/common/lib/schema/widgets/text/text-widget-view.component.mjs +66 -0
- package/esm2022/common/lib/schema/widgets/toggle/toggle-widget-column.component.mjs +57 -0
- package/esm2022/common/lib/schema/widgets/toggle/toggle-widget-edit.component.mjs +25 -0
- package/esm2022/common/lib/schema/widgets/toggle/toggle-widget-view.component.mjs +49 -0
- package/esm2022/common/lib/settings/index.mjs +1 -1
- package/esm2022/common/lib/settings/settings.loader.mjs +1 -1
- package/esm2022/common/lib/settings/settings.service.mjs +1 -1
- package/esm2022/common/lib/settings/settings.types.mjs +1 -1
- package/esm2022/common/lib/store/common.actions.mjs +2 -1
- package/esm2022/common/lib/store/common.effects.mjs +1 -1
- package/esm2022/common/lib/store/index.mjs +1 -1
- package/esm2022/common/lib/utils/clipboard-service.mjs +1 -1
- package/esm2022/common/lib/utils/data-generator.mjs +47 -0
- package/esm2022/common/lib/utils/index.mjs +2 -2
- package/esm2022/common/lib/utils/router-util.service.mjs +1 -1
- package/esm2022/common/lib/workflows/common.workflow.mjs +68 -0
- package/esm2022/common/lib/workflows/error-handler.mjs +24 -0
- package/esm2022/common/lib/workflows/index.mjs +3 -0
- package/esm2022/index.mjs +1 -1
- package/esm2022/layout/builder/acorex-platform-layout-builder.mjs +5 -0
- package/esm2022/layout/builder/index.mjs +2 -0
- package/esm2022/layout/builder/lib/builder/builder.module.mjs +67 -0
- package/esm2022/layout/builder/lib/builder/builder.service.mjs +81 -0
- package/esm2022/layout/builder/lib/builder/index.mjs +9 -0
- package/esm2022/layout/builder/lib/builder/layout.types.mjs +2 -0
- package/esm2022/layout/builder/lib/builder/widget-column-renderer.mjs +110 -0
- package/esm2022/layout/builder/lib/builder/widget-container.component.mjs +55 -0
- package/esm2022/layout/builder/lib/builder/widget-registery.service.mjs +33 -0
- package/esm2022/layout/builder/lib/builder/widget-renderer.component.mjs +293 -0
- package/esm2022/layout/builder/lib/builder/widget.types.mjs +74 -0
- package/esm2022/layout/entity/acorex-platform-layout-entity.mjs +5 -0
- package/esm2022/layout/entity/index.mjs +2 -0
- package/esm2022/layout/entity/lib/entity-detail-list.viewmodel.mjs +154 -0
- package/esm2022/layout/entity/lib/entity-master-create.viewmodel.mjs +128 -0
- package/esm2022/layout/entity/lib/entity-master-list.viewmodel.mjs +278 -0
- package/esm2022/layout/entity/lib/entity-master-single.viewmodel.mjs +230 -0
- package/esm2022/layout/entity/lib/entity-master-update.viewmodel.mjs +101 -0
- package/esm2022/layout/entity/lib/entity-registery.service.mjs +69 -0
- package/esm2022/layout/entity/lib/entity.config.mjs +4 -0
- package/esm2022/layout/entity/lib/entity.module.mjs +134 -0
- package/esm2022/layout/entity/lib/entity.viewmodel.mjs +32 -0
- package/esm2022/layout/entity/lib/index.mjs +9 -0
- package/esm2022/layout/entity/lib/widgets/lookup-widget/index.mjs +8 -0
- package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-column.component.mjs +19 -0
- package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-designer.component.mjs +19 -0
- package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-edit.component.mjs +127 -0
- package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-filter.component.mjs +20 -0
- package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-print.component.mjs +19 -0
- package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-selector.component.mjs +105 -0
- package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-selector.viewmodel.mjs +85 -0
- package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-view.component.mjs +19 -0
- package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget.config.mjs +24 -0
- package/esm2022/layout/entity/lib/workflows/create-entity.workflow.mjs +93 -0
- package/esm2022/layout/entity/lib/workflows/delete-entity.workflow.mjs +123 -0
- package/esm2022/layout/entity/lib/workflows/modify-section.workflow.mjs +104 -0
- package/esm2022/layout/entity/lib/workflows/show-details.workflow.mjs +36 -0
- package/esm2022/layouts/index.mjs +1 -3
- package/esm2022/layouts/lib/admin/admin.module.mjs +9 -17
- package/esm2022/layouts/lib/admin/admin.routes.mjs +7 -8
- package/esm2022/layouts/lib/admin/custom-reuse.strategy.mjs +1 -1
- package/esm2022/layouts/lib/admin/entity-layout/entity-create-view/entity-create-view.component.mjs +6 -6
- package/esm2022/layouts/lib/admin/entity-layout/entity-create-view/entity-create-view.config.mjs +3 -2
- package/esm2022/layouts/lib/admin/entity-layout/entity-details-view/detail-view.config.mjs +3 -2
- package/esm2022/layouts/lib/admin/entity-layout/entity-details-view/entity-details-view.component.mjs +8 -11
- package/esm2022/layouts/lib/admin/entity-layout/entity-details-view/index.mjs +1 -1
- package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/components/entity-custom-view/entity-custom-view.component.mjs +5 -5
- package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/components/index.mjs +1 -1
- package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/components/list-view-option-columns/list-view-option-columns.component.mjs +4 -4
- package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/components/list-view-option-conditions/list-view-option-conditions.component.mjs +6 -9
- package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/components/list-view-option-conditions/list-view-option-filter-operator.component.mjs +19 -19
- package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/components/list-view-option-sorting/list-view-option-sorting.component.mjs +6 -8
- package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/entity-list-view.component.mjs +6 -7
- package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/index.mjs +1 -1
- package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/list-view.config.mjs +3 -3
- package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/list-view.module.mjs +2 -3
- package/esm2022/layouts/lib/admin/entity-layout/entity-modify-view/entity-modify-view.component.mjs +5 -5
- package/esm2022/layouts/lib/admin/entity-layout/entity-modify-view/entity-modify-view.config.mjs +3 -2
- package/esm2022/layouts/lib/admin/entity-layout/entity-quick-view/entity-quick-view.component.mjs +5 -6
- package/esm2022/layouts/lib/admin/entity-layout/index.mjs +1 -1
- package/esm2022/layouts/lib/admin/entity-layout/workflows/create-entity.workflow.mjs +2 -2
- package/esm2022/layouts/lib/admin/entity-layout/workflows/delete-entity.workflow.mjs +2 -2
- package/esm2022/layouts/lib/admin/entity-layout/workflows/index.mjs +4 -1
- package/esm2022/layouts/lib/admin/entity-layout/workflows/modify-entity.workflow.mjs +2 -2
- package/esm2022/layouts/lib/admin/entity-layout/workflows/modify-section.workflow.mjs +85 -0
- package/esm2022/layouts/lib/admin/entity-layout/workflows/show-details.workflow.mjs +27 -1
- package/esm2022/layouts/lib/admin/entity-layout/workflows/show-list.workflow.mjs +26 -1
- package/esm2022/layouts/lib/admin/entity-layout/workflows/show-quick-view.workflow.mjs +41 -1
- package/esm2022/layouts/lib/admin/entity.resolver.mjs +1 -1
- package/esm2022/layouts/lib/admin/index.mjs +1 -3
- package/esm2022/layouts/lib/layout.module.mjs +9 -14
- package/esm2022/mocks/index.mjs +1 -1
- package/esm2022/mocks/lib/mocks.module.mjs +1 -1
- package/esm2022/mocks/lib/services/mocker.service.mjs +1 -1
- package/esm2022/mocks/lib/storage/storage.mock.service.mjs +1 -1
- package/esm2022/native/index.mjs +1 -1
- package/esm2022/native/lib/native.service.mjs +1 -1
- package/esm2022/widgets/index.mjs +1 -1
- package/esm2022/widgets/lib/editors/checkbox/checkbox-widget-column.component.mjs +45 -0
- package/esm2022/widgets/lib/editors/checkbox/checkbox-widget-edit.component.mjs +10 -10
- package/esm2022/widgets/lib/editors/checkbox/checkbox-widget-view.component.mjs +54 -0
- package/esm2022/widgets/lib/editors/checkbox/checkbox-widget.config.mjs +10 -4
- package/esm2022/widgets/lib/editors/checkbox/index.mjs +1 -1
- package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget-column.component.mjs +32 -7
- package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget-designer.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget-edit.component.mjs +54 -54
- package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget-filter.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget-print.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget-view.component.mjs +18 -18
- package/esm2022/widgets/lib/editors/date-time-box-widget/date-time-box-widget.config.mjs +1 -1
- package/esm2022/widgets/lib/editors/date-time-box-widget/index.mjs +1 -1
- package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget-column.component.mjs +54 -7
- package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget-designer.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget-edit.component.mjs +173 -141
- package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget-filter.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget-print.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget-view.component.mjs +70 -70
- package/esm2022/widgets/lib/editors/email-box-widget/email-box-widget.config.mjs +1 -1
- package/esm2022/widgets/lib/editors/email-box-widget/index.mjs +1 -1
- package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget-column.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget-designer.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget-edit.component.mjs +112 -112
- package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget-filter.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget-print.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget-view.component.mjs +64 -64
- package/esm2022/widgets/lib/editors/file-box-widget/file-box-widget.config.mjs +1 -1
- package/esm2022/widgets/lib/editors/file-box-widget/index.mjs +1 -1
- package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-column.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-designer.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-edit.component.mjs +108 -108
- package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-filter.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-print.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-types.mjs +1 -1
- package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget-view.component.mjs +98 -98
- package/esm2022/widgets/lib/editors/gallery-widget/gallery-widget.config.mjs +1 -1
- package/esm2022/widgets/lib/editors/gallery-widget/index.mjs +1 -1
- package/esm2022/widgets/lib/editors/map-box-widget/index.mjs +1 -1
- package/esm2022/widgets/lib/editors/map-box-widget/map-box-widget-column.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/map-box-widget/map-box-widget-designer.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/map-box-widget/map-box-widget-edit.component.mjs +6 -6
- package/esm2022/widgets/lib/editors/map-box-widget/map-box-widget-filter.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/map-box-widget/map-box-widget-print.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/map-box-widget/map-box-widget-view.component.mjs +6 -6
- package/esm2022/widgets/lib/editors/map-box-widget/map-box-widget.config.mjs +1 -1
- package/esm2022/widgets/lib/editors/number-box-widget/index.mjs +1 -1
- package/esm2022/widgets/lib/editors/number-box-widget/number-box-widget-column.component.mjs +26 -7
- package/esm2022/widgets/lib/editors/number-box-widget/number-box-widget-designer.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/number-box-widget/number-box-widget-edit.component.mjs +68 -68
- package/esm2022/widgets/lib/editors/number-box-widget/number-box-widget-filter.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/number-box-widget/number-box-widget-print.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/number-box-widget/number-box-widget-view.component.mjs +33 -19
- package/esm2022/widgets/lib/editors/number-box-widget/number-box-widget.config.mjs +4 -1
- package/esm2022/widgets/lib/editors/password-box-widget/index.mjs +1 -1
- package/esm2022/widgets/lib/editors/password-box-widget/password-box-widget-column.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/password-box-widget/password-box-widget-designer.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/password-box-widget/password-box-widget-edit.component.mjs +10 -10
- package/esm2022/widgets/lib/editors/password-box-widget/password-box-widget-filter.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/password-box-widget/password-box-widget-print.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/password-box-widget/password-box-widget-view.component.mjs +46 -46
- package/esm2022/widgets/lib/editors/password-box-widget/password-box-widget.config.mjs +1 -1
- package/esm2022/widgets/lib/editors/phone-box-widget/index.mjs +1 -1
- package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget-column.component.mjs +54 -7
- package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget-designer.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget-edit.component.mjs +162 -134
- package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget-filter.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget-print.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget-view.component.mjs +70 -70
- package/esm2022/widgets/lib/editors/phone-box-widget/phone-box-widget.config.mjs +1 -1
- package/esm2022/widgets/lib/editors/rich-text-widget/index.mjs +1 -1
- package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget-column.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget-designer.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget-edit.component.mjs +10 -10
- package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget-filter.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget-print.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget-view.component.mjs +10 -10
- package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget.config.mjs +1 -1
- package/esm2022/widgets/lib/editors/select-box-widget/index.mjs +1 -1
- package/esm2022/widgets/lib/editors/select-box-widget/select-box-widget-column.component.mjs +5 -5
- package/esm2022/widgets/lib/editors/select-box-widget/select-box-widget-designer.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/select-box-widget/select-box-widget-edit.component.mjs +26 -26
- package/esm2022/widgets/lib/editors/select-box-widget/select-box-widget-filter.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/select-box-widget/select-box-widget-print.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/select-box-widget/select-box-widget-view.component.mjs +24 -18
- package/esm2022/widgets/lib/editors/select-box-widget/select-box-widget.config.mjs +1 -1
- package/esm2022/widgets/lib/editors/selection-list-widget/index.mjs +1 -1
- package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget-column.component.mjs +30 -8
- package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget-designer.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget-edit.component.mjs +32 -32
- package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget-filter.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget-print.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget-view.component.mjs +29 -8
- package/esm2022/widgets/lib/editors/selection-list-widget/selection-list-widget.config.mjs +1 -1
- package/esm2022/widgets/lib/editors/signature-pad-widget/index.mjs +1 -1
- package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget-column.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget-designer.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget-edit.component.mjs +56 -56
- package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget-filter.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget-print.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget-view.component.mjs +18 -18
- package/esm2022/widgets/lib/editors/signature-pad-widget/signature-pad-widget.config.mjs +1 -1
- package/esm2022/widgets/lib/editors/text-box-widget/index.mjs +1 -1
- package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget-column.component.mjs +7 -6
- package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget-designer.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget-edit.component.mjs +62 -62
- package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget-filter.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget-print.component.mjs +2 -2
- package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget-view.component.mjs +18 -18
- package/esm2022/widgets/lib/editors/text-box-widget/text-box-widget.config.mjs +2 -1
- package/esm2022/widgets/lib/editors/toggle-widget/index.mjs +8 -0
- package/esm2022/widgets/lib/editors/toggle-widget/toggle-widget-column.component.mjs +47 -0
- package/esm2022/widgets/lib/editors/toggle-widget/toggle-widget-designer.component.mjs +19 -0
- package/esm2022/widgets/lib/editors/toggle-widget/toggle-widget-edit.component.mjs +27 -0
- package/esm2022/widgets/lib/editors/toggle-widget/toggle-widget-filter.component.mjs +20 -0
- package/esm2022/widgets/lib/editors/toggle-widget/toggle-widget-print.component.mjs +19 -0
- package/esm2022/widgets/lib/editors/toggle-widget/toggle-widget-view.component.mjs +47 -0
- package/esm2022/widgets/lib/editors/toggle-widget/toggle-widget.config.mjs +24 -0
- package/esm2022/widgets/lib/layout/block-widget/block-widget.component.mjs +14 -14
- package/esm2022/widgets/lib/layout/block-widget/block-widget.config.mjs +1 -1
- package/esm2022/widgets/lib/layout/block-widget/index.mjs +1 -1
- package/esm2022/widgets/lib/widgets.module.mjs +6 -3
- package/esm2022/workflow/index.mjs +1 -1
- package/esm2022/workflow/lib/errors.types.mjs +1 -1
- package/esm2022/workflow/lib/workflow-event-dispatcher.service.mjs +1 -1
- package/esm2022/workflow/lib/workflow-registery.service.mjs +1 -1
- package/esm2022/workflow/lib/workflow.module.mjs +1 -1
- package/esm2022/workflow/lib/workflow.service.mjs +1 -1
- package/esm2022/workflow/lib/workflow.types.mjs +1 -1
- package/fesm2022/acorex-platform-auth.mjs +3 -1
- package/fesm2022/acorex-platform-auth.mjs.map +1 -1
- package/fesm2022/acorex-platform-common-avatar-widget-edit.component-DAmNXjDm.mjs +178 -0
- package/fesm2022/acorex-platform-common-avatar-widget-edit.component-DAmNXjDm.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-avatar-widget-view.component-BlA_cFkP.mjs +85 -0
- package/fesm2022/acorex-platform-common-avatar-widget-view.component-BlA_cFkP.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-boolean-widget-filter.component-CEqibiML.mjs +169 -0
- package/fesm2022/acorex-platform-common-boolean-widget-filter.component-CEqibiML.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-change-password.component-NvrMMq9e.mjs +177 -0
- package/fesm2022/acorex-platform-common-change-password.component-NvrMMq9e.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-checkbox-widget-column.component-BiUHPDqV.mjs +76 -0
- package/fesm2022/acorex-platform-common-checkbox-widget-column.component-BiUHPDqV.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-checkbox-widget-edit.component-BVG9_XXh.mjs +46 -0
- package/fesm2022/acorex-platform-common-checkbox-widget-edit.component-BVG9_XXh.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-checkbox-widget-view.component-CfGkMcDi.mjs +70 -0
- package/fesm2022/acorex-platform-common-checkbox-widget-view.component-CfGkMcDi.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-dateTime-widget-column.component-BlXTU887.mjs +66 -0
- package/fesm2022/acorex-platform-common-dateTime-widget-column.component-BlXTU887.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-dateTime-widget-edit.component-B0s6FN-g.mjs +198 -0
- package/fesm2022/acorex-platform-common-dateTime-widget-edit.component-B0s6FN-g.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-dateTime-widget-filter.component-B7KBCsUt.mjs +233 -0
- package/fesm2022/acorex-platform-common-dateTime-widget-filter.component-B7KBCsUt.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-dateTime-widget-view.component-Dy7pAkGG.mjs +93 -0
- package/fesm2022/acorex-platform-common-dateTime-widget-view.component-Dy7pAkGG.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-email-widget-column.component-D_UNn2dW.mjs +97 -0
- package/fesm2022/acorex-platform-common-email-widget-column.component-D_UNn2dW.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-email-widget-edit.component-DWT24mCM.mjs +269 -0
- package/fesm2022/acorex-platform-common-email-widget-edit.component-DWT24mCM.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-email-widget-view.component-B6puyycL.mjs +130 -0
- package/fesm2022/acorex-platform-common-email-widget-view.component-B6puyycL.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-file-widget-column.component-C1faGR4K.mjs +49 -0
- package/fesm2022/acorex-platform-common-file-widget-column.component-C1faGR4K.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-file-widget-edit.component-CTvS9ls8.mjs +221 -0
- package/fesm2022/acorex-platform-common-file-widget-edit.component-CTvS9ls8.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-file-widget-filter.component-D4AMg5M0.mjs +51 -0
- package/fesm2022/acorex-platform-common-file-widget-filter.component-D4AMg5M0.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-file-widget-view.component-CHI4VCvt.mjs +174 -0
- package/fesm2022/acorex-platform-common-file-widget-view.component-CHI4VCvt.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-gallery-widget-edit.component-CAOctYzV.mjs +209 -0
- package/fesm2022/acorex-platform-common-gallery-widget-edit.component-CAOctYzV.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-gallery-widget-filter.component-lgaYDZeD.mjs +50 -0
- package/fesm2022/acorex-platform-common-gallery-widget-filter.component-lgaYDZeD.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-gallery-widget-view.component-Ci50jeO5.mjs +193 -0
- package/fesm2022/acorex-platform-common-gallery-widget-view.component-Ci50jeO5.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-largetext-widget-edit.component-DFKG-kum.mjs +60 -0
- package/fesm2022/acorex-platform-common-largetext-widget-edit.component-DFKG-kum.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-lookup-widget-column.component-CFzCGcqA.mjs +66 -0
- package/fesm2022/acorex-platform-common-lookup-widget-column.component-CFzCGcqA.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-lookup-widget-edit.component-CYTSeEOq.mjs +96 -0
- package/fesm2022/acorex-platform-common-lookup-widget-edit.component-CYTSeEOq.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-lookup-widget-filter.component-BkxT9_Hh.mjs +135 -0
- package/fesm2022/acorex-platform-common-lookup-widget-filter.component-BkxT9_Hh.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-lookup-widget-view.component-5YeixMp7.mjs +77 -0
- package/fesm2022/acorex-platform-common-lookup-widget-view.component-5YeixMp7.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-map-widget-edit.component-CE3QQBmX.mjs +114 -0
- package/fesm2022/acorex-platform-common-map-widget-edit.component-CE3QQBmX.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-map-widget-view.component-Cv4OCTxz.mjs +86 -0
- package/fesm2022/acorex-platform-common-map-widget-view.component-Cv4OCTxz.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-messenger-widget-column.component-CJdh6TKb.mjs +95 -0
- package/fesm2022/acorex-platform-common-messenger-widget-column.component-CJdh6TKb.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-messenger-widget-edit.component-kiEHxJia.mjs +157 -0
- package/fesm2022/acorex-platform-common-messenger-widget-edit.component-kiEHxJia.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-messenger-widget-view.component-DzbjgZA7.mjs +154 -0
- package/fesm2022/acorex-platform-common-messenger-widget-view.component-DzbjgZA7.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-number-widget-edit.component-BRuIP96Y.mjs +68 -0
- package/fesm2022/acorex-platform-common-number-widget-edit.component-BRuIP96Y.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-number-widget-filter.component-jQ4DaFQH.mjs +157 -0
- package/fesm2022/acorex-platform-common-number-widget-filter.component-jQ4DaFQH.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-number-widget-view.component-BzUWjT8m.mjs +54 -0
- package/fesm2022/acorex-platform-common-number-widget-view.component-BzUWjT8m.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-password-widget-column.component-BRzyuK5c.mjs +89 -0
- package/fesm2022/acorex-platform-common-password-widget-column.component-BRzyuK5c.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-password-widget-edit.component-q6R2dw5k.mjs +64 -0
- package/fesm2022/acorex-platform-common-password-widget-edit.component-q6R2dw5k.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-password-widget-view.component-CKaQItON.mjs +128 -0
- package/fesm2022/acorex-platform-common-password-widget-view.component-CKaQItON.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-phone-widget-column.component-BD7BScjW.mjs +115 -0
- package/fesm2022/acorex-platform-common-phone-widget-column.component-BD7BScjW.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-phone-widget-edit.component-D8tGKfNj.mjs +265 -0
- package/fesm2022/acorex-platform-common-phone-widget-edit.component-D8tGKfNj.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-phone-widget-view.component-CFiMsGOB.mjs +145 -0
- package/fesm2022/acorex-platform-common-phone-widget-view.component-CFiMsGOB.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-rich-text-widget-column.component-BPzwY_8L.mjs +85 -0
- package/fesm2022/acorex-platform-common-rich-text-widget-column.component-BPzwY_8L.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-rich-text-widget-edit.component-CA2xRfVg.mjs +89 -0
- package/fesm2022/acorex-platform-common-rich-text-widget-edit.component-CA2xRfVg.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-rich-text-widget-view.component-DYfTZ64H.mjs +58 -0
- package/fesm2022/acorex-platform-common-rich-text-widget-view.component-DYfTZ64H.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-selection-list-widget-column.component-_MglaOmo.mjs +69 -0
- package/fesm2022/acorex-platform-common-selection-list-widget-column.component-_MglaOmo.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-selection-list-widget-edit.component-QKw_tyOd.mjs +76 -0
- package/fesm2022/acorex-platform-common-selection-list-widget-edit.component-QKw_tyOd.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-selection-list-widget-filter.component-DRToTnHQ.mjs +65 -0
- package/fesm2022/acorex-platform-common-selection-list-widget-filter.component-DRToTnHQ.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-selection-list-widget-view.component-CjDiuUdj.mjs +69 -0
- package/fesm2022/acorex-platform-common-selection-list-widget-view.component-CjDiuUdj.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-signature-pad-widget-edit.component-DF29uWl2.mjs +148 -0
- package/fesm2022/acorex-platform-common-signature-pad-widget-edit.component-DF29uWl2.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-signature-pad-widget-view.component-BWzoR4HM.mjs +63 -0
- package/fesm2022/acorex-platform-common-signature-pad-widget-view.component-BWzoR4HM.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-string-widget-filter.component-Di_GFHme.mjs +147 -0
- package/fesm2022/acorex-platform-common-string-widget-filter.component-Di_GFHme.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-text-widget-column.component-BSYd1CbC.mjs +70 -0
- package/fesm2022/acorex-platform-common-text-widget-column.component-BSYd1CbC.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-text-widget-edit.component-K9z9N1qw.mjs +183 -0
- package/fesm2022/acorex-platform-common-text-widget-edit.component-K9z9N1qw.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-text-widget-view.component-WbZtm_bf.mjs +90 -0
- package/fesm2022/acorex-platform-common-text-widget-view.component-WbZtm_bf.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-toggle-widget-column.component-ZCBSYMuz.mjs +80 -0
- package/fesm2022/acorex-platform-common-toggle-widget-column.component-ZCBSYMuz.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-toggle-widget-edit.component-rkDfLA-J.mjs +46 -0
- package/fesm2022/acorex-platform-common-toggle-widget-edit.component-rkDfLA-J.mjs.map +1 -0
- package/fesm2022/acorex-platform-common-toggle-widget-view.component-DLDIrci1.mjs +72 -0
- package/fesm2022/acorex-platform-common-toggle-widget-view.component-DLDIrci1.mjs.map +1 -0
- package/fesm2022/acorex-platform-common.mjs +2056 -246
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-builder.mjs +687 -0
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-entity.mjs +1848 -0
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -0
- package/fesm2022/acorex-platform-layouts-entity-create-view.component-BmSMt95H.mjs +107 -0
- package/fesm2022/acorex-platform-layouts-entity-create-view.component-BmSMt95H.mjs.map +1 -0
- package/fesm2022/acorex-platform-layouts-entity-modify-view.component-D1h1xORH.mjs +88 -0
- package/fesm2022/acorex-platform-layouts-entity-modify-view.component-D1h1xORH.mjs.map +1 -0
- package/fesm2022/acorex-platform-layouts.mjs +1058 -2553
- package/fesm2022/acorex-platform-layouts.mjs.map +1 -1
- package/fesm2022/acorex-platform-mocks.mjs.map +1 -1
- package/fesm2022/acorex-platform-native.mjs.map +1 -1
- package/fesm2022/acorex-platform-widgets-checkbox-widget-column.component-Cx6WLV3_.mjs +48 -0
- package/fesm2022/acorex-platform-widgets-checkbox-widget-column.component-Cx6WLV3_.mjs.map +1 -0
- package/fesm2022/acorex-platform-widgets-checkbox-widget-view.component-C_68pr-9.mjs +57 -0
- package/fesm2022/acorex-platform-widgets-checkbox-widget-view.component-C_68pr-9.mjs.map +1 -0
- package/fesm2022/acorex-platform-widgets.mjs +1755 -1293
- package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
- package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
- package/fesm2022/acorex-platform.mjs.map +1 -1
- package/layout/builder/README.md +4 -0
- package/layout/builder/index.d.ts +1 -0
- package/layout/builder/lib/builder/builder.module.d.ts +23 -0
- package/layout/builder/lib/builder/builder.service.d.ts +27 -0
- package/layout/builder/lib/builder/index.d.ts +8 -0
- package/layout/builder/lib/builder/layout.types.d.ts +30 -0
- package/layout/builder/lib/builder/widget-column-renderer.d.ts +31 -0
- package/layout/builder/lib/builder/widget-container.component.d.ts +15 -0
- package/layout/builder/lib/builder/widget-renderer.component.d.ts +43 -0
- package/layout/builder/lib/builder/widget.types.d.ts +74 -0
- package/layout/entity/README.md +4 -0
- package/layout/entity/index.d.ts +1 -0
- package/layout/entity/lib/entity-detail-list.viewmodel.d.ts +32 -0
- package/layout/entity/lib/entity-master-create.viewmodel.d.ts +49 -0
- package/layout/entity/lib/entity-master-list.viewmodel.d.ts +82 -0
- package/layout/entity/lib/entity-master-single.viewmodel.d.ts +62 -0
- package/layout/entity/lib/entity-master-update.viewmodel.d.ts +39 -0
- package/layout/entity/lib/entity-registery.service.d.ts +34 -0
- package/layout/entity/lib/entity.config.d.ts +21 -0
- package/layout/entity/lib/entity.module.d.ts +9 -0
- package/layout/entity/lib/entity.viewmodel.d.ts +22 -0
- package/layout/entity/lib/index.d.ts +8 -0
- package/layout/entity/lib/widgets/lookup-widget/index.d.ts +7 -0
- package/layout/entity/lib/widgets/lookup-widget/lookup-widget-column.component.d.ts +6 -0
- package/layout/entity/lib/widgets/lookup-widget/lookup-widget-designer.component.d.ts +6 -0
- package/layout/entity/lib/widgets/lookup-widget/lookup-widget-edit.component.d.ts +27 -0
- package/layout/entity/lib/widgets/lookup-widget/lookup-widget-filter.component.d.ts +6 -0
- package/layout/entity/lib/widgets/lookup-widget/lookup-widget-print.component.d.ts +6 -0
- package/layout/entity/lib/widgets/lookup-widget/lookup-widget-selector.component.d.ts +13 -0
- package/layout/entity/lib/widgets/lookup-widget/lookup-widget-selector.viewmodel.d.ts +15 -0
- package/layout/entity/lib/widgets/lookup-widget/lookup-widget-view.component.d.ts +6 -0
- package/layout/entity/lib/widgets/lookup-widget/lookup-widget.config.d.ts +2 -0
- package/layout/entity/lib/workflows/create-entity.workflow.d.ts +29 -0
- package/layout/entity/lib/workflows/delete-entity.workflow.d.ts +26 -0
- package/layout/entity/lib/workflows/modify-section.workflow.d.ts +34 -0
- package/layout/entity/lib/workflows/show-details.workflow.d.ts +10 -0
- package/layouts/README.md +3 -3
- package/layouts/index.d.ts +0 -2
- package/layouts/lib/admin/admin.module.d.ts +3 -6
- package/layouts/lib/admin/entity-layout/entity-create-view/entity-create-view.component.d.ts +1 -1
- package/layouts/lib/admin/entity-layout/entity-create-view/entity-create-view.config.d.ts +3 -3
- package/layouts/lib/admin/entity-layout/entity-details-view/detail-view.config.d.ts +3 -3
- package/layouts/lib/admin/entity-layout/entity-details-view/entity-details-view.component.d.ts +1 -1
- package/layouts/lib/admin/entity-layout/entity-list-view/components/entity-custom-view/entity-custom-view.component.d.ts +2 -3
- package/layouts/lib/admin/entity-layout/entity-list-view/components/list-view-option-columns/list-view-option-columns.component.d.ts +1 -1
- package/layouts/lib/admin/entity-layout/entity-list-view/components/list-view-option-conditions/list-view-option-conditions.component.d.ts +4 -6
- package/layouts/lib/admin/entity-layout/entity-list-view/components/list-view-option-conditions/list-view-option-filter-operator.component.d.ts +1 -1
- package/layouts/lib/admin/entity-layout/entity-list-view/components/list-view-option-sorting/list-view-option-sorting.component.d.ts +3 -4
- package/layouts/lib/admin/entity-layout/entity-list-view/entity-list-view.component.d.ts +6 -6
- package/layouts/lib/admin/entity-layout/entity-list-view/list-view.config.d.ts +5 -6
- package/layouts/lib/admin/entity-layout/entity-list-view/list-view.module.d.ts +3 -4
- package/layouts/lib/admin/entity-layout/entity-modify-view/entity-modify-view.component.d.ts +1 -1
- package/layouts/lib/admin/entity-layout/entity-modify-view/entity-modify-view.config.d.ts +3 -3
- package/layouts/lib/admin/entity-layout/entity-quick-view/entity-quick-view.component.d.ts +2 -2
- package/layouts/lib/admin/entity-layout/workflows/index.d.ts +3 -0
- package/layouts/lib/admin/entity-layout/workflows/modify-section.workflow.d.ts +12 -0
- package/layouts/lib/admin/entity-layout/workflows/show-details.workflow.d.ts +9 -1
- package/layouts/lib/admin/entity-layout/workflows/show-list.workflow.d.ts +9 -1
- package/layouts/lib/admin/entity-layout/workflows/show-quick-view.workflow.d.ts +11 -1
- package/layouts/lib/admin/index.d.ts +0 -2
- package/layouts/lib/layout.module.d.ts +4 -4
- package/mocks/README.md +3 -3
- package/package.json +29 -20
- package/widgets/README.md +3 -3
- package/widgets/lib/editors/checkbox/checkbox-widget-column.component.d.ts +9 -0
- package/widgets/lib/editors/checkbox/checkbox-widget-edit.component.d.ts +1 -1
- package/widgets/lib/editors/checkbox/checkbox-widget-view.component.d.ts +9 -0
- package/widgets/lib/editors/checkbox/checkbox-widget.config.d.ts +1 -1
- package/widgets/lib/editors/date-time-box-widget/date-time-box-widget-column.component.d.ts +11 -3
- package/widgets/lib/editors/date-time-box-widget/date-time-box-widget-designer.component.d.ts +1 -1
- package/widgets/lib/editors/date-time-box-widget/date-time-box-widget-edit.component.d.ts +1 -1
- package/widgets/lib/editors/date-time-box-widget/date-time-box-widget-filter.component.d.ts +1 -1
- package/widgets/lib/editors/date-time-box-widget/date-time-box-widget-print.component.d.ts +1 -1
- package/widgets/lib/editors/date-time-box-widget/date-time-box-widget-view.component.d.ts +1 -1
- package/widgets/lib/editors/date-time-box-widget/date-time-box-widget.config.d.ts +1 -1
- package/widgets/lib/editors/email-box-widget/email-box-widget-column.component.d.ts +13 -3
- package/widgets/lib/editors/email-box-widget/email-box-widget-designer.component.d.ts +1 -1
- package/widgets/lib/editors/email-box-widget/email-box-widget-edit.component.d.ts +7 -1
- package/widgets/lib/editors/email-box-widget/email-box-widget-filter.component.d.ts +1 -1
- package/widgets/lib/editors/email-box-widget/email-box-widget-print.component.d.ts +1 -1
- package/widgets/lib/editors/email-box-widget/email-box-widget-view.component.d.ts +1 -1
- package/widgets/lib/editors/email-box-widget/email-box-widget.config.d.ts +1 -1
- package/widgets/lib/editors/file-box-widget/file-box-widget-column.component.d.ts +1 -1
- package/widgets/lib/editors/file-box-widget/file-box-widget-designer.component.d.ts +1 -1
- package/widgets/lib/editors/file-box-widget/file-box-widget-edit.component.d.ts +1 -1
- package/widgets/lib/editors/file-box-widget/file-box-widget-filter.component.d.ts +1 -1
- package/widgets/lib/editors/file-box-widget/file-box-widget-print.component.d.ts +1 -1
- package/widgets/lib/editors/file-box-widget/file-box-widget-view.component.d.ts +1 -1
- package/widgets/lib/editors/file-box-widget/file-box-widget.config.d.ts +1 -1
- package/widgets/lib/editors/gallery-widget/gallery-widget-column.component.d.ts +1 -1
- package/widgets/lib/editors/gallery-widget/gallery-widget-designer.component.d.ts +1 -1
- package/widgets/lib/editors/gallery-widget/gallery-widget-edit.component.d.ts +1 -1
- package/widgets/lib/editors/gallery-widget/gallery-widget-filter.component.d.ts +1 -1
- package/widgets/lib/editors/gallery-widget/gallery-widget-print.component.d.ts +1 -1
- package/widgets/lib/editors/gallery-widget/gallery-widget-view.component.d.ts +1 -1
- package/widgets/lib/editors/gallery-widget/gallery-widget.config.d.ts +1 -1
- package/widgets/lib/editors/map-box-widget/map-box-widget-column.component.d.ts +1 -1
- package/widgets/lib/editors/map-box-widget/map-box-widget-designer.component.d.ts +1 -1
- package/widgets/lib/editors/map-box-widget/map-box-widget-edit.component.d.ts +1 -1
- package/widgets/lib/editors/map-box-widget/map-box-widget-filter.component.d.ts +1 -1
- package/widgets/lib/editors/map-box-widget/map-box-widget-print.component.d.ts +1 -1
- package/widgets/lib/editors/map-box-widget/map-box-widget-view.component.d.ts +1 -1
- package/widgets/lib/editors/map-box-widget/map-box-widget.config.d.ts +1 -1
- package/widgets/lib/editors/number-box-widget/number-box-widget-column.component.d.ts +5 -3
- package/widgets/lib/editors/number-box-widget/number-box-widget-designer.component.d.ts +1 -1
- package/widgets/lib/editors/number-box-widget/number-box-widget-edit.component.d.ts +2 -2
- package/widgets/lib/editors/number-box-widget/number-box-widget-filter.component.d.ts +1 -1
- package/widgets/lib/editors/number-box-widget/number-box-widget-print.component.d.ts +1 -1
- package/widgets/lib/editors/number-box-widget/number-box-widget-view.component.d.ts +8 -2
- package/widgets/lib/editors/number-box-widget/number-box-widget.config.d.ts +1 -1
- package/widgets/lib/editors/password-box-widget/password-box-widget-column.component.d.ts +1 -1
- package/widgets/lib/editors/password-box-widget/password-box-widget-designer.component.d.ts +1 -1
- package/widgets/lib/editors/password-box-widget/password-box-widget-edit.component.d.ts +1 -1
- package/widgets/lib/editors/password-box-widget/password-box-widget-filter.component.d.ts +1 -1
- package/widgets/lib/editors/password-box-widget/password-box-widget-print.component.d.ts +1 -1
- package/widgets/lib/editors/password-box-widget/password-box-widget-view.component.d.ts +1 -1
- package/widgets/lib/editors/password-box-widget/password-box-widget.config.d.ts +1 -1
- package/widgets/lib/editors/phone-box-widget/phone-box-widget-column.component.d.ts +13 -3
- package/widgets/lib/editors/phone-box-widget/phone-box-widget-designer.component.d.ts +1 -1
- package/widgets/lib/editors/phone-box-widget/phone-box-widget-edit.component.d.ts +6 -1
- package/widgets/lib/editors/phone-box-widget/phone-box-widget-filter.component.d.ts +1 -1
- package/widgets/lib/editors/phone-box-widget/phone-box-widget-print.component.d.ts +1 -1
- package/widgets/lib/editors/phone-box-widget/phone-box-widget-view.component.d.ts +1 -1
- package/widgets/lib/editors/phone-box-widget/phone-box-widget.config.d.ts +1 -1
- package/widgets/lib/editors/rich-text-widget/rich-text-widget-column.component.d.ts +1 -1
- package/widgets/lib/editors/rich-text-widget/rich-text-widget-designer.component.d.ts +1 -1
- package/widgets/lib/editors/rich-text-widget/rich-text-widget-edit.component.d.ts +1 -1
- package/widgets/lib/editors/rich-text-widget/rich-text-widget-filter.component.d.ts +1 -1
- package/widgets/lib/editors/rich-text-widget/rich-text-widget-print.component.d.ts +1 -1
- package/widgets/lib/editors/rich-text-widget/rich-text-widget-view.component.d.ts +1 -1
- package/widgets/lib/editors/rich-text-widget/rich-text-widget.config.d.ts +1 -1
- package/widgets/lib/editors/select-box-widget/select-box-widget-column.component.d.ts +3 -3
- package/widgets/lib/editors/select-box-widget/select-box-widget-designer.component.d.ts +1 -1
- package/widgets/lib/editors/select-box-widget/select-box-widget-edit.component.d.ts +1 -1
- package/widgets/lib/editors/select-box-widget/select-box-widget-filter.component.d.ts +1 -1
- package/widgets/lib/editors/select-box-widget/select-box-widget-print.component.d.ts +1 -1
- package/widgets/lib/editors/select-box-widget/select-box-widget-view.component.d.ts +1 -1
- package/widgets/lib/editors/select-box-widget/select-box-widget.config.d.ts +1 -1
- package/widgets/lib/editors/selection-list-widget/selection-list-widget-column.component.d.ts +11 -3
- package/widgets/lib/editors/selection-list-widget/selection-list-widget-designer.component.d.ts +1 -1
- package/widgets/lib/editors/selection-list-widget/selection-list-widget-edit.component.d.ts +1 -1
- package/widgets/lib/editors/selection-list-widget/selection-list-widget-filter.component.d.ts +1 -1
- package/widgets/lib/editors/selection-list-widget/selection-list-widget-print.component.d.ts +1 -1
- package/widgets/lib/editors/selection-list-widget/selection-list-widget-view.component.d.ts +7 -2
- package/widgets/lib/editors/selection-list-widget/selection-list-widget.config.d.ts +1 -1
- package/widgets/lib/editors/signature-pad-widget/signature-pad-widget-column.component.d.ts +1 -1
- package/widgets/lib/editors/signature-pad-widget/signature-pad-widget-designer.component.d.ts +1 -1
- package/widgets/lib/editors/signature-pad-widget/signature-pad-widget-edit.component.d.ts +1 -1
- package/widgets/lib/editors/signature-pad-widget/signature-pad-widget-filter.component.d.ts +1 -1
- package/widgets/lib/editors/signature-pad-widget/signature-pad-widget-print.component.d.ts +1 -1
- package/widgets/lib/editors/signature-pad-widget/signature-pad-widget-view.component.d.ts +1 -1
- package/widgets/lib/editors/signature-pad-widget/signature-pad-widget.config.d.ts +1 -1
- package/widgets/lib/editors/text-box-widget/text-box-widget-column.component.d.ts +3 -3
- package/widgets/lib/editors/text-box-widget/text-box-widget-designer.component.d.ts +1 -1
- package/widgets/lib/editors/text-box-widget/text-box-widget-edit.component.d.ts +2 -2
- package/widgets/lib/editors/text-box-widget/text-box-widget-filter.component.d.ts +1 -1
- package/widgets/lib/editors/text-box-widget/text-box-widget-print.component.d.ts +1 -1
- package/widgets/lib/editors/text-box-widget/text-box-widget-view.component.d.ts +1 -1
- package/widgets/lib/editors/text-box-widget/text-box-widget.config.d.ts +1 -1
- package/widgets/lib/editors/toggle-widget/index.d.ts +7 -0
- package/widgets/lib/editors/toggle-widget/toggle-widget-column.component.d.ts +9 -0
- package/widgets/lib/editors/toggle-widget/toggle-widget-designer.component.d.ts +6 -0
- package/widgets/lib/editors/toggle-widget/toggle-widget-edit.component.d.ts +7 -0
- package/widgets/lib/editors/toggle-widget/toggle-widget-filter.component.d.ts +6 -0
- package/widgets/lib/editors/toggle-widget/toggle-widget-print.component.d.ts +6 -0
- package/widgets/lib/editors/toggle-widget/toggle-widget-view.component.d.ts +9 -0
- package/widgets/lib/editors/toggle-widget/toggle-widget.config.d.ts +2 -0
- package/widgets/lib/layout/block-widget/block-widget.component.d.ts +2 -2
- package/widgets/lib/layout/block-widget/block-widget.config.d.ts +1 -1
- package/widgets/lib/widgets.module.d.ts +1 -1
- package/workflow/README.md +3 -3
- package/workflow/lib/workflow.types.d.ts +2 -2
- package/common/lib/shared/state-persistence/index.d.ts +0 -3
- package/common/lib/shared/state-persistence/state-persistence.actions.d.ts +0 -1
- package/common/lib/shared/state-persistence/state-persistence.module.d.ts +0 -8
- package/common/lib/shared/state-persistence/state-persistence.reducers.d.ts +0 -3
- package/common/lib/utils/sticky.directive.d.ts +0 -24
- package/core/README.md +0 -4
- package/core/index.d.ts +0 -4
- package/core/lib/app/application.types.d.ts +0 -144
- package/core/lib/core.module.d.ts +0 -6
- package/esm2022/common/lib/menu/index.mjs +0 -3
- package/esm2022/common/lib/menu/menu.loader.mjs +0 -39
- package/esm2022/common/lib/menu/menu.types.mjs +0 -2
- package/esm2022/common/lib/shared/logo.types.mjs +0 -21
- package/esm2022/common/lib/shared/state-persistence/index.mjs +0 -4
- package/esm2022/common/lib/shared/state-persistence/state-persistence.actions.mjs +0 -3
- package/esm2022/common/lib/shared/state-persistence/state-persistence.module.mjs +0 -36
- package/esm2022/common/lib/shared/state-persistence/state-persistence.reducers.mjs +0 -30
- package/esm2022/common/lib/utils/sticky.directive.mjs +0 -74
- package/esm2022/core/acorex-platform-core.mjs +0 -5
- package/esm2022/core/index.mjs +0 -5
- package/esm2022/core/lib/app/application.types.mjs +0 -19
- package/esm2022/core/lib/app/operators.mjs +0 -50
- package/esm2022/core/lib/configs/config.types.mjs +0 -3
- package/esm2022/core/lib/core.module.mjs +0 -16
- package/esm2022/layout/acorex-platform-layout.mjs +0 -5
- package/esm2022/layout/index.mjs +0 -3
- package/esm2022/layout/lib/builder/builder.module.mjs +0 -66
- package/esm2022/layout/lib/builder/context.service.mjs +0 -64
- package/esm2022/layout/lib/builder/index.mjs +0 -8
- package/esm2022/layout/lib/builder/widget-column-renderer.mjs +0 -75
- package/esm2022/layout/lib/builder/widget-container.mjs +0 -45
- package/esm2022/layout/lib/builder/widget-registery.service.mjs +0 -33
- package/esm2022/layout/lib/builder/widget-renderer.mjs +0 -279
- package/esm2022/layout/lib/builder/widget.types.mjs +0 -49
- package/esm2022/layout/lib/component-slot/component-slot-loader.service.mjs +0 -56
- package/esm2022/layout/lib/component-slot/component-slot-registery.service.mjs +0 -28
- package/esm2022/layout/lib/component-slot/component-slot.directive.mjs +0 -24
- package/esm2022/layout/lib/component-slot/component-slot.module.mjs +0 -72
- package/esm2022/layout/lib/component-slot/component-slot.types.mjs +0 -2
- package/esm2022/layout/lib/component-slot/index.mjs +0 -6
- package/esm2022/layouts/lib/admin/admin-child-layout/admin-child-features-list.component.mjs +0 -58
- package/esm2022/layouts/lib/admin/admin-child-layout/admin-child-layout.component.mjs +0 -50
- package/esm2022/layouts/lib/admin/admin-child-layout/admin-child-layout.module.mjs +0 -57
- package/esm2022/layouts/lib/admin/admin-child-layout/index.mjs +0 -4
- package/esm2022/layouts/lib/admin/admin-root-layout/admin-root-layout.component.mjs +0 -74
- package/esm2022/layouts/lib/admin/admin-root-layout/admin-root-layout.module.mjs +0 -92
- package/esm2022/layouts/lib/admin/admin-root-layout/components/admin-footer/admin-footer.component.mjs +0 -14
- package/esm2022/layouts/lib/admin/admin-root-layout/components/admin-header/admin-header.component.mjs +0 -29
- package/esm2022/layouts/lib/admin/admin-root-layout/index.mjs +0 -5
- package/esm2022/layouts/lib/admin/store/admin-layout.actions.mjs +0 -12
- package/esm2022/layouts/lib/admin/store/admin-layout.effects.mjs +0 -29
- package/esm2022/layouts/lib/admin/store/admin-layout.reducers.mjs +0 -60
- package/esm2022/layouts/lib/admin/store/admin-layout.selectors.mjs +0 -8
- package/esm2022/layouts/lib/admin/store/admin-layout.state.mjs +0 -16
- package/esm2022/layouts/lib/admin/store/index.mjs +0 -6
- package/esm2022/layouts/lib/layout.routes.mjs +0 -15
- package/esm2022/layouts/lib/shared/components/content-view/content-view.page.mjs +0 -64
- package/esm2022/layouts/lib/shared/components/content-view/content-view.type.mjs +0 -2
- package/esm2022/layouts/lib/shared/components/error-401/error-401.component.mjs +0 -28
- package/esm2022/layouts/lib/shared/components/error-404/error-404.component.mjs +0 -22
- package/esm2022/layouts/lib/shared/components/error-offline/error-offline.component.mjs +0 -16
- package/esm2022/layouts/lib/shared/components/index.mjs +0 -10
- package/esm2022/layouts/lib/shared/components/logo/logo.component.mjs +0 -38
- package/esm2022/layouts/lib/shared/components/slots/footer-text-slot.component.mjs +0 -20
- package/esm2022/layouts/lib/shared/components/slots/navbar-slot.component.mjs +0 -36
- package/esm2022/layouts/lib/shared/components/slots/theme-slot.component.mjs +0 -48
- package/esm2022/layouts/lib/shared/entity/entity-registery.service.mjs +0 -70
- package/esm2022/layouts/lib/shared/entity/entity.class.mjs +0 -32
- package/esm2022/layouts/lib/shared/entity/entity.loader.mjs +0 -13
- package/esm2022/layouts/lib/shared/entity/index.mjs +0 -4
- package/esm2022/layouts/lib/shared/index.mjs +0 -5
- package/esm2022/layouts/lib/shared/services/index.mjs +0 -2
- package/esm2022/layouts/lib/shared/services/layout.service.mjs +0 -79
- package/esm2022/layouts/lib/shared/workflows/common.workflow.mjs +0 -147
- package/esm2022/layouts/lib/shared/workflows/error-handler.mjs +0 -24
- package/esm2022/layouts/lib/shared/workflows/index.mjs +0 -3
- package/esm2022/layouts/lib/themes/default/entity-layouts/entity-details-view/entity-details-view.component.mjs +0 -73
- package/esm2022/layouts/lib/themes/default/entity-layouts/entity-details.viewmodel.mjs +0 -99
- package/esm2022/layouts/lib/themes/default/index.mjs +0 -3
- package/esm2022/layouts/lib/widgets/avatar/avatar-widget-edit.component.mjs +0 -160
- package/esm2022/layouts/lib/widgets/avatar/avatar-widget-view.component.mjs +0 -61
- package/esm2022/layouts/lib/widgets/checkbox/checkbox-widget-column.component.mjs +0 -53
- package/esm2022/layouts/lib/widgets/checkbox/checkbox-widget-edit.component.mjs +0 -22
- package/esm2022/layouts/lib/widgets/checkbox/checkbox-widget-view.component.mjs +0 -47
- package/esm2022/layouts/lib/widgets/common-widget-filter/boolean-widget-filter.component.mjs +0 -147
- package/esm2022/layouts/lib/widgets/common-widget-filter/number-widget-filter.component.mjs +0 -135
- package/esm2022/layouts/lib/widgets/common-widget-filter/string-widget-filter.component.mjs +0 -125
- package/esm2022/layouts/lib/widgets/common-widgets.module.mjs +0 -504
- package/esm2022/layouts/lib/widgets/dateTime/dateTime-widget-column.component.mjs +0 -44
- package/esm2022/layouts/lib/widgets/dateTime/dateTime-widget-edit.component.mjs +0 -178
- package/esm2022/layouts/lib/widgets/dateTime/dateTime-widget-filter.component.mjs +0 -214
- package/esm2022/layouts/lib/widgets/dateTime/dateTime-widget-view.component.mjs +0 -71
- package/esm2022/layouts/lib/widgets/email/email-widget-column.component.mjs +0 -73
- package/esm2022/layouts/lib/widgets/email/email-widget-edit.component.mjs +0 -249
- package/esm2022/layouts/lib/widgets/email/email-widget-view.component.mjs +0 -108
- package/esm2022/layouts/lib/widgets/file/file-widget-column.component.mjs +0 -27
- package/esm2022/layouts/lib/widgets/file/file-widget-edit.component.mjs +0 -200
- package/esm2022/layouts/lib/widgets/file/file-widget-filter.component.mjs +0 -27
- package/esm2022/layouts/lib/widgets/file/file-widget-view.component.mjs +0 -153
- package/esm2022/layouts/lib/widgets/gallery/gallery-widget-edit.component.mjs +0 -189
- package/esm2022/layouts/lib/widgets/gallery/gallery-widget-filter.component.mjs +0 -27
- package/esm2022/layouts/lib/widgets/gallery/gallery-widget-types.mjs +0 -2
- package/esm2022/layouts/lib/widgets/gallery/gallery-widget-view.component.mjs +0 -173
- package/esm2022/layouts/lib/widgets/index.mjs +0 -2
- package/esm2022/layouts/lib/widgets/lookup/lookup-widget-column.component.mjs +0 -43
- package/esm2022/layouts/lib/widgets/lookup/lookup-widget-edit.component.mjs +0 -74
- package/esm2022/layouts/lib/widgets/lookup/lookup-widget-filter.component.mjs +0 -115
- package/esm2022/layouts/lib/widgets/lookup/lookup-widget-view.component.mjs +0 -54
- package/esm2022/layouts/lib/widgets/map/map-widget-edit.component.mjs +0 -91
- package/esm2022/layouts/lib/widgets/map/map-widget-view.component.mjs +0 -63
- package/esm2022/layouts/lib/widgets/messenger/messenger-widget-column.component.mjs +0 -71
- package/esm2022/layouts/lib/widgets/messenger/messenger-widget-edit.component.mjs +0 -136
- package/esm2022/layouts/lib/widgets/messenger/messenger-widget-view.component.mjs +0 -132
- package/esm2022/layouts/lib/widgets/number/number-widget-edit.component.mjs +0 -46
- package/esm2022/layouts/lib/widgets/number/number-widget-view.component.mjs +0 -30
- package/esm2022/layouts/lib/widgets/password/change-password.component.mjs +0 -175
- package/esm2022/layouts/lib/widgets/password/password-widget-column.component.mjs +0 -67
- package/esm2022/layouts/lib/widgets/password/password-widget-edit.component.mjs +0 -41
- package/esm2022/layouts/lib/widgets/password/password-widget-view.component.mjs +0 -109
- package/esm2022/layouts/lib/widgets/phone/phone-widget-column.component.mjs +0 -91
- package/esm2022/layouts/lib/widgets/phone/phone-widget-edit.component.mjs +0 -231
- package/esm2022/layouts/lib/widgets/phone/phone-widget-view.component.mjs +0 -123
- package/esm2022/layouts/lib/widgets/rich-text/rich-text-widget-column.component.mjs +0 -61
- package/esm2022/layouts/lib/widgets/rich-text/rich-text-widget-edit.component.mjs +0 -67
- package/esm2022/layouts/lib/widgets/rich-text/rich-text-widget-view.component.mjs +0 -34
- package/esm2022/layouts/lib/widgets/selection-list/selection-list-widget-column.component.mjs +0 -43
- package/esm2022/layouts/lib/widgets/selection-list/selection-list-widget-edit.component.mjs +0 -53
- package/esm2022/layouts/lib/widgets/selection-list/selection-list-widget-filter.component.mjs +0 -41
- package/esm2022/layouts/lib/widgets/selection-list/selection-list-widget-view.component.mjs +0 -45
- package/esm2022/layouts/lib/widgets/signature-pad/signature-pad-widget-edit.component.mjs +0 -128
- package/esm2022/layouts/lib/widgets/signature-pad/signature-pad-widget-view.component.mjs +0 -41
- package/esm2022/layouts/lib/widgets/text/largetext-widget-edit.component.mjs +0 -37
- package/esm2022/layouts/lib/widgets/text/text-widget-column.component.mjs +0 -46
- package/esm2022/layouts/lib/widgets/text/text-widget-edit.component.mjs +0 -162
- package/esm2022/layouts/lib/widgets/text/text-widget-view.component.mjs +0 -66
- package/esm2022/layouts/lib/widgets/toggle/toggle-widget-column.component.mjs +0 -57
- package/esm2022/layouts/lib/widgets/toggle/toggle-widget-edit.component.mjs +0 -25
- package/esm2022/layouts/lib/widgets/toggle/toggle-widget-view.component.mjs +0 -49
- package/esm2022/schema/acorex-platform-schema.mjs +0 -5
- package/esm2022/schema/index.mjs +0 -14
- package/esm2022/schema/lib/component-loader.mjs +0 -2
- package/esm2022/schema/lib/formats.mjs +0 -2
- package/esm2022/schema/lib/operators.mjs +0 -50
- package/esm2022/schema/lib/schema-registery.service.mjs +0 -33
- package/esm2022/schema/lib/schema.module.mjs +0 -23
- package/esm2022/schema/lib/schema.types.mjs +0 -2
- package/esm2022/schema/lib/widget/widget-base.mjs +0 -113
- package/esm2022/schema/lib/widget/widget-column-renderer.mjs +0 -118
- package/esm2022/schema/lib/widget/widget-filter-renderer.mjs +0 -133
- package/esm2022/schema/lib/widget/widget-renderer.mjs +0 -144
- package/esm2022/schema/lib/widget/widget-token.mjs +0 -3
- package/fesm2022/acorex-platform-core.mjs +0 -94
- package/fesm2022/acorex-platform-core.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout.mjs +0 -756
- package/fesm2022/acorex-platform-layout.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-avatar-widget-edit.component-a_eCmVu5.mjs +0 -162
- package/fesm2022/acorex-platform-layouts-avatar-widget-edit.component-a_eCmVu5.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-avatar-widget-view.component-wwI7L0Kc.mjs +0 -64
- package/fesm2022/acorex-platform-layouts-avatar-widget-view.component-wwI7L0Kc.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-boolean-widget-filter.component-CHW4rgxA.mjs +0 -150
- package/fesm2022/acorex-platform-layouts-boolean-widget-filter.component-CHW4rgxA.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-change-password.component-vUZy2W_B.mjs +0 -178
- package/fesm2022/acorex-platform-layouts-change-password.component-vUZy2W_B.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-checkbox-widget-column.component-BNEtAS7g.mjs +0 -56
- package/fesm2022/acorex-platform-layouts-checkbox-widget-column.component-BNEtAS7g.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-checkbox-widget-edit.component-Cqn_QBcv.mjs +0 -25
- package/fesm2022/acorex-platform-layouts-checkbox-widget-edit.component-Cqn_QBcv.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-checkbox-widget-view.component-DQLggJ9x.mjs +0 -50
- package/fesm2022/acorex-platform-layouts-checkbox-widget-view.component-DQLggJ9x.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-dateTime-widget-column.component-D0eNN66F.mjs +0 -47
- package/fesm2022/acorex-platform-layouts-dateTime-widget-column.component-D0eNN66F.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-dateTime-widget-edit.component-BLqAWdRX.mjs +0 -181
- package/fesm2022/acorex-platform-layouts-dateTime-widget-edit.component-BLqAWdRX.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-dateTime-widget-filter.component-tvc-cTos.mjs +0 -217
- package/fesm2022/acorex-platform-layouts-dateTime-widget-filter.component-tvc-cTos.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-dateTime-widget-view.component-CjChqiJw.mjs +0 -74
- package/fesm2022/acorex-platform-layouts-dateTime-widget-view.component-CjChqiJw.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-email-widget-column.component-CUnxKERe.mjs +0 -76
- package/fesm2022/acorex-platform-layouts-email-widget-column.component-CUnxKERe.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-email-widget-edit.component-DqnNien2.mjs +0 -252
- package/fesm2022/acorex-platform-layouts-email-widget-edit.component-DqnNien2.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-email-widget-view.component-BZsLYW2w.mjs +0 -111
- package/fesm2022/acorex-platform-layouts-email-widget-view.component-BZsLYW2w.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-entity-create-view.component-C3TUCnB2.mjs +0 -108
- package/fesm2022/acorex-platform-layouts-entity-create-view.component-C3TUCnB2.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-entity-modify-view.component-BnSfJlc5.mjs +0 -89
- package/fesm2022/acorex-platform-layouts-entity-modify-view.component-BnSfJlc5.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-file-widget-column.component-f54Z9E5C.mjs +0 -30
- package/fesm2022/acorex-platform-layouts-file-widget-column.component-f54Z9E5C.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-file-widget-edit.component-CW9ESi46.mjs +0 -203
- package/fesm2022/acorex-platform-layouts-file-widget-edit.component-CW9ESi46.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-file-widget-filter.component-K3mC1xLX.mjs +0 -30
- package/fesm2022/acorex-platform-layouts-file-widget-filter.component-K3mC1xLX.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-file-widget-view.component-DVlbi33v.mjs +0 -156
- package/fesm2022/acorex-platform-layouts-file-widget-view.component-DVlbi33v.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-gallery-widget-edit.component-BUlkUU5u.mjs +0 -192
- package/fesm2022/acorex-platform-layouts-gallery-widget-edit.component-BUlkUU5u.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-gallery-widget-filter.component-BYFQSXOV.mjs +0 -30
- package/fesm2022/acorex-platform-layouts-gallery-widget-filter.component-BYFQSXOV.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-gallery-widget-view.component-BqVO3rDH.mjs +0 -176
- package/fesm2022/acorex-platform-layouts-gallery-widget-view.component-BqVO3rDH.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-largetext-widget-edit.component-CmH9daul.mjs +0 -40
- package/fesm2022/acorex-platform-layouts-largetext-widget-edit.component-CmH9daul.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-lookup-widget-column.component-C4Bb5AYW.mjs +0 -46
- package/fesm2022/acorex-platform-layouts-lookup-widget-column.component-C4Bb5AYW.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-lookup-widget-edit.component-B2Qyoi4Q.mjs +0 -120
- package/fesm2022/acorex-platform-layouts-lookup-widget-edit.component-B2Qyoi4Q.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-lookup-widget-filter.component-JJzSun3D.mjs +0 -158
- package/fesm2022/acorex-platform-layouts-lookup-widget-filter.component-JJzSun3D.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-lookup-widget-view.component-Bmp_zVcQ.mjs +0 -57
- package/fesm2022/acorex-platform-layouts-lookup-widget-view.component-Bmp_zVcQ.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-map-widget-edit.component-EWlgQnx5.mjs +0 -94
- package/fesm2022/acorex-platform-layouts-map-widget-edit.component-EWlgQnx5.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-map-widget-view.component-cB5Mq7G7.mjs +0 -66
- package/fesm2022/acorex-platform-layouts-map-widget-view.component-cB5Mq7G7.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-messenger-widget-column.component-DWgWrdmz.mjs +0 -74
- package/fesm2022/acorex-platform-layouts-messenger-widget-column.component-DWgWrdmz.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-messenger-widget-edit.component-C7VOe49a.mjs +0 -139
- package/fesm2022/acorex-platform-layouts-messenger-widget-edit.component-C7VOe49a.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-messenger-widget-view.component-uciMJWYn.mjs +0 -135
- package/fesm2022/acorex-platform-layouts-messenger-widget-view.component-uciMJWYn.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-number-widget-edit.component-CXTwKvM4.mjs +0 -49
- package/fesm2022/acorex-platform-layouts-number-widget-edit.component-CXTwKvM4.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-number-widget-filter.component-ARH7BdkE.mjs +0 -138
- package/fesm2022/acorex-platform-layouts-number-widget-filter.component-ARH7BdkE.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-number-widget-view.component-B0duuEhX.mjs +0 -33
- package/fesm2022/acorex-platform-layouts-number-widget-view.component-B0duuEhX.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-password-widget-column.component-Cav_zCe4.mjs +0 -70
- package/fesm2022/acorex-platform-layouts-password-widget-column.component-Cav_zCe4.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-password-widget-edit.component-Dm2E5zA_.mjs +0 -44
- package/fesm2022/acorex-platform-layouts-password-widget-edit.component-Dm2E5zA_.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-password-widget-view.component-BaipF6fT.mjs +0 -112
- package/fesm2022/acorex-platform-layouts-password-widget-view.component-BaipF6fT.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-phone-widget-column.component-BtZ5Qke0.mjs +0 -94
- package/fesm2022/acorex-platform-layouts-phone-widget-column.component-BtZ5Qke0.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-phone-widget-edit.component-BugCYS-l.mjs +0 -234
- package/fesm2022/acorex-platform-layouts-phone-widget-edit.component-BugCYS-l.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-phone-widget-view.component-C7EN8qDk.mjs +0 -126
- package/fesm2022/acorex-platform-layouts-phone-widget-view.component-C7EN8qDk.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-rich-text-widget-column.component-B99s2Zhi.mjs +0 -64
- package/fesm2022/acorex-platform-layouts-rich-text-widget-column.component-B99s2Zhi.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-rich-text-widget-edit.component-Di1P6EQV.mjs +0 -70
- package/fesm2022/acorex-platform-layouts-rich-text-widget-edit.component-Di1P6EQV.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-rich-text-widget-view.component-B_QG0YJc.mjs +0 -37
- package/fesm2022/acorex-platform-layouts-rich-text-widget-view.component-B_QG0YJc.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-selection-list-widget-column.component-Cx9QqR9f.mjs +0 -46
- package/fesm2022/acorex-platform-layouts-selection-list-widget-column.component-Cx9QqR9f.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-selection-list-widget-edit.component-DU-U-Af-.mjs +0 -56
- package/fesm2022/acorex-platform-layouts-selection-list-widget-edit.component-DU-U-Af-.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-selection-list-widget-filter.component-B8y8heXR.mjs +0 -44
- package/fesm2022/acorex-platform-layouts-selection-list-widget-filter.component-B8y8heXR.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-selection-list-widget-view.component-BDupWZy-.mjs +0 -48
- package/fesm2022/acorex-platform-layouts-selection-list-widget-view.component-BDupWZy-.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-signature-pad-widget-edit.component-bEDsl8mg.mjs +0 -131
- package/fesm2022/acorex-platform-layouts-signature-pad-widget-edit.component-bEDsl8mg.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-signature-pad-widget-view.component-DB903O2F.mjs +0 -44
- package/fesm2022/acorex-platform-layouts-signature-pad-widget-view.component-DB903O2F.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-string-widget-filter.component-D3ZxVk6S.mjs +0 -128
- package/fesm2022/acorex-platform-layouts-string-widget-filter.component-D3ZxVk6S.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-text-widget-column.component-D8WDAbQB.mjs +0 -49
- package/fesm2022/acorex-platform-layouts-text-widget-column.component-D8WDAbQB.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-text-widget-edit.component-BrDbNXgJ.mjs +0 -165
- package/fesm2022/acorex-platform-layouts-text-widget-edit.component-BrDbNXgJ.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-text-widget-view.component-XHN41M3T.mjs +0 -69
- package/fesm2022/acorex-platform-layouts-text-widget-view.component-XHN41M3T.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-toggle-widget-column.component-BjIyTuZj.mjs +0 -60
- package/fesm2022/acorex-platform-layouts-toggle-widget-column.component-BjIyTuZj.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-toggle-widget-edit.component-BKbBile6.mjs +0 -28
- package/fesm2022/acorex-platform-layouts-toggle-widget-edit.component-BKbBile6.mjs.map +0 -1
- package/fesm2022/acorex-platform-layouts-toggle-widget-view.component-CyjhQSiV.mjs +0 -52
- package/fesm2022/acorex-platform-layouts-toggle-widget-view.component-CyjhQSiV.mjs.map +0 -1
- package/fesm2022/acorex-platform-schema.mjs +0 -594
- package/fesm2022/acorex-platform-schema.mjs.map +0 -1
- package/layout/README.md +0 -4
- package/layout/index.d.ts +0 -2
- package/layout/lib/builder/builder.module.d.ts +0 -23
- package/layout/lib/builder/context.service.d.ts +0 -17
- package/layout/lib/builder/index.d.ts +0 -7
- package/layout/lib/builder/widget-column-renderer.d.ts +0 -30
- package/layout/lib/builder/widget-container.d.ts +0 -13
- package/layout/lib/builder/widget-renderer.d.ts +0 -41
- package/layout/lib/builder/widget.types.d.ts +0 -55
- package/layouts/lib/admin/admin-child-layout/admin-child-features-list.component.d.ts +0 -22
- package/layouts/lib/admin/admin-child-layout/admin-child-layout.component.d.ts +0 -21
- package/layouts/lib/admin/admin-child-layout/admin-child-layout.module.d.ts +0 -17
- package/layouts/lib/admin/admin-child-layout/index.d.ts +0 -3
- package/layouts/lib/admin/admin-root-layout/admin-root-layout.component.d.ts +0 -30
- package/layouts/lib/admin/admin-root-layout/admin-root-layout.module.d.ts +0 -25
- package/layouts/lib/admin/admin-root-layout/components/admin-footer/admin-footer.component.d.ts +0 -5
- package/layouts/lib/admin/admin-root-layout/components/admin-header/admin-header.component.d.ts +0 -10
- package/layouts/lib/admin/admin-root-layout/index.d.ts +0 -4
- package/layouts/lib/admin/store/admin-layout.selectors.d.ts +0 -5
- package/layouts/lib/layout.routes.d.ts +0 -2
- package/layouts/lib/shared/components/content-view/content-view.page.d.ts +0 -23
- package/layouts/lib/shared/components/content-view/content-view.type.d.ts +0 -16
- package/layouts/lib/shared/components/error-401/error-401.component.d.ts +0 -10
- package/layouts/lib/shared/components/error-404/error-404.component.d.ts +0 -8
- package/layouts/lib/shared/components/error-offline/error-offline.component.d.ts +0 -9
- package/layouts/lib/shared/components/index.d.ts +0 -9
- package/layouts/lib/shared/components/slots/navbar-slot.component.d.ts +0 -10
- package/layouts/lib/shared/entity/entity.class.d.ts +0 -153
- package/layouts/lib/shared/index.d.ts +0 -4
- package/layouts/lib/shared/services/index.d.ts +0 -1
- package/layouts/lib/shared/workflows/common.workflow.d.ts +0 -61
- package/layouts/lib/shared/workflows/error-handler.d.ts +0 -8
- package/layouts/lib/themes/default/entity-layouts/entity-details-view/entity-details-view.component.d.ts +0 -11
- package/layouts/lib/themes/default/entity-layouts/entity-details.viewmodel.d.ts +0 -34
- package/layouts/lib/themes/default/index.d.ts +0 -2
- package/layouts/lib/widgets/avatar/avatar-widget-edit.component.d.ts +0 -16
- package/layouts/lib/widgets/avatar/avatar-widget-view.component.d.ts +0 -13
- package/layouts/lib/widgets/checkbox/checkbox-widget-column.component.d.ts +0 -11
- package/layouts/lib/widgets/checkbox/checkbox-widget-edit.component.d.ts +0 -6
- package/layouts/lib/widgets/checkbox/checkbox-widget-view.component.d.ts +0 -11
- package/layouts/lib/widgets/common-widget-filter/boolean-widget-filter.component.d.ts +0 -17
- package/layouts/lib/widgets/common-widget-filter/number-widget-filter.component.d.ts +0 -11
- package/layouts/lib/widgets/common-widget-filter/string-widget-filter.component.d.ts +0 -11
- package/layouts/lib/widgets/common-widgets.module.d.ts +0 -32
- package/layouts/lib/widgets/dateTime/dateTime-widget-column.component.d.ts +0 -11
- package/layouts/lib/widgets/dateTime/dateTime-widget-edit.component.d.ts +0 -26
- package/layouts/lib/widgets/dateTime/dateTime-widget-filter.component.d.ts +0 -16
- package/layouts/lib/widgets/dateTime/dateTime-widget-view.component.d.ts +0 -11
- package/layouts/lib/widgets/email/email-widget-column.component.d.ts +0 -16
- package/layouts/lib/widgets/email/email-widget-edit.component.d.ts +0 -28
- package/layouts/lib/widgets/email/email-widget-view.component.d.ts +0 -16
- package/layouts/lib/widgets/file/file-widget-column.component.d.ts +0 -8
- package/layouts/lib/widgets/file/file-widget-edit.component.d.ts +0 -17
- package/layouts/lib/widgets/file/file-widget-filter.component.d.ts +0 -6
- package/layouts/lib/widgets/file/file-widget-view.component.d.ts +0 -17
- package/layouts/lib/widgets/gallery/gallery-widget-edit.component.d.ts +0 -15
- package/layouts/lib/widgets/gallery/gallery-widget-filter.component.d.ts +0 -6
- package/layouts/lib/widgets/gallery/gallery-widget-view.component.d.ts +0 -16
- package/layouts/lib/widgets/lookup/lookup-widget-column.component.d.ts +0 -16
- package/layouts/lib/widgets/lookup/lookup-widget-edit.component.d.ts +0 -15
- package/layouts/lib/widgets/lookup/lookup-widget-filter.component.d.ts +0 -16
- package/layouts/lib/widgets/lookup/lookup-widget-view.component.d.ts +0 -17
- package/layouts/lib/widgets/map/map-widget-edit.component.d.ts +0 -15
- package/layouts/lib/widgets/map/map-widget-view.component.d.ts +0 -17
- package/layouts/lib/widgets/messenger/messenger-widget-column.component.d.ts +0 -15
- package/layouts/lib/widgets/messenger/messenger-widget-edit.component.d.ts +0 -14
- package/layouts/lib/widgets/messenger/messenger-widget-view.component.d.ts +0 -17
- package/layouts/lib/widgets/number/number-widget-edit.component.d.ts +0 -7
- package/layouts/lib/widgets/number/number-widget-view.component.d.ts +0 -8
- package/layouts/lib/widgets/password/password-widget-column.component.d.ts +0 -14
- package/layouts/lib/widgets/password/password-widget-edit.component.d.ts +0 -6
- package/layouts/lib/widgets/password/password-widget-view.component.d.ts +0 -18
- package/layouts/lib/widgets/phone/phone-widget-column.component.d.ts +0 -15
- package/layouts/lib/widgets/phone/phone-widget-edit.component.d.ts +0 -29
- package/layouts/lib/widgets/phone/phone-widget-view.component.d.ts +0 -18
- package/layouts/lib/widgets/rich-text/rich-text-widget-column.component.d.ts +0 -11
- package/layouts/lib/widgets/rich-text/rich-text-widget-edit.component.d.ts +0 -33
- package/layouts/lib/widgets/rich-text/rich-text-widget-view.component.d.ts +0 -10
- package/layouts/lib/widgets/selection-list/selection-list-widget-column.component.d.ts +0 -16
- package/layouts/lib/widgets/selection-list/selection-list-widget-edit.component.d.ts +0 -12
- package/layouts/lib/widgets/selection-list/selection-list-widget-filter.component.d.ts +0 -9
- package/layouts/lib/widgets/selection-list/selection-list-widget-view.component.d.ts +0 -15
- package/layouts/lib/widgets/signature-pad/signature-pad-widget-edit.component.d.ts +0 -19
- package/layouts/lib/widgets/signature-pad/signature-pad-widget-view.component.d.ts +0 -8
- package/layouts/lib/widgets/text/largetext-widget-edit.component.d.ts +0 -6
- package/layouts/lib/widgets/text/text-widget-column.component.d.ts +0 -12
- package/layouts/lib/widgets/text/text-widget-edit.component.d.ts +0 -23
- package/layouts/lib/widgets/text/text-widget-view.component.d.ts +0 -11
- package/layouts/lib/widgets/toggle/toggle-widget-column.component.d.ts +0 -11
- package/layouts/lib/widgets/toggle/toggle-widget-edit.component.d.ts +0 -6
- package/layouts/lib/widgets/toggle/toggle-widget-view.component.d.ts +0 -11
- package/schema/README.md +0 -3
- package/schema/index.d.ts +0 -11
- package/schema/lib/operators.d.ts +0 -22
- package/schema/lib/schema.types.d.ts +0 -16
- package/schema/lib/widget/widget-base.d.ts +0 -45
- package/schema/lib/widget/widget-token.d.ts +0 -16
- /package/{core → common}/lib/app/operators.d.ts +0 -0
- /package/{core → common}/lib/configs/config.types.d.ts +0 -0
- /package/{layout/lib → common/lib/layout}/component-slot/component-slot-loader.service.d.ts +0 -0
- /package/{layout/lib → common/lib/layout}/component-slot/component-slot-registery.service.d.ts +0 -0
- /package/{layout/lib → common/lib/layout}/component-slot/component-slot.directive.d.ts +0 -0
- /package/{layout/lib → common/lib/layout}/component-slot/component-slot.module.d.ts +0 -0
- /package/{layout/lib → common/lib/layout}/component-slot/component-slot.types.d.ts +0 -0
- /package/{layout/lib → common/lib/layout}/component-slot/index.d.ts +0 -0
- /package/{layouts/lib/shared/services → common/lib/layout}/layout.service.d.ts +0 -0
- /package/{layouts/lib/shared/components → common/lib/layout}/logo/logo.component.d.ts +0 -0
- /package/common/lib/{shared → layout/logo}/logo.types.d.ts +0 -0
- /package/common/lib/{menu → layout/menu}/index.d.ts +0 -0
- /package/common/lib/{menu → layout/menu}/menu.loader.d.ts +0 -0
- /package/common/lib/{menu → layout/menu}/menu.types.d.ts +0 -0
- /package/{layouts/lib/shared → common/lib/layout/theme}/components/slots/footer-text-slot.component.d.ts +0 -0
- /package/{layouts/lib/shared → common/lib/layout/theme}/components/slots/theme-slot.component.d.ts +0 -0
- /package/{layouts/lib/admin → common/lib/layout/theme}/store/admin-layout.actions.d.ts +0 -0
- /package/{layouts/lib/admin → common/lib/layout/theme}/store/admin-layout.effects.d.ts +0 -0
- /package/{layouts/lib/admin → common/lib/layout/theme}/store/admin-layout.reducers.d.ts +0 -0
- /package/{layouts/lib/admin → common/lib/layout/theme}/store/admin-layout.state.d.ts +0 -0
- /package/{layouts/lib/admin → common/lib/layout/theme}/store/index.d.ts +0 -0
- /package/{schema/lib → common/lib/schema}/component-loader.d.ts +0 -0
- /package/{layouts/lib/shared → common/lib/schema}/entity/entity-registery.service.d.ts +0 -0
- /package/{layouts/lib/shared → common/lib/schema}/entity/entity.loader.d.ts +0 -0
- /package/{layouts/lib/shared → common/lib/schema}/entity/index.d.ts +0 -0
- /package/{schema/lib → common/lib/schema}/formats.d.ts +0 -0
- /package/{schema/lib → common/lib/schema}/schema-registery.service.d.ts +0 -0
- /package/{schema/lib → common/lib/schema}/schema.module.d.ts +0 -0
- /package/{schema/lib → common/lib/schema}/widget/widget-column-renderer.d.ts +0 -0
- /package/{schema/lib → common/lib/schema}/widget/widget-filter-renderer.d.ts +0 -0
- /package/{schema/lib → common/lib/schema}/widget/widget-renderer.d.ts +0 -0
- /package/{layouts/lib → common/lib/schema}/widgets/gallery/gallery-widget-types.d.ts +0 -0
- /package/{layouts/lib → common/lib/schema}/widgets/index.d.ts +0 -0
- /package/{layouts/lib → common/lib/schema}/widgets/password/change-password.component.d.ts +0 -0
- /package/{layouts/lib/shared → common/lib}/workflows/index.d.ts +0 -0
- /package/layout/{lib → builder/lib}/builder/widget-registery.service.d.ts +0 -0
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { Injectable } from '@angular/core';
|
|
2
|
+
import { BehaviorSubject, timer } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class AXPLayoutService {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.minimumDisplayTime = 500; // milliseconds
|
|
7
|
+
//
|
|
8
|
+
this.navigationLoadingSubject = new BehaviorSubject(false);
|
|
9
|
+
this.navigationLoadingTaskCount = 0;
|
|
10
|
+
this.navigationLoadingStateActive = false;
|
|
11
|
+
//
|
|
12
|
+
this.overlayLoadingSubject = new BehaviorSubject(false);
|
|
13
|
+
this.overlayLoadingTaskCount = 0;
|
|
14
|
+
this.overlayLoadingStateActive = false;
|
|
15
|
+
}
|
|
16
|
+
get navigationLoading$() {
|
|
17
|
+
return this.navigationLoadingSubject.asObservable();
|
|
18
|
+
}
|
|
19
|
+
setNavigationLoading(value) {
|
|
20
|
+
if (value) {
|
|
21
|
+
this.navigationLoadingTaskCount++;
|
|
22
|
+
this.updateNavigationLoadingState(true);
|
|
23
|
+
}
|
|
24
|
+
else {
|
|
25
|
+
if (this.navigationLoadingTaskCount > 0) {
|
|
26
|
+
this.navigationLoadingTaskCount--;
|
|
27
|
+
}
|
|
28
|
+
if (this.navigationLoadingTaskCount === 0) {
|
|
29
|
+
// Start timer to keep loading state for minimum display time
|
|
30
|
+
timer(this.minimumDisplayTime).subscribe(() => {
|
|
31
|
+
if (this.navigationLoadingTaskCount === 0) {
|
|
32
|
+
this.updateNavigationLoadingState(false);
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
updateNavigationLoadingState(state) {
|
|
39
|
+
if (state !== this.navigationLoadingStateActive) {
|
|
40
|
+
this.navigationLoadingStateActive = state;
|
|
41
|
+
this.navigationLoadingSubject.next(state);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
get overlayLoading$() {
|
|
45
|
+
return this.overlayLoadingSubject.asObservable();
|
|
46
|
+
}
|
|
47
|
+
setOverlayLoading(value) {
|
|
48
|
+
if (value) {
|
|
49
|
+
this.overlayLoadingTaskCount++;
|
|
50
|
+
this.updateOverlayLoadingState(true);
|
|
51
|
+
}
|
|
52
|
+
else {
|
|
53
|
+
if (this.overlayLoadingTaskCount > 0) {
|
|
54
|
+
this.overlayLoadingTaskCount--;
|
|
55
|
+
}
|
|
56
|
+
if (this.overlayLoadingTaskCount === 0) {
|
|
57
|
+
// Start timer to keep loading state for minimum display time
|
|
58
|
+
timer(this.minimumDisplayTime).subscribe(() => {
|
|
59
|
+
if (this.overlayLoadingTaskCount === 0) {
|
|
60
|
+
this.updateOverlayLoadingState(false);
|
|
61
|
+
}
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
updateOverlayLoadingState(state) {
|
|
67
|
+
if (state !== this.overlayLoadingStateActive) {
|
|
68
|
+
this.overlayLoadingStateActive = state;
|
|
69
|
+
this.overlayLoadingSubject.next(state);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPLayoutService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
73
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPLayoutService, providedIn: 'root' }); }
|
|
74
|
+
}
|
|
75
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPLayoutService, decorators: [{
|
|
76
|
+
type: Injectable,
|
|
77
|
+
args: [{ providedIn: 'root' }]
|
|
78
|
+
}] });
|
|
79
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGF5b3V0LnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3BsYXRmb3JtL2NvbW1vbi9zcmMvbGliL2xheW91dC9sYXlvdXQuc2Vydmlj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XG4gICAgc2V0T3ZlcmxheUxvYWRpbmcodmFsdWU6IGJvb2xlYW4pIHtcclxuICAgICAgICBpZiAodmFsdWUpIHtcclxuICAgICAgICAgICAgdGhpcy5vdmVybGF5TG9hZGluZ1Rhc2tDb3VudCsrO1xyXG4gICAgICAgICAgICB0aGlzLnVwZGF0ZU92ZXJsYXlMb2FkaW5nU3RhdGUodHJ1ZSk7XHJcbiAgICAgICAgfSBlbHNlIHtcclxuICAgICAgICAgICAgaWYgKHRoaXMub3ZlcmxheUxvYWRpbmdUYXNrQ291bnQgPiAwKSB7XHJcbiAgICAgICAgICAgICAgICB0aGlzLm92ZXJsYXlMb2FkaW5nVGFza0NvdW50LS07XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgaWYgKHRoaXMub3ZlcmxheUxvYWRpbmdUYXNrQ291bnQgPT09IDApIHtcclxuICAgICAgICAgICAgICAgIC8vIFN0YXJ0IHRpbWVyIHRvIGtlZXAgbG9hZGluZyBzdGF0ZSBmb3IgbWluaW11bSBkaXNwbGF5IHRpbWVcclxuICAgICAgICAgICAgICAgIHRpbWVyKHRoaXMubWluaW11bURpc3BsYXlUaW1lKS5zdWJzY3JpYmUoKCkgPT4ge1xyXG4gICAgICAgICAgICAgICAgICAgIGlmICh0aGlzLm92ZXJsYXlMb2FkaW5nVGFza0NvdW50ID09PSAwKSB7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMudXBkYXRlT3ZlcmxheUxvYWRpbmdTdGF0ZShmYWxzZSk7XHJcbiAgICAgICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgfSk7XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICB9XHJcbiAgICB9XHJcblxyXG4gICAgcHJpdmF0ZSB1cGRhdGVPdmVybGF5TG9hZGluZ1N0YXRlKHN0YXRlOiBib29sZWFuKSB7XHJcbiAgICAgICAgaWYgKHN0YXRlICE9PSB0aGlzLm92ZXJsYXlMb2FkaW5nU3RhdGVBY3RpdmUpIHtcclxuICAgICAgICAgICAgdGhpcy5vdmVybGF5TG9hZGluZ1N0YXRlQWN0aXZlID0gc3RhdGU7XHJcbiAgICAgICAgICAgIHRoaXMub3ZlcmxheUxvYWRpbmdTdWJqZWN0Lm5leHQoc3RhdGUpO1xyXG4gICAgICAgIH1cclxuICAgIH1cclxufSJdfQ==
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './logo.component';
|
|
2
|
+
export * from './logo.types';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3BsYXRmb3JtL2NvbW1vbi9zcmMvbGliL2xheW91dC9sb2dvL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsa0JBQWtCLENBQUM7QUFDakMsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2xvZ28uY29tcG9uZW50JztcclxuZXhwb3J0ICogZnJvbSAnLi9sb2dvLnR5cGVzJzsiXX0=
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { AXDecoratorModule } from '@acorex/components/decorators';
|
|
2
|
+
import { AXImageModule } from '@acorex/components/image';
|
|
3
|
+
import { CommonModule } from '@angular/common';
|
|
4
|
+
import { Component, Input } from '@angular/core';
|
|
5
|
+
import { AXPComponentLogoConfig, AXPFontIconLogoConfig, AXPImageUrlLogoConfig, AXPTextLogoConfig } from './logo.types';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
import * as i1 from "@angular/common";
|
|
8
|
+
import * as i2 from "@acorex/components/image";
|
|
9
|
+
import * as i3 from "@acorex/components/decorators";
|
|
10
|
+
export class AXPLogoComponent {
|
|
11
|
+
ngOnInit() {
|
|
12
|
+
switch (true) {
|
|
13
|
+
case this.source instanceof AXPTextLogoConfig:
|
|
14
|
+
this.logoType = 'text';
|
|
15
|
+
break;
|
|
16
|
+
case this.source instanceof AXPImageUrlLogoConfig:
|
|
17
|
+
this.logoType = 'url';
|
|
18
|
+
break;
|
|
19
|
+
case this.source instanceof AXPFontIconLogoConfig:
|
|
20
|
+
this.logoType = 'iconClass';
|
|
21
|
+
break;
|
|
22
|
+
case this.source instanceof AXPComponentLogoConfig:
|
|
23
|
+
this.logoType = 'component';
|
|
24
|
+
break;
|
|
25
|
+
default:
|
|
26
|
+
break;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPLogoComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
30
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.2", type: AXPLogoComponent, isStandalone: true, selector: "axp-logo", inputs: { source: "source" }, host: { classAttribute: "ax-flex ax-justify-center" }, ngImport: i0, template: "@switch (logoType) {\r\n@case ('text') {\r\n<span class=\"ax-font-bold ax-select-none\">{{ source.text }}</span>\r\n}\r\n@case ('url') {\r\n<ax-image [src]=\"source.url\"></ax-image>\r\n} @case ('iconClass') {\r\n<ax-icon class=\"{{ source.classIcon }}\"></ax-icon>\r\n} @case ('component') {\r\n<ng-container *ngComponentOutlet=\"source.component\"></ng-container>\r\n}\r\n}", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"] }, { kind: "ngmodule", type: AXImageModule }, { kind: "component", type: i2.AXImageComponent, selector: "ax-image", inputs: ["overlayMode", "src", "alt", "priority", "lazy"], outputs: ["onLoad", "onError"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }] }); }
|
|
31
|
+
}
|
|
32
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPLogoComponent, decorators: [{
|
|
33
|
+
type: Component,
|
|
34
|
+
args: [{ selector: 'axp-logo', standalone: true, imports: [CommonModule, AXImageModule, AXDecoratorModule], host: { 'class': 'ax-flex ax-justify-center' }, template: "@switch (logoType) {\r\n@case ('text') {\r\n<span class=\"ax-font-bold ax-select-none\">{{ source.text }}</span>\r\n}\r\n@case ('url') {\r\n<ax-image [src]=\"source.url\"></ax-image>\r\n} @case ('iconClass') {\r\n<ax-icon class=\"{{ source.classIcon }}\"></ax-icon>\r\n} @case ('component') {\r\n<ng-container *ngComponentOutlet=\"source.component\"></ng-container>\r\n}\r\n}" }]
|
|
35
|
+
}], propDecorators: { source: [{
|
|
36
|
+
type: Input
|
|
37
|
+
}] } });
|
|
38
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9nby5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3BsYXRmb3JtL2NvbW1vbi9zcmMvbGliL2xheW91dC9sb2dvL2xvZ28uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9wbGF0Zm9ybS9jb21tb24vc3JjL2xpYi9sYXlvdXQvbG9nby9sb2dvLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLCtCQUErQixDQUFDO0FBQ2xFLE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQztBQUV6RCxPQUFPLEVBQUUsWUFB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lciAqbmdDb21wb25lbnRPdXRsZXQ9XCJzb3VyY2UuY29tcG9uZW50XCI+PC9uZy1jb250YWluZXI+XHJcbn1cclxufSJdfQ==
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export class AXPTextLogoConfig {
|
|
2
|
+
constructor(text) {
|
|
3
|
+
this.text = text;
|
|
4
|
+
}
|
|
5
|
+
}
|
|
6
|
+
export class AXPImageUrlLogoConfig {
|
|
7
|
+
constructor(url) {
|
|
8
|
+
this.url = url;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
export class AXPFontIconLogoConfig {
|
|
12
|
+
constructor(iconClass) {
|
|
13
|
+
this.iconClass = iconClass;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export class AXPComponentLogoConfig {
|
|
17
|
+
constructor(component) {
|
|
18
|
+
this.component = component;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9nby50eXBlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvcGxhdGZvcm0vY29tbW9uL3NyYy9saWIvbGF5b3V0L2xvZ28vbG9nby50eXBlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFHQSxNQUFNLE9BQU8saUJBQWlCO0lBQzVCLFlBQW1CLElBQVk7UUFBWixTQUFJLEdBQUosSUFBSSxDQUFRO0lBQUcsQ0FBQztDQUNwQztBQUNELE1BQU0sT0FBTyxxQkFBcUI7SUFDaEMsWUFBbUIsR0FBVztRQUFYLFFBQUcsR0FBSCxHQUFHLENBQVE7SUFBRyxDQUFDO0NBQ25DO0FBQ0QsTUFBTSxPQUFPLHFCQUFxQjtJQUNoQyxZQUFtQixTQUFvQjtRQUFwQixjQUFTLEdBQVQsU0FBUyxDQUFXO0lBQUcsQ0FBQztDQUM1QztBQUVELE1BQU0sT0FBTyxzQkFBc0I7SUFDakMsWUFBbUIsU0FBb0I7UUFBcEIsY0FBUyxHQUFULFNBQVMsQ0FBVztJQUFHLENBQUM7Q0FDNUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBUeXBlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcblxyXG5leHBvcnQgaW50ZXJmYWNlIEFYUExvZ29Db25maWcge31cclxuZXhwb3J0IGNsYXNzIEFYUFRleHRMb2dvQ29uZmlnIGltcGxlbWVudHMgQVhQTG9nb0NvbmZpZyB7XHJcbiAgY29uc3RydWN0b3IocHVibGljIHRleHQ6IHN0cmluZykge31cclxufVxyXG5leHBvcnQgY2xhc3MgQVhQSW1hZ2VVcmxMb2dvQ29uZmlnIGltcGxlbWVudHMgQVhQTG9nb0NvbmZpZyB7XHJcbiAgY29uc3RydWN0b3IocHVibGljIHVybDogc3RyaW5nKSB7fVxyXG59XHJcbmV4cG9ydCBjbGFzcyBBWFBGb250SWNvbkxvZ29Db25maWcgaW1wbGVtZW50cyBBWFBMb2dvQ29uZmlnIHtcclxuICBjb25zdHJ1Y3RvcihwdWJsaWMgaWNvbkNsYXNzOiBUeXBlPGFueT4pIHt9XHJcbn1cclxuXHJcbmV4cG9ydCBjbGFzcyBBWFBDb21wb25lbnRMb2dvQ29uZmlnIGltcGxlbWVudHMgQVhQTG9nb0NvbmZpZyB7XHJcbiAgY29uc3RydWN0b3IocHVibGljIGNvbXBvbmVudDogVHlwZTxhbnk+KSB7fVxyXG59XHJcbiJdfQ==
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './menu.types';
|
|
2
|
+
export * from './menu.loader';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3BsYXRmb3JtL2NvbW1vbi9zcmMvbGliL2xheW91dC9tZW51L2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsY0FBYyxDQUFDO0FBQzdCLGNBQWMsZUFBZSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9tZW51LnR5cGVzJztcclxuZXhwb3J0ICogZnJvbSAnLi9tZW51LmxvYWRlcic7Il19
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { of } from "rxjs";
|
|
2
|
+
import { InjectionToken } from "@angular/core";
|
|
3
|
+
export const AXP_MENU_LOADER = new InjectionToken('AXP_MENU_LOADER', {
|
|
4
|
+
providedIn: 'root',
|
|
5
|
+
factory: () => {
|
|
6
|
+
return new AXMenuLoaderDefault();
|
|
7
|
+
},
|
|
8
|
+
});
|
|
9
|
+
export class AXMenuLoaderDefault {
|
|
10
|
+
/**
|
|
11
|
+
* @ignore
|
|
12
|
+
*/
|
|
13
|
+
constructor(items = []) {
|
|
14
|
+
this._items = [
|
|
15
|
+
{
|
|
16
|
+
text: 'Menu Item 1',
|
|
17
|
+
icon: 'fa-solid fa-grid-2',
|
|
18
|
+
children: [
|
|
19
|
+
{
|
|
20
|
+
text: 'Sub Menu Item 1',
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
text: 'Sub Menu Item 2',
|
|
24
|
+
},
|
|
25
|
+
],
|
|
26
|
+
},
|
|
27
|
+
];
|
|
28
|
+
if (items && items.length) {
|
|
29
|
+
this._items = items;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
currentMenuItem() {
|
|
33
|
+
throw new Error("Method not implemented.");
|
|
34
|
+
}
|
|
35
|
+
getItems(depth) {
|
|
36
|
+
return of(this._items);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVudS5sb2FkZXIuanMiLCJzb3VyY2VSb290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mYS1ncmlkLTInLFxyXG4gICAgICAgICAgICBjaGlsZHJlbjogW1xyXG4gICAgICAgICAgICAgICAge1xyXG4gICAgICAgICAgICAgICAgICAgIHRleHQ6ICdTdWIgTWVudSBJdGVtIDEnLFxyXG4gICAgICAgICAgICAgICAgfSxcclxuICAgICAgICAgICAgICAgIHtcclxuICAgICAgICAgICAgICAgICAgICB0ZXh0OiAnU3ViIE1lbnUgSXRlbSAyJyxcclxuICAgICAgICAgICAgICAgIH0sXHJcbiAgICAgICAgICAgIF0sXHJcbiAgICAgICAgfSxcclxuICAgIF1cclxuXHJcbiAgICAvKipcclxuICAgICAqIEBpZ25vcmVcclxuICAgICAqL1xyXG4gICAgY29uc3RydWN0b3IoaXRlbXM6IEFYUE1lbnVJdGVtW10gPSBbXSkge1xyXG4gICAgICAgIGlmIChpdGVtcyAmJiBpdGVtcy5sZW5ndGgpIHtcclxuICAgICAgICAgICAgdGhpcy5faXRlbXMgPSBpdGVtcztcclxuICAgICAgICB9XHJcbiAgICB9XHJcbiAgICBjdXJyZW50TWVudUl0ZW0oKTogQVhQTWVudUl0ZW0gfCBudWxsIHtcclxuICAgICAgICB0aHJvdyBuZXcgRXJyb3IoXCJNZXRob2Qgbm90IGltcGxlbWVudGVkLlwiKTtcclxuICAgIH1cclxuXHJcbiAgICBnZXRJdGVtcyhkZXB0aD86IG51bWJlciB8IG51bGwpOiBPYnNlcnZhYmxlPEFYUE1lbnVJdGVtW10+IHtcclxuICAgICAgICByZXR1cm4gb2YodGhpcy5faXRlbXMpO1xyXG4gICAgfVxyXG59XHJcbiJdfQ==
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVudS50eXBlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvcGxhdGZvcm0vY29tbW9uL3NyYy9saWIvbGF5b3V0L21lbnUvbWVudS50eXBlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQWN0aW9uIH0gZnJvbSBcIkBuZ3J4L3N0b3JlXCI7XHJcblxyXG5leHBvcnQgaW50ZXJmYWNlIEFYUE1lbnVJdGVtIHtcclxuICAgIHRleHQ6IHN0cmluZztcclxuICAgIHR5cGU/OiAnbWVudScgfCAnZ3JvdXAnLFxyXG4gICAgbmFtZT86IHN0cmluZztcclxuICAgIGljb24/OiBzdHJpbmc7XHJcbiAgICBvcGVuZWQ/OiBib29sZWFuO1xyXG4gICAgY2hpbGRyZW4/OiBBWFBNZW51SXRlbVtdO1xyXG4gICAgcGFyZW50PzogQVhQTWVudUl0ZW07XHJcbiAgICBwYXRoPzogc3RyaW5nLFxyXG4gICAgY29tbWFuZD86IEFjdGlvbjtcclxuICAgIGRhdGE/OiBhbnk7XHJcbn1cclxuXHJcbiJdfQ==
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { ChangeDetectorRef, Directive, ElementRef, EventEmitter, Input, NgZone, Output, Renderer2 } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class AXPStickyDirective {
|
|
4
|
+
get isSticky() {
|
|
5
|
+
return this._isSticky;
|
|
6
|
+
}
|
|
7
|
+
set isSticky(v) {
|
|
8
|
+
this._isSticky = v;
|
|
9
|
+
this.isStickyChange.emit(v);
|
|
10
|
+
}
|
|
11
|
+
constructor(element, renderer, zone, cdr) {
|
|
12
|
+
this.element = element;
|
|
13
|
+
this.renderer = renderer;
|
|
14
|
+
this.zone = zone;
|
|
15
|
+
this.cdr = cdr;
|
|
16
|
+
this.stickyOffset = 100;
|
|
17
|
+
this.isStickyChange = new EventEmitter();
|
|
18
|
+
this._isSticky = false;
|
|
19
|
+
this.onParentScroll = () => {
|
|
20
|
+
this.zone.runOutsideAngular(() => {
|
|
21
|
+
const scrollPosition = this.parentElement === window ?
|
|
22
|
+
window.scrollY :
|
|
23
|
+
this.parentElement.scrollTop + this.targetElement.offsetTop;
|
|
24
|
+
if (scrollPosition - this.stickyOffset >= this.topOffset && !this.isSticky) {
|
|
25
|
+
this.stickyClass.split(' ').forEach(c => {
|
|
26
|
+
this.renderer.addClass(this.targetElement, c);
|
|
27
|
+
});
|
|
28
|
+
this.isSticky = true;
|
|
29
|
+
this.cdr.markForCheck();
|
|
30
|
+
}
|
|
31
|
+
else if (scrollPosition <= this.topOffset && this.isSticky) {
|
|
32
|
+
this.stickyClass.split(' ').forEach(c => {
|
|
33
|
+
this.renderer.removeClass(this.targetElement, c);
|
|
34
|
+
});
|
|
35
|
+
this.isSticky = false;
|
|
36
|
+
this.cdr.markForCheck();
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
ngOnInit() {
|
|
42
|
+
if (this.stickyParent instanceof HTMLElement) {
|
|
43
|
+
this.parentElement = this.stickyParent;
|
|
44
|
+
}
|
|
45
|
+
else {
|
|
46
|
+
this.parentElement = document.querySelector(this.stickyParent) || window;
|
|
47
|
+
}
|
|
48
|
+
this.targetElement = document.querySelector(this.stickyTarget) || this.element.nativeElement;
|
|
49
|
+
this.topOffset = this.targetElement.offsetTop;
|
|
50
|
+
this.parentElement.addEventListener('scroll', this.onParentScroll.bind(this));
|
|
51
|
+
}
|
|
52
|
+
ngOnDestroy() {
|
|
53
|
+
this.parentElement.removeEventListener('scroll', this.onParentScroll);
|
|
54
|
+
}
|
|
55
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPStickyDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
56
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.2", type: AXPStickyDirective, isStandalone: true, selector: "[axpSticky]", inputs: { stickyClass: ["axpSticky", "stickyClass"], stickyOffset: "stickyOffset", stickyParent: "stickyParent", stickyTarget: "stickyTarget" }, outputs: { isStickyChange: "isStickyChange" }, exportAs: ["axpSticky"], ngImport: i0 }); }
|
|
57
|
+
}
|
|
58
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPStickyDirective, decorators: [{
|
|
59
|
+
type: Directive,
|
|
60
|
+
args: [{
|
|
61
|
+
selector: '[axpSticky]',
|
|
62
|
+
exportAs: 'axpSticky',
|
|
63
|
+
standalone: true
|
|
64
|
+
}]
|
|
65
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }], propDecorators: { stickyClass: [{
|
|
66
|
+
type: Input,
|
|
67
|
+
args: ['axpSticky']
|
|
68
|
+
}], stickyOffset: [{
|
|
69
|
+
type: Input,
|
|
70
|
+
args: ['stickyOffset']
|
|
71
|
+
}], isStickyChange: [{
|
|
72
|
+
type: Output
|
|
73
|
+
}], stickyParent: [{
|
|
74
|
+
type: Input
|
|
75
|
+
}], stickyTarget: [{
|
|
76
|
+
type: Input
|
|
77
|
+
}] } });
|
|
78
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RpY2t5LmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvcGxhdGZvcm0vY29tbW9uL3NyYy9saWIvbGF5b3V0L3N0aWNreS5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGlCQUFpQixFQUFFLFNBQVMsRUFBRSxVQUFVLEVBQUUsWUFBWSxFQUFFLEtBQUssRUFBRSxNQUFNL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ywgdGhpcy5vblBhcmVudFNjcm9sbC5iaW5kKHRoaXMpKTtcclxuICAgIH1cclxuXHJcbiAgICBwcml2YXRlIG9uUGFyZW50U2Nyb2xsID0gKCk6IHZvaWQgPT4ge1xyXG4gICAgICAgIHRoaXMuem9uZS5ydW5PdXRzaWRlQW5ndWxhcigoKSA9PiB7XHJcbiAgICAgICAgICAgIGNvbnN0IHNjcm9sbFBvc2l0aW9uID0gdGhpcy5wYXJlbnRFbGVtZW50ID09PSB3aW5kb3cgP1xyXG4gICAgICAgICAgICAgICAgd2luZG93LnNjcm9sbFkgOlxyXG4gICAgICAgICAgICAgICAgKHRoaXMucGFyZW50RWxlbWVudCBhcyBIVE1MRWxlbWVudCkuc2Nyb2xsVG9wICsgdGhpcy50YXJnZXRFbGVtZW50Lm9mZnNldFRvcDtcclxuXHJcbiAgICAgICAgICAgIGlmIChzY3JvbGxQb3NpdGlvbiAtIHRoaXMuc3RpY2t5T2Zmc2V0ID49IHRoaXMudG9wT2Zmc2V0ICYmICF0aGlzLmlzU3RpY2t5KSB7XHJcbiAgICAgICAgICAgICAgICB0aGlzLnN0aWNreUNsYXNzLnNwbGl0KCcgJykuZm9yRWFjaChjID0+IHtcclxuICAgICAgICAgICAgICAgICAgICB0aGlzLnJlbmRlcmVyLmFkZENsYXNzKHRoaXMudGFyZ2V0RWxlbWVudCwgYyk7XHJcbiAgICAgICAgICAgICAgICB9KVxyXG4gICAgICAgICAgICAgICAgdGhpcy5pc1N0aWNreSA9IHRydWU7XHJcbiAgICAgICAgICAgICAgICB0aGlzLmNkci5tYXJrRm9yQ2hlY2soKTtcclxuICAgICAgICAgICAgfSBlbHNlIGlmIChzY3JvbGxQb3NpdGlvbiA8PSB0aGlzLnRvcE9mZnNldCAmJiB0aGlzLmlzU3RpY2t5KSB7XHJcbiAgICAgICAgICAgICAgICB0aGlzLnN0aWNreUNsYXNzLnNwbGl0KCcgJykuZm9yRWFjaChjID0+IHtcclxuICAgICAgICAgICAgICAgICAgICB0aGlzLnJlbmRlcmVyLnJlbW92ZUNsYXNzKHRoaXMudGFyZ2V0RWxlbWVudCwgYyk7XHJcbiAgICAgICAgICAgICAgICB9KTtcclxuICAgICAgICAgICAgICAgIHRoaXMuaXNTdGlja3kgPSBmYWxzZTtcclxuICAgICAgICAgICAgICAgIHRoaXMuY2RyLm1hcmtGb3JDaGVjaygpO1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgfSk7XHJcbiAgICB9XHJcblxyXG4gICAgbmdPbkRlc3Ryb3koKSB7XHJcbiAgICAgICAgdGhpcy5wYXJlbnRFbGVtZW50LnJlbW92ZUV2ZW50TGlzdGVuZXIoJ3Njcm9sbCcsIHRoaXMub25QYXJlbnRTY3JvbGwpO1xyXG4gICAgfVxyXG59XHJcbiJdfQ==
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class AXPFooterTextSlotComponent {
|
|
4
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPFooterTextSlotComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.2", type: AXPFooterTextSlotComponent, isStandalone: true, selector: "ng-component", inputs: { text: "text" }, ngImport: i0, template: `
|
|
6
|
+
<small class="ax-text-sm ax-text-neutral-400" [innerHTML]="text"></small>
|
|
7
|
+
`, isInline: true }); }
|
|
8
|
+
}
|
|
9
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPFooterTextSlotComponent, decorators: [{
|
|
10
|
+
type: Component,
|
|
11
|
+
args: [{
|
|
12
|
+
template: `
|
|
13
|
+
<small class="ax-text-sm ax-text-neutral-400" [innerHTML]="text"></small>
|
|
14
|
+
`,
|
|
15
|
+
standalone: true
|
|
16
|
+
}]
|
|
17
|
+
}], propDecorators: { text: [{
|
|
18
|
+
type: Input
|
|
19
|
+
}] } });
|
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9vdGVyLXRleHQtc2xvdC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3BsYXRmb3JtL2NvbW1vbi9zcmMvbGliL2xheW91dC90aGVtZS9jb21wb25lbnRzL3Nsb3RzL2Zvb3Rlci10ZXh0LXNsb3QuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQVFqRCxNQUFNLE9BQU8sMEJBQTBCOzhHQUExQiwwQkFBMEI7a0dBQTFCLDBCQUEwQixrR0FMM0I7O0tBRVA7OzJGQUdRLDBCQUEwQjtrQkFOdEMsU0FBUzttQkFBQztvQkFDVCxRQUFRLEVBQUU7O0tBRVA7b0JBQ0gsVUFBVSxFQUFFLElBQUk7aUJBQ2pCOzhCQUdRLElBQUk7c0JBRFYsS0FBSyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbXBvbmVudCwgSW5wdXQgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcclxuXHJcbkBDb21wb25lbnQoe1xyXG4gIHRlbXBsYXRlOiBgXHJcbiAgICAgIDxzbWFsbCBjbGFzcz1cImF4LXRleHQtc20gIGF4LXRleHQtbmV1dHJhbC00MDBcIiBbaW5uZXJIVE1MXT1cInRleHRcIj48L3NtYWxsPlxyXG4gICAgYCxcclxuICBzdGFuZGFsb25lOiB0cnVlXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBBWFBGb290ZXJUZXh0U2xvdENvbXBvbmVudCB7XHJcbiAgQElucHV0KClcclxuICBwdWJsaWMgdGV4dCE6IHN0cmluZztcclxufSJdfQ==
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export * from './footer-text-slot.component';
|
|
2
|
+
export * from './navbar-slot.component';
|
|
3
|
+
export * from './theme-slot.component';
|
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3BsYXRmb3JtL2NvbW1vbi9zcmMvbGliL2xheW91dC90aGVtZS9jb21wb25lbnRzL3Nsb3RzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsOEJBQThCLENBQUM7QUFDN0MsY0FBYyx5QkFBeUIsQ0FBQztBQUN4QyxjQUFjLHdCQUF3QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9mb290ZXItdGV4dC1zbG90LmNvbXBvbmVudCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbmF2YmFyLXNsb3QuY29tcG9uZW50JztcclxuZXhwb3J0ICogZnJvbSAnLi90aGVtZS1zbG90LmNvbXBvbmVudCc7Il19
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { Component, Input, ViewEncapsulation, inject } from '@angular/core';
|
|
3
|
+
import { Store } from '@ngrx/store';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@angular/common";
|
|
6
|
+
export class AXPNavBarSlotComponent {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.store = inject(Store);
|
|
9
|
+
}
|
|
10
|
+
handleCommand(action) {
|
|
11
|
+
if (action)
|
|
12
|
+
this.store.dispatch(action);
|
|
13
|
+
}
|
|
14
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPNavBarSlotComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
15
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.2", type: AXPNavBarSlotComponent, isStandalone: true, selector: "ng-component", inputs: { items: "items" }, ngImport: i0, template: `
|
|
16
|
+
<div class="ax-flex ax-items-center ax-justify-between ax-gap-5">
|
|
17
|
+
<a *ngFor="let link of items" (click)="handleCommand(link.command)" >{{ link.text }}</a>
|
|
18
|
+
</div>
|
|
19
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
20
|
+
}
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPNavBarSlotComponent, decorators: [{
|
|
22
|
+
type: Component,
|
|
23
|
+
args: [{
|
|
24
|
+
template: `
|
|
25
|
+
<div class="ax-flex ax-items-center ax-justify-between ax-gap-5">
|
|
26
|
+
<a *ngFor="let link of items" (click)="handleCommand(link.command)" >{{ link.text }}</a>
|
|
27
|
+
</div>
|
|
28
|
+
`,
|
|
29
|
+
standalone: true,
|
|
30
|
+
imports: [CommonModule],
|
|
31
|
+
encapsulation: ViewEncapsulation.None
|
|
32
|
+
}]
|
|
33
|
+
}], propDecorators: { items: [{
|
|
34
|
+
type: Input
|
|
35
|
+
}] } });
|
|
36
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmF2YmFyLXNsb3QuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9wbGF0Zm9ybS9jb21tb24vc3JjL2xpYi9s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BY3Rpb24sIFN0b3JlIH0gZnJvbSAnQG5ncngvc3RvcmUnO1xyXG5pbXBvcnQgeyBBWFBNZW51SXRlbSB9IGZyb20gJy4uLy4uLy4uL21lbnUnO1xyXG5cclxuQENvbXBvbmVudCh7XHJcbiAgICB0ZW1wbGF0ZTogYFxyXG4gICAgPGRpdiBjbGFzcz1cImF4LWZsZXggYXgtaXRlbXMtY2VudGVyIGF4LWp1c3RpZnktYmV0d2VlbiBheC1nYXAtNVwiPlxyXG4gICAgICAgIDxhICpuZ0Zvcj1cImxldCBsaW5rIG9mIGl0ZW1zXCIgKGNsaWNrKT1cImhhbmRsZUNvbW1hbmQobGluay5jb21tYW5kKVwiID57eyBsaW5rLnRleHQgfX08L2E+XHJcbiAgICA8L2Rpdj5cclxuICAgIGAsXHJcbiAgICBzdGFuZGFsb25lOiB0cnVlLFxyXG4gICAgaW1wb3J0czogW0NvbW1vbk1vZHVsZV0sXHJcbiAgICBlbmNhcHN1bGF0aW9uOiBWaWV3RW5jYXBzdWxhdGlvbi5Ob25lXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBBWFBOYXZCYXJTbG90Q29tcG9uZW50IHtcclxuICAgIEBJbnB1dCgpXHJcbiAgICBwdWJsaWMgaXRlbXMhOiBBWFBNZW51SXRlbVtdO1xyXG5cclxuICAgIHByaXZhdGUgc3RvcmUgPSBpbmplY3QoU3RvcmUpXHJcblxyXG4gICAgcHJvdGVjdGVkIGhhbmRsZUNvbW1hbmQoYWN0aW9uPzogQWN0aW9uKSB7XHJcbiAgICAgICAgaWYgKGFjdGlvbilcclxuICAgICAgICAgICAgdGhpcy5zdG9yZS5kaXNwYXRjaChhY3Rpb24pXHJcbiAgICB9XHJcbn0iXX0=
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { Component, inject } from '@angular/core';
|
|
2
|
+
import { Store } from '@ngrx/store';
|
|
3
|
+
import { CommonModule } from '@angular/common';
|
|
4
|
+
import { AXButtonModule } from '@acorex/components/button';
|
|
5
|
+
import { AXDecoratorModule } from '@acorex/components/decorators';
|
|
6
|
+
import { AXPLayoutThemeDarkToggleAction, isDarkTheme } from '../../store';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
import * as i1 from "@angular/common";
|
|
9
|
+
import * as i2 from "@acorex/components/button";
|
|
10
|
+
import * as i3 from "@acorex/components/decorators";
|
|
11
|
+
export class AXPThemeSlotComponent {
|
|
12
|
+
constructor() {
|
|
13
|
+
this.store = inject((Store));
|
|
14
|
+
this.isDark = this.store.select(isDarkTheme());
|
|
15
|
+
}
|
|
16
|
+
switchMode() {
|
|
17
|
+
this.store.dispatch(AXPLayoutThemeDarkToggleAction());
|
|
18
|
+
}
|
|
19
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPThemeSlotComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
20
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.2", type: AXPThemeSlotComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: `
|
|
21
|
+
<ax-button color="default" look="blank" (onClick)="switchMode()">
|
|
22
|
+
<ax-icon>
|
|
23
|
+
<i class="fa-solid fa-brightness ax-text-slate-400 dark:ax-text-slate-200" *ngIf="isDark | async"></i>
|
|
24
|
+
<i class="fa-solid fa-moon ax-text-slate-400 dark:ax-text-slate-200" *ngIf="!(isDark | async)"></i>
|
|
25
|
+
</ax-icon>
|
|
26
|
+
</ax-button>
|
|
27
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { 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"] }] }); }
|
|
28
|
+
}
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPThemeSlotComponent, decorators: [{
|
|
30
|
+
type: Component,
|
|
31
|
+
args: [{
|
|
32
|
+
template: `
|
|
33
|
+
<ax-button color="default" look="blank" (onClick)="switchMode()">
|
|
34
|
+
<ax-icon>
|
|
35
|
+
<i class="fa-solid fa-brightness ax-text-slate-400 dark:ax-text-slate-200" *ngIf="isDark | async"></i>
|
|
36
|
+
<i class="fa-solid fa-moon ax-text-slate-400 dark:ax-text-slate-200" *ngIf="!(isDark | async)"></i>
|
|
37
|
+
</ax-icon>
|
|
38
|
+
</ax-button>
|
|
39
|
+
`,
|
|
40
|
+
standalone: true,
|
|
41
|
+
imports: [
|
|
42
|
+
CommonModule,
|
|
43
|
+
AXButtonModule,
|
|
44
|
+
AXDecoratorModule
|
|
45
|
+
]
|
|
46
|
+
}]
|
|
47
|
+
}] });
|
|
48
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGhlbWUtc2xvdC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3BsYXRmb3JtL2NvbW1vbi9zcmMvbGliL2xheW91dC90aGVtZS9jb21wb25lbnRzL3Nsb3RzL3RoZW1lLXNsb3QuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ2xELE9BQU8sRUFBRSxLQUFLLE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gICAgICBBWERlY29yYXRvck1vZHVsZVxyXG4gICAgXVxyXG59KVxyXG5leHBvcnQgY2xhc3MgQVhQVGhlbWVTbG90Q29tcG9uZW50IHtcclxuXHJcbiAgICBwcml2YXRlIHN0b3JlID0gaW5qZWN0KFN0b3JlPEFYUEFkbWluTGF5b3V0U3RhdGU+KTtcclxuXHJcbiAgICBwcm90ZWN0ZWQgaXNEYXJrID0gdGhpcy5zdG9yZS5zZWxlY3QoaXNEYXJrVGhlbWUoKSk7XHJcblxyXG4gICAgcHJvdGVjdGVkIHN3aXRjaE1vZGUoKSB7XHJcbiAgICAgICAgdGhpcy5zdG9yZS5kaXNwYXRjaChBWFBMYXlvdXRUaGVtZURhcmtUb2dnbGVBY3Rpb24oKSk7XHJcbiAgICB9XHJcbn0iXX0=
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { createAction } from "@ngrx/store";
|
|
2
|
+
export const AXPWindowResizeAction = createAction('[Layout] Resize');
|
|
3
|
+
//
|
|
4
|
+
export const AXPLayoutRootDrawerClose = createAction('[Root Drawer] Close');
|
|
5
|
+
export const AXPLayoutRootDrawerToggle = createAction('[Root Drawer] Toggle');
|
|
6
|
+
export const AXPLayoutChildDrawerClose = createAction('[Child Drawer] Close');
|
|
7
|
+
export const AXPLayoutChildDrawerToggle = createAction('[Child Drawer] Toggle');
|
|
8
|
+
//
|
|
9
|
+
export const AXPLayoutThemeDarkToggleAction = createAction('[Theme] Toggle Dark');
|
|
10
|
+
export const AXPLoadingShowAction = createAction('[Theme] Loading Show');
|
|
11
|
+
export const AXPLoadingHideAction = createAction('[Theme] Loading Hide');
|
|
12
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWRtaW4tbGF5b3V0LmFjdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3BsYXRmb3JtL2NvbW1vbi9zcmM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F3ZXJDbG9zZSA9IGNyZWF0ZUFjdGlvbignW1Jvb3QgRHJhd2VyXSBDbG9zZScpO1xyXG5leHBvcnQgY29uc3QgQVhQTGF5b3V0Um9vdERyYXdlclRvZ2dsZSA9IGNyZWF0ZUFjdGlvbignW1Jvb3QgRHJhd2VyXSBUb2dnbGUnKTtcclxuZXhwb3J0IGNvbnN0IEFYUExheW91dENoaWxkRHJhd2VyQ2xvc2UgPSBjcmVhdGVBY3Rpb24oJ1tDaGlsZCBEcmF3ZXJdIENsb3NlJyk7XHJcbmV4cG9ydCBjb25zdCBBWFBMYXlvdXRDaGlsZERyYXdlclRvZ2dsZSA9IGNyZWF0ZUFjdGlvbignW0NoaWxkIERyYXdlcl0gVG9nZ2xlJyk7XHJcbi8vXHJcbmV4cG9ydCBjb25zdCBBWFBMYXlvdXRUaGVtZURhcmtUb2dnbGVBY3Rpb24gPSBjcmVhdGVBY3Rpb24oJ1tUaGVtZV0gVG9nZ2xlIERhcmsnKTtcclxuXHJcbmV4cG9ydCBjb25zdCBBWFBMb2FkaW5nU2hvd0FjdGlvbiA9IGNyZWF0ZUFjdGlvbignW1RoZW1lXSBMb2FkaW5nIFNob3cnKTtcclxuZXhwb3J0IGNvbnN0IEFYUExvYWRpbmdIaWRlQWN0aW9uID0gY3JlYXRlQWN0aW9uKCdbVGhlbWVdIExvYWRpbmcgSGlkZScpOyJdfQ==
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { Injectable, inject } from "@angular/core";
|
|
2
|
+
import { AXPlatform } from "@acorex/core/platform";
|
|
3
|
+
import { Actions, createEffect, ofType } from "@ngrx/effects";
|
|
4
|
+
import { Store } from "@ngrx/store";
|
|
5
|
+
import { debounceTime, fromEvent, map, mergeMap, of, withLatestFrom } from "rxjs";
|
|
6
|
+
import { AXPLayoutThemeDarkToggleAction, AXPWindowResizeAction } from "./admin-layout.actions";
|
|
7
|
+
import { isDarkTheme } from "./admin-layout.selectors";
|
|
8
|
+
import { AXPLoadInitState } from "../../../store";
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export class AXPLayoutEffects {
|
|
11
|
+
constructor() {
|
|
12
|
+
this.platform = inject(AXPlatform);
|
|
13
|
+
this.actions$ = inject(Actions);
|
|
14
|
+
this.store$ = inject(Store);
|
|
15
|
+
this.resize$ = createEffect(() => fromEvent(window, 'resize').pipe(debounceTime(300), map(() => AXPWindowResizeAction())));
|
|
16
|
+
this.switchDark$ = createEffect(() => this.actions$.pipe(ofType(AXPLayoutThemeDarkToggleAction, AXPLoadInitState), withLatestFrom(this.store$.select(isDarkTheme())), mergeMap(([action, dark]) => {
|
|
17
|
+
//TODO: replace with platform function;
|
|
18
|
+
const html = document.getElementsByTagName('html')[0];
|
|
19
|
+
dark ? html.classList.add('ax-dark') : html.classList.remove('ax-dark');
|
|
20
|
+
return of();
|
|
21
|
+
})), { dispatch: false });
|
|
22
|
+
}
|
|
23
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPLayoutEffects, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
24
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPLayoutEffects }); }
|
|
25
|
+
}
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPLayoutEffects, decorators: [{
|
|
27
|
+
type: Injectable
|
|
28
|
+
}] });
|
|
29
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWRtaW4tbGF5b3V0LmVmZmVjdHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3BsYXRmb3JtL2NvbW1vbi9zcmMvbGliL2xheW91dC90aGVtZS9zdG9yZS9hZG1pbi1sYXlvdXQuZWZm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gICB0aGlzLmFjdGlvbnMkLnBpcGUoXHJcbiAgICAgICAgICAgICAgICBvZlR5cGUoQVhQTGF5b3V0VGhlbWVEYXJrVG9nZ2xlQWN0aW9uLCBBWFBMb2FkSW5pdFN0YXRlKSxcclxuICAgICAgICAgICAgICAgIHdpdGhMYXRlc3RGcm9tKHRoaXMuc3RvcmUkLnNlbGVjdChpc0RhcmtUaGVtZSgpKSksXHJcbiAgICAgICAgICAgICAgICBtZXJnZU1hcCgoW2FjdGlvbiwgZGFya10pID0+IHtcclxuICAgICAgICAgICAgICAgICAgICAvL1RPRE86IHJlcGxhY2Ugd2l0aCBwbGF0Zm9ybSBmdW5jdGlvbjtcclxuICAgICAgICAgICAgICAgICAgICBjb25zdCBodG1sID0gZG9jdW1lbnQuZ2V0RWxlbWVudHNCeVRhZ05hbWUoJ2h0bWwnKVswXTtcclxuICAgICAgICAgICAgICAgICAgICBkYXJrID8gaHRtbC5jbGFzc0xpc3QuYWRkKCdheC1kYXJrJykgOiBodG1sLmNsYXNzTGlzdC5yZW1vdmUoJ2F4LWRhcmsnKTtcclxuICAgICAgICAgICAgICAgICAgICByZXR1cm4gb2YoKTtcclxuICAgICAgICAgICAgICAgIH0pXHJcbiAgICAgICAgICAgICksXHJcbiAgICAgICAgeyBkaXNwYXRjaDogZmFsc2UgfVxyXG4gICAgKTtcclxufVxyXG4iXX0=
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { createFeature, createReducer, on } from "@ngrx/store";
|
|
2
|
+
import { AXPlatform } from "@acorex/core/platform";
|
|
3
|
+
import { AXPLayoutChildDrawerClose, AXPLayoutChildDrawerToggle, AXPLayoutRootDrawerClose, AXPLayoutRootDrawerToggle, AXPLayoutThemeDarkToggleAction, AXPLoadingHideAction, AXPLoadingShowAction, AXPWindowResizeAction } from "./admin-layout.actions";
|
|
4
|
+
import { initialState } from "./admin-layout.state";
|
|
5
|
+
import { AXPNavigateAction } from "../../../store";
|
|
6
|
+
const platform = new AXPlatform();
|
|
7
|
+
export const AXPLayoutFeature = createFeature({
|
|
8
|
+
name: 'layout',
|
|
9
|
+
reducer: createReducer(initialState,
|
|
10
|
+
// close drawers on navigatin
|
|
11
|
+
on(AXPNavigateAction, (state, action) => ({
|
|
12
|
+
...state,
|
|
13
|
+
drawer: { ...state.drawer, root: platform.is('SM') ? false : state.drawer.root, child: platform.is('SM') ? false : state.drawer.child },
|
|
14
|
+
})),
|
|
15
|
+
// toggle root drawers
|
|
16
|
+
on(AXPLayoutRootDrawerToggle, (state, action) => ({
|
|
17
|
+
...state,
|
|
18
|
+
drawer: { ...state.drawer, root: !state.drawer.root, child: (!state.drawer.root && platform.is('SM')) ? false : state.drawer.child },
|
|
19
|
+
})),
|
|
20
|
+
// close root drawers
|
|
21
|
+
on(AXPLayoutRootDrawerClose, (state) => ({
|
|
22
|
+
...state,
|
|
23
|
+
drawer: { ...state.drawer, root: false },
|
|
24
|
+
})),
|
|
25
|
+
// toggle second level child drawers
|
|
26
|
+
on(AXPLayoutChildDrawerToggle, (state) => ({
|
|
27
|
+
...state,
|
|
28
|
+
drawer: { ...state.drawer, child: !state.drawer.child },
|
|
29
|
+
})),
|
|
30
|
+
// close second level child drawers
|
|
31
|
+
on(AXPLayoutChildDrawerClose, (state) => ({
|
|
32
|
+
...state,
|
|
33
|
+
drawer: { ...state.drawer, child: false },
|
|
34
|
+
})),
|
|
35
|
+
// close drawers on window resize event
|
|
36
|
+
on(AXPWindowResizeAction, (state) => ({
|
|
37
|
+
...state,
|
|
38
|
+
screen: { small: platform.is('SM') || platform.is('MD') },
|
|
39
|
+
drawer: {
|
|
40
|
+
...state.drawer,
|
|
41
|
+
root: platform.is('SM') || platform.is('MD') ? false : state.drawer.root,
|
|
42
|
+
child: platform.is('SM') || platform.is('MD') ? false : state.drawer.child
|
|
43
|
+
},
|
|
44
|
+
})),
|
|
45
|
+
// toggle dark mode of theme
|
|
46
|
+
on(AXPLayoutThemeDarkToggleAction, (state) => ({
|
|
47
|
+
...state,
|
|
48
|
+
theme: { dark: !state.theme?.dark },
|
|
49
|
+
})),
|
|
50
|
+
// Admin Root layout loading
|
|
51
|
+
on(AXPLoadingShowAction, (state) => ({
|
|
52
|
+
...state,
|
|
53
|
+
loading: true,
|
|
54
|
+
})), on(AXPLoadingHideAction, (state) => ({
|
|
55
|
+
...state,
|
|
56
|
+
loading: false,
|
|
57
|
+
}))),
|
|
58
|
+
});
|
|
59
|
+
export const { name, reducer, selectLayoutState, } = AXPLayoutFeature;
|
|
60
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWRtaW4tbGF5b3V0LnJlZHVjZXJzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9wbGF0Zm9ybS9jb21tb24vc3JjL2xpYi9sYXlvdXQvdGhlbWUvc3RvcmUvYWRtaW4tbGF5b3V0LnJlZHVjZXJzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxhQUFhLEVBQUUsYUFBYSxFQUFFLEVBQUUsRUFBRSxNQUFNLGFBQWEsQ0FBQztBQUMvRCxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sdUJBQXVCLENBQUM7QUFDbkQsT0FBTyxFQUNMLHlCQUF5QixFQUN6QiwwQkFBMEIsRUFDMUIsd0JBQXdCLEVBQ3hCLHlCQUF5QixFQUN6Qiw4QkFBOEIsRUFDOUIsb0JBQW9CLEVBQ3BCLG9CQUFvQixFQUNwQixxQkFBcUIsRUFDdEIsTUFDTSx3QkFBd0IsQ0FBQztBQUNoQyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sc0JBQXNCLENBQUM7QUFDcEQsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFFbkQsTUFBTSxRQUFRLEdBQUcsSUFBSSxVQUFVLEVBQUUsQ0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Sb290IGxheW91dCBsb2FkaW5nIFxyXG4gICAgb24oQVhQTG9hZGluZ1Nob3dBY3Rpb24sIChzdGF0ZSkgPT4gKHtcclxuICAgICAgLi4uc3RhdGUsXHJcbiAgICAgIGxvYWRpbmc6IHRydWUsXHJcbiAgICB9KSksXHJcbiAgICBvbihBWFBMb2FkaW5nSGlkZUFjdGlvbiwgKHN0YXRlKSA9PiAoe1xyXG4gICAgICAuLi5zdGF0ZSxcclxuICAgICAgbG9hZGluZzogZmFsc2UsXHJcbiAgICB9KSksXHJcbiAgKSxcclxufSk7XHJcblxyXG5leHBvcnQgY29uc3Qge1xyXG4gIG5hbWUsXHJcbiAgcmVkdWNlcixcclxuICBzZWxlY3RMYXlvdXRTdGF0ZSxcclxufSA9IEFYUExheW91dEZlYXR1cmU7Il19
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { createSelector } from "@ngrx/store";
|
|
2
|
+
import { selectLayoutState } from "./admin-layout.reducers";
|
|
3
|
+
export const getRootDrawer = () => createSelector(selectLayoutState, (value) => value.drawer.root);
|
|
4
|
+
export const getChildDrawer = () => createSelector(selectLayoutState, (value) => value.drawer.child);
|
|
5
|
+
export const isSmallScreen = () => createSelector(selectLayoutState, (value) => value.screen.small);
|
|
6
|
+
export const isDarkTheme = () => createSelector(selectLayoutState, (value) => value.theme.dark);
|
|
7
|
+
export const isLoading = () => createSelector(selectLayoutState, (value) => value.loading);
|
|
8
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWRtaW4tbGF5b3V0LnNlbGVjdG9ycy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvcGxhdGZvcm0vY29tbW9uL3NyYy9saWIvbGF5b3V0L3RoZW1lL3N0b3JlL2FkbWluLWxheW91dC5zZWxlY3RvcnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkF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5ncngvc3RvcmVcIjtcclxuaW1wb3J0IHsgc2VsZWN0TGF5b3V0U3RhdGUgfSBmcm9tIFwiLi9hZG1pbi1sYXlvdXQucmVkdWNlcnNcIjtcclxuXHJcbmV4cG9ydCBjb25zdCBnZXRSb290RHJhd2VyID0gKCkgPT4gY3JlYXRlU2VsZWN0b3IoXHJcbiAgICBzZWxlY3RMYXlvdXRTdGF0ZSxcclxuICAgICh2YWx1ZSkgPT4gdmFsdWUuZHJhd2VyLnJvb3RcclxuKTtcclxuXHJcbmV4cG9ydCBjb25zdCBnZXRDaGlsZERyYXdlciA9ICgpID0+IGNyZWF0ZVNlbGVjdG9yKFxyXG4gICAgc2VsZWN0TGF5b3V0U3RhdGUsXHJcbiAgICAodmFsdWUpID0+IHZhbHVlLmRyYXdlci5jaGlsZFxyXG4pO1xyXG5cclxuZXhwb3J0IGNvbnN0IGlzU21hbGxTY3JlZW4gPSAoKSA9PiBjcmVhdGVTZWxlY3RvcihcclxuICAgIHNlbGVjdExheW91dFN0YXRlLFxyXG4gICAgKHZhbHVlKSA9PiB2YWx1ZS5zY3JlZW4uc21hbGxcclxuKTtcclxuXHJcbmV4cG9ydCBjb25zdCBpc0RhcmtUaGVtZSA9ICgpID0+IGNyZWF0ZVNlbGVjdG9yKFxyXG4gICAgc2VsZWN0TGF5b3V0U3RhdGUsXHJcbiAgICAodmFsdWUpID0+IHZhbHVlLnRoZW1lLmRhcmtcclxuKTtcclxuXHJcbmV4cG9ydCBjb25zdCBpc0xvYWRpbmcgPSAoKSA9PiBjcmVhdGVTZWxlY3RvcihcclxuICAgIHNlbGVjdExheW91dFN0YXRlLFxyXG4gICAgKHZhbHVlKSA9PiB2YWx1ZS5sb2FkaW5nXHJcbik7Il19
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { AXPlatform } from "@acorex/core/platform";
|
|
2
|
+
const platform = new AXPlatform();
|
|
3
|
+
export const initialState = {
|
|
4
|
+
theme: {
|
|
5
|
+
dark: false,
|
|
6
|
+
},
|
|
7
|
+
screen: {
|
|
8
|
+
small: platform.is('SM') || platform.is('MD'),
|
|
9
|
+
},
|
|
10
|
+
drawer: {
|
|
11
|
+
root: !(platform.is('SM') || platform.is('MD')),
|
|
12
|
+
child: !(platform.is('SM') || platform.is('MD'))
|
|
13
|
+
},
|
|
14
|
+
loading: false
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWRtaW4tbGF5b3V0LnN0YXRlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9wbGF0Zm9ybS9jb21tb24vc3JjL2xpYi9sYXlvdXQvdGhlbWUvc3RvcmUvYWRtaW4tbGF5b3V0LnN0YXRlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQztBQUVuRCxNQUFNLFFBQVEsR0FBRyxJQUFJLFVBQVUsRUFBRSxDQUFDO0FBZ0JsQyxNQUFNLENBQUMsTUFBTSxZQUFZLEdBQXdCO0lBQzdDLEtBQUssRUFBRTtRQUNILElBQUksRUFBRSxLQUFLO0tBQ2Q7SUFDRCxNQUFNLEVBQUU7UUFDSixLQUFLLEVBQUUsUUFBUSxDQUFDLEVBQUUsQ0FBQyxJQUFJLENBQUMsSUFBSSxRQUFRLENBQUMsRUFBRSxDQUFDLElBQUksQ0FBQztLQUNoRDtJQUNELE1BQU0sRUFBRTtRQUNKLElBQUksRUFBRSxDQUFDLENBQUMsUUFBUSxDQUFDLEVBQUUsQ0FBQyxJQUFJLENBQUMsSUFBSSxRQUFRLENBQUMsRUFBRSxDQUFDLElBQUksQ0FBQyxDQUFDO1FBQy9DLEtBQUssRUFBRSxDQUFDLENBQUMsUUFBUSxDQUFDLEVBQUUsQ0FBQyxJQUFJLENBQUMsSUFBS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