@taon-dev/marketing 21.0.25 → 21.0.27
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 +1 -1
- package/browser/fesm2022/marketing-browser.mjs.map +1 -1
- package/browser/package.json +1 -1
- package/browser/types/marketing-browser.d.ts +1 -1
- package/browser-prod/fesm2022/marketing-browser-prod.mjs +1 -1
- 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 +1 -1
- package/full-dts/build-info._auto-generated_.d.ts +1 -1
- package/lib/build-info._auto-generated_.d.ts +1 -1
- package/lib/build-info._auto-generated_.js +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/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/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-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/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-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/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 +1 -1
- package/websql/fesm2022/marketing-websql.mjs.map +1 -1
- package/websql/package.json +1 -1
- package/websql/types/marketing-websql.d.ts +1 -1
- package/websql-prod/fesm2022/marketing-websql-prod.mjs +1 -1
- 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 +1 -1
- 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
package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.middleware.ts
CHANGED
|
@@ -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: 'TaonMarketingNewsletterMiddleware',
|
|
17
17
|
})
|
package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.models.ts
CHANGED
|
@@ -10,7 +10,9 @@
|
|
|
10
10
|
|
|
11
11
|
* ========================================================================== */
|
|
12
12
|
|
|
13
|
-
export
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
export namespace TaonMarketingNewsletterModels {
|
|
14
|
+
export enum TaonMarketingNewsletterState {
|
|
15
|
+
Active = 'active',
|
|
16
|
+
Inactive = 'inactive'
|
|
17
|
+
}
|
|
16
18
|
}
|
package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.provider.ts
CHANGED
|
@@ -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 TaonTaonMarketingNewsletterConfig extends TaonBaseClass {
|
|
16
16
|
declare name: string;
|
|
17
17
|
}
|
package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.utils.ts
CHANGED
|
@@ -10,7 +10,9 @@
|
|
|
10
10
|
|
|
11
11
|
* ========================================================================== */
|
|
12
12
|
|
|
13
|
-
import {
|
|
14
|
-
export
|
|
15
|
-
|
|
13
|
+
import { TaonMarketingNewsletterModels } from './taon-marketing-newsletter.models';
|
|
14
|
+
export namespace TaonMarketingNewsletterUtils {
|
|
15
|
+
export function isActive(state: string): state is TaonMarketingNewsletterModels.TaonMarketingNewsletterState {
|
|
16
|
+
return state === 'active';
|
|
17
|
+
}
|
|
16
18
|
}
|
package/ts-source/websql-code-prod/taon-marketing-newsletter/taon-marketing-newsletter.validators.ts
CHANGED
|
@@ -12,13 +12,15 @@
|
|
|
12
12
|
|
|
13
13
|
import { AbstractControl, ValidationErrors, ValidatorFn } from '@angular/forms';
|
|
14
14
|
import { TaonMarketingNewsletterErrors } from './taon-marketing-newsletter.constants';
|
|
15
|
-
export
|
|
16
|
-
const
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
15
|
+
export namespace TaonMarketingNewsletterValidators {
|
|
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
|
+
: { [TaonMarketingNewsletterErrors.INVALID_PASSWORD_EXAMPLE_ERROR]: true };
|
|
25
|
+
};
|
|
26
|
+
}
|
|
@@ -20,7 +20,7 @@ import { TaonMarketingPopupApiService } from '../taon-marketing-popup.api.servic
|
|
|
20
20
|
import type { TaonMarketingPopupEntity } from '../taon-marketing-popup.entity';
|
|
21
21
|
import { TaonMarketingPopupType } from '../taon-marketing-popup.models';
|
|
22
22
|
import type { TaonMarketingPopupFields } from '../taon-marketing-popup.models';
|
|
23
|
-
import {
|
|
23
|
+
import { TaonMarketingPopupValidators } from '../taon-marketing-popup.validators';
|
|
24
24
|
@Component({
|
|
25
25
|
selector: 'taon-marketing-popup-editor',
|
|
26
26
|
templateUrl: './taon-marketing-popup-editor.component.html',
|
|
@@ -46,13 +46,13 @@ export class TaonMarketingPopupEditorComponent {
|
|
|
46
46
|
content: [this.popup?.content ?? ''],
|
|
47
47
|
imageKey: [this.popup?.imageKey ?? ''],
|
|
48
48
|
buttonText: [this.popup?.buttonText ?? ''],
|
|
49
|
-
buttonUrl: [this.popup?.buttonUrl ?? '',
|
|
49
|
+
buttonUrl: [this.popup?.buttonUrl ?? '', TaonMarketingPopupValidators.url],
|
|
50
50
|
delaySeconds: [this.popup?.delaySeconds ?? 0, [Validators.required, Validators.min(0), Validators.max(2147483)]],
|
|
51
|
-
displayOnPaths: [this.popup?.displayOnPaths?.join('\n') ?? '',
|
|
52
|
-
excludePaths: [this.popup?.excludePaths?.join('\n') ?? '',
|
|
53
|
-
startAt: [this.localDate(this.popup?.startAt),
|
|
54
|
-
endAt: [this.localDate(this.popup?.endAt),
|
|
55
|
-
maxDisplaysPerVisitor: new FormControl<number | null>(this.popup?.maxDisplaysPerVisitor ?? null,
|
|
51
|
+
displayOnPaths: [this.popup?.displayOnPaths?.join('\n') ?? '', TaonMarketingPopupValidators.paths],
|
|
52
|
+
excludePaths: [this.popup?.excludePaths?.join('\n') ?? '', TaonMarketingPopupValidators.paths],
|
|
53
|
+
startAt: [this.localDate(this.popup?.startAt), TaonMarketingPopupValidators.optionalDate],
|
|
54
|
+
endAt: [this.localDate(this.popup?.endAt), TaonMarketingPopupValidators.optionalDate],
|
|
55
|
+
maxDisplaysPerVisitor: new FormControl<number | null>(this.popup?.maxDisplaysPerVisitor ?? null, TaonMarketingPopupValidators.optionalPositiveInteger),
|
|
56
56
|
oncePerSession: [this.popup?.oncePerSession ?? true],
|
|
57
57
|
});
|
|
58
58
|
save(): void {
|
package/ts-source/websql-code-prod/taon-marketing-popup/taon-marketing-popup.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 { TaonMarketingPopupProvider } from './taon-marketing-popup.provider';
|
|
18
18
|
@Injectable()
|
|
19
19
|
export class TaonMarketingPopupConfigService extends TaonBaseAngularService {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
* ========================================================================== */
|
|
12
12
|
|
|
13
|
-
import { TaonController, TaonBaseCrudController, Query, GET, POST, PUT, DELETE, Body,
|
|
13
|
+
import { Taon, TaonController, TaonBaseCrudController, Query, GET, POST, PUT, DELETE, Body, } from 'taon/websql-prod';
|
|
14
14
|
import { TaonMarketingPopupEntity } from './taon-marketing-popup.entity';
|
|
15
15
|
import { TaonMarketingPopupRepository } from './taon-marketing-popup.repository';
|
|
16
16
|
import type { TaonMarketingPopupFields } from './taon-marketing-popup.models';
|
|
@@ -25,7 +25,7 @@ export class TaonMarketingPopupController extends TaonBaseCrudController<TaonMar
|
|
|
25
25
|
entityClassResolveFn: () => typeof TaonMarketingPopupEntity = () => TaonMarketingPopupEntity;
|
|
26
26
|
private readonly taonMarketingPopupRepository = this.inject(TaonMarketingPopupRepository);
|
|
27
27
|
@GET()
|
|
28
|
-
getActivePopups():
|
|
28
|
+
getActivePopups(): Taon.Response<TaonMarketingPopupEntity[]> {
|
|
29
29
|
return async () => this.taonMarketingPopupRepository.activePopups();
|
|
30
30
|
}
|
|
31
31
|
@POST()
|
|
@@ -33,7 +33,7 @@ export class TaonMarketingPopupController extends TaonBaseCrudController<TaonMar
|
|
|
33
33
|
@Body()
|
|
34
34
|
input: TaonMarketingPopupFields,
|
|
35
35
|
@Query('id')
|
|
36
|
-
id?: number):
|
|
36
|
+
id?: number): Taon.Response<TaonMarketingPopupEntity> {
|
|
37
37
|
return async () => this.taonMarketingPopupRepository.savePopup(input, id);
|
|
38
38
|
}
|
|
39
39
|
@PUT()
|
|
@@ -41,13 +41,13 @@ export class TaonMarketingPopupController extends TaonBaseCrudController<TaonMar
|
|
|
41
41
|
@Query('id')
|
|
42
42
|
id: number,
|
|
43
43
|
@Body('enabled')
|
|
44
|
-
enabled: boolean):
|
|
44
|
+
enabled: boolean): Taon.Response<TaonMarketingPopupEntity> {
|
|
45
45
|
return async () => this.taonMarketingPopupRepository.setEnabled(id, enabled);
|
|
46
46
|
}
|
|
47
47
|
@DELETE()
|
|
48
48
|
deletePopup(
|
|
49
49
|
@Query('id')
|
|
50
|
-
id: number):
|
|
50
|
+
id: number): Taon.Response<void> {
|
|
51
51
|
return async () => this.taonMarketingPopupRepository.deletePopup(id);
|
|
52
52
|
}
|
|
53
53
|
}
|
|
@@ -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: 'TaonMarketingPopupMiddleware',
|
|
17
17
|
})
|
|
@@ -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 TaonTaonMarketingPopupConfig extends TaonBaseClass {
|
|
16
16
|
declare name: string;
|
|
17
17
|
}
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
import { TaonBaseRepository, TaonRepository } from 'taon/websql-prod';
|
|
14
14
|
import { TaonMarketingPopupEntity } from './taon-marketing-popup.entity';
|
|
15
15
|
import type { TaonMarketingPopupFields } from './taon-marketing-popup.models';
|
|
16
|
-
import {
|
|
16
|
+
import { TaonMarketingPopupUtils } from './taon-marketing-popup.utils';
|
|
17
17
|
import { popupError, requirePopupId, validatePopup } from './taon-marketing-popup.validation';
|
|
18
18
|
@TaonRepository({
|
|
19
19
|
className: 'TaonMarketingPopupRepository',
|
|
@@ -23,7 +23,7 @@ export class TaonMarketingPopupRepository extends TaonBaseRepository<TaonMarketi
|
|
|
23
23
|
async activePopups(): Promise<TaonMarketingPopupEntity[]> {
|
|
24
24
|
const popups = await this.find({ where: { enabled: true }, order: { id: 'ASC' } });
|
|
25
25
|
const now = new Date();
|
|
26
|
-
return popups.filter(popup =>
|
|
26
|
+
return popups.filter(popup => TaonMarketingPopupUtils.isActive(popup, now));
|
|
27
27
|
}
|
|
28
28
|
async savePopup(input: TaonMarketingPopupFields, id?: number): Promise<TaonMarketingPopupEntity> {
|
|
29
29
|
validatePopup(input);
|
|
@@ -11,26 +11,28 @@
|
|
|
11
11
|
* ========================================================================== */
|
|
12
12
|
|
|
13
13
|
import type { TaonMarketingPopupFields } from './taon-marketing-popup.models';
|
|
14
|
-
export
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
popup.displayOnPaths
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
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
|
+
}
|
|
36
38
|
}
|
|
@@ -10,12 +10,12 @@
|
|
|
10
10
|
|
|
11
11
|
* ========================================================================== */
|
|
12
12
|
|
|
13
|
-
import {
|
|
13
|
+
import { Taon } from 'taon/websql-prod';
|
|
14
14
|
import { TaonMarketingPopupType } from './taon-marketing-popup.models';
|
|
15
15
|
import type { TaonMarketingPopupFields } from './taon-marketing-popup.models';
|
|
16
|
-
import {
|
|
16
|
+
import { TaonMarketingPopupUtils } from './taon-marketing-popup.utils';
|
|
17
17
|
export function popupError(message: string, status = 400): never {
|
|
18
|
-
|
|
18
|
+
Taon.error({ message, status });
|
|
19
19
|
throw new Error(message);
|
|
20
20
|
}
|
|
21
21
|
export function requirePopupId(id: number): void {
|
|
@@ -49,12 +49,12 @@ export function validatePopup(input: TaonMarketingPopupFields): void {
|
|
|
49
49
|
popupError(`${field} must be a string or null.`);
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
|
-
if (input.buttonUrl && !
|
|
52
|
+
if (input.buttonUrl && !TaonMarketingPopupUtils.isSafeUrl(input.buttonUrl)) {
|
|
53
53
|
popupError('Button URL must be an HTTP(S) URL or a root-relative path.');
|
|
54
54
|
}
|
|
55
55
|
for (const field of ['displayOnPaths', 'excludePaths'] as const) {
|
|
56
56
|
const paths = input[field];
|
|
57
|
-
if (paths !== null && (!Array.isArray(paths) || paths.some(path => typeof path !== 'string' || !
|
|
57
|
+
if (paths !== null && (!Array.isArray(paths) || paths.some(path => typeof path !== 'string' || !TaonMarketingPopupUtils.isPathPattern(path)))) {
|
|
58
58
|
popupError(`${field} must contain paths beginning with / and an optional trailing *.`);
|
|
59
59
|
}
|
|
60
60
|
}
|
|
@@ -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
|
})
|