@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,32 +1,29 @@
|
|
|
1
|
-
import * as i0 from
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
INSERT = "insert",
|
|
14
|
-
UPDATE = "update",
|
|
15
|
-
DELETE = "delete",
|
|
16
|
-
READ = "read"
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { AfterContentInit, AfterViewInit, ElementRef, EnvironmentInjector, InjectionToken, Injector, OnChanges, OnDestroy, OnInit, PipeTransform, SecurityContext, SimpleChanges, TemplateRef, ViewContainerRef } from "@angular/core";
|
|
3
|
+
import { DatePipe, DecimalPipe } from "@angular/common";
|
|
4
|
+
import { AbstractI18nService, App, CustomPipeManager, CustomWidgetRefProvider, IDGenerator, PartialRefProvider, Viewport } from "@wm/core";
|
|
5
|
+
import { Subject } from "rxjs";
|
|
6
|
+
import { DomSanitizer, EventManager, SafeHtml, SafeValue } from "@angular/platform-browser";
|
|
7
|
+
import { SwipeAnimation } from "@swipey";
|
|
8
|
+
export declare enum Live_Operations {
|
|
9
|
+
INSERT = "insert",
|
|
10
|
+
UPDATE = "update",
|
|
11
|
+
DELETE = "delete",
|
|
12
|
+
READ = "read"
|
|
17
13
|
}
|
|
18
|
-
declare const ALLFIELDS = "All Fields";
|
|
19
|
-
declare const LIVE_CONSTANTS: {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
14
|
+
export declare const ALLFIELDS = "All Fields";
|
|
15
|
+
export declare const LIVE_CONSTANTS: {
|
|
16
|
+
EMPTY_KEY: string;
|
|
17
|
+
EMPTY_VALUE: string;
|
|
18
|
+
LABEL_KEY: string;
|
|
19
|
+
LABEL_VALUE: string;
|
|
20
|
+
NULL_EMPTY: string[];
|
|
21
|
+
NULL: string;
|
|
22
|
+
EMPTY: string;
|
|
27
23
|
};
|
|
28
|
-
declare function
|
|
29
|
-
declare function
|
|
24
|
+
declare function isSearchWidgetType(widget: any): boolean;
|
|
25
|
+
export declare function performDataOperation(dataSource: any, requestData: any, options: any): Promise<any>;
|
|
26
|
+
export declare function refreshDataSource(dataSource: any, options: any): Promise<any>;
|
|
30
27
|
/**
|
|
31
28
|
* @ngdoc function
|
|
32
29
|
* @name wm.widgets.live.fetchRelatedFieldData
|
|
@@ -43,14 +40,14 @@ declare function refreshDataSource(dataSource: any, options: any): Promise<any>;
|
|
|
43
40
|
* @param {object} elScope element scope
|
|
44
41
|
* @param {object} parentScope live form// grid scope
|
|
45
42
|
*/
|
|
46
|
-
declare function fetchRelatedFieldData(dataSource: any, formField: any, options: any): void;
|
|
43
|
+
export declare function fetchRelatedFieldData(dataSource: any, formField: any, options: any): void;
|
|
47
44
|
/**
|
|
48
45
|
* used to interpolate the bind expression for keys in the query builder
|
|
49
46
|
* @param context where we find the variable obj
|
|
50
47
|
* @param filterexpressions - obj containing all the rule objs
|
|
51
48
|
* @param callbackFn - function to be called with the new replaced values if any in the filterexpressions object
|
|
52
49
|
*/
|
|
53
|
-
declare const interpolateBindExpressions: (context: any, filterexpressions: any, callbackFn: any) => void;
|
|
50
|
+
export declare const interpolateBindExpressions: (context: any, filterexpressions: any, callbackFn: any) => void;
|
|
54
51
|
/**
|
|
55
52
|
* @ngdoc function
|
|
56
53
|
* @name wm.widgets.live.LiveWidgetUtils#getDistinctFieldProperties
|
|
@@ -64,7 +61,7 @@ declare const interpolateBindExpressions: (context: any, filterexpressions: any,
|
|
|
64
61
|
* @param {object} formField definition of the column/ field
|
|
65
62
|
*
|
|
66
63
|
*/
|
|
67
|
-
declare const getDistinctFieldProperties: (dataSource: any, formField: any) => any;
|
|
64
|
+
export declare const getDistinctFieldProperties: (dataSource: any, formField: any) => any;
|
|
68
65
|
/**
|
|
69
66
|
* @ngdoc function
|
|
70
67
|
* @name wm.widgets.live.LiveWidgetUtils#getDistinctValues
|
|
@@ -80,7 +77,7 @@ declare const getDistinctFieldProperties: (dataSource: any, formField: any) => a
|
|
|
80
77
|
* @param {function} callBack Function to be executed after fetching results
|
|
81
78
|
*
|
|
82
79
|
*/
|
|
83
|
-
declare function getDistinctValues(dataSource: any, formField: any, widget: any): Promise<unknown>;
|
|
80
|
+
export declare function getDistinctValues(dataSource: any, formField: any, widget: any): Promise<unknown>;
|
|
84
81
|
/**
|
|
85
82
|
* @ngdoc function
|
|
86
83
|
* @name wm.widgets.live.LiveWidgetUtils#fetchDistinctValues
|
|
@@ -96,7 +93,7 @@ declare function getDistinctValues(dataSource: any, formField: any, widget: any)
|
|
|
96
93
|
* @param {boolean} isEnableEmptyFilter is null or empty values allowed on filter
|
|
97
94
|
*
|
|
98
95
|
*/
|
|
99
|
-
declare function fetchDistinctValues(dataSource: any, formFields: any, options: any): void;
|
|
96
|
+
export declare function fetchDistinctValues(dataSource: any, formFields: any, options: any): void;
|
|
100
97
|
/**
|
|
101
98
|
* @ngdoc function
|
|
102
99
|
* @name wm.widgets.live.LiveWidgetUtils#getDistinctValuesForField
|
|
@@ -112,7 +109,7 @@ declare function fetchDistinctValues(dataSource: any, formFields: any, options:
|
|
|
112
109
|
* @param {boolean} isEnableEmptyFilter is null or empty values allowed on filter
|
|
113
110
|
*
|
|
114
111
|
*/
|
|
115
|
-
declare function getDistinctValuesForField(dataSource: any, formField: any, options?: any): void;
|
|
112
|
+
export declare function getDistinctValuesForField(dataSource: any, formField: any, options?: any): void;
|
|
116
113
|
/**
|
|
117
114
|
* @ngdoc function
|
|
118
115
|
* @name wm.widgets.live.getRangeFieldValue
|
|
@@ -125,7 +122,7 @@ declare function getDistinctValuesForField(dataSource: any, formField: any, opti
|
|
|
125
122
|
* @param {string} minValue min value selected
|
|
126
123
|
* @param {string} maxValue max value selected
|
|
127
124
|
*/
|
|
128
|
-
declare function getRangeFieldValue(minValue: any, maxValue: any): any;
|
|
125
|
+
export declare function getRangeFieldValue(minValue: any, maxValue: any): any;
|
|
129
126
|
/**
|
|
130
127
|
* @ngdoc function
|
|
131
128
|
* @name wm.widgets.live.getRangeMatchMode
|
|
@@ -138,7 +135,7 @@ declare function getRangeFieldValue(minValue: any, maxValue: any): any;
|
|
|
138
135
|
* @param {string} minValue min value selected
|
|
139
136
|
* @param {string} maxValue max value selected
|
|
140
137
|
*/
|
|
141
|
-
declare function getRangeMatchMode(minValue: any, maxValue: any): any;
|
|
138
|
+
export declare function getRangeMatchMode(minValue: any, maxValue: any): any;
|
|
142
139
|
/**
|
|
143
140
|
* @ngdoc function
|
|
144
141
|
* @name wm.widgets.live.getEnableEmptyFilter
|
|
@@ -150,7 +147,7 @@ declare function getRangeMatchMode(minValue: any, maxValue: any): any;
|
|
|
150
147
|
*
|
|
151
148
|
* @param {object} enableemptyfilter empty filter options
|
|
152
149
|
*/
|
|
153
|
-
declare function getEnableEmptyFilter(enableemptyfilter: any): boolean;
|
|
150
|
+
export declare function getEnableEmptyFilter(enableemptyfilter: any): boolean;
|
|
154
151
|
/**
|
|
155
152
|
* @ngdoc function
|
|
156
153
|
* @name wm.widgets.live.getEmptyMatchMode
|
|
@@ -162,7 +159,7 @@ declare function getEnableEmptyFilter(enableemptyfilter: any): boolean;
|
|
|
162
159
|
*
|
|
163
160
|
* @param {object} enableemptyfilter empty filter options
|
|
164
161
|
*/
|
|
165
|
-
declare function getEmptyMatchMode(enableemptyfilter: any): any;
|
|
162
|
+
export declare function getEmptyMatchMode(enableemptyfilter: any): any;
|
|
166
163
|
/**
|
|
167
164
|
* converts the data passed to array.
|
|
168
165
|
* -> Array: [1,2,3] - [1,2,3]
|
|
@@ -173,7 +170,7 @@ declare function getEmptyMatchMode(enableemptyfilter: any): any;
|
|
|
173
170
|
* @param data
|
|
174
171
|
* @returns {Array<any>}
|
|
175
172
|
*/
|
|
176
|
-
declare const createArrayFrom: (data: any) => Array<any>;
|
|
173
|
+
export declare const createArrayFrom: (data: any) => Array<any>;
|
|
177
174
|
/**
|
|
178
175
|
* @ngdoc function
|
|
179
176
|
* @name wm.widgets.live.applyFilterOnField
|
|
@@ -187,128 +184,125 @@ declare const createArrayFrom: (data: any) => Array<any>;
|
|
|
187
184
|
* @param {object} filterDef filter/form definition of the field
|
|
188
185
|
* @param {boolean} isFirst boolean value to check if this method is called on load
|
|
189
186
|
*/
|
|
190
|
-
declare function applyFilterOnField(dataSource: any, filterDef: any, formFields: any, newVal: any, options?: any): void;
|
|
191
|
-
declare function transformData(dataObject: any, variableName: any): any;
|
|
192
|
-
|
|
187
|
+
export declare function applyFilterOnField(dataSource: any, filterDef: any, formFields: any, newVal: any, options?: any): void;
|
|
188
|
+
export declare function transformData(dataObject: any, variableName: any): any;
|
|
193
189
|
declare class WmPipe {
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
190
|
+
private readonly pipeName;
|
|
191
|
+
protected customPipeManager: CustomPipeManager;
|
|
192
|
+
protected pipeRef: any;
|
|
193
|
+
protected isCustomPipe: any;
|
|
194
|
+
constructor(pipeName: any, customPipeManager: CustomPipeManager);
|
|
195
|
+
customFormatter(data: any, args: any, variables: any): any;
|
|
200
196
|
}
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<TrailingZeroDecimalPipe, "trailingZeroDecimalPipe", true>;
|
|
197
|
+
export declare class TrailingZeroDecimalPipe implements PipeTransform {
|
|
198
|
+
private readonly decimalPipe;
|
|
199
|
+
transform(value: any, selectedLocale: string, numberfilter: string, localefilter: any, trailingzero: boolean, decimalValue: string, skipTrailingZeroCheck?: boolean, formattedLocale?: any): any;
|
|
200
|
+
constructor(decimalPipe: DecimalPipe);
|
|
201
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TrailingZeroDecimalPipe, never>;
|
|
202
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<TrailingZeroDecimalPipe, "trailingZeroDecimalPipe", true>;
|
|
208
203
|
}
|
|
209
|
-
declare class ToDatePipe extends WmPipe implements PipeTransform {
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
204
|
+
export declare class ToDatePipe extends WmPipe implements PipeTransform {
|
|
205
|
+
private readonly datePipe;
|
|
206
|
+
private readonly i18nService;
|
|
207
|
+
private readonly app;
|
|
208
|
+
protected customPipeManager: CustomPipeManager;
|
|
209
|
+
returnFn(data: any, args: any, variables: any): any;
|
|
210
|
+
transform(data: any, format: any, timezone?: any, compInstance?: any): any;
|
|
211
|
+
constructor(datePipe: DatePipe, i18nService: AbstractI18nService, app: App, customPipeManager: CustomPipeManager);
|
|
212
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToDatePipe, never>;
|
|
213
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ToDatePipe, "toDate", true>;
|
|
219
214
|
}
|
|
220
|
-
declare class ToNumberPipe implements PipeTransform {
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
215
|
+
export declare class ToNumberPipe implements PipeTransform {
|
|
216
|
+
private readonly decimalPipe;
|
|
217
|
+
private readonly i18nService;
|
|
218
|
+
transform(data: any, fracSize: any): string;
|
|
219
|
+
constructor(decimalPipe: DecimalPipe, i18nService: AbstractI18nService);
|
|
220
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToNumberPipe, never>;
|
|
221
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ToNumberPipe, "toNumber", true>;
|
|
227
222
|
}
|
|
228
|
-
declare class ToCurrencyPipe implements PipeTransform {
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
223
|
+
export declare class ToCurrencyPipe implements PipeTransform {
|
|
224
|
+
private readonly decimalPipe;
|
|
225
|
+
private readonly i18nService;
|
|
226
|
+
transform(data: any, currencySymbol: any, fracSize: any): string;
|
|
227
|
+
constructor(decimalPipe: DecimalPipe, i18nService: AbstractI18nService);
|
|
228
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToCurrencyPipe, never>;
|
|
229
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ToCurrencyPipe, "toCurrency", true>;
|
|
235
230
|
}
|
|
236
|
-
declare class PrefixPipe implements PipeTransform {
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
231
|
+
export declare class PrefixPipe implements PipeTransform {
|
|
232
|
+
transform(data: any, padding: any): any;
|
|
233
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PrefixPipe, never>;
|
|
234
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<PrefixPipe, "prefix", true>;
|
|
240
235
|
}
|
|
241
|
-
declare class SuffixPipe implements PipeTransform {
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
236
|
+
export declare class SuffixPipe implements PipeTransform {
|
|
237
|
+
transform(data: any, padding: any): any;
|
|
238
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SuffixPipe, never>;
|
|
239
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SuffixPipe, "suffix", true>;
|
|
245
240
|
}
|
|
246
241
|
/**
|
|
247
242
|
* Custom pipe: It is work as interceptor between the user custom pipe function and angular pipe
|
|
248
243
|
*/
|
|
249
|
-
declare class CustomPipe implements PipeTransform {
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
244
|
+
export declare class CustomPipe implements PipeTransform {
|
|
245
|
+
private readonly app;
|
|
246
|
+
private readonly custmeUserPipe;
|
|
247
|
+
constructor(app: App, custmeUserPipe: CustomPipeManager);
|
|
248
|
+
transform(data: any, pipename: any): any;
|
|
249
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomPipe, never>;
|
|
250
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<CustomPipe, "custom", true>;
|
|
256
251
|
}
|
|
257
|
-
declare class TimeFromNowPipe implements PipeTransform {
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
252
|
+
export declare class TimeFromNowPipe implements PipeTransform {
|
|
253
|
+
transform(data: any): string;
|
|
254
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TimeFromNowPipe, never>;
|
|
255
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<TimeFromNowPipe, "timeFromNow", true>;
|
|
261
256
|
}
|
|
262
|
-
declare class NumberToStringPipe extends ToNumberPipe implements PipeTransform {
|
|
263
|
-
|
|
264
|
-
|
|
257
|
+
export declare class NumberToStringPipe extends ToNumberPipe implements PipeTransform {
|
|
258
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NumberToStringPipe, never>;
|
|
259
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<NumberToStringPipe, "numberToString", true>;
|
|
265
260
|
}
|
|
266
|
-
declare class StringToNumberPipe implements PipeTransform {
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
261
|
+
export declare class StringToNumberPipe implements PipeTransform {
|
|
262
|
+
transform(data: any): number;
|
|
263
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StringToNumberPipe, never>;
|
|
264
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<StringToNumberPipe, "stringToNumber", true>;
|
|
270
265
|
}
|
|
271
|
-
declare class FilterPipe implements PipeTransform {
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
266
|
+
export declare class FilterPipe implements PipeTransform {
|
|
267
|
+
transform(data: any[], field: any, value: any): any[];
|
|
268
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilterPipe, never>;
|
|
269
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<FilterPipe, "filter", true>;
|
|
275
270
|
}
|
|
276
|
-
declare class FileSizePipe implements PipeTransform {
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
271
|
+
export declare class FileSizePipe implements PipeTransform {
|
|
272
|
+
transform(bytes: number, precision: number): string;
|
|
273
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileSizePipe, never>;
|
|
274
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<FileSizePipe, "filesize", true>;
|
|
280
275
|
}
|
|
281
|
-
declare class FileIconClassPipe implements PipeTransform {
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
276
|
+
export declare class FileIconClassPipe implements PipeTransform {
|
|
277
|
+
transform(fileExtension: any): string;
|
|
278
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileIconClassPipe, never>;
|
|
279
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<FileIconClassPipe, "fileIconClass", true>;
|
|
285
280
|
}
|
|
286
|
-
declare class StateClassPipe implements PipeTransform {
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
281
|
+
export declare class StateClassPipe implements PipeTransform {
|
|
282
|
+
transform(state: any): any;
|
|
283
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StateClassPipe, never>;
|
|
284
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<StateClassPipe, "stateClass", true>;
|
|
290
285
|
}
|
|
291
|
-
declare class TemplateReplacePipe implements PipeTransform {
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
286
|
+
export declare class TemplateReplacePipe implements PipeTransform {
|
|
287
|
+
transform(data: any, replaceObj: any): any;
|
|
288
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TemplateReplacePipe, never>;
|
|
289
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<TemplateReplacePipe, "templateReplace", true>;
|
|
295
290
|
}
|
|
296
|
-
declare class FileExtensionFromMimePipe implements PipeTransform {
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
291
|
+
export declare class FileExtensionFromMimePipe implements PipeTransform {
|
|
292
|
+
transform(mimeType: any): any;
|
|
293
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileExtensionFromMimePipe, never>;
|
|
294
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<FileExtensionFromMimePipe, "fileExtensionFromMime", true>;
|
|
300
295
|
}
|
|
301
|
-
|
|
302
296
|
/**
|
|
303
297
|
* function to get the ordered dataset based on the given orderby
|
|
304
298
|
*/
|
|
305
|
-
declare const getOrderedDataset: (dataSet: any, orderBy: string, innerItem?: any) => any;
|
|
299
|
+
export declare const getOrderedDataset: (dataSet: any, orderBy: string, innerItem?: any) => any;
|
|
306
300
|
/**
|
|
307
301
|
* Returns an array of object, each object contain the DataSetItem whose key, value, label are extracted from object keys.
|
|
308
302
|
*/
|
|
309
|
-
declare const transformDataWithKeys: (dataSet: any) => DataSetItem[];
|
|
310
|
-
declare const extractDataAsArray: (data: any) => any;
|
|
311
|
-
declare const convertDataToObject: (dataResult: any) => any;
|
|
303
|
+
export declare const transformDataWithKeys: (dataSet: any) => DataSetItem[];
|
|
304
|
+
export declare const extractDataAsArray: (data: any) => any;
|
|
305
|
+
export declare const convertDataToObject: (dataResult: any) => any;
|
|
312
306
|
/**
|
|
313
307
|
* The first step in datasetItems creation is data transformation:
|
|
314
308
|
*
|
|
@@ -319,11 +313,11 @@ declare const convertDataToObject: (dataResult: any) => any;
|
|
|
319
313
|
* 3) an object eg: {name: 'A', age: 20} => [ {key: 'name', value: 'A'}, {key: 'age', value: 20}]
|
|
320
314
|
* 4) an array of objects...eg: [ {name: 'A', age: 20}, {name: 'B', age: 20}] ==> returns [{key: _DATAFIELD_, value: _DISPLAYFIELD, label: _DISPLAYVALUE}]
|
|
321
315
|
*/
|
|
322
|
-
declare const transformFormData: (context: any, dataSet: any, myDataField?: string, displayOptions?: any, startIndex?: number, scope?: any) => Array<DataSetItem>;
|
|
316
|
+
export declare const transformFormData: (context: any, dataSet: any, myDataField?: string, displayOptions?: any, startIndex?: number, scope?: any) => Array<DataSetItem>;
|
|
323
317
|
/**
|
|
324
318
|
* Private method to get the unique objects by the data field
|
|
325
319
|
*/
|
|
326
|
-
declare const getUniqObjsByDataField: (data: Array<DataSetItem>, dataField: string, displayField: string, allowEmptyFields?: boolean) => any;
|
|
320
|
+
export declare const getUniqObjsByDataField: (data: Array<DataSetItem>, dataField: string, displayField: string, allowEmptyFields?: boolean) => any;
|
|
327
321
|
/**
|
|
328
322
|
* This function sets the selectedItem by comparing the field values, where fields are passed by "compareby" property.
|
|
329
323
|
* works only for datafield with ALL_FIELDS
|
|
@@ -331,7 +325,7 @@ declare const getUniqObjsByDataField: (data: Array<DataSetItem>, dataField: stri
|
|
|
331
325
|
* @param compareWithDataObj represents the datavalue (object) whose properties are to be checked against each property of datasetItem.
|
|
332
326
|
* @param compareByField specifies the property names on which datasetItem has to be compared against datavalue object.
|
|
333
327
|
*/
|
|
334
|
-
declare const setItemByCompare: (datasetItems: Array<DataSetItem>, compareWithDataObj: Object, compareByField: string) => void;
|
|
328
|
+
export declare const setItemByCompare: (datasetItems: Array<DataSetItem>, compareWithDataObj: Object, compareByField: string) => void;
|
|
335
329
|
/**
|
|
336
330
|
* This method gets the groupedData using groupby property and match and returns the sorted array of objects.
|
|
337
331
|
*
|
|
@@ -344,19 +338,19 @@ declare const setItemByCompare: (datasetItems: Array<DataSetItem>, compareWithDa
|
|
|
344
338
|
* @param innerItem, represents the innerItem on which groupby has to be applied. Incase of datasetItems, 'dataObject' contains the full object. Here innerItem is dataObject.
|
|
345
339
|
* @returns {any[]} groupedData, array of objects, each object having key and data.
|
|
346
340
|
*/
|
|
347
|
-
declare const groupData: (compRef: any, data: Array<Object | DataSetItem>, groupby: string, match: string, orderby: string, dateformat: string, datePipe: ToDatePipe, innerItem?: string, AppDefaults?: any) => any[];
|
|
348
|
-
declare const filterDate: (value: string | number, format: string, defaultFormat: string, datePipe: ToDatePipe) => any;
|
|
341
|
+
export declare const groupData: (compRef: any, data: Array<Object | DataSetItem>, groupby: string, match: string, orderby: string, dateformat: string, datePipe: ToDatePipe, innerItem?: string, AppDefaults?: any) => any[];
|
|
342
|
+
export declare const filterDate: (value: string | number, format: string, defaultFormat: string, datePipe: ToDatePipe) => any;
|
|
349
343
|
/**
|
|
350
344
|
* This method toggles all the list items inside the each list group.
|
|
351
345
|
* @param el, component reference on which groupby is applied.
|
|
352
346
|
*/
|
|
353
|
-
declare const toggleAllHeaders: (el: any) => void;
|
|
347
|
+
export declare const toggleAllHeaders: (el: any) => void;
|
|
354
348
|
/**
|
|
355
349
|
* On list header click, toggle the list items in this group.
|
|
356
350
|
* and also toggle the header icon.
|
|
357
351
|
* @param $event
|
|
358
352
|
*/
|
|
359
|
-
declare const handleHeaderClick: ($event: Event) => void;
|
|
353
|
+
export declare const handleHeaderClick: ($event: Event) => void;
|
|
360
354
|
/**
|
|
361
355
|
* configures reordering the items.
|
|
362
356
|
* @param $el element to be sortable
|
|
@@ -365,7 +359,7 @@ declare const handleHeaderClick: ($event: Event) => void;
|
|
|
365
359
|
* @param updateCb callback triggerred when sorting is stopped and the DOM position has changed.
|
|
366
360
|
* @param sortCb callback triggerred during the sorting of an element.
|
|
367
361
|
*/
|
|
368
|
-
declare const configureDnD: ($el: any, options: object, startCb: Function, updateCb: Function, sortCb?: Function) => void;
|
|
362
|
+
export declare const configureDnD: ($el: any, options: object, startCb: Function, updateCb: Function, sortCb?: Function) => void;
|
|
369
363
|
/**
|
|
370
364
|
* key represents the datafield value
|
|
371
365
|
* label represents display value or expression value
|
|
@@ -374,56 +368,55 @@ declare const configureDnD: ($el: any, options: object, startCb: Function, updat
|
|
|
374
368
|
* imgSrc picture source
|
|
375
369
|
* selected represents boolean to notify selected item.
|
|
376
370
|
*/
|
|
377
|
-
declare class DataSetItem {
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
371
|
+
export declare class DataSetItem {
|
|
372
|
+
key: any;
|
|
373
|
+
label: any;
|
|
374
|
+
value: any;
|
|
375
|
+
dataObject?: Object;
|
|
376
|
+
index?: number;
|
|
377
|
+
imgSrc?: string;
|
|
378
|
+
selected?: boolean;
|
|
385
379
|
}
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
DIALOG: string;
|
|
380
|
+
export declare const EDIT_MODE: {
|
|
381
|
+
QUICK_EDIT: string;
|
|
382
|
+
INLINE: string;
|
|
383
|
+
FORM: string;
|
|
384
|
+
DIALOG: string;
|
|
392
385
|
};
|
|
393
|
-
declare const setHeaderConfig: (headerConfig: any, config: any, field: any, index?: number) => void;
|
|
394
|
-
declare const setHeaderConfigForTable: (headerConfig: any, config: any, fieldName: string, index?: number) => void;
|
|
395
|
-
declare const getRowOperationsColumn: () => any;
|
|
386
|
+
export declare const setHeaderConfig: (headerConfig: any, config: any, field: any, index?: number) => void;
|
|
387
|
+
export declare const setHeaderConfigForTable: (headerConfig: any, config: any, fieldName: string, index?: number) => void;
|
|
388
|
+
export declare const getRowOperationsColumn: () => any;
|
|
396
389
|
/**
|
|
397
390
|
* Returns caption and widget bootstrap classes for the field
|
|
398
391
|
*/
|
|
399
|
-
declare const getFieldLayoutConfig: (captionWidth: any, captionPosition: any, os: any) => any;
|
|
400
|
-
declare const getDefaultViewModeWidget: (widget: any) => string;
|
|
401
|
-
declare const parseValueByType: (value: any, type: any, widget: any, trailingzero?: any) => any;
|
|
402
|
-
declare const getFieldTypeWidgetTypesMap: () => {
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
392
|
+
export declare const getFieldLayoutConfig: (captionWidth: any, captionPosition: any, os: any) => any;
|
|
393
|
+
export declare const getDefaultViewModeWidget: (widget: any) => string;
|
|
394
|
+
export declare const parseValueByType: (value: any, type: any, widget: any, trailingzero?: any) => any;
|
|
395
|
+
export declare const getFieldTypeWidgetTypesMap: () => {
|
|
396
|
+
integer: string[];
|
|
397
|
+
big_integer: string[];
|
|
398
|
+
short: string[];
|
|
399
|
+
float: string[];
|
|
400
|
+
big_decimal: string[];
|
|
401
|
+
number: string[];
|
|
402
|
+
double: string[];
|
|
403
|
+
long: string[];
|
|
404
|
+
byte: string[];
|
|
405
|
+
string: string[];
|
|
406
|
+
character: string[];
|
|
407
|
+
text: string[];
|
|
408
|
+
date: string[];
|
|
409
|
+
time: string[];
|
|
410
|
+
timestamp: string[];
|
|
411
|
+
datetime: string[];
|
|
412
|
+
boolean: string[];
|
|
413
|
+
list: string[];
|
|
414
|
+
clob: string[];
|
|
415
|
+
blob: string[];
|
|
416
|
+
file: string[];
|
|
417
|
+
custom: string[];
|
|
425
418
|
};
|
|
426
|
-
declare const getDataTableFilterWidget: (type: any) => any;
|
|
419
|
+
export declare const getDataTableFilterWidget: (type: any) => any;
|
|
427
420
|
/**
|
|
428
421
|
* @ngdoc function
|
|
429
422
|
* @name wm.widgets.live.getEditModeWidget
|
|
@@ -435,7 +428,7 @@ declare const getDataTableFilterWidget: (type: any) => any;
|
|
|
435
428
|
*
|
|
436
429
|
* @param {object} colDef field definition
|
|
437
430
|
*/
|
|
438
|
-
declare const getEditModeWidget: (colDef: any) => any;
|
|
431
|
+
export declare const getEditModeWidget: (colDef: any) => any;
|
|
439
432
|
/**
|
|
440
433
|
* @ngdoc function
|
|
441
434
|
* @name wm.widgets.live.LiveWidgetUtils#getDefaultValue
|
|
@@ -448,433 +441,429 @@ declare const getEditModeWidget: (colDef: any) => any;
|
|
|
448
441
|
* @param {string} value value to be formatted
|
|
449
442
|
* @param {string} type column type of the value
|
|
450
443
|
*/
|
|
451
|
-
declare const getDefaultValue: (value: any, type: any, widget: any) => any;
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
displayType?: string;
|
|
444
|
+
export declare const getDefaultValue: (value: any, type: any, widget: any) => any;
|
|
445
|
+
export declare const WidgetConfig: InjectionToken<IWidgetConfig>;
|
|
446
|
+
export interface IWidgetConfig {
|
|
447
|
+
widgetType: string;
|
|
448
|
+
widgetSubType?: string;
|
|
449
|
+
hostClass?: string;
|
|
450
|
+
displayType?: string;
|
|
459
451
|
}
|
|
460
|
-
interface IRedrawableComponent {
|
|
461
|
-
|
|
452
|
+
export interface IRedrawableComponent {
|
|
453
|
+
redraw: Function;
|
|
462
454
|
}
|
|
463
|
-
type ChangeListener = (key: string, nv: any, ov?: any) => void;
|
|
464
|
-
declare abstract class WidgetRef {
|
|
455
|
+
export type ChangeListener = (key: string, nv: any, ov?: any) => void;
|
|
456
|
+
export declare abstract class WidgetRef {}
|
|
457
|
+
export declare abstract class DialogRef<T extends BaseComponent> {
|
|
458
|
+
bsModal: any;
|
|
465
459
|
}
|
|
466
|
-
declare
|
|
467
|
-
|
|
460
|
+
export declare const Context: InjectionToken<unknown>;
|
|
461
|
+
export interface IDialog {
|
|
462
|
+
open: (initState?: any) => void;
|
|
463
|
+
close: () => void;
|
|
468
464
|
}
|
|
469
|
-
declare const Context: InjectionToken<unknown>;
|
|
470
|
-
interface IDialog {
|
|
471
|
-
open: (initState?: any) => void;
|
|
472
|
-
close: () => void;
|
|
473
|
-
}
|
|
474
|
-
|
|
475
465
|
interface Child {
|
|
476
|
-
|
|
477
|
-
|
|
466
|
+
widget: any;
|
|
467
|
+
nativeElement: any;
|
|
478
468
|
}
|
|
479
|
-
declare abstract class BaseComponent implements OnDestroy, OnInit, AfterViewInit, AfterContentInit {
|
|
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
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
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
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
469
|
+
export declare abstract class BaseComponent implements OnDestroy, OnInit, AfterViewInit, AfterContentInit {
|
|
470
|
+
protected inj: Injector;
|
|
471
|
+
/**
|
|
472
|
+
* unique identifier for the widget
|
|
473
|
+
*/
|
|
474
|
+
readonly widgetId: any;
|
|
475
|
+
isDestroyed: boolean;
|
|
476
|
+
isAttached: boolean;
|
|
477
|
+
/**
|
|
478
|
+
* jQuery nativeElement reference of the component root
|
|
479
|
+
*/
|
|
480
|
+
get $element(): any;
|
|
481
|
+
/**
|
|
482
|
+
* DOM node reference of the component root
|
|
483
|
+
*/
|
|
484
|
+
readonly nativeElement: HTMLElement;
|
|
485
|
+
/**
|
|
486
|
+
* Type of the component
|
|
487
|
+
*/
|
|
488
|
+
protected readonly widgetType: string;
|
|
489
|
+
/**
|
|
490
|
+
* Most of the cases it is same as widgetType
|
|
491
|
+
* for specific widgets like charts widgetType can be wm-chart where as the subtype can be wm-bar-chart
|
|
492
|
+
*/
|
|
493
|
+
protected readonly widgetSubType: string;
|
|
494
|
+
/**
|
|
495
|
+
* Proxy for the component instance.
|
|
496
|
+
*/
|
|
497
|
+
protected widget: any;
|
|
498
|
+
/**
|
|
499
|
+
* View parent component
|
|
500
|
+
* eg, Page, Partial, Prefab
|
|
501
|
+
*/
|
|
502
|
+
protected readonly viewParent: any;
|
|
503
|
+
/**
|
|
504
|
+
* EventManger to add/remove events
|
|
505
|
+
*/
|
|
506
|
+
protected readonly eventManager: EventManager;
|
|
507
|
+
/**
|
|
508
|
+
* App Locale
|
|
509
|
+
*/
|
|
510
|
+
readonly appLocale: any;
|
|
511
|
+
/**
|
|
512
|
+
* Style change subject and observable
|
|
513
|
+
*/
|
|
514
|
+
private readonly styleChange;
|
|
515
|
+
/**
|
|
516
|
+
* Property change subject and observable
|
|
517
|
+
*/
|
|
518
|
+
private readonly propertyChange;
|
|
519
|
+
/**
|
|
520
|
+
* On Ready State change subject and observable
|
|
521
|
+
*/
|
|
522
|
+
private readonly readyState;
|
|
523
|
+
/**
|
|
524
|
+
* Component destroy subject and observable
|
|
525
|
+
*/
|
|
526
|
+
private readonly destroy;
|
|
527
|
+
/**
|
|
528
|
+
* Map of event handler callbacks
|
|
529
|
+
*/
|
|
530
|
+
private readonly eventHandlers;
|
|
531
|
+
/**
|
|
532
|
+
* context of the widget
|
|
533
|
+
* when the widget is preset inside a repeater this context will have the repeater related properties
|
|
534
|
+
*/
|
|
535
|
+
context: any;
|
|
536
|
+
/**
|
|
537
|
+
* Initial state of the widget.
|
|
538
|
+
* Will be undefined once the initial properties are set on to the component
|
|
539
|
+
*/
|
|
540
|
+
private initState;
|
|
541
|
+
/**
|
|
542
|
+
* Internal flag to determine whether to wait for the widget initialization or not
|
|
543
|
+
* If the initPromise is provided in the construction wait till the promise is resolved
|
|
544
|
+
* If the initPromise is not provided proceed with the initialization, which is the default behavior.
|
|
545
|
+
*/
|
|
546
|
+
private readonly delayedInit;
|
|
547
|
+
/**
|
|
548
|
+
* Display type of the component. eg, block(Default), inline-block, inline etc
|
|
549
|
+
*/
|
|
550
|
+
private readonly displayType;
|
|
551
|
+
/**
|
|
552
|
+
* Holds the event registration functions.
|
|
553
|
+
* these functions needs to be executed after onViewInit
|
|
554
|
+
*/
|
|
555
|
+
private readonly toBeSetupEventsQueue;
|
|
556
|
+
__cloneable__: boolean;
|
|
557
|
+
widgetProps: Map<string, any>;
|
|
558
|
+
private readonly $attrs;
|
|
559
|
+
private isMuted;
|
|
560
|
+
viewContainerRef: ViewContainerRef;
|
|
561
|
+
viewParentApp: App;
|
|
562
|
+
/**
|
|
563
|
+
* To avoid re-rendering of widget, passing unique id as contextKey to createCustomInjector
|
|
564
|
+
* (for List, Dynamic Tabs, Accordion, Nav, Carousel)
|
|
565
|
+
*/
|
|
566
|
+
trackId: string;
|
|
567
|
+
customWidgetSubType: string;
|
|
568
|
+
protected constructor(inj: Injector, config: IWidgetConfig, explicitContext?: any, initPromise?: Promise<any>);
|
|
569
|
+
getNativeElement(): HTMLElement;
|
|
570
|
+
getWidgetType(): string;
|
|
571
|
+
getWidgetSubType(): string;
|
|
572
|
+
getWidget(): any;
|
|
573
|
+
setProperty(propName: any, propValue: any): void;
|
|
574
|
+
getViewParent(): any;
|
|
575
|
+
notifyStyleChange(key: string, nv: any, ov: any): void;
|
|
576
|
+
notifyPropertyChange(key: string, nv: any, ov: any): void;
|
|
577
|
+
registerStyleChangeListener(fn: ChangeListener, ctx?: any): void;
|
|
578
|
+
registerReadyStateListener(fn: Function, ctx?: any): void;
|
|
579
|
+
registerPropertyChangeListener(fn: ChangeListener, ctx?: any): void;
|
|
580
|
+
registerDestroyListener(fn: Function, ctx?: any): void;
|
|
581
|
+
getDisplayType(): string;
|
|
582
|
+
protected createProxy(): any;
|
|
583
|
+
protected initContext(): void;
|
|
584
|
+
/**
|
|
585
|
+
* set the value on the proxy object ie, widget
|
|
586
|
+
* setting the property on the proxy will invoke the change listeners
|
|
587
|
+
* @param {string} key
|
|
588
|
+
* @param value
|
|
589
|
+
*/
|
|
590
|
+
setWidgetProperty(key: string, value: any): void;
|
|
591
|
+
getAttr(attrName: string): string;
|
|
592
|
+
/**
|
|
593
|
+
* returns app instance
|
|
594
|
+
* @returns {App}
|
|
595
|
+
*/
|
|
596
|
+
getAppInstance(): App;
|
|
597
|
+
/**
|
|
598
|
+
* Generates a unique id
|
|
599
|
+
* Default pattern is `widget-id-${id}`
|
|
600
|
+
* Components can override this method to generate a different id eg, bar-chart-1
|
|
601
|
+
*/
|
|
602
|
+
protected generateWidgetId(): string;
|
|
603
|
+
/**
|
|
604
|
+
* Handles the common functionality across the components
|
|
605
|
+
* eg,
|
|
606
|
+
* 1. value of the class property will be applied on the host element
|
|
607
|
+
* 2. based on the value of show property component is shown/hidden
|
|
608
|
+
*
|
|
609
|
+
* @param {string} key
|
|
610
|
+
* @param nv
|
|
611
|
+
* @param ov
|
|
612
|
+
*/
|
|
613
|
+
protected onPropertyChange(key: string, nv: any, ov?: any): void;
|
|
614
|
+
/**
|
|
615
|
+
* Default style change handler
|
|
616
|
+
*/
|
|
617
|
+
protected onStyleChange(k: string, nv: any, ov?: any): void;
|
|
618
|
+
/**
|
|
619
|
+
* Register the widget with the widgetRegistry
|
|
620
|
+
*/
|
|
621
|
+
protected registerWidget(widgetName: string): void;
|
|
622
|
+
/**
|
|
623
|
+
* override the
|
|
624
|
+
*/
|
|
625
|
+
protected getMappedEventName(eventName: any): any;
|
|
626
|
+
/**
|
|
627
|
+
* invoke the event handler
|
|
628
|
+
* Components can override this method to execute custom logic before invoking the user callback
|
|
629
|
+
*/
|
|
630
|
+
protected handleEvent(node: HTMLElement, eventName: string, eventCallback: Function, locals: any, meta?: string): void;
|
|
631
|
+
/**
|
|
632
|
+
* parse the event expression and save reference to the function inside eventHandlers map
|
|
633
|
+
* If the component provides a override for an event through @Event decorator invoke that
|
|
634
|
+
* else invoke the resolved function
|
|
635
|
+
*
|
|
636
|
+
* @param {string} eventName
|
|
637
|
+
* @param {string} expr
|
|
638
|
+
*/
|
|
639
|
+
protected processEventAttr(eventName: string, expr: string, meta?: string, child?: Child): void;
|
|
640
|
+
/**
|
|
641
|
+
* Process the bound property
|
|
642
|
+
* Register a watch on the bound expression
|
|
643
|
+
*/
|
|
644
|
+
protected processBindAttr(propName: string, expr: string, child?: any): void;
|
|
645
|
+
/**
|
|
646
|
+
* Remove watch on the bound property
|
|
647
|
+
*/
|
|
648
|
+
protected removePropertyBinding(propName: string): void;
|
|
649
|
+
/**
|
|
650
|
+
* invoke the event callback method
|
|
651
|
+
* @param {string} eventName
|
|
652
|
+
* @param extraLocals
|
|
653
|
+
*/
|
|
654
|
+
invokeEventCallback(eventName: string, extraLocals?: any): any;
|
|
655
|
+
/**
|
|
656
|
+
* Process the attribute
|
|
657
|
+
* If the attribute is an event expression, generate a functional representation of the expression
|
|
658
|
+
* and keep in eventHandlers
|
|
659
|
+
* If the attribute is a bound expression, register a watch on the expression
|
|
660
|
+
*/
|
|
661
|
+
protected processAttr(attrName: string, attrValue: string, child?: Child): void;
|
|
662
|
+
/**
|
|
663
|
+
* This is required as the native element attributes are case insensitive(camelcase) like customExpressions becomes customexpression
|
|
664
|
+
* and our logic to check like these changes will fail. Before IVY changes, angular maintains a separate object with these attributes
|
|
665
|
+
* as it is like in the camelcase. With IVY all those are gone. So need to maintain a separate list with the camelcasing of attributes
|
|
666
|
+
* @private
|
|
667
|
+
* _tNode.attrs attributes are stored in array(even index: key, odd index: value)
|
|
668
|
+
*/
|
|
669
|
+
protected getAttributes(): string[];
|
|
670
|
+
/**
|
|
671
|
+
* Process the attributes
|
|
672
|
+
*/
|
|
673
|
+
private processAttrs;
|
|
674
|
+
/**
|
|
675
|
+
* Update the initState with the default property values and the values provided in the markup
|
|
676
|
+
* Process the attributes
|
|
677
|
+
* Register the widget
|
|
678
|
+
*/
|
|
679
|
+
protected initWidget(): void;
|
|
680
|
+
/**
|
|
681
|
+
* Update the default properties and the properties provided in the markup in component
|
|
682
|
+
* Invoking this method will result in invocation of propertyChange handlers on the component for the first time
|
|
683
|
+
*/
|
|
684
|
+
protected setInitProps(): void;
|
|
685
|
+
/**
|
|
686
|
+
* Returns true, if a listener registered for the given event on this widget markup.
|
|
687
|
+
* @param eventName
|
|
688
|
+
* @returns {boolean}
|
|
689
|
+
*/
|
|
690
|
+
protected hasEventCallback(eventName: any): boolean;
|
|
691
|
+
/**
|
|
692
|
+
* Sets the focus on the widget
|
|
693
|
+
*/
|
|
694
|
+
protected focus(): void;
|
|
695
|
+
protected execute(operation: any, options: any): any;
|
|
696
|
+
mute(): void;
|
|
697
|
+
unmute(): void;
|
|
698
|
+
private customInjectorMap;
|
|
699
|
+
/**
|
|
700
|
+
* After the Angular 17 upgrade, Angular is no longer sending ngTemplateContext to components in ng-template.
|
|
701
|
+
* Wavemaker widgets inside ng-template require context to evaluate bind expressions.
|
|
702
|
+
* So we're creating an injectionToken that returns the context as a value.
|
|
703
|
+
* We are passing the injectionToken to the ngTemplateOutletInjector.
|
|
704
|
+
* This injects the context into each widget in the ng-template.
|
|
705
|
+
* In the widget component constructor we are getting the injectionToken using dependency injection.
|
|
706
|
+
* If injectionToken is present, we extend the component context with the value of injectionToken.
|
|
707
|
+
* @param contextKey
|
|
708
|
+
* @param context
|
|
709
|
+
* @returns injector
|
|
710
|
+
*/
|
|
711
|
+
createCustomInjector(contextKey: string, context: any): any;
|
|
712
|
+
/**
|
|
713
|
+
* After the host page is attached from cache, this function is called.
|
|
714
|
+
*/
|
|
715
|
+
ngOnAttach(): void;
|
|
716
|
+
/**
|
|
717
|
+
* Before the host page is detached from dom and stored in cache, this function is called.
|
|
718
|
+
*/
|
|
719
|
+
ngOnDetach(): void;
|
|
720
|
+
/**
|
|
721
|
+
* nativeElement will be available by this time
|
|
722
|
+
* if the delayInit is false, properties meta will be available by this time
|
|
723
|
+
* Invoke the setInitProps if the delayInit is false
|
|
724
|
+
*/
|
|
725
|
+
ngOnInit(): void;
|
|
726
|
+
/**
|
|
727
|
+
* Register the events
|
|
728
|
+
*/
|
|
729
|
+
ngAfterViewInit(): void;
|
|
730
|
+
ngAfterContentInit(): void;
|
|
731
|
+
ngOnDestroy(): void;
|
|
732
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponent, [null, null, {
|
|
733
|
+
optional: true;
|
|
734
|
+
}, null]>;
|
|
735
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
744
736
|
}
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
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
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<StylableComponent>;
|
|
737
|
+
export declare abstract class StylableComponent extends BaseComponent {
|
|
738
|
+
backgroundattachment: string;
|
|
739
|
+
backgroundcolor: string;
|
|
740
|
+
backgroundgradient: string;
|
|
741
|
+
backgroundimage: string;
|
|
742
|
+
backgroundposition: string;
|
|
743
|
+
backgroundrepeat: string;
|
|
744
|
+
backgroundsize: string;
|
|
745
|
+
bordercolor: string;
|
|
746
|
+
borderradius: string;
|
|
747
|
+
borderstyle: string;
|
|
748
|
+
borderwidth: string;
|
|
749
|
+
borderbottomwidth: string;
|
|
750
|
+
borderleftwidth: string;
|
|
751
|
+
borderrightwidth: string;
|
|
752
|
+
bordertopwidth: string;
|
|
753
|
+
color: string;
|
|
754
|
+
cursor: string;
|
|
755
|
+
display: string;
|
|
756
|
+
fontsize: string;
|
|
757
|
+
fontfamily: string;
|
|
758
|
+
fontstyle: string;
|
|
759
|
+
fontunit: string;
|
|
760
|
+
fontvariant: string;
|
|
761
|
+
fontweight: string;
|
|
762
|
+
height: string;
|
|
763
|
+
horizontalalign: string;
|
|
764
|
+
lineheight: string;
|
|
765
|
+
margin: string;
|
|
766
|
+
marginbottom: string;
|
|
767
|
+
marginleft: string;
|
|
768
|
+
marginright: string;
|
|
769
|
+
margintop: string;
|
|
770
|
+
opacity: string;
|
|
771
|
+
overflow: string;
|
|
772
|
+
padding: string;
|
|
773
|
+
paddingbottom: string;
|
|
774
|
+
paddingleft: string;
|
|
775
|
+
paddingright: string;
|
|
776
|
+
paddingtop: string;
|
|
777
|
+
picturesource: string;
|
|
778
|
+
textalign: string;
|
|
779
|
+
textdecoration: string;
|
|
780
|
+
verticalalign: string;
|
|
781
|
+
visibility: string;
|
|
782
|
+
whitespace: string;
|
|
783
|
+
width: string;
|
|
784
|
+
wordbreak: string;
|
|
785
|
+
zindex: string;
|
|
786
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StylableComponent, never>;
|
|
787
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
797
788
|
}
|
|
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
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DatasetAwareNavComponent>;
|
|
789
|
+
export declare abstract class DatasetAwareNavComponent extends StylableComponent implements OnDestroy {
|
|
790
|
+
nodes: Array<NavNode>;
|
|
791
|
+
dataset: any;
|
|
792
|
+
itemicon: string;
|
|
793
|
+
itemlabel: string;
|
|
794
|
+
itemhint: string;
|
|
795
|
+
itemlink: string;
|
|
796
|
+
itemtarget: string;
|
|
797
|
+
itembadge: string;
|
|
798
|
+
itemchildren: string;
|
|
799
|
+
itemaction: string;
|
|
800
|
+
itemclass: string;
|
|
801
|
+
itemid: string;
|
|
802
|
+
isactive: string;
|
|
803
|
+
userrole: string;
|
|
804
|
+
orderby: string;
|
|
805
|
+
datafield: string;
|
|
806
|
+
displayfield: string;
|
|
807
|
+
private _itemFieldMap;
|
|
808
|
+
private binditemlabel;
|
|
809
|
+
private binditemhint;
|
|
810
|
+
private binditemicon;
|
|
811
|
+
private binditemaction;
|
|
812
|
+
private binditembadge;
|
|
813
|
+
private binditemchildren;
|
|
814
|
+
private binditemlink;
|
|
815
|
+
private binditemtarget;
|
|
816
|
+
private binduserrole;
|
|
817
|
+
private bindisactive;
|
|
818
|
+
private readonly securityService;
|
|
819
|
+
protected binditemid: string | null;
|
|
820
|
+
protected nodes$: Subject<unknown>;
|
|
821
|
+
private readonly cancelLocaleChangeSubscription;
|
|
822
|
+
constructor(inj: Injector, WIDGET_CONFIG: any, explicitContext: any);
|
|
823
|
+
/**
|
|
824
|
+
* constructs individual node for the widget model.
|
|
825
|
+
* @param fields
|
|
826
|
+
* @param node
|
|
827
|
+
*/
|
|
828
|
+
private getNode;
|
|
829
|
+
resetItemFieldMap(): void;
|
|
830
|
+
getItemFieldsMap(): any;
|
|
831
|
+
/**
|
|
832
|
+
* returns array for the value passed as nv.
|
|
833
|
+
* nv: 'a,b' => [{label:a, value:a}, {label:b, value:b}]
|
|
834
|
+
* nv: [1,2] => [{label:1, value:1}, {label:2, value:2}]
|
|
835
|
+
* nv: [{obj}, {obj}] => [{obj}, {obj}]
|
|
836
|
+
* @param nv
|
|
837
|
+
*/
|
|
838
|
+
private prepareNodeDataSet;
|
|
839
|
+
/**
|
|
840
|
+
* constructs dataset form the nav elements.
|
|
841
|
+
*/
|
|
842
|
+
private getNodes;
|
|
843
|
+
protected resetNodes(): void;
|
|
844
|
+
private _resetNodes;
|
|
845
|
+
onPropertyChange(key: any, nv: any, ov: any): void;
|
|
846
|
+
ngOnDestroy(): void;
|
|
847
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DatasetAwareNavComponent, never>;
|
|
848
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
859
849
|
}
|
|
860
|
-
interface NavNode {
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
850
|
+
export interface NavNode {
|
|
851
|
+
label: string;
|
|
852
|
+
action?: any;
|
|
853
|
+
badge?: string;
|
|
854
|
+
children?: Array<NavNode>;
|
|
855
|
+
class?: string;
|
|
856
|
+
disabled?: boolean;
|
|
857
|
+
icon?: string;
|
|
858
|
+
id?: string;
|
|
859
|
+
link?: string;
|
|
860
|
+
role?: string;
|
|
861
|
+
value?: any;
|
|
872
862
|
}
|
|
873
|
-
|
|
874
863
|
/**
|
|
875
864
|
* Returns the value for the provided key in the object
|
|
876
865
|
*/
|
|
877
|
-
declare const getObjValueByKey: (obj: any, strKey: string) => any;
|
|
866
|
+
export declare const getObjValueByKey: (obj: any, strKey: string) => any;
|
|
878
867
|
/**
|
|
879
868
|
* returns the display field data for any dataset widgets
|
|
880
869
|
* Based on the bind display expression or display expression or display name,
|
|
@@ -883,552 +872,578 @@ declare const getObjValueByKey: (obj: any, strKey: string) => any;
|
|
|
883
872
|
* If expression is given, evaluates the expression value.
|
|
884
873
|
* else check for bindExpression, extract the value from the dataObj
|
|
885
874
|
*/
|
|
886
|
-
declare const getEvaluatedData: (dataObj: any, options: any, context?: any) => any;
|
|
887
|
-
declare const isActiveNavItem: (link: any, routeName: any) => boolean;
|
|
875
|
+
export declare const getEvaluatedData: (dataObj: any, options: any, context?: any) => any;
|
|
876
|
+
export declare const isActiveNavItem: (link: any, routeName: any) => boolean;
|
|
888
877
|
/**
|
|
889
|
-
* returns true if the menu has link to the current page.
|
|
890
|
-
* @param nodes
|
|
891
|
-
* @param routeUrl
|
|
892
|
-
*/
|
|
893
|
-
declare const hasLinkToCurrentPage: (nodes: Array<NavNode>, routeUrl: any) => any;
|
|
878
|
+
* returns true if the menu has link to the current page.
|
|
879
|
+
* @param nodes
|
|
880
|
+
* @param routeUrl
|
|
881
|
+
*/
|
|
882
|
+
export declare const hasLinkToCurrentPage: (nodes: Array<NavNode>, routeUrl: any) => any;
|
|
894
883
|
/**
|
|
895
884
|
* Returns the orderBy Expression based on the 'sort 'option in pageable object
|
|
896
885
|
* returned by backend
|
|
897
886
|
* @param pageableObj
|
|
898
887
|
* @returns {string}
|
|
899
888
|
*/
|
|
900
|
-
declare const getOrderByExpr: (pageableObj: any) => string;
|
|
901
|
-
declare const isDataSetWidget: (widget: any) => boolean;
|
|
902
|
-
declare const getImageUrl: (urlString: any, shouldEncode?: any, defaultUrl?: any) => any;
|
|
903
|
-
declare const getBackGroundImageUrl: (urlString: any) => any;
|
|
904
|
-
declare function provideAs(reference: any, key: any, multi?: boolean): {
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
889
|
+
export declare const getOrderByExpr: (pageableObj: any) => string;
|
|
890
|
+
export declare const isDataSetWidget: (widget: any) => boolean;
|
|
891
|
+
export declare const getImageUrl: (urlString: any, shouldEncode?: any, defaultUrl?: any) => any;
|
|
892
|
+
export declare const getBackGroundImageUrl: (urlString: any) => any;
|
|
893
|
+
export declare function provideAs(reference: any, key: any, multi?: boolean): {
|
|
894
|
+
provide: any;
|
|
895
|
+
useExisting: import("@angular/core").Type<any>;
|
|
896
|
+
multi: boolean;
|
|
908
897
|
};
|
|
909
|
-
declare function provideAsWidgetRef(reference: any): {
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
898
|
+
export declare function provideAsWidgetRef(reference: any): {
|
|
899
|
+
provide: any;
|
|
900
|
+
useExisting: import("@angular/core").Type<any>;
|
|
901
|
+
multi: boolean;
|
|
913
902
|
};
|
|
914
|
-
declare function provideAsDialogRef(reference: any): {
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
903
|
+
export declare function provideAsDialogRef(reference: any): {
|
|
904
|
+
provide: any;
|
|
905
|
+
useExisting: import("@angular/core").Type<any>;
|
|
906
|
+
multi: boolean;
|
|
918
907
|
};
|
|
919
|
-
declare const NAVIGATION_TYPE: {
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
908
|
+
export declare const NAVIGATION_TYPE: {
|
|
909
|
+
ADVANCED: string;
|
|
910
|
+
BASIC: string;
|
|
911
|
+
CLASSIC: string;
|
|
912
|
+
INLINE: string;
|
|
913
|
+
NONE: string;
|
|
914
|
+
ONDEMAND: string;
|
|
915
|
+
PAGER: string;
|
|
916
|
+
SCROLL: string;
|
|
928
917
|
};
|
|
929
|
-
declare const INPUTMODE: {
|
|
930
|
-
|
|
931
|
-
|
|
918
|
+
export declare const INPUTMODE: {
|
|
919
|
+
FINANCIAL: string;
|
|
920
|
+
NATURAL: string;
|
|
932
921
|
};
|
|
933
|
-
declare const AUTOCLOSE_TYPE: {
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
922
|
+
export declare const AUTOCLOSE_TYPE: {
|
|
923
|
+
OUTSIDECLICK: string;
|
|
924
|
+
ALWAYS: string;
|
|
925
|
+
DISABLED: string;
|
|
937
926
|
};
|
|
938
|
-
declare const unsupportedStatePersistenceTypes: string[];
|
|
939
|
-
declare const getWatchIdentifier: (...args: any[]) => string;
|
|
940
|
-
declare const getMatchModeTypesMap: (multiMode?: any) => {
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
927
|
+
export declare const unsupportedStatePersistenceTypes: string[];
|
|
928
|
+
export declare const getWatchIdentifier: (...args: any[]) => string;
|
|
929
|
+
export declare const getMatchModeTypesMap: (multiMode?: any) => {
|
|
930
|
+
boolean: string[];
|
|
931
|
+
clob: any[];
|
|
932
|
+
blob: any[];
|
|
944
933
|
};
|
|
945
|
-
declare const getMatchModeMsgs: (appLocale: any) => {
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
934
|
+
export declare const getMatchModeMsgs: (appLocale: any) => {
|
|
935
|
+
start: any;
|
|
936
|
+
startignorecase: any;
|
|
937
|
+
end: any;
|
|
938
|
+
endignorecase: any;
|
|
939
|
+
anywhere: any;
|
|
940
|
+
anywhereignorecase: any;
|
|
941
|
+
exact: any;
|
|
942
|
+
exactignorecase: any;
|
|
943
|
+
notequals: any;
|
|
944
|
+
notequalsignorecase: any;
|
|
945
|
+
lessthan: any;
|
|
946
|
+
lessthanequal: any;
|
|
947
|
+
greaterthan: any;
|
|
948
|
+
greaterthanequal: any;
|
|
949
|
+
null: any;
|
|
950
|
+
isnotnull: any;
|
|
951
|
+
empty: any;
|
|
952
|
+
isnotempty: any;
|
|
953
|
+
nullorempty: any;
|
|
954
|
+
in: any;
|
|
955
|
+
notin: any;
|
|
956
|
+
between: any;
|
|
968
957
|
};
|
|
969
|
-
declare const getConditionalClasses: (nv: any, ov?: any) => {
|
|
970
|
-
|
|
971
|
-
|
|
958
|
+
export declare const getConditionalClasses: (nv: any, ov?: any) => {
|
|
959
|
+
toAdd: any;
|
|
960
|
+
toRemove: any;
|
|
972
961
|
};
|
|
973
|
-
declare const prepareFieldDefs: (data: any, options?: any) => any[] | {
|
|
974
|
-
|
|
975
|
-
|
|
962
|
+
export declare const prepareFieldDefs: (data: any, options?: any) => any[] | {
|
|
963
|
+
objects: any[];
|
|
964
|
+
terminals: any[];
|
|
976
965
|
};
|
|
977
966
|
/**
|
|
978
967
|
* To get container target element to append the list for search and datepicker panel when field present in dialog
|
|
979
968
|
*/
|
|
980
|
-
declare const getContainerTargetClass: (element: any) => string;
|
|
969
|
+
export declare const getContainerTargetClass: (element: any) => string;
|
|
981
970
|
/**
|
|
982
971
|
* To extract the Variable Name from a Widget's binddatasource attribute
|
|
983
972
|
*/
|
|
984
|
-
declare const extractDataSourceName: (bindDataSource: any) => any;
|
|
985
|
-
declare const setFocusTrap: (container: any, allowOutsideClick: any, setReturnFocusElement?: any) =>
|
|
973
|
+
export declare const extractDataSourceName: (bindDataSource: any) => any;
|
|
974
|
+
export declare const setFocusTrap: (container: any, allowOutsideClick: any, setReturnFocusElement?: any) => import("@wavemaker/focus-trap").FocusTrap;
|
|
986
975
|
/**
|
|
987
976
|
* Gets keyboard focusable elements within a specified element
|
|
988
977
|
* @param element {HTMLElement}
|
|
989
978
|
* @returns {Array}
|
|
990
979
|
*/
|
|
991
|
-
declare const getKeyboardFocusableElements: (element: HTMLElement) => Element[];
|
|
992
|
-
declare const getCurrentWidgets: (element: any, widgets: any) => any;
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseContainerComponent, never, never, {}, {}, ["reDrawableComponents"], never, true, never>;
|
|
980
|
+
export declare const getKeyboardFocusableElements: (element: HTMLElement) => Element[];
|
|
981
|
+
export declare const getCurrentWidgets: (element: any, widgets: any) => any;
|
|
982
|
+
export declare abstract class BaseContainerComponent extends StylableComponent implements OnDestroy {
|
|
983
|
+
reDrawableComponents: any;
|
|
984
|
+
content: any;
|
|
985
|
+
Widgets: any;
|
|
986
|
+
constructor(inj: Injector, WIDGET_CONFIG: IWidgetConfig, explicitContext: any);
|
|
987
|
+
private updateRedrawableComponents;
|
|
988
|
+
private redrawChildren;
|
|
989
|
+
onPropertyChange(key: string, nv: any, ov?: any): void;
|
|
990
|
+
ngOnDestroy(): void;
|
|
991
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseContainerComponent, never>;
|
|
992
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseContainerComponent, never, never, {}, {}, ["reDrawableComponents"], never, true, never>;
|
|
1005
993
|
}
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
994
|
+
export declare class PartialContainerDirective implements OnDestroy {
|
|
995
|
+
componentInstance: any;
|
|
996
|
+
vcRef: ViewContainerRef;
|
|
997
|
+
elRef: ElementRef;
|
|
998
|
+
inj: Injector;
|
|
999
|
+
private readonly envInjector;
|
|
1000
|
+
private readonly app;
|
|
1001
|
+
private readonly partialRefProvider;
|
|
1002
|
+
private contentInitialized;
|
|
1003
|
+
private $target;
|
|
1004
|
+
private instanceRef;
|
|
1005
|
+
get name(): any;
|
|
1006
|
+
_renderPartial(partialName: string): Promise<void>;
|
|
1007
|
+
/**
|
|
1008
|
+
* Resolve prefab context for the partial
|
|
1009
|
+
* Checks if partial is inside a prefab and returns the prefab name
|
|
1010
|
+
*/
|
|
1011
|
+
private resolvePrefabContext;
|
|
1012
|
+
renderPartial: import("lodash").DebouncedFunc<(partialName: string) => Promise<void>>;
|
|
1013
|
+
onLoadSuccess(): void;
|
|
1014
|
+
constructor(componentInstance: any, vcRef: ViewContainerRef, elRef: ElementRef, inj: Injector, envInjector: EnvironmentInjector, app: App, _content: string, partialRefProvider: PartialRefProvider);
|
|
1015
|
+
ngOnDestroy(): void;
|
|
1016
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PartialContainerDirective, [{
|
|
1017
|
+
self: true;
|
|
1018
|
+
}, null, null, null, null, null, {
|
|
1019
|
+
attribute: "content";
|
|
1020
|
+
}, null]>;
|
|
1021
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PartialContainerDirective, "[partialContainer]", never, {}, {}, never, never, true, never>;
|
|
1031
1022
|
}
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1023
|
+
export declare class CustomWidgetContainerDirective implements OnDestroy {
|
|
1024
|
+
componentInstance: any;
|
|
1025
|
+
vcRef: ViewContainerRef;
|
|
1026
|
+
elRef: ElementRef;
|
|
1027
|
+
inj: Injector;
|
|
1028
|
+
private readonly envInjector;
|
|
1029
|
+
private readonly app;
|
|
1030
|
+
private readonly customWidgetRefProvider;
|
|
1031
|
+
constructor(componentInstance: any, vcRef: ViewContainerRef, elRef: ElementRef, inj: Injector, envInjector: EnvironmentInjector, app: App, widgetname: string, customWidgetRefProvider: CustomWidgetRefProvider);
|
|
1032
|
+
private loadCustomWidget;
|
|
1033
|
+
ngOnDestroy(): void;
|
|
1034
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomWidgetContainerDirective, [{
|
|
1035
|
+
self: true;
|
|
1036
|
+
}, null, null, null, null, null, {
|
|
1037
|
+
attribute: "widgetname";
|
|
1038
|
+
}, null]>;
|
|
1039
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CustomWidgetContainerDirective, "[customWidgetContainer][widgetname]", never, {}, {}, never, never, true, never>;
|
|
1046
1040
|
}
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
destroy(): void;
|
|
1041
|
+
export declare class BaseFieldValidations {
|
|
1042
|
+
private hasValidators;
|
|
1043
|
+
private instance;
|
|
1044
|
+
formwidget: any;
|
|
1045
|
+
private readonly widgettype;
|
|
1046
|
+
private widgetControl;
|
|
1047
|
+
private widgetContext;
|
|
1048
|
+
private readonly tableFieldType;
|
|
1049
|
+
private defaultValidatorMessages;
|
|
1050
|
+
private _syncValidators;
|
|
1051
|
+
private _asyncValidatorFn;
|
|
1052
|
+
constructor(instance: any, formwidget: any, widgettype: any, widgetControl: any, widgetContext: any, tableFieldType?: any);
|
|
1053
|
+
private getDefaultValidators;
|
|
1054
|
+
setUpValidators(customValidator?: any): void;
|
|
1055
|
+
getPromiseList(validators: any): any[];
|
|
1056
|
+
setAsyncValidators(validators: any): void;
|
|
1057
|
+
isDefaultValidator(type: any): undefined;
|
|
1058
|
+
setDefaultValidator(key: any, value: any): void;
|
|
1059
|
+
setValidators(validators: any): void;
|
|
1060
|
+
observeOn(fields: any, context: any): void;
|
|
1061
|
+
validate(): void;
|
|
1062
|
+
watchDefaultValidatorExpr(fn: any, key: any): void;
|
|
1063
|
+
isNullOrEmptyOrFalsy(value: any): boolean;
|
|
1064
|
+
applyDefaultValidators(): void;
|
|
1065
|
+
setCustomValidationMessage(): void;
|
|
1066
|
+
destroy(): void;
|
|
1074
1067
|
}
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItemTemplateDirective, [null, null, null, { optional: true; }]>;
|
|
1103
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ItemTemplateDirective, "[wmItemTemplate]", ["itemTemplateRef"], { "userComponentParams": { "alias": "userComponentParams"; "required": false; }; "wmItemTemplate": { "alias": "wmItemTemplate"; "required": false; }; }, {}, never, never, true, never>;
|
|
1068
|
+
export declare class ItemTemplateDirective extends StylableComponent implements OnInit, OnDestroy {
|
|
1069
|
+
private readonly app;
|
|
1070
|
+
static readonly initializeProps: void;
|
|
1071
|
+
context: any;
|
|
1072
|
+
content: any;
|
|
1073
|
+
partialParams: any;
|
|
1074
|
+
nativeElement: HTMLElement;
|
|
1075
|
+
viewContainerRef: ViewContainerRef;
|
|
1076
|
+
get $index(): any;
|
|
1077
|
+
userComponentParams: any;
|
|
1078
|
+
set wmItemTemplate(value: any);
|
|
1079
|
+
constructor(inj: Injector, elRef: ElementRef, app: App, explicitContext: any);
|
|
1080
|
+
ngOnInit(): void;
|
|
1081
|
+
ngOnDestroy(): void;
|
|
1082
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItemTemplateDirective, [null, null, null, {
|
|
1083
|
+
optional: true;
|
|
1084
|
+
}]>;
|
|
1085
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ItemTemplateDirective, "[wmItemTemplate]", ["itemTemplateRef"], {
|
|
1086
|
+
"userComponentParams": {
|
|
1087
|
+
"alias": "userComponentParams";
|
|
1088
|
+
"required": false;
|
|
1089
|
+
};
|
|
1090
|
+
"wmItemTemplate": {
|
|
1091
|
+
"alias": "wmItemTemplate";
|
|
1092
|
+
"required": false;
|
|
1093
|
+
};
|
|
1094
|
+
}, {}, never, never, true, never>;
|
|
1104
1095
|
}
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1096
|
+
export declare class RepeatTemplateDirective extends StylableComponent {
|
|
1097
|
+
static readonly initializeProps: void;
|
|
1098
|
+
constructor(inj: Injector, explicitContext: any);
|
|
1099
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RepeatTemplateDirective, [null, {
|
|
1100
|
+
optional: true;
|
|
1101
|
+
}]>;
|
|
1102
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RepeatTemplateDirective, "[wmRepeatTemplate]", ["repeatItemRef"], {}, {}, never, never, true, never>;
|
|
1111
1103
|
}
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1104
|
+
export declare class MessageComponent extends StylableComponent {
|
|
1105
|
+
static readonly initializeProps: void;
|
|
1106
|
+
messageClass: string;
|
|
1107
|
+
messageIconClass: string;
|
|
1108
|
+
type: string;
|
|
1109
|
+
caption: string;
|
|
1110
|
+
hideclose: any;
|
|
1111
|
+
constructor(inj: Injector, explicitContext: any);
|
|
1112
|
+
showMessage(caption?: string, type?: string): void;
|
|
1113
|
+
hideMessage(): void;
|
|
1114
|
+
dismiss($event: any): void;
|
|
1115
|
+
private onMessageTypeChange;
|
|
1116
|
+
onPropertyChange(key: any, nv: any, ov?: any): void;
|
|
1117
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MessageComponent, [null, {
|
|
1118
|
+
optional: true;
|
|
1119
|
+
}]>;
|
|
1120
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MessageComponent, "[wmMessage]", ["wmMessage"], {}, {}, never, never, true, never>;
|
|
1128
1121
|
}
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1122
|
+
export declare class PullToRefresh extends SwipeAnimation {
|
|
1123
|
+
private readonly $el;
|
|
1124
|
+
private readonly app;
|
|
1125
|
+
private readonly onPullToRefresh;
|
|
1126
|
+
private infoContainer;
|
|
1127
|
+
private runAnimation;
|
|
1128
|
+
private count;
|
|
1129
|
+
private spinner;
|
|
1130
|
+
cancelSubscription: () => void;
|
|
1131
|
+
private animationInProgress;
|
|
1132
|
+
constructor($el: JQuery<HTMLElement>, app: App, onPullToRefresh: () => void);
|
|
1133
|
+
threshold(): number;
|
|
1134
|
+
direction(): any;
|
|
1135
|
+
private subscribe;
|
|
1136
|
+
bounds($event: any, $d: any): {
|
|
1137
|
+
lower: any;
|
|
1138
|
+
upper: any;
|
|
1139
|
+
center?: undefined;
|
|
1140
|
+
strict?: undefined;
|
|
1141
|
+
} | {
|
|
1142
|
+
lower: number;
|
|
1143
|
+
center: number;
|
|
1144
|
+
upper: number;
|
|
1145
|
+
strict: boolean;
|
|
1146
|
+
};
|
|
1147
|
+
context(): object;
|
|
1148
|
+
animation(): {
|
|
1149
|
+
css: {
|
|
1150
|
+
transform: string;
|
|
1151
|
+
spin: string;
|
|
1152
|
+
opacity?: undefined;
|
|
1154
1153
|
};
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
target?: undefined;
|
|
1163
|
-
} | {
|
|
1164
|
-
target: JQuery<HTMLElement>;
|
|
1165
|
-
css: {
|
|
1166
|
-
transform: string;
|
|
1167
|
-
spin: string;
|
|
1168
|
-
opacity: string;
|
|
1169
|
-
};
|
|
1154
|
+
target?: undefined;
|
|
1155
|
+
} | {
|
|
1156
|
+
target: JQuery<HTMLElement>;
|
|
1157
|
+
css: {
|
|
1158
|
+
transform: string;
|
|
1159
|
+
spin: string;
|
|
1160
|
+
opacity: string;
|
|
1170
1161
|
};
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1162
|
+
};
|
|
1163
|
+
onAnimation(): void;
|
|
1164
|
+
stopAnimation(): void;
|
|
1165
|
+
wait(): void;
|
|
1166
|
+
destroy(): void;
|
|
1175
1167
|
}
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1168
|
+
export declare class PartialDirective extends StylableComponent implements OnDestroy {
|
|
1169
|
+
private readonly viewport;
|
|
1170
|
+
static readonly initializeProps: void;
|
|
1171
|
+
constructor(inj: Injector, viewport: Viewport, explicitContext: any);
|
|
1172
|
+
private callback;
|
|
1173
|
+
ngOnAttach(): void;
|
|
1174
|
+
ngOnDetach(): void;
|
|
1175
|
+
ngOnDestroy(): void;
|
|
1176
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PartialDirective, [null, null, {
|
|
1177
|
+
optional: true;
|
|
1178
|
+
}]>;
|
|
1179
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PartialDirective, "[wmPartial]", never, {}, {}, never, never, true, never>;
|
|
1187
1180
|
}
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1181
|
+
export declare class RedrawableDirective implements IRedrawableComponent {
|
|
1182
|
+
redraw: Function;
|
|
1183
|
+
constructor(widget: any);
|
|
1184
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RedrawableDirective, [{
|
|
1185
|
+
self: true;
|
|
1186
|
+
}]>;
|
|
1187
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RedrawableDirective, "[redrawable]", never, {}, {}, never, never, true, never>;
|
|
1194
1188
|
}
|
|
1195
|
-
|
|
1196
|
-
declare const
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
INLINE: string;
|
|
1189
|
+
export declare const EVENTS_MAP: Map<string, string>;
|
|
1190
|
+
export declare const DISPLAY_TYPE: {
|
|
1191
|
+
BLOCK: string;
|
|
1192
|
+
INLINE_BLOCK: string;
|
|
1193
|
+
INLINE: string;
|
|
1201
1194
|
};
|
|
1202
1195
|
/**
|
|
1203
1196
|
* Returns true if the provided key is a boolean attribute
|
|
1204
1197
|
* @param {string} key
|
|
1205
1198
|
* @returns {boolean}
|
|
1206
1199
|
*/
|
|
1207
|
-
declare const isBooleanAttr: (key: string) => boolean;
|
|
1208
|
-
declare const isDimensionProp: (key: string) => boolean;
|
|
1209
|
-
declare const DEBOUNCE_TIMES: {
|
|
1210
|
-
|
|
1200
|
+
export declare const isBooleanAttr: (key: string) => boolean;
|
|
1201
|
+
export declare const isDimensionProp: (key: string) => boolean;
|
|
1202
|
+
export declare const DEBOUNCE_TIMES: {
|
|
1203
|
+
PAGINATION_DEBOUNCE_TIME: number;
|
|
1211
1204
|
};
|
|
1212
|
-
|
|
1213
|
-
declare
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
INNER_SHELL = 2,
|
|
1219
|
-
SHELL = 3
|
|
1205
|
+
export declare const updateDeviceView: (element: HTMLElement, isTablet?: boolean) => void;
|
|
1206
|
+
export declare enum APPLY_STYLES_TYPE {
|
|
1207
|
+
CONTAINER = 0,
|
|
1208
|
+
SCROLLABLE_CONTAINER = 1,
|
|
1209
|
+
INNER_SHELL = 2,
|
|
1210
|
+
SHELL = 3
|
|
1220
1211
|
}
|
|
1221
|
-
declare const propNameCSSKeyMap: {
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1212
|
+
export declare const propNameCSSKeyMap: {
|
|
1213
|
+
backgroundattachment: string;
|
|
1214
|
+
backgroundcolor: string;
|
|
1215
|
+
backgroundgradient: string;
|
|
1216
|
+
backgroundimage: string;
|
|
1217
|
+
backgroundposition: string;
|
|
1218
|
+
backgroundrepeat: string;
|
|
1219
|
+
backgroundsize: string;
|
|
1220
|
+
bordercolor: string;
|
|
1221
|
+
borderradius: string;
|
|
1222
|
+
borderstyle: string;
|
|
1223
|
+
borderwidth: string;
|
|
1224
|
+
borderbottomwidth: string;
|
|
1225
|
+
borderleftwidth: string;
|
|
1226
|
+
borderrightwidth: string;
|
|
1227
|
+
bordertopwidth: string;
|
|
1228
|
+
color: string;
|
|
1229
|
+
cursor: string;
|
|
1230
|
+
display: string;
|
|
1231
|
+
fontsize: string;
|
|
1232
|
+
fontfamily: string;
|
|
1233
|
+
fontstyle: string;
|
|
1234
|
+
fontunit: string;
|
|
1235
|
+
fontvariant: string;
|
|
1236
|
+
fontweight: string;
|
|
1237
|
+
height: string;
|
|
1238
|
+
horizontalalign: string;
|
|
1239
|
+
lineheight: string;
|
|
1240
|
+
margin: string;
|
|
1241
|
+
marginbottom: string;
|
|
1242
|
+
marginleft: string;
|
|
1243
|
+
marginright: string;
|
|
1244
|
+
margintop: string;
|
|
1245
|
+
opacity: string;
|
|
1246
|
+
overflow: string;
|
|
1247
|
+
padding: string;
|
|
1248
|
+
paddingbottom: string;
|
|
1249
|
+
paddingleft: string;
|
|
1250
|
+
paddingright: string;
|
|
1251
|
+
paddingtop: string;
|
|
1252
|
+
picturesource: string;
|
|
1253
|
+
textalign: string;
|
|
1254
|
+
textdecoration: string;
|
|
1255
|
+
verticalalign: string;
|
|
1256
|
+
visibility: string;
|
|
1257
|
+
whitespace: string;
|
|
1258
|
+
width: string;
|
|
1259
|
+
wordbreak: string;
|
|
1260
|
+
zindex: string;
|
|
1270
1261
|
};
|
|
1271
|
-
declare const isStyle: (key: any) => boolean;
|
|
1272
|
-
declare function styler($node: HTMLElement, component: StylableComponent, type?: APPLY_STYLES_TYPE, skipList?: Array<string>): void;
|
|
1273
|
-
|
|
1274
|
-
declare const
|
|
1275
|
-
|
|
1276
|
-
declare const
|
|
1277
|
-
declare
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
NUMBER = 2,
|
|
1282
|
-
STRING = 3
|
|
1262
|
+
export declare const isStyle: (key: any) => boolean;
|
|
1263
|
+
export declare function styler($node: HTMLElement, component: StylableComponent, type?: APPLY_STYLES_TYPE, skipList?: Array<string>): void;
|
|
1264
|
+
export declare const widgetIdGenerator: IDGenerator;
|
|
1265
|
+
export declare const getWidgetPropsByType: (identifier: string) => Map<string, any>;
|
|
1266
|
+
export declare const register: (identifier: string, props: Map<string, any>) => void;
|
|
1267
|
+
export declare const registerFormWidget: (identifier: string, props: Map<string, any>) => void;
|
|
1268
|
+
export declare enum PROP_TYPE {
|
|
1269
|
+
BOOLEAN = 1,
|
|
1270
|
+
NUMBER = 2,
|
|
1271
|
+
STRING = 3
|
|
1283
1272
|
}
|
|
1284
|
-
declare const PROP_STRING: any;
|
|
1285
|
-
declare const PROP_NUMBER: any;
|
|
1286
|
-
declare const PROP_BOOLEAN: any;
|
|
1287
|
-
declare const PROP_ANY: any;
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DialogServiceImpl>;
|
|
1273
|
+
export declare const PROP_STRING: any;
|
|
1274
|
+
export declare const PROP_NUMBER: any;
|
|
1275
|
+
export declare const PROP_BOOLEAN: any;
|
|
1276
|
+
export declare const PROP_ANY: any;
|
|
1277
|
+
export declare class DialogServiceImpl {
|
|
1278
|
+
/**
|
|
1279
|
+
* map which contains the references to all dialogs by name
|
|
1280
|
+
* @type {Map<any, any>}
|
|
1281
|
+
* Ex Map[[dialogName, [[dialogScope, dialogRef]]]]
|
|
1282
|
+
*/
|
|
1283
|
+
private readonly dialogRefsCollection;
|
|
1284
|
+
private appConfirmDialog;
|
|
1285
|
+
constructor();
|
|
1286
|
+
/**
|
|
1287
|
+
* Register dialog by name and scope
|
|
1288
|
+
* @param {string} name
|
|
1289
|
+
* @param {BaseDialog} dialogRef
|
|
1290
|
+
* @param {scope}
|
|
1291
|
+
*/
|
|
1292
|
+
register(name: string, dialogRef: any, scope: any): void;
|
|
1293
|
+
getDialogRefsCollection(): Map<any, any>;
|
|
1294
|
+
/**
|
|
1295
|
+
* De Register dialog by name and scope
|
|
1296
|
+
* @param name
|
|
1297
|
+
* @param dialogRef
|
|
1298
|
+
* @param scope
|
|
1299
|
+
*/
|
|
1300
|
+
deRegister(name: string, scope: any): void;
|
|
1301
|
+
private getDialogRef;
|
|
1302
|
+
/**
|
|
1303
|
+
* Opens the dialog with the given name
|
|
1304
|
+
* @param {string} name
|
|
1305
|
+
*/
|
|
1306
|
+
open(name: string, scope?: any, initState?: any): void;
|
|
1307
|
+
/**
|
|
1308
|
+
* closes the dialog with the given name
|
|
1309
|
+
* @param {string} name
|
|
1310
|
+
*/
|
|
1311
|
+
close(name: string, scope?: any, callBackFn?: any): void;
|
|
1312
|
+
/**
|
|
1313
|
+
* closes all the opened dialogs
|
|
1314
|
+
*/
|
|
1315
|
+
closeAllDialogs(): void;
|
|
1316
|
+
showAppConfirmDialog(initState?: any): void;
|
|
1317
|
+
closeAppConfirmDialog(): void;
|
|
1318
|
+
getAppConfirmDialog(): string;
|
|
1319
|
+
setAppConfirmDialog(dialogName: string): void;
|
|
1320
|
+
addToOpenedDialogs(ref: any): void;
|
|
1321
|
+
getLastOpenedDialog(): any;
|
|
1322
|
+
removeFromOpenedDialogs(ref: any): void;
|
|
1323
|
+
getOpenedDialogs(): any[];
|
|
1324
|
+
addToClosedDialogs(ref: any): void;
|
|
1325
|
+
removeFromClosedDialogs(ref: any): void;
|
|
1326
|
+
getDialogRefFromClosedDialogs(): any;
|
|
1327
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DialogServiceImpl, never>;
|
|
1328
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
1341
1329
|
}
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<TrustAsPipe, "trustAs", true>;
|
|
1330
|
+
export declare class TrustAsPipe implements PipeTransform {
|
|
1331
|
+
private readonly domSanitizer;
|
|
1332
|
+
constructor(domSanitizer: DomSanitizer);
|
|
1333
|
+
transform(content: string, context: string | SecurityContext): import("@angular/platform-browser").SafeHtml;
|
|
1334
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TrustAsPipe, never>;
|
|
1335
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<TrustAsPipe, "trustAs", true>;
|
|
1349
1336
|
}
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<SanitizePipe, "sanitize", true>;
|
|
1337
|
+
export declare class SanitizePipe implements PipeTransform {
|
|
1338
|
+
private readonly domSanitizer;
|
|
1339
|
+
constructor(domSanitizer: DomSanitizer);
|
|
1340
|
+
transform(content: string | SafeValue, context: string | SecurityContext): string;
|
|
1341
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SanitizePipe, never>;
|
|
1342
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SanitizePipe, "sanitize", true>;
|
|
1357
1343
|
}
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<ImagePipe, "image", true>;
|
|
1344
|
+
export declare class ImagePipe implements PipeTransform {
|
|
1345
|
+
transform(url: string, encode?: boolean, defaultImageUrl?: string): any;
|
|
1346
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ImagePipe, never>;
|
|
1347
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ImagePipe, "image", true>;
|
|
1363
1348
|
}
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1349
|
+
export declare class ContainerDirective extends BaseContainerComponent {
|
|
1350
|
+
app?: App;
|
|
1351
|
+
static readonly initializeProps: void;
|
|
1352
|
+
isPrism: boolean;
|
|
1353
|
+
constructor(inj: Injector, explicitContext?: any, app?: App);
|
|
1354
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContainerDirective, [null, {
|
|
1355
|
+
optional: true;
|
|
1356
|
+
}, null]>;
|
|
1357
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ContainerDirective, "[wmContainer]", never, {}, {}, never, never, true, never>;
|
|
1372
1358
|
}
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1359
|
+
export declare class LazyLoadDirective implements OnDestroy {
|
|
1360
|
+
private readonly templateRef;
|
|
1361
|
+
private readonly viewContainer;
|
|
1362
|
+
private readonly viewParent;
|
|
1363
|
+
private context;
|
|
1364
|
+
private embeddedView;
|
|
1365
|
+
private unSubscribeFn;
|
|
1366
|
+
constructor(inj: Injector, templateRef: TemplateRef<any>, viewContainer: ViewContainerRef, explicitContext?: any);
|
|
1367
|
+
set lazyLoad(expr: any);
|
|
1368
|
+
ngOnDestroy(): void;
|
|
1369
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LazyLoadDirective, [null, null, null, {
|
|
1370
|
+
optional: true;
|
|
1371
|
+
}]>;
|
|
1372
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LazyLoadDirective, "[lazyLoad]", never, {
|
|
1373
|
+
"lazyLoad": {
|
|
1374
|
+
"alias": "lazyLoad";
|
|
1375
|
+
"required": false;
|
|
1376
|
+
};
|
|
1377
|
+
}, {}, never, never, true, never>;
|
|
1386
1378
|
}
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1379
|
+
export declare class PartialParamHandlerDirective implements OnDestroy {
|
|
1380
|
+
private readonly widgetRef;
|
|
1381
|
+
constructor(widgetRef: any);
|
|
1382
|
+
registerParams(name: string, value: string, bindExpr: string, type: string): void;
|
|
1383
|
+
ngOnDestroy(): void;
|
|
1384
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PartialParamHandlerDirective, [{
|
|
1385
|
+
self: true;
|
|
1386
|
+
}]>;
|
|
1387
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PartialParamHandlerDirective, "[partialContainer]", never, {}, {}, never, never, true, never>;
|
|
1395
1388
|
}
|
|
1396
|
-
declare class PartialParamDirective implements OnInit {
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1389
|
+
export declare class PartialParamDirective implements OnInit {
|
|
1390
|
+
bindValue: any;
|
|
1391
|
+
type: any;
|
|
1392
|
+
private readonly partialParamsProvider;
|
|
1393
|
+
name: string;
|
|
1394
|
+
value: any;
|
|
1395
|
+
constructor(bindValue: any, type: any, partialParamsProvider: PartialParamHandlerDirective);
|
|
1396
|
+
ngOnInit(): void;
|
|
1397
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PartialParamDirective, [{
|
|
1398
|
+
attribute: "value.bind";
|
|
1399
|
+
}, {
|
|
1400
|
+
attribute: "type";
|
|
1401
|
+
}, null]>;
|
|
1402
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PartialParamDirective, "[wmParam]", never, {
|
|
1403
|
+
"name": {
|
|
1404
|
+
"alias": "name";
|
|
1405
|
+
"required": false;
|
|
1406
|
+
};
|
|
1407
|
+
"value": {
|
|
1408
|
+
"alias": "value";
|
|
1409
|
+
"required": false;
|
|
1410
|
+
};
|
|
1411
|
+
}, {}, never, never, true, never>;
|
|
1406
1412
|
}
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1413
|
+
export declare class TextContentDirective {
|
|
1414
|
+
private readonly elRef;
|
|
1415
|
+
set textContent(nv: any);
|
|
1416
|
+
constructor(elRef: ElementRef);
|
|
1417
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TextContentDirective, never>;
|
|
1418
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TextContentDirective, "[textContent]", never, {
|
|
1419
|
+
"textContent": {
|
|
1420
|
+
"alias": "textContent";
|
|
1421
|
+
"required": false;
|
|
1422
|
+
};
|
|
1423
|
+
}, {}, never, never, true, never>;
|
|
1414
1424
|
}
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1425
|
+
export declare class ShowInDeviceDirective implements OnDestroy {
|
|
1426
|
+
private readonly viewContainerRef;
|
|
1427
|
+
private readonly templateRef;
|
|
1428
|
+
private context;
|
|
1429
|
+
private devices;
|
|
1430
|
+
private embeddedView;
|
|
1431
|
+
private boundOnResize;
|
|
1432
|
+
constructor(viewContainerRef: ViewContainerRef, inj: Injector, templateRef: TemplateRef<any>, explicitContext: any);
|
|
1433
|
+
set wmShowInDevice(devices: any);
|
|
1434
|
+
private onResize;
|
|
1435
|
+
ngOnDestroy(): void;
|
|
1436
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShowInDeviceDirective, [null, null, null, {
|
|
1437
|
+
optional: true;
|
|
1438
|
+
}]>;
|
|
1439
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ShowInDeviceDirective, "[wmShowInDevice]", never, {
|
|
1440
|
+
"wmShowInDevice": {
|
|
1441
|
+
"alias": "wmShowInDevice";
|
|
1442
|
+
"required": false;
|
|
1443
|
+
};
|
|
1444
|
+
}, {}, never, never, true, never>;
|
|
1429
1445
|
}
|
|
1430
|
-
|
|
1431
|
-
declare function isSvgIconUrl(url: string | null | undefined): boolean;
|
|
1446
|
+
export declare function isSvgIconUrl(url: string | null | undefined): boolean;
|
|
1432
1447
|
/**
|
|
1433
1448
|
* Renders the SVG fetched from `iconUrl` inline on the host element so the
|
|
1434
1449
|
* markup behaves like a font icon - it can be sized via `font-size`, supports
|
|
@@ -1450,39 +1465,43 @@ declare function isSvgIconUrl(url: string | null | undefined): boolean;
|
|
|
1450
1465
|
* via the host's CSS `color`, author the source with `fill="currentColor"`
|
|
1451
1466
|
* (the convention used by Material Icons, Heroicons, Font Awesome, etc.).
|
|
1452
1467
|
*/
|
|
1453
|
-
declare class SvgIconDirective implements OnChanges, OnDestroy {
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1468
|
+
export declare class SvgIconDirective implements OnChanges, OnDestroy {
|
|
1469
|
+
iconUrl: string;
|
|
1470
|
+
/**
|
|
1471
|
+
* Bound to the host's `innerHTML`. Set to a `SafeHtml` value produced by
|
|
1472
|
+
* `DomSanitizer.bypassSecurityTrustHtml` so Angular's renderer skips
|
|
1473
|
+
* re-sanitization and inlines the SVG as-is.
|
|
1474
|
+
*/
|
|
1475
|
+
hostInnerHtml: SafeHtml | null;
|
|
1476
|
+
private readonly http;
|
|
1477
|
+
private readonly sanitizer;
|
|
1478
|
+
private readonly imagePipe;
|
|
1479
|
+
private sub?;
|
|
1480
|
+
private lastResolvedUrl;
|
|
1481
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
1482
|
+
ngOnDestroy(): void;
|
|
1483
|
+
private loadSvg;
|
|
1484
|
+
private applySvg;
|
|
1485
|
+
private cancelInflight;
|
|
1486
|
+
/**
|
|
1487
|
+
* Make the fetched SVG behave like a font icon:
|
|
1488
|
+
* - replace any non-"none" fill/stroke attributes (single- or
|
|
1489
|
+
* double-quoted) with currentColor so CSS `color` controls the icon
|
|
1490
|
+
* - replace any non-"none" inline `fill:` / `stroke:` style values with
|
|
1491
|
+
* currentColor
|
|
1492
|
+
* - on the root <svg> tag, add `width="1em"`, `height="1em"`, and a
|
|
1493
|
+
* default `fill="currentColor"` if missing so the icon scales with
|
|
1494
|
+
* the host element's `font-size`
|
|
1495
|
+
*/
|
|
1496
|
+
private normalizeSvg;
|
|
1497
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SvgIconDirective, never>;
|
|
1498
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SvgIconDirective, "[iconUrl]", ["svgIcon"], {
|
|
1499
|
+
"iconUrl": {
|
|
1500
|
+
"alias": "iconUrl";
|
|
1501
|
+
"required": false;
|
|
1502
|
+
};
|
|
1503
|
+
}, {}, never, never, true, never>;
|
|
1484
1504
|
}
|
|
1485
|
-
|
|
1486
1505
|
/**
|
|
1487
1506
|
* Single, reusable renderer for the SVG / image / font 3-way icon branch
|
|
1488
1507
|
* that used to be duplicated across every widget that accepts an
|
|
@@ -1506,41 +1525,66 @@ declare class SvgIconDirective implements OnChanges, OnDestroy {
|
|
|
1506
1525
|
* `.app-icon` directly inside the parent (e.g. `.btn .app-icon`) keep
|
|
1507
1526
|
* working - the wrapper element is layout-transparent.
|
|
1508
1527
|
*/
|
|
1509
|
-
declare class WmAppIconComponent {
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1528
|
+
export declare class WmAppIconComponent {
|
|
1529
|
+
icon: string | null | undefined;
|
|
1530
|
+
/** Font-icon CSS class (e.g. `wi wi-user`). Lowest priority. */
|
|
1531
|
+
iconclass: string | null | undefined;
|
|
1532
|
+
/** Icon URL. `.svg` -> inline SVG, anything else -> `<img>`. Wins over `iconclass`. */
|
|
1533
|
+
iconurl: string | null | undefined;
|
|
1534
|
+
/** Fallback font-icon class used when both `iconclass` and `iconurl` are empty. */
|
|
1535
|
+
defaultIconClass: string | null | undefined;
|
|
1536
|
+
/** Extra classes appended to the rendered icon element on every branch (e.g. `'panel-icon'`). */
|
|
1537
|
+
defaultClasses: string | string[] | null | undefined;
|
|
1538
|
+
/** Forwarded to `ngStyle` on the rendered icon element. */
|
|
1539
|
+
iconStyle: {
|
|
1540
|
+
[k: string]: any;
|
|
1541
|
+
} | null | undefined;
|
|
1542
|
+
/** `alt` text for the `<img>` branch. */
|
|
1543
|
+
alt: string | null | undefined;
|
|
1544
|
+
get _effectiveIconurl(): string | null | undefined;
|
|
1545
|
+
get _effectiveIconclass(): string | null | undefined;
|
|
1546
|
+
get _isSvg(): boolean;
|
|
1547
|
+
get _isImage(): boolean;
|
|
1548
|
+
get _fontClass(): string;
|
|
1549
|
+
private _extras;
|
|
1550
|
+
get _svgClasses(): string[];
|
|
1551
|
+
get _imageClasses(): string[];
|
|
1552
|
+
get _fontClasses(): string[];
|
|
1553
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WmAppIconComponent, never>;
|
|
1554
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WmAppIconComponent, "wm-app-icon", never, {
|
|
1555
|
+
"icon": {
|
|
1556
|
+
"alias": "icon";
|
|
1557
|
+
"required": false;
|
|
1558
|
+
};
|
|
1559
|
+
"iconclass": {
|
|
1560
|
+
"alias": "iconclass";
|
|
1561
|
+
"required": false;
|
|
1562
|
+
};
|
|
1563
|
+
"iconurl": {
|
|
1564
|
+
"alias": "iconurl";
|
|
1565
|
+
"required": false;
|
|
1566
|
+
};
|
|
1567
|
+
"defaultIconClass": {
|
|
1568
|
+
"alias": "defaultIconClass";
|
|
1569
|
+
"required": false;
|
|
1570
|
+
};
|
|
1571
|
+
"defaultClasses": {
|
|
1572
|
+
"alias": "defaultClasses";
|
|
1573
|
+
"required": false;
|
|
1574
|
+
};
|
|
1575
|
+
"iconStyle": {
|
|
1576
|
+
"alias": "iconStyle";
|
|
1577
|
+
"required": false;
|
|
1578
|
+
};
|
|
1579
|
+
"alt": {
|
|
1580
|
+
"alias": "alt";
|
|
1581
|
+
"required": false;
|
|
1582
|
+
};
|
|
1583
|
+
}, {}, never, never, true, never>;
|
|
1536
1584
|
}
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
bindParent?: string;
|
|
1585
|
+
export declare function AutoLayout(options?: {
|
|
1586
|
+
targetSelector?: string;
|
|
1587
|
+
bindParent?: string;
|
|
1541
1588
|
}): (constructor: Function) => void;
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
export { ALLFIELDS, APPLY_STYLES_TYPE, AUTOCLOSE_TYPE, AUTO_LAYOUT_PROPS, AutoLayout, BaseComponent, BaseContainerComponent, BaseFieldValidations, ContainerDirective, Context, CustomPipe, CustomWidgetContainerDirective, DEBOUNCE_TIMES, DISPLAY_TYPE, DataSetItem, DatasetAwareNavComponent, DialogRef, DialogServiceImpl, EDIT_MODE, EVENTS_MAP, FileExtensionFromMimePipe, FileIconClassPipe, FileSizePipe, FilterPipe, INPUTMODE, ImagePipe, ItemTemplateDirective, LIVE_CONSTANTS, LazyLoadDirective, Live_Operations, MessageComponent, NAVIGATION_TYPE, NumberToStringPipe, PROP_ANY, PROP_BOOLEAN, PROP_NUMBER, PROP_STRING, PROP_TYPE, PartialContainerDirective, PartialDirective, PartialParamDirective, PartialParamHandlerDirective, PrefixPipe, PullToRefresh, RedrawableDirective, RepeatTemplateDirective, SanitizePipe, ShowInDeviceDirective, StateClassPipe, StringToNumberPipe, StylableComponent, SuffixPipe, SvgIconDirective, TemplateReplacePipe, TextContentDirective, TimeFromNowPipe, ToCurrencyPipe, ToDatePipe, ToNumberPipe, TrailingZeroDecimalPipe, TrustAsPipe, WidgetConfig, WidgetRef, WmAppIconComponent, applyFilterOnField, configureDnD, convertDataToObject, createArrayFrom, extractDataAsArray, extractDataSourceName, fetchDistinctValues, fetchRelatedFieldData, filterDate, getBackGroundImageUrl, getConditionalClasses, getContainerTargetClass, getCurrentWidgets, getDataTableFilterWidget, getDefaultValue, getDefaultViewModeWidget, getDistinctFieldProperties, getDistinctValues, getDistinctValuesForField, getEditModeWidget, getEmptyMatchMode, getEnableEmptyFilter, getEvaluatedData, getFieldLayoutConfig, getFieldTypeWidgetTypesMap, getImageUrl, getKeyboardFocusableElements, getMatchModeMsgs, getMatchModeTypesMap, getObjValueByKey, getOrderByExpr, getOrderedDataset, getRangeFieldValue, getRangeMatchMode, getRowOperationsColumn, getUniqObjsByDataField, getWatchIdentifier, getWidgetPropsByType, groupData, handleHeaderClick, hasLinkToCurrentPage, interpolateBindExpressions, isActiveNavItem, isBooleanAttr, isDataSetWidget, isDimensionProp, isStyle, isSvgIconUrl, parseValueByType, performDataOperation, prepareFieldDefs, propNameCSSKeyMap, provideAs, provideAsDialogRef, provideAsWidgetRef, refreshDataSource, register, registerFormWidget, setFocusTrap, setHeaderConfig, setHeaderConfigForTable, setItemByCompare, styler, toggleAllHeaders, transformData, transformDataWithKeys, transformFormData, unsupportedStatePersistenceTypes, updateDeviceView, widgetIdGenerator };
|
|
1546
|
-
export type { ChangeListener, IDialog, IRedrawableComponent, IWidgetConfig, NavNode };
|
|
1589
|
+
export declare const AUTO_LAYOUT_PROPS: Map<string, any>;
|
|
1590
|
+
export {};
|