@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,490 +1,513 @@
|
|
|
1
|
-
import { __decorate, __metadata } from
|
|
2
|
-
import * as i3 from
|
|
3
|
-
import { CommonModule } from
|
|
4
|
-
import * as i0 from
|
|
5
|
-
import {
|
|
6
|
-
import * as i1 from
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { find,
|
|
10
|
-
|
|
1
|
+
import { __decorate, __metadata } from "tslib";
|
|
2
|
+
import * as i3 from "@angular/common";
|
|
3
|
+
import { CommonModule } from "@angular/common";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import { ChangeDetectionStrategy, Component, ContentChildren, Directive, Inject, Injector, Optional, forwardRef } from "@angular/core";
|
|
6
|
+
import * as i1 from "@wm/core";
|
|
7
|
+
import { App, isDefined, noop, removeAttr } from "@wm/core";
|
|
8
|
+
import { APPLY_STYLES_TYPE, AUTO_LAYOUT_PROPS, AutoLayout, PROP_ANY, PROP_BOOLEAN, PROP_NUMBER, PROP_STRING, RedrawableDirective, StylableComponent, WmAppIconComponent, createArrayFrom, getCurrentWidgets, provideAsWidgetRef, register, styler } from "@wm/components/base";
|
|
9
|
+
import { find, forEach, get, indexOf, isArray, isNumber } from "lodash-es";
|
|
11
10
|
const registerProps$1 = () => {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
11
|
+
register("wm-accordionpane", new Map([
|
|
12
|
+
["active", PROP_BOOLEAN],
|
|
13
|
+
["badgetype", {
|
|
14
|
+
value: "default",
|
|
15
|
+
...PROP_STRING
|
|
16
|
+
}],
|
|
17
|
+
["badgevalue", PROP_STRING],
|
|
18
|
+
["class", PROP_STRING],
|
|
19
|
+
["content", PROP_STRING],
|
|
20
|
+
["dynamicPaneIndex", PROP_NUMBER],
|
|
21
|
+
["iconclass", PROP_STRING],
|
|
22
|
+
["iconurl", PROP_STRING],
|
|
23
|
+
["isdefaultpane", PROP_BOOLEAN],
|
|
24
|
+
["isdynamic", PROP_STRING],
|
|
25
|
+
["name", PROP_STRING],
|
|
26
|
+
["show", {
|
|
27
|
+
value: true,
|
|
28
|
+
...PROP_BOOLEAN
|
|
29
|
+
}],
|
|
30
|
+
["smoothscroll", {
|
|
31
|
+
value: false,
|
|
32
|
+
...PROP_BOOLEAN
|
|
33
|
+
}],
|
|
34
|
+
["subheading", PROP_STRING],
|
|
35
|
+
["tabindex", {
|
|
36
|
+
value: 0,
|
|
37
|
+
...PROP_NUMBER
|
|
38
|
+
}],
|
|
39
|
+
["title", {
|
|
40
|
+
value: "Title",
|
|
41
|
+
...PROP_STRING
|
|
42
|
+
}],
|
|
43
|
+
...AUTO_LAYOUT_PROPS
|
|
44
|
+
]));
|
|
31
45
|
};
|
|
32
|
-
|
|
33
46
|
const registerProps = () => {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
47
|
+
register("wm-accordion", /* @__PURE__ */ new Map([
|
|
48
|
+
["class", PROP_STRING],
|
|
49
|
+
["closeothers", {
|
|
50
|
+
value: true,
|
|
51
|
+
...PROP_BOOLEAN
|
|
52
|
+
}],
|
|
53
|
+
["dataset", PROP_ANY],
|
|
54
|
+
["defaultpaneindex", {
|
|
55
|
+
value: 0,
|
|
56
|
+
...PROP_NUMBER
|
|
57
|
+
}],
|
|
58
|
+
["name", PROP_STRING],
|
|
59
|
+
["nodatamessage", {
|
|
60
|
+
value: "No Data Found",
|
|
61
|
+
...PROP_STRING
|
|
62
|
+
}],
|
|
63
|
+
["show", {
|
|
64
|
+
value: true,
|
|
65
|
+
...PROP_BOOLEAN
|
|
66
|
+
}],
|
|
67
|
+
["statehandler", {
|
|
68
|
+
value: "none",
|
|
69
|
+
...PROP_STRING
|
|
70
|
+
}],
|
|
71
|
+
["tabindex", {
|
|
72
|
+
value: 0,
|
|
73
|
+
...PROP_NUMBER
|
|
74
|
+
}],
|
|
75
|
+
["type", PROP_STRING]
|
|
76
|
+
]));
|
|
46
77
|
};
|
|
47
|
-
|
|
48
|
-
const DEFAULT_CLS$1 = 'app-accordion panel-group';
|
|
49
78
|
const WIDGET_CONFIG$1 = {
|
|
50
|
-
|
|
51
|
-
|
|
79
|
+
widgetType: "wm-accordion",
|
|
80
|
+
hostClass: "app-accordion panel-group"
|
|
52
81
|
};
|
|
53
|
-
class AccordionDirective extends StylableComponent {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
/**
|
|
129
|
-
* This method is to add the tabpane dynamically
|
|
130
|
-
* @param tabpanes - list of tabpanes
|
|
131
|
-
*/
|
|
132
|
-
addPane(tabpanes) {
|
|
133
|
-
if (!isArray(tabpanes)) {
|
|
134
|
-
tabpanes = [tabpanes];
|
|
135
|
-
}
|
|
136
|
-
const paneNamesList = [];
|
|
137
|
-
forEach(tabpanes, (pane, index) => {
|
|
138
|
-
const isPaneAlreadyCreated = find(this.panes.toArray(), { name: pane.name });
|
|
139
|
-
const isPaneNameExist = indexOf(paneNamesList, pane.name);
|
|
140
|
-
// If user tries to add tabpane with the same name which is already exists then do not create the pane
|
|
141
|
-
if (isPaneAlreadyCreated || isPaneNameExist > 0) {
|
|
142
|
-
console.warn(`The tab pane with name ${pane.name} already exists`);
|
|
143
|
-
return;
|
|
144
|
-
}
|
|
145
|
-
let paramMarkup = '';
|
|
146
|
-
let propsTmpl = '';
|
|
147
|
-
this.dynamicPaneIndex++;
|
|
148
|
-
const name = pane.name ? pane.name : `accordionpane${this.panes.toArray().length + (index + 1)}`;
|
|
149
|
-
paneNamesList.push(name);
|
|
150
|
-
const partialParams = get(pane, 'params');
|
|
151
|
-
forEach(pane, (value, key) => {
|
|
152
|
-
if (key !== 'params') {
|
|
153
|
-
propsTmpl = `${propsTmpl} ${key}="${value}"`;
|
|
154
|
-
}
|
|
155
|
-
});
|
|
156
|
-
forEach(partialParams, (value, key) => {
|
|
157
|
-
paramMarkup = `${paramMarkup} <wm-param name="${key}" value="${value}"></wm-param>`;
|
|
158
|
-
});
|
|
159
|
-
const markup = `<wm-accordionpane dynamicPaneIndex="${this.dynamicPaneIndex - 1}" isdynamic="true" name="${name}" ${propsTmpl}>
|
|
82
|
+
var AccordionDirective = class AccordionDirective extends StylableComponent {
|
|
83
|
+
static {
|
|
84
|
+
this.initializeProps = registerProps();
|
|
85
|
+
}
|
|
86
|
+
constructor(inj, statePersistence, dynamicComponentProvider, explicitContext) {
|
|
87
|
+
let resolveFn = noop;
|
|
88
|
+
super(inj, WIDGET_CONFIG$1, explicitContext, new Promise((res) => resolveFn = res));
|
|
89
|
+
this.dynamicComponentRefs = [];
|
|
90
|
+
this.promiseResolverFn = resolveFn;
|
|
91
|
+
this.statePersistence = statePersistence;
|
|
92
|
+
this.dynamicComponentProvider = dynamicComponentProvider;
|
|
93
|
+
this.dynamicPanes = [];
|
|
94
|
+
this.dynamicPaneIndex = 0;
|
|
95
|
+
styler(this.nativeElement, this, APPLY_STYLES_TYPE.SCROLLABLE_CONTAINER);
|
|
96
|
+
}
|
|
97
|
+
notifyChange(paneRef, isExpand, evt) {
|
|
98
|
+
if (isExpand) {
|
|
99
|
+
this.closePanesExcept(paneRef);
|
|
100
|
+
const index = this.getPaneIndexByRef(paneRef);
|
|
101
|
+
this.activePane = paneRef.getWidget();
|
|
102
|
+
if (evt) this.invokeEventCallback("change", {
|
|
103
|
+
$event: evt,
|
|
104
|
+
newPaneIndex: index,
|
|
105
|
+
oldPaneIndex: this.activePaneIndex
|
|
106
|
+
});
|
|
107
|
+
this.activePaneIndex = index;
|
|
108
|
+
}
|
|
109
|
+
const mode = this.statePersistence.computeMode(this.statehandler);
|
|
110
|
+
if (evt && mode && mode.toLowerCase() !== "none") {
|
|
111
|
+
const activePanes = [];
|
|
112
|
+
this.panes.forEach(function(pane) {
|
|
113
|
+
if (pane.isActive) activePanes.push(pane.name);
|
|
114
|
+
});
|
|
115
|
+
if (activePanes.length) this.statePersistence.setWidgetState(this, activePanes);
|
|
116
|
+
else this.statePersistence.removeWidgetState(this);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
registerDynamicPane(paneRef) {
|
|
120
|
+
this.dynamicPanes.push(paneRef);
|
|
121
|
+
if (this.dynamicPanes.length === this.dynamicPaneIndex) for (let i = 0; i < this.dynamicPanes.length; i++) {
|
|
122
|
+
const newPaneRef = find(this.dynamicPanes, (pane) => pane.dynamicPaneIndex === i);
|
|
123
|
+
if (!find(this.panes.toArray(), newPaneRef)) {
|
|
124
|
+
this.panes.reset([...this.panes.toArray(), newPaneRef]);
|
|
125
|
+
if (newPaneRef.active) newPaneRef.expand();
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
addPane(tabpanes) {
|
|
130
|
+
if (!isArray(tabpanes)) tabpanes = [tabpanes];
|
|
131
|
+
const paneNamesList = [];
|
|
132
|
+
forEach(tabpanes, (pane, index) => {
|
|
133
|
+
const isPaneAlreadyCreated = find(this.panes.toArray(), { name: pane.name });
|
|
134
|
+
const isPaneNameExist = indexOf(paneNamesList, pane.name);
|
|
135
|
+
if (isPaneAlreadyCreated || isPaneNameExist > 0) {
|
|
136
|
+
console.warn(`The tab pane with name ${pane.name} already exists`);
|
|
137
|
+
return;
|
|
138
|
+
}
|
|
139
|
+
let paramMarkup = "";
|
|
140
|
+
let propsTmpl = "";
|
|
141
|
+
this.dynamicPaneIndex++;
|
|
142
|
+
const name = pane.name ? pane.name : `accordionpane${this.panes.toArray().length + (index + 1)}`;
|
|
143
|
+
paneNamesList.push(name);
|
|
144
|
+
const partialParams = get(pane, "params");
|
|
145
|
+
forEach(pane, (value, key) => {
|
|
146
|
+
if (key !== "params") propsTmpl = `${propsTmpl} ${key}="${value}"`;
|
|
147
|
+
});
|
|
148
|
+
forEach(partialParams, (value, key) => {
|
|
149
|
+
paramMarkup = `${paramMarkup} <wm-param name="${key}" value="${value}"></wm-param>`;
|
|
150
|
+
});
|
|
151
|
+
const markup = `<wm-accordionpane dynamicPaneIndex="${this.dynamicPaneIndex - 1}" isdynamic="true" name="${name}" ${propsTmpl}>
|
|
160
152
|
${paramMarkup}
|
|
161
153
|
</wm-accordionpane>`;
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
}] }], propDecorators: { panes: [{
|
|
343
|
-
type: ContentChildren,
|
|
344
|
-
args: [forwardRef(() => AccordionPaneComponent)]
|
|
345
|
-
}] } });
|
|
346
|
-
|
|
347
|
-
const DEFAULT_CLS = 'app-accordion-panel panel';
|
|
348
|
-
const WIDGET_CONFIG = { widgetType: 'wm-accordionpane', hostClass: DEFAULT_CLS };
|
|
154
|
+
if (!this._dynamicContext) {
|
|
155
|
+
this._dynamicContext = Object.create(this.viewParent);
|
|
156
|
+
this._dynamicContext[this.getAttr("wmAccordian")] = this;
|
|
157
|
+
}
|
|
158
|
+
this.dynamicComponentProvider.addComponent(this.getNativeElement(), markup, this._dynamicContext, { inj: this.inj }).then((componentRef) => {
|
|
159
|
+
if (componentRef) this.dynamicComponentRefs.push(componentRef);
|
|
160
|
+
});
|
|
161
|
+
});
|
|
162
|
+
return paneNamesList;
|
|
163
|
+
}
|
|
164
|
+
removePane(paneName) {
|
|
165
|
+
const paneRef = this.getPaneRefByName(paneName);
|
|
166
|
+
if (paneRef) paneRef.remove();
|
|
167
|
+
}
|
|
168
|
+
isValidPaneIndex(index) {
|
|
169
|
+
return index >= 0 && index < this.panes.length;
|
|
170
|
+
}
|
|
171
|
+
getPaneRefByName(name) {
|
|
172
|
+
return find(this.panes.toArray(), { name });
|
|
173
|
+
}
|
|
174
|
+
getPaneIndexByRef(paneRef) {
|
|
175
|
+
return this.panes.toArray().indexOf(paneRef);
|
|
176
|
+
}
|
|
177
|
+
getPaneRefByIndex(index) {
|
|
178
|
+
return this.panes.toArray()[index];
|
|
179
|
+
}
|
|
180
|
+
closePanesExcept(paneRef) {
|
|
181
|
+
if (isNumber(paneRef)) paneRef = this.getPaneRefByIndex(paneRef);
|
|
182
|
+
if (this.closeothers) this.panes.forEach((pane) => {
|
|
183
|
+
if (pane !== paneRef) pane.collapse();
|
|
184
|
+
});
|
|
185
|
+
}
|
|
186
|
+
expandPane(index) {
|
|
187
|
+
this.closePanesExcept(index);
|
|
188
|
+
this.panes.toArray()[index].expand();
|
|
189
|
+
}
|
|
190
|
+
onDataChange(newVal) {
|
|
191
|
+
this.fieldDefs = createArrayFrom(newVal);
|
|
192
|
+
}
|
|
193
|
+
getWidgets(widgteName, index) {
|
|
194
|
+
let $target;
|
|
195
|
+
const retVal = [];
|
|
196
|
+
if (!widgteName) return;
|
|
197
|
+
if (!isDefined(index)) {
|
|
198
|
+
forEach(this.panes.toArray(), (el) => {
|
|
199
|
+
$target = get(el.currentAccordionWidgets, widgteName);
|
|
200
|
+
if ($target) retVal.push($target);
|
|
201
|
+
});
|
|
202
|
+
return retVal;
|
|
203
|
+
}
|
|
204
|
+
index = +index || 0;
|
|
205
|
+
$target = get(this.panes.toArray(), index);
|
|
206
|
+
if ($target) return [get($target.currentAccordionWidgets, widgteName)];
|
|
207
|
+
}
|
|
208
|
+
get currentAccordionPaneIndex() {
|
|
209
|
+
return this.activePaneIndex;
|
|
210
|
+
}
|
|
211
|
+
get isFirstAccordionPane() {
|
|
212
|
+
return this.panes.first.widgetId === this.activePane.widgetId;
|
|
213
|
+
}
|
|
214
|
+
get isLastAccordionPane() {
|
|
215
|
+
return this.panes.last.widgetId === this.activePane.widgetId;
|
|
216
|
+
}
|
|
217
|
+
onPropertyChange(key, nv, ov) {
|
|
218
|
+
if (key === "defaultpaneindex") this.defaultpaneindex = nv;
|
|
219
|
+
else if (key === "dataset") this.onDataChange(nv);
|
|
220
|
+
else if (key === "statehandler") {
|
|
221
|
+
const widgetState = this.statePersistence.getWidgetState(this);
|
|
222
|
+
let paneToSelect = [];
|
|
223
|
+
if (nv !== "none" && isArray(widgetState)) widgetState.forEach((paneName) => {
|
|
224
|
+
paneToSelect = this.panes.filter(function(pane) {
|
|
225
|
+
return paneName === pane.name;
|
|
226
|
+
});
|
|
227
|
+
if (!paneToSelect.length) console.warn("Accordion pane name " + paneName + " in State is incorrect.");
|
|
228
|
+
else this.expandPane(this.getPaneIndexByRef(paneToSelect[0]));
|
|
229
|
+
});
|
|
230
|
+
else if (this.isValidPaneIndex(this.defaultpaneindex)) this.expandPane(this.defaultpaneindex);
|
|
231
|
+
} else if (key === "tabindex") return;
|
|
232
|
+
else super.onPropertyChange(key, nv, ov);
|
|
233
|
+
}
|
|
234
|
+
ngAfterContentInit() {
|
|
235
|
+
super.ngAfterContentInit();
|
|
236
|
+
this.promiseResolverFn();
|
|
237
|
+
this.panesChangesSubscription = this.panes.changes.subscribe((slides) => {
|
|
238
|
+
if (this.panes.length) this.expandPane(this.defaultpaneindex);
|
|
239
|
+
});
|
|
240
|
+
}
|
|
241
|
+
ngOnDestroy() {
|
|
242
|
+
if (this.panesChangesSubscription) {
|
|
243
|
+
this.panesChangesSubscription.unsubscribe();
|
|
244
|
+
this.panesChangesSubscription = null;
|
|
245
|
+
}
|
|
246
|
+
if (this.dynamicComponentRefs?.length) {
|
|
247
|
+
this.dynamicComponentRefs.forEach((componentRef) => {
|
|
248
|
+
if (componentRef?.destroy) componentRef.destroy();
|
|
249
|
+
});
|
|
250
|
+
this.dynamicComponentRefs = [];
|
|
251
|
+
}
|
|
252
|
+
if (this._dynamicContext) {
|
|
253
|
+
Object.keys(this._dynamicContext).forEach((key) => {
|
|
254
|
+
delete this._dynamicContext[key];
|
|
255
|
+
});
|
|
256
|
+
this._dynamicContext = null;
|
|
257
|
+
}
|
|
258
|
+
if (this.dynamicPanes) this.dynamicPanes = [];
|
|
259
|
+
this.fieldDefs = null;
|
|
260
|
+
this.activePane = null;
|
|
261
|
+
super.ngOnDestroy();
|
|
262
|
+
}
|
|
263
|
+
static {
|
|
264
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
265
|
+
minVersion: "12.0.0",
|
|
266
|
+
version: "22.2.1",
|
|
267
|
+
ngImport: i0,
|
|
268
|
+
type: AccordionDirective,
|
|
269
|
+
deps: [
|
|
270
|
+
{ token: i0.Injector },
|
|
271
|
+
{ token: i1.StatePersistence },
|
|
272
|
+
{ token: i1.DynamicComponentRefProvider },
|
|
273
|
+
{
|
|
274
|
+
token: "EXPLICIT_CONTEXT",
|
|
275
|
+
optional: true
|
|
276
|
+
}
|
|
277
|
+
],
|
|
278
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
279
|
+
});
|
|
280
|
+
}
|
|
281
|
+
static {
|
|
282
|
+
this.ɵdir = i0.ɵɵngDeclareDirective({
|
|
283
|
+
minVersion: "14.0.0",
|
|
284
|
+
version: "22.2.1",
|
|
285
|
+
type: AccordionDirective,
|
|
286
|
+
isStandalone: true,
|
|
287
|
+
selector: "div[wmAccordion]",
|
|
288
|
+
providers: [provideAsWidgetRef(AccordionDirective)],
|
|
289
|
+
queries: [{
|
|
290
|
+
propertyName: "panes",
|
|
291
|
+
predicate: i0.forwardRef(() => AccordionPaneComponent)
|
|
292
|
+
}],
|
|
293
|
+
exportAs: ["wmAccordion"],
|
|
294
|
+
usesInheritance: true,
|
|
295
|
+
ngImport: i0
|
|
296
|
+
});
|
|
297
|
+
}
|
|
298
|
+
};
|
|
299
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
300
|
+
minVersion: "12.0.0",
|
|
301
|
+
version: "22.2.1",
|
|
302
|
+
ngImport: i0,
|
|
303
|
+
type: AccordionDirective,
|
|
304
|
+
decorators: [{
|
|
305
|
+
type: Directive,
|
|
306
|
+
args: [{
|
|
307
|
+
standalone: true,
|
|
308
|
+
selector: "div[wmAccordion]",
|
|
309
|
+
exportAs: "wmAccordion",
|
|
310
|
+
providers: [provideAsWidgetRef(AccordionDirective)]
|
|
311
|
+
}]
|
|
312
|
+
}],
|
|
313
|
+
ctorParameters: () => [
|
|
314
|
+
{ type: i0.Injector },
|
|
315
|
+
{ type: i1.StatePersistence },
|
|
316
|
+
{ type: i1.DynamicComponentRefProvider },
|
|
317
|
+
{
|
|
318
|
+
type: void 0,
|
|
319
|
+
decorators: [{
|
|
320
|
+
type: Inject,
|
|
321
|
+
args: ["EXPLICIT_CONTEXT"]
|
|
322
|
+
}, { type: Optional }]
|
|
323
|
+
}
|
|
324
|
+
],
|
|
325
|
+
propDecorators: { panes: [{
|
|
326
|
+
type: ContentChildren,
|
|
327
|
+
args: [forwardRef(() => AccordionPaneComponent)]
|
|
328
|
+
}] }
|
|
329
|
+
});
|
|
330
|
+
const WIDGET_CONFIG = {
|
|
331
|
+
widgetType: "wm-accordionpane",
|
|
332
|
+
hostClass: "app-accordion-panel panel"
|
|
333
|
+
};
|
|
349
334
|
let AccordionPaneComponent = class AccordionPaneComponent extends StylableComponent {
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
this.
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
335
|
+
static {
|
|
336
|
+
this.initializeProps = registerProps$1();
|
|
337
|
+
}
|
|
338
|
+
constructor(inj, accordionRef, explicitContext, app) {
|
|
339
|
+
super(inj, WIDGET_CONFIG, explicitContext);
|
|
340
|
+
this.accordionRef = accordionRef;
|
|
341
|
+
this.app = app;
|
|
342
|
+
this.isActive = false;
|
|
343
|
+
this.$lazyLoad = noop;
|
|
344
|
+
this._isOnLoadTriggered = false;
|
|
345
|
+
this._currentAccordionWidgets = {};
|
|
346
|
+
styler(this.nativeElement, this, APPLY_STYLES_TYPE.SHELL);
|
|
347
|
+
removeAttr(this.nativeElement, "title");
|
|
348
|
+
}
|
|
349
|
+
expand(evt) {
|
|
350
|
+
if (this.isActive) return;
|
|
351
|
+
this.isActive = true;
|
|
352
|
+
this.$lazyLoad();
|
|
353
|
+
this.redrawChildren();
|
|
354
|
+
this.invokeEventCallback("expand", { $event: evt });
|
|
355
|
+
this.notifyParent(true, evt);
|
|
356
|
+
}
|
|
357
|
+
collapse(evt) {
|
|
358
|
+
if (!this.isActive) return;
|
|
359
|
+
this.isActive = false;
|
|
360
|
+
this.invokeEventCallback("collapse", { $event: evt });
|
|
361
|
+
this.notifyParent(false, evt);
|
|
362
|
+
}
|
|
363
|
+
remove() {
|
|
364
|
+
const paneIndex = this.accordionRef.getPaneIndexByRef(this);
|
|
365
|
+
if (this.isActive && this.accordionRef.panes.length > 1) this === this.accordionRef.panes.last ? this.accordionRef.panes.toArray()[paneIndex - 1].expand() : this.accordionRef.panes.toArray()[paneIndex + 1].expand();
|
|
366
|
+
const availablePanes = this.accordionRef.panes.toArray();
|
|
367
|
+
availablePanes.splice(this.accordionRef.getPaneIndexByRef(this), 1);
|
|
368
|
+
this.accordionRef.panes.reset([...availablePanes]);
|
|
369
|
+
this.nativeElement.remove();
|
|
370
|
+
}
|
|
371
|
+
toggle(evt) {
|
|
372
|
+
if (this.isActive) this.collapse(evt);
|
|
373
|
+
else this.expand(evt);
|
|
374
|
+
}
|
|
375
|
+
redrawChildren() {
|
|
376
|
+
setTimeout(() => {
|
|
377
|
+
if (this.reDrawableComponents) this.reDrawableComponents.forEach((c) => c.redraw());
|
|
378
|
+
if (!this._isOnLoadTriggered && !this.content) {
|
|
379
|
+
this.invokeEventCallback("load");
|
|
380
|
+
this._isOnLoadTriggered = true;
|
|
381
|
+
}
|
|
382
|
+
}, 100);
|
|
383
|
+
}
|
|
384
|
+
notifyParent(isExpand, evt) {
|
|
385
|
+
this.accordionRef.notifyChange(this, isExpand, evt);
|
|
386
|
+
}
|
|
387
|
+
get currentAccordionWidgets() {
|
|
388
|
+
return getCurrentWidgets(this.nativeElement, this._currentAccordionWidgets);
|
|
389
|
+
}
|
|
390
|
+
onPropertyChange(key, nv, ov) {
|
|
391
|
+
if (key === "content") {
|
|
392
|
+
if (this.isActive) setTimeout(() => this.$lazyLoad(), 100);
|
|
393
|
+
} else if (key === "tabindex") return;
|
|
394
|
+
else super.onPropertyChange(key, nv, ov);
|
|
395
|
+
}
|
|
396
|
+
ngAfterViewInit() {
|
|
397
|
+
super.ngAfterViewInit();
|
|
398
|
+
styler(this.nativeElement.querySelector(".panel-body"), this, APPLY_STYLES_TYPE.INNER_SHELL);
|
|
399
|
+
if (this.isdynamic) this.accordionRef.registerDynamicPane(this);
|
|
400
|
+
}
|
|
401
|
+
ngOnDestroy() {
|
|
402
|
+
if (this.reDrawableComponents) this.reDrawableComponents = null;
|
|
403
|
+
this.$lazyLoad = null;
|
|
404
|
+
super.ngOnDestroy();
|
|
405
|
+
}
|
|
406
|
+
static {
|
|
407
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
408
|
+
minVersion: "12.0.0",
|
|
409
|
+
version: "22.2.1",
|
|
410
|
+
ngImport: i0,
|
|
411
|
+
type: AccordionPaneComponent,
|
|
412
|
+
deps: [
|
|
413
|
+
{ token: i0.Injector },
|
|
414
|
+
{ token: AccordionDirective },
|
|
415
|
+
{
|
|
416
|
+
token: "EXPLICIT_CONTEXT",
|
|
417
|
+
optional: true
|
|
418
|
+
},
|
|
419
|
+
{ token: i1.App }
|
|
420
|
+
],
|
|
421
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
422
|
+
});
|
|
423
|
+
}
|
|
424
|
+
static {
|
|
425
|
+
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
426
|
+
minVersion: "14.0.0",
|
|
427
|
+
version: "22.2.1",
|
|
428
|
+
type: AccordionPaneComponent,
|
|
429
|
+
isStandalone: true,
|
|
430
|
+
selector: "div[wmAccordionPane]",
|
|
431
|
+
providers: [provideAsWidgetRef(AccordionPaneComponent)],
|
|
432
|
+
queries: [{
|
|
433
|
+
propertyName: "reDrawableComponents",
|
|
434
|
+
predicate: RedrawableDirective,
|
|
435
|
+
descendants: true
|
|
436
|
+
}],
|
|
437
|
+
exportAs: ["wmAccordionPane"],
|
|
438
|
+
usesInheritance: true,
|
|
439
|
+
ngImport: i0,
|
|
440
|
+
template: "<div class=\"panel-heading clearfix\" (click)=\"toggle($event)\" [ngClass]=\"{active: isActive}\">\n <h3 class=\"panel-title\">\n <a [attr.aria-expanded]=\"isActive\" [tabindex]=\"tabindex\"\n class=\"accordion-toggle clearfix\"\n href=\"javascript:void(0);\" role=\"button\">\n <div class=\"pull-left\">\n <wm-app-icon [iconclass]=\"iconclass\" [iconurl]=\"iconurl\" iconClasses=\"panel-icon\" alt=\"Accordion icon\"></wm-app-icon>\n </div>\n <div class=\"pull-left\">\n <div class=\"heading\" [innerHTML]=\"title\"></div>\n <div class=\"description\" [innerHTML]=\"subheading\"></div>\n </div>\n <div class=\"panel-actions pull-right\">\n <!-- added class as badge, app-label since it needs this classes to trigger the badge tokens -->\n <span class=\"badge app-label label-{{badgetype}}\">{{ badgevalue }}</span>\n <span class=\"app-icon panel-action wi\"\n title=\"{{appLocale.LABEL_COLLAPSE}}/{{appLocale.LABEL_EXPAND}}\">\n <i [ngClass]=\"isActive ? 'wi-minus' : 'wi-plus'\"></i>\n </span>\n </div>\n </a>\n </h3>\n</div>\n<div [ngClass]=\"isActive ? 'collapse in' : 'collapse'\" class=\"panel-collapse collapse\">\n <div class=\"panel-body\" partial-container-target>\n <ng-content></ng-content>\n </div>\n</div>\n",
|
|
441
|
+
dependencies: [
|
|
442
|
+
{
|
|
443
|
+
kind: "ngmodule",
|
|
444
|
+
type: CommonModule
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
kind: "directive",
|
|
448
|
+
type: i3.NgClass,
|
|
449
|
+
selector: "[ngClass]",
|
|
450
|
+
inputs: ["class", "ngClass"]
|
|
451
|
+
},
|
|
452
|
+
{
|
|
453
|
+
kind: "component",
|
|
454
|
+
type: WmAppIconComponent,
|
|
455
|
+
selector: "wm-app-icon",
|
|
456
|
+
inputs: [
|
|
457
|
+
"icon",
|
|
458
|
+
"iconclass",
|
|
459
|
+
"iconurl",
|
|
460
|
+
"defaultIconClass",
|
|
461
|
+
"defaultClasses",
|
|
462
|
+
"iconStyle",
|
|
463
|
+
"alt"
|
|
464
|
+
]
|
|
465
|
+
}
|
|
466
|
+
],
|
|
467
|
+
changeDetection: i0.ChangeDetectionStrategy.Eager
|
|
468
|
+
});
|
|
469
|
+
}
|
|
465
470
|
};
|
|
466
|
-
AccordionPaneComponent = __decorate([
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
471
|
+
AccordionPaneComponent = __decorate([AutoLayout({ targetSelector: ".panel-body" }), __metadata("design:paramtypes", [
|
|
472
|
+
Injector,
|
|
473
|
+
AccordionDirective,
|
|
474
|
+
Object,
|
|
475
|
+
App
|
|
476
|
+
])], AccordionPaneComponent);
|
|
477
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
478
|
+
minVersion: "12.0.0",
|
|
479
|
+
version: "22.2.1",
|
|
480
|
+
ngImport: i0,
|
|
481
|
+
type: AccordionPaneComponent,
|
|
482
|
+
decorators: [{
|
|
483
|
+
type: Component,
|
|
484
|
+
args: [{
|
|
485
|
+
changeDetection: ChangeDetectionStrategy.Eager,
|
|
486
|
+
standalone: true,
|
|
487
|
+
imports: [CommonModule, WmAppIconComponent],
|
|
488
|
+
selector: "div[wmAccordionPane]",
|
|
489
|
+
providers: [provideAsWidgetRef(AccordionPaneComponent)],
|
|
490
|
+
exportAs: "wmAccordionPane",
|
|
491
|
+
template: "<div class=\"panel-heading clearfix\" (click)=\"toggle($event)\" [ngClass]=\"{active: isActive}\">\n <h3 class=\"panel-title\">\n <a [attr.aria-expanded]=\"isActive\" [tabindex]=\"tabindex\"\n class=\"accordion-toggle clearfix\"\n href=\"javascript:void(0);\" role=\"button\">\n <div class=\"pull-left\">\n <wm-app-icon [iconclass]=\"iconclass\" [iconurl]=\"iconurl\" iconClasses=\"panel-icon\" alt=\"Accordion icon\"></wm-app-icon>\n </div>\n <div class=\"pull-left\">\n <div class=\"heading\" [innerHTML]=\"title\"></div>\n <div class=\"description\" [innerHTML]=\"subheading\"></div>\n </div>\n <div class=\"panel-actions pull-right\">\n <!-- added class as badge, app-label since it needs this classes to trigger the badge tokens -->\n <span class=\"badge app-label label-{{badgetype}}\">{{ badgevalue }}</span>\n <span class=\"app-icon panel-action wi\"\n title=\"{{appLocale.LABEL_COLLAPSE}}/{{appLocale.LABEL_EXPAND}}\">\n <i [ngClass]=\"isActive ? 'wi-minus' : 'wi-plus'\"></i>\n </span>\n </div>\n </a>\n </h3>\n</div>\n<div [ngClass]=\"isActive ? 'collapse in' : 'collapse'\" class=\"panel-collapse collapse\">\n <div class=\"panel-body\" partial-container-target>\n <ng-content></ng-content>\n </div>\n</div>\n"
|
|
492
|
+
}]
|
|
493
|
+
}],
|
|
494
|
+
ctorParameters: () => [
|
|
495
|
+
{ type: i0.Injector },
|
|
496
|
+
{ type: AccordionDirective },
|
|
497
|
+
{
|
|
498
|
+
type: void 0,
|
|
499
|
+
decorators: [{
|
|
500
|
+
type: Inject,
|
|
501
|
+
args: ["EXPLICIT_CONTEXT"]
|
|
502
|
+
}, { type: Optional }]
|
|
503
|
+
},
|
|
504
|
+
{ type: i1.App }
|
|
505
|
+
],
|
|
506
|
+
propDecorators: { reDrawableComponents: [{
|
|
507
|
+
type: ContentChildren,
|
|
508
|
+
args: [RedrawableDirective, { descendants: true }]
|
|
509
|
+
}] }
|
|
510
|
+
});
|
|
489
511
|
export { AccordionDirective, AccordionPaneComponent };
|
|
490
|
-
|
|
512
|
+
|
|
513
|
+
//# sourceMappingURL=index.mjs.map
|