@wavemaker-ai/app-ng-runtime 12.0.0-rc.335 → 12.0.1-rc.338
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/build-task/bundles/index.umd.js +15 -16
- package/build-task/fesm2022/index.mjs +15 -16
- package/build-task/fesm2022/index.mjs.map +1 -1
- package/components/advanced/carousel/bundles/index.umd.js +9 -9
- package/components/advanced/carousel/fesm2022/index.mjs +9 -9
- package/components/advanced/carousel/fesm2022/index.mjs.map +1 -1
- package/components/advanced/carousel/types/index.d.ts +7 -7
- package/components/advanced/custom/bundles/index.umd.js +9 -10
- package/components/advanced/custom/fesm2022/index.mjs +9 -10
- package/components/advanced/custom/fesm2022/index.mjs.map +1 -1
- package/components/advanced/custom/types/index.d.ts +3 -3
- package/components/advanced/login/bundles/index.umd.js +3 -3
- package/components/advanced/login/fesm2022/index.mjs +3 -3
- package/components/advanced/login/fesm2022/index.mjs.map +1 -1
- package/components/advanced/login/types/index.d.ts +1 -1
- package/components/advanced/marquee/bundles/index.umd.js +3 -3
- package/components/advanced/marquee/fesm2022/index.mjs +3 -3
- package/components/advanced/marquee/fesm2022/index.mjs.map +1 -1
- package/components/advanced/marquee/types/index.d.ts +1 -1
- package/components/base/bundles/index.umd.js +40 -46
- package/components/base/fesm2022/index.mjs +40 -46
- package/components/base/fesm2022/index.mjs.map +1 -1
- package/components/base/types/index.d.ts +47 -46
- package/components/basic/anchor/bundles/index.umd.js +3 -3
- package/components/basic/anchor/fesm2022/index.mjs +3 -3
- package/components/basic/anchor/fesm2022/index.mjs.map +1 -1
- package/components/basic/anchor/types/index.d.ts +3 -3
- package/components/basic/audio/bundles/index.umd.js +3 -3
- package/components/basic/audio/fesm2022/index.mjs +3 -3
- package/components/basic/audio/fesm2022/index.mjs.map +1 -1
- package/components/basic/audio/types/index.d.ts +1 -1
- package/components/basic/html/bundles/index.umd.js +10 -11
- package/components/basic/html/fesm2022/index.mjs +10 -11
- package/components/basic/html/fesm2022/index.mjs.map +1 -1
- package/components/basic/html/types/index.d.ts +3 -3
- package/components/basic/icon/bundles/index.umd.js +3 -3
- package/components/basic/icon/fesm2022/index.mjs +3 -3
- package/components/basic/icon/fesm2022/index.mjs.map +1 -1
- package/components/basic/icon/types/index.d.ts +1 -1
- package/components/basic/iframe/bundles/index.umd.js +5 -5
- package/components/basic/iframe/fesm2022/index.mjs +5 -5
- package/components/basic/iframe/fesm2022/index.mjs.map +1 -1
- package/components/basic/iframe/types/index.d.ts +3 -3
- package/components/basic/label/bundles/index.umd.js +10 -11
- package/components/basic/label/fesm2022/index.mjs +10 -11
- package/components/basic/label/fesm2022/index.mjs.map +1 -1
- package/components/basic/label/types/index.d.ts +1 -1
- package/components/basic/picture/bundles/index.umd.js +3 -3
- package/components/basic/picture/fesm2022/index.mjs +3 -3
- package/components/basic/picture/fesm2022/index.mjs.map +1 -1
- package/components/basic/picture/types/index.d.ts +2 -2
- package/components/basic/progress/progress-bar/bundles/index.umd.js +8 -10
- package/components/basic/progress/progress-bar/fesm2022/index.mjs +8 -10
- package/components/basic/progress/progress-bar/fesm2022/index.mjs.map +1 -1
- package/components/basic/progress/progress-bar/types/index.d.ts +2 -2
- package/components/basic/progress/progress-circle/bundles/index.umd.js +3 -3
- package/components/basic/progress/progress-circle/fesm2022/index.mjs +3 -3
- package/components/basic/progress/progress-circle/fesm2022/index.mjs.map +1 -1
- package/components/basic/progress/progress-circle/types/index.d.ts +2 -2
- package/components/basic/rich-text-editor/bundles/index.umd.js +3 -3
- package/components/basic/rich-text-editor/fesm2022/index.mjs +3 -3
- package/components/basic/rich-text-editor/fesm2022/index.mjs.map +1 -1
- package/components/basic/rich-text-editor/types/index.d.ts +3 -3
- package/components/basic/search/bundles/index.umd.js +40 -42
- package/components/basic/search/fesm2022/index.mjs +40 -42
- package/components/basic/search/fesm2022/index.mjs.map +1 -1
- package/components/basic/search/types/index.d.ts +13 -13
- package/components/basic/spinner/bundles/index.umd.js +3 -3
- package/components/basic/spinner/fesm2022/index.mjs +3 -3
- package/components/basic/spinner/fesm2022/index.mjs.map +1 -1
- package/components/basic/spinner/types/index.d.ts +3 -3
- package/components/basic/tree/bundles/index.umd.js +9 -9
- package/components/basic/tree/fesm2022/index.mjs +9 -9
- package/components/basic/tree/fesm2022/index.mjs.map +1 -1
- package/components/basic/tree/types/index.d.ts +7 -7
- package/components/basic/video/bundles/index.umd.js +3 -3
- package/components/basic/video/fesm2022/index.mjs +3 -3
- package/components/basic/video/fesm2022/index.mjs.map +1 -1
- package/components/basic/video/types/index.d.ts +2 -2
- package/components/chart/bundles/index.umd.js +19 -22
- package/components/chart/fesm2022/index.mjs +20 -23
- package/components/chart/fesm2022/index.mjs.map +1 -1
- package/components/chart/types/index.d.ts +9 -9
- package/components/containers/accordion/bundles/index.umd.js +10 -12
- package/components/containers/accordion/fesm2022/index.mjs +10 -12
- package/components/containers/accordion/fesm2022/index.mjs.map +1 -1
- package/components/containers/accordion/types/index.d.ts +9 -9
- package/components/containers/layout-grid/bundles/index.umd.js +9 -9
- package/components/containers/layout-grid/fesm2022/index.mjs +9 -9
- package/components/containers/layout-grid/fesm2022/index.mjs.map +1 -1
- package/components/containers/layout-grid/types/index.d.ts +4 -4
- package/components/containers/linear-layout/bundles/index.umd.js +6 -6
- package/components/containers/linear-layout/fesm2022/index.mjs +6 -6
- package/components/containers/linear-layout/fesm2022/index.mjs.map +1 -1
- package/components/containers/linear-layout/types/index.d.ts +2 -2
- package/components/containers/panel/bundles/index.umd.js +3 -3
- package/components/containers/panel/fesm2022/index.mjs +3 -3
- package/components/containers/panel/fesm2022/index.mjs.map +1 -1
- package/components/containers/panel/types/index.d.ts +3 -3
- package/components/containers/tabs/bundles/index.umd.js +9 -9
- package/components/containers/tabs/fesm2022/index.mjs +9 -9
- package/components/containers/tabs/fesm2022/index.mjs.map +1 -1
- package/components/containers/tabs/types/index.d.ts +8 -8
- package/components/containers/tile/bundles/index.umd.js +3 -3
- package/components/containers/tile/fesm2022/index.mjs +3 -3
- package/components/containers/tile/fesm2022/index.mjs.map +1 -1
- package/components/containers/tile/types/index.d.ts +1 -1
- package/components/containers/wizard/bundles/index.umd.js +18 -18
- package/components/containers/wizard/fesm2022/index.mjs +18 -18
- package/components/containers/wizard/fesm2022/index.mjs.map +1 -1
- package/components/containers/wizard/types/index.d.ts +8 -8
- package/components/data/card/bundles/index.umd.js +12 -12
- package/components/data/card/fesm2022/index.mjs +12 -12
- package/components/data/card/fesm2022/index.mjs.map +1 -1
- package/components/data/card/types/index.d.ts +6 -6
- package/components/data/form/bundles/index.umd.js +72 -75
- package/components/data/form/fesm2022/index.mjs +72 -77
- package/components/data/form/fesm2022/index.mjs.map +1 -1
- package/components/data/form/types/index.d.ts +29 -29
- package/components/data/list/bundles/index.umd.js +22 -27
- package/components/data/list/fesm2022/index.mjs +22 -27
- package/components/data/list/fesm2022/index.mjs.map +1 -1
- package/components/data/list/types/index.d.ts +23 -23
- package/components/data/live-table/bundles/index.umd.js +3 -3
- package/components/data/live-table/fesm2022/index.mjs +3 -3
- package/components/data/live-table/fesm2022/index.mjs.map +1 -1
- package/components/data/live-table/types/index.d.ts +5 -5
- package/components/data/pagination/bundles/index.umd.js +27 -28
- package/components/data/pagination/fesm2022/index.mjs +27 -28
- package/components/data/pagination/fesm2022/index.mjs.map +1 -1
- package/components/data/pagination/types/index.d.ts +1 -1
- package/components/data/table/bundles/index.umd.js +131 -142
- package/components/data/table/fesm2022/index.mjs +131 -143
- package/components/data/table/fesm2022/index.mjs.map +1 -1
- package/components/data/table/types/index.d.ts +20 -20
- package/components/dialogs/alert-dialog/bundles/index.umd.js +3 -3
- package/components/dialogs/alert-dialog/fesm2022/index.mjs +3 -3
- package/components/dialogs/alert-dialog/fesm2022/index.mjs.map +1 -1
- package/components/dialogs/alert-dialog/types/index.d.ts +1 -1
- package/components/dialogs/confirm-dialog/bundles/index.umd.js +3 -3
- package/components/dialogs/confirm-dialog/fesm2022/index.mjs +3 -3
- package/components/dialogs/confirm-dialog/fesm2022/index.mjs.map +1 -1
- package/components/dialogs/confirm-dialog/types/index.d.ts +1 -1
- package/components/dialogs/default/bundles/index.umd.js +12 -12
- package/components/dialogs/default/fesm2022/index.mjs +12 -12
- package/components/dialogs/default/fesm2022/index.mjs.map +1 -1
- package/components/dialogs/default/types/index.d.ts +3 -3
- package/components/dialogs/design-dialog/bundles/index.umd.js +3 -3
- package/components/dialogs/design-dialog/fesm2022/index.mjs +3 -3
- package/components/dialogs/design-dialog/fesm2022/index.mjs.map +1 -1
- package/components/dialogs/design-dialog/types/index.d.ts +1 -1
- package/components/dialogs/iframe-dialog/bundles/index.umd.js +3 -3
- package/components/dialogs/iframe-dialog/fesm2022/index.mjs +3 -3
- package/components/dialogs/iframe-dialog/fesm2022/index.mjs.map +1 -1
- package/components/dialogs/iframe-dialog/types/index.d.ts +1 -1
- package/components/dialogs/login-dialog/bundles/index.umd.js +3 -3
- package/components/dialogs/login-dialog/fesm2022/index.mjs +3 -3
- package/components/dialogs/login-dialog/fesm2022/index.mjs.map +1 -1
- package/components/dialogs/login-dialog/types/index.d.ts +2 -2
- package/components/dialogs/partial-dialog/bundles/index.umd.js +3 -3
- package/components/dialogs/partial-dialog/fesm2022/index.mjs +3 -3
- package/components/dialogs/partial-dialog/fesm2022/index.mjs.map +1 -1
- package/components/dialogs/partial-dialog/types/index.d.ts +1 -1
- package/components/input/base-form/bundles/index.umd.js +4 -4
- package/components/input/base-form/fesm2022/index.mjs +4 -4
- package/components/input/base-form/fesm2022/index.mjs.map +1 -1
- package/components/input/base-form-custom/bundles/index.umd.js +3 -3
- package/components/input/base-form-custom/fesm2022/index.mjs +3 -3
- package/components/input/button/bundles/index.umd.js +3 -3
- package/components/input/button/fesm2022/index.mjs +3 -3
- package/components/input/button/fesm2022/index.mjs.map +1 -1
- package/components/input/button/types/index.d.ts +1 -1
- package/components/input/button-group/bundles/index.umd.js +3 -3
- package/components/input/button-group/fesm2022/index.mjs +3 -3
- package/components/input/button-group/fesm2022/index.mjs.map +1 -1
- package/components/input/button-group/types/index.d.ts +1 -1
- package/components/input/calendar/bundles/index.umd.js +4 -4
- package/components/input/calendar/fesm2022/index.mjs +4 -5
- package/components/input/calendar/fesm2022/index.mjs.map +1 -1
- package/components/input/calendar/types/index.d.ts +9 -9
- package/components/input/caption-position/bundles/index.umd.js +5 -5
- package/components/input/caption-position/fesm2022/index.mjs +5 -5
- package/components/input/caption-position/fesm2022/index.mjs.map +1 -1
- package/components/input/caption-position/types/index.d.ts +4 -4
- package/components/input/checkbox/bundles/index.umd.js +3 -3
- package/components/input/checkbox/fesm2022/index.mjs +3 -3
- package/components/input/checkbox/fesm2022/index.mjs.map +1 -1
- package/components/input/checkbox/types/index.d.ts +2 -2
- package/components/input/checkboxset/bundles/index.umd.js +4 -4
- package/components/input/checkboxset/fesm2022/index.mjs +4 -4
- package/components/input/checkboxset/fesm2022/index.mjs.map +1 -1
- package/components/input/checkboxset/types/index.d.ts +2 -2
- package/components/input/chips/bundles/index.umd.js +5 -5
- package/components/input/chips/fesm2022/index.mjs +5 -5
- package/components/input/chips/fesm2022/index.mjs.map +1 -1
- package/components/input/chips/types/index.d.ts +14 -14
- package/components/input/color-picker/bundles/index.umd.js +3 -3
- package/components/input/color-picker/fesm2022/index.mjs +3 -3
- package/components/input/color-picker/fesm2022/index.mjs.map +1 -1
- package/components/input/color-picker/types/index.d.ts +2 -2
- package/components/input/composite/bundles/index.umd.js +3 -3
- package/components/input/composite/fesm2022/index.mjs +3 -3
- package/components/input/composite/fesm2022/index.mjs.map +1 -1
- package/components/input/composite/types/index.d.ts +1 -1
- package/components/input/currency/bundles/index.umd.js +3 -3
- package/components/input/currency/fesm2022/index.mjs +3 -3
- package/components/input/currency/fesm2022/index.mjs.map +1 -1
- package/components/input/currency/types/index.d.ts +3 -3
- package/components/input/dataset-aware-form/bundles/index.umd.js +7 -7
- package/components/input/dataset-aware-form/fesm2022/index.mjs +7 -7
- package/components/input/dataset-aware-form/fesm2022/index.mjs.map +1 -1
- package/components/input/dataset-aware-form/types/index.d.ts +1 -1
- package/components/input/epoch/base-date-time/bundles/index.umd.js +10 -15
- package/components/input/epoch/base-date-time/fesm2022/index.mjs +10 -15
- package/components/input/epoch/base-date-time/fesm2022/index.mjs.map +1 -1
- package/components/input/epoch/base-date-time/types/index.d.ts +2 -2
- package/components/input/epoch/date/bundles/index.umd.js +5 -5
- package/components/input/epoch/date/fesm2022/index.mjs +5 -5
- package/components/input/epoch/date/fesm2022/index.mjs.map +1 -1
- package/components/input/epoch/date/types/index.d.ts +4 -4
- package/components/input/epoch/date-time/bundles/index.umd.js +3 -3
- package/components/input/epoch/date-time/fesm2022/index.mjs +3 -3
- package/components/input/epoch/date-time/fesm2022/index.mjs.map +1 -1
- package/components/input/epoch/date-time/types/index.d.ts +8 -8
- package/components/input/epoch/date-time-picker/bundles/index.umd.js +8 -8
- package/components/input/epoch/date-time-picker/fesm2022/index.mjs +8 -8
- package/components/input/epoch/date-time-picker/fesm2022/index.mjs.map +1 -1
- package/components/input/epoch/date-time-picker/types/index.d.ts +6 -7
- package/components/input/epoch/picker/bundles/index.umd.js +6 -6
- package/components/input/epoch/picker/fesm2022/index.mjs +6 -6
- package/components/input/epoch/picker/fesm2022/index.mjs.map +1 -1
- package/components/input/epoch/time/bundles/index.umd.js +4 -5
- package/components/input/epoch/time/fesm2022/index.mjs +5 -6
- package/components/input/epoch/time/fesm2022/index.mjs.map +1 -1
- package/components/input/epoch/time/types/index.d.ts +4 -4
- package/components/input/file-upload/bundles/index.umd.js +4 -4
- package/components/input/file-upload/fesm2022/index.mjs +4 -4
- package/components/input/file-upload/fesm2022/index.mjs.map +1 -1
- package/components/input/file-upload/types/index.d.ts +5 -5
- package/components/input/number/bundles/index.umd.js +3 -3
- package/components/input/number/fesm2022/index.mjs +3 -3
- package/components/input/number/fesm2022/index.mjs.map +1 -1
- package/components/input/number/types/index.d.ts +1 -1
- package/components/input/radioset/bundles/index.umd.js +4 -4
- package/components/input/radioset/fesm2022/index.mjs +4 -4
- package/components/input/radioset/fesm2022/index.mjs.map +1 -1
- package/components/input/radioset/types/index.d.ts +2 -2
- package/components/input/rating/bundles/index.umd.js +9 -11
- package/components/input/rating/fesm2022/index.mjs +9 -11
- package/components/input/rating/fesm2022/index.mjs.map +1 -1
- package/components/input/rating/types/index.d.ts +2 -2
- package/components/input/select/bundles/index.umd.js +4 -4
- package/components/input/select/fesm2022/index.mjs +4 -4
- package/components/input/select/fesm2022/index.mjs.map +1 -1
- package/components/input/select/types/index.d.ts +1 -1
- package/components/input/slider/bundles/index.umd.js +3 -3
- package/components/input/slider/fesm2022/index.mjs +3 -3
- package/components/input/slider/fesm2022/index.mjs.map +1 -1
- package/components/input/slider/types/index.d.ts +1 -1
- package/components/input/switch/bundles/index.umd.js +3 -3
- package/components/input/switch/fesm2022/index.mjs +3 -3
- package/components/input/switch/fesm2022/index.mjs.map +1 -1
- package/components/input/switch/types/index.d.ts +1 -1
- package/components/input/text/bundles/index.umd.js +31 -35
- package/components/input/text/fesm2022/index.mjs +31 -35
- package/components/input/text/fesm2022/index.mjs.map +1 -1
- package/components/input/text/types/index.d.ts +12 -12
- package/components/input/textarea/bundles/index.umd.js +3 -3
- package/components/input/textarea/fesm2022/index.mjs +3 -3
- package/components/input/textarea/fesm2022/index.mjs.map +1 -1
- package/components/input/textarea/types/index.d.ts +2 -2
- package/components/navigation/breadcrumb/bundles/index.umd.js +3 -3
- package/components/navigation/breadcrumb/fesm2022/index.mjs +3 -3
- package/components/navigation/breadcrumb/fesm2022/index.mjs.map +1 -1
- package/components/navigation/breadcrumb/types/index.d.ts +4 -4
- package/components/navigation/menu/bundles/index.umd.js +25 -33
- package/components/navigation/menu/fesm2022/index.mjs +25 -33
- package/components/navigation/menu/fesm2022/index.mjs.map +1 -1
- package/components/navigation/menu/types/index.d.ts +21 -21
- package/components/navigation/navbar/bundles/index.umd.js +3 -3
- package/components/navigation/navbar/fesm2022/index.mjs +3 -3
- package/components/navigation/navbar/fesm2022/index.mjs.map +1 -1
- package/components/navigation/navbar/types/index.d.ts +1 -1
- package/components/navigation/popover/bundles/index.umd.js +4 -4
- package/components/navigation/popover/fesm2022/index.mjs +4 -4
- package/components/navigation/popover/fesm2022/index.mjs.map +1 -1
- package/components/navigation/popover/types/index.d.ts +4 -4
- package/components/page/default/bundles/index.umd.js +23 -23
- package/components/page/default/fesm2022/index.mjs +23 -23
- package/components/page/default/fesm2022/index.mjs.map +1 -1
- package/components/page/default/types/index.d.ts +14 -14
- package/components/page/footer/bundles/index.umd.js +3 -3
- package/components/page/footer/fesm2022/index.mjs +3 -3
- package/components/page/footer/fesm2022/index.mjs.map +1 -1
- package/components/page/footer/types/index.d.ts +1 -1
- package/components/page/header/bundles/index.umd.js +3 -3
- package/components/page/header/fesm2022/index.mjs +3 -3
- package/components/page/header/fesm2022/index.mjs.map +1 -1
- package/components/page/header/types/index.d.ts +1 -1
- package/components/page/left-panel/bundles/index.umd.js +5 -5
- package/components/page/left-panel/fesm2022/index.mjs +5 -5
- package/components/page/left-panel/fesm2022/index.mjs.map +1 -1
- package/components/page/left-panel/types/index.d.ts +3 -3
- package/components/page/right-panel/bundles/index.umd.js +3 -3
- package/components/page/right-panel/fesm2022/index.mjs +3 -3
- package/components/page/right-panel/fesm2022/index.mjs.map +1 -1
- package/components/page/right-panel/types/index.d.ts +1 -1
- package/components/page/top-nav/bundles/index.umd.js +3 -3
- package/components/page/top-nav/fesm2022/index.mjs +3 -3
- package/components/page/top-nav/fesm2022/index.mjs.map +1 -1
- package/components/page/top-nav/types/index.d.ts +1 -1
- package/components/prefab/bundles/index.umd.js +7 -7
- package/components/prefab/fesm2022/index.mjs +7 -7
- package/components/prefab/fesm2022/index.mjs.map +1 -1
- package/components/prefab/types/index.d.ts +3 -3
- package/core/bundles/index.umd.js +84 -89
- package/core/fesm2022/index.mjs +84 -89
- package/core/fesm2022/index.mjs.map +1 -1
- package/core/types/index.d.ts +11 -11
- package/http/bundles/index.umd.js +6 -6
- package/http/fesm2022/index.mjs +6 -6
- package/http/fesm2022/index.mjs.map +1 -1
- package/http/types/index.d.ts +1 -1
- package/npm-shrinkwrap.json +2 -2
- package/oAuth/bundles/index.umd.js +17 -21
- package/oAuth/fesm2022/index.mjs +17 -21
- package/oAuth/fesm2022/index.mjs.map +1 -1
- package/oAuth/types/index.d.ts +1 -1
- package/package-lock.json +2 -2
- package/package.json +1 -1
- package/runtime/base/bundles/index.umd.js +253 -275
- package/runtime/base/fesm2022/index.mjs +253 -275
- package/runtime/base/fesm2022/index.mjs.map +1 -1
- package/runtime/base/types/index.d.ts +90 -96
- package/runtime/dynamic/bundles/index.umd.js +28 -28
- package/runtime/dynamic/fesm2022/index.mjs +28 -28
- package/runtime/dynamic/fesm2022/index.mjs.map +1 -1
- package/runtime/dynamic/types/index.d.ts +22 -22
- package/scripts/datatable/datatable.js +293 -271
- package/scripts/tree-keyboard-navigation/keyboard-navigation.js +68 -56
- package/security/bundles/index.umd.js +6 -6
- package/security/fesm2022/index.mjs +6 -6
- package/security/fesm2022/index.mjs.map +1 -1
- package/security/types/index.d.ts +5 -5
- package/transpiler/bundles/index.umd.js +3 -5
- package/transpiler/fesm2022/index.mjs +3 -5
- package/transpiler/fesm2022/index.mjs.map +1 -1
- package/variables/bundles/index.umd.js +69 -71
- package/variables/fesm2022/index.mjs +69 -72
- package/variables/fesm2022/index.mjs.map +1 -1
- package/variables/types/index.d.ts +9 -9
|
@@ -93,9 +93,9 @@
|
|
|
93
93
|
if (active) {
|
|
94
94
|
let spinnerExists;
|
|
95
95
|
// WMS-21117 : Do not trigger spinner, if the current variable is same as spinner which is in context
|
|
96
|
-
if (variable._spinnerId
|
|
96
|
+
if (variable._spinnerId?.length) {
|
|
97
97
|
lodashEs.forEach(variable._spinnerId, (item) => {
|
|
98
|
-
if (item.slice(0, item.lastIndexOf('_')) === variable._id && this.$spinner.messagesByContext
|
|
98
|
+
if (item.slice(0, item.lastIndexOf('_')) === variable._id && this.$spinner.messagesByContext?.[variable.spinnerContext] &&
|
|
99
99
|
(variable.spinnerMessage === this.$spinner.messagesByContext[variable.spinnerContext]["finalMessage"] || variable.spinnerMessage === this.$spinner.messagesByContext[variable.spinnerContext][item])) {
|
|
100
100
|
spinnerExists = true;
|
|
101
101
|
return;
|
|
@@ -203,7 +203,7 @@
|
|
|
203
203
|
}
|
|
204
204
|
return this.$security.load().then(() => {
|
|
205
205
|
const securityConfig = this.$security.get();
|
|
206
|
-
if (securityConfig
|
|
206
|
+
if (securityConfig?.securityEnabled && securityConfig.authenticated) {
|
|
207
207
|
loggedInUser.isAuthenticated = securityConfig.authenticated;
|
|
208
208
|
loggedInUser.roles = securityConfig.userInfo.userRoles;
|
|
209
209
|
loggedInUser.name = securityConfig.userInfo.userName;
|
|
@@ -213,7 +213,7 @@
|
|
|
213
213
|
}
|
|
214
214
|
else {
|
|
215
215
|
this.clearLoggedInUserVariable(loggedInUser);
|
|
216
|
-
loggedInUser.isSecurityEnabled = securityConfig
|
|
216
|
+
loggedInUser.isSecurityEnabled = securityConfig?.securityEnabled;
|
|
217
217
|
throw null;
|
|
218
218
|
}
|
|
219
219
|
return securityConfig;
|
|
@@ -246,7 +246,7 @@
|
|
|
246
246
|
* For preview, this.$security.getRedirectedRouteQueryParams() gets the queryparams form the activated route(pagewrappercomponent)
|
|
247
247
|
* For deployed app, canactivate guard resolved to false and gets the queryparams from the canactivate gurard(no active route component)
|
|
248
248
|
*/
|
|
249
|
-
queryParams = (options
|
|
249
|
+
queryParams = (options?.queryParams) || this.$security.getRedirectedRouteQueryParams();
|
|
250
250
|
queryParams = this.$security.getQueryString(queryParams);
|
|
251
251
|
queryParams = queryParams ? '?' + queryParams : '';
|
|
252
252
|
const redirectPage = this.$security.getCurrentRoutePage();
|
|
@@ -303,9 +303,9 @@
|
|
|
303
303
|
const config = this.$security.get();
|
|
304
304
|
let queryParamsObj = {};
|
|
305
305
|
loginConfig = config.loginConfig;
|
|
306
|
-
this.lastLoggedUserId = config.userInfo
|
|
306
|
+
this.lastLoggedUserId = config.userInfo?.userId;
|
|
307
307
|
// if user found, 401 was thrown after session time
|
|
308
|
-
if (config.userInfo
|
|
308
|
+
if (config.userInfo?.userName) {
|
|
309
309
|
config.authenticated = false;
|
|
310
310
|
sessionTimeoutConfig = loginConfig.sessionTimeout || { 'type': LOGIN_METHOD.DIALOG };
|
|
311
311
|
sessionTimeoutMethod = sessionTimeoutConfig.type.toUpperCase();
|
|
@@ -346,7 +346,7 @@
|
|
|
346
346
|
// on app load, by default Home page is loaded
|
|
347
347
|
page = this.$security.getRedirectPage(config, page);
|
|
348
348
|
queryParamsObj['redirectTo'] = page;
|
|
349
|
-
const extraQueryParams = (options
|
|
349
|
+
const extraQueryParams = (options?.queryParams) || this.$security.getRedirectedRouteQueryParams();
|
|
350
350
|
queryParamsObj = lodashEs.merge(queryParamsObj, extraQueryParams);
|
|
351
351
|
this.$router.navigate([loginConfig.pageName], { queryParams: queryParamsObj });
|
|
352
352
|
this.$app.landingPageName = loginConfig.pageName;
|
|
@@ -579,10 +579,10 @@
|
|
|
579
579
|
this.templates = null;
|
|
580
580
|
this.lastLoggedUserId = null;
|
|
581
581
|
}
|
|
582
|
-
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
583
|
-
static { this.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
582
|
+
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: AppManagerService, deps: [{ token: i1__namespace.AbstractHttpService }, { token: i2__namespace.SecurityService }, { token: i1__namespace.AbstractDialogService }, { token: i1$1__namespace.Router }, { token: i1__namespace.App }, { token: i4__namespace.VariablesService }, { token: i4__namespace.MetadataService }, { token: i1__namespace.AbstractSpinnerService }, { token: i1__namespace.AbstractI18nService }, { token: i5__namespace.DatePipe }], target: i0__namespace.ɵɵFactoryTarget.Injectable }); }
|
|
583
|
+
static { this.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: AppManagerService }); }
|
|
584
584
|
}
|
|
585
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
585
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: AppManagerService, decorators: [{
|
|
586
586
|
type: i0.Injectable
|
|
587
587
|
}], ctorParameters: () => [{ type: i1__namespace.AbstractHttpService }, { type: i2__namespace.SecurityService }, { type: i1__namespace.AbstractDialogService }, { type: i1$1__namespace.Router }, { type: i1__namespace.App }, { type: i4__namespace.VariablesService }, { type: i4__namespace.MetadataService }, { type: i1__namespace.AbstractSpinnerService }, { type: i1__namespace.AbstractI18nService }, { type: i5__namespace.DatePipe }] });
|
|
588
588
|
|
|
@@ -688,10 +688,10 @@
|
|
|
688
688
|
});
|
|
689
689
|
});
|
|
690
690
|
}
|
|
691
|
-
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
692
|
-
static { this.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
691
|
+
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: PrefabManagerService, deps: [{ token: i4__namespace.MetadataService }, { token: PrefabConfigProvider }], target: i0__namespace.ɵɵFactoryTarget.Injectable }); }
|
|
692
|
+
static { this.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: PrefabManagerService }); }
|
|
693
693
|
}
|
|
694
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
694
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: PrefabManagerService, decorators: [{
|
|
695
695
|
type: i0.Injectable
|
|
696
696
|
}], ctorParameters: () => [{ type: i4__namespace.MetadataService }, { type: PrefabConfigProvider }] });
|
|
697
697
|
|
|
@@ -743,10 +743,10 @@
|
|
|
743
743
|
this.fragmentsLoaded$.complete();
|
|
744
744
|
}
|
|
745
745
|
}
|
|
746
|
-
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
747
|
-
static { this.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
746
|
+
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: FragmentMonitor, deps: [], target: i0__namespace.ɵɵFactoryTarget.Directive }); }
|
|
747
|
+
static { this.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.21", type: FragmentMonitor, isStandalone: true, ngImport: i0__namespace }); }
|
|
748
748
|
}
|
|
749
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
749
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: FragmentMonitor, decorators: [{
|
|
750
750
|
type: i0.Directive
|
|
751
751
|
}], ctorParameters: () => [] });
|
|
752
752
|
|
|
@@ -889,13 +889,13 @@
|
|
|
889
889
|
});
|
|
890
890
|
}
|
|
891
891
|
mute() {
|
|
892
|
-
const m = o => { o
|
|
892
|
+
const m = o => { o?.mute?.(); };
|
|
893
893
|
lodashEs.each(this.Widgets, m);
|
|
894
894
|
lodashEs.each(this.Variables, m);
|
|
895
895
|
lodashEs.each(this.Actions, m);
|
|
896
896
|
}
|
|
897
897
|
unmute() {
|
|
898
|
-
const um = o => { o
|
|
898
|
+
const um = o => { o?.unmute?.(); };
|
|
899
899
|
lodashEs.each(this.Widgets, um);
|
|
900
900
|
lodashEs.each(this.Variables, um);
|
|
901
901
|
lodashEs.each(this.Actions, um);
|
|
@@ -941,22 +941,22 @@
|
|
|
941
941
|
ngOnAttach(refreshData) {
|
|
942
942
|
this.unmute();
|
|
943
943
|
if (refreshData) {
|
|
944
|
-
const refresh = v => { v
|
|
944
|
+
const refresh = v => { v?.startUpdate && v?.invoke?.(); };
|
|
945
945
|
lodashEs.each(this.Variables, refresh);
|
|
946
946
|
lodashEs.each(this.Actions, refresh);
|
|
947
947
|
}
|
|
948
|
-
lodashEs.each(this.Widgets, w => w
|
|
948
|
+
lodashEs.each(this.Widgets, w => w?.ngOnAttach?.());
|
|
949
949
|
}
|
|
950
950
|
ngOnDetach() {
|
|
951
951
|
this.mute();
|
|
952
|
-
lodashEs.each(this.Widgets, w => w
|
|
952
|
+
lodashEs.each(this.Widgets, w => w?.ngOnDetach?.());
|
|
953
953
|
}
|
|
954
954
|
onReady(params) {
|
|
955
955
|
}
|
|
956
|
-
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
957
|
-
static { this.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
956
|
+
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: BasePartialComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Directive }); }
|
|
957
|
+
static { this.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.21", type: BasePartialComponent, isStandalone: true, viewQueries: [{ propertyName: "partialDirective", first: true, predicate: base.PartialDirective, descendants: true }], usesInheritance: true, ngImport: i0__namespace }); }
|
|
958
958
|
}
|
|
959
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
959
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: BasePartialComponent, decorators: [{
|
|
960
960
|
type: i0.Directive
|
|
961
961
|
}], propDecorators: { partialDirective: [{
|
|
962
962
|
type: i0.ViewChild,
|
|
@@ -987,7 +987,7 @@
|
|
|
987
987
|
const queryParams = Object.keys(route.queryParams)
|
|
988
988
|
.filter(k => !this.paramsToIgnore.includes(k))
|
|
989
989
|
.map(k => k + '=' + route.queryParams[k])
|
|
990
|
-
.sort().join('&');
|
|
990
|
+
.sort((a, b) => a.localeCompare(b)).join('&');
|
|
991
991
|
let pageName = route.params.pageName;
|
|
992
992
|
if (route.data.pageName && route.routeConfig.path === route.data.pageName) {
|
|
993
993
|
pageName = route.data.pageName;
|
|
@@ -1052,7 +1052,7 @@
|
|
|
1052
1052
|
reset(pageName) {
|
|
1053
1053
|
if (pageName) {
|
|
1054
1054
|
this.cache.delete(pageName);
|
|
1055
|
-
const pageWithParams = pageName
|
|
1055
|
+
const pageWithParams = pageName + '?';
|
|
1056
1056
|
const entriesToDelete = [];
|
|
1057
1057
|
for (let k of this.cache.keys()) {
|
|
1058
1058
|
if (k.startsWith(pageWithParams)) {
|
|
@@ -1247,7 +1247,7 @@
|
|
|
1247
1247
|
&& lastPage) {
|
|
1248
1248
|
const $target = lastPage.parent();
|
|
1249
1249
|
const onTransitionEnd = (e) => {
|
|
1250
|
-
if (resolve && !
|
|
1250
|
+
if (resolve && !e?.pseudoElement) {
|
|
1251
1251
|
$target.off('animationend', onTransitionEnd);
|
|
1252
1252
|
$target.removeClass(transition);
|
|
1253
1253
|
$target.children().first().remove();
|
|
@@ -1267,7 +1267,7 @@
|
|
|
1267
1267
|
resolve();
|
|
1268
1268
|
}
|
|
1269
1269
|
}).then(() => {
|
|
1270
|
-
this.$page
|
|
1270
|
+
this.$page?.removeClass('page-entry');
|
|
1271
1271
|
if (lastPage) {
|
|
1272
1272
|
lastPage.remove();
|
|
1273
1273
|
BasePageComponent.lastPageSnapShot = null;
|
|
@@ -1286,7 +1286,7 @@
|
|
|
1286
1286
|
}
|
|
1287
1287
|
loadScripts() {
|
|
1288
1288
|
return new Promise((resolve) => {
|
|
1289
|
-
const scriptsRequired = this.pageDirective
|
|
1289
|
+
const scriptsRequired = this.pageDirective?.$element.attr('scripts-to-load');
|
|
1290
1290
|
if (scriptsRequired) {
|
|
1291
1291
|
this.scriptLoaderService
|
|
1292
1292
|
.load(...scriptsRequired.split(','))
|
|
@@ -1435,16 +1435,16 @@
|
|
|
1435
1435
|
onBeforePageLeave() { }
|
|
1436
1436
|
onPageContentReady() { }
|
|
1437
1437
|
canReuse() {
|
|
1438
|
-
return !!(this.pageDirective
|
|
1438
|
+
return !!(this.pageDirective?.cache);
|
|
1439
1439
|
}
|
|
1440
1440
|
mute() {
|
|
1441
|
-
const m = o => { o
|
|
1441
|
+
const m = o => { o?.mute?.(); };
|
|
1442
1442
|
lodashEs.each(this.Widgets, m);
|
|
1443
1443
|
lodashEs.each(this.Variables, m);
|
|
1444
1444
|
lodashEs.each(this.Actions, m);
|
|
1445
1445
|
}
|
|
1446
1446
|
unmute(c = this) {
|
|
1447
|
-
const um = o => { o
|
|
1447
|
+
const um = o => { o?.unmute?.(); };
|
|
1448
1448
|
lodashEs.each(this.Widgets, um);
|
|
1449
1449
|
lodashEs.each(this.Variables, um);
|
|
1450
1450
|
lodashEs.each(this.Actions, um);
|
|
@@ -1460,14 +1460,14 @@
|
|
|
1460
1460
|
this.unmute();
|
|
1461
1461
|
// expose current page widgets on app
|
|
1462
1462
|
this.App.Widgets = Object.create(this.Widgets);
|
|
1463
|
-
if (this.pageDirective
|
|
1464
|
-
const refresh = v => { v
|
|
1463
|
+
if (this.pageDirective?.refreshdataonattach) {
|
|
1464
|
+
const refresh = v => { v?.startUpdate && v?.invoke?.(); };
|
|
1465
1465
|
lodashEs.each(this.Variables, refresh);
|
|
1466
1466
|
lodashEs.each(this.Actions, refresh);
|
|
1467
1467
|
}
|
|
1468
1468
|
this.runPageTransition().then(() => {
|
|
1469
1469
|
setTimeout(() => this.restoreScrollPosition(), 100);
|
|
1470
|
-
lodashEs.each(this.Widgets, w => w
|
|
1470
|
+
lodashEs.each(this.Widgets, w => w?.ngOnAttach?.());
|
|
1471
1471
|
this.appManager.notify('pageAttach', { 'name': this.pageName, instance: this });
|
|
1472
1472
|
});
|
|
1473
1473
|
}
|
|
@@ -1475,7 +1475,7 @@
|
|
|
1475
1475
|
this.saveScrollPosition();
|
|
1476
1476
|
this.savePageSnapShot();
|
|
1477
1477
|
this.mute();
|
|
1478
|
-
lodashEs.each(this.Widgets, w => w
|
|
1478
|
+
lodashEs.each(this.Widgets, w => w?.ngOnDetach?.());
|
|
1479
1479
|
this.appManager.notify('pageDetach', { 'name': this.pageName, instance: this });
|
|
1480
1480
|
}
|
|
1481
1481
|
ngAfterContentInit() {
|
|
@@ -1487,10 +1487,10 @@
|
|
|
1487
1487
|
BasePageComponent.lastPageSnapShot = null;
|
|
1488
1488
|
}
|
|
1489
1489
|
}
|
|
1490
|
-
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1491
|
-
static { this.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
1490
|
+
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: BasePageComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Directive }); }
|
|
1491
|
+
static { this.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.21", type: BasePageComponent, isStandalone: true, host: { listeners: { "window:beforeunload": "canDeactivate()" } }, viewQueries: [{ propertyName: "pageDirective", first: true, predicate: page.PageDirective, descendants: true }], usesInheritance: true, ngImport: i0__namespace }); }
|
|
1492
1492
|
}
|
|
1493
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1493
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: BasePageComponent, decorators: [{
|
|
1494
1494
|
type: i0.Directive
|
|
1495
1495
|
}], propDecorators: { pageDirective: [{
|
|
1496
1496
|
type: i0.ViewChild,
|
|
@@ -1639,6 +1639,7 @@
|
|
|
1639
1639
|
get datavalue() {
|
|
1640
1640
|
if (this['getDatavalue'])
|
|
1641
1641
|
return this['getDatavalue']();
|
|
1642
|
+
return undefined;
|
|
1642
1643
|
}
|
|
1643
1644
|
set datavalue(value) {
|
|
1644
1645
|
this.datavalue = value;
|
|
@@ -1673,23 +1674,18 @@
|
|
|
1673
1674
|
// assign all the page variables to the pageInstance
|
|
1674
1675
|
Object.entries(variableCollection.Variables).forEach(([name, variable]) => this.Variables[name] = variable);
|
|
1675
1676
|
Object.entries(variableCollection.Actions).forEach(([name, action]) => this.Actions[name] = action);
|
|
1676
|
-
this.viewInit$.subscribe(
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1677
|
+
this.viewInit$.subscribe({
|
|
1678
|
+
complete: () => {
|
|
1679
|
+
// TEMP: triggering watchers so variables watching over params are updated
|
|
1680
|
+
i1.$invokeWatchers(true, true);
|
|
1681
|
+
variableCollection.callback(variableCollection.Variables).catch(i1.noop);
|
|
1682
|
+
variableCollection.callback(variableCollection.Actions);
|
|
1683
|
+
}
|
|
1681
1684
|
});
|
|
1682
1685
|
}
|
|
1683
|
-
/**
|
|
1684
|
-
* function to register bind expressions generated in this partial instance
|
|
1685
|
-
* getExpressions function is defined in the generated page.comp.ts file
|
|
1686
|
-
* @param expressions, map of bind expression vs generated function
|
|
1687
|
-
*/
|
|
1688
1686
|
registerExpressions() {
|
|
1689
|
-
//
|
|
1690
|
-
//
|
|
1691
|
-
// registerFnByExpr(expr, fn[0], fn[1]);
|
|
1692
|
-
// });
|
|
1687
|
+
// Intentional no-op: M3 custom widgets don't generate a getExpressions() function like pages/prefabs/partials do;
|
|
1688
|
+
// bind expressions for custom widget props are instead watched in registerPropsInContainerWidget().
|
|
1693
1689
|
}
|
|
1694
1690
|
registerProps() {
|
|
1695
1691
|
this.props = this.containerWidget.props;
|
|
@@ -1707,18 +1703,6 @@
|
|
|
1707
1703
|
this.viewParent.resolveFragment();
|
|
1708
1704
|
}
|
|
1709
1705
|
}
|
|
1710
|
-
loadScripts() {
|
|
1711
|
-
// return new Promise<void>((resolve) => {
|
|
1712
|
-
// const scriptsRequired = this.partialDirective.$element.attr('scripts-to-load');
|
|
1713
|
-
// if (scriptsRequired) {
|
|
1714
|
-
// this.scriptLoaderService
|
|
1715
|
-
// .load(...scriptsRequired.split(','))
|
|
1716
|
-
// .then(resolve);
|
|
1717
|
-
// } else {
|
|
1718
|
-
// resolve();
|
|
1719
|
-
// }
|
|
1720
|
-
// });
|
|
1721
|
-
}
|
|
1722
1706
|
registerPropsInContainerWidget(resolveFn) {
|
|
1723
1707
|
this.customwidgetConfigProvider.getConfig(this.customWidgetName).then((config) => {
|
|
1724
1708
|
if (config) {
|
|
@@ -1747,13 +1731,13 @@
|
|
|
1747
1731
|
});
|
|
1748
1732
|
}
|
|
1749
1733
|
mute() {
|
|
1750
|
-
const m = o => { o
|
|
1734
|
+
const m = o => { o?.mute?.(); };
|
|
1751
1735
|
_.each(this.Widgets, m);
|
|
1752
1736
|
_.each(this.Variables, m);
|
|
1753
1737
|
_.each(this.Actions, m);
|
|
1754
1738
|
}
|
|
1755
1739
|
unmute() {
|
|
1756
|
-
const um = o => { o
|
|
1740
|
+
const um = o => { o?.unmute?.(); };
|
|
1757
1741
|
_.each(this.Widgets, um);
|
|
1758
1742
|
_.each(this.Variables, um);
|
|
1759
1743
|
_.each(this.Actions, um);
|
|
@@ -1766,7 +1750,7 @@
|
|
|
1766
1750
|
this.registerBaseWidget();
|
|
1767
1751
|
setTimeout(() => {
|
|
1768
1752
|
this.viewInit$.complete();
|
|
1769
|
-
this.fragmentsLoaded$.subscribe(
|
|
1753
|
+
this.fragmentsLoaded$.subscribe({ complete: () => this.invokeOnReady() });
|
|
1770
1754
|
}, 100);
|
|
1771
1755
|
}
|
|
1772
1756
|
ngOnDestroy() {
|
|
@@ -1810,24 +1794,24 @@
|
|
|
1810
1794
|
ngOnAttach(refreshData) {
|
|
1811
1795
|
this.unmute();
|
|
1812
1796
|
if (refreshData) {
|
|
1813
|
-
const refresh = v => { v
|
|
1797
|
+
const refresh = v => { v?.startUpdate && v?.invoke?.(); };
|
|
1814
1798
|
_.each(this.Variables, refresh);
|
|
1815
1799
|
_.each(this.Actions, refresh);
|
|
1816
1800
|
}
|
|
1817
|
-
_.each(this.Widgets, w => w
|
|
1801
|
+
_.each(this.Widgets, w => w?.ngOnAttach?.());
|
|
1818
1802
|
}
|
|
1819
1803
|
ngOnDetach() {
|
|
1820
1804
|
this.mute();
|
|
1821
|
-
_.each(this.Widgets, w => w
|
|
1805
|
+
_.each(this.Widgets, w => w?.ngOnDetach?.());
|
|
1822
1806
|
}
|
|
1823
1807
|
// user overrides this
|
|
1824
1808
|
onPropertyChange() { }
|
|
1825
1809
|
onReady(params) {
|
|
1826
1810
|
}
|
|
1827
|
-
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1828
|
-
static { this.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
1811
|
+
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: BaseCustomWidgetComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Directive }); }
|
|
1812
|
+
static { this.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.21", type: BaseCustomWidgetComponent, isStandalone: true, usesInheritance: true, ngImport: i0__namespace }); }
|
|
1829
1813
|
}
|
|
1830
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1814
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: BaseCustomWidgetComponent, decorators: [{
|
|
1831
1815
|
type: i0.Directive
|
|
1832
1816
|
}] });
|
|
1833
1817
|
|
|
@@ -1929,7 +1913,7 @@
|
|
|
1929
1913
|
this.containerWidget[key] = (...args) => {
|
|
1930
1914
|
try {
|
|
1931
1915
|
if (this[key]) {
|
|
1932
|
-
return this[key]
|
|
1916
|
+
return this[key](...args);
|
|
1933
1917
|
}
|
|
1934
1918
|
}
|
|
1935
1919
|
catch (e) {
|
|
@@ -2001,13 +1985,13 @@
|
|
|
2001
1985
|
});
|
|
2002
1986
|
}
|
|
2003
1987
|
mute() {
|
|
2004
|
-
const m = o => { o
|
|
1988
|
+
const m = o => { o?.mute?.(); };
|
|
2005
1989
|
lodashEs.each(this.Widgets, m);
|
|
2006
1990
|
lodashEs.each(this.Variables, m);
|
|
2007
1991
|
lodashEs.each(this.Actions, m);
|
|
2008
1992
|
}
|
|
2009
1993
|
unmute() {
|
|
2010
|
-
const um = o => { o
|
|
1994
|
+
const um = o => { o?.unmute?.(); };
|
|
2011
1995
|
lodashEs.each(this.Widgets, um);
|
|
2012
1996
|
lodashEs.each(this.Variables, um);
|
|
2013
1997
|
lodashEs.each(this.Actions, um);
|
|
@@ -2015,15 +1999,15 @@
|
|
|
2015
1999
|
ngOnAttach(refreshData) {
|
|
2016
2000
|
this.unmute();
|
|
2017
2001
|
if (refreshData) {
|
|
2018
|
-
const refresh = v => { v
|
|
2002
|
+
const refresh = v => { v?.startUpdate && v?.invoke?.(); };
|
|
2019
2003
|
lodashEs.each(this.Variables, refresh);
|
|
2020
2004
|
lodashEs.each(this.Actions, refresh);
|
|
2021
2005
|
}
|
|
2022
|
-
lodashEs.each(this.Widgets, w => w
|
|
2006
|
+
lodashEs.each(this.Widgets, w => w?.ngOnAttach?.());
|
|
2023
2007
|
}
|
|
2024
2008
|
ngOnDetach() {
|
|
2025
2009
|
this.mute();
|
|
2026
|
-
lodashEs.each(this.Widgets, w => w
|
|
2010
|
+
lodashEs.each(this.Widgets, w => w?.ngOnDetach?.());
|
|
2027
2011
|
}
|
|
2028
2012
|
ngAfterViewChecked() {
|
|
2029
2013
|
if (!this.scriptsLoaded && this.prefabContainerDirective) {
|
|
@@ -2063,10 +2047,10 @@
|
|
|
2063
2047
|
// user overrides this
|
|
2064
2048
|
onPropertyChange() { }
|
|
2065
2049
|
onReady() { }
|
|
2066
|
-
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2067
|
-
static { this.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
2050
|
+
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: BasePrefabComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Directive }); }
|
|
2051
|
+
static { this.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.21", type: BasePrefabComponent, isStandalone: true, viewQueries: [{ propertyName: "prefabContainerDirective", first: true, predicate: prefab.PrefabContainerDirective, descendants: true }], usesInheritance: true, ngImport: i0__namespace }); }
|
|
2068
2052
|
}
|
|
2069
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2053
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: BasePrefabComponent, decorators: [{
|
|
2070
2054
|
type: i0.Directive
|
|
2071
2055
|
}], propDecorators: { prefabContainerDirective: [{
|
|
2072
2056
|
type: i0.ViewChild,
|
|
@@ -2130,10 +2114,10 @@
|
|
|
2130
2114
|
//Add page component scope to layout component so that bindings and watchers in the layout will use the page scope
|
|
2131
2115
|
lodashEs.extend(this, pageComponent);
|
|
2132
2116
|
}
|
|
2133
|
-
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2134
|
-
static { this.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
2117
|
+
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: BaseLayoutComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Directive }); }
|
|
2118
|
+
static { this.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.21", type: BaseLayoutComponent, isStandalone: true, viewQueries: [{ propertyName: "routerOutlet", first: true, predicate: i1$1.RouterOutlet, descendants: true }, { propertyName: "pageDirective", first: true, predicate: page.PageDirective, descendants: true }], ngImport: i0__namespace }); }
|
|
2135
2119
|
}
|
|
2136
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2120
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: BaseLayoutComponent, decorators: [{
|
|
2137
2121
|
type: i0.Directive
|
|
2138
2122
|
}], propDecorators: { routerOutlet: [{
|
|
2139
2123
|
type: i0.ViewChild,
|
|
@@ -2236,10 +2220,10 @@
|
|
|
2236
2220
|
}
|
|
2237
2221
|
begin() { }
|
|
2238
2222
|
end() { }
|
|
2239
|
-
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2240
|
-
static { this.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
2223
|
+
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: WMDomRendererFactory2, deps: [{ token: i1$2__namespace.EventManager }, { token: i1$2__namespace.ɵSharedStylesHost }, { token: i0.APP_ID }, { token: i5.DOCUMENT }], target: i0__namespace.ɵɵFactoryTarget.Injectable }); }
|
|
2224
|
+
static { this.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: WMDomRendererFactory2 }); }
|
|
2241
2225
|
}
|
|
2242
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2226
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: WMDomRendererFactory2, decorators: [{
|
|
2243
2227
|
type: i0.Injectable
|
|
2244
2228
|
}], ctorParameters: () => [{ type: i1$2__namespace.EventManager }, { type: i1$2__namespace.ɵSharedStylesHost }, { type: undefined, decorators: [{
|
|
2245
2229
|
type: i0.Inject,
|
|
@@ -2339,14 +2323,12 @@
|
|
|
2339
2323
|
el.setAttribute(name, value);
|
|
2340
2324
|
}
|
|
2341
2325
|
}
|
|
2326
|
+
else if (name === 'style') {
|
|
2327
|
+
this.resetStyles(el);
|
|
2328
|
+
this.applyStyles(el, value);
|
|
2329
|
+
}
|
|
2342
2330
|
else {
|
|
2343
|
-
|
|
2344
|
-
this.resetStyles(el);
|
|
2345
|
-
this.applyStyles(el, value);
|
|
2346
|
-
}
|
|
2347
|
-
else {
|
|
2348
|
-
el.setAttribute(name, value);
|
|
2349
|
-
}
|
|
2331
|
+
el.setAttribute(name, value);
|
|
2350
2332
|
}
|
|
2351
2333
|
}
|
|
2352
2334
|
removeAttribute(el, name, namespace) {
|
|
@@ -2512,10 +2494,10 @@
|
|
|
2512
2494
|
getAllStyles() {
|
|
2513
2495
|
return Array.from(this._stylesSet);
|
|
2514
2496
|
}
|
|
2515
|
-
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2516
|
-
static { this.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
2497
|
+
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: SharedStylesHost, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable }); }
|
|
2498
|
+
static { this.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: SharedStylesHost }); }
|
|
2517
2499
|
}
|
|
2518
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2500
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: SharedStylesHost, decorators: [{
|
|
2519
2501
|
type: i0.Injectable
|
|
2520
2502
|
}] });
|
|
2521
2503
|
class WMDomSharedStylesHost extends SharedStylesHost {
|
|
@@ -2555,10 +2537,10 @@
|
|
|
2555
2537
|
ngOnDestroy() {
|
|
2556
2538
|
this._hostNodes.forEach(styleNodes => styleNodes.forEach(removeStyle));
|
|
2557
2539
|
}
|
|
2558
|
-
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2559
|
-
static { this.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
2540
|
+
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: WMDomSharedStylesHost, deps: [{ token: i5.DOCUMENT }], target: i0__namespace.ɵɵFactoryTarget.Injectable }); }
|
|
2541
|
+
static { this.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: WMDomSharedStylesHost }); }
|
|
2560
2542
|
}
|
|
2561
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2543
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: WMDomSharedStylesHost, decorators: [{
|
|
2562
2544
|
type: i0.Injectable
|
|
2563
2545
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
2564
2546
|
type: i0.Inject,
|
|
@@ -2682,7 +2664,7 @@
|
|
|
2682
2664
|
&& lastPage) {
|
|
2683
2665
|
const $target = lastPage.parent();
|
|
2684
2666
|
const onTransitionEnd = (e) => {
|
|
2685
|
-
if (resolve && !
|
|
2667
|
+
if (resolve && !e?.pseudoElement) {
|
|
2686
2668
|
$target.off('animationend', onTransitionEnd);
|
|
2687
2669
|
$target.removeClass(transition);
|
|
2688
2670
|
$target.children().first().remove();
|
|
@@ -2702,7 +2684,7 @@
|
|
|
2702
2684
|
resolve();
|
|
2703
2685
|
}
|
|
2704
2686
|
}).then(() => {
|
|
2705
|
-
this.$page
|
|
2687
|
+
this.$page?.removeClass('page-entry');
|
|
2706
2688
|
if (lastPage) {
|
|
2707
2689
|
lastPage.remove();
|
|
2708
2690
|
BaseSpaPageComponent.lastPageSnapShot = null;
|
|
@@ -2718,7 +2700,7 @@
|
|
|
2718
2700
|
}
|
|
2719
2701
|
loadScripts() {
|
|
2720
2702
|
return new Promise((resolve) => {
|
|
2721
|
-
const scriptsRequired = this.spaPageDirective
|
|
2703
|
+
const scriptsRequired = this.spaPageDirective?.$element.attr('scripts-to-load');
|
|
2722
2704
|
if (scriptsRequired) {
|
|
2723
2705
|
this.scriptLoaderService
|
|
2724
2706
|
.load(...scriptsRequired.split(','))
|
|
@@ -2848,16 +2830,16 @@
|
|
|
2848
2830
|
onBeforePageLeave() { }
|
|
2849
2831
|
onPageContentReady() { }
|
|
2850
2832
|
canReuse() {
|
|
2851
|
-
return !!(this.spaPageDirective
|
|
2833
|
+
return !!(this.spaPageDirective?.cache);
|
|
2852
2834
|
}
|
|
2853
2835
|
mute() {
|
|
2854
|
-
const m = o => { o
|
|
2836
|
+
const m = o => { o?.mute?.(); };
|
|
2855
2837
|
lodashEs.each(this.Widgets, m);
|
|
2856
2838
|
lodashEs.each(this.Variables, m);
|
|
2857
2839
|
lodashEs.each(this.Actions, m);
|
|
2858
2840
|
}
|
|
2859
2841
|
unmute(c = this) {
|
|
2860
|
-
const um = o => { o
|
|
2842
|
+
const um = o => { o?.unmute?.(); };
|
|
2861
2843
|
lodashEs.each(this.Widgets, um);
|
|
2862
2844
|
lodashEs.each(this.Variables, um);
|
|
2863
2845
|
lodashEs.each(this.Actions, um);
|
|
@@ -2873,14 +2855,14 @@
|
|
|
2873
2855
|
this.unmute();
|
|
2874
2856
|
// expose current page widgets on app
|
|
2875
2857
|
this.App.Widgets = Object.create(this.Widgets);
|
|
2876
|
-
if (this.spaPageDirective
|
|
2877
|
-
const refresh = v => { v
|
|
2858
|
+
if (this.spaPageDirective?.refreshdataonattach) {
|
|
2859
|
+
const refresh = v => { v?.startUpdate && v?.invoke?.(); };
|
|
2878
2860
|
lodashEs.each(this.Variables, refresh);
|
|
2879
2861
|
lodashEs.each(this.Actions, refresh);
|
|
2880
2862
|
}
|
|
2881
2863
|
this.runPageTransition().then(() => {
|
|
2882
2864
|
setTimeout(() => this.restoreScrollPosition(), 100);
|
|
2883
|
-
lodashEs.each(this.Widgets, w => w
|
|
2865
|
+
lodashEs.each(this.Widgets, w => w?.ngOnAttach?.());
|
|
2884
2866
|
this.appManager.notify('pageAttach', { 'name': this.pageName, instance: this });
|
|
2885
2867
|
});
|
|
2886
2868
|
this.appManager.notify('highlightActiveLink', { 'pageName': this.pageName });
|
|
@@ -2889,7 +2871,7 @@
|
|
|
2889
2871
|
this.saveScrollPosition();
|
|
2890
2872
|
this.savePageSnapShot();
|
|
2891
2873
|
this.mute();
|
|
2892
|
-
lodashEs.each(this.Widgets, w => w
|
|
2874
|
+
lodashEs.each(this.Widgets, w => w?.ngOnDetach?.());
|
|
2893
2875
|
this.appManager.notify('pageDetach', { 'name': this.pageName, instance: this });
|
|
2894
2876
|
}
|
|
2895
2877
|
ngAfterContentInit() {
|
|
@@ -2901,10 +2883,10 @@
|
|
|
2901
2883
|
BaseSpaPageComponent.lastPageSnapShot = null;
|
|
2902
2884
|
}
|
|
2903
2885
|
}
|
|
2904
|
-
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2905
|
-
static { this.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
2886
|
+
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: BaseSpaPageComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Directive }); }
|
|
2887
|
+
static { this.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.21", type: BaseSpaPageComponent, isStandalone: true, host: { listeners: { "window:beforeunload": "canDeactivate()" } }, viewQueries: [{ propertyName: "spaPageDirective", first: true, predicate: page.SpaPageDirective, descendants: true }], usesInheritance: true, ngImport: i0__namespace }); }
|
|
2906
2888
|
}
|
|
2907
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2889
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: BaseSpaPageComponent, decorators: [{
|
|
2908
2890
|
type: i0.Directive
|
|
2909
2891
|
}], propDecorators: { spaPageDirective: [{
|
|
2910
2892
|
type: i0.ViewChild,
|
|
@@ -3009,10 +2991,10 @@
|
|
|
3009
2991
|
this.context = null;
|
|
3010
2992
|
}
|
|
3011
2993
|
}
|
|
3012
|
-
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3013
|
-
static { this.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
2994
|
+
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: AccessrolesDirective, deps: [{ token: i0__namespace.TemplateRef }, { token: i0__namespace.ViewContainerRef }, { token: i2__namespace.SecurityService }, { token: i0__namespace.Injector }, { token: 'EXPLICIT_CONTEXT', optional: true }], target: i0__namespace.ɵɵFactoryTarget.Directive }); }
|
|
2995
|
+
static { this.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.21", type: AccessrolesDirective, isStandalone: true, selector: "[accessroles]", inputs: { accessroles: "accessroles" }, ngImport: i0__namespace }); }
|
|
3014
2996
|
}
|
|
3015
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2997
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: AccessrolesDirective, decorators: [{
|
|
3016
2998
|
type: i0.Directive,
|
|
3017
2999
|
args: [{
|
|
3018
3000
|
standalone: true,
|
|
@@ -3029,8 +3011,8 @@
|
|
|
3029
3011
|
|
|
3030
3012
|
class AppSpinnerComponent {
|
|
3031
3013
|
constructor() { }
|
|
3032
|
-
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3033
|
-
static { this.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
3014
|
+
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: AppSpinnerComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component }); }
|
|
3015
|
+
static { this.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.21", type: AppSpinnerComponent, isStandalone: true, selector: "app-spinner", inputs: { show: "show", spinnermessages: "spinnermessages", classname: "classname", arialabel: "arialabel" }, ngImport: i0__namespace, template: `
|
|
3034
3016
|
@if (show) {
|
|
3035
3017
|
<div class="app-spinner" [ngClass]="classname">
|
|
3036
3018
|
<div class="spinner-message">
|
|
@@ -3045,7 +3027,7 @@
|
|
|
3045
3027
|
}
|
|
3046
3028
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: i5.CommonModule }, { kind: "directive", type: i5__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: base.TextContentDirective, selector: "[textContent]", inputs: ["textContent"] }] }); }
|
|
3047
3029
|
}
|
|
3048
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3030
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: AppSpinnerComponent, decorators: [{
|
|
3049
3031
|
type: i0.Component,
|
|
3050
3032
|
args: [{
|
|
3051
3033
|
standalone: true,
|
|
@@ -3114,8 +3096,8 @@
|
|
|
3114
3096
|
lodashEs.forEach(this.watchers, watcher => watcher());
|
|
3115
3097
|
super.ngOnDestroy();
|
|
3116
3098
|
}
|
|
3117
|
-
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3118
|
-
static { this.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
3099
|
+
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: CustomToasterComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component }); }
|
|
3100
|
+
static { this.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.21", type: CustomToasterComponent, isStandalone: true, selector: "[custom-toaster-component]", viewQueries: [{ propertyName: "customToastRef", first: true, predicate: ["customToast"], descendants: true, read: i0.ViewContainerRef, static: true }, { propertyName: "customToastTmpl", first: true, predicate: ["customToastTmpl"], descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: `
|
|
3119
3101
|
<div class="parent-custom-toast"></div>
|
|
3120
3102
|
<ng-container #customToast></ng-container>
|
|
3121
3103
|
<ng-template #customToastTmpl>
|
|
@@ -3127,7 +3109,7 @@
|
|
|
3127
3109
|
</div>
|
|
3128
3110
|
</ng-template>`, isInline: true, dependencies: [{ kind: "ngmodule", type: i5.CommonModule }, { kind: "directive", type: base.ContainerDirective, selector: "[wmContainer]" }, { kind: "directive", type: base.PartialParamHandlerDirective, selector: "[partialContainer]" }, { kind: "directive", type: base.PartialContainerDirective, selector: "[partialContainer]" }, { kind: "directive", type: base.PartialParamDirective, selector: "[wmParam]", inputs: ["name", "value"] }, { kind: "pipe", type: i5__namespace.KeyValuePipe, name: "keyvalue" }] }); }
|
|
3129
3111
|
}
|
|
3130
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3112
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: CustomToasterComponent, decorators: [{
|
|
3131
3113
|
type: i0.Component,
|
|
3132
3114
|
args: [{
|
|
3133
3115
|
standalone: true,
|
|
@@ -3198,10 +3180,10 @@
|
|
|
3198
3180
|
this.appManger.postAppTypeInfo();
|
|
3199
3181
|
}
|
|
3200
3182
|
}
|
|
3201
|
-
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3202
|
-
static { this.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
3183
|
+
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: EmptyPageComponent, deps: [{ token: i1$1__namespace.ActivatedRoute }, { token: i2__namespace.SecurityService }, { token: i1$1__namespace.Router }, { token: i1__namespace.App }, { token: AppManagerService }], target: i0__namespace.ɵɵFactoryTarget.Component }); }
|
|
3184
|
+
static { this.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.21", type: EmptyPageComponent, isStandalone: true, selector: "app-empty-page", ngImport: i0__namespace, template: '<div></div>', isInline: true }); }
|
|
3203
3185
|
}
|
|
3204
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3186
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: EmptyPageComponent, decorators: [{
|
|
3205
3187
|
type: i0.Component,
|
|
3206
3188
|
args: [{
|
|
3207
3189
|
standalone: true,
|
|
@@ -3319,10 +3301,10 @@
|
|
|
3319
3301
|
return new ref(...args);
|
|
3320
3302
|
}
|
|
3321
3303
|
}
|
|
3322
|
-
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3323
|
-
static { this.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
3304
|
+
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: PipeProvider, deps: [{ token: i0__namespace.Compiler }, { token: i0__namespace.Injector }, { token: i1$2__namespace.DomSanitizer }, { token: i1__namespace.AbstractI18nService }], target: i0__namespace.ɵɵFactoryTarget.Injectable }); }
|
|
3305
|
+
static { this.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: PipeProvider, providedIn: 'root' }); }
|
|
3324
3306
|
}
|
|
3325
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3307
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: PipeProvider, decorators: [{
|
|
3326
3308
|
type: i0.Injectable,
|
|
3327
3309
|
args: [{
|
|
3328
3310
|
providedIn: 'root'
|
|
@@ -3348,10 +3330,10 @@
|
|
|
3348
3330
|
throw Error(`The pipe '${name}' could not be found`);
|
|
3349
3331
|
}
|
|
3350
3332
|
}
|
|
3351
|
-
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3352
|
-
static { this.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
3333
|
+
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: PipeService, deps: [{ token: PipeProvider }, { token: i1__namespace.App }], target: i0__namespace.ɵɵFactoryTarget.Injectable }); }
|
|
3334
|
+
static { this.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: PipeService, providedIn: 'root' }); }
|
|
3353
3335
|
}
|
|
3354
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3336
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: PipeService, decorators: [{
|
|
3355
3337
|
type: i0.Injectable,
|
|
3356
3338
|
args: [{ providedIn: 'root' }]
|
|
3357
3339
|
}], ctorParameters: () => [{ type: PipeProvider }, { type: i1__namespace.App }] });
|
|
@@ -3378,7 +3360,7 @@
|
|
|
3378
3360
|
const httpService = this.httpService;
|
|
3379
3361
|
const fn = function (key, options) {
|
|
3380
3362
|
const args = Array.from(arguments).slice(1);
|
|
3381
|
-
return Promise.resolve(httpService[key]
|
|
3363
|
+
return Promise.resolve(httpService[key](...args));
|
|
3382
3364
|
};
|
|
3383
3365
|
const $http = function () {
|
|
3384
3366
|
return fn.apply(undefined, ['send', ...Array.from(arguments)]);
|
|
@@ -3432,7 +3414,7 @@
|
|
|
3432
3414
|
}
|
|
3433
3415
|
}
|
|
3434
3416
|
notify(eventName, ...data) {
|
|
3435
|
-
this._eventNotifier.notify
|
|
3417
|
+
this._eventNotifier.notify(eventName, ...data);
|
|
3436
3418
|
}
|
|
3437
3419
|
importModule(moduleName) {
|
|
3438
3420
|
if (moduleName === 'moment') {
|
|
@@ -3568,10 +3550,10 @@
|
|
|
3568
3550
|
this.modes = null;
|
|
3569
3551
|
this.dynamicComponentContainerRef = null;
|
|
3570
3552
|
}
|
|
3571
|
-
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3572
|
-
static { this.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
3553
|
+
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: AppRef, deps: [{ token: i0__namespace.Injector }, { token: i1__namespace.AbstractI18nService }, { token: i1__namespace.StatePersistence }, { token: i1__namespace.AbstractHttpService }, { token: i2__namespace.SecurityService }, { token: i1$1__namespace.RouteReuseStrategy }], target: i0__namespace.ɵɵFactoryTarget.Injectable }); }
|
|
3554
|
+
static { this.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: AppRef }); }
|
|
3573
3555
|
}
|
|
3574
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3556
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: AppRef, decorators: [{
|
|
3575
3557
|
type: i0.Injectable
|
|
3576
3558
|
}], ctorParameters: () => [{ type: i0__namespace.Injector }, { type: i1__namespace.AbstractI18nService }, { type: i1__namespace.StatePersistence }, { type: i1__namespace.AbstractHttpService }, { type: i2__namespace.SecurityService }, { type: i1$1__namespace.RouteReuseStrategy }] });
|
|
3577
3559
|
|
|
@@ -3651,10 +3633,10 @@
|
|
|
3651
3633
|
console.warn('Please pass a valid options object, For Example : {maxOpened: 1, autoDismiss: true}');
|
|
3652
3634
|
}
|
|
3653
3635
|
}
|
|
3654
|
-
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3655
|
-
static { this.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
3636
|
+
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: ToasterServiceImpl, deps: [{ token: i1$3__namespace.ToastrService }], target: i0__namespace.ɵɵFactoryTarget.Injectable }); }
|
|
3637
|
+
static { this.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: ToasterServiceImpl }); }
|
|
3656
3638
|
}
|
|
3657
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3639
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: ToasterServiceImpl, decorators: [{
|
|
3658
3640
|
type: i0.Injectable
|
|
3659
3641
|
}], ctorParameters: () => [{ type: i1$3__namespace.ToastrService }] });
|
|
3660
3642
|
|
|
@@ -3760,7 +3742,7 @@
|
|
|
3760
3742
|
// For ngx bootstrap locale, get the config from script and apply locale
|
|
3761
3743
|
// moment.localeData(momentLocale) will return moment locale instance. _config inside will have actual config
|
|
3762
3744
|
let _config = moment.localeData(momentLocale);
|
|
3763
|
-
_config = _config
|
|
3745
|
+
_config = _config?._config;
|
|
3764
3746
|
chronos.defineLocale(this.selectedLocale, _config);
|
|
3765
3747
|
this.bsLocaleService.use(this.getSelectedLocale() || this.defaultSupportedLocale);
|
|
3766
3748
|
this.bundleLoaded.moment = true;
|
|
@@ -3808,29 +3790,26 @@
|
|
|
3808
3790
|
return Promise.all(promises);
|
|
3809
3791
|
}
|
|
3810
3792
|
setTimezone(locale, compInstance) {
|
|
3811
|
-
|
|
3812
|
-
|
|
3813
|
-
|
|
3814
|
-
|
|
3815
|
-
|
|
3816
|
-
|
|
3817
|
-
|
|
3818
|
-
|
|
3819
|
-
|
|
3820
|
-
if (localeIndex >
|
|
3821
|
-
|
|
3822
|
-
locale = locale.substr(localeIndex);
|
|
3823
|
-
}
|
|
3824
|
-
localeObj['timezone'] = lodashEs.find(moment.tz.names(), (timezoneName) => {
|
|
3825
|
-
return locale === moment.tz(timezoneName).format('Z');
|
|
3826
|
-
});
|
|
3793
|
+
this.loadMomentTimeZoneBundle().then(() => {
|
|
3794
|
+
/**
|
|
3795
|
+
* If locale is provided in the form of offset and not timezone name, deduce the name.
|
|
3796
|
+
* If locale is provided as GMT+9, name will be deduced as Asia/Tokyo
|
|
3797
|
+
*/
|
|
3798
|
+
let localeObj = locale;
|
|
3799
|
+
locale = localeObj['timezone'];
|
|
3800
|
+
const localeIndex = locale.indexOf('+');
|
|
3801
|
+
if (localeIndex > -1) {
|
|
3802
|
+
if (localeIndex > 0) {
|
|
3803
|
+
locale = locale.substr(localeIndex);
|
|
3827
3804
|
}
|
|
3828
|
-
moment.tz.
|
|
3829
|
-
|
|
3830
|
-
|
|
3831
|
-
|
|
3832
|
-
|
|
3833
|
-
|
|
3805
|
+
localeObj['timezone'] = lodashEs.find(moment.tz.names(), (timezoneName) => {
|
|
3806
|
+
return locale === moment.tz(timezoneName).format('Z');
|
|
3807
|
+
});
|
|
3808
|
+
}
|
|
3809
|
+
moment.tz.setDefault(locale);
|
|
3810
|
+
const localeData = compInstance?.formatsByLocale ? compInstance.formatsByLocale : this.formatsByLocale;
|
|
3811
|
+
Object.assign(localeData, localeObj);
|
|
3812
|
+
}, () => { });
|
|
3834
3813
|
}
|
|
3835
3814
|
setTimezoneEarly() {
|
|
3836
3815
|
return this.loadMomentTimeZoneBundle();
|
|
@@ -3892,7 +3871,7 @@
|
|
|
3892
3871
|
preferBrowserLang = true;
|
|
3893
3872
|
}
|
|
3894
3873
|
else { // convert stringified boolean values recieved from BE to booleans
|
|
3895
|
-
preferBrowserLang = (preferBrowserLang === 'true' || preferBrowserLang === true)
|
|
3874
|
+
preferBrowserLang = (preferBrowserLang === 'true' || preferBrowserLang === true);
|
|
3896
3875
|
}
|
|
3897
3876
|
let _supportedLang = Object.keys(i1.getWmProjectProperties().supportedLanguages) || [this.defaultSupportedLocale];
|
|
3898
3877
|
// when preference is given to browser set languages, do not populate _selectedDefaultLang variable
|
|
@@ -3949,10 +3928,10 @@
|
|
|
3949
3928
|
i1.$appDigest(true);
|
|
3950
3929
|
}
|
|
3951
3930
|
}
|
|
3952
|
-
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3953
|
-
static { this.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
3931
|
+
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: I18nServiceImpl, deps: [{ token: i1$4__namespace.HttpClient }, { token: i2$1__namespace.BsLocaleService }, { token: i1__namespace.AppDefaults }, { token: i0__namespace.Injector }], target: i0__namespace.ɵɵFactoryTarget.Injectable }); }
|
|
3932
|
+
static { this.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: I18nServiceImpl }); }
|
|
3954
3933
|
}
|
|
3955
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3934
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: I18nServiceImpl, decorators: [{
|
|
3956
3935
|
type: i0.Injectable
|
|
3957
3936
|
}], ctorParameters: () => [{ type: i1$4__namespace.HttpClient }, { type: i2$1__namespace.BsLocaleService }, { type: i1__namespace.AppDefaults }, { type: i0__namespace.Injector }] });
|
|
3958
3937
|
|
|
@@ -4088,10 +4067,10 @@
|
|
|
4088
4067
|
this.messagesByContext = null;
|
|
4089
4068
|
}
|
|
4090
4069
|
}
|
|
4091
|
-
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4092
|
-
static { this.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
4070
|
+
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: SpinnerServiceImpl, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable }); }
|
|
4071
|
+
static { this.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: SpinnerServiceImpl }); }
|
|
4093
4072
|
}
|
|
4094
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4073
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: SpinnerServiceImpl, decorators: [{
|
|
4095
4074
|
type: i0.Injectable
|
|
4096
4075
|
}], ctorParameters: () => [] });
|
|
4097
4076
|
|
|
@@ -4195,47 +4174,46 @@
|
|
|
4195
4174
|
const transition = options.transition || '';
|
|
4196
4175
|
const $event = options.$event;
|
|
4197
4176
|
const activePage = this.app.activePage;
|
|
4198
|
-
const prefabName = variable
|
|
4177
|
+
const prefabName = variable?._context?.prefabName;
|
|
4199
4178
|
// Check if app is Prefab
|
|
4200
4179
|
if (this.app.isPrefabType) {
|
|
4201
4180
|
this.goToElementView($(parentSelector).find('[name="' + viewName + '"]'), viewName, pageName, variable);
|
|
4202
4181
|
}
|
|
4203
|
-
else
|
|
4204
|
-
|
|
4205
|
-
|
|
4206
|
-
|
|
4207
|
-
|
|
4208
|
-
|
|
4209
|
-
|
|
4210
|
-
}
|
|
4211
|
-
else {
|
|
4212
|
-
// Todo[Shubham]: Make an API call to get all pages and check if the page name
|
|
4213
|
-
// is a page and then do this call else show an error as:
|
|
4214
|
-
// this.app.notifyApp(CONSTANTS.WIDGET_DOESNT_EXIST, 'error');
|
|
4215
|
-
this.goToPage(pageName, {
|
|
4216
|
-
viewName: viewName,
|
|
4217
|
-
$event: $event,
|
|
4218
|
-
transition: transition,
|
|
4219
|
-
urlParams: options.urlParams
|
|
4220
|
-
});
|
|
4221
|
-
// subscribe to an event named pageReady which notifies this subscriber
|
|
4222
|
-
// when all widgets in page are loaded i.e when page is ready
|
|
4223
|
-
const pageReadySubscriber = this.app.subscribe('pageReady', (page) => {
|
|
4224
|
-
this.goToElementView($(parentSelector).find('[name="' + viewName + '"]'), viewName, pageName, variable);
|
|
4225
|
-
pageReadySubscriber();
|
|
4226
|
-
});
|
|
4227
|
-
}
|
|
4228
|
-
}
|
|
4229
|
-
else if (prefabName && this.isPrefabWithNameExists(prefabName)) {
|
|
4230
|
-
this.goToElementView($('[prefabName="' + prefabName + '"]').find('[name="' + viewName + '"]'), viewName, pageName, variable);
|
|
4231
|
-
}
|
|
4232
|
-
else if (!pageName || pageName === activePage.activePageName) {
|
|
4233
|
-
this.goToElementView($(parentSelector).find('[name="' + viewName + '"]'), viewName, pageName, variable);
|
|
4182
|
+
else
|
|
4183
|
+
// checking if the element is present in the page or not, if no show an error toaster
|
|
4184
|
+
// if yes check if it is inside a partial/prefab in the page and then highlight the respective element
|
|
4185
|
+
// else goto the page in which the element exists and highlight the element
|
|
4186
|
+
if (pageName !== activePage.activePageName && !prefabName) {
|
|
4187
|
+
if (this.isPartialWithNameExists(pageName)) {
|
|
4188
|
+
this.goToElementView($('[partialcontainer][content="' + pageName + '"]').find('[name="' + viewName + '"]'), viewName, pageName, variable);
|
|
4234
4189
|
}
|
|
4235
4190
|
else {
|
|
4236
|
-
|
|
4191
|
+
// Todo[Shubham]: Make an API call to get all pages and check if the page name
|
|
4192
|
+
// is a page and then do this call else show an error as:
|
|
4193
|
+
// this.app.notifyApp(CONSTANTS.WIDGET_DOESNT_EXIST, 'error');
|
|
4194
|
+
this.goToPage(pageName, {
|
|
4195
|
+
viewName: viewName,
|
|
4196
|
+
$event: $event,
|
|
4197
|
+
transition: transition,
|
|
4198
|
+
urlParams: options.urlParams
|
|
4199
|
+
});
|
|
4200
|
+
// subscribe to an event named pageReady which notifies this subscriber
|
|
4201
|
+
// when all widgets in page are loaded i.e when page is ready
|
|
4202
|
+
const pageReadySubscriber = this.app.subscribe('pageReady', (page) => {
|
|
4203
|
+
this.goToElementView($(parentSelector).find('[name="' + viewName + '"]'), viewName, pageName, variable);
|
|
4204
|
+
pageReadySubscriber();
|
|
4205
|
+
});
|
|
4237
4206
|
}
|
|
4238
4207
|
}
|
|
4208
|
+
else if (prefabName && this.isPrefabWithNameExists(prefabName)) {
|
|
4209
|
+
this.goToElementView($('[prefabName="' + prefabName + '"]').find('[name="' + viewName + '"]'), viewName, pageName, variable);
|
|
4210
|
+
}
|
|
4211
|
+
else if (!pageName || pageName === activePage.activePageName) {
|
|
4212
|
+
this.goToElementView($(parentSelector).find('[name="' + viewName + '"]'), viewName, pageName, variable);
|
|
4213
|
+
}
|
|
4214
|
+
else {
|
|
4215
|
+
this.app.notifyApp(i4.CONSTANTS.WIDGET_DOESNT_EXIST, 'error');
|
|
4216
|
+
}
|
|
4239
4217
|
}
|
|
4240
4218
|
/*
|
|
4241
4219
|
* navigates the user to a view element with given name
|
|
@@ -4349,10 +4327,10 @@
|
|
|
4349
4327
|
});
|
|
4350
4328
|
return dialogId;
|
|
4351
4329
|
}
|
|
4352
|
-
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4353
|
-
static { this.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
4330
|
+
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: NavigationServiceImpl, deps: [{ token: i1__namespace.App }, { token: i1$1__namespace.Router }, { token: i0__namespace.NgZone }], target: i0__namespace.ɵɵFactoryTarget.Injectable }); }
|
|
4331
|
+
static { this.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: NavigationServiceImpl }); }
|
|
4354
4332
|
}
|
|
4355
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4333
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: NavigationServiceImpl, decorators: [{
|
|
4356
4334
|
type: i0.Injectable
|
|
4357
4335
|
}], ctorParameters: () => [{ type: i1__namespace.App }, { type: i1$1__namespace.Router }, { type: i0__namespace.NgZone }] });
|
|
4358
4336
|
class PageInfo {
|
|
@@ -4407,10 +4385,10 @@
|
|
|
4407
4385
|
this.dateTimeFormat = dateTimeFormat;
|
|
4408
4386
|
this.currencyCode = currency;
|
|
4409
4387
|
}
|
|
4410
|
-
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4411
|
-
static { this.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
4388
|
+
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: AppDefaultsService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable }); }
|
|
4389
|
+
static { this.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: AppDefaultsService }); }
|
|
4412
4390
|
}
|
|
4413
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4391
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: AppDefaultsService, decorators: [{
|
|
4414
4392
|
type: i0.Injectable
|
|
4415
4393
|
}], ctorParameters: () => [] });
|
|
4416
4394
|
|
|
@@ -4444,10 +4422,10 @@
|
|
|
4444
4422
|
return Promise.resolve(false);
|
|
4445
4423
|
});
|
|
4446
4424
|
}
|
|
4447
|
-
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4448
|
-
static { this.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
4425
|
+
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: AuthGuard, deps: [{ token: i2__namespace.SecurityService }, { token: AppManagerService }], target: i0__namespace.ɵɵFactoryTarget.Injectable }); }
|
|
4426
|
+
static { this.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: AuthGuard }); }
|
|
4449
4427
|
}
|
|
4450
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4428
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: AuthGuard, decorators: [{
|
|
4451
4429
|
type: i0.Injectable
|
|
4452
4430
|
}], ctorParameters: () => [{ type: i2__namespace.SecurityService }, { type: AppManagerService }] });
|
|
4453
4431
|
|
|
@@ -4480,10 +4458,10 @@
|
|
|
4480
4458
|
}
|
|
4481
4459
|
});
|
|
4482
4460
|
}
|
|
4483
|
-
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4484
|
-
static { this.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
4461
|
+
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: RoleGuard, deps: [{ token: i2__namespace.SecurityService }, { token: AuthGuard }, { token: i1__namespace.AbstractToasterService }, { token: i1__namespace.App }, { token: AppManagerService }], target: i0__namespace.ɵɵFactoryTarget.Injectable }); }
|
|
4462
|
+
static { this.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: RoleGuard }); }
|
|
4485
4463
|
}
|
|
4486
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4464
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: RoleGuard, decorators: [{
|
|
4487
4465
|
type: i0.Injectable
|
|
4488
4466
|
}], ctorParameters: () => [{ type: i2__namespace.SecurityService }, { type: AuthGuard }, { type: i1__namespace.AbstractToasterService }, { type: i1__namespace.App }, { type: AppManagerService }] });
|
|
4489
4467
|
|
|
@@ -4496,10 +4474,10 @@
|
|
|
4496
4474
|
this.appManager.notifyApp(this.app.appLocale.MESSAGE_PAGE_NOT_FOUND || 'The page you are trying to reach is not available', 'error');
|
|
4497
4475
|
return Promise.resolve(false);
|
|
4498
4476
|
}
|
|
4499
|
-
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4500
|
-
static { this.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
4477
|
+
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: PageNotFoundGuard, deps: [{ token: i1__namespace.App }, { token: AppManagerService }], target: i0__namespace.ɵɵFactoryTarget.Injectable }); }
|
|
4478
|
+
static { this.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: PageNotFoundGuard }); }
|
|
4501
4479
|
}
|
|
4502
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4480
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: PageNotFoundGuard, decorators: [{
|
|
4503
4481
|
type: i0.Injectable
|
|
4504
4482
|
}], ctorParameters: () => [{ type: i1__namespace.App }, { type: AppManagerService }] });
|
|
4505
4483
|
|
|
@@ -4528,10 +4506,10 @@
|
|
|
4528
4506
|
appJsLoaded$1 = true;
|
|
4529
4507
|
return true;
|
|
4530
4508
|
}
|
|
4531
|
-
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4532
|
-
static { this.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
4509
|
+
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: AppJSResolve, deps: [{ token: i0__namespace.Injector }, { token: i1__namespace.App }, { token: i1__namespace.UtilsService }, { token: AppJSProvider }], target: i0__namespace.ɵɵFactoryTarget.Injectable }); }
|
|
4510
|
+
static { this.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: AppJSResolve }); }
|
|
4533
4511
|
}
|
|
4534
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4512
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: AppJSResolve, decorators: [{
|
|
4535
4513
|
type: i0.Injectable
|
|
4536
4514
|
}], ctorParameters: () => [{ type: i0__namespace.Injector }, { type: i1__namespace.App }, { type: i1__namespace.UtilsService }, { type: AppJSProvider }] });
|
|
4537
4515
|
|
|
@@ -4568,10 +4546,10 @@
|
|
|
4568
4546
|
console.warn('Error in reading formatters.js', e);
|
|
4569
4547
|
}
|
|
4570
4548
|
}
|
|
4571
|
-
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4572
|
-
static { this.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
4549
|
+
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: AppExtensionJSResolve, deps: [{ token: AppManagerService }, { token: AppExtensionProvider }, { token: i1__namespace.CustomPipeManager }], target: i0__namespace.ɵɵFactoryTarget.Injectable }); }
|
|
4550
|
+
static { this.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: AppExtensionJSResolve }); }
|
|
4573
4551
|
}
|
|
4574
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4552
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: AppExtensionJSResolve, decorators: [{
|
|
4575
4553
|
type: i0.Injectable
|
|
4576
4554
|
}], ctorParameters: () => [{ type: AppManagerService }, { type: AppExtensionProvider }, { type: i1__namespace.CustomPipeManager }] });
|
|
4577
4555
|
|
|
@@ -4582,10 +4560,10 @@
|
|
|
4582
4560
|
resolve() {
|
|
4583
4561
|
return this.i18nService.loadDefaultLocale();
|
|
4584
4562
|
}
|
|
4585
|
-
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4586
|
-
static { this.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
4563
|
+
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: I18nResolve, deps: [{ token: i1__namespace.AbstractI18nService }], target: i0__namespace.ɵɵFactoryTarget.Injectable }); }
|
|
4564
|
+
static { this.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: I18nResolve }); }
|
|
4587
4565
|
}
|
|
4588
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4566
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: I18nResolve, decorators: [{
|
|
4589
4567
|
type: i0.Injectable
|
|
4590
4568
|
}], ctorParameters: () => [{ type: i1__namespace.AbstractI18nService }] });
|
|
4591
4569
|
|
|
@@ -4651,7 +4629,7 @@
|
|
|
4651
4629
|
this.app.activeLayoutName = '';
|
|
4652
4630
|
this.app.layoutPages = [];
|
|
4653
4631
|
}
|
|
4654
|
-
if (this.app.activeLayoutName && this.app.layoutPages
|
|
4632
|
+
if (this.app.activeLayoutName && this.app.layoutPages?.length && this.app.layoutPages.includes(page)) {
|
|
4655
4633
|
spinnerId = this.spinnerService.show('', 'wmRouterOutlet', '', 'wmRouterOutlet');
|
|
4656
4634
|
}
|
|
4657
4635
|
else {
|
|
@@ -4768,10 +4746,10 @@
|
|
|
4768
4746
|
this.navigationEndSubscription.unsubscribe();
|
|
4769
4747
|
}
|
|
4770
4748
|
}
|
|
4771
|
-
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4772
|
-
static { this.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
4749
|
+
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: AppComponent, deps: [{ token: PipeProvider }, { token: i0__namespace.ApplicationRef }, { token: i0__namespace.ElementRef }, { token: i2$2__namespace.OAuthService }, { token: i1__namespace.AbstractDialogService }, { token: i1__namespace.AbstractSpinnerService }, { token: i0__namespace.NgZone }, { token: i1$1__namespace.Router }, { token: i1__namespace.App }, { token: AppManagerService }, { token: i1__namespace.CustomIconsLoaderService }], target: i0__namespace.ɵɵFactoryTarget.Component }); }
|
|
4750
|
+
static { this.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.21", type: AppComponent, isStandalone: true, selector: "app-root", viewQueries: [{ propertyName: "routerOutlet", first: true, predicate: i1$1.RouterOutlet, descendants: true }, { propertyName: "dynamicComponentContainerRef", first: true, predicate: ["dynamicComponent"], descendants: true, read: i0.ViewContainerRef }], ngImport: i0__namespace, template: "@if (startApp) {\n @if(enableSkipToMainContent) {\n <div id=\"app-focus-start\" tabindex=\"-1\"></div>\n <a href=\"javascript:void(0);\" class=\"skip\" (click)=\"skipToAppContent($event)\">{{appLocale.LABEL_SKIP_TO_MAIN_CONTENT || 'Skip to main content'}}</a>\n }\n <router-outlet></router-outlet>\n @if (isApplicationType) {\n <div wmContainer partialContainer content=\"Common\" hidden class=\"ng-hide\"></div>\n }\n <app-spinner name=\"globalspinner\" classname=\"global-spinner\" role=\"alert\" aria-live=\"assertive\" [attr.aria-label]=\"spinner.arialabel || 'Loading'\" [show]=\"spinner.show\" [spinnermessages]=\"spinner.messages\"></app-spinner>\n <div wmDialog name=\"oAuthLoginDialog\" title=\"Application is requesting you to sign in with\"\n close.event=\"closeOAuthDialog()\">\n <ng-template #dialogBody>\n <ul class=\"list-items\">\n @for (provider of providersConfig; track provider) {\n <li class=\"list-item\">\n <button class=\"btn\" (click)=\"provider.invoke()\">{{provider.name}}</button>\n </li>\n }\n </ul>\n </ng-template>\n </div>\n <div wmConfirmDialog name=\"_app-confirm-dialog\" title.bind=\"title\" message.bind=\"message\" oktext.bind=\"oktext\"\n canceltext.bind=\"canceltext\" closable=\"false\" iconclass.bind=\"iconclass\"\n escape.event=\"onEscape()\" ok.event=\"onOk()\" cancel.event=\"onCancel()\" close.event=\"onClose()\" opened.event=\"onOpen()\"></div>\n @if (!isApplicationType) {\n <div wmConfirmDialog name=\"PrefabConfirmDialog\" title.bind=\"title\" message.bind=\"text\" oktext.bind=\"okButtonText\"\n canceltext.bind=\"cancelButtonText\" closable=\"false\" iconclass.bind=\"iconclass\"\n escape.event=\"onEscape()\" ok.event=\"onOk()\" cancel.event=\"onCancel()\" close.event=\"onClose()\" opened.event=\"onOpen()\"></div>\n }\n @if (!isApplicationType) {\n <div wmAlertDialog name=\"PrefabAlertDialog\" title.bind=\"title\" message.bind=\"text\" oktext.bind=\"okButtonText\"\n canceltext.bind=\"cancelButtonText\" closable=\"false\" iconclass.bind=\"iconclass\"\n escape.event=\"onEscape()\" ok.event=\"onOk()\" cancel.event=\"onCancel()\" close.event=\"onClose()\" opened.event=\"onOpen()\"></div>\n }\n <div wmAppExt></div>\n <i id=\"wm-mobile-display\"></i>\n}\n<!--Dummy container to create the component dynamically-->\n<ng-container #dynamicComponent></ng-container>\n", dependencies: [{ kind: "ngmodule", type: i5.CommonModule }, { kind: "directive", type: i1$1.RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "component", type: alertDialog.AlertDialogComponent, selector: "div[wmAlertDialog]" }, { kind: "component", type: confirmDialog.ConfirmDialogComponent, selector: "div[wmConfirmDialog]" }, { kind: "component", type: designDialog.DialogComponent, selector: "div[wmDialog]" }, { kind: "component", type: AppSpinnerComponent, selector: "app-spinner", inputs: ["show", "spinnermessages", "classname", "arialabel"] }, { kind: "directive", type: base.ContainerDirective, selector: "[wmContainer]" }, { kind: "directive", type: base.PartialParamHandlerDirective, selector: "[partialContainer]" }, { kind: "directive", type: base.PartialContainerDirective, selector: "[partialContainer]" }], encapsulation: i0__namespace.ViewEncapsulation.None }); }
|
|
4773
4751
|
}
|
|
4774
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4752
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: AppComponent, decorators: [{
|
|
4775
4753
|
type: i0.Component,
|
|
4776
4754
|
args: [{ standalone: true, imports: [i5.CommonModule, i1$1.RouterOutlet, alertDialog.AlertDialogComponent, confirmDialog.ConfirmDialogComponent, designDialog.DialogComponent, AppSpinnerComponent, base.ContainerDirective, base.PartialParamHandlerDirective, base.PartialContainerDirective], selector: 'app-root', encapsulation: i0.ViewEncapsulation.None, template: "@if (startApp) {\n @if(enableSkipToMainContent) {\n <div id=\"app-focus-start\" tabindex=\"-1\"></div>\n <a href=\"javascript:void(0);\" class=\"skip\" (click)=\"skipToAppContent($event)\">{{appLocale.LABEL_SKIP_TO_MAIN_CONTENT || 'Skip to main content'}}</a>\n }\n <router-outlet></router-outlet>\n @if (isApplicationType) {\n <div wmContainer partialContainer content=\"Common\" hidden class=\"ng-hide\"></div>\n }\n <app-spinner name=\"globalspinner\" classname=\"global-spinner\" role=\"alert\" aria-live=\"assertive\" [attr.aria-label]=\"spinner.arialabel || 'Loading'\" [show]=\"spinner.show\" [spinnermessages]=\"spinner.messages\"></app-spinner>\n <div wmDialog name=\"oAuthLoginDialog\" title=\"Application is requesting you to sign in with\"\n close.event=\"closeOAuthDialog()\">\n <ng-template #dialogBody>\n <ul class=\"list-items\">\n @for (provider of providersConfig; track provider) {\n <li class=\"list-item\">\n <button class=\"btn\" (click)=\"provider.invoke()\">{{provider.name}}</button>\n </li>\n }\n </ul>\n </ng-template>\n </div>\n <div wmConfirmDialog name=\"_app-confirm-dialog\" title.bind=\"title\" message.bind=\"message\" oktext.bind=\"oktext\"\n canceltext.bind=\"canceltext\" closable=\"false\" iconclass.bind=\"iconclass\"\n escape.event=\"onEscape()\" ok.event=\"onOk()\" cancel.event=\"onCancel()\" close.event=\"onClose()\" opened.event=\"onOpen()\"></div>\n @if (!isApplicationType) {\n <div wmConfirmDialog name=\"PrefabConfirmDialog\" title.bind=\"title\" message.bind=\"text\" oktext.bind=\"okButtonText\"\n canceltext.bind=\"cancelButtonText\" closable=\"false\" iconclass.bind=\"iconclass\"\n escape.event=\"onEscape()\" ok.event=\"onOk()\" cancel.event=\"onCancel()\" close.event=\"onClose()\" opened.event=\"onOpen()\"></div>\n }\n @if (!isApplicationType) {\n <div wmAlertDialog name=\"PrefabAlertDialog\" title.bind=\"title\" message.bind=\"text\" oktext.bind=\"okButtonText\"\n canceltext.bind=\"cancelButtonText\" closable=\"false\" iconclass.bind=\"iconclass\"\n escape.event=\"onEscape()\" ok.event=\"onOk()\" cancel.event=\"onCancel()\" close.event=\"onClose()\" opened.event=\"onOpen()\"></div>\n }\n <div wmAppExt></div>\n <i id=\"wm-mobile-display\"></i>\n}\n<!--Dummy container to create the component dynamically-->\n<ng-container #dynamicComponent></ng-container>\n" }]
|
|
4777
4755
|
}], ctorParameters: () => [{ type: PipeProvider }, { type: i0__namespace.ApplicationRef }, { type: i0__namespace.ElementRef }, { type: i2$2__namespace.OAuthService }, { type: i1__namespace.AbstractDialogService }, { type: i1__namespace.AbstractSpinnerService }, { type: i0__namespace.NgZone }, { type: i1$1__namespace.Router }, { type: i1__namespace.App }, { type: AppManagerService }, { type: i1__namespace.CustomIconsLoaderService }], propDecorators: { routerOutlet: [{
|
|
@@ -4808,7 +4786,7 @@
|
|
|
4808
4786
|
request = request.clone({ url: apiUrl });
|
|
4809
4787
|
}
|
|
4810
4788
|
return rxjs.from(Promise.resolve().then(() => {
|
|
4811
|
-
if (i4.appManager
|
|
4789
|
+
if (i4.appManager?.appOnBeforeServiceCall) {
|
|
4812
4790
|
const wmReq = this.wmHttpRequest.angularToWmRequest(request);
|
|
4813
4791
|
return i4.appManager.appOnBeforeServiceCall(wmReq);
|
|
4814
4792
|
}
|
|
@@ -4820,7 +4798,7 @@
|
|
|
4820
4798
|
}
|
|
4821
4799
|
return next.handle(request);
|
|
4822
4800
|
}), operators.tap((response) => {
|
|
4823
|
-
if (response
|
|
4801
|
+
if (response?.type === 4 && i4.appManager?.appOnServiceSuccess) {
|
|
4824
4802
|
// Convert the angular HttpResponse to wm HttpResponse
|
|
4825
4803
|
const resp = this.wmHttpResponse.angularToWmResponse(response);
|
|
4826
4804
|
// trigger the common success handler present in app.js
|
|
@@ -4836,7 +4814,7 @@
|
|
|
4836
4814
|
if (i4.httpService.isPlatformSessionTimeout(error)) {
|
|
4837
4815
|
i4.httpService.handleSessionTimeout(request, error._401Subscriber);
|
|
4838
4816
|
}
|
|
4839
|
-
if (i4.appManager
|
|
4817
|
+
if (i4.appManager?.appOnServiceError) {
|
|
4840
4818
|
// Convert the angular HttpResponse to wm HttpResponse
|
|
4841
4819
|
const err = this.wmHttpResponse.angularToWmResponse(error);
|
|
4842
4820
|
// trigger the common error handler present in app.js
|
|
@@ -4849,10 +4827,10 @@
|
|
|
4849
4827
|
}
|
|
4850
4828
|
}));
|
|
4851
4829
|
}
|
|
4852
|
-
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4853
|
-
static { this.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
4830
|
+
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: HttpCallInterceptor, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable }); }
|
|
4831
|
+
static { this.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: HttpCallInterceptor }); }
|
|
4854
4832
|
}
|
|
4855
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4833
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: HttpCallInterceptor, decorators: [{
|
|
4856
4834
|
type: i0.Injectable
|
|
4857
4835
|
}], ctorParameters: () => [] });
|
|
4858
4836
|
|
|
@@ -4899,10 +4877,10 @@
|
|
|
4899
4877
|
// MEMORY LEAK FIX: Clear ElementRef reference
|
|
4900
4878
|
this.elRef = null;
|
|
4901
4879
|
}
|
|
4902
|
-
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4903
|
-
static { this.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
4880
|
+
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: PrefabDirective, deps: [{ token: base.WidgetRef, self: true }, { token: i0__namespace.ViewContainerRef }, { token: i0__namespace.ElementRef }, { token: PrefabManagerService }, { token: i0__namespace.Injector }, { token: i0__namespace.EnvironmentInjector }, { token: ComponentRefProvider }], target: i0__namespace.ɵɵFactoryTarget.Directive }); }
|
|
4881
|
+
static { this.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.21", type: PrefabDirective, isStandalone: true, selector: "[wmPrefab][prefabname]", ngImport: i0__namespace }); }
|
|
4904
4882
|
}
|
|
4905
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4883
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: PrefabDirective, decorators: [{
|
|
4906
4884
|
type: i0.Directive,
|
|
4907
4885
|
args: [{
|
|
4908
4886
|
standalone: true,
|
|
@@ -4921,7 +4899,7 @@
|
|
|
4921
4899
|
this.prefabManager = prefabManager;
|
|
4922
4900
|
// MEMORY LEAK FIX: Store bound function reference for cleanup
|
|
4923
4901
|
this.windowMessageListener = (e) => {
|
|
4924
|
-
const context = e.data
|
|
4902
|
+
const context = e.data?.context;
|
|
4925
4903
|
if (context !== PREFAB) {
|
|
4926
4904
|
return;
|
|
4927
4905
|
}
|
|
@@ -5008,14 +4986,14 @@
|
|
|
5008
4986
|
// MEMORY LEAK FIX: Clear config
|
|
5009
4987
|
this.config = null;
|
|
5010
4988
|
}
|
|
5011
|
-
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5012
|
-
static { this.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
4989
|
+
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: PrefabPreviewComponent, deps: [{ token: PrefabManagerService }], target: i0__namespace.ɵɵFactoryTarget.Component }); }
|
|
4990
|
+
static { this.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.21", type: PrefabPreviewComponent, isStandalone: true, selector: "wm-prefab-preview", viewQueries: [{ propertyName: "prefabInstance", first: true, predicate: prefab.PrefabDirective, descendants: true, static: true }], ngImport: i0__namespace, template: `
|
|
5013
4991
|
<div class="prefab-preview row">
|
|
5014
4992
|
<section wmPrefab name="prefab-preview" prefabname="__self__"></section>
|
|
5015
4993
|
</div>
|
|
5016
4994
|
`, isInline: true, dependencies: [{ kind: "directive", type: prefab.PrefabDirective, selector: "section[wmPrefab]" }, { kind: "directive", type: PrefabDirective, selector: "[wmPrefab][prefabname]" }] }); }
|
|
5017
4995
|
}
|
|
5018
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4996
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: PrefabPreviewComponent, decorators: [{
|
|
5019
4997
|
type: i0.Component,
|
|
5020
4998
|
args: [{
|
|
5021
4999
|
standalone: true,
|
|
@@ -5170,10 +5148,10 @@
|
|
|
5170
5148
|
console.error(`Error creating component [${selector}]:`, msg, err);
|
|
5171
5149
|
this.appManager.notifyApp?.(`Failed to create component: ${msg}`, 'error');
|
|
5172
5150
|
}
|
|
5173
|
-
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5174
|
-
static { this.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
5151
|
+
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: DynamicComponentRefProviderService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable }); }
|
|
5152
|
+
static { this.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: DynamicComponentRefProviderService }); }
|
|
5175
5153
|
}
|
|
5176
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5154
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: DynamicComponentRefProviderService, decorators: [{
|
|
5177
5155
|
type: i0.Injectable
|
|
5178
5156
|
}] });
|
|
5179
5157
|
|
|
@@ -5189,7 +5167,7 @@
|
|
|
5189
5167
|
let retVal;
|
|
5190
5168
|
const nextRoute = nextState ? nextState.url : undefined;
|
|
5191
5169
|
// Calling onBeforePageLeave method present at page level
|
|
5192
|
-
retVal = this.app.activePage
|
|
5170
|
+
retVal = this.app.activePage?.onBeforePageLeave(nextRoute);
|
|
5193
5171
|
// Calling onBeforePageLeave method present at app level only if page level method return true
|
|
5194
5172
|
// or if there is no page level method
|
|
5195
5173
|
if (retVal !== false) {
|
|
@@ -5199,10 +5177,10 @@
|
|
|
5199
5177
|
}
|
|
5200
5178
|
return invokeCompDeactivate.apply(component);
|
|
5201
5179
|
}
|
|
5202
|
-
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5203
|
-
static { this.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
5180
|
+
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: CanDeactivatePageGuard, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable }); }
|
|
5181
|
+
static { this.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: CanDeactivatePageGuard }); }
|
|
5204
5182
|
}
|
|
5205
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5183
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: CanDeactivatePageGuard, decorators: [{
|
|
5206
5184
|
type: i0.Injectable
|
|
5207
5185
|
}] });
|
|
5208
5186
|
// [WMS-18847] - canDeactivate guard for angular deployment.
|
|
@@ -5211,20 +5189,20 @@
|
|
|
5211
5189
|
const nextRoute = nextState ? nextState.url : undefined;
|
|
5212
5190
|
return component.canDeactivate ? component.canDeactivate(nextRoute) : true;
|
|
5213
5191
|
}
|
|
5214
|
-
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5215
|
-
static { this.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
5192
|
+
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: CanDeactivateNgPageGuard, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable }); }
|
|
5193
|
+
static { this.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: CanDeactivateNgPageGuard }); }
|
|
5216
5194
|
}
|
|
5217
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5195
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: CanDeactivateNgPageGuard, decorators: [{
|
|
5218
5196
|
type: i0.Injectable
|
|
5219
5197
|
}] });
|
|
5220
5198
|
|
|
5221
5199
|
const initializeProjectDetails = () => {
|
|
5222
|
-
let cdnUrl = document.querySelector('[name="deployUrl"]')
|
|
5200
|
+
let cdnUrl = document.querySelector('[name="deployUrl"]')?.getAttribute('content');
|
|
5223
5201
|
i1._WM_APP_PROJECT.isPreview = cdnUrl ? false : true;
|
|
5224
|
-
const apiUrl = document.querySelector('[name="apiUrl"]')
|
|
5202
|
+
const apiUrl = document.querySelector('[name="apiUrl"]')?.getAttribute('content');
|
|
5225
5203
|
//for preview
|
|
5226
5204
|
if (!cdnUrl) {
|
|
5227
|
-
cdnUrl = document.querySelector('[name="cdnUrl"]')
|
|
5205
|
+
cdnUrl = document.querySelector('[name="cdnUrl"]')?.getAttribute('content');
|
|
5228
5206
|
}
|
|
5229
5207
|
i1._WM_APP_PROJECT.id = location.href.split('/')[3];
|
|
5230
5208
|
// Integration with third party apps like in SSPA/WebComponents, this meta tag with cdnUrl will not be there then default it to ng-bundle/
|
|
@@ -5529,8 +5507,8 @@
|
|
|
5529
5507
|
}
|
|
5530
5508
|
});
|
|
5531
5509
|
}
|
|
5532
|
-
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5533
|
-
static { this.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.
|
|
5510
|
+
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: RuntimeBaseModule, deps: [{ token: i1__namespace.App }, { token: i1__namespace.Viewport }], target: i0__namespace.ɵɵFactoryTarget.NgModule }); }
|
|
5511
|
+
static { this.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.21", ngImport: i0__namespace, type: RuntimeBaseModule, imports: [i5.CommonModule,
|
|
5534
5512
|
i1$1.RouterModule,
|
|
5535
5513
|
i1$4.HttpClientModule,
|
|
5536
5514
|
forms.FormsModule,
|
|
@@ -5858,7 +5836,7 @@
|
|
|
5858
5836
|
rightPanel.RightPanelDirective,
|
|
5859
5837
|
topNav.TopNavDirective,
|
|
5860
5838
|
prefab.PrefabDirective, prefab.PrefabContainerDirective] }); }
|
|
5861
|
-
static { this.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.
|
|
5839
|
+
static { this.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: RuntimeBaseModule, providers: [
|
|
5862
5840
|
{ provide: i1$2.ɵSharedStylesHost, useClass: WMDomSharedStylesHost },
|
|
5863
5841
|
{ provide: i1$2.ɵDomRendererFactory2, useClass: WMDomRendererFactory2 },
|
|
5864
5842
|
{ provide: i1.AbstractDialogService, useClass: base.DialogServiceImpl },
|
|
@@ -5978,7 +5956,7 @@
|
|
|
5978
5956
|
ngCircleProgress.NgCircleProgressModule,
|
|
5979
5957
|
tooltip.TooltipModule] }); }
|
|
5980
5958
|
}
|
|
5981
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5959
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: RuntimeBaseModule, decorators: [{
|
|
5982
5960
|
type: i0.NgModule,
|
|
5983
5961
|
args: [{
|
|
5984
5962
|
imports: [
|
|
@@ -6034,10 +6012,10 @@
|
|
|
6034
6012
|
this.appManager.initAppModes();
|
|
6035
6013
|
return this.appManager.beforeAppReady();
|
|
6036
6014
|
}
|
|
6037
|
-
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6038
|
-
static { this.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
6015
|
+
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: AppBeforeLoadResolve, deps: [{ token: AppManagerService }, { token: i1__namespace.App }], target: i0__namespace.ɵɵFactoryTarget.Injectable }); }
|
|
6016
|
+
static { this.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: AppBeforeLoadResolve }); }
|
|
6039
6017
|
}
|
|
6040
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6018
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: AppBeforeLoadResolve, decorators: [{
|
|
6041
6019
|
type: i0.Injectable
|
|
6042
6020
|
}], ctorParameters: () => [{ type: AppManagerService }, { type: i1__namespace.App }] });
|
|
6043
6021
|
|
|
@@ -6056,10 +6034,10 @@
|
|
|
6056
6034
|
.then((data) => this.appManager.loadAppVariables(data[2]))
|
|
6057
6035
|
.then(() => appVariablesLoaded = true);
|
|
6058
6036
|
}
|
|
6059
|
-
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6060
|
-
static { this.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
6037
|
+
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: AppVariablesResolve, deps: [{ token: AppManagerService }, { token: AppVariablesProvider }], target: i0__namespace.ɵɵFactoryTarget.Injectable }); }
|
|
6038
|
+
static { this.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: AppVariablesResolve, providedIn: 'root' }); }
|
|
6061
6039
|
}
|
|
6062
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6040
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: AppVariablesResolve, decorators: [{
|
|
6063
6041
|
type: i0.Injectable,
|
|
6064
6042
|
args: [{
|
|
6065
6043
|
providedIn: 'root'
|
|
@@ -6074,10 +6052,10 @@
|
|
|
6074
6052
|
resolve() {
|
|
6075
6053
|
return metadataResolved || this.appManager.loadMetadata().then(() => metadataResolved = true);
|
|
6076
6054
|
}
|
|
6077
|
-
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6078
|
-
static { this.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
6055
|
+
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: MetadataResolve, deps: [{ token: AppManagerService }], target: i0__namespace.ɵɵFactoryTarget.Injectable }); }
|
|
6056
|
+
static { this.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: MetadataResolve, providedIn: 'root' }); }
|
|
6079
6057
|
}
|
|
6080
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6058
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: MetadataResolve, decorators: [{
|
|
6081
6059
|
type: i0.Injectable,
|
|
6082
6060
|
args: [{
|
|
6083
6061
|
providedIn: 'root'
|
|
@@ -6095,10 +6073,10 @@
|
|
|
6095
6073
|
this.loaded = true;
|
|
6096
6074
|
});
|
|
6097
6075
|
}
|
|
6098
|
-
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6099
|
-
static { this.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
6076
|
+
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: SecurityConfigResolve, deps: [{ token: AppManagerService }], target: i0__namespace.ɵɵFactoryTarget.Injectable }); }
|
|
6077
|
+
static { this.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: SecurityConfigResolve, providedIn: 'root' }); }
|
|
6100
6078
|
}
|
|
6101
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6079
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: SecurityConfigResolve, decorators: [{
|
|
6102
6080
|
type: i0.Injectable,
|
|
6103
6081
|
args: [{
|
|
6104
6082
|
providedIn: 'root'
|