@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,39 +1,38 @@
|
|
|
1
|
-
import * as i0 from
|
|
2
|
-
import { AfterViewInit,
|
|
3
|
-
import { DatasetAwareFormComponent } from
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
export { SelectComponent };
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { AfterViewInit, ElementRef, Injector, OnDestroy } from "@angular/core";
|
|
3
|
+
import { DatasetAwareFormComponent } from "@wm/components/input/dataset-aware-form";
|
|
4
|
+
export declare class SelectComponent extends DatasetAwareFormComponent implements AfterViewInit, OnDestroy {
|
|
5
|
+
static readonly initializeProps: void;
|
|
6
|
+
readonly: boolean;
|
|
7
|
+
placeholder: string;
|
|
8
|
+
navsearchbar: any;
|
|
9
|
+
class: any;
|
|
10
|
+
required: boolean;
|
|
11
|
+
disabled: boolean;
|
|
12
|
+
tabindex: any;
|
|
13
|
+
name: string;
|
|
14
|
+
autofocus: boolean;
|
|
15
|
+
hint: string;
|
|
16
|
+
arialabel: string;
|
|
17
|
+
shortcutkey: string;
|
|
18
|
+
selectEl: ElementRef;
|
|
19
|
+
set datasource(ds: any);
|
|
20
|
+
constructor(inj: Injector, explicitContext: any);
|
|
21
|
+
ngAfterViewInit(): void;
|
|
22
|
+
protected handleEvent(node: HTMLElement, eventName: string, eventCallback: Function, locals: any): void;
|
|
23
|
+
onSelectValueChange($event: any): void;
|
|
24
|
+
onPropertyChange(key: string, nv: any, ov?: any): void;
|
|
25
|
+
/**
|
|
26
|
+
* When caption floating is enabled and placeholder is given, do not show placeholder until user focuses on the field
|
|
27
|
+
* When focused add the placeholder to the option which is selected
|
|
28
|
+
* On blur, remove the placeholder and do not animate the label
|
|
29
|
+
* @param $event event received will be either a blur or focus event
|
|
30
|
+
*/
|
|
31
|
+
checkForFloatingLabel($event: any): void;
|
|
32
|
+
private removePlaceholderOption;
|
|
33
|
+
ngOnDestroy(): void;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent, [null, {
|
|
35
|
+
optional: true;
|
|
36
|
+
}]>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "wm-select", never, {}, {}, never, never, true, never>;
|
|
38
|
+
}
|
|
@@ -1,205 +1,324 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@wm/components/base'), require('@angular/forms'), require('@angular/core'), require('@wm/components/input/base-form-custom'), require('@wm/core'), require('@angular/common')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define(['exports', '@wm/components/base', '@angular/forms', '@angular/core', '@wm/components/input/base-form-custom', '@wm/core', '@angular/common'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.wm = global.wm || {}, global.wm.components = global.wm.components || {}, global.wm.components.input = global.wm.components.input || {}, global.wm.components.input.slider = {}), global.wm.components.base, global.ng.forms, global.ng.core, global.wm.components.input.baseFormCustom, global.wm.core, global.ng.common));
|
|
5
5
|
})(this, (function (exports, base, i2, i0, baseFormCustom, i1, i3) { 'use strict';
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
7
|
+
function _interopNamespaceDefault(e) {
|
|
8
|
+
var n = Object.create(null);
|
|
9
|
+
if (e) {
|
|
10
|
+
Object.keys(e).forEach(function (k) {
|
|
11
|
+
if (k !== 'default') {
|
|
12
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
13
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () { return e[k]; }
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
n.default = e;
|
|
21
|
+
return Object.freeze(n);
|
|
22
|
+
}
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
24
|
+
var i2__namespace = /*#__PURE__*/_interopNamespaceDefault(i2);
|
|
25
|
+
var i0__namespace = /*#__PURE__*/_interopNamespaceDefault(i0);
|
|
26
|
+
var i1__namespace = /*#__PURE__*/_interopNamespaceDefault(i1);
|
|
27
|
+
var i3__namespace = /*#__PURE__*/_interopNamespaceDefault(i3);
|
|
28
28
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
29
|
+
const sliderProps = /* @__PURE__ */ new Map([
|
|
30
|
+
["class", base.PROP_STRING],
|
|
31
|
+
["datavalue", base.PROP_STRING],
|
|
32
|
+
["disabled", base.PROP_BOOLEAN],
|
|
33
|
+
["hint", base.PROP_STRING],
|
|
34
|
+
["arialabel", base.PROP_STRING],
|
|
35
|
+
["maxvalue", base.PROP_NUMBER],
|
|
36
|
+
["minvalue", base.PROP_NUMBER],
|
|
37
|
+
["name", base.PROP_STRING],
|
|
38
|
+
["readonly", base.PROP_BOOLEAN],
|
|
39
|
+
["shortcutkey", base.PROP_STRING],
|
|
40
|
+
["show", {
|
|
41
|
+
value: true,
|
|
42
|
+
...base.PROP_BOOLEAN
|
|
43
|
+
}],
|
|
44
|
+
["step", base.PROP_NUMBER],
|
|
45
|
+
["tabindex", {
|
|
46
|
+
value: 0,
|
|
47
|
+
...base.PROP_NUMBER
|
|
48
|
+
}],
|
|
49
|
+
["showmarkers", {
|
|
50
|
+
value: false,
|
|
51
|
+
...base.PROP_BOOLEAN
|
|
52
|
+
}],
|
|
53
|
+
["markerlabeltext", base.PROP_ANY],
|
|
54
|
+
["showicons", base.PROP_BOOLEAN],
|
|
55
|
+
["starticon", {
|
|
56
|
+
value: "wi wi-minus",
|
|
57
|
+
...base.PROP_STRING
|
|
58
|
+
}],
|
|
59
|
+
["endicon", {
|
|
60
|
+
value: "wi wi-plus",
|
|
61
|
+
...base.PROP_STRING
|
|
62
|
+
}],
|
|
63
|
+
["starticonurl", base.PROP_STRING],
|
|
64
|
+
["endiconurl", base.PROP_STRING],
|
|
65
|
+
["rangelabelposition", {
|
|
66
|
+
value: "bottom",
|
|
67
|
+
...base.PROP_STRING
|
|
68
|
+
}]
|
|
69
|
+
]);
|
|
70
|
+
const registerProps = () => {
|
|
71
|
+
base.register("wm-slider", sliderProps);
|
|
72
|
+
base.registerFormWidget(i1.FormWidgetType.SLIDER, new Map(sliderProps));
|
|
73
|
+
};
|
|
74
|
+
const WIDGET_CONFIG = {
|
|
75
|
+
widgetType: "wm-slider",
|
|
76
|
+
hostClass: "app-slider slider"
|
|
77
|
+
};
|
|
78
|
+
const RANGE_LABEL_POSITION = {
|
|
79
|
+
top: "range-label-top",
|
|
80
|
+
side: "range-label-side",
|
|
81
|
+
bottom: "range-label-bottom"
|
|
82
|
+
};
|
|
83
|
+
var SliderComponent = class SliderComponent extends baseFormCustom.BaseFormCustomComponent {
|
|
84
|
+
static {
|
|
85
|
+
this.initializeProps = registerProps();
|
|
86
|
+
}
|
|
87
|
+
constructor(inj, explicitContext, app) {
|
|
88
|
+
super(inj, WIDGET_CONFIG, explicitContext);
|
|
89
|
+
this.app = app;
|
|
90
|
+
this.isPrism = false;
|
|
91
|
+
base.styler(this.nativeElement, this);
|
|
92
|
+
this.isPrism = this.app.isPrism;
|
|
93
|
+
}
|
|
94
|
+
handleEvent(node, eventName, callback, locals) {
|
|
95
|
+
if (eventName !== "change" && eventName !== "blur") super.handleEvent(node, eventName, callback, locals);
|
|
96
|
+
}
|
|
97
|
+
handleChange(newVal) {
|
|
98
|
+
this.updateSliderValue();
|
|
99
|
+
this.invokeOnChange(this.datavalue, { type: "change" }, this.ngModel.valid);
|
|
100
|
+
}
|
|
101
|
+
updateSliderValue() {
|
|
102
|
+
const sliderValue = 100 - ((Number(this.datavalue) || 0) - (this.minvalue || 0)) / ((this.maxvalue || 100) - (this.minvalue || 0)) * 100;
|
|
103
|
+
const slider = this.nativeElement.querySelector(".slider-control");
|
|
104
|
+
if (slider) {
|
|
105
|
+
const safePercent = Math.min(100, Math.max(0, sliderValue));
|
|
106
|
+
slider.style.setProperty("--end", `${safePercent}%`);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
onPropertyChange(key, nv, ov) {
|
|
110
|
+
if (key === "tabindex") return;
|
|
111
|
+
else if (key === "showmarkers" || key === "markerlabeltext" || key === "minvalue" || key === "maxvalue" || key === "step") {
|
|
112
|
+
if (this.showmarkers) this.renderMarkers();
|
|
113
|
+
} else if (key === "rangelabelposition") i1.switchClass(this.nativeElement, RANGE_LABEL_POSITION[nv], RANGE_LABEL_POSITION[ov]);
|
|
114
|
+
else if (key === "datavalue") {
|
|
115
|
+
this.datavalue = nv === "" || nv === null ? this.datavalue ?? 50 : nv;
|
|
116
|
+
this.updateSliderValue();
|
|
117
|
+
}
|
|
118
|
+
super.onPropertyChange(key, nv, ov);
|
|
119
|
+
}
|
|
120
|
+
renderMarkers() {
|
|
121
|
+
const trackWidth = this.nativeElement.querySelector(".range-input")?.offsetWidth - 9 || 0;
|
|
122
|
+
const tickCount = this.step > 0 ? Math.floor(((this.maxvalue || 100) - (this.minvalue || 0)) / this.step) + 1 : 0;
|
|
123
|
+
const labels = base.convertDataToObject(this.markerlabeltext);
|
|
124
|
+
this.markerItems = [];
|
|
125
|
+
for (let i = 0; i < tickCount; i++) {
|
|
126
|
+
const left = trackWidth / (tickCount - 1) * i;
|
|
127
|
+
const label = labels?.[i]?.dataValue ?? (Array.isArray(labels) ? typeof labels[i] === "object" && labels[i]?.title ? labels[i].title : labels[i] : `${i}`);
|
|
128
|
+
const position = Array.isArray(labels) && typeof labels[i] === "object" && labels[i]?.position ? labels[i].position : "up";
|
|
129
|
+
this.markerItems.push({
|
|
130
|
+
label,
|
|
131
|
+
position,
|
|
132
|
+
left
|
|
133
|
+
});
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
ngAfterViewInit() {
|
|
137
|
+
super.ngAfterViewInit();
|
|
138
|
+
if (this.showmarkers) setTimeout(() => {
|
|
139
|
+
this.renderMarkers();
|
|
140
|
+
}, 40);
|
|
141
|
+
if (this.datavalue) setTimeout(() => {
|
|
142
|
+
this.updateSliderValue();
|
|
143
|
+
});
|
|
144
|
+
}
|
|
145
|
+
decrementButtonClick(event) {
|
|
146
|
+
event.preventDefault();
|
|
147
|
+
event.stopPropagation();
|
|
148
|
+
if (this.disabled) return;
|
|
149
|
+
const step = Number(this.step) || 1;
|
|
150
|
+
const min = Number(this.minvalue) || 0;
|
|
151
|
+
let value = Number(this.datavalue ?? 50);
|
|
152
|
+
value = value - step;
|
|
153
|
+
if (value <= min) return;
|
|
154
|
+
value = Math.max(value, min);
|
|
155
|
+
this.datavalue = value;
|
|
156
|
+
this.handleChange();
|
|
157
|
+
}
|
|
158
|
+
incrementButtonClick(event) {
|
|
159
|
+
event.preventDefault();
|
|
160
|
+
event.stopPropagation();
|
|
161
|
+
if (this.disabled) return;
|
|
162
|
+
const step = Number(this.step) || 1;
|
|
163
|
+
const max = Number(this.maxvalue) || 100;
|
|
164
|
+
let value = Number(this.datavalue ?? 50);
|
|
165
|
+
value = value + step;
|
|
166
|
+
if (value >= max) return;
|
|
167
|
+
value = Math.min(value, max);
|
|
168
|
+
this.datavalue = value;
|
|
169
|
+
this.handleChange();
|
|
170
|
+
}
|
|
171
|
+
ngOnDestroy() {
|
|
172
|
+
this.ngModel = null;
|
|
173
|
+
if (this.markerItems) this.markerItems = [];
|
|
174
|
+
super.ngOnDestroy();
|
|
175
|
+
}
|
|
176
|
+
static {
|
|
177
|
+
this.ɵfac = i0__namespace.ɵɵngDeclareFactory({
|
|
178
|
+
minVersion: "12.0.0",
|
|
179
|
+
version: "22.2.1",
|
|
180
|
+
ngImport: i0__namespace,
|
|
181
|
+
type: SliderComponent,
|
|
182
|
+
deps: [
|
|
183
|
+
{ token: i0__namespace.Injector },
|
|
184
|
+
{
|
|
185
|
+
token: "EXPLICIT_CONTEXT",
|
|
186
|
+
optional: true
|
|
187
|
+
},
|
|
188
|
+
{ token: i1__namespace.App }
|
|
189
|
+
],
|
|
190
|
+
target: i0__namespace.ɵɵFactoryTarget.Component
|
|
191
|
+
});
|
|
192
|
+
}
|
|
193
|
+
static {
|
|
194
|
+
this.ɵcmp = i0__namespace.ɵɵngDeclareComponent({
|
|
195
|
+
minVersion: "17.0.0",
|
|
196
|
+
version: "22.2.1",
|
|
197
|
+
type: SliderComponent,
|
|
198
|
+
isStandalone: true,
|
|
199
|
+
selector: "[wmSlider]",
|
|
200
|
+
providers: [base.provideAs(SliderComponent, i2.NG_VALUE_ACCESSOR, true), base.provideAsWidgetRef(SliderComponent)],
|
|
201
|
+
viewQueries: [{
|
|
202
|
+
propertyName: "ngModel",
|
|
203
|
+
first: true,
|
|
204
|
+
predicate: i2.NgModel,
|
|
205
|
+
descendants: true
|
|
206
|
+
}],
|
|
207
|
+
usesInheritance: true,
|
|
208
|
+
ngImport: i0__namespace,
|
|
209
|
+
template: "@if (isPrism) {\n<div class=\"slider-container\">\n @if (showicons) {\n <button class=\"btn-icon\" type=\"button\" name=\"decrementButton\" (click)=\"decrementButtonClick($event)\">\n <wm-app-icon [iconclass]=\"starticon\" [iconurl]=\"starticonurl\"></wm-app-icon> \n </button>\n }\n <div class=\"slider-control\">\n @if(!showmarkers){\n <span [textContent]=\"minvalue||0\" class=\"app-slider-value pull-left\"></span>\n <span [textContent]=\"maxvalue||100\" class=\"app-slider-value pull-right\"></span>\n }\n <input class=\"range-input\" type=\"range\" aria-orientation=\"horizontal\" focus-target [title]=\"datavalue\"\n [attr.min]=\"minvalue\" [attr.max]=\"maxvalue\" [attr.step]=\"step\" [(ngModel)]=\"datavalue\"\n [ngModelOptions]=\"{ standalone: true }\" [disabled]=\"disabled||readonly\" [attr.accesskey]=\"shortcutkey\"\n [attr.aria-label]=\"arialabel\" (blur)=\"invokeOnTouched($event)\" (ngModelChange)=\"handleChange($event)\"\n [attr.name]=\"name\" [tabindex]=\"tabindex\" />\n <p class=\"active-slider\"></p>\n </div>\n @if (showicons) {\n <button class=\"btn-icon\" type=\"button\" name=\"incrementButton\" (click)=\"incrementButtonClick($event)\">\n <wm-app-icon [iconclass]=\"endicon\" [iconurl]=\"endiconurl\"></wm-app-icon> \n </button>\n }\n</div>\n\n} @else {\n @if(!showmarkers){\n <span [textContent]=\"minvalue||0\" class=\"app-slider-value pull-left\"></span>\n <span [textContent]=\"maxvalue||100\" class=\"app-slider-value pull-right\"></span>\n}\n<input class=\"range-input\" aria-orientation=\"horizontal\"\n focus-target\n type=\"range\" [title]=\"datavalue\"\n [attr.min]=\"minvalue\"\n [attr.max]=\"maxvalue\"\n [attr.step]=\"step\"\n [(ngModel)]=\"datavalue\"\n [ngModelOptions]=\"{standalone: true}\"\n [disabled]=\"disabled||readonly\"\n [attr.accesskey]=\"shortcutkey\"\n [attr.aria-label]=\"arialabel\"\n (blur)=\"invokeOnTouched($event)\"\n (ngModelChange)=\"handleChange($event)\"\n [attr.name]=\"name\"\n [tabindex]=\"tabindex\"/>\n}\n@if (readonly || disabled) {\n <div aria-readonly=\"true\" class=\"readonly-wrapper\"></div>\n}\n@if(showmarkers){\n <div class=\"marker-container\">\n@for (marker of markerItems; track marker) {\n <div class=\"marker-wrapper\"\n [ngStyle]=\"{ left: marker.left + 'px' }\"\n [attr.title]=\"marker.label\">\n <div class=\"marker-label\" [ngClass]=\"marker.position\" [attr.title]=\"marker.label\">\n {{ marker.label }}\n </div>\n <div class=\"marker-dot\" [attr.title]=\"marker.label\"></div>\n </div>\n }\n </div>\n\n}\n",
|
|
210
|
+
dependencies: [
|
|
211
|
+
{
|
|
212
|
+
kind: "directive",
|
|
213
|
+
type: base.TextContentDirective,
|
|
214
|
+
selector: "[textContent]",
|
|
215
|
+
inputs: ["textContent"]
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
kind: "ngmodule",
|
|
219
|
+
type: i2.FormsModule
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
kind: "directive",
|
|
223
|
+
type: i2__namespace.DefaultValueAccessor,
|
|
224
|
+
selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]"
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
kind: "directive",
|
|
228
|
+
type: i2__namespace.RangeValueAccessor,
|
|
229
|
+
selector: "input[type=range]:not([ngNoCva])[formControlName],input[type=range]:not([ngNoCva])[formControl],input[type=range]:not([ngNoCva])[ngModel]"
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
kind: "directive",
|
|
233
|
+
type: i2__namespace.NgControlStatus,
|
|
234
|
+
selector: "[formControlName],[ngModel],[formControl]"
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
kind: "directive",
|
|
238
|
+
type: i2__namespace.NgModel,
|
|
239
|
+
selector: "[ngModel]:not([formControlName]):not([formControl])",
|
|
240
|
+
inputs: [
|
|
241
|
+
"name",
|
|
242
|
+
"disabled",
|
|
243
|
+
"ngModel",
|
|
244
|
+
"ngModelOptions"
|
|
245
|
+
],
|
|
246
|
+
outputs: ["ngModelChange"],
|
|
247
|
+
exportAs: ["ngModel"]
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
kind: "ngmodule",
|
|
251
|
+
type: i3.CommonModule
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
kind: "directive",
|
|
255
|
+
type: i3__namespace.NgClass,
|
|
256
|
+
selector: "[ngClass]",
|
|
257
|
+
inputs: ["class", "ngClass"]
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
kind: "directive",
|
|
261
|
+
type: i3__namespace.NgStyle,
|
|
262
|
+
selector: "[ngStyle]",
|
|
263
|
+
inputs: ["ngStyle"]
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
kind: "component",
|
|
267
|
+
type: base.WmAppIconComponent,
|
|
268
|
+
selector: "wm-app-icon",
|
|
269
|
+
inputs: [
|
|
270
|
+
"icon",
|
|
271
|
+
"iconclass",
|
|
272
|
+
"iconurl",
|
|
273
|
+
"defaultIconClass",
|
|
274
|
+
"defaultClasses",
|
|
275
|
+
"iconStyle",
|
|
276
|
+
"alt"
|
|
277
|
+
]
|
|
278
|
+
}
|
|
279
|
+
],
|
|
280
|
+
changeDetection: i0__namespace.ChangeDetectionStrategy.Eager
|
|
281
|
+
});
|
|
282
|
+
}
|
|
283
|
+
};
|
|
284
|
+
i0__namespace.ɵɵngDeclareClassMetadata({
|
|
285
|
+
minVersion: "12.0.0",
|
|
286
|
+
version: "22.2.1",
|
|
287
|
+
ngImport: i0__namespace,
|
|
288
|
+
type: SliderComponent,
|
|
289
|
+
decorators: [{
|
|
290
|
+
type: i0.Component,
|
|
291
|
+
args: [{
|
|
292
|
+
changeDetection: i0.ChangeDetectionStrategy.Eager,
|
|
293
|
+
standalone: true,
|
|
294
|
+
imports: [
|
|
295
|
+
base.TextContentDirective,
|
|
296
|
+
i2.FormsModule,
|
|
297
|
+
i3.CommonModule,
|
|
298
|
+
base.WmAppIconComponent
|
|
299
|
+
],
|
|
300
|
+
selector: "[wmSlider]",
|
|
301
|
+
providers: [base.provideAs(SliderComponent, i2.NG_VALUE_ACCESSOR, true), base.provideAsWidgetRef(SliderComponent)],
|
|
302
|
+
template: "@if (isPrism) {\n<div class=\"slider-container\">\n @if (showicons) {\n <button class=\"btn-icon\" type=\"button\" name=\"decrementButton\" (click)=\"decrementButtonClick($event)\">\n <wm-app-icon [iconclass]=\"starticon\" [iconurl]=\"starticonurl\"></wm-app-icon> \n </button>\n }\n <div class=\"slider-control\">\n @if(!showmarkers){\n <span [textContent]=\"minvalue||0\" class=\"app-slider-value pull-left\"></span>\n <span [textContent]=\"maxvalue||100\" class=\"app-slider-value pull-right\"></span>\n }\n <input class=\"range-input\" type=\"range\" aria-orientation=\"horizontal\" focus-target [title]=\"datavalue\"\n [attr.min]=\"minvalue\" [attr.max]=\"maxvalue\" [attr.step]=\"step\" [(ngModel)]=\"datavalue\"\n [ngModelOptions]=\"{ standalone: true }\" [disabled]=\"disabled||readonly\" [attr.accesskey]=\"shortcutkey\"\n [attr.aria-label]=\"arialabel\" (blur)=\"invokeOnTouched($event)\" (ngModelChange)=\"handleChange($event)\"\n [attr.name]=\"name\" [tabindex]=\"tabindex\" />\n <p class=\"active-slider\"></p>\n </div>\n @if (showicons) {\n <button class=\"btn-icon\" type=\"button\" name=\"incrementButton\" (click)=\"incrementButtonClick($event)\">\n <wm-app-icon [iconclass]=\"endicon\" [iconurl]=\"endiconurl\"></wm-app-icon> \n </button>\n }\n</div>\n\n} @else {\n @if(!showmarkers){\n <span [textContent]=\"minvalue||0\" class=\"app-slider-value pull-left\"></span>\n <span [textContent]=\"maxvalue||100\" class=\"app-slider-value pull-right\"></span>\n}\n<input class=\"range-input\" aria-orientation=\"horizontal\"\n focus-target\n type=\"range\" [title]=\"datavalue\"\n [attr.min]=\"minvalue\"\n [attr.max]=\"maxvalue\"\n [attr.step]=\"step\"\n [(ngModel)]=\"datavalue\"\n [ngModelOptions]=\"{standalone: true}\"\n [disabled]=\"disabled||readonly\"\n [attr.accesskey]=\"shortcutkey\"\n [attr.aria-label]=\"arialabel\"\n (blur)=\"invokeOnTouched($event)\"\n (ngModelChange)=\"handleChange($event)\"\n [attr.name]=\"name\"\n [tabindex]=\"tabindex\"/>\n}\n@if (readonly || disabled) {\n <div aria-readonly=\"true\" class=\"readonly-wrapper\"></div>\n}\n@if(showmarkers){\n <div class=\"marker-container\">\n@for (marker of markerItems; track marker) {\n <div class=\"marker-wrapper\"\n [ngStyle]=\"{ left: marker.left + 'px' }\"\n [attr.title]=\"marker.label\">\n <div class=\"marker-label\" [ngClass]=\"marker.position\" [attr.title]=\"marker.label\">\n {{ marker.label }}\n </div>\n <div class=\"marker-dot\" [attr.title]=\"marker.label\"></div>\n </div>\n }\n </div>\n\n}\n"
|
|
303
|
+
}]
|
|
304
|
+
}],
|
|
305
|
+
ctorParameters: () => [
|
|
306
|
+
{ type: i0__namespace.Injector },
|
|
307
|
+
{
|
|
308
|
+
type: void 0,
|
|
309
|
+
decorators: [{
|
|
310
|
+
type: i0.Inject,
|
|
311
|
+
args: ["EXPLICIT_CONTEXT"]
|
|
312
|
+
}, { type: i0.Optional }]
|
|
313
|
+
},
|
|
314
|
+
{ type: i1__namespace.App }
|
|
315
|
+
],
|
|
316
|
+
propDecorators: { ngModel: [{
|
|
317
|
+
type: i0.ViewChild,
|
|
318
|
+
args: [i2.NgModel]
|
|
319
|
+
}] }
|
|
320
|
+
});
|
|
56
321
|
|
|
57
|
-
|
|
58
|
-
const WIDGET_CONFIG = {
|
|
59
|
-
widgetType: 'wm-slider',
|
|
60
|
-
hostClass: DEFAULT_CLS
|
|
61
|
-
};
|
|
62
|
-
const RANGE_LABEL_POSITION = {
|
|
63
|
-
top: 'range-label-top',
|
|
64
|
-
side: 'range-label-side',
|
|
65
|
-
bottom: 'range-label-bottom',
|
|
66
|
-
};
|
|
67
|
-
class SliderComponent extends baseFormCustom.BaseFormCustomComponent {
|
|
68
|
-
static { this.initializeProps = registerProps(); }
|
|
69
|
-
constructor(inj, explicitContext, app) {
|
|
70
|
-
super(inj, WIDGET_CONFIG, explicitContext);
|
|
71
|
-
this.app = app;
|
|
72
|
-
this.isPrism = false;
|
|
73
|
-
base.styler(this.nativeElement, this);
|
|
74
|
-
this.isPrism = this.app.isPrism;
|
|
75
|
-
}
|
|
76
|
-
// change and blur events are added from the template
|
|
77
|
-
handleEvent(node, eventName, callback, locals) {
|
|
78
|
-
if (eventName !== 'change' && eventName !== 'blur') {
|
|
79
|
-
super.handleEvent(node, eventName, callback, locals);
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
handleChange(newVal) {
|
|
83
|
-
this.updateSliderValue();
|
|
84
|
-
this.invokeOnChange(this.datavalue, { type: 'change' }, this.ngModel.valid);
|
|
85
|
-
}
|
|
86
|
-
updateSliderValue() {
|
|
87
|
-
const sliderValue = 100 - ((((Number(this.datavalue) || 0) - (this.minvalue || 0)) / ((this.maxvalue || 100) - (this.minvalue || 0))) * 100);
|
|
88
|
-
const slider = this.nativeElement.querySelector('.slider-control');
|
|
89
|
-
if (slider) {
|
|
90
|
-
const safePercent = Math.min(100, Math.max(0, sliderValue));
|
|
91
|
-
slider.style.setProperty('--end', `${safePercent}%`);
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
onPropertyChange(key, nv, ov) {
|
|
95
|
-
if (key === 'tabindex') {
|
|
96
|
-
return;
|
|
97
|
-
}
|
|
98
|
-
else if (key === 'showmarkers' || key === 'markerlabeltext' || key === 'minvalue' || key === 'maxvalue' || key === 'step') {
|
|
99
|
-
if (this.showmarkers) {
|
|
100
|
-
this.renderMarkers();
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
else if (key === 'rangelabelposition') {
|
|
104
|
-
i1.switchClass(this.nativeElement, RANGE_LABEL_POSITION[nv], RANGE_LABEL_POSITION[ov]);
|
|
105
|
-
}
|
|
106
|
-
else if (key === 'datavalue') {
|
|
107
|
-
this.datavalue = (nv === "" || nv === null) ? (this.datavalue ?? 50) : nv;
|
|
108
|
-
this.updateSliderValue();
|
|
109
|
-
}
|
|
110
|
-
super.onPropertyChange(key, nv, ov);
|
|
111
|
-
}
|
|
112
|
-
renderMarkers() {
|
|
113
|
-
const sliderTrack = this.nativeElement.querySelector('.range-input');
|
|
114
|
-
const trackWidth = sliderTrack?.offsetWidth - 9 || 0;
|
|
115
|
-
const tickCount = this.step > 0 ? Math.floor(((this.maxvalue || 100) - (this.minvalue || 0)) / this.step) + 1 : 0;
|
|
116
|
-
const labels = base.convertDataToObject(this.markerlabeltext);
|
|
117
|
-
this.markerItems = [];
|
|
118
|
-
for (let i = 0; i < tickCount; i++) {
|
|
119
|
-
const left = ((trackWidth / (tickCount - 1)) * i);
|
|
120
|
-
const label = labels?.[i]?.dataValue ?? (Array.isArray(labels) ? (typeof labels[i] === 'object' && labels[i]?.title ? labels[i].title : labels[i]) : `${i}`);
|
|
121
|
-
const position = Array.isArray(labels) && typeof labels[i] === 'object' && labels[i]?.position ? labels[i].position : 'up';
|
|
122
|
-
this.markerItems.push({ label, position, left });
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
ngAfterViewInit() {
|
|
126
|
-
super.ngAfterViewInit();
|
|
127
|
-
if (this.showmarkers) {
|
|
128
|
-
setTimeout(() => { this.renderMarkers(); }, 40);
|
|
129
|
-
}
|
|
130
|
-
if (this.datavalue) {
|
|
131
|
-
setTimeout(() => { this.updateSliderValue(); });
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
decrementButtonClick(event) {
|
|
135
|
-
event.preventDefault();
|
|
136
|
-
event.stopPropagation();
|
|
137
|
-
if (this.disabled) {
|
|
138
|
-
return;
|
|
139
|
-
}
|
|
140
|
-
const step = Number(this.step) || 1;
|
|
141
|
-
const min = Number(this.minvalue) || 0;
|
|
142
|
-
let value = Number(this.datavalue ?? 50);
|
|
143
|
-
value = value - step;
|
|
144
|
-
if (value <= min) {
|
|
145
|
-
return;
|
|
146
|
-
}
|
|
147
|
-
if (!isNaN(min)) {
|
|
148
|
-
value = Math.max(value, min);
|
|
149
|
-
}
|
|
150
|
-
this.datavalue = value;
|
|
151
|
-
this.handleChange();
|
|
152
|
-
}
|
|
153
|
-
incrementButtonClick(event) {
|
|
154
|
-
event.preventDefault();
|
|
155
|
-
event.stopPropagation();
|
|
156
|
-
if (this.disabled) {
|
|
157
|
-
return;
|
|
158
|
-
}
|
|
159
|
-
const step = Number(this.step) || 1;
|
|
160
|
-
const max = Number(this.maxvalue) || 100;
|
|
161
|
-
let value = Number(this.datavalue ?? 50);
|
|
162
|
-
value = value + step;
|
|
163
|
-
if (value >= max)
|
|
164
|
-
return;
|
|
165
|
-
if (!isNaN(max)) {
|
|
166
|
-
value = Math.min(value, max);
|
|
167
|
-
}
|
|
168
|
-
this.datavalue = value;
|
|
169
|
-
this.handleChange();
|
|
170
|
-
}
|
|
171
|
-
ngOnDestroy() {
|
|
172
|
-
// MEMORY LEAK FIX: Clear ViewChild reference
|
|
173
|
-
this.ngModel = null;
|
|
174
|
-
// MEMORY LEAK FIX: Clear marker items array
|
|
175
|
-
if (this.markerItems) {
|
|
176
|
-
this.markerItems = [];
|
|
177
|
-
}
|
|
178
|
-
// Call parent ngOnDestroy
|
|
179
|
-
super.ngOnDestroy();
|
|
180
|
-
}
|
|
181
|
-
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: SliderComponent, deps: [{ token: i0__namespace.Injector }, { token: 'EXPLICIT_CONTEXT', optional: true }, { token: i1__namespace.App }], target: i0__namespace.ɵɵFactoryTarget.Component }); }
|
|
182
|
-
static { this.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.21", type: SliderComponent, isStandalone: true, selector: "[wmSlider]", providers: [
|
|
183
|
-
base.provideAs(SliderComponent, i2.NG_VALUE_ACCESSOR, true),
|
|
184
|
-
base.provideAsWidgetRef(SliderComponent)
|
|
185
|
-
], viewQueries: [{ propertyName: "ngModel", first: true, predicate: i2.NgModel, descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "@if (isPrism) {\n<div class=\"slider-container\">\n @if (showicons) {\n <button class=\"btn-icon\" type=\"button\" name=\"decrementButton\" (click)=\"decrementButtonClick($event)\">\n <wm-app-icon [iconclass]=\"starticon\" [iconurl]=\"starticonurl\"></wm-app-icon> \n </button>\n }\n <div class=\"slider-control\">\n @if(!showmarkers){\n <span [textContent]=\"minvalue||0\" class=\"app-slider-value pull-left\"></span>\n <span [textContent]=\"maxvalue||100\" class=\"app-slider-value pull-right\"></span>\n }\n <input class=\"range-input\" type=\"range\" aria-orientation=\"horizontal\" focus-target [title]=\"datavalue\"\n [attr.min]=\"minvalue\" [attr.max]=\"maxvalue\" [attr.step]=\"step\" [(ngModel)]=\"datavalue\"\n [ngModelOptions]=\"{ standalone: true }\" [disabled]=\"disabled||readonly\" [attr.accesskey]=\"shortcutkey\"\n [attr.aria-label]=\"arialabel\" (blur)=\"invokeOnTouched($event)\" (ngModelChange)=\"handleChange($event)\"\n [attr.name]=\"name\" [tabindex]=\"tabindex\" />\n <p class=\"active-slider\"></p>\n </div>\n @if (showicons) {\n <button class=\"btn-icon\" type=\"button\" name=\"incrementButton\" (click)=\"incrementButtonClick($event)\">\n <wm-app-icon [iconclass]=\"endicon\" [iconurl]=\"endiconurl\"></wm-app-icon> \n </button>\n }\n</div>\n\n} @else {\n @if(!showmarkers){\n <span [textContent]=\"minvalue||0\" class=\"app-slider-value pull-left\"></span>\n <span [textContent]=\"maxvalue||100\" class=\"app-slider-value pull-right\"></span>\n}\n<input class=\"range-input\" aria-orientation=\"horizontal\"\n focus-target\n type=\"range\" [title]=\"datavalue\"\n [attr.min]=\"minvalue\"\n [attr.max]=\"maxvalue\"\n [attr.step]=\"step\"\n [(ngModel)]=\"datavalue\"\n [ngModelOptions]=\"{standalone: true}\"\n [disabled]=\"disabled||readonly\"\n [attr.accesskey]=\"shortcutkey\"\n [attr.aria-label]=\"arialabel\"\n (blur)=\"invokeOnTouched($event)\"\n (ngModelChange)=\"handleChange($event)\"\n [attr.name]=\"name\"\n [tabindex]=\"tabindex\"/>\n}\n@if (readonly || disabled) {\n <div aria-readonly=\"true\" class=\"readonly-wrapper\"></div>\n}\n@if(showmarkers){\n <div class=\"marker-container\">\n@for (marker of markerItems; track marker) {\n <div class=\"marker-wrapper\"\n [ngStyle]=\"{ left: marker.left + 'px' }\"\n [attr.title]=\"marker.label\">\n <div class=\"marker-label\" [ngClass]=\"marker.position\" [attr.title]=\"marker.label\">\n {{ marker.label }}\n </div>\n <div class=\"marker-dot\" [attr.title]=\"marker.label\"></div>\n </div>\n }\n </div>\n\n}\n", dependencies: [{ kind: "directive", type: base.TextContentDirective, selector: "[textContent]", inputs: ["textContent"] }, { kind: "ngmodule", type: i2.FormsModule }, { kind: "directive", type: i2__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2__namespace.RangeValueAccessor, selector: "input[type=range][formControlName],input[type=range][formControl],input[type=range][ngModel]" }, { kind: "directive", type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: i3.CommonModule }, { kind: "directive", type: i3__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3__namespace.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: base.WmAppIconComponent, selector: "wm-app-icon", inputs: ["icon", "iconclass", "iconurl", "defaultIconClass", "defaultClasses", "iconStyle", "alt"] }] }); }
|
|
186
|
-
}
|
|
187
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: SliderComponent, decorators: [{
|
|
188
|
-
type: i0.Component,
|
|
189
|
-
args: [{ standalone: true, imports: [base.TextContentDirective, i2.FormsModule, i3.CommonModule, base.WmAppIconComponent], selector: '[wmSlider]', providers: [
|
|
190
|
-
base.provideAs(SliderComponent, i2.NG_VALUE_ACCESSOR, true),
|
|
191
|
-
base.provideAsWidgetRef(SliderComponent)
|
|
192
|
-
], template: "@if (isPrism) {\n<div class=\"slider-container\">\n @if (showicons) {\n <button class=\"btn-icon\" type=\"button\" name=\"decrementButton\" (click)=\"decrementButtonClick($event)\">\n <wm-app-icon [iconclass]=\"starticon\" [iconurl]=\"starticonurl\"></wm-app-icon> \n </button>\n }\n <div class=\"slider-control\">\n @if(!showmarkers){\n <span [textContent]=\"minvalue||0\" class=\"app-slider-value pull-left\"></span>\n <span [textContent]=\"maxvalue||100\" class=\"app-slider-value pull-right\"></span>\n }\n <input class=\"range-input\" type=\"range\" aria-orientation=\"horizontal\" focus-target [title]=\"datavalue\"\n [attr.min]=\"minvalue\" [attr.max]=\"maxvalue\" [attr.step]=\"step\" [(ngModel)]=\"datavalue\"\n [ngModelOptions]=\"{ standalone: true }\" [disabled]=\"disabled||readonly\" [attr.accesskey]=\"shortcutkey\"\n [attr.aria-label]=\"arialabel\" (blur)=\"invokeOnTouched($event)\" (ngModelChange)=\"handleChange($event)\"\n [attr.name]=\"name\" [tabindex]=\"tabindex\" />\n <p class=\"active-slider\"></p>\n </div>\n @if (showicons) {\n <button class=\"btn-icon\" type=\"button\" name=\"incrementButton\" (click)=\"incrementButtonClick($event)\">\n <wm-app-icon [iconclass]=\"endicon\" [iconurl]=\"endiconurl\"></wm-app-icon> \n </button>\n }\n</div>\n\n} @else {\n @if(!showmarkers){\n <span [textContent]=\"minvalue||0\" class=\"app-slider-value pull-left\"></span>\n <span [textContent]=\"maxvalue||100\" class=\"app-slider-value pull-right\"></span>\n}\n<input class=\"range-input\" aria-orientation=\"horizontal\"\n focus-target\n type=\"range\" [title]=\"datavalue\"\n [attr.min]=\"minvalue\"\n [attr.max]=\"maxvalue\"\n [attr.step]=\"step\"\n [(ngModel)]=\"datavalue\"\n [ngModelOptions]=\"{standalone: true}\"\n [disabled]=\"disabled||readonly\"\n [attr.accesskey]=\"shortcutkey\"\n [attr.aria-label]=\"arialabel\"\n (blur)=\"invokeOnTouched($event)\"\n (ngModelChange)=\"handleChange($event)\"\n [attr.name]=\"name\"\n [tabindex]=\"tabindex\"/>\n}\n@if (readonly || disabled) {\n <div aria-readonly=\"true\" class=\"readonly-wrapper\"></div>\n}\n@if(showmarkers){\n <div class=\"marker-container\">\n@for (marker of markerItems; track marker) {\n <div class=\"marker-wrapper\"\n [ngStyle]=\"{ left: marker.left + 'px' }\"\n [attr.title]=\"marker.label\">\n <div class=\"marker-label\" [ngClass]=\"marker.position\" [attr.title]=\"marker.label\">\n {{ marker.label }}\n </div>\n <div class=\"marker-dot\" [attr.title]=\"marker.label\"></div>\n </div>\n }\n </div>\n\n}\n" }]
|
|
193
|
-
}], ctorParameters: () => [{ type: i0__namespace.Injector }, { type: undefined, decorators: [{
|
|
194
|
-
type: i0.Inject,
|
|
195
|
-
args: ['EXPLICIT_CONTEXT']
|
|
196
|
-
}, {
|
|
197
|
-
type: i0.Optional
|
|
198
|
-
}] }, { type: i1__namespace.App }], propDecorators: { ngModel: [{
|
|
199
|
-
type: i0.ViewChild,
|
|
200
|
-
args: [i2.NgModel]
|
|
201
|
-
}] } });
|
|
202
|
-
|
|
203
|
-
exports.SliderComponent = SliderComponent;
|
|
322
|
+
exports.SliderComponent = SliderComponent;
|
|
204
323
|
|
|
205
324
|
}));
|