@taon-dev/marketing 21.0.24 → 21.0.26
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 +3 -3
- package/browser/fesm2022/marketing-browser.mjs +12 -2
- package/browser/fesm2022/marketing-browser.mjs.map +1 -1
- package/browser/package.json +1 -1
- package/browser/types/marketing-browser.d.ts +7 -2
- package/browser-prod/fesm2022/marketing-browser-prod.mjs +12 -2
- 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 +7 -2
- package/full-dts/build-info._auto-generated_.d.ts +1 -1
- package/full-dts/migrations/migrations_index._auto-generated_.d.ts +6 -1
- package/lib/build-info._auto-generated_.d.ts +1 -1
- package/lib/build-info._auto-generated_.js +1 -1
- package/lib/migrations/migrations_index._auto-generated_.d.ts +5 -0
- package/lib/migrations/migrations_index._auto-generated_.js +6 -1
- package/lib/migrations/migrations_index._auto-generated_.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/migrations/migrations_index._auto-generated_.d.ts +5 -0
- package/lib-esm/lib/migrations/migrations_index._auto-generated_.js +5 -0
- package/lib-esm/lib/migrations/migrations_index._auto-generated_.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/migrations/migrations_index._auto-generated_.d.ts +5 -0
- package/lib-prod/migrations/migrations_index._auto-generated_.js +5 -0
- package/lib-prod/migrations/migrations_index._auto-generated_.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 +1 -1
- package/ts-source/browser-code/migrations/migrations_index._auto-generated_.ts +5 -0
- package/ts-source/browser-code-prod/build-info._auto-generated_.ts +1 -1
- package/ts-source/browser-code-prod/i18n/lib.translation.ts +2 -2
- package/ts-source/browser-code-prod/migrations/1791132517216_initial.ts +1 -1
- package/ts-source/browser-code-prod/migrations/migrations_index._auto-generated_.ts +5 -0
- package/ts-source/browser-code-prod/my-organization-proj.ts +1 -1
- package/ts-source/browser-code-prod/start-cli.ts +3 -3
- package/ts-source/browser-code-prod/taon-marketing-ab/i18n/taon-marketing-ab.translation.ts +2 -2
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab-backoffice/taon-marketing-ab-backoffice.models.ts +1 -0
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab.api.service.ts +1 -1
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab.config.service.ts +1 -1
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab.constants.ts +1 -1
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab.controller.ts +3 -3
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab.entity.ts +2 -2
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab.middleware.ts +2 -2
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab.models.ts +5 -3
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab.provider.ts +2 -2
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab.utils.ts +5 -3
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab.validators.ts +12 -10
- package/ts-source/browser-code-prod/taon-marketing-backoffice/taon-marketing-backoffice.models.ts +1 -0
- package/ts-source/browser-code-prod/taon-marketing-newsletter/i18n/taon-marketing-newsletter.translation.ts +2 -2
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter-backoffice/taon-marketing-newsletter-backoffice.models.ts +1 -0
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.api.service.ts +1 -1
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.config.service.ts +1 -1
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.constants.ts +1 -1
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.controller.ts +3 -3
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.entity.ts +2 -2
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.middleware.ts +2 -2
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.models.ts +5 -3
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.provider.ts +2 -2
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.utils.ts +5 -3
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.validators.ts +12 -10
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup-backoffice/taon-marketing-popup-backoffice.models.ts +1 -0
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup-backoffice/taon-marketing-popup-editor.component.ts +7 -7
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup.config.service.ts +1 -1
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup.controller.ts +5 -5
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup.middleware.ts +2 -2
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup.provider.ts +2 -2
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup.repository.ts +1 -1
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup.utils.ts +24 -22
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup.validation.ts +5 -5
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup.validators.ts +25 -23
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popups.component.ts +8 -8
- package/ts-source/browser-code-prod/taon-marketing-promo/i18n/taon-marketing-promo.translation.ts +2 -2
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo-backoffice/taon-marketing-promo-backoffice.models.ts +1 -0
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo.api.service.ts +1 -1
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo.config.service.ts +1 -1
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo.constants.ts +1 -1
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo.controller.ts +3 -3
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo.entity.ts +2 -2
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo.middleware.ts +2 -2
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo.models.ts +5 -3
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo.provider.ts +2 -2
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo.utils.ts +5 -3
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo.validators.ts +12 -10
- package/ts-source/websql-code/build-info._auto-generated_.ts +1 -1
- package/ts-source/websql-code/migrations/migrations_index._auto-generated_.ts +5 -0
- package/ts-source/websql-code-prod/build-info._auto-generated_.ts +1 -1
- package/ts-source/websql-code-prod/i18n/lib.translation.ts +2 -2
- package/ts-source/websql-code-prod/migrations/1791132517216_initial.ts +1 -1
- package/ts-source/websql-code-prod/migrations/migrations_index._auto-generated_.ts +5 -0
- package/ts-source/websql-code-prod/my-organization-proj.ts +1 -1
- package/ts-source/websql-code-prod/start-cli.ts +3 -3
- package/ts-source/websql-code-prod/taon-marketing-ab/i18n/taon-marketing-ab.translation.ts +2 -2
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab-backoffice/taon-marketing-ab-backoffice.models.ts +1 -0
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab.api.service.ts +1 -1
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab.config.service.ts +1 -1
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab.constants.ts +1 -1
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab.controller.ts +4 -4
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab.entity.ts +2 -2
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab.middleware.ts +2 -2
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab.models.ts +5 -3
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab.provider.ts +2 -2
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab.utils.ts +5 -3
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab.validators.ts +12 -10
- package/ts-source/websql-code-prod/taon-marketing-backoffice/taon-marketing-backoffice.models.ts +1 -0
- package/ts-source/websql-code-prod/taon-marketing-newsletter/i18n/taon-marketing-newsletter.translation.ts +2 -2
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter-backoffice/taon-marketing-newsletter-backoffice.models.ts +1 -0
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.api.service.ts +1 -1
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.config.service.ts +1 -1
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.constants.ts +1 -1
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.controller.ts +4 -4
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.entity.ts +2 -2
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.middleware.ts +2 -2
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.models.ts +5 -3
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.provider.ts +2 -2
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.utils.ts +5 -3
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.validators.ts +12 -10
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup-backoffice/taon-marketing-popup-backoffice.models.ts +1 -0
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup-backoffice/taon-marketing-popup-editor.component.ts +7 -7
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup.config.service.ts +1 -1
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup.controller.ts +5 -5
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup.middleware.ts +2 -2
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup.provider.ts +2 -2
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup.repository.ts +2 -2
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup.utils.ts +24 -22
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup.validation.ts +5 -5
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup.validators.ts +25 -23
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popups.component.ts +8 -8
- package/ts-source/websql-code-prod/taon-marketing-promo/i18n/taon-marketing-promo.translation.ts +2 -2
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo-backoffice/taon-marketing-promo-backoffice.models.ts +1 -0
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo.api.service.ts +1 -1
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo.config.service.ts +1 -1
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo.constants.ts +1 -1
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo.controller.ts +4 -4
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo.entity.ts +2 -2
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo.middleware.ts +2 -2
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo.models.ts +5 -3
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo.provider.ts +2 -2
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo.utils.ts +5 -3
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo.validators.ts +12 -10
- package/websql/fesm2022/marketing-websql.mjs +12 -2
- package/websql/fesm2022/marketing-websql.mjs.map +1 -1
- package/websql/package.json +1 -1
- package/websql/types/marketing-websql.d.ts +7 -2
- package/websql-prod/fesm2022/marketing-websql-prod.mjs +12 -2
- 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 +7 -2
- package/ts-source/browser-code-prod/build-info._auto-generated_.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/i18n/lib.translation.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/index._auto-generated_.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/index.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/migrations/1791132517216_initial.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/migrations/1791659700000_popup_configuration.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/migrations/index.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/migrations/migrations_index._auto-generated_.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/my-organization-proj.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/start-cli.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-ab/i18n/taon-marketing-ab.translation.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-ab/index.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab-backoffice/index.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab-backoffice/taon-marketing-ab-backoffice.component.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab-backoffice/taon-marketing-ab-backoffice.models.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab-backoffice/taon-marketing-ab-backoffice.routes.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab.abstract.context.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab.api.service.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab.config.service.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab.constants.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab.controller.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab.entity.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab.kv.repository.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab.middleware.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab.models.split-namespaces.json +0 -10
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab.provider.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab.repository.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab.subscriber.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab.utils.split-namespaces.json +0 -10
- package/ts-source/browser-code-prod/taon-marketing-ab/taon-marketing-ab.validators.split-namespaces.json +0 -10
- package/ts-source/browser-code-prod/taon-marketing-backoffice/index.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-backoffice/taon-marketing-backoffice.component.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-backoffice/taon-marketing-backoffice.models.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-backoffice/taon-marketing-backoffice.routes.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-newsletter/i18n/taon-marketing-newsletter.translation.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-newsletter/index.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter-backoffice/index.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter-backoffice/taon-marketing-newsletter-backoffice.component.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter-backoffice/taon-marketing-newsletter-backoffice.models.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter-backoffice/taon-marketing-newsletter-backoffice.routes.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.abstract.context.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.api.service.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.config.service.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.constants.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.controller.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.entity.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.kv.repository.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.middleware.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.models.split-namespaces.json +0 -10
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.provider.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.repository.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.subscriber.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.utils.split-namespaces.json +0 -10
- package/ts-source/browser-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.validators.split-namespaces.json +0 -10
- package/ts-source/browser-code-prod/taon-marketing-popup/index.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup-backoffice/index.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup-backoffice/taon-marketing-popup-backoffice.component.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup-backoffice/taon-marketing-popup-backoffice.models.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup-backoffice/taon-marketing-popup-backoffice.routes.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup-backoffice/taon-marketing-popup-editor.component.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup-content.component.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup.abstract.context.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup.api.service.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup.config.service.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup.constants.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup.controller.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup.entity.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup.kv.repository.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup.middleware.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup.models.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup.provider.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup.repository.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup.subscriber.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup.utils.split-namespaces.json +0 -18
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup.validation.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popup.validators.split-namespaces.json +0 -16
- package/ts-source/browser-code-prod/taon-marketing-popup/taon-marketing-popups.component.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-promo/i18n/taon-marketing-promo.translation.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-promo/index.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo-backoffice/index.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo-backoffice/taon-marketing-promo-backoffice.component.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo-backoffice/taon-marketing-promo-backoffice.models.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo-backoffice/taon-marketing-promo-backoffice.routes.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo.abstract.context.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo.api.service.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo.config.service.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo.constants.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo.controller.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo.entity.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo.kv.repository.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo.middleware.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo.models.split-namespaces.json +0 -10
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo.provider.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo.repository.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo.subscriber.split-namespaces.json +0 -4
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo.utils.split-namespaces.json +0 -10
- package/ts-source/browser-code-prod/taon-marketing-promo/taon-marketing-promo.validators.split-namespaces.json +0 -10
- package/ts-source/browser-code-prod/taon-marketing.abstract.context.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/build-info._auto-generated_.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/i18n/lib.translation.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/index._auto-generated_.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/index.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/migrations/1791132517216_initial.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/migrations/1791659700000_popup_configuration.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/migrations/index.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/migrations/migrations_index._auto-generated_.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/my-organization-proj.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/start-cli.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-ab/i18n/taon-marketing-ab.translation.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-ab/index.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab-backoffice/index.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab-backoffice/taon-marketing-ab-backoffice.component.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab-backoffice/taon-marketing-ab-backoffice.models.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab-backoffice/taon-marketing-ab-backoffice.routes.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab.abstract.context.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab.api.service.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab.config.service.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab.constants.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab.controller.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab.entity.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab.kv.repository.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab.middleware.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab.models.split-namespaces.json +0 -10
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab.provider.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab.repository.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab.subscriber.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab.utils.split-namespaces.json +0 -10
- package/ts-source/websql-code-prod/taon-marketing-ab/taon-marketing-ab.validators.split-namespaces.json +0 -10
- package/ts-source/websql-code-prod/taon-marketing-backoffice/index.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-backoffice/taon-marketing-backoffice.component.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-backoffice/taon-marketing-backoffice.models.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-backoffice/taon-marketing-backoffice.routes.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-newsletter/i18n/taon-marketing-newsletter.translation.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-newsletter/index.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter-backoffice/index.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter-backoffice/taon-marketing-newsletter-backoffice.component.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter-backoffice/taon-marketing-newsletter-backoffice.models.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter-backoffice/taon-marketing-newsletter-backoffice.routes.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.abstract.context.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.api.service.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.config.service.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.constants.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.controller.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.entity.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.kv.repository.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.middleware.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.models.split-namespaces.json +0 -10
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.provider.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.repository.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.subscriber.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.utils.split-namespaces.json +0 -10
- package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.validators.split-namespaces.json +0 -10
- package/ts-source/websql-code-prod/taon-marketing-popup/index.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup-backoffice/index.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup-backoffice/taon-marketing-popup-backoffice.component.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup-backoffice/taon-marketing-popup-backoffice.models.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup-backoffice/taon-marketing-popup-backoffice.routes.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup-backoffice/taon-marketing-popup-editor.component.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup-content.component.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup.abstract.context.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup.api.service.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup.config.service.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup.constants.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup.controller.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup.entity.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup.kv.repository.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup.middleware.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup.models.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup.provider.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup.repository.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup.subscriber.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup.utils.split-namespaces.json +0 -18
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup.validation.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup.validators.split-namespaces.json +0 -16
- package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popups.component.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-promo/i18n/taon-marketing-promo.translation.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-promo/index.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo-backoffice/index.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo-backoffice/taon-marketing-promo-backoffice.component.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo-backoffice/taon-marketing-promo-backoffice.models.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo-backoffice/taon-marketing-promo-backoffice.routes.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo.abstract.context.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo.api.service.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo.config.service.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo.constants.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo.controller.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo.entity.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo.kv.repository.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo.middleware.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo.models.split-namespaces.json +0 -10
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo.provider.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo.repository.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo.subscriber.split-namespaces.json +0 -4
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo.utils.split-namespaces.json +0 -10
- package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo.validators.split-namespaces.json +0 -10
- package/ts-source/websql-code-prod/taon-marketing.abstract.context.split-namespaces.json +0 -4
|
@@ -11,26 +11,28 @@
|
|
|
11
11
|
* ========================================================================== */
|
|
12
12
|
|
|
13
13
|
import { ValidatorFn } from '@angular/forms';
|
|
14
|
-
import {
|
|
15
|
-
export
|
|
16
|
-
const
|
|
17
|
-
|
|
18
|
-
value
|
|
19
|
-
.
|
|
20
|
-
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
const
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
};
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
const
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
};
|
|
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
|
+
}
|
|
@@ -21,7 +21,7 @@ import { TaonMarketingPopupContentComponent } from './taon-marketing-popup-conte
|
|
|
21
21
|
import type { TaonMarketingPopupEntity } from './taon-marketing-popup.entity';
|
|
22
22
|
import { TaonMarketingPopupType } from './taon-marketing-popup.models';
|
|
23
23
|
import type { TaonMarketingPopupEvent, TaonMarketingPopupImageResolver } from './taon-marketing-popup.models';
|
|
24
|
-
import {
|
|
24
|
+
import { TaonMarketingPopupUtils } from './taon-marketing-popup.utils';
|
|
25
25
|
interface PendingPopup {
|
|
26
26
|
popup: TaonMarketingPopupEntity;
|
|
27
27
|
dueAt: number;
|
|
@@ -88,8 +88,8 @@ export class TaonMarketingPopupsComponent {
|
|
|
88
88
|
}))), takeUntilDestroyed(this.destroyRef)).subscribe(popups => {
|
|
89
89
|
const now = Date.now();
|
|
90
90
|
this.pending = popups.filter(popup => Object.values(TaonMarketingPopupType).includes(popup.type) &&
|
|
91
|
-
|
|
92
|
-
|
|
91
|
+
TaonMarketingPopupUtils.isActive(popup) &&
|
|
92
|
+
TaonMarketingPopupUtils.allowsPath(popup, this.router.url)).map(popup => ({ popup, dueAt: now + popup.delaySeconds * 1000 }));
|
|
93
93
|
this.pending.sort((a, b) => a.dueAt - b.dueAt || a.popup.id - b.popup.id);
|
|
94
94
|
this.scheduleNext();
|
|
95
95
|
});
|
|
@@ -137,8 +137,8 @@ export class TaonMarketingPopupsComponent {
|
|
|
137
137
|
this.delayTimer = timer(Math.max(0, next.dueAt - Date.now())).subscribe(() => {
|
|
138
138
|
this.pending.shift();
|
|
139
139
|
try {
|
|
140
|
-
if (
|
|
141
|
-
|
|
140
|
+
if (TaonMarketingPopupUtils.isActive(next.popup) &&
|
|
141
|
+
TaonMarketingPopupUtils.allowsPath(next.popup, this.router.url) &&
|
|
142
142
|
this.allowsVisitor(next.popup)) {
|
|
143
143
|
this.show(next.popup);
|
|
144
144
|
}
|
|
@@ -155,7 +155,7 @@ export class TaonMarketingPopupsComponent {
|
|
|
155
155
|
let imageUrl: string | null = null;
|
|
156
156
|
if (popup.type === TaonMarketingPopupType.Dialog && popup.imageKey) {
|
|
157
157
|
imageUrl = this.resolveImage()(popup.imageKey);
|
|
158
|
-
if (!
|
|
158
|
+
if (!TaonMarketingPopupUtils.isSafeUrl(imageUrl)) {
|
|
159
159
|
throw new Error(`Popup ${popup.id} image must resolve to an HTTP(S) URL or root-relative path.`);
|
|
160
160
|
}
|
|
161
161
|
}
|
|
@@ -179,7 +179,7 @@ export class TaonMarketingPopupsComponent {
|
|
|
179
179
|
return;
|
|
180
180
|
}
|
|
181
181
|
try {
|
|
182
|
-
if (!
|
|
182
|
+
if (!TaonMarketingPopupUtils.isActive(popup) || !this.allowsVisitor(popup)) {
|
|
183
183
|
this.close();
|
|
184
184
|
return;
|
|
185
185
|
}
|
|
@@ -208,7 +208,7 @@ export class TaonMarketingPopupsComponent {
|
|
|
208
208
|
if (this.visible !== visible) {
|
|
209
209
|
return;
|
|
210
210
|
}
|
|
211
|
-
if (
|
|
211
|
+
if (TaonMarketingPopupUtils.isActive(visible.popup)) {
|
|
212
212
|
this.scheduleEnd(visible);
|
|
213
213
|
}
|
|
214
214
|
else {
|
package/ts-source/websql-code-prod/taon-marketing-promo/i18n/taon-marketing-promo.translation.ts
CHANGED
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
|
|
11
11
|
* ========================================================================== */
|
|
12
12
|
|
|
13
|
-
import {
|
|
13
|
+
import { CoreModels } from 'tnp-core/websql-prod';
|
|
14
14
|
import { EnUsTraslationOverrideSrcLibTaonMarketingPromoTaonMarketingPromoConstantsTs } from './taon-marketing-promo.constants.ts.en-US.i18n.data';
|
|
15
15
|
import { PlPlTraslationOverrideSrcLibTaonMarketingPromoTaonMarketingPromoConstantsTs } from './taon-marketing-promo.constants.ts.pl-PL.i18n.data';
|
|
16
16
|
;
|
|
17
|
-
export type TaonMarketingPromoOverride =
|
|
17
|
+
export type TaonMarketingPromoOverride = CoreModels.DeepPartial<EnUsTraslationOverrideSrcLibTaonMarketingPromoTaonMarketingPromoConstantsTs | PlPlTraslationOverrideSrcLibTaonMarketingPromoTaonMarketingPromoConstantsTs>;
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
import { Injectable } from '@angular/core';
|
|
14
14
|
import { Observable } from 'rxjs';
|
|
15
15
|
import { map } from 'rxjs/operators';
|
|
16
|
-
import {
|
|
16
|
+
import { Taon, TaonBaseAngularService } from 'taon/websql-prod';
|
|
17
17
|
import type { TaonMarketingPromoEntity } from './taon-marketing-promo.entity';
|
|
18
18
|
import { TaonMarketingPromoController } from './taon-marketing-promo.controller';
|
|
19
19
|
@Injectable()
|
package/ts-source/websql-code-prod/taon-marketing-promo/taon-marketing-promo.config.service.ts
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
import { Injectable } from '@angular/core';
|
|
14
14
|
import { Observable } from 'rxjs';
|
|
15
15
|
import { map } from 'rxjs/operators';
|
|
16
|
-
import {
|
|
16
|
+
import { Taon, TaonBaseAngularService } from 'taon/websql-prod';
|
|
17
17
|
import { TaonMarketingPromoProvider } from './taon-marketing-promo.provider';
|
|
18
18
|
@Injectable()
|
|
19
19
|
export class TaonMarketingPromoConfigService extends TaonBaseAngularService {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import type { TaonMarketingPromoEntity } from './taon-marketing-promo.entity';
|
|
14
14
|
import { Translation } from '@taon-dev/i18n/websql-prod';
|
|
15
|
-
import {
|
|
15
|
+
import { Taon } from 'taon/websql-prod';
|
|
16
16
|
const t = Translation.for('src/lib/taon-marketing-promo/taon-marketing-promo.constants.ts', { "src/lib/taon-marketing-promo/taon-marketing-promo.constants.ts": { "en-US": async () => (await import('./i18n/taon-marketing-promo.constants.ts.en-US.i18n.data')).default, "pl-PL": async () => (await import('./i18n/taon-marketing-promo.constants.ts.pl-PL.i18n.data')).default } } as any);
|
|
17
17
|
export const TaonMarketingPromoDefaultsValues = {
|
|
18
18
|
description: '',
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
|
|
11
11
|
* ========================================================================== */
|
|
12
12
|
|
|
13
|
-
import { TaonController, TaonBaseCrudController, Query, GET,
|
|
14
|
-
import {
|
|
13
|
+
import { Taon, ClassHelpers, TaonController, TaonBaseCrudController, Query, GET, } from 'taon/websql-prod';
|
|
14
|
+
import { _ } from 'tnp-core/websql-prod';
|
|
15
15
|
import { TaonMarketingPromoEntity } from './taon-marketing-promo.entity';
|
|
16
16
|
import { TaonMarketingPromoRepository } from './taon-marketing-promo.repository';
|
|
17
17
|
@TaonController<TaonMarketingPromoController>({
|
|
@@ -23,11 +23,11 @@ export class TaonMarketingPromoController extends TaonBaseCrudController<TaonMar
|
|
|
23
23
|
@GET()
|
|
24
24
|
helloWord(
|
|
25
25
|
@Query('yourName')
|
|
26
|
-
yourName: string):
|
|
26
|
+
yourName: string): Taon.Response<string> {
|
|
27
27
|
return async (req, res) => {
|
|
28
28
|
const numOfEntities = await this.db.count();
|
|
29
29
|
const numberOfEvenEntities = await this.taonMarketingPromoRepository.countEntitesWithEvenId();
|
|
30
|
-
return `Hello ${yourName || 'world'} from ${
|
|
30
|
+
return `Hello ${yourName || 'world'} from ${ClassHelpers.getName(TaonMarketingPromoController)}
|
|
31
31
|
controller.. ${numOfEntities} entites in db..
|
|
32
32
|
${numberOfEvenEntities} entites with even ids (2,4,6,8 etc.)
|
|
33
33
|
`;
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
|
|
11
11
|
* ========================================================================== */
|
|
12
12
|
|
|
13
|
-
import { CustomColumn, Column, TaonBaseAbstractEntity, TaonEntity,
|
|
14
|
-
import {
|
|
13
|
+
import { CustomColumn, Column, Taon, TaonBaseAbstractEntity, TaonEntity, } from 'taon/websql-prod';
|
|
14
|
+
import { _ } from 'tnp-core/websql-prod';
|
|
15
15
|
import { TaonMarketingPromoDefaultsValues } from './taon-marketing-promo.constants';
|
|
16
16
|
@TaonEntity<TaonMarketingPromoEntity>({
|
|
17
17
|
className: 'TaonMarketingPromoEntity',
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
|
|
11
11
|
* ========================================================================== */
|
|
12
12
|
|
|
13
|
-
import { TaonBaseMiddleware, TaonMiddleware
|
|
14
|
-
import {
|
|
13
|
+
import { Taon, TaonBaseMiddleware, TaonMiddleware } from 'taon/websql-prod';
|
|
14
|
+
import { _ } from 'tnp-core/websql-prod';
|
|
15
15
|
@TaonMiddleware({
|
|
16
16
|
className: 'TaonMarketingPromoMiddleware',
|
|
17
17
|
})
|
|
@@ -10,7 +10,9 @@
|
|
|
10
10
|
|
|
11
11
|
* ========================================================================== */
|
|
12
12
|
|
|
13
|
-
export
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
export namespace TaonMarketingPromoModels {
|
|
14
|
+
export enum TaonMarketingPromoState {
|
|
15
|
+
Active = 'active',
|
|
16
|
+
Inactive = 'inactive'
|
|
17
|
+
}
|
|
16
18
|
}
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
|
|
11
11
|
* ========================================================================== */
|
|
12
12
|
|
|
13
|
-
import { TaonBaseClass, TaonBaseProvider, TaonProvider
|
|
14
|
-
import {
|
|
13
|
+
import { Taon, TaonBaseClass, TaonBaseProvider, TaonProvider } from 'taon/websql-prod';
|
|
14
|
+
import { _ } from 'tnp-core/websql-prod';
|
|
15
15
|
export class TaonTaonMarketingPromoConfig extends TaonBaseClass {
|
|
16
16
|
declare name: string;
|
|
17
17
|
}
|
|
@@ -10,7 +10,9 @@
|
|
|
10
10
|
|
|
11
11
|
* ========================================================================== */
|
|
12
12
|
|
|
13
|
-
import {
|
|
14
|
-
export
|
|
15
|
-
|
|
13
|
+
import { TaonMarketingPromoModels } from './taon-marketing-promo.models';
|
|
14
|
+
export namespace TaonMarketingPromoUtils {
|
|
15
|
+
export function isActive(state: string): state is TaonMarketingPromoModels.TaonMarketingPromoState {
|
|
16
|
+
return state === 'active';
|
|
17
|
+
}
|
|
16
18
|
}
|
|
@@ -12,13 +12,15 @@
|
|
|
12
12
|
|
|
13
13
|
import { AbstractControl, ValidationErrors, ValidatorFn } from '@angular/forms';
|
|
14
14
|
import { TaonMarketingPromoErrors } from './taon-marketing-promo.constants';
|
|
15
|
-
export
|
|
16
|
-
const
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
15
|
+
export namespace TaonMarketingPromoValidators {
|
|
16
|
+
export const passwordMatchValidator: ValidatorFn = (control: AbstractControl): ValidationErrors | null => {
|
|
17
|
+
const password = control.get('password');
|
|
18
|
+
const passwordRepeat = control.get('passwordRepeat');
|
|
19
|
+
if (!password || !passwordRepeat) {
|
|
20
|
+
return null;
|
|
21
|
+
}
|
|
22
|
+
return password.value === passwordRepeat.value
|
|
23
|
+
? null
|
|
24
|
+
: { [TaonMarketingPromoErrors.INVALID_PASSWORD_EXAMPLE_ERROR]: true };
|
|
25
|
+
};
|
|
26
|
+
}
|
|
@@ -478,6 +478,11 @@ const MIGRATIONS_CLASSES_FOR_MarketingContext = {
|
|
|
478
478
|
/* 04-10-2026 18:48:37 */ MarketingContext_1791132517216_initial,
|
|
479
479
|
/* 10-10-2026 21:15:00 */ MarketingContext_1791659700000_popup_configuration,
|
|
480
480
|
};
|
|
481
|
+
const MIGRATIONS_CLASSES_FOR_TaonMarketingAbAbstractContext = {};
|
|
482
|
+
const MIGRATIONS_CLASSES_FOR_TaonMarketingAbstractContext = {};
|
|
483
|
+
const MIGRATIONS_CLASSES_FOR_TaonMarketingNewsletterAbstractContext = {};
|
|
484
|
+
const MIGRATIONS_CLASSES_FOR_TaonMarketingPopupAbstractContext = {};
|
|
485
|
+
const MIGRATIONS_CLASSES_FOR_TaonMarketingPromoAbstractContext = {};
|
|
481
486
|
// THIS FILE IS GENERATED - DO NOT MODIFY
|
|
482
487
|
|
|
483
488
|
//@ts-nocheck
|
|
@@ -506,7 +511,7 @@ const CURRENT_PACKAGE_TAON_VERSION = 'v21';
|
|
|
506
511
|
/**
|
|
507
512
|
* Autogenerated by current cli tool. Use *tnp release* to bump version.
|
|
508
513
|
*/
|
|
509
|
-
const CURRENT_PACKAGE_VERSION = '21.0.
|
|
514
|
+
const CURRENT_PACKAGE_VERSION = '21.0.26';
|
|
510
515
|
// THIS FILE IS GENERATED - DO NOT MODIFY
|
|
511
516
|
|
|
512
517
|
const t$3 = Translation.for('src/lib/my-organization-proj.ts', { "src/lib/my-organization-proj.ts": { "en-US": async () => (await import('./marketing-websql-my-organization-proj.ts.en-US.i18n.data-CKKBmdFB.mjs')).default, "pl-PL": async () => (await import('./marketing-websql-my-organization-proj.ts.pl-PL.i18n.data-0eb6NFOB.mjs')).default } });
|
|
@@ -2311,6 +2316,11 @@ var index$1 = /*#__PURE__*/Object.freeze({
|
|
|
2311
2316
|
CURRENT_PACKAGE_TAON_VERSION: CURRENT_PACKAGE_TAON_VERSION,
|
|
2312
2317
|
CURRENT_PACKAGE_VERSION: CURRENT_PACKAGE_VERSION,
|
|
2313
2318
|
MIGRATIONS_CLASSES_FOR_MarketingContext: MIGRATIONS_CLASSES_FOR_MarketingContext,
|
|
2319
|
+
MIGRATIONS_CLASSES_FOR_TaonMarketingAbAbstractContext: MIGRATIONS_CLASSES_FOR_TaonMarketingAbAbstractContext,
|
|
2320
|
+
MIGRATIONS_CLASSES_FOR_TaonMarketingAbstractContext: MIGRATIONS_CLASSES_FOR_TaonMarketingAbstractContext,
|
|
2321
|
+
MIGRATIONS_CLASSES_FOR_TaonMarketingNewsletterAbstractContext: MIGRATIONS_CLASSES_FOR_TaonMarketingNewsletterAbstractContext,
|
|
2322
|
+
MIGRATIONS_CLASSES_FOR_TaonMarketingPopupAbstractContext: MIGRATIONS_CLASSES_FOR_TaonMarketingPopupAbstractContext,
|
|
2323
|
+
MIGRATIONS_CLASSES_FOR_TaonMarketingPromoAbstractContext: MIGRATIONS_CLASSES_FOR_TaonMarketingPromoAbstractContext,
|
|
2314
2324
|
get MarketingContext_1791132517216_initial () { return MarketingContext_1791132517216_initial; },
|
|
2315
2325
|
get MarketingContext_1791659700000_popup_configuration () { return MarketingContext_1791659700000_popup_configuration; },
|
|
2316
2326
|
PROJECT_NPM_NAME: PROJECT_NPM_NAME,
|
|
@@ -2406,5 +2416,5 @@ var index$1 = /*#__PURE__*/Object.freeze({
|
|
|
2406
2416
|
* Generated bundle index. Do not edit.
|
|
2407
2417
|
*/
|
|
2408
2418
|
|
|
2409
|
-
export { APP_ID, BUILD_BASE_HREF, BUILD_FRAMEWORK_CLI_NAME, CURRENT_PACKAGE_TAON_VERSION, CURRENT_PACKAGE_VERSION, MIGRATIONS_CLASSES_FOR_MarketingContext, MarketingContext_1791132517216_initial, MarketingContext_1791659700000_popup_configuration, PROJECT_NPM_NAME, TaonMarketingAbAbstractContext, TaonMarketingAbApiService, TaonMarketingAbBackofficeComponent, TaonMarketingAbBackofficeRoutes, TaonMarketingAbConfigService, TaonMarketingAbController, TaonMarketingAbDefaultsValues, TaonMarketingAbEntity, TaonMarketingAbErrors, TaonMarketingAbKvRepository, TaonMarketingAbMiddleware, TaonMarketingAbModels, TaonMarketingAbProvider, TaonMarketingAbRepository, TaonMarketingAbSubscriber, TaonMarketingAbTranslationErorsMap, TaonMarketingAbUtils, TaonMarketingAbValidators, TaonMarketingAbstractContext, TaonMarketingBackofficeComponent, TaonMarketingBackofficeRoutes, TaonMarketingNewsletterAbstractContext, TaonMarketingNewsletterApiService, TaonMarketingNewsletterBackofficeComponent, TaonMarketingNewsletterBackofficeRoutes, TaonMarketingNewsletterConfigService, TaonMarketingNewsletterController, TaonMarketingNewsletterDefaultsValues, TaonMarketingNewsletterEntity, TaonMarketingNewsletterErrors, TaonMarketingNewsletterKvRepository, TaonMarketingNewsletterMiddleware, TaonMarketingNewsletterModels, TaonMarketingNewsletterProvider, TaonMarketingNewsletterRepository, TaonMarketingNewsletterSubscriber, TaonMarketingNewsletterTranslationErorsMap, TaonMarketingNewsletterUtils, TaonMarketingNewsletterValidators, TaonMarketingPopupAbstractContext, TaonMarketingPopupApiService, TaonMarketingPopupBackofficeComponent, TaonMarketingPopupBackofficeRoutes, TaonMarketingPopupConfigService, TaonMarketingPopupContentComponent, TaonMarketingPopupController, TaonMarketingPopupDefaultsValues, TaonMarketingPopupEditorComponent, TaonMarketingPopupEntity, TaonMarketingPopupKvRepository, TaonMarketingPopupMiddleware, TaonMarketingPopupProvider, TaonMarketingPopupRepository, TaonMarketingPopupSubscriber, TaonMarketingPopupType, TaonMarketingPopupUtils, TaonMarketingPopupValidators, TaonMarketingPopupsComponent, TaonMarketingPromoAbstractContext, TaonMarketingPromoApiService, TaonMarketingPromoBackofficeComponent, TaonMarketingPromoBackofficeRoutes, TaonMarketingPromoConfigService, TaonMarketingPromoController, TaonMarketingPromoDefaultsValues, TaonMarketingPromoEntity, TaonMarketingPromoErrors, TaonMarketingPromoKvRepository, TaonMarketingPromoMiddleware, TaonMarketingPromoModels, TaonMarketingPromoProvider, TaonMarketingPromoRepository, TaonMarketingPromoSubscriber, TaonMarketingPromoTranslationErorsMap, TaonMarketingPromoUtils, TaonMarketingPromoValidators, TaonTaonMarketingAbConfig, TaonTaonMarketingNewsletterConfig, TaonTaonMarketingPopupConfig, TaonTaonMarketingPromoConfig, myOrgProj, popupError, requirePopupId, startCli, validatePopup };
|
|
2419
|
+
export { APP_ID, BUILD_BASE_HREF, BUILD_FRAMEWORK_CLI_NAME, CURRENT_PACKAGE_TAON_VERSION, CURRENT_PACKAGE_VERSION, MIGRATIONS_CLASSES_FOR_MarketingContext, MIGRATIONS_CLASSES_FOR_TaonMarketingAbAbstractContext, MIGRATIONS_CLASSES_FOR_TaonMarketingAbstractContext, MIGRATIONS_CLASSES_FOR_TaonMarketingNewsletterAbstractContext, MIGRATIONS_CLASSES_FOR_TaonMarketingPopupAbstractContext, MIGRATIONS_CLASSES_FOR_TaonMarketingPromoAbstractContext, MarketingContext_1791132517216_initial, MarketingContext_1791659700000_popup_configuration, PROJECT_NPM_NAME, TaonMarketingAbAbstractContext, TaonMarketingAbApiService, TaonMarketingAbBackofficeComponent, TaonMarketingAbBackofficeRoutes, TaonMarketingAbConfigService, TaonMarketingAbController, TaonMarketingAbDefaultsValues, TaonMarketingAbEntity, TaonMarketingAbErrors, TaonMarketingAbKvRepository, TaonMarketingAbMiddleware, TaonMarketingAbModels, TaonMarketingAbProvider, TaonMarketingAbRepository, TaonMarketingAbSubscriber, TaonMarketingAbTranslationErorsMap, TaonMarketingAbUtils, TaonMarketingAbValidators, TaonMarketingAbstractContext, TaonMarketingBackofficeComponent, TaonMarketingBackofficeRoutes, TaonMarketingNewsletterAbstractContext, TaonMarketingNewsletterApiService, TaonMarketingNewsletterBackofficeComponent, TaonMarketingNewsletterBackofficeRoutes, TaonMarketingNewsletterConfigService, TaonMarketingNewsletterController, TaonMarketingNewsletterDefaultsValues, TaonMarketingNewsletterEntity, TaonMarketingNewsletterErrors, TaonMarketingNewsletterKvRepository, TaonMarketingNewsletterMiddleware, TaonMarketingNewsletterModels, TaonMarketingNewsletterProvider, TaonMarketingNewsletterRepository, TaonMarketingNewsletterSubscriber, TaonMarketingNewsletterTranslationErorsMap, TaonMarketingNewsletterUtils, TaonMarketingNewsletterValidators, TaonMarketingPopupAbstractContext, TaonMarketingPopupApiService, TaonMarketingPopupBackofficeComponent, TaonMarketingPopupBackofficeRoutes, TaonMarketingPopupConfigService, TaonMarketingPopupContentComponent, TaonMarketingPopupController, TaonMarketingPopupDefaultsValues, TaonMarketingPopupEditorComponent, TaonMarketingPopupEntity, TaonMarketingPopupKvRepository, TaonMarketingPopupMiddleware, TaonMarketingPopupProvider, TaonMarketingPopupRepository, TaonMarketingPopupSubscriber, TaonMarketingPopupType, TaonMarketingPopupUtils, TaonMarketingPopupValidators, TaonMarketingPopupsComponent, TaonMarketingPromoAbstractContext, TaonMarketingPromoApiService, TaonMarketingPromoBackofficeComponent, TaonMarketingPromoBackofficeRoutes, TaonMarketingPromoConfigService, TaonMarketingPromoController, TaonMarketingPromoDefaultsValues, TaonMarketingPromoEntity, TaonMarketingPromoErrors, TaonMarketingPromoKvRepository, TaonMarketingPromoMiddleware, TaonMarketingPromoModels, TaonMarketingPromoProvider, TaonMarketingPromoRepository, TaonMarketingPromoSubscriber, TaonMarketingPromoTranslationErorsMap, TaonMarketingPromoUtils, TaonMarketingPromoValidators, TaonTaonMarketingAbConfig, TaonTaonMarketingNewsletterConfig, TaonTaonMarketingPopupConfig, TaonTaonMarketingPromoConfig, myOrgProj, popupError, requirePopupId, startCli, validatePopup };
|
|
2410
2420
|
//# sourceMappingURL=marketing-websql.mjs.map
|