@taon-dev/marketing 21.0.11 → 21.0.13
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/VERIFIED-BUILD-DATA.jsonc +2 -2
- package/browser/fesm2022/marketing-browser.mjs +44 -65
- package/browser/fesm2022/marketing-browser.mjs.map +1 -1
- package/browser/package.json +1 -1
- package/browser/types/marketing-browser.d.ts +2 -76
- package/browser-prod/fesm2022/marketing-browser-prod.mjs +44 -65
- package/browser-prod/fesm2022/marketing-browser-prod.mjs.map +1 -1
- package/browser-prod/package.json +1 -1
- package/browser-prod/types/marketing-browser-prod.d.ts +2 -76
- package/full-dts/build-info._auto-generated_.d.ts +1 -1
- package/full-dts/index._auto-generated_.d.ts +0 -4
- package/full-dts/migrations/1791132517216_initial.d.ts +0 -1
- package/lib/build-info._auto-generated_.d.ts +1 -1
- package/lib/build-info._auto-generated_.js +1 -1
- package/lib/index._auto-generated_.d.ts +0 -4
- package/lib/index._auto-generated_.js +0 -4
- package/lib/index._auto-generated_.js.map +1 -1
- package/lib/migrations/1791132517216_initial.d.ts +0 -1
- package/lib/migrations/1791132517216_initial.js +52 -49
- package/lib/migrations/1791132517216_initial.js.map +1 -1
- package/lib/package.json +1 -1
- package/lib/taon-marketing-ab/taon-marketing-ab-backoffice/index.d.ts +1 -1
- package/lib/taon-marketing-ab/taon-marketing-ab-backoffice/index.js +2 -2
- package/lib/taon-marketing-backoffice/index.d.ts +1 -1
- package/lib/taon-marketing-backoffice/index.js +2 -2
- package/lib/taon-marketing-newsletter/taon-marketing-newsletter-backoffice/index.d.ts +1 -1
- package/lib/taon-marketing-newsletter/taon-marketing-newsletter-backoffice/index.js +2 -2
- package/lib/taon-marketing-popup/taon-marketing-popup-backoffice/index.d.ts +1 -1
- package/lib/taon-marketing-popup/taon-marketing-popup-backoffice/index.js +2 -2
- package/lib/taon-marketing-promo/taon-marketing-promo-backoffice/index.d.ts +1 -1
- package/lib/taon-marketing-promo/taon-marketing-promo-backoffice/index.js +2 -2
- package/lib-esm/lib/build-info._auto-generated_.d.ts +1 -1
- package/lib-esm/lib/build-info._auto-generated_.js +1 -1
- package/lib-esm/lib/index._auto-generated_.d.ts +0 -4
- package/lib-esm/lib/index._auto-generated_.js +0 -4
- package/lib-esm/lib/index._auto-generated_.js.map +1 -1
- package/lib-esm/lib/migrations/1791132517216_initial.d.ts +0 -1
- package/lib-esm/lib/migrations/1791132517216_initial.js +49 -46
- package/lib-esm/lib/migrations/1791132517216_initial.js.map +1 -1
- package/lib-esm/lib/taon-marketing-ab/taon-marketing-ab-backoffice/index.d.ts +1 -1
- package/lib-esm/lib/taon-marketing-ab/taon-marketing-ab-backoffice/index.js +1 -1
- package/lib-esm/lib/taon-marketing-backoffice/index.d.ts +1 -1
- package/lib-esm/lib/taon-marketing-backoffice/index.js +1 -1
- package/lib-esm/lib/taon-marketing-newsletter/taon-marketing-newsletter-backoffice/index.d.ts +1 -1
- package/lib-esm/lib/taon-marketing-newsletter/taon-marketing-newsletter-backoffice/index.js +1 -1
- package/lib-esm/lib/taon-marketing-popup/taon-marketing-popup-backoffice/index.d.ts +1 -1
- package/lib-esm/lib/taon-marketing-popup/taon-marketing-popup-backoffice/index.js +1 -1
- package/lib-esm/lib/taon-marketing-promo/taon-marketing-promo-backoffice/index.d.ts +1 -1
- package/lib-esm/lib/taon-marketing-promo/taon-marketing-promo-backoffice/index.js +1 -1
- package/lib-prod/build-info._auto-generated_.d.ts +1 -1
- package/lib-prod/build-info._auto-generated_.js +1 -1
- package/lib-prod/index._auto-generated_.d.ts +0 -4
- package/lib-prod/index._auto-generated_.js +0 -4
- package/lib-prod/index._auto-generated_.js.map +1 -1
- package/lib-prod/migrations/1791132517216_initial.d.ts +0 -1
- package/lib-prod/migrations/1791132517216_initial.js +49 -46
- package/lib-prod/migrations/1791132517216_initial.js.map +1 -1
- package/lib-prod/package.json +1 -1
- package/lib-prod/taon-marketing-ab/taon-marketing-ab-backoffice/index.d.ts +1 -1
- package/lib-prod/taon-marketing-ab/taon-marketing-ab-backoffice/index.js +1 -1
- package/lib-prod/taon-marketing-backoffice/index.d.ts +1 -1
- package/lib-prod/taon-marketing-backoffice/index.js +1 -1
- package/lib-prod/taon-marketing-newsletter/taon-marketing-newsletter-backoffice/index.d.ts +1 -1
- package/lib-prod/taon-marketing-newsletter/taon-marketing-newsletter-backoffice/index.js +1 -1
- package/lib-prod/taon-marketing-popup/taon-marketing-popup-backoffice/index.d.ts +1 -1
- package/lib-prod/taon-marketing-popup/taon-marketing-popup-backoffice/index.js +1 -1
- package/lib-prod/taon-marketing-promo/taon-marketing-promo-backoffice/index.d.ts +1 -1
- package/lib-prod/taon-marketing-promo/taon-marketing-promo-backoffice/index.js +1 -1
- package/package.json +1 -1
- package/ts-source/browser-code/build-info._auto-generated_.ts +18 -0
- package/ts-source/browser-code/i18n/lib.translation.ts +17 -0
- package/ts-source/browser-code/i18n/my-organization-proj.ts.en-US.i18n.data.ts +28 -0
- package/ts-source/browser-code/i18n/my-organization-proj.ts.en-US.po +9 -0
- package/ts-source/browser-code/i18n/my-organization-proj.ts.pl-PL.i18n.data.ts +29 -0
- package/ts-source/browser-code/i18n/my-organization-proj.ts.pl-PL.po +9 -0
- package/ts-source/browser-code/index._auto-generated_.ts +91 -0
- package/ts-source/browser-code/index.scss +11 -0
- package/ts-source/browser-code/index.ts +17 -0
- package/ts-source/browser-code/lib-info.md +8 -0
- package/ts-source/browser-code/migrations/1791132517216_initial.ts +23 -0
- package/ts-source/browser-code/migrations/1791659700000_popup_configuration.ts +87 -0
- package/ts-source/browser-code/migrations/index.ts +18 -0
- package/ts-source/browser-code/migrations/migrations-info.md +6 -0
- package/ts-source/browser-code/migrations/migrations_index._auto-generated_.ts +18 -0
- package/ts-source/browser-code/my-organization-proj.ts +18 -0
- package/ts-source/browser-code/start-cli.ts +43 -0
- package/ts-source/browser-code/taon-marketing-ab/i18n/taon-marketing-ab.constants.ts.en-US.i18n.data.ts +28 -0
- package/ts-source/browser-code/taon-marketing-ab/i18n/taon-marketing-ab.constants.ts.en-US.po +9 -0
- package/ts-source/browser-code/taon-marketing-ab/i18n/taon-marketing-ab.constants.ts.pl-PL.i18n.data.ts +28 -0
- package/ts-source/browser-code/taon-marketing-ab/i18n/taon-marketing-ab.constants.ts.pl-PL.po +9 -0
- package/ts-source/browser-code/taon-marketing-ab/i18n/taon-marketing-ab.translation.ts +17 -0
- package/ts-source/browser-code/taon-marketing-ab/index.ts +24 -0
- package/ts-source/browser-code/taon-marketing-ab/taon-marketing-ab-backoffice/index.ts +13 -0
- package/ts-source/browser-code/taon-marketing-ab/taon-marketing-ab-backoffice/taon-marketing-ab-backoffice.component.html +16 -0
- package/ts-source/browser-code/taon-marketing-ab/taon-marketing-ab-backoffice/taon-marketing-ab-backoffice.component.scss +14 -0
- package/ts-source/browser-code/taon-marketing-ab/taon-marketing-ab-backoffice/taon-marketing-ab-backoffice.component.ts +24 -0
- package/ts-source/browser-code/taon-marketing-ab/taon-marketing-ab-backoffice/taon-marketing-ab-backoffice.models.ts +13 -0
- package/ts-source/browser-code/taon-marketing-ab/taon-marketing-ab-backoffice/taon-marketing-ab-backoffice.routes.ts +21 -0
- package/ts-source/browser-code/taon-marketing-ab/taon-marketing-ab.abstract.context.ts +28 -0
- package/ts-source/browser-code/taon-marketing-ab/taon-marketing-ab.api.service.ts +28 -0
- package/ts-source/browser-code/taon-marketing-ab/taon-marketing-ab.config.service.ts +28 -0
- package/ts-source/browser-code/taon-marketing-ab/taon-marketing-ab.constants.ts +27 -0
- package/ts-source/browser-code/taon-marketing-ab/taon-marketing-ab.controller.ts +29 -0
- package/ts-source/browser-code/taon-marketing-ab/taon-marketing-ab.entity.ts +22 -0
- package/ts-source/browser-code/taon-marketing-ab/taon-marketing-ab.kv.repository.ts +24 -0
- package/ts-source/browser-code/taon-marketing-ab/taon-marketing-ab.middleware.ts +19 -0
- package/ts-source/browser-code/taon-marketing-ab/taon-marketing-ab.models.ts +18 -0
- package/ts-source/browser-code/taon-marketing-ab/taon-marketing-ab.provider.ts +30 -0
- package/ts-source/browser-code/taon-marketing-ab/taon-marketing-ab.repository.ts +24 -0
- package/ts-source/browser-code/taon-marketing-ab/taon-marketing-ab.subscriber.ts +24 -0
- package/ts-source/browser-code/taon-marketing-ab/taon-marketing-ab.utils.ts +18 -0
- package/ts-source/browser-code/taon-marketing-ab/taon-marketing-ab.validators.ts +26 -0
- package/ts-source/browser-code/taon-marketing-backoffice/index.ts +13 -0
- package/ts-source/browser-code/taon-marketing-backoffice/taon-marketing-backoffice.component.html +14 -0
- package/ts-source/browser-code/taon-marketing-backoffice/taon-marketing-backoffice.component.scss +14 -0
- package/ts-source/browser-code/taon-marketing-backoffice/taon-marketing-backoffice.component.ts +24 -0
- package/ts-source/browser-code/taon-marketing-backoffice/taon-marketing-backoffice.models.ts +13 -0
- package/ts-source/browser-code/taon-marketing-backoffice/taon-marketing-backoffice.routes.ts +53 -0
- package/ts-source/browser-code/taon-marketing-newsletter/i18n/taon-marketing-newsletter.constants.ts.en-US.i18n.data.ts +28 -0
- package/ts-source/browser-code/taon-marketing-newsletter/i18n/taon-marketing-newsletter.constants.ts.en-US.po +9 -0
- package/ts-source/browser-code/taon-marketing-newsletter/i18n/taon-marketing-newsletter.constants.ts.pl-PL.i18n.data.ts +28 -0
- package/ts-source/browser-code/taon-marketing-newsletter/i18n/taon-marketing-newsletter.constants.ts.pl-PL.po +9 -0
- package/ts-source/browser-code/taon-marketing-newsletter/i18n/taon-marketing-newsletter.translation.ts +17 -0
- package/ts-source/browser-code/taon-marketing-newsletter/index.ts +24 -0
- package/ts-source/browser-code/taon-marketing-newsletter/taon-marketing-newsletter-backoffice/index.ts +13 -0
- package/ts-source/browser-code/taon-marketing-newsletter/taon-marketing-newsletter-backoffice/taon-marketing-newsletter-backoffice.component.html +16 -0
- package/ts-source/browser-code/taon-marketing-newsletter/taon-marketing-newsletter-backoffice/taon-marketing-newsletter-backoffice.component.scss +14 -0
- package/ts-source/browser-code/taon-marketing-newsletter/taon-marketing-newsletter-backoffice/taon-marketing-newsletter-backoffice.component.ts +24 -0
- package/ts-source/browser-code/taon-marketing-newsletter/taon-marketing-newsletter-backoffice/taon-marketing-newsletter-backoffice.models.ts +13 -0
- package/ts-source/browser-code/taon-marketing-newsletter/taon-marketing-newsletter-backoffice/taon-marketing-newsletter-backoffice.routes.ts +21 -0
- package/ts-source/browser-code/taon-marketing-newsletter/taon-marketing-newsletter.abstract.context.ts +28 -0
- package/ts-source/browser-code/taon-marketing-newsletter/taon-marketing-newsletter.api.service.ts +28 -0
- package/ts-source/browser-code/taon-marketing-newsletter/taon-marketing-newsletter.config.service.ts +28 -0
- package/ts-source/browser-code/taon-marketing-newsletter/taon-marketing-newsletter.constants.ts +27 -0
- package/ts-source/browser-code/taon-marketing-newsletter/taon-marketing-newsletter.controller.ts +29 -0
- package/ts-source/browser-code/taon-marketing-newsletter/taon-marketing-newsletter.entity.ts +22 -0
- package/ts-source/browser-code/taon-marketing-newsletter/taon-marketing-newsletter.kv.repository.ts +24 -0
- package/ts-source/browser-code/taon-marketing-newsletter/taon-marketing-newsletter.middleware.ts +19 -0
- package/ts-source/browser-code/taon-marketing-newsletter/taon-marketing-newsletter.models.ts +18 -0
- package/ts-source/browser-code/taon-marketing-newsletter/taon-marketing-newsletter.provider.ts +30 -0
- package/ts-source/browser-code/taon-marketing-newsletter/taon-marketing-newsletter.repository.ts +24 -0
- package/ts-source/browser-code/taon-marketing-newsletter/taon-marketing-newsletter.subscriber.ts +24 -0
- package/ts-source/browser-code/taon-marketing-newsletter/taon-marketing-newsletter.utils.ts +18 -0
- package/ts-source/browser-code/taon-marketing-newsletter/taon-marketing-newsletter.validators.ts +26 -0
- package/ts-source/browser-code/taon-marketing-popup/index.ts +25 -0
- package/ts-source/browser-code/taon-marketing-popup/taon-marketing-popup-backoffice/index.ts +13 -0
- package/ts-source/browser-code/taon-marketing-popup/taon-marketing-popup-backoffice/taon-marketing-popup-backoffice.component.html +24 -0
- package/ts-source/browser-code/taon-marketing-popup/taon-marketing-popup-backoffice/taon-marketing-popup-backoffice.component.scss +14 -0
- package/ts-source/browser-code/taon-marketing-popup/taon-marketing-popup-backoffice/taon-marketing-popup-backoffice.component.ts +116 -0
- package/ts-source/browser-code/taon-marketing-popup/taon-marketing-popup-backoffice/taon-marketing-popup-backoffice.models.ts +13 -0
- package/ts-source/browser-code/taon-marketing-popup/taon-marketing-popup-backoffice/taon-marketing-popup-backoffice.routes.ts +21 -0
- package/ts-source/browser-code/taon-marketing-popup/taon-marketing-popup-backoffice/taon-marketing-popup-editor.component.html +55 -0
- package/ts-source/browser-code/taon-marketing-popup/taon-marketing-popup-backoffice/taon-marketing-popup-editor.component.scss +34 -0
- package/ts-source/browser-code/taon-marketing-popup/taon-marketing-popup-backoffice/taon-marketing-popup-editor.component.ts +111 -0
- package/ts-source/browser-code/taon-marketing-popup/taon-marketing-popup-content.component.html +30 -0
- package/ts-source/browser-code/taon-marketing-popup/taon-marketing-popup-content.component.scss +56 -0
- package/ts-source/browser-code/taon-marketing-popup/taon-marketing-popup-content.component.ts +47 -0
- package/ts-source/browser-code/taon-marketing-popup/taon-marketing-popup.abstract.context.ts +28 -0
- package/ts-source/browser-code/taon-marketing-popup/taon-marketing-popup.api.service.ts +38 -0
- package/ts-source/browser-code/taon-marketing-popup/taon-marketing-popup.config.service.ts +28 -0
- package/ts-source/browser-code/taon-marketing-popup/taon-marketing-popup.constants.ts +33 -0
- package/ts-source/browser-code/taon-marketing-popup/taon-marketing-popup.controller.ts +53 -0
- package/ts-source/browser-code/taon-marketing-popup/taon-marketing-popup.entity.ts +37 -0
- package/ts-source/browser-code/taon-marketing-popup/taon-marketing-popup.kv.repository.ts +24 -0
- package/ts-source/browser-code/taon-marketing-popup/taon-marketing-popup.middleware.ts +19 -0
- package/ts-source/browser-code/taon-marketing-popup/taon-marketing-popup.models.ts +44 -0
- package/ts-source/browser-code/taon-marketing-popup/taon-marketing-popup.provider.ts +30 -0
- package/ts-source/browser-code/taon-marketing-popup/taon-marketing-popup.repository.ts +35 -0
- package/ts-source/browser-code/taon-marketing-popup/taon-marketing-popup.subscriber.ts +24 -0
- package/ts-source/browser-code/taon-marketing-popup/taon-marketing-popup.utils.ts +38 -0
- package/ts-source/browser-code/taon-marketing-popup/taon-marketing-popup.validation.ts +72 -0
- package/ts-source/browser-code/taon-marketing-popup/taon-marketing-popup.validators.ts +38 -0
- package/ts-source/browser-code/taon-marketing-popup/taon-marketing-popups.component.ts +259 -0
- package/ts-source/browser-code/taon-marketing-promo/i18n/taon-marketing-promo.constants.ts.en-US.i18n.data.ts +28 -0
- package/ts-source/browser-code/taon-marketing-promo/i18n/taon-marketing-promo.constants.ts.en-US.po +9 -0
- package/ts-source/browser-code/taon-marketing-promo/i18n/taon-marketing-promo.constants.ts.pl-PL.i18n.data.ts +28 -0
- package/ts-source/browser-code/taon-marketing-promo/i18n/taon-marketing-promo.constants.ts.pl-PL.po +9 -0
- package/ts-source/browser-code/taon-marketing-promo/i18n/taon-marketing-promo.translation.ts +17 -0
- package/ts-source/browser-code/taon-marketing-promo/index.ts +24 -0
- package/ts-source/browser-code/taon-marketing-promo/taon-marketing-promo-backoffice/index.ts +13 -0
- package/ts-source/browser-code/taon-marketing-promo/taon-marketing-promo-backoffice/taon-marketing-promo-backoffice.component.html +16 -0
- package/ts-source/browser-code/taon-marketing-promo/taon-marketing-promo-backoffice/taon-marketing-promo-backoffice.component.scss +14 -0
- package/ts-source/browser-code/taon-marketing-promo/taon-marketing-promo-backoffice/taon-marketing-promo-backoffice.component.ts +24 -0
- package/ts-source/browser-code/taon-marketing-promo/taon-marketing-promo-backoffice/taon-marketing-promo-backoffice.models.ts +13 -0
- package/ts-source/browser-code/taon-marketing-promo/taon-marketing-promo-backoffice/taon-marketing-promo-backoffice.routes.ts +21 -0
- package/ts-source/browser-code/taon-marketing-promo/taon-marketing-promo.abstract.context.ts +28 -0
- package/ts-source/browser-code/taon-marketing-promo/taon-marketing-promo.api.service.ts +28 -0
- package/ts-source/browser-code/taon-marketing-promo/taon-marketing-promo.config.service.ts +28 -0
- package/ts-source/browser-code/taon-marketing-promo/taon-marketing-promo.constants.ts +27 -0
- package/ts-source/browser-code/taon-marketing-promo/taon-marketing-promo.controller.ts +29 -0
- package/ts-source/browser-code/taon-marketing-promo/taon-marketing-promo.entity.ts +22 -0
- package/ts-source/browser-code/taon-marketing-promo/taon-marketing-promo.kv.repository.ts +24 -0
- package/ts-source/browser-code/taon-marketing-promo/taon-marketing-promo.middleware.ts +19 -0
- package/ts-source/browser-code/taon-marketing-promo/taon-marketing-promo.models.ts +18 -0
- package/ts-source/browser-code/taon-marketing-promo/taon-marketing-promo.provider.ts +30 -0
- package/ts-source/browser-code/taon-marketing-promo/taon-marketing-promo.repository.ts +24 -0
- package/ts-source/browser-code/taon-marketing-promo/taon-marketing-promo.subscriber.ts +24 -0
- package/ts-source/browser-code/taon-marketing-promo/taon-marketing-promo.utils.ts +18 -0
- package/ts-source/browser-code/taon-marketing-promo/taon-marketing-promo.validators.ts +26 -0
- package/ts-source/browser-code/taon-marketing.abstract.context.ts +29 -0
- package/ts-source/browser-code-prod/build-info._auto-generated_.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/build-info._auto-generated_.ts +18 -0
- package/ts-source/browser-code-prod/i18n/lib.translation.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/i18n/lib.translation.ts +17 -0
- package/ts-source/browser-code-prod/i18n/my-organization-proj.ts.en-US.i18n.data.ts +28 -0
- package/ts-source/browser-code-prod/i18n/my-organization-proj.ts.en-US.po +9 -0
- package/ts-source/browser-code-prod/i18n/my-organization-proj.ts.pl-PL.i18n.data.ts +29 -0
- package/ts-source/browser-code-prod/i18n/my-organization-proj.ts.pl-PL.po +9 -0
- package/ts-source/browser-code-prod/index._auto-generated_.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/index._auto-generated_.ts +91 -0
- package/ts-source/browser-code-prod/index.scss +11 -0
- package/ts-source/browser-code-prod/index.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/index.ts +17 -0
- package/ts-source/browser-code-prod/lib-info.md +8 -0
- package/ts-source/browser-code-prod/migrations/1791132517216_initial.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/migrations/1791132517216_initial.ts +23 -0
- package/ts-source/browser-code-prod/migrations/1791659700000_popup_configuration.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/migrations/1791659700000_popup_configuration.ts +87 -0
- package/ts-source/browser-code-prod/migrations/index.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/migrations/index.ts +18 -0
- package/ts-source/browser-code-prod/migrations/migrations-info.md +6 -0
- package/ts-source/browser-code-prod/migrations/migrations_index._auto-generated_.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/migrations/migrations_index._auto-generated_.ts +18 -0
- package/ts-source/browser-code-prod/my-organization-proj.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/my-organization-proj.ts +18 -0
- package/ts-source/browser-code-prod/start-cli.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/start-cli.ts +43 -0
- package/ts-source/browser-code-prod/taon-marketing-ab/i18n/taon-marketing-ab.constants.ts.en-US.i18n.data.ts +28 -0
- package/ts-source/browser-code-prod/taon-marketing-ab/i18n/taon-marketing-ab.constants.ts.en-US.po +9 -0
- package/ts-source/browser-code-prod/taon-marketing-ab/i18n/taon-marketing-ab.constants.ts.pl-PL.i18n.data.ts +28 -0
- package/ts-source/browser-code-prod/taon-marketing-ab/i18n/taon-marketing-ab.constants.ts.pl-PL.po +9 -0
- package/ts-source/browser-code-prod/taon-marketing-ab/i18n/taon-marketing-ab.translation.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-ab/i18n/taon-marketing-ab.translation.ts +17 -0
- package/ts-source/browser-code-prod/taon-marketing-ab/index.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-ab/index.ts +24 -0
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab-backoffice/index.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab-backoffice/index.ts +13 -0
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab-backoffice/taon-marketing-ab-backoffice.component.html +16 -0
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab-backoffice/taon-marketing-ab-backoffice.component.scss +14 -0
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab-backoffice/taon-marketing-ab-backoffice.component.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab-backoffice/taon-marketing-ab-backoffice.component.ts +24 -0
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab-backoffice/taon-marketing-ab-backoffice.models.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab-backoffice/taon-marketing-ab-backoffice.models.ts +12 -0
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab-backoffice/taon-marketing-ab-backoffice.routes.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab-backoffice/taon-marketing-ab-backoffice.routes.ts +21 -0
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab.abstract.context.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab.abstract.context.ts +28 -0
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab.api.service.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab.api.service.ts +28 -0
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab.config.service.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab.config.service.ts +28 -0
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab.constants.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab.constants.ts +27 -0
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab.controller.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab.controller.ts +29 -0
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab.entity.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab.entity.ts +22 -0
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab.kv.repository.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab.kv.repository.ts +24 -0
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab.middleware.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab.middleware.ts +19 -0
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab.models.split-namespaces.json +10 -0
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab.models.ts +16 -0
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab.provider.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab.provider.ts +30 -0
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab.repository.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab.repository.ts +24 -0
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab.subscriber.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab.subscriber.ts +24 -0
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab.utils.split-namespaces.json +10 -0
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab.utils.ts +16 -0
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab.validators.split-namespaces.json +10 -0
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab.validators.ts +24 -0
- package/ts-source/browser-code-prod/taon-marketing-backoffice/index.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-backoffice/index.ts +13 -0
- package/ts-source/browser-code-prod/taon-marketing-backoffice/taon-marketing-backoffice.component.html +14 -0
- package/ts-source/browser-code-prod/taon-marketing-backoffice/taon-marketing-backoffice.component.scss +14 -0
- package/ts-source/browser-code-prod/taon-marketing-backoffice/taon-marketing-backoffice.component.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-backoffice/taon-marketing-backoffice.component.ts +24 -0
- package/ts-source/browser-code-prod/taon-marketing-backoffice/taon-marketing-backoffice.models.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-backoffice/taon-marketing-backoffice.models.ts +12 -0
- package/ts-source/browser-code-prod/taon-marketing-backoffice/taon-marketing-backoffice.routes.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-backoffice/taon-marketing-backoffice.routes.ts +53 -0
- package/ts-source/browser-code-prod/taon-marketing-newsletter/i18n/taon-marketing-newsletter.constants.ts.en-US.i18n.data.ts +28 -0
- package/ts-source/browser-code-prod/taon-marketing-newsletter/i18n/taon-marketing-newsletter.constants.ts.en-US.po +9 -0
- package/ts-source/browser-code-prod/taon-marketing-newsletter/i18n/taon-marketing-newsletter.constants.ts.pl-PL.i18n.data.ts +28 -0
- package/ts-source/browser-code-prod/taon-marketing-newsletter/i18n/taon-marketing-newsletter.constants.ts.pl-PL.po +9 -0
- package/ts-source/browser-code-prod/taon-marketing-newsletter/i18n/taon-marketing-newsletter.translation.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-newsletter/i18n/taon-marketing-newsletter.translation.ts +17 -0
- package/ts-source/browser-code-prod/taon-marketing-newsletter/index.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-newsletter/index.ts +24 -0
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter-backoffice/index.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter-backoffice/index.ts +13 -0
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter-backoffice/taon-marketing-newsletter-backoffice.component.html +16 -0
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter-backoffice/taon-marketing-newsletter-backoffice.component.scss +14 -0
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter-backoffice/taon-marketing-newsletter-backoffice.component.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter-backoffice/taon-marketing-newsletter-backoffice.component.ts +24 -0
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter-backoffice/taon-marketing-newsletter-backoffice.models.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter-backoffice/taon-marketing-newsletter-backoffice.models.ts +12 -0
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter-backoffice/taon-marketing-newsletter-backoffice.routes.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter-backoffice/taon-marketing-newsletter-backoffice.routes.ts +21 -0
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.abstract.context.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.abstract.context.ts +28 -0
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.api.service.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.api.service.ts +28 -0
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.config.service.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.config.service.ts +28 -0
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.constants.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.constants.ts +27 -0
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.controller.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.controller.ts +29 -0
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.entity.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.entity.ts +22 -0
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.kv.repository.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.kv.repository.ts +24 -0
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.middleware.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.middleware.ts +19 -0
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.models.split-namespaces.json +10 -0
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.models.ts +16 -0
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.provider.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.provider.ts +30 -0
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.repository.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.repository.ts +24 -0
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.subscriber.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.subscriber.ts +24 -0
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.utils.split-namespaces.json +10 -0
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.utils.ts +16 -0
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.validators.split-namespaces.json +10 -0
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.validators.ts +24 -0
- package/ts-source/browser-code-prod/taon-marketing-popup/index.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-popup/index.ts +25 -0
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup-backoffice/index.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup-backoffice/index.ts +13 -0
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup-backoffice/taon-marketing-popup-backoffice.component.html +24 -0
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup-backoffice/taon-marketing-popup-backoffice.component.scss +14 -0
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup-backoffice/taon-marketing-popup-backoffice.component.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup-backoffice/taon-marketing-popup-backoffice.component.ts +116 -0
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup-backoffice/taon-marketing-popup-backoffice.models.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup-backoffice/taon-marketing-popup-backoffice.models.ts +12 -0
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup-backoffice/taon-marketing-popup-backoffice.routes.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup-backoffice/taon-marketing-popup-backoffice.routes.ts +21 -0
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup-backoffice/taon-marketing-popup-editor.component.html +55 -0
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup-backoffice/taon-marketing-popup-editor.component.scss +34 -0
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup-backoffice/taon-marketing-popup-editor.component.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup-backoffice/taon-marketing-popup-editor.component.ts +111 -0
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup-content.component.html +30 -0
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup-content.component.scss +56 -0
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup-content.component.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup-content.component.ts +47 -0
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup.abstract.context.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup.abstract.context.ts +28 -0
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup.api.service.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup.api.service.ts +38 -0
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup.config.service.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup.config.service.ts +28 -0
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup.constants.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup.constants.ts +33 -0
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup.controller.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup.controller.ts +53 -0
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup.entity.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup.entity.ts +37 -0
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup.kv.repository.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup.kv.repository.ts +24 -0
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup.middleware.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup.middleware.ts +19 -0
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup.models.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup.models.ts +44 -0
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup.provider.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup.provider.ts +30 -0
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup.repository.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup.repository.ts +35 -0
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup.subscriber.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup.subscriber.ts +24 -0
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup.utils.split-namespaces.json +18 -0
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup.utils.ts +36 -0
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup.validation.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup.validation.ts +72 -0
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup.validators.split-namespaces.json +16 -0
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup.validators.ts +36 -0
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popups.component.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popups.component.ts +259 -0
- package/ts-source/browser-code-prod/taon-marketing-promo/i18n/taon-marketing-promo.constants.ts.en-US.i18n.data.ts +28 -0
- package/ts-source/browser-code-prod/taon-marketing-promo/i18n/taon-marketing-promo.constants.ts.en-US.po +9 -0
- package/ts-source/browser-code-prod/taon-marketing-promo/i18n/taon-marketing-promo.constants.ts.pl-PL.i18n.data.ts +28 -0
- package/ts-source/browser-code-prod/taon-marketing-promo/i18n/taon-marketing-promo.constants.ts.pl-PL.po +9 -0
- package/ts-source/browser-code-prod/taon-marketing-promo/i18n/taon-marketing-promo.translation.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-promo/i18n/taon-marketing-promo.translation.ts +17 -0
- package/ts-source/browser-code-prod/taon-marketing-promo/index.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-promo/index.ts +24 -0
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo-backoffice/index.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo-backoffice/index.ts +13 -0
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo-backoffice/taon-marketing-promo-backoffice.component.html +16 -0
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo-backoffice/taon-marketing-promo-backoffice.component.scss +14 -0
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo-backoffice/taon-marketing-promo-backoffice.component.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo-backoffice/taon-marketing-promo-backoffice.component.ts +24 -0
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo-backoffice/taon-marketing-promo-backoffice.models.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo-backoffice/taon-marketing-promo-backoffice.models.ts +12 -0
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo-backoffice/taon-marketing-promo-backoffice.routes.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo-backoffice/taon-marketing-promo-backoffice.routes.ts +21 -0
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo.abstract.context.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo.abstract.context.ts +28 -0
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo.api.service.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo.api.service.ts +28 -0
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo.config.service.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo.config.service.ts +28 -0
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo.constants.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo.constants.ts +27 -0
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo.controller.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo.controller.ts +29 -0
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo.entity.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo.entity.ts +22 -0
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo.kv.repository.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo.kv.repository.ts +24 -0
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo.middleware.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo.middleware.ts +19 -0
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo.models.split-namespaces.json +10 -0
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo.models.ts +16 -0
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo.provider.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo.provider.ts +30 -0
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo.repository.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo.repository.ts +24 -0
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo.subscriber.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo.subscriber.ts +24 -0
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo.utils.split-namespaces.json +10 -0
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo.utils.ts +16 -0
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo.validators.split-namespaces.json +10 -0
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo.validators.ts +24 -0
- package/ts-source/browser-code-prod/taon-marketing.abstract.context.split-namespaces.json +4 -0
- package/ts-source/browser-code-prod/taon-marketing.abstract.context.ts +29 -0
- package/ts-source/websql-code/build-info._auto-generated_.ts +18 -0
- package/ts-source/websql-code/i18n/lib.translation.ts +17 -0
- package/ts-source/websql-code/i18n/my-organization-proj.ts.en-US.i18n.data.ts +28 -0
- package/ts-source/websql-code/i18n/my-organization-proj.ts.en-US.po +9 -0
- package/ts-source/websql-code/i18n/my-organization-proj.ts.pl-PL.i18n.data.ts +29 -0
- package/ts-source/websql-code/i18n/my-organization-proj.ts.pl-PL.po +9 -0
- package/ts-source/websql-code/index._auto-generated_.ts +91 -0
- package/ts-source/websql-code/index.scss +11 -0
- package/ts-source/websql-code/index.ts +17 -0
- package/ts-source/websql-code/lib-info.md +8 -0
- package/ts-source/websql-code/migrations/1791132517216_initial.ts +23 -0
- package/ts-source/websql-code/migrations/1791659700000_popup_configuration.ts +87 -0
- package/ts-source/websql-code/migrations/index.ts +18 -0
- package/ts-source/websql-code/migrations/migrations-info.md +6 -0
- package/ts-source/websql-code/migrations/migrations_index._auto-generated_.ts +18 -0
- package/ts-source/websql-code/my-organization-proj.ts +18 -0
- package/ts-source/websql-code/start-cli.ts +43 -0
- package/ts-source/websql-code/taon-marketing-ab/i18n/taon-marketing-ab.constants.ts.en-US.i18n.data.ts +28 -0
- package/ts-source/websql-code/taon-marketing-ab/i18n/taon-marketing-ab.constants.ts.en-US.po +9 -0
- package/ts-source/websql-code/taon-marketing-ab/i18n/taon-marketing-ab.constants.ts.pl-PL.i18n.data.ts +28 -0
- package/ts-source/websql-code/taon-marketing-ab/i18n/taon-marketing-ab.constants.ts.pl-PL.po +9 -0
- package/ts-source/websql-code/taon-marketing-ab/i18n/taon-marketing-ab.translation.ts +17 -0
- package/ts-source/websql-code/taon-marketing-ab/index.ts +24 -0
- package/ts-source/websql-code/taon-marketing-ab/taon-marketing-ab-backoffice/index.ts +13 -0
- package/ts-source/websql-code/taon-marketing-ab/taon-marketing-ab-backoffice/taon-marketing-ab-backoffice.component.html +16 -0
- package/ts-source/websql-code/taon-marketing-ab/taon-marketing-ab-backoffice/taon-marketing-ab-backoffice.component.scss +14 -0
- package/ts-source/websql-code/taon-marketing-ab/taon-marketing-ab-backoffice/taon-marketing-ab-backoffice.component.ts +24 -0
- package/ts-source/websql-code/taon-marketing-ab/taon-marketing-ab-backoffice/taon-marketing-ab-backoffice.models.ts +13 -0
- package/ts-source/websql-code/taon-marketing-ab/taon-marketing-ab-backoffice/taon-marketing-ab-backoffice.routes.ts +21 -0
- package/ts-source/websql-code/taon-marketing-ab/taon-marketing-ab.abstract.context.ts +28 -0
- package/ts-source/websql-code/taon-marketing-ab/taon-marketing-ab.api.service.ts +28 -0
- package/ts-source/websql-code/taon-marketing-ab/taon-marketing-ab.config.service.ts +28 -0
- package/ts-source/websql-code/taon-marketing-ab/taon-marketing-ab.constants.ts +27 -0
- package/ts-source/websql-code/taon-marketing-ab/taon-marketing-ab.controller.ts +36 -0
- package/ts-source/websql-code/taon-marketing-ab/taon-marketing-ab.entity.ts +27 -0
- package/ts-source/websql-code/taon-marketing-ab/taon-marketing-ab.kv.repository.ts +24 -0
- package/ts-source/websql-code/taon-marketing-ab/taon-marketing-ab.middleware.ts +19 -0
- package/ts-source/websql-code/taon-marketing-ab/taon-marketing-ab.models.ts +18 -0
- package/ts-source/websql-code/taon-marketing-ab/taon-marketing-ab.provider.ts +30 -0
- package/ts-source/websql-code/taon-marketing-ab/taon-marketing-ab.repository.ts +29 -0
- package/ts-source/websql-code/taon-marketing-ab/taon-marketing-ab.subscriber.ts +24 -0
- package/ts-source/websql-code/taon-marketing-ab/taon-marketing-ab.utils.ts +18 -0
- package/ts-source/websql-code/taon-marketing-ab/taon-marketing-ab.validators.ts +26 -0
- package/ts-source/websql-code/taon-marketing-backoffice/index.ts +13 -0
- package/ts-source/websql-code/taon-marketing-backoffice/taon-marketing-backoffice.component.html +14 -0
- package/ts-source/websql-code/taon-marketing-backoffice/taon-marketing-backoffice.component.scss +14 -0
- package/ts-source/websql-code/taon-marketing-backoffice/taon-marketing-backoffice.component.ts +24 -0
- package/ts-source/websql-code/taon-marketing-backoffice/taon-marketing-backoffice.models.ts +13 -0
- package/ts-source/websql-code/taon-marketing-backoffice/taon-marketing-backoffice.routes.ts +53 -0
- package/ts-source/websql-code/taon-marketing-newsletter/i18n/taon-marketing-newsletter.constants.ts.en-US.i18n.data.ts +28 -0
- package/ts-source/websql-code/taon-marketing-newsletter/i18n/taon-marketing-newsletter.constants.ts.en-US.po +9 -0
- package/ts-source/websql-code/taon-marketing-newsletter/i18n/taon-marketing-newsletter.constants.ts.pl-PL.i18n.data.ts +28 -0
- package/ts-source/websql-code/taon-marketing-newsletter/i18n/taon-marketing-newsletter.constants.ts.pl-PL.po +9 -0
- package/ts-source/websql-code/taon-marketing-newsletter/i18n/taon-marketing-newsletter.translation.ts +17 -0
- package/ts-source/websql-code/taon-marketing-newsletter/index.ts +24 -0
- package/ts-source/websql-code/taon-marketing-newsletter/taon-marketing-newsletter-backoffice/index.ts +13 -0
- package/ts-source/websql-code/taon-marketing-newsletter/taon-marketing-newsletter-backoffice/taon-marketing-newsletter-backoffice.component.html +16 -0
- package/ts-source/websql-code/taon-marketing-newsletter/taon-marketing-newsletter-backoffice/taon-marketing-newsletter-backoffice.component.scss +14 -0
- package/ts-source/websql-code/taon-marketing-newsletter/taon-marketing-newsletter-backoffice/taon-marketing-newsletter-backoffice.component.ts +24 -0
- package/ts-source/websql-code/taon-marketing-newsletter/taon-marketing-newsletter-backoffice/taon-marketing-newsletter-backoffice.models.ts +13 -0
- package/ts-source/websql-code/taon-marketing-newsletter/taon-marketing-newsletter-backoffice/taon-marketing-newsletter-backoffice.routes.ts +21 -0
- package/ts-source/websql-code/taon-marketing-newsletter/taon-marketing-newsletter.abstract.context.ts +28 -0
- package/ts-source/websql-code/taon-marketing-newsletter/taon-marketing-newsletter.api.service.ts +28 -0
- package/ts-source/websql-code/taon-marketing-newsletter/taon-marketing-newsletter.config.service.ts +28 -0
- package/ts-source/websql-code/taon-marketing-newsletter/taon-marketing-newsletter.constants.ts +27 -0
- package/ts-source/websql-code/taon-marketing-newsletter/taon-marketing-newsletter.controller.ts +36 -0
- package/ts-source/websql-code/taon-marketing-newsletter/taon-marketing-newsletter.entity.ts +27 -0
- package/ts-source/websql-code/taon-marketing-newsletter/taon-marketing-newsletter.kv.repository.ts +24 -0
- package/ts-source/websql-code/taon-marketing-newsletter/taon-marketing-newsletter.middleware.ts +19 -0
- package/ts-source/websql-code/taon-marketing-newsletter/taon-marketing-newsletter.models.ts +18 -0
- package/ts-source/websql-code/taon-marketing-newsletter/taon-marketing-newsletter.provider.ts +30 -0
- package/ts-source/websql-code/taon-marketing-newsletter/taon-marketing-newsletter.repository.ts +29 -0
- package/ts-source/websql-code/taon-marketing-newsletter/taon-marketing-newsletter.subscriber.ts +24 -0
- package/ts-source/websql-code/taon-marketing-newsletter/taon-marketing-newsletter.utils.ts +18 -0
- package/ts-source/websql-code/taon-marketing-newsletter/taon-marketing-newsletter.validators.ts +26 -0
- package/ts-source/websql-code/taon-marketing-popup/index.ts +25 -0
- package/ts-source/websql-code/taon-marketing-popup/taon-marketing-popup-backoffice/index.ts +13 -0
- package/ts-source/websql-code/taon-marketing-popup/taon-marketing-popup-backoffice/taon-marketing-popup-backoffice.component.html +24 -0
- package/ts-source/websql-code/taon-marketing-popup/taon-marketing-popup-backoffice/taon-marketing-popup-backoffice.component.scss +14 -0
- package/ts-source/websql-code/taon-marketing-popup/taon-marketing-popup-backoffice/taon-marketing-popup-backoffice.component.ts +116 -0
- package/ts-source/websql-code/taon-marketing-popup/taon-marketing-popup-backoffice/taon-marketing-popup-backoffice.models.ts +13 -0
- package/ts-source/websql-code/taon-marketing-popup/taon-marketing-popup-backoffice/taon-marketing-popup-backoffice.routes.ts +21 -0
- package/ts-source/websql-code/taon-marketing-popup/taon-marketing-popup-backoffice/taon-marketing-popup-editor.component.html +55 -0
- package/ts-source/websql-code/taon-marketing-popup/taon-marketing-popup-backoffice/taon-marketing-popup-editor.component.scss +34 -0
- package/ts-source/websql-code/taon-marketing-popup/taon-marketing-popup-backoffice/taon-marketing-popup-editor.component.ts +111 -0
- package/ts-source/websql-code/taon-marketing-popup/taon-marketing-popup-content.component.html +30 -0
- package/ts-source/websql-code/taon-marketing-popup/taon-marketing-popup-content.component.scss +56 -0
- package/ts-source/websql-code/taon-marketing-popup/taon-marketing-popup-content.component.ts +47 -0
- package/ts-source/websql-code/taon-marketing-popup/taon-marketing-popup.abstract.context.ts +28 -0
- package/ts-source/websql-code/taon-marketing-popup/taon-marketing-popup.api.service.ts +38 -0
- package/ts-source/websql-code/taon-marketing-popup/taon-marketing-popup.config.service.ts +28 -0
- package/ts-source/websql-code/taon-marketing-popup/taon-marketing-popup.constants.ts +33 -0
- package/ts-source/websql-code/taon-marketing-popup/taon-marketing-popup.controller.ts +53 -0
- package/ts-source/websql-code/taon-marketing-popup/taon-marketing-popup.entity.ts +54 -0
- package/ts-source/websql-code/taon-marketing-popup/taon-marketing-popup.kv.repository.ts +24 -0
- package/ts-source/websql-code/taon-marketing-popup/taon-marketing-popup.middleware.ts +19 -0
- package/ts-source/websql-code/taon-marketing-popup/taon-marketing-popup.models.ts +44 -0
- package/ts-source/websql-code/taon-marketing-popup/taon-marketing-popup.provider.ts +30 -0
- package/ts-source/websql-code/taon-marketing-popup/taon-marketing-popup.repository.ts +77 -0
- package/ts-source/websql-code/taon-marketing-popup/taon-marketing-popup.subscriber.ts +24 -0
- package/ts-source/websql-code/taon-marketing-popup/taon-marketing-popup.utils.ts +38 -0
- package/ts-source/websql-code/taon-marketing-popup/taon-marketing-popup.validation.ts +72 -0
- package/ts-source/websql-code/taon-marketing-popup/taon-marketing-popup.validators.ts +38 -0
- package/ts-source/websql-code/taon-marketing-popup/taon-marketing-popups.component.ts +259 -0
- package/ts-source/websql-code/taon-marketing-promo/i18n/taon-marketing-promo.constants.ts.en-US.i18n.data.ts +28 -0
- package/ts-source/websql-code/taon-marketing-promo/i18n/taon-marketing-promo.constants.ts.en-US.po +9 -0
- package/ts-source/websql-code/taon-marketing-promo/i18n/taon-marketing-promo.constants.ts.pl-PL.i18n.data.ts +28 -0
- package/ts-source/websql-code/taon-marketing-promo/i18n/taon-marketing-promo.constants.ts.pl-PL.po +9 -0
- package/ts-source/websql-code/taon-marketing-promo/i18n/taon-marketing-promo.translation.ts +17 -0
- package/ts-source/websql-code/taon-marketing-promo/index.ts +24 -0
- package/ts-source/websql-code/taon-marketing-promo/taon-marketing-promo-backoffice/index.ts +13 -0
- package/ts-source/websql-code/taon-marketing-promo/taon-marketing-promo-backoffice/taon-marketing-promo-backoffice.component.html +16 -0
- package/ts-source/websql-code/taon-marketing-promo/taon-marketing-promo-backoffice/taon-marketing-promo-backoffice.component.scss +14 -0
- package/ts-source/websql-code/taon-marketing-promo/taon-marketing-promo-backoffice/taon-marketing-promo-backoffice.component.ts +24 -0
- package/ts-source/websql-code/taon-marketing-promo/taon-marketing-promo-backoffice/taon-marketing-promo-backoffice.models.ts +13 -0
- package/ts-source/websql-code/taon-marketing-promo/taon-marketing-promo-backoffice/taon-marketing-promo-backoffice.routes.ts +21 -0
- package/ts-source/websql-code/taon-marketing-promo/taon-marketing-promo.abstract.context.ts +28 -0
- package/ts-source/websql-code/taon-marketing-promo/taon-marketing-promo.api.service.ts +28 -0
- package/ts-source/websql-code/taon-marketing-promo/taon-marketing-promo.config.service.ts +28 -0
- package/ts-source/websql-code/taon-marketing-promo/taon-marketing-promo.constants.ts +27 -0
- package/ts-source/websql-code/taon-marketing-promo/taon-marketing-promo.controller.ts +36 -0
- package/ts-source/websql-code/taon-marketing-promo/taon-marketing-promo.entity.ts +27 -0
- package/ts-source/websql-code/taon-marketing-promo/taon-marketing-promo.kv.repository.ts +24 -0
- package/ts-source/websql-code/taon-marketing-promo/taon-marketing-promo.middleware.ts +19 -0
- package/ts-source/websql-code/taon-marketing-promo/taon-marketing-promo.models.ts +18 -0
- package/ts-source/websql-code/taon-marketing-promo/taon-marketing-promo.provider.ts +30 -0
- package/ts-source/websql-code/taon-marketing-promo/taon-marketing-promo.repository.ts +29 -0
- package/ts-source/websql-code/taon-marketing-promo/taon-marketing-promo.subscriber.ts +24 -0
- package/ts-source/websql-code/taon-marketing-promo/taon-marketing-promo.utils.ts +18 -0
- package/ts-source/websql-code/taon-marketing-promo/taon-marketing-promo.validators.ts +26 -0
- package/ts-source/websql-code/taon-marketing.abstract.context.ts +29 -0
- package/ts-source/websql-code-prod/build-info._auto-generated_.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/build-info._auto-generated_.ts +18 -0
- package/ts-source/websql-code-prod/i18n/lib.translation.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/i18n/lib.translation.ts +17 -0
- package/ts-source/websql-code-prod/i18n/my-organization-proj.ts.en-US.i18n.data.ts +28 -0
- package/ts-source/websql-code-prod/i18n/my-organization-proj.ts.en-US.po +9 -0
- package/ts-source/websql-code-prod/i18n/my-organization-proj.ts.pl-PL.i18n.data.ts +29 -0
- package/ts-source/websql-code-prod/i18n/my-organization-proj.ts.pl-PL.po +9 -0
- package/ts-source/websql-code-prod/index._auto-generated_.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/index._auto-generated_.ts +91 -0
- package/ts-source/websql-code-prod/index.scss +11 -0
- package/ts-source/websql-code-prod/index.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/index.ts +17 -0
- package/ts-source/websql-code-prod/lib-info.md +8 -0
- package/ts-source/websql-code-prod/migrations/1791132517216_initial.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/migrations/1791132517216_initial.ts +23 -0
- package/ts-source/websql-code-prod/migrations/1791659700000_popup_configuration.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/migrations/1791659700000_popup_configuration.ts +87 -0
- package/ts-source/websql-code-prod/migrations/index.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/migrations/index.ts +18 -0
- package/ts-source/websql-code-prod/migrations/migrations-info.md +6 -0
- package/ts-source/websql-code-prod/migrations/migrations_index._auto-generated_.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/migrations/migrations_index._auto-generated_.ts +18 -0
- package/ts-source/websql-code-prod/my-organization-proj.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/my-organization-proj.ts +18 -0
- package/ts-source/websql-code-prod/start-cli.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/start-cli.ts +43 -0
- package/ts-source/websql-code-prod/taon-marketing-ab/i18n/taon-marketing-ab.constants.ts.en-US.i18n.data.ts +28 -0
- package/ts-source/websql-code-prod/taon-marketing-ab/i18n/taon-marketing-ab.constants.ts.en-US.po +9 -0
- package/ts-source/websql-code-prod/taon-marketing-ab/i18n/taon-marketing-ab.constants.ts.pl-PL.i18n.data.ts +28 -0
- package/ts-source/websql-code-prod/taon-marketing-ab/i18n/taon-marketing-ab.constants.ts.pl-PL.po +9 -0
- package/ts-source/websql-code-prod/taon-marketing-ab/i18n/taon-marketing-ab.translation.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-ab/i18n/taon-marketing-ab.translation.ts +17 -0
- package/ts-source/websql-code-prod/taon-marketing-ab/index.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-ab/index.ts +24 -0
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab-backoffice/index.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab-backoffice/index.ts +13 -0
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab-backoffice/taon-marketing-ab-backoffice.component.html +16 -0
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab-backoffice/taon-marketing-ab-backoffice.component.scss +14 -0
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab-backoffice/taon-marketing-ab-backoffice.component.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab-backoffice/taon-marketing-ab-backoffice.component.ts +24 -0
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab-backoffice/taon-marketing-ab-backoffice.models.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab-backoffice/taon-marketing-ab-backoffice.models.ts +12 -0
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab-backoffice/taon-marketing-ab-backoffice.routes.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab-backoffice/taon-marketing-ab-backoffice.routes.ts +21 -0
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab.abstract.context.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab.abstract.context.ts +28 -0
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab.api.service.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab.api.service.ts +28 -0
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab.config.service.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab.config.service.ts +28 -0
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab.constants.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab.constants.ts +27 -0
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab.controller.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab.controller.ts +36 -0
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab.entity.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab.entity.ts +27 -0
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab.kv.repository.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab.kv.repository.ts +24 -0
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab.middleware.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab.middleware.ts +19 -0
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab.models.split-namespaces.json +10 -0
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab.models.ts +16 -0
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab.provider.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab.provider.ts +30 -0
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab.repository.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab.repository.ts +29 -0
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab.subscriber.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab.subscriber.ts +24 -0
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab.utils.split-namespaces.json +10 -0
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab.utils.ts +16 -0
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab.validators.split-namespaces.json +10 -0
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab.validators.ts +24 -0
- package/ts-source/websql-code-prod/taon-marketing-backoffice/index.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-backoffice/index.ts +13 -0
- package/ts-source/websql-code-prod/taon-marketing-backoffice/taon-marketing-backoffice.component.html +14 -0
- package/ts-source/websql-code-prod/taon-marketing-backoffice/taon-marketing-backoffice.component.scss +14 -0
- package/ts-source/websql-code-prod/taon-marketing-backoffice/taon-marketing-backoffice.component.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-backoffice/taon-marketing-backoffice.component.ts +24 -0
- package/ts-source/websql-code-prod/taon-marketing-backoffice/taon-marketing-backoffice.models.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-backoffice/taon-marketing-backoffice.models.ts +12 -0
- package/ts-source/websql-code-prod/taon-marketing-backoffice/taon-marketing-backoffice.routes.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-backoffice/taon-marketing-backoffice.routes.ts +53 -0
- package/ts-source/websql-code-prod/taon-marketing-newsletter/i18n/taon-marketing-newsletter.constants.ts.en-US.i18n.data.ts +28 -0
- package/ts-source/websql-code-prod/taon-marketing-newsletter/i18n/taon-marketing-newsletter.constants.ts.en-US.po +9 -0
- package/ts-source/websql-code-prod/taon-marketing-newsletter/i18n/taon-marketing-newsletter.constants.ts.pl-PL.i18n.data.ts +28 -0
- package/ts-source/websql-code-prod/taon-marketing-newsletter/i18n/taon-marketing-newsletter.constants.ts.pl-PL.po +9 -0
- package/ts-source/websql-code-prod/taon-marketing-newsletter/i18n/taon-marketing-newsletter.translation.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-newsletter/i18n/taon-marketing-newsletter.translation.ts +17 -0
- package/ts-source/websql-code-prod/taon-marketing-newsletter/index.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-newsletter/index.ts +24 -0
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter-backoffice/index.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter-backoffice/index.ts +13 -0
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter-backoffice/taon-marketing-newsletter-backoffice.component.html +16 -0
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter-backoffice/taon-marketing-newsletter-backoffice.component.scss +14 -0
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter-backoffice/taon-marketing-newsletter-backoffice.component.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter-backoffice/taon-marketing-newsletter-backoffice.component.ts +24 -0
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter-backoffice/taon-marketing-newsletter-backoffice.models.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter-backoffice/taon-marketing-newsletter-backoffice.models.ts +12 -0
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter-backoffice/taon-marketing-newsletter-backoffice.routes.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter-backoffice/taon-marketing-newsletter-backoffice.routes.ts +21 -0
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.abstract.context.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.abstract.context.ts +28 -0
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.api.service.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.api.service.ts +28 -0
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.config.service.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.config.service.ts +28 -0
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.constants.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.constants.ts +27 -0
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.controller.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.controller.ts +36 -0
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.entity.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.entity.ts +27 -0
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.kv.repository.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.kv.repository.ts +24 -0
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.middleware.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.middleware.ts +19 -0
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.models.split-namespaces.json +10 -0
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.models.ts +16 -0
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.provider.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.provider.ts +30 -0
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.repository.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.repository.ts +29 -0
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.subscriber.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.subscriber.ts +24 -0
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.utils.split-namespaces.json +10 -0
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.utils.ts +16 -0
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.validators.split-namespaces.json +10 -0
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.validators.ts +24 -0
- package/ts-source/websql-code-prod/taon-marketing-popup/index.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-popup/index.ts +25 -0
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup-backoffice/index.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup-backoffice/index.ts +13 -0
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup-backoffice/taon-marketing-popup-backoffice.component.html +24 -0
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup-backoffice/taon-marketing-popup-backoffice.component.scss +14 -0
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup-backoffice/taon-marketing-popup-backoffice.component.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup-backoffice/taon-marketing-popup-backoffice.component.ts +116 -0
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup-backoffice/taon-marketing-popup-backoffice.models.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup-backoffice/taon-marketing-popup-backoffice.models.ts +12 -0
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup-backoffice/taon-marketing-popup-backoffice.routes.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup-backoffice/taon-marketing-popup-backoffice.routes.ts +21 -0
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup-backoffice/taon-marketing-popup-editor.component.html +55 -0
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup-backoffice/taon-marketing-popup-editor.component.scss +34 -0
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup-backoffice/taon-marketing-popup-editor.component.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup-backoffice/taon-marketing-popup-editor.component.ts +111 -0
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup-content.component.html +30 -0
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup-content.component.scss +56 -0
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup-content.component.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup-content.component.ts +47 -0
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup.abstract.context.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup.abstract.context.ts +28 -0
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup.api.service.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup.api.service.ts +38 -0
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup.config.service.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup.config.service.ts +28 -0
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup.constants.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup.constants.ts +33 -0
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup.controller.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup.controller.ts +53 -0
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup.entity.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup.entity.ts +54 -0
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup.kv.repository.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup.kv.repository.ts +24 -0
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup.middleware.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup.middleware.ts +19 -0
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup.models.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup.models.ts +44 -0
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup.provider.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup.provider.ts +30 -0
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup.repository.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup.repository.ts +77 -0
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup.subscriber.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup.subscriber.ts +24 -0
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup.utils.split-namespaces.json +18 -0
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup.utils.ts +36 -0
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup.validation.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup.validation.ts +72 -0
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup.validators.split-namespaces.json +16 -0
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup.validators.ts +36 -0
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popups.component.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popups.component.ts +259 -0
- package/ts-source/websql-code-prod/taon-marketing-promo/i18n/taon-marketing-promo.constants.ts.en-US.i18n.data.ts +28 -0
- package/ts-source/websql-code-prod/taon-marketing-promo/i18n/taon-marketing-promo.constants.ts.en-US.po +9 -0
- package/ts-source/websql-code-prod/taon-marketing-promo/i18n/taon-marketing-promo.constants.ts.pl-PL.i18n.data.ts +28 -0
- package/ts-source/websql-code-prod/taon-marketing-promo/i18n/taon-marketing-promo.constants.ts.pl-PL.po +9 -0
- package/ts-source/websql-code-prod/taon-marketing-promo/i18n/taon-marketing-promo.translation.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-promo/i18n/taon-marketing-promo.translation.ts +17 -0
- package/ts-source/websql-code-prod/taon-marketing-promo/index.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-promo/index.ts +24 -0
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo-backoffice/index.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo-backoffice/index.ts +13 -0
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo-backoffice/taon-marketing-promo-backoffice.component.html +16 -0
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo-backoffice/taon-marketing-promo-backoffice.component.scss +14 -0
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo-backoffice/taon-marketing-promo-backoffice.component.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo-backoffice/taon-marketing-promo-backoffice.component.ts +24 -0
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo-backoffice/taon-marketing-promo-backoffice.models.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo-backoffice/taon-marketing-promo-backoffice.models.ts +12 -0
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo-backoffice/taon-marketing-promo-backoffice.routes.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo-backoffice/taon-marketing-promo-backoffice.routes.ts +21 -0
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo.abstract.context.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo.abstract.context.ts +28 -0
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo.api.service.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo.api.service.ts +28 -0
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo.config.service.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo.config.service.ts +28 -0
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo.constants.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo.constants.ts +27 -0
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo.controller.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo.controller.ts +36 -0
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo.entity.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo.entity.ts +27 -0
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo.kv.repository.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo.kv.repository.ts +24 -0
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo.middleware.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo.middleware.ts +19 -0
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo.models.split-namespaces.json +10 -0
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo.models.ts +16 -0
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo.provider.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo.provider.ts +30 -0
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo.repository.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo.repository.ts +29 -0
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo.subscriber.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo.subscriber.ts +24 -0
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo.utils.split-namespaces.json +10 -0
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo.utils.ts +16 -0
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo.validators.split-namespaces.json +10 -0
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo.validators.ts +24 -0
- package/ts-source/websql-code-prod/taon-marketing.abstract.context.split-namespaces.json +4 -0
- package/ts-source/websql-code-prod/taon-marketing.abstract.context.ts +29 -0
- package/websql/fesm2022/marketing-websql.mjs +44 -65
- package/websql/fesm2022/marketing-websql.mjs.map +1 -1
- package/websql/package.json +1 -1
- package/websql/types/marketing-websql.d.ts +2 -76
- package/websql-prod/fesm2022/marketing-websql-prod.mjs +44 -65
- package/websql-prod/fesm2022/marketing-websql-prod.mjs.map +1 -1
- package/websql-prod/package.json +1 -1
- package/websql-prod/types/marketing-websql-prod.d.ts +2 -76
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
/* ============================================================================
|
|
3
|
+
|
|
4
|
+
- TAON READONLY SOURCE
|
|
5
|
+
- DO NOT MODIFY THIS FILE.
|
|
6
|
+
- Changes may be overwritten.
|
|
7
|
+
- Use command: taon build:watch:lib
|
|
8
|
+
inside @taon-dev/marketing project repository
|
|
9
|
+
for watch development of third party modules like this.
|
|
10
|
+
|
|
11
|
+
* ========================================================================== */
|
|
12
|
+
|
|
13
|
+
import { Injectable } from '@angular/core';
|
|
14
|
+
import { Observable } from 'rxjs';
|
|
15
|
+
import { map } from 'rxjs/operators';
|
|
16
|
+
import { Taon, TaonBaseAngularService } from 'taon/websql';
|
|
17
|
+
import { TaonMarketingPopupProvider } from './taon-marketing-popup.provider';
|
|
18
|
+
@Injectable()
|
|
19
|
+
export class TaonMarketingPopupConfigService extends TaonBaseAngularService {
|
|
20
|
+
private taonMarketingPopupProvider = this.injectProvider(TaonMarketingPopupProvider);
|
|
21
|
+
get isEnableOption() {
|
|
22
|
+
return this.taonMarketingPopupProvider.enabledTaonMarketingPopupOption;
|
|
23
|
+
}
|
|
24
|
+
clone(): Partial<TaonMarketingPopupProvider> {
|
|
25
|
+
const cloned = this.taonMarketingPopupProvider.clone();
|
|
26
|
+
return cloned;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
/* ============================================================================
|
|
3
|
+
|
|
4
|
+
- TAON READONLY SOURCE
|
|
5
|
+
- DO NOT MODIFY THIS FILE.
|
|
6
|
+
- Changes may be overwritten.
|
|
7
|
+
- Use command: taon build:watch:lib
|
|
8
|
+
inside @taon-dev/marketing project repository
|
|
9
|
+
for watch development of third party modules like this.
|
|
10
|
+
|
|
11
|
+
* ========================================================================== */
|
|
12
|
+
|
|
13
|
+
import type { TaonMarketingPopupEntity } from './taon-marketing-popup.entity';
|
|
14
|
+
import { TaonMarketingPopupType } from './taon-marketing-popup.models';
|
|
15
|
+
export const TaonMarketingPopupDefaultsValues = {
|
|
16
|
+
name: '',
|
|
17
|
+
enabled: false,
|
|
18
|
+
type: TaonMarketingPopupType.Dialog,
|
|
19
|
+
title: null,
|
|
20
|
+
content: null,
|
|
21
|
+
imageKey: null,
|
|
22
|
+
buttonText: null,
|
|
23
|
+
buttonUrl: null,
|
|
24
|
+
delaySeconds: 0,
|
|
25
|
+
displayOnPaths: null,
|
|
26
|
+
excludePaths: null,
|
|
27
|
+
startAt: null,
|
|
28
|
+
endAt: null,
|
|
29
|
+
maxDisplaysPerVisitor: null,
|
|
30
|
+
oncePerSession: true,
|
|
31
|
+
version: 0,
|
|
32
|
+
id: void 0,
|
|
33
|
+
} satisfies Partial<TaonMarketingPopupEntity>;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
/* ============================================================================
|
|
3
|
+
|
|
4
|
+
- TAON READONLY SOURCE
|
|
5
|
+
- DO NOT MODIFY THIS FILE.
|
|
6
|
+
- Changes may be overwritten.
|
|
7
|
+
- Use command: taon build:watch:lib
|
|
8
|
+
inside @taon-dev/marketing project repository
|
|
9
|
+
for watch development of third party modules like this.
|
|
10
|
+
|
|
11
|
+
* ========================================================================== */
|
|
12
|
+
|
|
13
|
+
import { Taon, TaonController, TaonBaseCrudController, Query, GET, POST, PUT, DELETE, Body, } from 'taon/websql';
|
|
14
|
+
import { TaonMarketingPopupEntity } from './taon-marketing-popup.entity';
|
|
15
|
+
import { TaonMarketingPopupRepository } from './taon-marketing-popup.repository';
|
|
16
|
+
import type { TaonMarketingPopupFields } from './taon-marketing-popup.models';
|
|
17
|
+
@TaonController<TaonMarketingPopupController>({
|
|
18
|
+
className: 'TaonMarketingPopupController',
|
|
19
|
+
allowedMethods: [
|
|
20
|
+
'getAll', 'getBy', 'paginationQuery', 'getActivePopups',
|
|
21
|
+
'savePopup', 'setEnabled', 'deletePopup',
|
|
22
|
+
],
|
|
23
|
+
})
|
|
24
|
+
export class TaonMarketingPopupController extends TaonBaseCrudController<TaonMarketingPopupEntity, {}, TaonMarketingPopupController> {
|
|
25
|
+
entityClassResolveFn: () => typeof TaonMarketingPopupEntity = () => TaonMarketingPopupEntity;
|
|
26
|
+
private readonly taonMarketingPopupRepository = this.injectCustomRepo(TaonMarketingPopupRepository);
|
|
27
|
+
@GET()
|
|
28
|
+
getActivePopups(): Taon.Response<TaonMarketingPopupEntity[]> {
|
|
29
|
+
return async () => this.taonMarketingPopupRepository.activePopups();
|
|
30
|
+
}
|
|
31
|
+
@POST()
|
|
32
|
+
savePopup(
|
|
33
|
+
@Body()
|
|
34
|
+
input: TaonMarketingPopupFields,
|
|
35
|
+
@Query('id')
|
|
36
|
+
id?: number): Taon.Response<TaonMarketingPopupEntity> {
|
|
37
|
+
return async () => this.taonMarketingPopupRepository.savePopup(input, id);
|
|
38
|
+
}
|
|
39
|
+
@PUT()
|
|
40
|
+
setEnabled(
|
|
41
|
+
@Query('id')
|
|
42
|
+
id: number,
|
|
43
|
+
@Body('enabled')
|
|
44
|
+
enabled: boolean): Taon.Response<TaonMarketingPopupEntity> {
|
|
45
|
+
return async () => this.taonMarketingPopupRepository.setEnabled(id, enabled);
|
|
46
|
+
}
|
|
47
|
+
@DELETE()
|
|
48
|
+
deletePopup(
|
|
49
|
+
@Query('id')
|
|
50
|
+
id: number): Taon.Response<void> {
|
|
51
|
+
return async () => this.taonMarketingPopupRepository.deletePopup(id);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
/* ============================================================================
|
|
3
|
+
|
|
4
|
+
- TAON READONLY SOURCE
|
|
5
|
+
- DO NOT MODIFY THIS FILE.
|
|
6
|
+
- Changes may be overwritten.
|
|
7
|
+
- Use command: taon build:watch:lib
|
|
8
|
+
inside @taon-dev/marketing project repository
|
|
9
|
+
for watch development of third party modules like this.
|
|
10
|
+
|
|
11
|
+
* ========================================================================== */
|
|
12
|
+
|
|
13
|
+
import { Column, CreateDateColumn, UpdateDateColumn, TaonBaseAbstractEntity, TaonEntity, } from 'taon/websql';
|
|
14
|
+
import { TaonMarketingPopupType } from './taon-marketing-popup.models';
|
|
15
|
+
@TaonEntity<TaonMarketingPopupEntity>({
|
|
16
|
+
className: 'TaonMarketingPopupEntity',
|
|
17
|
+
createTable: true,
|
|
18
|
+
})
|
|
19
|
+
export class TaonMarketingPopupEntity extends TaonBaseAbstractEntity<TaonMarketingPopupEntity> {
|
|
20
|
+
@Column({ type: 'varchar', length: 200, default: '' })
|
|
21
|
+
name: string = '';
|
|
22
|
+
@Column({ type: 'boolean', default: false })
|
|
23
|
+
enabled: boolean = false;
|
|
24
|
+
@Column({ type: 'varchar', default: TaonMarketingPopupType.Dialog })
|
|
25
|
+
type: TaonMarketingPopupType = TaonMarketingPopupType.Dialog;
|
|
26
|
+
@Column({ type: 'varchar', nullable: true })
|
|
27
|
+
title: string | null = null;
|
|
28
|
+
@Column({ type: 'text', nullable: true })
|
|
29
|
+
content: string | null = null;
|
|
30
|
+
@Column({ type: 'varchar', nullable: true })
|
|
31
|
+
imageKey: string | null = null;
|
|
32
|
+
@Column({ type: 'varchar', nullable: true })
|
|
33
|
+
buttonText: string | null = null;
|
|
34
|
+
@Column({ type: 'varchar', nullable: true })
|
|
35
|
+
buttonUrl: string | null = null;
|
|
36
|
+
@Column({ type: 'float', default: 0 })
|
|
37
|
+
delaySeconds: number = 0;
|
|
38
|
+
@Column({ type: 'simple-json', nullable: true })
|
|
39
|
+
displayOnPaths: string[] | null = null;
|
|
40
|
+
@Column({ type: 'simple-json', nullable: true })
|
|
41
|
+
excludePaths: string[] | null = null;
|
|
42
|
+
@Column({ type: 'datetime', nullable: true })
|
|
43
|
+
startAt: Date | null = null;
|
|
44
|
+
@Column({ type: 'datetime', nullable: true })
|
|
45
|
+
endAt: Date | null = null;
|
|
46
|
+
@Column({ type: 'integer', nullable: true })
|
|
47
|
+
maxDisplaysPerVisitor: number | null = null;
|
|
48
|
+
@Column({ type: 'boolean', default: true })
|
|
49
|
+
oncePerSession: boolean = true;
|
|
50
|
+
@CreateDateColumn({ type: 'datetime' })
|
|
51
|
+
createdAt: Date;
|
|
52
|
+
@UpdateDateColumn({ type: 'datetime' })
|
|
53
|
+
updatedAt: Date;
|
|
54
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
/* ============================================================================
|
|
3
|
+
|
|
4
|
+
- TAON READONLY SOURCE
|
|
5
|
+
- DO NOT MODIFY THIS FILE.
|
|
6
|
+
- Changes may be overwritten.
|
|
7
|
+
- Use command: taon build:watch:lib
|
|
8
|
+
inside @taon-dev/marketing project repository
|
|
9
|
+
for watch development of third party modules like this.
|
|
10
|
+
|
|
11
|
+
* ========================================================================== */
|
|
12
|
+
|
|
13
|
+
import { TaonBaseRepository, TaonBaseKvRepository, TaonRepository, } from 'taon/websql';
|
|
14
|
+
import { TaonMarketingPopupEntity } from './taon-marketing-popup.entity';
|
|
15
|
+
@TaonRepository({
|
|
16
|
+
className: 'TaonMarketingPopupKvRepository',
|
|
17
|
+
})
|
|
18
|
+
export class TaonMarketingPopupKvRepository extends TaonBaseKvRepository<{
|
|
19
|
+
usersToNotify: TaonMarketingPopupEntity[];
|
|
20
|
+
}> {
|
|
21
|
+
async notifyUsers(users: TaonMarketingPopupEntity[]) {
|
|
22
|
+
this.set('usersToNotify', users);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
/* ============================================================================
|
|
3
|
+
|
|
4
|
+
- TAON READONLY SOURCE
|
|
5
|
+
- DO NOT MODIFY THIS FILE.
|
|
6
|
+
- Changes may be overwritten.
|
|
7
|
+
- Use command: taon build:watch:lib
|
|
8
|
+
inside @taon-dev/marketing project repository
|
|
9
|
+
for watch development of third party modules like this.
|
|
10
|
+
|
|
11
|
+
* ========================================================================== */
|
|
12
|
+
|
|
13
|
+
import { Taon, TaonBaseMiddleware, TaonMiddleware } from 'taon/websql';
|
|
14
|
+
import { _ } from 'tnp-core/websql';
|
|
15
|
+
@TaonMiddleware({
|
|
16
|
+
className: 'TaonMarketingPopupMiddleware',
|
|
17
|
+
})
|
|
18
|
+
export class TaonMarketingPopupMiddleware extends TaonBaseMiddleware {
|
|
19
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
/* ============================================================================
|
|
3
|
+
|
|
4
|
+
- TAON READONLY SOURCE
|
|
5
|
+
- DO NOT MODIFY THIS FILE.
|
|
6
|
+
- Changes may be overwritten.
|
|
7
|
+
- Use command: taon build:watch:lib
|
|
8
|
+
inside @taon-dev/marketing project repository
|
|
9
|
+
for watch development of third party modules like this.
|
|
10
|
+
|
|
11
|
+
* ========================================================================== */
|
|
12
|
+
|
|
13
|
+
export enum TaonMarketingPopupType {
|
|
14
|
+
Dialog = 'dialog',
|
|
15
|
+
Bottom = 'bottom'
|
|
16
|
+
}
|
|
17
|
+
export interface TaonMarketingPopupFields {
|
|
18
|
+
name: string;
|
|
19
|
+
enabled: boolean;
|
|
20
|
+
type: TaonMarketingPopupType;
|
|
21
|
+
title: string | null;
|
|
22
|
+
content: string | null;
|
|
23
|
+
imageKey: string | null;
|
|
24
|
+
buttonText: string | null;
|
|
25
|
+
buttonUrl: string | null;
|
|
26
|
+
delaySeconds: number;
|
|
27
|
+
displayOnPaths: string[] | null;
|
|
28
|
+
excludePaths: string[] | null;
|
|
29
|
+
startAt: Date | string | null;
|
|
30
|
+
endAt: Date | string | null;
|
|
31
|
+
maxDisplaysPerVisitor: number | null;
|
|
32
|
+
oncePerSession: boolean;
|
|
33
|
+
}
|
|
34
|
+
export interface TaonMarketingPopupEvent {
|
|
35
|
+
name: 'popup-impression' | 'popup-click' | 'popup-close';
|
|
36
|
+
category: 'marketing';
|
|
37
|
+
path: string;
|
|
38
|
+
data: {
|
|
39
|
+
popupId: number;
|
|
40
|
+
type: TaonMarketingPopupType;
|
|
41
|
+
};
|
|
42
|
+
createdAt: Date;
|
|
43
|
+
}
|
|
44
|
+
export type TaonMarketingPopupImageResolver = (key: string) => string;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
/* ============================================================================
|
|
3
|
+
|
|
4
|
+
- TAON READONLY SOURCE
|
|
5
|
+
- DO NOT MODIFY THIS FILE.
|
|
6
|
+
- Changes may be overwritten.
|
|
7
|
+
- Use command: taon build:watch:lib
|
|
8
|
+
inside @taon-dev/marketing project repository
|
|
9
|
+
for watch development of third party modules like this.
|
|
10
|
+
|
|
11
|
+
* ========================================================================== */
|
|
12
|
+
|
|
13
|
+
import { Taon, TaonBaseClass, TaonBaseProvider, TaonProvider } from 'taon/websql';
|
|
14
|
+
import { _ } from 'tnp-core/websql';
|
|
15
|
+
export class TaonTaonMarketingPopupConfig extends TaonBaseClass {
|
|
16
|
+
declare name: string;
|
|
17
|
+
}
|
|
18
|
+
@TaonProvider({
|
|
19
|
+
className: 'TaonMarketingPopupProvider',
|
|
20
|
+
})
|
|
21
|
+
export class TaonMarketingPopupProvider extends TaonBaseProvider {
|
|
22
|
+
enabledTaonMarketingPopupOption: boolean = true;
|
|
23
|
+
config = new TaonTaonMarketingPopupConfig();
|
|
24
|
+
clone() {
|
|
25
|
+
return {
|
|
26
|
+
enabledTaonMarketingPopupOption: this.enabledTaonMarketingPopupOption,
|
|
27
|
+
config: this.config.clone(),
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
/* ============================================================================
|
|
3
|
+
|
|
4
|
+
- TAON READONLY SOURCE
|
|
5
|
+
- DO NOT MODIFY THIS FILE.
|
|
6
|
+
- Changes may be overwritten.
|
|
7
|
+
- Use command: taon build:watch:lib
|
|
8
|
+
inside @taon-dev/marketing project repository
|
|
9
|
+
for watch development of third party modules like this.
|
|
10
|
+
|
|
11
|
+
* ========================================================================== */
|
|
12
|
+
|
|
13
|
+
import { TaonBaseRepository, TaonRepository } from 'taon/websql';
|
|
14
|
+
import { TaonMarketingPopupEntity } from './taon-marketing-popup.entity';
|
|
15
|
+
import type { TaonMarketingPopupFields } from './taon-marketing-popup.models';
|
|
16
|
+
import { TaonMarketingPopupUtils } from './taon-marketing-popup.utils';
|
|
17
|
+
import { popupError, requirePopupId, validatePopup } from './taon-marketing-popup.validation';
|
|
18
|
+
@TaonRepository({
|
|
19
|
+
className: 'TaonMarketingPopupRepository',
|
|
20
|
+
})
|
|
21
|
+
export class TaonMarketingPopupRepository extends TaonBaseRepository<TaonMarketingPopupEntity> {
|
|
22
|
+
entityClassResolveFn: () => typeof TaonMarketingPopupEntity = () => TaonMarketingPopupEntity;
|
|
23
|
+
async activePopups(): Promise<TaonMarketingPopupEntity[]> {
|
|
24
|
+
const popups = await this.find({ where: { enabled: true }, order: { id: 'ASC' } });
|
|
25
|
+
const now = new Date();
|
|
26
|
+
return popups.filter(popup => TaonMarketingPopupUtils.isActive(popup, now));
|
|
27
|
+
}
|
|
28
|
+
async savePopup(input: TaonMarketingPopupFields, id?: number): Promise<TaonMarketingPopupEntity> {
|
|
29
|
+
validatePopup(input);
|
|
30
|
+
if (id !== undefined) {
|
|
31
|
+
requirePopupId(id);
|
|
32
|
+
}
|
|
33
|
+
const popup = id === undefined
|
|
34
|
+
? this.repo.create()
|
|
35
|
+
: await this.repo.findOneBy({ id });
|
|
36
|
+
if (!popup) {
|
|
37
|
+
popupError('Popup was not found.', 404);
|
|
38
|
+
}
|
|
39
|
+
Object.assign(popup, {
|
|
40
|
+
name: input.name.trim(),
|
|
41
|
+
enabled: input.enabled,
|
|
42
|
+
type: input.type,
|
|
43
|
+
title: input.title,
|
|
44
|
+
content: input.content,
|
|
45
|
+
imageKey: input.imageKey,
|
|
46
|
+
buttonText: input.buttonText,
|
|
47
|
+
buttonUrl: input.buttonUrl,
|
|
48
|
+
delaySeconds: input.delaySeconds,
|
|
49
|
+
displayOnPaths: input.displayOnPaths,
|
|
50
|
+
excludePaths: input.excludePaths,
|
|
51
|
+
startAt: input.startAt === null ? null : new Date(input.startAt),
|
|
52
|
+
endAt: input.endAt === null ? null : new Date(input.endAt),
|
|
53
|
+
maxDisplaysPerVisitor: input.maxDisplaysPerVisitor,
|
|
54
|
+
oncePerSession: input.oncePerSession,
|
|
55
|
+
});
|
|
56
|
+
return this.repo.save(popup);
|
|
57
|
+
}
|
|
58
|
+
async setEnabled(id: number, enabled: boolean): Promise<TaonMarketingPopupEntity> {
|
|
59
|
+
requirePopupId(id);
|
|
60
|
+
if (typeof enabled !== 'boolean') {
|
|
61
|
+
popupError('Enabled must be a boolean.');
|
|
62
|
+
}
|
|
63
|
+
const popup = await this.repo.findOneBy({ id });
|
|
64
|
+
if (!popup) {
|
|
65
|
+
popupError('Popup was not found.', 404);
|
|
66
|
+
}
|
|
67
|
+
popup.enabled = enabled;
|
|
68
|
+
return this.repo.save(popup);
|
|
69
|
+
}
|
|
70
|
+
async deletePopup(id: number): Promise<void> {
|
|
71
|
+
requirePopupId(id);
|
|
72
|
+
const result = await this.repo.delete(id);
|
|
73
|
+
if (!result.affected) {
|
|
74
|
+
popupError('Popup was not found.', 404);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
/* ============================================================================
|
|
3
|
+
|
|
4
|
+
- TAON READONLY SOURCE
|
|
5
|
+
- DO NOT MODIFY THIS FILE.
|
|
6
|
+
- Changes may be overwritten.
|
|
7
|
+
- Use command: taon build:watch:lib
|
|
8
|
+
inside @taon-dev/marketing project repository
|
|
9
|
+
for watch development of third party modules like this.
|
|
10
|
+
|
|
11
|
+
* ========================================================================== */
|
|
12
|
+
|
|
13
|
+
import { TaonBaseSubscriberForEntity, TaonSubscriber } from 'taon/websql';
|
|
14
|
+
import { TaonMarketingPopupEntity } from './taon-marketing-popup.entity';
|
|
15
|
+
import { TaonMarketingPopupProvider } from './taon-marketing-popup.provider';
|
|
16
|
+
@TaonSubscriber<TaonMarketingPopupSubscriber>({
|
|
17
|
+
className: 'TaonMarketingPopupSubscriber',
|
|
18
|
+
})
|
|
19
|
+
export class TaonMarketingPopupSubscriber extends TaonBaseSubscriberForEntity {
|
|
20
|
+
private readonly taonMarketingPopupProvider = this.injectProvider(TaonMarketingPopupProvider);
|
|
21
|
+
listenTo(): typeof TaonMarketingPopupEntity {
|
|
22
|
+
return TaonMarketingPopupEntity;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
/* ============================================================================
|
|
3
|
+
|
|
4
|
+
- TAON READONLY SOURCE
|
|
5
|
+
- DO NOT MODIFY THIS FILE.
|
|
6
|
+
- Changes may be overwritten.
|
|
7
|
+
- Use command: taon build:watch:lib
|
|
8
|
+
inside @taon-dev/marketing project repository
|
|
9
|
+
for watch development of third party modules like this.
|
|
10
|
+
|
|
11
|
+
* ========================================================================== */
|
|
12
|
+
|
|
13
|
+
import type { TaonMarketingPopupFields } from './taon-marketing-popup.models';
|
|
14
|
+
export namespace TaonMarketingPopupUtils {
|
|
15
|
+
export function isActive(popup: TaonMarketingPopupFields, now = new Date()): boolean {
|
|
16
|
+
return popup.enabled &&
|
|
17
|
+
(!popup.startAt || new Date(popup.startAt).getTime() <= now.getTime()) &&
|
|
18
|
+
(!popup.endAt || new Date(popup.endAt).getTime() >= now.getTime());
|
|
19
|
+
}
|
|
20
|
+
export function matchesPath(pattern: string, path: string): boolean {
|
|
21
|
+
const pathname = path.split(/[?#]/, 1)[0];
|
|
22
|
+
return pattern.endsWith('*')
|
|
23
|
+
? pathname.startsWith(pattern.slice(0, -1))
|
|
24
|
+
: pathname === pattern;
|
|
25
|
+
}
|
|
26
|
+
export function isPathPattern(value: string): boolean {
|
|
27
|
+
return /^\/[^?#\s*]*\*?$/.test(value);
|
|
28
|
+
}
|
|
29
|
+
export function allowsPath(popup: TaonMarketingPopupFields, path: string): boolean {
|
|
30
|
+
return (!popup.displayOnPaths?.length ||
|
|
31
|
+
popup.displayOnPaths.some(pattern => matchesPath(pattern, path))) &&
|
|
32
|
+
!popup.excludePaths?.some(pattern => matchesPath(pattern, path));
|
|
33
|
+
}
|
|
34
|
+
export function isSafeUrl(value: string): boolean {
|
|
35
|
+
return !/[\s\\\u0000-\u001f\u007f]/.test(value) &&
|
|
36
|
+
(/^\/(?!\/)/.test(value) || /^https?:\/\/[^/]+/i.test(value));
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
/* ============================================================================
|
|
3
|
+
|
|
4
|
+
- TAON READONLY SOURCE
|
|
5
|
+
- DO NOT MODIFY THIS FILE.
|
|
6
|
+
- Changes may be overwritten.
|
|
7
|
+
- Use command: taon build:watch:lib
|
|
8
|
+
inside @taon-dev/marketing project repository
|
|
9
|
+
for watch development of third party modules like this.
|
|
10
|
+
|
|
11
|
+
* ========================================================================== */
|
|
12
|
+
|
|
13
|
+
import { Taon } from 'taon/websql';
|
|
14
|
+
import { TaonMarketingPopupType } from './taon-marketing-popup.models';
|
|
15
|
+
import type { TaonMarketingPopupFields } from './taon-marketing-popup.models';
|
|
16
|
+
import { TaonMarketingPopupUtils } from './taon-marketing-popup.utils';
|
|
17
|
+
export function popupError(message: string, status = 400): never {
|
|
18
|
+
Taon.error({ message, status });
|
|
19
|
+
throw new Error(message);
|
|
20
|
+
}
|
|
21
|
+
export function requirePopupId(id: number): void {
|
|
22
|
+
if (!Number.isSafeInteger(id) || id <= 0) {
|
|
23
|
+
popupError('Popup ID must be a positive integer.');
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
export function validatePopup(input: TaonMarketingPopupFields): void {
|
|
27
|
+
if (!input || typeof input !== 'object' || Array.isArray(input)) {
|
|
28
|
+
popupError('Popup must be an object.');
|
|
29
|
+
}
|
|
30
|
+
if (typeof input.name !== 'string' || !input.name.trim() || input.name.length > 200) {
|
|
31
|
+
popupError('Name is required and must not exceed 200 characters.');
|
|
32
|
+
}
|
|
33
|
+
if (!Object.values(TaonMarketingPopupType).includes(input.type)) {
|
|
34
|
+
popupError('Popup type must be dialog or bottom.');
|
|
35
|
+
}
|
|
36
|
+
if (typeof input.enabled !== 'boolean' || typeof input.oncePerSession !== 'boolean') {
|
|
37
|
+
popupError('Enabled and oncePerSession must be booleans.');
|
|
38
|
+
}
|
|
39
|
+
if (!Number.isFinite(input.delaySeconds) || input.delaySeconds < 0 ||
|
|
40
|
+
input.delaySeconds > 2147483) {
|
|
41
|
+
popupError('Delay must be between 0 and 2147483 seconds.');
|
|
42
|
+
}
|
|
43
|
+
if (input.maxDisplaysPerVisitor !== null &&
|
|
44
|
+
(!Number.isSafeInteger(input.maxDisplaysPerVisitor) || input.maxDisplaysPerVisitor < 1)) {
|
|
45
|
+
popupError('Maximum displays must be a positive integer or null.');
|
|
46
|
+
}
|
|
47
|
+
for (const field of ['title', 'content', 'imageKey', 'buttonText', 'buttonUrl'] as const) {
|
|
48
|
+
if (input[field] !== null && typeof input[field] !== 'string') {
|
|
49
|
+
popupError(`${field} must be a string or null.`);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
if (input.buttonUrl && !TaonMarketingPopupUtils.isSafeUrl(input.buttonUrl)) {
|
|
53
|
+
popupError('Button URL must be an HTTP(S) URL or a root-relative path.');
|
|
54
|
+
}
|
|
55
|
+
for (const field of ['displayOnPaths', 'excludePaths'] as const) {
|
|
56
|
+
const paths = input[field];
|
|
57
|
+
if (paths !== null && (!Array.isArray(paths) || paths.some(path => typeof path !== 'string' || !TaonMarketingPopupUtils.isPathPattern(path)))) {
|
|
58
|
+
popupError(`${field} must contain paths beginning with / and an optional trailing *.`);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
for (const field of ['startAt', 'endAt'] as const) {
|
|
62
|
+
const date = input[field];
|
|
63
|
+
if (date !== null && (!(date instanceof Date || typeof date === 'string') ||
|
|
64
|
+
!Number.isFinite(new Date(date).getTime()))) {
|
|
65
|
+
popupError(`${field} must be a valid date or null.`);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
if (input.startAt && input.endAt &&
|
|
69
|
+
new Date(input.startAt).getTime() > new Date(input.endAt).getTime()) {
|
|
70
|
+
popupError('End date must not precede start date.');
|
|
71
|
+
}
|
|
72
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
/* ============================================================================
|
|
3
|
+
|
|
4
|
+
- TAON READONLY SOURCE
|
|
5
|
+
- DO NOT MODIFY THIS FILE.
|
|
6
|
+
- Changes may be overwritten.
|
|
7
|
+
- Use command: taon build:watch:lib
|
|
8
|
+
inside @taon-dev/marketing project repository
|
|
9
|
+
for watch development of third party modules like this.
|
|
10
|
+
|
|
11
|
+
* ========================================================================== */
|
|
12
|
+
|
|
13
|
+
import { ValidatorFn } from '@angular/forms';
|
|
14
|
+
import { TaonMarketingPopupUtils } from './taon-marketing-popup.utils';
|
|
15
|
+
export namespace TaonMarketingPopupValidators {
|
|
16
|
+
export const paths: ValidatorFn = control => {
|
|
17
|
+
const value: unknown = control.value;
|
|
18
|
+
return typeof value === 'string' &&
|
|
19
|
+
value.split('\n').map(path => path.trim()).filter(Boolean)
|
|
20
|
+
.every(path => TaonMarketingPopupUtils.isPathPattern(path))
|
|
21
|
+
? null : { popupPaths: true };
|
|
22
|
+
};
|
|
23
|
+
export const url: ValidatorFn = control => {
|
|
24
|
+
const value: unknown = control.value;
|
|
25
|
+
return typeof value === 'string' &&
|
|
26
|
+
(!value.trim() || TaonMarketingPopupUtils.isSafeUrl(value.trim()))
|
|
27
|
+
? null : { popupUrl: true };
|
|
28
|
+
};
|
|
29
|
+
export const optionalPositiveInteger: ValidatorFn = control => control.value === null ||
|
|
30
|
+
(Number.isSafeInteger(control.value) && control.value > 0)
|
|
31
|
+
? null : { popupDisplayLimit: true };
|
|
32
|
+
export const optionalDate: ValidatorFn = control => {
|
|
33
|
+
const value: unknown = control.value;
|
|
34
|
+
return typeof value === 'string' &&
|
|
35
|
+
(!value || Number.isFinite(new Date(value).getTime()))
|
|
36
|
+
? null : { popupDate: true };
|
|
37
|
+
};
|
|
38
|
+
}
|