@wavemaker-ai/app-ng-runtime 12.0.2-rc.647771 → 12.1.0-rc.647821
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 +2489 -2963
- package/build-task/fesm2022/index.mjs +2307 -2786
- package/build-task/fesm2022/index.mjs.map +1 -1
- package/build-task/types/index.d.ts +401 -844
- package/components/advanced/carousel/bundles/index.umd.js +387 -344
- package/components/advanced/carousel/fesm2022/index.mjs +363 -325
- package/components/advanced/carousel/fesm2022/index.mjs.map +1 -1
- package/components/advanced/carousel/types/index.d.ts +85 -86
- package/components/advanced/custom/bundles/index.umd.js +298 -249
- package/components/advanced/custom/fesm2022/index.mjs +280 -236
- package/components/advanced/custom/fesm2022/index.mjs.map +1 -1
- package/components/advanced/custom/types/index.d.ts +49 -49
- package/components/advanced/login/bundles/index.umd.js +177 -127
- package/components/advanced/login/fesm2022/index.mjs +162 -117
- package/components/advanced/login/fesm2022/index.mjs.map +1 -1
- package/components/advanced/login/types/index.d.ts +33 -34
- package/components/advanced/marquee/bundles/index.umd.js +93 -63
- package/components/advanced/marquee/fesm2022/index.mjs +73 -48
- package/components/advanced/marquee/fesm2022/index.mjs.map +1 -1
- package/components/advanced/marquee/types/index.d.ts +11 -12
- package/components/base/bundles/index.umd.js +5515 -6359
- package/components/base/fesm2022/index.mjs +5169 -6027
- package/components/base/fesm2022/index.mjs.map +1 -1
- package/components/base/types/index.d.ts +1198 -1154
- package/components/basic/anchor/bundles/index.umd.js +273 -195
- package/components/basic/anchor/fesm2022/index.mjs +251 -178
- package/components/basic/anchor/fesm2022/index.mjs.map +1 -1
- package/components/basic/anchor/types/index.d.ts +40 -41
- package/components/basic/audio/bundles/index.umd.js +124 -75
- package/components/basic/audio/fesm2022/index.mjs +104 -60
- package/components/basic/audio/fesm2022/index.mjs.map +1 -1
- package/components/basic/audio/types/index.d.ts +22 -23
- package/components/basic/html/bundles/index.umd.js +144 -113
- package/components/basic/html/fesm2022/index.mjs +125 -99
- package/components/basic/html/fesm2022/index.mjs.map +1 -1
- package/components/basic/html/types/index.d.ts +20 -17
- package/components/basic/icon/bundles/index.umd.js +144 -72
- package/components/basic/icon/fesm2022/index.mjs +124 -57
- package/components/basic/icon/fesm2022/index.mjs.map +1 -1
- package/components/basic/icon/types/index.d.ts +18 -19
- package/components/basic/iframe/bundles/index.umd.js +143 -93
- package/components/basic/iframe/fesm2022/index.mjs +124 -79
- package/components/basic/iframe/fesm2022/index.mjs.map +1 -1
- package/components/basic/iframe/types/index.d.ts +28 -29
- package/components/basic/label/bundles/index.umd.js +136 -120
- package/components/basic/label/fesm2022/index.mjs +118 -107
- package/components/basic/label/fesm2022/index.mjs.map +1 -1
- package/components/basic/label/types/index.d.ts +14 -15
- package/components/basic/picture/bundles/index.umd.js +171 -130
- package/components/basic/picture/fesm2022/index.mjs +152 -116
- package/components/basic/picture/fesm2022/index.mjs.map +1 -1
- package/components/basic/picture/types/index.d.ts +21 -22
- package/components/basic/progress/progress-bar/bundles/index.umd.js +211 -160
- package/components/basic/progress/progress-bar/fesm2022/index.mjs +193 -147
- package/components/basic/progress/progress-bar/fesm2022/index.mjs.map +1 -1
- package/components/basic/progress/progress-bar/types/index.d.ts +45 -41
- package/components/basic/progress/progress-circle/bundles/index.umd.js +294 -165
- package/components/basic/progress/progress-circle/fesm2022/index.mjs +274 -150
- package/components/basic/progress/progress-circle/fesm2022/index.mjs.map +1 -1
- package/components/basic/progress/progress-circle/types/index.d.ts +41 -42
- package/components/basic/progress/progress-utils/bundles/index.umd.js +27 -29
- package/components/basic/progress/progress-utils/fesm2022/index.mjs +18 -25
- package/components/basic/progress/progress-utils/fesm2022/index.mjs.map +1 -1
- package/components/basic/progress/progress-utils/types/index.d.ts +3 -5
- package/components/basic/rich-text-editor/bundles/index.umd.js +294 -228
- package/components/basic/rich-text-editor/fesm2022/index.mjs +275 -214
- package/components/basic/rich-text-editor/fesm2022/index.mjs.map +1 -1
- package/components/basic/rich-text-editor/types/index.d.ts +55 -56
- package/components/basic/search/bundles/index.umd.js +1129 -1090
- package/components/basic/search/fesm2022/index.mjs +1117 -1083
- package/components/basic/search/fesm2022/index.mjs.map +1 -1
- package/components/basic/search/types/index.d.ts +132 -130
- package/components/basic/spinner/bundles/index.umd.js +216 -120
- package/components/basic/spinner/fesm2022/index.mjs +201 -110
- package/components/basic/spinner/fesm2022/index.mjs.map +1 -1
- package/components/basic/spinner/types/index.d.ts +30 -31
- package/components/basic/tree/bundles/index.umd.js +756 -756
- package/components/basic/tree/fesm2022/index.mjs +740 -745
- package/components/basic/tree/fesm2022/index.mjs.map +1 -1
- package/components/basic/tree/types/index.d.ts +106 -97
- package/components/basic/video/bundles/index.umd.js +164 -108
- package/components/basic/video/fesm2022/index.mjs +145 -94
- package/components/basic/video/fesm2022/index.mjs.map +1 -1
- package/components/basic/video/types/index.d.ts +29 -30
- package/components/chart/bundles/index.umd.js +1768 -1737
- package/components/chart/fesm2022/index.mjs +1713 -1728
- package/components/chart/fesm2022/index.mjs.map +1 -1
- package/components/chart/types/index.d.ts +102 -104
- package/components/containers/accordion/bundles/index.umd.js +522 -494
- package/components/containers/accordion/fesm2022/index.mjs +502 -479
- package/components/containers/accordion/fesm2022/index.mjs.map +1 -1
- package/components/containers/accordion/types/index.d.ts +116 -116
- package/components/containers/layout-grid/bundles/index.umd.js +260 -164
- package/components/containers/layout-grid/fesm2022/index.mjs +231 -140
- package/components/containers/layout-grid/fesm2022/index.mjs.map +1 -1
- package/components/containers/layout-grid/types/index.d.ts +30 -27
- package/components/containers/linear-layout/bundles/index.umd.js +220 -178
- package/components/containers/linear-layout/fesm2022/index.mjs +193 -156
- package/components/containers/linear-layout/fesm2022/index.mjs.map +1 -1
- package/components/containers/linear-layout/types/index.d.ts +26 -26
- package/components/containers/panel/bundles/index.umd.js +343 -215
- package/components/containers/panel/fesm2022/index.mjs +330 -207
- package/components/containers/panel/fesm2022/index.mjs.map +1 -1
- package/components/containers/panel/types/index.d.ts +48 -49
- package/components/containers/tabs/bundles/index.umd.js +832 -779
- package/components/containers/tabs/fesm2022/index.mjs +811 -763
- package/components/containers/tabs/fesm2022/index.mjs.map +1 -1
- package/components/containers/tabs/types/index.d.ts +134 -126
- package/components/containers/tile/bundles/index.umd.js +93 -60
- package/components/containers/tile/fesm2022/index.mjs +75 -47
- package/components/containers/tile/fesm2022/index.mjs.map +1 -1
- package/components/containers/tile/types/index.d.ts +11 -12
- package/components/containers/wizard/bundles/index.umd.js +1096 -1078
- package/components/containers/wizard/fesm2022/index.mjs +1069 -1056
- package/components/containers/wizard/fesm2022/index.mjs.map +1 -1
- package/components/containers/wizard/types/index.d.ts +258 -252
- package/components/data/card/bundles/index.umd.js +439 -229
- package/components/data/card/fesm2022/index.mjs +408 -203
- package/components/data/card/fesm2022/index.mjs.map +1 -1
- package/components/data/card/types/index.d.ts +50 -48
- package/components/data/form/bundles/index.umd.js +3392 -3339
- package/components/data/form/fesm2022/index.mjs +3350 -3304
- package/components/data/form/fesm2022/index.mjs.map +1 -1
- package/components/data/form/types/index.d.ts +561 -482
- package/components/data/list/bundles/index.umd.js +1523 -1601
- package/components/data/list/fesm2022/index.mjs +1507 -1590
- package/components/data/list/fesm2022/index.mjs.map +1 -1
- package/components/data/list/types/index.d.ts +300 -283
- package/components/data/live-table/bundles/index.umd.js +299 -280
- package/components/data/live-table/fesm2022/index.mjs +284 -270
- package/components/data/live-table/fesm2022/index.mjs.map +1 -1
- package/components/data/live-table/types/index.d.ts +42 -39
- package/components/data/pagination/bundles/index.umd.js +848 -881
- package/components/data/pagination/fesm2022/index.mjs +835 -879
- package/components/data/pagination/fesm2022/index.mjs.map +1 -1
- package/components/data/pagination/types/index.d.ts +110 -106
- package/components/data/table/bundles/index.umd.js +4977 -5042
- package/components/data/table/fesm2022/index.mjs +4937 -5007
- package/components/data/table/fesm2022/index.mjs.map +1 -1
- package/components/data/table/types/index.d.ts +770 -736
- package/components/dialogs/alert-dialog/bundles/index.umd.js +259 -118
- package/components/dialogs/alert-dialog/fesm2022/index.mjs +243 -109
- package/components/dialogs/alert-dialog/fesm2022/index.mjs.map +1 -1
- package/components/dialogs/alert-dialog/types/index.d.ts +31 -26
- package/components/dialogs/confirm-dialog/bundles/index.umd.js +250 -121
- package/components/dialogs/confirm-dialog/fesm2022/index.mjs +236 -114
- package/components/dialogs/confirm-dialog/fesm2022/index.mjs.map +1 -1
- package/components/dialogs/confirm-dialog/types/index.d.ts +34 -29
- package/components/dialogs/default/bundles/index.umd.js +509 -373
- package/components/dialogs/default/fesm2022/index.mjs +485 -354
- package/components/dialogs/default/fesm2022/index.mjs.map +1 -1
- package/components/dialogs/default/types/index.d.ts +129 -86
- package/components/dialogs/design-dialog/bundles/index.umd.js +320 -142
- package/components/dialogs/design-dialog/fesm2022/index.mjs +305 -132
- package/components/dialogs/design-dialog/fesm2022/index.mjs.map +1 -1
- package/components/dialogs/design-dialog/types/index.d.ts +31 -20
- package/components/dialogs/iframe-dialog/bundles/index.umd.js +258 -111
- package/components/dialogs/iframe-dialog/fesm2022/index.mjs +245 -105
- package/components/dialogs/iframe-dialog/fesm2022/index.mjs.map +1 -1
- package/components/dialogs/iframe-dialog/types/index.d.ts +27 -22
- package/components/dialogs/login-dialog/bundles/index.umd.js +139 -106
- package/components/dialogs/login-dialog/fesm2022/index.mjs +125 -97
- package/components/dialogs/login-dialog/fesm2022/index.mjs.map +1 -1
- package/components/dialogs/login-dialog/types/index.d.ts +27 -26
- package/components/dialogs/partial-dialog/bundles/index.umd.js +302 -149
- package/components/dialogs/partial-dialog/fesm2022/index.mjs +289 -143
- package/components/dialogs/partial-dialog/fesm2022/index.mjs.map +1 -1
- package/components/dialogs/partial-dialog/types/index.d.ts +37 -32
- package/components/input/base-form/bundles/index.umd.js +143 -139
- package/components/input/base-form/fesm2022/index.mjs +129 -130
- package/components/input/base-form/fesm2022/index.mjs.map +1 -1
- package/components/input/base-form/types/index.d.ts +28 -29
- package/components/input/base-form-custom/bundles/index.umd.js +107 -121
- package/components/input/base-form-custom/fesm2022/index.mjs +88 -107
- package/components/input/base-form-custom/fesm2022/index.mjs.map +1 -1
- package/components/input/base-form-custom/types/index.d.ts +23 -26
- package/components/input/button/bundles/index.umd.js +177 -89
- package/components/input/button/fesm2022/index.mjs +158 -75
- package/components/input/button/fesm2022/index.mjs.map +1 -1
- package/components/input/button/types/index.d.ts +24 -25
- package/components/input/button-group/bundles/index.umd.js +110 -72
- package/components/input/button-group/fesm2022/index.mjs +90 -57
- package/components/input/button-group/fesm2022/index.mjs.map +1 -1
- package/components/input/button-group/types/index.d.ts +13 -14
- package/components/input/calendar/bundles/index.umd.js +615 -647
- package/components/input/calendar/fesm2022/index.mjs +596 -649
- package/components/input/calendar/fesm2022/index.mjs.map +1 -1
- package/components/input/calendar/types/index.d.ts +130 -131
- package/components/input/caption-position/bundles/index.umd.js +175 -188
- package/components/input/caption-position/fesm2022/index.mjs +159 -177
- package/components/input/caption-position/fesm2022/index.mjs.map +1 -1
- package/components/input/caption-position/types/index.d.ts +31 -34
- package/components/input/checkbox/bundles/index.umd.js +339 -200
- package/components/input/checkbox/fesm2022/index.mjs +319 -185
- package/components/input/checkbox/fesm2022/index.mjs.map +1 -1
- package/components/input/checkbox/types/index.d.ts +46 -41
- package/components/input/checkboxset/bundles/index.umd.js +256 -170
- package/components/input/checkboxset/fesm2022/index.mjs +242 -161
- package/components/input/checkboxset/fesm2022/index.mjs.map +1 -1
- package/components/input/checkboxset/types/index.d.ts +26 -27
- package/components/input/chips/bundles/index.umd.js +721 -733
- package/components/input/chips/fesm2022/index.mjs +706 -723
- package/components/input/chips/fesm2022/index.mjs.map +1 -1
- package/components/input/chips/types/index.d.ts +101 -90
- package/components/input/color-picker/bundles/index.umd.js +312 -137
- package/components/input/color-picker/fesm2022/index.mjs +296 -126
- package/components/input/color-picker/fesm2022/index.mjs.map +1 -1
- package/components/input/color-picker/types/index.d.ts +35 -36
- package/components/input/composite/bundles/index.umd.js +127 -112
- package/components/input/composite/fesm2022/index.mjs +106 -96
- package/components/input/composite/fesm2022/index.mjs.map +1 -1
- package/components/input/composite/types/index.d.ts +26 -27
- package/components/input/currency/bundles/index.umd.js +237 -104
- package/components/input/currency/fesm2022/index.mjs +219 -91
- package/components/input/currency/fesm2022/index.mjs.map +1 -1
- package/components/input/currency/types/index.d.ts +30 -31
- package/components/input/dataset-aware-form/bundles/index.umd.js +298 -346
- package/components/input/dataset-aware-form/fesm2022/index.mjs +286 -339
- package/components/input/dataset-aware-form/fesm2022/index.mjs.map +1 -1
- package/components/input/dataset-aware-form/types/index.d.ts +80 -80
- package/components/input/epoch/base-date-time/bundles/index.umd.js +809 -1081
- package/components/input/epoch/base-date-time/fesm2022/index.mjs +796 -1073
- package/components/input/epoch/base-date-time/fesm2022/index.mjs.map +1 -1
- package/components/input/epoch/base-date-time/types/index.d.ts +244 -247
- package/components/input/epoch/date/bundles/index.umd.js +619 -513
- package/components/input/epoch/date/fesm2022/index.mjs +604 -503
- package/components/input/epoch/date/fesm2022/index.mjs.map +1 -1
- package/components/input/epoch/date/types/index.d.ts +63 -64
- package/components/input/epoch/date-time/bundles/index.umd.js +682 -511
- package/components/input/epoch/date-time/fesm2022/index.mjs +672 -506
- package/components/input/epoch/date-time/fesm2022/index.mjs.map +1 -1
- package/components/input/epoch/date-time/types/index.d.ts +111 -112
- package/components/input/epoch/date-time-picker/bundles/index.umd.js +417 -321
- package/components/input/epoch/date-time-picker/fesm2022/index.mjs +405 -314
- package/components/input/epoch/date-time-picker/fesm2022/index.mjs.map +1 -1
- package/components/input/epoch/date-time-picker/types/index.d.ts +135 -80
- package/components/input/epoch/picker/bundles/index.umd.js +201 -148
- package/components/input/epoch/picker/fesm2022/index.mjs +183 -135
- package/components/input/epoch/picker/fesm2022/index.mjs.map +1 -1
- package/components/input/epoch/picker/types/index.d.ts +46 -38
- package/components/input/epoch/time/bundles/index.umd.js +534 -392
- package/components/input/epoch/time/fesm2022/index.mjs +523 -386
- package/components/input/epoch/time/fesm2022/index.mjs.map +1 -1
- package/components/input/epoch/time/types/index.d.ts +107 -108
- package/components/input/file-upload/bundles/index.umd.js +500 -477
- package/components/input/file-upload/fesm2022/index.mjs +484 -466
- package/components/input/file-upload/fesm2022/index.mjs.map +1 -1
- package/components/input/file-upload/types/index.d.ts +110 -109
- package/components/input/number/bundles/index.umd.js +241 -101
- package/components/input/number/fesm2022/index.mjs +224 -89
- package/components/input/number/fesm2022/index.mjs.map +1 -1
- package/components/input/number/types/index.d.ts +28 -29
- package/components/input/radioset/bundles/index.umd.js +240 -156
- package/components/input/radioset/fesm2022/index.mjs +226 -147
- package/components/input/radioset/fesm2022/index.mjs.map +1 -1
- package/components/input/radioset/types/index.d.ts +25 -26
- package/components/input/rating/bundles/index.umd.js +353 -266
- package/components/input/rating/fesm2022/index.mjs +337 -255
- package/components/input/rating/fesm2022/index.mjs.map +1 -1
- package/components/input/rating/types/index.d.ts +52 -53
- package/components/input/select/bundles/index.umd.js +295 -217
- package/components/input/select/fesm2022/index.mjs +280 -207
- package/components/input/select/fesm2022/index.mjs.map +1 -1
- package/components/input/select/types/index.d.ts +38 -39
- package/components/input/slider/bundles/index.umd.js +316 -197
- package/components/input/slider/fesm2022/index.mjs +297 -183
- package/components/input/slider/fesm2022/index.mjs.map +1 -1
- package/components/input/slider/types/index.d.ts +43 -44
- package/components/input/switch/bundles/index.umd.js +257 -219
- package/components/input/switch/fesm2022/index.mjs +243 -210
- package/components/input/switch/fesm2022/index.mjs.map +1 -1
- package/components/input/switch/types/index.d.ts +34 -35
- package/components/input/text/bundles/index.umd.js +1585 -1120
- package/components/input/text/fesm2022/index.mjs +1542 -1082
- package/components/input/text/fesm2022/index.mjs.map +1 -1
- package/components/input/text/types/index.d.ts +313 -310
- package/components/input/textarea/bundles/index.umd.js +224 -100
- package/components/input/textarea/fesm2022/index.mjs +207 -88
- package/components/input/textarea/fesm2022/index.mjs.map +1 -1
- package/components/input/textarea/types/index.d.ts +32 -33
- package/components/navigation/breadcrumb/bundles/index.umd.js +205 -131
- package/components/navigation/breadcrumb/fesm2022/index.mjs +188 -118
- package/components/navigation/breadcrumb/fesm2022/index.mjs.map +1 -1
- package/components/navigation/breadcrumb/types/index.d.ts +29 -28
- package/components/navigation/menu/bundles/index.umd.js +1461 -950
- package/components/navigation/menu/fesm2022/index.mjs +1416 -910
- package/components/navigation/menu/fesm2022/index.mjs.map +1 -1
- package/components/navigation/menu/types/index.d.ts +220 -193
- package/components/navigation/navbar/bundles/index.umd.js +172 -79
- package/components/navigation/navbar/fesm2022/index.mjs +155 -67
- package/components/navigation/navbar/fesm2022/index.mjs.map +1 -1
- package/components/navigation/navbar/types/index.d.ts +19 -20
- package/components/navigation/popover/bundles/index.umd.js +543 -519
- package/components/navigation/popover/fesm2022/index.mjs +524 -505
- package/components/navigation/popover/fesm2022/index.mjs.map +1 -1
- package/components/navigation/popover/types/index.d.ts +86 -86
- package/components/page/default/bundles/index.umd.js +634 -451
- package/components/page/default/fesm2022/index.mjs +600 -422
- package/components/page/default/fesm2022/index.mjs.map +1 -1
- package/components/page/default/types/index.d.ts +123 -119
- package/components/page/footer/bundles/index.umd.js +91 -63
- package/components/page/footer/fesm2022/index.mjs +71 -48
- package/components/page/footer/fesm2022/index.mjs.map +1 -1
- package/components/page/footer/types/index.d.ts +11 -12
- package/components/page/header/bundles/index.umd.js +96 -59
- package/components/page/header/fesm2022/index.mjs +76 -44
- package/components/page/header/fesm2022/index.mjs.map +1 -1
- package/components/page/header/types/index.d.ts +12 -13
- package/components/page/left-panel/bundles/index.umd.js +405 -407
- package/components/page/left-panel/fesm2022/index.mjs +386 -393
- package/components/page/left-panel/fesm2022/index.mjs.map +1 -1
- package/components/page/left-panel/types/index.d.ts +47 -40
- package/components/page/right-panel/bundles/index.umd.js +115 -78
- package/components/page/right-panel/fesm2022/index.mjs +96 -64
- package/components/page/right-panel/fesm2022/index.mjs.map +1 -1
- package/components/page/right-panel/types/index.d.ts +14 -13
- package/components/page/top-nav/bundles/index.umd.js +91 -60
- package/components/page/top-nav/fesm2022/index.mjs +73 -47
- package/components/page/top-nav/fesm2022/index.mjs.map +1 -1
- package/components/page/top-nav/types/index.d.ts +11 -12
- package/components/prefab/bundles/index.umd.js +253 -173
- package/components/prefab/fesm2022/index.mjs +233 -158
- package/components/prefab/fesm2022/index.mjs.map +1 -1
- package/components/prefab/types/index.d.ts +35 -33
- package/core/bundles/index.umd.js +4466 -5642
- package/core/fesm2022/index.mjs +3997 -5202
- package/core/fesm2022/index.mjs.map +1 -1
- package/core/types/index.d.ts +1785 -1808
- package/http/bundles/index.umd.js +339 -413
- package/http/fesm2022/index.mjs +323 -402
- package/http/fesm2022/index.mjs.map +1 -1
- package/http/types/index.d.ts +107 -112
- package/locales/moment/am-et.js +73 -0
- package/locales/moment/bm.js +2 -0
- package/locales/moment/ca.js +1 -1
- package/locales/moment/de-at.js +29 -1
- package/locales/moment/de-ch.js +29 -1
- package/locales/moment/de.js +29 -1
- package/locales/moment/hu.js +3 -3
- package/locales/moment/id.js +12 -1
- package/locales/moment/ka.js +1 -1
- package/locales/moment/mk.js +0 -1
- package/locales/moment/nl-be.js +1 -1
- package/locales/moment/pl.js +1 -1
- package/locales/moment/ps.js +188 -0
- package/locales/moment/pt-br.js +14 -6
- package/locales/moment/sv.js +1 -1
- package/locales/moment/sw.js +56 -14
- package/locales/moment/uk.js +5 -4
- package/locales/moment/uz-latn.js +1 -1
- package/locales/moment/uz.js +1 -1
- package/npm-shrinkwrap.json +2 -2
- package/oAuth/bundles/index.umd.js +326 -483
- package/oAuth/fesm2022/index.mjs +267 -429
- package/oAuth/fesm2022/index.mjs.map +1 -1
- package/oAuth/types/index.d.ts +22 -26
- package/package-lock.json +2 -2
- package/package.json +1 -1
- package/runtime/base/bundles/index.umd.js +6380 -6093
- package/runtime/base/fesm2022/index.mjs +6368 -6107
- package/runtime/base/fesm2022/index.mjs.map +1 -1
- package/runtime/base/types/index.d.ts +1336 -1359
- package/runtime/dynamic/bundles/index.umd.js +1215 -851
- package/runtime/dynamic/fesm2022/index.mjs +1253 -898
- package/runtime/dynamic/fesm2022/index.mjs.map +1 -1
- package/runtime/dynamic/types/index.d.ts +140 -128
- package/scripts/datatable/datatable.js +20 -30
- package/security/bundles/index.umd.js +297 -438
- package/security/fesm2022/index.mjs +282 -443
- package/security/fesm2022/index.mjs.map +1 -1
- package/security/types/index.d.ts +127 -130
- package/swipey/bundles/index.umd.js +57 -48
- package/swipey/fesm2022/index.mjs +55 -50
- package/swipey/fesm2022/index.mjs.map +1 -1
- package/swipey/types/index.d.ts +19 -21
- package/transpiler/bundles/index.umd.js +1174 -811
- package/transpiler/fesm2022/index.mjs +1109 -757
- package/transpiler/fesm2022/index.mjs.map +1 -1
- package/transpiler/types/index.d.ts +32 -36
- package/variables/bundles/index.umd.js +2226 -3245
- package/variables/fesm2022/index.mjs +2117 -3237
- package/variables/fesm2022/index.mjs.map +1 -1
- package/variables/types/index.d.ts +410 -393
- package/build-task/.npmignore +0 -2
- package/components/advanced/carousel/.npmignore +0 -2
- package/components/advanced/custom/.npmignore +0 -2
- package/components/advanced/login/.npmignore +0 -2
- package/components/advanced/marquee/.npmignore +0 -2
- package/components/base/.npmignore +0 -2
- package/components/basic/anchor/.npmignore +0 -2
- package/components/basic/audio/.npmignore +0 -2
- package/components/basic/html/.npmignore +0 -2
- package/components/basic/icon/.npmignore +0 -2
- package/components/basic/iframe/.npmignore +0 -2
- package/components/basic/label/.npmignore +0 -2
- package/components/basic/picture/.npmignore +0 -2
- package/components/basic/progress/progress-bar/.npmignore +0 -2
- package/components/basic/progress/progress-circle/.npmignore +0 -2
- package/components/basic/progress/progress-utils/.npmignore +0 -2
- package/components/basic/rich-text-editor/.npmignore +0 -2
- package/components/basic/search/.npmignore +0 -2
- package/components/basic/spinner/.npmignore +0 -2
- package/components/basic/tree/.npmignore +0 -2
- package/components/basic/video/.npmignore +0 -2
- package/components/chart/.npmignore +0 -2
- package/components/containers/accordion/.npmignore +0 -2
- package/components/containers/layout-grid/.npmignore +0 -2
- package/components/containers/linear-layout/.npmignore +0 -2
- package/components/containers/panel/.npmignore +0 -2
- package/components/containers/tabs/.npmignore +0 -2
- package/components/containers/tile/.npmignore +0 -2
- package/components/containers/wizard/.npmignore +0 -2
- package/components/data/card/.npmignore +0 -2
- package/components/data/form/.npmignore +0 -2
- package/components/data/list/.npmignore +0 -2
- package/components/data/live-table/.npmignore +0 -2
- package/components/data/pagination/.npmignore +0 -2
- package/components/data/table/.npmignore +0 -2
- package/components/dialogs/alert-dialog/.npmignore +0 -2
- package/components/dialogs/confirm-dialog/.npmignore +0 -2
- package/components/dialogs/default/.npmignore +0 -2
- package/components/dialogs/design-dialog/.npmignore +0 -2
- package/components/dialogs/iframe-dialog/.npmignore +0 -2
- package/components/dialogs/login-dialog/.npmignore +0 -2
- package/components/dialogs/partial-dialog/.npmignore +0 -2
- package/components/input/base-form/.npmignore +0 -2
- package/components/input/base-form-custom/.npmignore +0 -2
- package/components/input/button/.npmignore +0 -2
- package/components/input/button-group/.npmignore +0 -2
- package/components/input/calendar/.npmignore +0 -2
- package/components/input/caption-position/.npmignore +0 -2
- package/components/input/checkbox/.npmignore +0 -2
- package/components/input/checkboxset/.npmignore +0 -2
- package/components/input/chips/.npmignore +0 -2
- package/components/input/color-picker/.npmignore +0 -2
- package/components/input/composite/.npmignore +0 -2
- package/components/input/currency/.npmignore +0 -2
- package/components/input/dataset-aware-form/.npmignore +0 -2
- package/components/input/epoch/base-date-time/.npmignore +0 -2
- package/components/input/epoch/date/.npmignore +0 -2
- package/components/input/epoch/date-time/.npmignore +0 -2
- package/components/input/epoch/date-time-picker/.npmignore +0 -2
- package/components/input/epoch/picker/.npmignore +0 -2
- package/components/input/epoch/time/.npmignore +0 -2
- package/components/input/file-upload/.npmignore +0 -2
- package/components/input/number/.npmignore +0 -2
- package/components/input/radioset/.npmignore +0 -2
- package/components/input/rating/.npmignore +0 -2
- package/components/input/select/.npmignore +0 -2
- package/components/input/slider/.npmignore +0 -2
- package/components/input/switch/.npmignore +0 -2
- package/components/input/text/.npmignore +0 -2
- package/components/input/textarea/.npmignore +0 -2
- package/components/navigation/breadcrumb/.npmignore +0 -2
- package/components/navigation/menu/.npmignore +0 -2
- package/components/navigation/navbar/.npmignore +0 -2
- package/components/navigation/popover/.npmignore +0 -2
- package/components/page/default/.npmignore +0 -2
- package/components/page/footer/.npmignore +0 -2
- package/components/page/header/.npmignore +0 -2
- package/components/page/left-panel/.npmignore +0 -2
- package/components/page/right-panel/.npmignore +0 -2
- package/components/page/top-nav/.npmignore +0 -2
- package/components/prefab/.npmignore +0 -2
- package/core/.npmignore +0 -2
- package/http/.npmignore +0 -2
- package/oAuth/.npmignore +0 -2
- package/runtime/base/.npmignore +0 -2
- package/runtime/dynamic/.npmignore +0 -2
- package/security/.npmignore +0 -2
- package/swipey/.npmignore +0 -2
- package/transpiler/.npmignore +0 -2
- package/variables/.npmignore +0 -2
|
@@ -1,932 +1,1287 @@
|
|
|
1
|
-
import * as i0 from
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import {
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import
|
|
20
|
-
import { ToastNoAnimationModule } from
|
|
21
|
-
import { ModalModule } from
|
|
22
|
-
import { BsDatepickerModule } from
|
|
23
|
-
import { NgCircleProgressModule } from
|
|
24
|
-
import { CommonModule,
|
|
25
|
-
import { __decorate,
|
|
26
|
-
import { scopeComponentStyles, transpile } from
|
|
27
|
-
import
|
|
28
|
-
import
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
96
|
-
import {
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
99
|
-
import {
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
104
|
-
import {
|
|
105
|
-
import {
|
|
106
|
-
import {
|
|
107
|
-
import {
|
|
108
|
-
import {
|
|
109
|
-
|
|
110
|
-
class PageWrapperComponent {
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { APP_INITIALIZER, CUSTOM_ELEMENTS_SCHEMA, ChangeDetectionStrategy, Component, Inject, Injectable, Injector, LOCALE_ID, NO_ERRORS_SCHEMA, NgModule, RendererFactory2, ViewEncapsulation, enableProdMode, importProvidersFrom, inject, provideZoneChangeDetection } from "@angular/core";
|
|
3
|
+
import { BrowserModule, bootstrapApplication } from "@angular/platform-browser";
|
|
4
|
+
import * as i4$1 from "@wm/runtime/base";
|
|
5
|
+
import { AccessrolesDirective, AppBeforeLoadResolve, AppComponent, AppDefaultsService, AppExtensionJSResolve, AppExtensionProvider, AppJSProvider, AppJSResolve, AppManagerService, AppRef, AppSpinnerComponent, AppVariablesProvider, AppVariablesResolve, AuthGuard, BaseCustomWidgetComponent, BasePageComponent, BasePartialComponent, BasePrefabComponent, CanDeactivatePageGuard, ComponentRefProvider, ComponentType, CustomToasterComponent, CustomwidgetConfigProvider, DynamicComponentRefProviderService, EmptyPageComponent, HttpCallInterceptor, I18nResolve, I18nServiceImpl, MAX_CACHE_AGE, MAX_CACHE_SIZE, NavigationServiceImpl, PageNotFoundGuard, PipeService, PrefabConfigProvider, PrefabDirective, PrefabManagerService, PrefabPreviewComponent, REQUIRED_MODULES_FOR_DYNAMIC_COMPONENTS, RoleGuard, SpinnerServiceImpl, ToasterServiceImpl, WMDomRendererFactory2, WmRouteReuseStrategy, getPrefabConfigUrl, getPrefabMinJsonUrl, getPrefabPartialJsonUrl } from "@wm/runtime/base";
|
|
6
|
+
import * as i1$1 from "@angular/router";
|
|
7
|
+
import { ActivatedRoute, RouteReuseStrategy, RouterModule, provideRouter, withComponentInputBinding, withHashLocation, withRouterConfig } from "@angular/router";
|
|
8
|
+
import * as i1 from "@angular/common/http";
|
|
9
|
+
import { HTTP_INTERCEPTORS, HttpClientModule, HttpClientXsrfModule, HttpXhrBackend, provideHttpClient, withInterceptorsFromDi, withXhr, withXsrfConfiguration } from "@angular/common/http";
|
|
10
|
+
import { BrowserAnimationsModule, provideAnimations } from "@angular/platform-browser/animations";
|
|
11
|
+
import * as i5 from "@wm/core";
|
|
12
|
+
import { AbstractDialogService, AbstractHttpService, AbstractI18nService, AbstractNavigationService, AbstractSpinnerService, AbstractToasterService, App, AppDefaults, CustomIconsLoaderService, CustomWidgetRefProvider, DynamicComponentRefProvider, PartialRefProvider, UserDefinedExecutionContext, Viewport, _WM_APP_PROJECT, appendScriptToHead, getValidJSON, getWmProjectProperties } from "@wm/core";
|
|
13
|
+
import * as i2 from "@wm/variables";
|
|
14
|
+
import { MetadataService, VariablesService } from "@wm/variables";
|
|
15
|
+
import * as i3 from "@wm/security";
|
|
16
|
+
import { SecurityService } from "@wm/security";
|
|
17
|
+
import { HttpServiceImpl } from "@wm/http";
|
|
18
|
+
import { OAuthService } from "@wm/oAuth";
|
|
19
|
+
import * as i4 from "ngx-toastr";
|
|
20
|
+
import { ToastNoAnimationModule } from "ngx-toastr";
|
|
21
|
+
import { ModalModule } from "ngx-bootstrap/modal";
|
|
22
|
+
import { BsDatepickerModule } from "ngx-bootstrap/datepicker";
|
|
23
|
+
import { NgCircleProgressModule } from "ng-circle-progress";
|
|
24
|
+
import { CommonModule, DatePipe, DecimalPipe, Location, XhrFactory } from "@angular/common";
|
|
25
|
+
import { __decorate, __metadata, __param } from "tslib";
|
|
26
|
+
import { scopeComponentStyles, transpile } from "@wm/transpiler";
|
|
27
|
+
import { isString, isUndefined } from "lodash-es";
|
|
28
|
+
import * as customWidgets from "@wavemaker-ai/custom-widgets-m3";
|
|
29
|
+
import { FormsModule, ReactiveFormsModule } from "@angular/forms";
|
|
30
|
+
import { ContentComponent, LayoutDirective, PageContentComponent, PageDirective, RouterOutletDirective, SpaPageDirective } from "@wm/components/page";
|
|
31
|
+
import { CustomPipe, DialogServiceImpl, FilterPipe, ImagePipe, PartialDirective, SanitizePipe, ToDatePipe, TrailingZeroDecimalPipe, TrustAsPipe } from "@wm/components/base";
|
|
32
|
+
import { ProgressBarComponent } from "@wm/components/basic/progress/progress-bar";
|
|
33
|
+
import { PrefabContainerDirective, PrefabDirective as PrefabDirective$1 } from "@wm/components/prefab";
|
|
34
|
+
import { TypeaheadModule } from "ngx-bootstrap/typeahead";
|
|
35
|
+
import { TimepickerModule } from "ngx-bootstrap/timepicker";
|
|
36
|
+
import { ProgressbarModule } from "ngx-bootstrap/progressbar";
|
|
37
|
+
import { PaginationModule } from "ngx-bootstrap/pagination";
|
|
38
|
+
import { TooltipModule } from "ngx-bootstrap/tooltip";
|
|
39
|
+
import { BsDropdownModule } from "ngx-bootstrap/dropdown";
|
|
40
|
+
import { PopoverModule } from "ngx-bootstrap/popover";
|
|
41
|
+
import { CarouselModule } from "ngx-bootstrap/carousel";
|
|
42
|
+
import { AnchorComponent } from "@wm/components/basic/anchor";
|
|
43
|
+
import { AudioComponent } from "@wm/components/basic/audio";
|
|
44
|
+
import { HtmlDirective } from "@wm/components/basic/html";
|
|
45
|
+
import { IconComponent } from "@wm/components/basic/icon";
|
|
46
|
+
import { IframeComponent } from "@wm/components/basic/iframe";
|
|
47
|
+
import { LabelDirective } from "@wm/components/basic/label";
|
|
48
|
+
import { PictureDirective } from "@wm/components/basic/picture";
|
|
49
|
+
import { SpinnerComponent } from "@wm/components/basic/spinner";
|
|
50
|
+
import { VideoComponent } from "@wm/components/basic/video";
|
|
51
|
+
import { ProgressCircleComponent } from "@wm/components/basic/progress/progress-circle";
|
|
52
|
+
import { RichTextEditorComponent } from "@wm/components/basic/rich-text-editor";
|
|
53
|
+
import { ScrollableDirective, SearchComponent } from "@wm/components/basic/search";
|
|
54
|
+
import { TreeComponent } from "@wm/components/basic/tree";
|
|
55
|
+
import { ButtonComponent } from "@wm/components/input/button";
|
|
56
|
+
import { ButtonGroupDirective } from "@wm/components/input/button-group";
|
|
57
|
+
import { CaptionPositionDirective } from "@wm/components/input/caption-position";
|
|
58
|
+
import { CheckboxComponent } from "@wm/components/input/checkbox";
|
|
59
|
+
import { CheckboxsetComponent } from "@wm/components/input/checkboxset";
|
|
60
|
+
import { CompositeDirective } from "@wm/components/input/composite";
|
|
61
|
+
import { NumberComponent } from "@wm/components/input/number";
|
|
62
|
+
import { RadiosetComponent } from "@wm/components/input/radioset";
|
|
63
|
+
import { SelectComponent } from "@wm/components/input/select";
|
|
64
|
+
import { SwitchComponent } from "@wm/components/input/switch";
|
|
65
|
+
import { InputCalendarComponent, InputColorComponent, InputEmailComponent, InputNumberComponent, InputTextComponent } from "@wm/components/input/text";
|
|
66
|
+
import { TextareaComponent } from "@wm/components/input/textarea";
|
|
67
|
+
import { CalendarComponent } from "@wm/components/input/calendar";
|
|
68
|
+
import { ChipsComponent } from "@wm/components/input/chips";
|
|
69
|
+
import { ColorPickerComponent } from "@wm/components/input/color-picker";
|
|
70
|
+
import { CurrencyComponent } from "@wm/components/input/currency";
|
|
71
|
+
import { DateComponent } from "@wm/components/input/epoch/date";
|
|
72
|
+
import { DatetimeComponent } from "@wm/components/input/epoch/date-time";
|
|
73
|
+
import { TimeComponent } from "@wm/components/input/epoch/time";
|
|
74
|
+
import { DateTimePickerComponent, TimePickerComponent } from "@wm/components/input/epoch/date-time-picker";
|
|
75
|
+
import { PickerComponent, PickerGroupComponent } from "@wm/components/input/epoch/picker";
|
|
76
|
+
import { FileUploadComponent } from "@wm/components/input/file-upload";
|
|
77
|
+
import { RatingComponent } from "@wm/components/input/rating";
|
|
78
|
+
import { SliderComponent } from "@wm/components/input/slider";
|
|
79
|
+
import { CardActionsDirective, CardComponent, CardContentComponent, CardFooterDirective } from "@wm/components/data/card";
|
|
80
|
+
import { DependsonDirective, FormActionDirective, FormComponent, FormFieldDirective, FormWidgetDirective, LiveActionsDirective, LiveFilterDirective, LiveFormDirective } from "@wm/components/data/form";
|
|
81
|
+
import { ListComponent, ListItemDirective } from "@wm/components/data/list";
|
|
82
|
+
import { LiveTableComponent } from "@wm/components/data/live-table";
|
|
83
|
+
import { PaginationComponent } from "@wm/components/data/pagination";
|
|
84
|
+
import { TableActionDirective, TableCUDDirective, TableColumnDirective, TableColumnGroupDirective, TableComponent, TableFilterSortDirective, TableRowActionDirective, TableRowDirective } from "@wm/components/data/table";
|
|
85
|
+
import { ChartComponent } from "@wm/components/chart";
|
|
86
|
+
import { AccordionDirective, AccordionPaneComponent } from "@wm/components/containers/accordion";
|
|
87
|
+
import { LinearLayoutDirective, LinearLayoutItemDirective } from "@wm/components/containers/linear-layout";
|
|
88
|
+
import { LayoutGridColumnDirective, LayoutGridRowDirective, LayoutgridDirective } from "@wm/components/containers/layout-grid";
|
|
89
|
+
import { PanelComponent } from "@wm/components/containers/panel";
|
|
90
|
+
import { TabPaneComponent, TabsComponent } from "@wm/components/containers/tabs";
|
|
91
|
+
import { TileDirective } from "@wm/components/containers/tile";
|
|
92
|
+
import { WizardActionDirective, WizardComponent, WizardStepComponent } from "@wm/components/containers/wizard";
|
|
93
|
+
import { AlertDialogComponent } from "@wm/components/dialogs/alert-dialog";
|
|
94
|
+
import { IframeDialogComponent } from "@wm/components/dialogs/iframe-dialog";
|
|
95
|
+
import { LoginDialogDirective } from "@wm/components/dialogs/login-dialog";
|
|
96
|
+
import { PartialDialogComponent } from "@wm/components/dialogs/partial-dialog";
|
|
97
|
+
import { BreadcrumbComponent } from "@wm/components/navigation/breadcrumb";
|
|
98
|
+
import { MenuComponent, MenuDropdownComponent, MenuDropdownItemComponent, NavComponent, NavItemDirective, NavigationControlDirective } from "@wm/components/navigation/menu";
|
|
99
|
+
import { NavbarComponent } from "@wm/components/navigation/navbar";
|
|
100
|
+
import { PopoverComponent } from "@wm/components/navigation/popover";
|
|
101
|
+
import { CarouselDirective, CarouselTemplateDirective } from "@wm/components/advanced/carousel";
|
|
102
|
+
import { LoginComponent } from "@wm/components/advanced/login";
|
|
103
|
+
import { MarqueeDirective } from "@wm/components/advanced/marquee";
|
|
104
|
+
import { CustomWidgetContainerDirective, CustomWidgetDirective } from "@wm/components/advanced/custom";
|
|
105
|
+
import { FooterDirective } from "@wm/components/page/footer";
|
|
106
|
+
import { HeaderComponent } from "@wm/components/page/header";
|
|
107
|
+
import { LeftPanelDirective } from "@wm/components/page/left-panel";
|
|
108
|
+
import { RightPanelDirective } from "@wm/components/page/right-panel";
|
|
109
|
+
import { TopNavDirective } from "@wm/components/page/top-nav";
|
|
110
|
+
var PageWrapperComponent = class PageWrapperComponent {
|
|
111
|
+
constructor(injector, envInjector, route, vcRef, appRef, metadataService, securityService, appManager, app, ngZone, elRef, spinnerService, componentRefProvider, router) {
|
|
112
|
+
this.injector = injector;
|
|
113
|
+
this.envInjector = envInjector;
|
|
114
|
+
this.route = route;
|
|
115
|
+
this.vcRef = vcRef;
|
|
116
|
+
this.appRef = appRef;
|
|
117
|
+
this.metadataService = metadataService;
|
|
118
|
+
this.securityService = securityService;
|
|
119
|
+
this.appManager = appManager;
|
|
120
|
+
this.app = app;
|
|
121
|
+
this.ngZone = ngZone;
|
|
122
|
+
this.elRef = elRef;
|
|
123
|
+
this.spinnerService = spinnerService;
|
|
124
|
+
this.componentRefProvider = componentRefProvider;
|
|
125
|
+
this.router = router;
|
|
126
|
+
}
|
|
127
|
+
getTargetNode() {
|
|
128
|
+
return this.elRef.nativeElement;
|
|
129
|
+
}
|
|
130
|
+
resetViewContainer() {
|
|
131
|
+
this.vcRef.clear();
|
|
132
|
+
const $target = this.getTargetNode();
|
|
133
|
+
$target.innerHTML = "";
|
|
134
|
+
}
|
|
135
|
+
renderPage(pageName) {
|
|
136
|
+
const $target = this.getTargetNode();
|
|
137
|
+
this.appManager.loadAppVariables().then(async () => {
|
|
138
|
+
const PageComponentClass = await this.componentRefProvider.getComponentFactoryRef(pageName, ComponentType.PAGE);
|
|
139
|
+
if (!PageComponentClass) {
|
|
140
|
+
console.error(`Failed to load page component: ${pageName}`);
|
|
141
|
+
BasePageComponent.clear();
|
|
142
|
+
return;
|
|
143
|
+
}
|
|
144
|
+
try {
|
|
145
|
+
const childInjector = Injector.create({
|
|
146
|
+
providers: [{
|
|
147
|
+
provide: ActivatedRoute,
|
|
148
|
+
useValue: this.route
|
|
149
|
+
}],
|
|
150
|
+
parent: this.injector
|
|
151
|
+
});
|
|
152
|
+
const componentRef = this.vcRef.createComponent(PageComponentClass, {
|
|
153
|
+
index: 0,
|
|
154
|
+
environmentInjector: this.envInjector,
|
|
155
|
+
injector: childInjector
|
|
156
|
+
});
|
|
157
|
+
this.instance = componentRef.instance;
|
|
158
|
+
$target.appendChild(componentRef.location.nativeElement);
|
|
159
|
+
if (this.vcRef.length > 1) this.vcRef.remove(1);
|
|
160
|
+
} catch (error) {
|
|
161
|
+
console.error(`Error creating page component ${pageName}:`, error);
|
|
162
|
+
BasePageComponent.clear();
|
|
163
|
+
}
|
|
164
|
+
}).catch((error) => {
|
|
165
|
+
console.error(`Error loading app variables for page ${pageName}:`, error);
|
|
166
|
+
BasePageComponent.clear();
|
|
167
|
+
});
|
|
168
|
+
}
|
|
169
|
+
renderPrefabPreviewPage() {
|
|
170
|
+
this.router.navigate(["prefab-preview"]);
|
|
171
|
+
}
|
|
172
|
+
loadPage(pageName) {
|
|
173
|
+
this.ngZone.run(() => {
|
|
174
|
+
if (pageName) this.renderPage(pageName);
|
|
175
|
+
});
|
|
176
|
+
}
|
|
177
|
+
ngOnInit() {
|
|
178
|
+
if (this.app.isPrefabType) this.renderPrefabPreviewPage();
|
|
179
|
+
else {
|
|
180
|
+
$(this.getTargetNode()).find(">div").first().remove();
|
|
181
|
+
this.subscription = this.route.params.subscribe(({ pageName }) => {
|
|
182
|
+
this.loadPage(pageName);
|
|
183
|
+
});
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
ngOnDestroy() {
|
|
187
|
+
this.vcRef.clear();
|
|
188
|
+
if (this.subscription) {
|
|
189
|
+
this.subscription.unsubscribe();
|
|
190
|
+
this.subscription = null;
|
|
191
|
+
}
|
|
192
|
+
this.instance = null;
|
|
193
|
+
}
|
|
194
|
+
ngOnAttach() {
|
|
195
|
+
this.getTargetNode().appendChild(this.instance.$page[0]);
|
|
196
|
+
this.instance.ngOnAttach();
|
|
197
|
+
}
|
|
198
|
+
ngOnDetach() {
|
|
199
|
+
this.instance.ngOnDetach();
|
|
200
|
+
}
|
|
201
|
+
static {
|
|
202
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
203
|
+
minVersion: "12.0.0",
|
|
204
|
+
version: "22.2.1",
|
|
205
|
+
ngImport: i0,
|
|
206
|
+
type: PageWrapperComponent,
|
|
207
|
+
deps: [
|
|
208
|
+
{ token: i0.Injector },
|
|
209
|
+
{ token: i0.EnvironmentInjector },
|
|
210
|
+
{ token: i1$1.ActivatedRoute },
|
|
211
|
+
{ token: i0.ViewContainerRef },
|
|
212
|
+
{ token: i0.ApplicationRef },
|
|
213
|
+
{ token: i2.MetadataService },
|
|
214
|
+
{ token: i3.SecurityService },
|
|
215
|
+
{ token: i4$1.AppManagerService },
|
|
216
|
+
{ token: i5.App },
|
|
217
|
+
{ token: i0.NgZone },
|
|
218
|
+
{ token: i0.ElementRef },
|
|
219
|
+
{ token: i5.AbstractSpinnerService },
|
|
220
|
+
{ token: i4$1.ComponentRefProvider },
|
|
221
|
+
{ token: i1$1.Router }
|
|
222
|
+
],
|
|
223
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
224
|
+
});
|
|
225
|
+
}
|
|
226
|
+
static {
|
|
227
|
+
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
228
|
+
minVersion: "14.0.0",
|
|
229
|
+
version: "22.2.1",
|
|
230
|
+
type: PageWrapperComponent,
|
|
231
|
+
isStandalone: true,
|
|
232
|
+
selector: "app-page-outlet",
|
|
233
|
+
ngImport: i0,
|
|
234
|
+
template: "<div></div>",
|
|
235
|
+
isInline: true,
|
|
236
|
+
changeDetection: i0.ChangeDetectionStrategy.Eager
|
|
237
|
+
});
|
|
238
|
+
}
|
|
239
|
+
};
|
|
240
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
241
|
+
minVersion: "12.0.0",
|
|
242
|
+
version: "22.2.1",
|
|
243
|
+
ngImport: i0,
|
|
244
|
+
type: PageWrapperComponent,
|
|
245
|
+
decorators: [{
|
|
246
|
+
type: Component,
|
|
247
|
+
args: [{
|
|
248
|
+
changeDetection: ChangeDetectionStrategy.Eager,
|
|
249
|
+
standalone: true,
|
|
250
|
+
selector: "app-page-outlet",
|
|
251
|
+
template: "<div></div>"
|
|
252
|
+
}]
|
|
253
|
+
}],
|
|
254
|
+
ctorParameters: () => [
|
|
255
|
+
{ type: i0.Injector },
|
|
256
|
+
{ type: i0.EnvironmentInjector },
|
|
257
|
+
{ type: i1$1.ActivatedRoute },
|
|
258
|
+
{ type: i0.ViewContainerRef },
|
|
259
|
+
{ type: i0.ApplicationRef },
|
|
260
|
+
{ type: i2.MetadataService },
|
|
261
|
+
{ type: i3.SecurityService },
|
|
262
|
+
{ type: i4$1.AppManagerService },
|
|
263
|
+
{ type: i5.App },
|
|
264
|
+
{ type: i0.NgZone },
|
|
265
|
+
{ type: i0.ElementRef },
|
|
266
|
+
{ type: i5.AbstractSpinnerService },
|
|
267
|
+
{ type: i4$1.ComponentRefProvider },
|
|
268
|
+
{ type: i1$1.Router }
|
|
269
|
+
]
|
|
270
|
+
});
|
|
230
271
|
const routes = [
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
272
|
+
{
|
|
273
|
+
path: "",
|
|
274
|
+
pathMatch: "full",
|
|
275
|
+
component: EmptyPageComponent
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
path: "prefab-preview",
|
|
279
|
+
pathMatch: "full",
|
|
280
|
+
component: PrefabPreviewComponent
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
path: ":pageName",
|
|
284
|
+
pathMatch: "full",
|
|
285
|
+
component: PageWrapperComponent,
|
|
286
|
+
canDeactivate: [CanDeactivatePageGuard]
|
|
287
|
+
}
|
|
247
288
|
];
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
}
|
|
348
|
-
i0.ɵɵ
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
289
|
+
var CustomwidgetConfigProviderService = class CustomwidgetConfigProviderService extends CustomwidgetConfigProvider {
|
|
290
|
+
constructor() {
|
|
291
|
+
super();
|
|
292
|
+
}
|
|
293
|
+
getConfig(widgetname) {
|
|
294
|
+
return new Promise((res, rej) => {
|
|
295
|
+
Promise.resolve(window["resourceCache"].get(`./custom-widgets/${widgetname}/page.min.json`)).then((pageInfo) => {
|
|
296
|
+
res(pageInfo.config);
|
|
297
|
+
});
|
|
298
|
+
});
|
|
299
|
+
}
|
|
300
|
+
static {
|
|
301
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
302
|
+
minVersion: "12.0.0",
|
|
303
|
+
version: "22.2.1",
|
|
304
|
+
ngImport: i0,
|
|
305
|
+
type: CustomwidgetConfigProviderService,
|
|
306
|
+
deps: [],
|
|
307
|
+
target: i0.ɵɵFactoryTarget.Injectable
|
|
308
|
+
});
|
|
309
|
+
}
|
|
310
|
+
static {
|
|
311
|
+
this.ɵprov = i0.ɵɵngDeclareInjectable({
|
|
312
|
+
minVersion: "12.0.0",
|
|
313
|
+
version: "22.2.1",
|
|
314
|
+
ngImport: i0,
|
|
315
|
+
type: CustomwidgetConfigProviderService
|
|
316
|
+
});
|
|
317
|
+
}
|
|
318
|
+
};
|
|
319
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
320
|
+
minVersion: "12.0.0",
|
|
321
|
+
version: "22.2.1",
|
|
322
|
+
ngImport: i0,
|
|
323
|
+
type: CustomwidgetConfigProviderService,
|
|
324
|
+
decorators: [{ type: Injectable }],
|
|
325
|
+
ctorParameters: () => []
|
|
326
|
+
});
|
|
327
|
+
var AppJSProviderService = class AppJSProviderService extends AppJSProvider {
|
|
328
|
+
constructor($http) {
|
|
329
|
+
super();
|
|
330
|
+
this.$http = $http;
|
|
331
|
+
}
|
|
332
|
+
getAppScriptFn() {
|
|
333
|
+
return this.$http.get("./app.js", { responseType: "text" }).toPromise().then((script) => new Function("App", "Utils", "Injector", script));
|
|
334
|
+
}
|
|
335
|
+
static {
|
|
336
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
337
|
+
minVersion: "12.0.0",
|
|
338
|
+
version: "22.2.1",
|
|
339
|
+
ngImport: i0,
|
|
340
|
+
type: AppJSProviderService,
|
|
341
|
+
deps: [{ token: i1.HttpClient }],
|
|
342
|
+
target: i0.ɵɵFactoryTarget.Injectable
|
|
343
|
+
});
|
|
344
|
+
}
|
|
345
|
+
static {
|
|
346
|
+
this.ɵprov = i0.ɵɵngDeclareInjectable({
|
|
347
|
+
minVersion: "12.0.0",
|
|
348
|
+
version: "22.2.1",
|
|
349
|
+
ngImport: i0,
|
|
350
|
+
type: AppJSProviderService,
|
|
351
|
+
providedIn: "root"
|
|
352
|
+
});
|
|
353
|
+
}
|
|
354
|
+
};
|
|
355
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
356
|
+
minVersion: "12.0.0",
|
|
357
|
+
version: "22.2.1",
|
|
358
|
+
ngImport: i0,
|
|
359
|
+
type: AppJSProviderService,
|
|
360
|
+
decorators: [{
|
|
361
|
+
type: Injectable,
|
|
362
|
+
args: [{ providedIn: "root" }]
|
|
363
|
+
}],
|
|
364
|
+
ctorParameters: () => [{ type: i1.HttpClient }]
|
|
365
|
+
});
|
|
366
|
+
const cache$1 = /* @__PURE__ */ new Map();
|
|
367
|
+
var AppResourceManagerService = class AppResourceManagerService {
|
|
368
|
+
get(url, useCache) {
|
|
369
|
+
const cachedResponse = cache$1.get(url);
|
|
370
|
+
if (cachedResponse) return Promise.resolve(cachedResponse);
|
|
371
|
+
return this.$http.get(url).then((response) => {
|
|
372
|
+
if (useCache) cache$1.set(url, response);
|
|
373
|
+
return response;
|
|
374
|
+
});
|
|
375
|
+
}
|
|
376
|
+
clearCache() {
|
|
377
|
+
cache$1.clear();
|
|
378
|
+
}
|
|
379
|
+
constructor($http) {
|
|
380
|
+
this.$http = $http;
|
|
381
|
+
}
|
|
382
|
+
static {
|
|
383
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
384
|
+
minVersion: "12.0.0",
|
|
385
|
+
version: "22.2.1",
|
|
386
|
+
ngImport: i0,
|
|
387
|
+
type: AppResourceManagerService,
|
|
388
|
+
deps: [{ token: i5.AbstractHttpService }],
|
|
389
|
+
target: i0.ɵɵFactoryTarget.Injectable
|
|
390
|
+
});
|
|
391
|
+
}
|
|
392
|
+
static {
|
|
393
|
+
this.ɵprov = i0.ɵɵngDeclareInjectable({
|
|
394
|
+
minVersion: "12.0.0",
|
|
395
|
+
version: "22.2.1",
|
|
396
|
+
ngImport: i0,
|
|
397
|
+
type: AppResourceManagerService
|
|
398
|
+
});
|
|
399
|
+
}
|
|
400
|
+
};
|
|
401
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
402
|
+
minVersion: "12.0.0",
|
|
403
|
+
version: "22.2.1",
|
|
404
|
+
ngImport: i0,
|
|
405
|
+
type: AppResourceManagerService,
|
|
406
|
+
decorators: [{ type: Injectable }],
|
|
407
|
+
ctorParameters: () => [{ type: i5.AbstractHttpService }]
|
|
408
|
+
});
|
|
409
|
+
var AppVariablesProviderService = class AppVariablesProviderService extends AppVariablesProvider {
|
|
410
|
+
constructor(resourceManager, app) {
|
|
411
|
+
super();
|
|
412
|
+
this.resourceManager = resourceManager;
|
|
413
|
+
this.app = app;
|
|
414
|
+
}
|
|
415
|
+
async getAppVariables() {
|
|
416
|
+
return this.app.isPrefabType ? {} : this.resourceManager.get("./app.variables.json");
|
|
417
|
+
}
|
|
418
|
+
static {
|
|
419
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
420
|
+
minVersion: "12.0.0",
|
|
421
|
+
version: "22.2.1",
|
|
422
|
+
ngImport: i0,
|
|
423
|
+
type: AppVariablesProviderService,
|
|
424
|
+
deps: [{ token: AppResourceManagerService }, { token: i5.App }],
|
|
425
|
+
target: i0.ɵɵFactoryTarget.Injectable
|
|
426
|
+
});
|
|
427
|
+
}
|
|
428
|
+
static {
|
|
429
|
+
this.ɵprov = i0.ɵɵngDeclareInjectable({
|
|
430
|
+
minVersion: "12.0.0",
|
|
431
|
+
version: "22.2.1",
|
|
432
|
+
ngImport: i0,
|
|
433
|
+
type: AppVariablesProviderService,
|
|
434
|
+
providedIn: "root"
|
|
435
|
+
});
|
|
436
|
+
}
|
|
437
|
+
};
|
|
438
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
439
|
+
minVersion: "12.0.0",
|
|
440
|
+
version: "22.2.1",
|
|
441
|
+
ngImport: i0,
|
|
442
|
+
type: AppVariablesProviderService,
|
|
443
|
+
decorators: [{
|
|
444
|
+
type: Injectable,
|
|
445
|
+
args: [{ providedIn: "root" }]
|
|
446
|
+
}],
|
|
447
|
+
ctorParameters: () => [{ type: AppResourceManagerService }, { type: i5.App }]
|
|
448
|
+
});
|
|
449
|
+
var AppExtensionProviderService = class AppExtensionProviderService extends AppExtensionProvider {
|
|
450
|
+
loadFormatterConfigScript(callback) {
|
|
451
|
+
try {
|
|
452
|
+
appendScriptToHead(callback);
|
|
453
|
+
} catch (e) {
|
|
454
|
+
console.warn("Error while loading the formatters.js file");
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
static {
|
|
458
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
459
|
+
minVersion: "12.0.0",
|
|
460
|
+
version: "22.2.1",
|
|
461
|
+
ngImport: i0,
|
|
462
|
+
type: AppExtensionProviderService,
|
|
463
|
+
deps: null,
|
|
464
|
+
target: i0.ɵɵFactoryTarget.Injectable
|
|
465
|
+
});
|
|
466
|
+
}
|
|
467
|
+
static {
|
|
468
|
+
this.ɵprov = i0.ɵɵngDeclareInjectable({
|
|
469
|
+
minVersion: "12.0.0",
|
|
470
|
+
version: "22.2.1",
|
|
471
|
+
ngImport: i0,
|
|
472
|
+
type: AppExtensionProviderService,
|
|
473
|
+
providedIn: "root"
|
|
474
|
+
});
|
|
475
|
+
}
|
|
476
|
+
};
|
|
477
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
478
|
+
minVersion: "12.0.0",
|
|
479
|
+
version: "22.2.1",
|
|
480
|
+
ngImport: i0,
|
|
481
|
+
type: AppExtensionProviderService,
|
|
482
|
+
decorators: [{
|
|
483
|
+
type: Injectable,
|
|
484
|
+
args: [{ providedIn: "root" }]
|
|
485
|
+
}]
|
|
486
|
+
});
|
|
487
|
+
const fragmentCache = /* @__PURE__ */ new Map();
|
|
488
|
+
const componentCache = /* @__PURE__ */ new Map([
|
|
489
|
+
[ComponentType.PAGE, /* @__PURE__ */ new Map()],
|
|
490
|
+
[ComponentType.PARTIAL, /* @__PURE__ */ new Map()],
|
|
491
|
+
[ComponentType.PREFAB, /* @__PURE__ */ new Map()],
|
|
492
|
+
[ComponentType.WIDGET, /* @__PURE__ */ new Map()]
|
|
362
493
|
]);
|
|
363
|
-
const scriptCache = new Map();
|
|
494
|
+
const scriptCache = /* @__PURE__ */ new Map();
|
|
364
495
|
window.resourceCache = fragmentCache;
|
|
365
|
-
// ==================== Utilities ====================
|
|
366
496
|
const decode = (str) => {
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
}
|
|
497
|
+
try {
|
|
498
|
+
return decodeURIComponent(str.replace(/\+/g, " "));
|
|
499
|
+
} catch {
|
|
500
|
+
return str;
|
|
501
|
+
}
|
|
373
502
|
};
|
|
374
503
|
const getUrl = (name, type, options) => {
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
}
|
|
378
|
-
return type === ComponentType.PREFAB ? getPrefabMinJsonUrl(name) : `./custom-widgets/${name}/page.min.json`;
|
|
504
|
+
if (type === ComponentType.PAGE || type === ComponentType.PARTIAL) return options?.prefab ? getPrefabPartialJsonUrl(options.prefab, name) : `./pages/${name}/page.min.json`;
|
|
505
|
+
return type === ComponentType.PREFAB ? getPrefabMinJsonUrl(name) : `./custom-widgets/${name}/page.min.json`;
|
|
379
506
|
};
|
|
380
507
|
const execScript = (script, id, ctx, instance, app, utils) => {
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
508
|
+
let fn = scriptCache.get(id);
|
|
509
|
+
if (ctx === "Partial" && !isUndefined(instance.Prefab) || !fn) {
|
|
510
|
+
fn = new Function(ctx, "App", "Utils", script);
|
|
511
|
+
scriptCache.set(id, fn);
|
|
512
|
+
}
|
|
513
|
+
fn(instance, app, utils);
|
|
387
514
|
};
|
|
388
|
-
// ==================== Component Imports ====================
|
|
389
515
|
const IMPORTS = [
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
516
|
+
...REQUIRED_MODULES_FOR_DYNAMIC_COMPONENTS,
|
|
517
|
+
CommonModule,
|
|
518
|
+
FormsModule,
|
|
519
|
+
ReactiveFormsModule,
|
|
520
|
+
PartialDirective,
|
|
521
|
+
PageDirective,
|
|
522
|
+
AccessrolesDirective,
|
|
523
|
+
AppSpinnerComponent,
|
|
524
|
+
CustomToasterComponent,
|
|
525
|
+
AppComponent,
|
|
526
|
+
PrefabDirective,
|
|
527
|
+
PrefabPreviewComponent,
|
|
528
|
+
EmptyPageComponent,
|
|
529
|
+
LayoutDirective,
|
|
530
|
+
ContentComponent,
|
|
531
|
+
PageContentComponent,
|
|
532
|
+
SpaPageDirective,
|
|
533
|
+
RouterOutletDirective,
|
|
534
|
+
ProgressBarComponent,
|
|
535
|
+
PrefabContainerDirective
|
|
395
536
|
];
|
|
396
|
-
// ==================== Component Factory ====================
|
|
397
537
|
const CONFIG_MAP = {
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
538
|
+
[ComponentType.PAGE]: {
|
|
539
|
+
Base: BasePageComponent,
|
|
540
|
+
prefix: "app-page-",
|
|
541
|
+
ctx: "Page"
|
|
542
|
+
},
|
|
543
|
+
[ComponentType.PARTIAL]: {
|
|
544
|
+
Base: BasePartialComponent,
|
|
545
|
+
prefix: "app-partial-",
|
|
546
|
+
ctx: "Partial"
|
|
547
|
+
},
|
|
548
|
+
[ComponentType.PREFAB]: {
|
|
549
|
+
Base: BasePrefabComponent,
|
|
550
|
+
prefix: "app-prefab-",
|
|
551
|
+
ctx: "Prefab"
|
|
552
|
+
},
|
|
553
|
+
[ComponentType.WIDGET]: {
|
|
554
|
+
Base: BaseCustomWidgetComponent,
|
|
555
|
+
prefix: "app-custom-",
|
|
556
|
+
ctx: "Widget"
|
|
557
|
+
}
|
|
402
558
|
};
|
|
403
559
|
const createComponent = (name, type, template, css, script, variables) => {
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
standalone: true,
|
|
448
|
-
imports: [...IMPORTS],
|
|
449
|
-
providers: [{ provide: UserDefinedExecutionContext, useExisting: DynamicComponent }],
|
|
450
|
-
schemas: [CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA]
|
|
451
|
-
})(DynamicComponent);
|
|
560
|
+
const { Base, prefix, ctx } = CONFIG_MAP[type];
|
|
561
|
+
const selector = prefix + name;
|
|
562
|
+
let DynamicComponent = class DynamicComponent extends Base {
|
|
563
|
+
constructor(injector) {
|
|
564
|
+
super();
|
|
565
|
+
this.injector = injector;
|
|
566
|
+
this.isDynamicComponent = true;
|
|
567
|
+
this.injector = injector;
|
|
568
|
+
if (type === ComponentType.PAGE) this.pageName = name;
|
|
569
|
+
else if (type === ComponentType.PARTIAL) this.partialName = name;
|
|
570
|
+
else if (type === ComponentType.PREFAB) this.prefabName = name;
|
|
571
|
+
else this.customWidgetName = name;
|
|
572
|
+
super.init();
|
|
573
|
+
}
|
|
574
|
+
evalUserScript(instance, app, utils) {
|
|
575
|
+
execScript(script, selector, ctx, instance, app, utils);
|
|
576
|
+
}
|
|
577
|
+
getVariables() {
|
|
578
|
+
try {
|
|
579
|
+
return JSON.parse(variables) || {};
|
|
580
|
+
} catch {
|
|
581
|
+
return {};
|
|
582
|
+
}
|
|
583
|
+
}
|
|
584
|
+
getExpressions() {
|
|
585
|
+
return {};
|
|
586
|
+
}
|
|
587
|
+
};
|
|
588
|
+
DynamicComponent = __decorate([__param(0, Inject(Injector)), __metadata("design:paramtypes", [Injector])], DynamicComponent);
|
|
589
|
+
return Component({
|
|
590
|
+
template,
|
|
591
|
+
styles: [css],
|
|
592
|
+
encapsulation: ViewEncapsulation.None,
|
|
593
|
+
selector,
|
|
594
|
+
standalone: true,
|
|
595
|
+
changeDetection: ChangeDetectionStrategy.Eager,
|
|
596
|
+
imports: [...IMPORTS],
|
|
597
|
+
providers: [{
|
|
598
|
+
provide: UserDefinedExecutionContext,
|
|
599
|
+
useExisting: DynamicComponent
|
|
600
|
+
}],
|
|
601
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA]
|
|
602
|
+
})(DynamicComponent);
|
|
452
603
|
};
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
type: Injectable
|
|
583
|
-
}], ctorParameters: () => [{ type: AppResourceManagerService }] });
|
|
584
|
-
|
|
585
|
-
const wmModules = [
|
|
586
|
-
importProvidersFrom(ModalModule, ToastNoAnimationModule.forRoot({ maxOpened: 1, autoDismiss: true }), BsDatepickerModule, NgCircleProgressModule)
|
|
587
|
-
];
|
|
604
|
+
var ComponentRefProviderService = class ComponentRefProviderService extends ComponentRefProvider {
|
|
605
|
+
constructor() {
|
|
606
|
+
super();
|
|
607
|
+
this.cache = /* @__PURE__ */ new Map();
|
|
608
|
+
this.app = inject(App);
|
|
609
|
+
this.appManager = inject(AppManagerService);
|
|
610
|
+
this.resourceMngr = inject(AppResourceManagerService);
|
|
611
|
+
}
|
|
612
|
+
async loadFragment(name, type, options) {
|
|
613
|
+
const url = getUrl(name, type, options);
|
|
614
|
+
if (fragmentCache.has(url)) return fragmentCache.get(url);
|
|
615
|
+
const loadPromise = (async () => {
|
|
616
|
+
try {
|
|
617
|
+
const rawData = type === ComponentType.WIDGET && !customWidgets[name] || type !== ComponentType.WIDGET ? await this.resourceMngr.get(url, true) : customWidgets[name];
|
|
618
|
+
return {
|
|
619
|
+
markup: transpile(decode(rawData.markup)).markup,
|
|
620
|
+
script: decode(rawData.script),
|
|
621
|
+
styles: scopeComponentStyles(name, type, decode(rawData.styles)),
|
|
622
|
+
variables: getValidJSON(decode(rawData.variables)),
|
|
623
|
+
...rawData.config && { config: getValidJSON(decode(rawData.config)) }
|
|
624
|
+
};
|
|
625
|
+
} catch (err) {
|
|
626
|
+
const status = err?.details?.status;
|
|
627
|
+
throw {
|
|
628
|
+
404: this.app.appLocale?.MESSAGE_PAGE_NOT_FOUND || "Page not available",
|
|
629
|
+
403: this.app.appLocale?.LABEL_ACCESS_DENIED || "Access Denied"
|
|
630
|
+
}[status] || "Unknown error loading component";
|
|
631
|
+
}
|
|
632
|
+
})();
|
|
633
|
+
fragmentCache.set(url, loadPromise);
|
|
634
|
+
return loadPromise;
|
|
635
|
+
}
|
|
636
|
+
async getComponentFactoryRef(name, type, options) {
|
|
637
|
+
const cacheKey = options?.prefab ? `${options.prefab}${name}` : name;
|
|
638
|
+
const fullKey = `${type}-${cacheKey}`;
|
|
639
|
+
const typeCache = componentCache.get(type);
|
|
640
|
+
if (typeCache?.has(cacheKey)) return typeCache.get(cacheKey);
|
|
641
|
+
if (this.cache.has(fullKey)) return this.cache.get(fullKey);
|
|
642
|
+
try {
|
|
643
|
+
const { markup, script, styles, variables } = await this.loadFragment(name, type, options);
|
|
644
|
+
const ComponentClass = createComponent(name, type, markup, styles, script, JSON.stringify(variables));
|
|
645
|
+
this.cache.set(fullKey, ComponentClass);
|
|
646
|
+
typeCache?.set(cacheKey, ComponentClass);
|
|
647
|
+
return ComponentClass;
|
|
648
|
+
} catch (err) {
|
|
649
|
+
const errorMsg = isString(err) ? err : "Error loading component, check console";
|
|
650
|
+
console.error(`Failed to load ${type} component '${name}':`, err);
|
|
651
|
+
this.appManager.notifyApp(errorMsg, "error");
|
|
652
|
+
return;
|
|
653
|
+
}
|
|
654
|
+
}
|
|
655
|
+
clearComponentFactoryRefCache() {
|
|
656
|
+
this.resourceMngr.clearCache();
|
|
657
|
+
fragmentCache.clear();
|
|
658
|
+
this.cache.clear();
|
|
659
|
+
componentCache.forEach((m) => m.clear());
|
|
660
|
+
}
|
|
661
|
+
static {
|
|
662
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
663
|
+
minVersion: "12.0.0",
|
|
664
|
+
version: "22.2.1",
|
|
665
|
+
ngImport: i0,
|
|
666
|
+
type: ComponentRefProviderService,
|
|
667
|
+
deps: [],
|
|
668
|
+
target: i0.ɵɵFactoryTarget.Injectable
|
|
669
|
+
});
|
|
670
|
+
}
|
|
671
|
+
static {
|
|
672
|
+
this.ɵprov = i0.ɵɵngDeclareInjectable({
|
|
673
|
+
minVersion: "12.0.0",
|
|
674
|
+
version: "22.2.1",
|
|
675
|
+
ngImport: i0,
|
|
676
|
+
type: ComponentRefProviderService
|
|
677
|
+
});
|
|
678
|
+
}
|
|
679
|
+
};
|
|
680
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
681
|
+
minVersion: "12.0.0",
|
|
682
|
+
version: "22.2.1",
|
|
683
|
+
ngImport: i0,
|
|
684
|
+
type: ComponentRefProviderService,
|
|
685
|
+
decorators: [{ type: Injectable }],
|
|
686
|
+
ctorParameters: () => []
|
|
687
|
+
});
|
|
688
|
+
const cache = /* @__PURE__ */ new Map();
|
|
689
|
+
var PrefabConfigProviderService = class PrefabConfigProviderService extends PrefabConfigProvider {
|
|
690
|
+
constructor(resourceMngr) {
|
|
691
|
+
super();
|
|
692
|
+
this.resourceMngr = resourceMngr;
|
|
693
|
+
}
|
|
694
|
+
getConfig(prefabName) {
|
|
695
|
+
const config = cache.get(prefabName);
|
|
696
|
+
if (config) return Promise.resolve(config);
|
|
697
|
+
return this.resourceMngr.get(getPrefabConfigUrl(prefabName)).then((_config) => {
|
|
698
|
+
cache.set(prefabName, _config);
|
|
699
|
+
return _config;
|
|
700
|
+
});
|
|
701
|
+
}
|
|
702
|
+
static {
|
|
703
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
704
|
+
minVersion: "12.0.0",
|
|
705
|
+
version: "22.2.1",
|
|
706
|
+
ngImport: i0,
|
|
707
|
+
type: PrefabConfigProviderService,
|
|
708
|
+
deps: [{ token: AppResourceManagerService }],
|
|
709
|
+
target: i0.ɵɵFactoryTarget.Injectable
|
|
710
|
+
});
|
|
711
|
+
}
|
|
712
|
+
static {
|
|
713
|
+
this.ɵprov = i0.ɵɵngDeclareInjectable({
|
|
714
|
+
minVersion: "12.0.0",
|
|
715
|
+
version: "22.2.1",
|
|
716
|
+
ngImport: i0,
|
|
717
|
+
type: PrefabConfigProviderService
|
|
718
|
+
});
|
|
719
|
+
}
|
|
720
|
+
};
|
|
721
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
722
|
+
minVersion: "12.0.0",
|
|
723
|
+
version: "22.2.1",
|
|
724
|
+
ngImport: i0,
|
|
725
|
+
type: PrefabConfigProviderService,
|
|
726
|
+
decorators: [{ type: Injectable }],
|
|
727
|
+
ctorParameters: () => [{ type: AppResourceManagerService }]
|
|
728
|
+
});
|
|
729
|
+
const wmModules = [importProvidersFrom(ModalModule, ToastNoAnimationModule.forRoot({
|
|
730
|
+
maxOpened: 1,
|
|
731
|
+
autoDismiss: true
|
|
732
|
+
}), BsDatepickerModule, NgCircleProgressModule)];
|
|
588
733
|
const WM_XHR_FACTORY = { build: () => new XMLHttpRequest() };
|
|
589
734
|
const xsrfHeaderName$1 = getWmProjectProperties().xsrf_header_name || "X-WM-XSRF-TOKEN";
|
|
590
735
|
const initializeProjectDetails = () => {
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
_WM_APP_PROJECT.ngDest = 'ng-bundle/';
|
|
603
|
-
try {
|
|
604
|
-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
605
|
-
//@ts-ignore
|
|
606
|
-
__webpack_require__.p = __webpack_public_path__ = cdnUrl;
|
|
607
|
-
}
|
|
608
|
-
catch (e) {
|
|
609
|
-
//for app preview there is no webpack. Don't do anything.
|
|
610
|
-
}
|
|
736
|
+
let cdnUrl = document.querySelector("[name=\"deployUrl\"]")?.getAttribute("content");
|
|
737
|
+
_WM_APP_PROJECT.isPreview = cdnUrl ? false : true;
|
|
738
|
+
const apiUrl = document.querySelector("[name=\"apiUrl\"]")?.getAttribute("content");
|
|
739
|
+
if (!cdnUrl) cdnUrl = document.querySelector("[name=\"cdnUrl\"]")?.getAttribute("content");
|
|
740
|
+
_WM_APP_PROJECT.id = location.href.split("/")[3];
|
|
741
|
+
_WM_APP_PROJECT.apiUrl = apiUrl || "./";
|
|
742
|
+
_WM_APP_PROJECT.cdnUrl = cdnUrl || "ng-bundle/";
|
|
743
|
+
_WM_APP_PROJECT.ngDest = "ng-bundle/";
|
|
744
|
+
try {
|
|
745
|
+
__webpack_require__.p = __webpack_public_path__ = cdnUrl;
|
|
746
|
+
} catch (e) {}
|
|
611
747
|
};
|
|
612
748
|
function InitializeApp(I18nService, AppJSResolve, AppBeforeLoadResolve, AppVariablesResolve, AppExtensionJSResolve, PipeService) {
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
749
|
+
return async () => {
|
|
750
|
+
initializeProjectDetails();
|
|
751
|
+
await AppJSResolve.resolve();
|
|
752
|
+
await AppVariablesResolve.resolve();
|
|
753
|
+
await AppExtensionJSResolve.resolve();
|
|
754
|
+
await I18nService.loadDefaultLocale();
|
|
755
|
+
return AppBeforeLoadResolve.resolve();
|
|
756
|
+
};
|
|
621
757
|
}
|
|
622
758
|
function setAngularLocale(I18nService) {
|
|
623
|
-
|
|
624
|
-
|
|
759
|
+
initializeProjectDetails();
|
|
760
|
+
return I18nService.deduceAppLocale();
|
|
625
761
|
}
|
|
626
|
-
const appConfig = {
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
}
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
762
|
+
const appConfig = { providers: [
|
|
763
|
+
provideZoneChangeDetection({
|
|
764
|
+
eventCoalescing: true,
|
|
765
|
+
runCoalescing: true
|
|
766
|
+
}),
|
|
767
|
+
{
|
|
768
|
+
provide: HTTP_INTERCEPTORS,
|
|
769
|
+
useClass: HttpCallInterceptor,
|
|
770
|
+
multi: true
|
|
771
|
+
},
|
|
772
|
+
provideRouter(routes, withHashLocation(), withComponentInputBinding(), withRouterConfig({ paramsInheritanceStrategy: "emptyOnly" })),
|
|
773
|
+
provideAnimations(),
|
|
774
|
+
{
|
|
775
|
+
provide: XhrFactory,
|
|
776
|
+
useValue: WM_XHR_FACTORY
|
|
777
|
+
},
|
|
778
|
+
provideHttpClient(withXhr(), withInterceptorsFromDi(), withXsrfConfiguration({
|
|
779
|
+
cookieName: "wm_xsrf_token",
|
|
780
|
+
headerName: xsrfHeaderName$1
|
|
781
|
+
})),
|
|
782
|
+
{
|
|
783
|
+
provide: HttpXhrBackend,
|
|
784
|
+
useFactory: () => new HttpXhrBackend(WM_XHR_FACTORY)
|
|
785
|
+
},
|
|
786
|
+
{
|
|
787
|
+
provide: RendererFactory2,
|
|
788
|
+
useClass: WMDomRendererFactory2
|
|
789
|
+
},
|
|
790
|
+
{
|
|
791
|
+
provide: AbstractHttpService,
|
|
792
|
+
useClass: HttpServiceImpl
|
|
793
|
+
},
|
|
794
|
+
{
|
|
795
|
+
provide: App,
|
|
796
|
+
useClass: AppRef
|
|
797
|
+
},
|
|
798
|
+
{
|
|
799
|
+
provide: AbstractToasterService,
|
|
800
|
+
useClass: ToasterServiceImpl
|
|
801
|
+
},
|
|
802
|
+
{
|
|
803
|
+
provide: AbstractI18nService,
|
|
804
|
+
useClass: I18nServiceImpl
|
|
805
|
+
},
|
|
806
|
+
{
|
|
807
|
+
provide: AbstractSpinnerService,
|
|
808
|
+
useClass: SpinnerServiceImpl
|
|
809
|
+
},
|
|
810
|
+
{
|
|
811
|
+
provide: AbstractNavigationService,
|
|
812
|
+
useClass: NavigationServiceImpl
|
|
813
|
+
},
|
|
814
|
+
{
|
|
815
|
+
provide: AbstractDialogService,
|
|
816
|
+
useClass: DialogServiceImpl
|
|
817
|
+
},
|
|
818
|
+
{
|
|
819
|
+
provide: AppDefaults,
|
|
820
|
+
useClass: AppDefaultsService
|
|
821
|
+
},
|
|
822
|
+
{
|
|
823
|
+
provide: DynamicComponentRefProvider,
|
|
824
|
+
useClass: DynamicComponentRefProviderService
|
|
825
|
+
},
|
|
826
|
+
{
|
|
827
|
+
provide: AppJSProvider,
|
|
828
|
+
useClass: AppJSProviderService
|
|
829
|
+
},
|
|
830
|
+
{
|
|
831
|
+
provide: AppVariablesProvider,
|
|
832
|
+
useClass: AppVariablesProviderService
|
|
833
|
+
},
|
|
834
|
+
{
|
|
835
|
+
provide: AppExtensionProvider,
|
|
836
|
+
useClass: AppExtensionProviderService
|
|
837
|
+
},
|
|
838
|
+
{
|
|
839
|
+
provide: ComponentRefProvider,
|
|
840
|
+
useClass: ComponentRefProviderService
|
|
841
|
+
},
|
|
842
|
+
{
|
|
843
|
+
provide: PartialRefProvider,
|
|
844
|
+
useClass: ComponentRefProviderService
|
|
845
|
+
},
|
|
846
|
+
{
|
|
847
|
+
provide: CustomWidgetRefProvider,
|
|
848
|
+
useClass: ComponentRefProviderService
|
|
849
|
+
},
|
|
850
|
+
{
|
|
851
|
+
provide: CustomwidgetConfigProvider,
|
|
852
|
+
useClass: CustomwidgetConfigProviderService
|
|
853
|
+
},
|
|
854
|
+
{
|
|
855
|
+
provide: PrefabConfigProvider,
|
|
856
|
+
useClass: PrefabConfigProviderService
|
|
857
|
+
},
|
|
858
|
+
{
|
|
859
|
+
provide: RouteReuseStrategy,
|
|
860
|
+
useClass: WmRouteReuseStrategy
|
|
861
|
+
},
|
|
862
|
+
AppResourceManagerService,
|
|
863
|
+
PipeService,
|
|
864
|
+
CustomIconsLoaderService,
|
|
865
|
+
Viewport,
|
|
866
|
+
DecimalPipe,
|
|
867
|
+
SanitizePipe,
|
|
868
|
+
ToDatePipe,
|
|
869
|
+
FilterPipe,
|
|
870
|
+
TrailingZeroDecimalPipe,
|
|
871
|
+
TrustAsPipe,
|
|
872
|
+
ImagePipe,
|
|
873
|
+
CustomPipe,
|
|
874
|
+
Location,
|
|
875
|
+
DatePipe,
|
|
876
|
+
AppManagerService,
|
|
877
|
+
PrefabManagerService,
|
|
878
|
+
AuthGuard,
|
|
879
|
+
RoleGuard,
|
|
880
|
+
PageNotFoundGuard,
|
|
881
|
+
CanDeactivatePageGuard,
|
|
882
|
+
AppJSResolve,
|
|
883
|
+
AppVariablesResolve,
|
|
884
|
+
AppExtensionJSResolve,
|
|
885
|
+
I18nResolve,
|
|
886
|
+
AppBeforeLoadResolve,
|
|
887
|
+
SecurityService,
|
|
888
|
+
OAuthService,
|
|
889
|
+
VariablesService,
|
|
890
|
+
MetadataService,
|
|
891
|
+
{
|
|
892
|
+
provide: MAX_CACHE_SIZE,
|
|
893
|
+
useValue: 10
|
|
894
|
+
},
|
|
895
|
+
{
|
|
896
|
+
provide: MAX_CACHE_AGE,
|
|
897
|
+
useValue: 1800
|
|
898
|
+
},
|
|
899
|
+
...wmModules,
|
|
900
|
+
{
|
|
901
|
+
provide: APP_INITIALIZER,
|
|
902
|
+
useFactory: InitializeApp,
|
|
903
|
+
deps: [
|
|
904
|
+
AbstractI18nService,
|
|
905
|
+
AppJSResolve,
|
|
906
|
+
AppBeforeLoadResolve,
|
|
907
|
+
AppVariablesResolve,
|
|
908
|
+
AppExtensionJSResolve,
|
|
909
|
+
PipeService
|
|
910
|
+
],
|
|
911
|
+
multi: true
|
|
912
|
+
},
|
|
913
|
+
{
|
|
914
|
+
provide: LOCALE_ID,
|
|
915
|
+
useFactory: setAngularLocale,
|
|
916
|
+
deps: [AbstractI18nService]
|
|
917
|
+
}
|
|
918
|
+
] };
|
|
919
|
+
const DEBUG_MODE = "debugMode";
|
|
920
|
+
if (sessionStorage.getItem(DEBUG_MODE) !== "true") enableProdMode();
|
|
921
|
+
console.time("bootstrap");
|
|
922
|
+
document.addEventListener("DOMContentLoaded", () => {
|
|
923
|
+
new Promise((resolve) => {
|
|
924
|
+
resolve();
|
|
925
|
+
}).then(() => bootstrapApplication(AppComponent, appConfig)).then((appRef) => {
|
|
926
|
+
window.addEventListener("unload", () => {
|
|
927
|
+
appRef.components.forEach((c) => c?.destroy());
|
|
928
|
+
});
|
|
929
|
+
}).catch((err) => console.error("Error bootstrapping app:", err));
|
|
729
930
|
});
|
|
730
|
-
window.debugMode = function
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
sessionStorage.setItem(DEBUG_MODE, value);
|
|
737
|
-
window.location.reload();
|
|
738
|
-
}
|
|
931
|
+
window.debugMode = function(on = true) {
|
|
932
|
+
const value = on ? "true" : "false";
|
|
933
|
+
if (sessionStorage.getItem(DEBUG_MODE) !== value) {
|
|
934
|
+
sessionStorage.setItem(DEBUG_MODE, value);
|
|
935
|
+
window.location.reload();
|
|
936
|
+
}
|
|
739
937
|
};
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
938
|
+
const routerModule = RouterModule.forRoot(routes, {
|
|
939
|
+
useHash: true,
|
|
940
|
+
scrollPositionRestoration: "top"
|
|
941
|
+
});
|
|
942
|
+
const toastrModule = ToastNoAnimationModule.forRoot({
|
|
943
|
+
maxOpened: 1,
|
|
944
|
+
autoDismiss: true
|
|
945
|
+
});
|
|
746
946
|
const xsrfHeaderName = getWmProjectProperties().xsrf_header_name;
|
|
747
|
-
const xsrfOptions = {
|
|
748
|
-
|
|
749
|
-
};
|
|
750
|
-
if (xsrfHeaderName) {
|
|
751
|
-
xsrfOptions['headerName'] = xsrfHeaderName;
|
|
752
|
-
}
|
|
947
|
+
const xsrfOptions = { cookieName: "wm_xsrf_token" };
|
|
948
|
+
if (xsrfHeaderName) xsrfOptions["headerName"] = xsrfHeaderName;
|
|
753
949
|
const httpClientXsrfModule = HttpClientXsrfModule.withOptions(xsrfOptions);
|
|
754
950
|
const componentsModule = [
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
951
|
+
BsDatepickerModule,
|
|
952
|
+
TimepickerModule,
|
|
953
|
+
BsDropdownModule,
|
|
954
|
+
PaginationModule,
|
|
955
|
+
TypeaheadModule,
|
|
956
|
+
ProgressbarModule,
|
|
957
|
+
CarouselModule,
|
|
958
|
+
PopoverModule,
|
|
959
|
+
NgCircleProgressModule,
|
|
960
|
+
TooltipModule,
|
|
961
|
+
AnchorComponent,
|
|
962
|
+
AudioComponent,
|
|
963
|
+
HtmlDirective,
|
|
964
|
+
IconComponent,
|
|
965
|
+
IframeComponent,
|
|
966
|
+
LabelDirective,
|
|
967
|
+
PictureDirective,
|
|
968
|
+
SpinnerComponent,
|
|
969
|
+
VideoComponent,
|
|
970
|
+
ProgressBarComponent,
|
|
971
|
+
ProgressCircleComponent,
|
|
972
|
+
RichTextEditorComponent,
|
|
973
|
+
SearchComponent,
|
|
974
|
+
ScrollableDirective,
|
|
975
|
+
TreeComponent,
|
|
976
|
+
CalendarComponent,
|
|
977
|
+
ChipsComponent,
|
|
978
|
+
ColorPickerComponent,
|
|
979
|
+
CurrencyComponent,
|
|
980
|
+
DateComponent,
|
|
981
|
+
DatetimeComponent,
|
|
982
|
+
TimeComponent,
|
|
983
|
+
DateTimePickerComponent,
|
|
984
|
+
TimePickerComponent,
|
|
985
|
+
PickerComponent,
|
|
986
|
+
PickerGroupComponent,
|
|
987
|
+
FileUploadComponent,
|
|
988
|
+
ButtonComponent,
|
|
989
|
+
ButtonGroupDirective,
|
|
990
|
+
CaptionPositionDirective,
|
|
991
|
+
CheckboxComponent,
|
|
992
|
+
CheckboxsetComponent,
|
|
993
|
+
CompositeDirective,
|
|
994
|
+
NumberComponent,
|
|
995
|
+
RadiosetComponent,
|
|
996
|
+
SelectComponent,
|
|
997
|
+
SwitchComponent,
|
|
998
|
+
InputCalendarComponent,
|
|
999
|
+
InputColorComponent,
|
|
1000
|
+
InputEmailComponent,
|
|
1001
|
+
InputNumberComponent,
|
|
1002
|
+
InputTextComponent,
|
|
1003
|
+
TextareaComponent,
|
|
1004
|
+
RatingComponent,
|
|
1005
|
+
SliderComponent,
|
|
1006
|
+
CardComponent,
|
|
1007
|
+
CardActionsDirective,
|
|
1008
|
+
CardContentComponent,
|
|
1009
|
+
CardFooterDirective,
|
|
1010
|
+
FormComponent,
|
|
1011
|
+
FormWidgetDirective,
|
|
1012
|
+
FormActionDirective,
|
|
1013
|
+
FormFieldDirective,
|
|
1014
|
+
LiveActionsDirective,
|
|
1015
|
+
DependsonDirective,
|
|
1016
|
+
LiveFilterDirective,
|
|
1017
|
+
LiveFormDirective,
|
|
1018
|
+
ListComponent,
|
|
1019
|
+
ListItemDirective,
|
|
1020
|
+
LiveTableComponent,
|
|
1021
|
+
PaginationComponent,
|
|
1022
|
+
TableComponent,
|
|
1023
|
+
TableCUDDirective,
|
|
1024
|
+
TableFilterSortDirective,
|
|
1025
|
+
TableActionDirective,
|
|
1026
|
+
TableColumnDirective,
|
|
1027
|
+
TableColumnGroupDirective,
|
|
1028
|
+
TableRowDirective,
|
|
1029
|
+
TableRowActionDirective,
|
|
1030
|
+
ChartComponent,
|
|
1031
|
+
AccordionPaneComponent,
|
|
1032
|
+
AccordionDirective,
|
|
1033
|
+
LinearLayoutDirective,
|
|
1034
|
+
LinearLayoutItemDirective,
|
|
1035
|
+
LayoutgridDirective,
|
|
1036
|
+
LayoutGridRowDirective,
|
|
1037
|
+
LayoutGridColumnDirective,
|
|
1038
|
+
PanelComponent,
|
|
1039
|
+
TabPaneComponent,
|
|
1040
|
+
TabsComponent,
|
|
1041
|
+
TileDirective,
|
|
1042
|
+
WizardActionDirective,
|
|
1043
|
+
WizardStepComponent,
|
|
1044
|
+
WizardComponent,
|
|
1045
|
+
AlertDialogComponent,
|
|
1046
|
+
IframeDialogComponent,
|
|
1047
|
+
LoginDialogDirective,
|
|
1048
|
+
PartialDialogComponent,
|
|
1049
|
+
BreadcrumbComponent,
|
|
1050
|
+
MenuComponent,
|
|
1051
|
+
MenuDropdownComponent,
|
|
1052
|
+
MenuDropdownItemComponent,
|
|
1053
|
+
NavigationControlDirective,
|
|
1054
|
+
NavComponent,
|
|
1055
|
+
NavItemDirective,
|
|
1056
|
+
NavbarComponent,
|
|
1057
|
+
PopoverComponent,
|
|
1058
|
+
CarouselDirective,
|
|
1059
|
+
CarouselTemplateDirective,
|
|
1060
|
+
LoginComponent,
|
|
1061
|
+
MarqueeDirective,
|
|
1062
|
+
CustomWidgetDirective,
|
|
1063
|
+
CustomWidgetContainerDirective,
|
|
1064
|
+
PageDirective,
|
|
1065
|
+
LayoutDirective,
|
|
1066
|
+
ContentComponent,
|
|
1067
|
+
PageContentComponent,
|
|
1068
|
+
SpaPageDirective,
|
|
1069
|
+
RouterOutletDirective,
|
|
1070
|
+
FooterDirective,
|
|
1071
|
+
HeaderComponent,
|
|
1072
|
+
LeftPanelDirective,
|
|
1073
|
+
RightPanelDirective,
|
|
1074
|
+
TopNavDirective,
|
|
1075
|
+
PrefabDirective$1,
|
|
1076
|
+
PrefabContainerDirective
|
|
872
1077
|
];
|
|
873
1078
|
REQUIRED_MODULES_FOR_DYNAMIC_COMPONENTS.push(...componentsModule);
|
|
874
1079
|
REQUIRED_MODULES_FOR_DYNAMIC_COMPONENTS.push(FormsModule, ReactiveFormsModule);
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
1080
|
+
var AppModule = class AppModule {
|
|
1081
|
+
constructor(app, inj, componentRefProvider) {
|
|
1082
|
+
this.app = app;
|
|
1083
|
+
this.inj = inj;
|
|
1084
|
+
this.componentRefProvider = componentRefProvider;
|
|
1085
|
+
}
|
|
1086
|
+
static {
|
|
1087
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
1088
|
+
minVersion: "12.0.0",
|
|
1089
|
+
version: "22.2.1",
|
|
1090
|
+
ngImport: i0,
|
|
1091
|
+
type: AppModule,
|
|
1092
|
+
deps: [
|
|
1093
|
+
{ token: i5.App },
|
|
1094
|
+
{ token: i0.Injector },
|
|
1095
|
+
{ token: i4$1.ComponentRefProvider }
|
|
1096
|
+
],
|
|
1097
|
+
target: i0.ɵɵFactoryTarget.NgModule
|
|
1098
|
+
});
|
|
1099
|
+
}
|
|
1100
|
+
static {
|
|
1101
|
+
this.ɵmod = i0.ɵɵngDeclareNgModule({
|
|
1102
|
+
minVersion: "14.0.0",
|
|
1103
|
+
version: "22.2.1",
|
|
1104
|
+
ngImport: i0,
|
|
1105
|
+
type: AppModule,
|
|
1106
|
+
imports: [
|
|
1107
|
+
BrowserModule,
|
|
1108
|
+
BrowserAnimationsModule,
|
|
1109
|
+
CommonModule,
|
|
1110
|
+
RouterModule,
|
|
1111
|
+
HttpClientModule,
|
|
1112
|
+
PageWrapperComponent,
|
|
1113
|
+
ModalModule,
|
|
1114
|
+
BsDatepickerModule,
|
|
1115
|
+
TimepickerModule,
|
|
1116
|
+
BsDropdownModule,
|
|
1117
|
+
PaginationModule,
|
|
1118
|
+
TypeaheadModule,
|
|
1119
|
+
TooltipModule,
|
|
1120
|
+
ProgressbarModule,
|
|
1121
|
+
CarouselModule,
|
|
1122
|
+
PopoverModule,
|
|
1123
|
+
NgCircleProgressModule,
|
|
1124
|
+
i1$1.RouterModule,
|
|
1125
|
+
i4.ToastNoAnimationModule,
|
|
1126
|
+
i1.HttpClientXsrfModule
|
|
1127
|
+
]
|
|
1128
|
+
});
|
|
1129
|
+
}
|
|
1130
|
+
static {
|
|
1131
|
+
this.ɵinj = i0.ɵɵngDeclareInjector({
|
|
1132
|
+
minVersion: "12.0.0",
|
|
1133
|
+
version: "22.2.1",
|
|
1134
|
+
ngImport: i0,
|
|
1135
|
+
type: AppModule,
|
|
1136
|
+
providers: [
|
|
1137
|
+
AppResourceManagerService,
|
|
1138
|
+
{
|
|
1139
|
+
provide: AppJSProvider,
|
|
1140
|
+
useClass: AppJSProviderService
|
|
1141
|
+
},
|
|
1142
|
+
{
|
|
1143
|
+
provide: AppVariablesProvider,
|
|
1144
|
+
useClass: AppVariablesProviderService
|
|
1145
|
+
},
|
|
1146
|
+
{
|
|
1147
|
+
provide: AppExtensionProvider,
|
|
1148
|
+
useClass: AppExtensionProviderService
|
|
1149
|
+
},
|
|
1150
|
+
{
|
|
1151
|
+
provide: ComponentRefProvider,
|
|
1152
|
+
useClass: ComponentRefProviderService
|
|
1153
|
+
},
|
|
1154
|
+
{
|
|
1155
|
+
provide: PartialRefProvider,
|
|
1156
|
+
useClass: ComponentRefProviderService
|
|
1157
|
+
},
|
|
1158
|
+
{
|
|
1159
|
+
provide: CustomWidgetRefProvider,
|
|
1160
|
+
useClass: ComponentRefProviderService
|
|
1161
|
+
},
|
|
1162
|
+
{
|
|
1163
|
+
provide: CustomwidgetConfigProvider,
|
|
1164
|
+
useClass: CustomwidgetConfigProviderService
|
|
1165
|
+
},
|
|
1166
|
+
{
|
|
1167
|
+
provide: PrefabConfigProvider,
|
|
1168
|
+
useClass: PrefabConfigProviderService
|
|
1169
|
+
},
|
|
1170
|
+
{
|
|
1171
|
+
provide: RouteReuseStrategy,
|
|
1172
|
+
useClass: WmRouteReuseStrategy
|
|
1173
|
+
},
|
|
1174
|
+
{
|
|
1175
|
+
provide: AbstractHttpService,
|
|
1176
|
+
useClass: HttpServiceImpl
|
|
1177
|
+
}
|
|
1178
|
+
],
|
|
1179
|
+
imports: [
|
|
1180
|
+
BrowserModule,
|
|
1181
|
+
BrowserAnimationsModule,
|
|
1182
|
+
CommonModule,
|
|
1183
|
+
RouterModule,
|
|
1184
|
+
HttpClientModule,
|
|
1185
|
+
ModalModule,
|
|
1186
|
+
BsDatepickerModule,
|
|
1187
|
+
TimepickerModule,
|
|
1188
|
+
BsDropdownModule,
|
|
1189
|
+
PaginationModule,
|
|
1190
|
+
TypeaheadModule,
|
|
1191
|
+
TooltipModule,
|
|
1192
|
+
ProgressbarModule,
|
|
1193
|
+
CarouselModule,
|
|
1194
|
+
PopoverModule,
|
|
1195
|
+
NgCircleProgressModule,
|
|
1196
|
+
routerModule,
|
|
1197
|
+
toastrModule,
|
|
1198
|
+
httpClientXsrfModule
|
|
1199
|
+
]
|
|
1200
|
+
});
|
|
1201
|
+
}
|
|
881
1202
|
};
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
1203
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
1204
|
+
minVersion: "12.0.0",
|
|
1205
|
+
version: "22.2.1",
|
|
1206
|
+
ngImport: i0,
|
|
1207
|
+
type: AppModule,
|
|
1208
|
+
decorators: [{
|
|
1209
|
+
type: NgModule,
|
|
1210
|
+
args: [{
|
|
1211
|
+
declarations: [],
|
|
1212
|
+
imports: [
|
|
1213
|
+
BrowserModule,
|
|
1214
|
+
BrowserAnimationsModule,
|
|
1215
|
+
CommonModule,
|
|
1216
|
+
RouterModule,
|
|
1217
|
+
HttpClientModule,
|
|
1218
|
+
PageWrapperComponent,
|
|
1219
|
+
ModalModule,
|
|
1220
|
+
BsDatepickerModule,
|
|
1221
|
+
TimepickerModule,
|
|
1222
|
+
BsDropdownModule,
|
|
1223
|
+
PaginationModule,
|
|
1224
|
+
TypeaheadModule,
|
|
1225
|
+
TooltipModule,
|
|
1226
|
+
ProgressbarModule,
|
|
1227
|
+
CarouselModule,
|
|
1228
|
+
PopoverModule,
|
|
1229
|
+
NgCircleProgressModule,
|
|
1230
|
+
routerModule,
|
|
1231
|
+
toastrModule,
|
|
1232
|
+
httpClientXsrfModule
|
|
1233
|
+
],
|
|
1234
|
+
providers: [
|
|
1235
|
+
AppResourceManagerService,
|
|
1236
|
+
{
|
|
1237
|
+
provide: AppJSProvider,
|
|
1238
|
+
useClass: AppJSProviderService
|
|
1239
|
+
},
|
|
1240
|
+
{
|
|
1241
|
+
provide: AppVariablesProvider,
|
|
1242
|
+
useClass: AppVariablesProviderService
|
|
1243
|
+
},
|
|
1244
|
+
{
|
|
1245
|
+
provide: AppExtensionProvider,
|
|
1246
|
+
useClass: AppExtensionProviderService
|
|
1247
|
+
},
|
|
1248
|
+
{
|
|
1249
|
+
provide: ComponentRefProvider,
|
|
1250
|
+
useClass: ComponentRefProviderService
|
|
1251
|
+
},
|
|
1252
|
+
{
|
|
1253
|
+
provide: PartialRefProvider,
|
|
1254
|
+
useClass: ComponentRefProviderService
|
|
1255
|
+
},
|
|
1256
|
+
{
|
|
1257
|
+
provide: CustomWidgetRefProvider,
|
|
1258
|
+
useClass: ComponentRefProviderService
|
|
1259
|
+
},
|
|
1260
|
+
{
|
|
1261
|
+
provide: CustomwidgetConfigProvider,
|
|
1262
|
+
useClass: CustomwidgetConfigProviderService
|
|
1263
|
+
},
|
|
1264
|
+
{
|
|
1265
|
+
provide: PrefabConfigProvider,
|
|
1266
|
+
useClass: PrefabConfigProviderService
|
|
1267
|
+
},
|
|
1268
|
+
{
|
|
1269
|
+
provide: RouteReuseStrategy,
|
|
1270
|
+
useClass: WmRouteReuseStrategy
|
|
1271
|
+
},
|
|
1272
|
+
{
|
|
1273
|
+
provide: AbstractHttpService,
|
|
1274
|
+
useClass: HttpServiceImpl
|
|
1275
|
+
}
|
|
1276
|
+
]
|
|
1277
|
+
}]
|
|
1278
|
+
}],
|
|
1279
|
+
ctorParameters: () => [
|
|
1280
|
+
{ type: i5.App },
|
|
1281
|
+
{ type: i0.Injector },
|
|
1282
|
+
{ type: i4$1.ComponentRefProvider }
|
|
1283
|
+
]
|
|
1284
|
+
});
|
|
931
1285
|
export { AppExtensionProviderService, AppJSProviderService, AppModule, AppResourceManagerService, AppVariablesProviderService, ComponentRefProviderService, PageWrapperComponent, PrefabConfigProviderService, httpClientXsrfModule, routerModule, toastrModule };
|
|
932
|
-
|
|
1286
|
+
|
|
1287
|
+
//# sourceMappingURL=index.mjs.map
|