@wavemaker-ai/app-ng-runtime 12.0.0-rc.335 → 12.0.1-rc.338
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build-task/bundles/index.umd.js +15 -16
- package/build-task/fesm2022/index.mjs +15 -16
- package/build-task/fesm2022/index.mjs.map +1 -1
- package/components/advanced/carousel/bundles/index.umd.js +9 -9
- package/components/advanced/carousel/fesm2022/index.mjs +9 -9
- package/components/advanced/carousel/fesm2022/index.mjs.map +1 -1
- package/components/advanced/carousel/types/index.d.ts +7 -7
- package/components/advanced/custom/bundles/index.umd.js +9 -10
- package/components/advanced/custom/fesm2022/index.mjs +9 -10
- package/components/advanced/custom/fesm2022/index.mjs.map +1 -1
- package/components/advanced/custom/types/index.d.ts +3 -3
- package/components/advanced/login/bundles/index.umd.js +3 -3
- package/components/advanced/login/fesm2022/index.mjs +3 -3
- package/components/advanced/login/fesm2022/index.mjs.map +1 -1
- package/components/advanced/login/types/index.d.ts +1 -1
- package/components/advanced/marquee/bundles/index.umd.js +3 -3
- package/components/advanced/marquee/fesm2022/index.mjs +3 -3
- package/components/advanced/marquee/fesm2022/index.mjs.map +1 -1
- package/components/advanced/marquee/types/index.d.ts +1 -1
- package/components/base/bundles/index.umd.js +40 -46
- package/components/base/fesm2022/index.mjs +40 -46
- package/components/base/fesm2022/index.mjs.map +1 -1
- package/components/base/types/index.d.ts +47 -46
- package/components/basic/anchor/bundles/index.umd.js +3 -3
- package/components/basic/anchor/fesm2022/index.mjs +3 -3
- package/components/basic/anchor/fesm2022/index.mjs.map +1 -1
- package/components/basic/anchor/types/index.d.ts +3 -3
- package/components/basic/audio/bundles/index.umd.js +3 -3
- package/components/basic/audio/fesm2022/index.mjs +3 -3
- package/components/basic/audio/fesm2022/index.mjs.map +1 -1
- package/components/basic/audio/types/index.d.ts +1 -1
- package/components/basic/html/bundles/index.umd.js +10 -11
- package/components/basic/html/fesm2022/index.mjs +10 -11
- package/components/basic/html/fesm2022/index.mjs.map +1 -1
- package/components/basic/html/types/index.d.ts +3 -3
- package/components/basic/icon/bundles/index.umd.js +3 -3
- package/components/basic/icon/fesm2022/index.mjs +3 -3
- package/components/basic/icon/fesm2022/index.mjs.map +1 -1
- package/components/basic/icon/types/index.d.ts +1 -1
- package/components/basic/iframe/bundles/index.umd.js +5 -5
- package/components/basic/iframe/fesm2022/index.mjs +5 -5
- package/components/basic/iframe/fesm2022/index.mjs.map +1 -1
- package/components/basic/iframe/types/index.d.ts +3 -3
- package/components/basic/label/bundles/index.umd.js +10 -11
- package/components/basic/label/fesm2022/index.mjs +10 -11
- package/components/basic/label/fesm2022/index.mjs.map +1 -1
- package/components/basic/label/types/index.d.ts +1 -1
- package/components/basic/picture/bundles/index.umd.js +3 -3
- package/components/basic/picture/fesm2022/index.mjs +3 -3
- package/components/basic/picture/fesm2022/index.mjs.map +1 -1
- package/components/basic/picture/types/index.d.ts +2 -2
- package/components/basic/progress/progress-bar/bundles/index.umd.js +8 -10
- package/components/basic/progress/progress-bar/fesm2022/index.mjs +8 -10
- package/components/basic/progress/progress-bar/fesm2022/index.mjs.map +1 -1
- package/components/basic/progress/progress-bar/types/index.d.ts +2 -2
- package/components/basic/progress/progress-circle/bundles/index.umd.js +3 -3
- package/components/basic/progress/progress-circle/fesm2022/index.mjs +3 -3
- package/components/basic/progress/progress-circle/fesm2022/index.mjs.map +1 -1
- package/components/basic/progress/progress-circle/types/index.d.ts +2 -2
- package/components/basic/rich-text-editor/bundles/index.umd.js +3 -3
- package/components/basic/rich-text-editor/fesm2022/index.mjs +3 -3
- package/components/basic/rich-text-editor/fesm2022/index.mjs.map +1 -1
- package/components/basic/rich-text-editor/types/index.d.ts +3 -3
- package/components/basic/search/bundles/index.umd.js +40 -42
- package/components/basic/search/fesm2022/index.mjs +40 -42
- package/components/basic/search/fesm2022/index.mjs.map +1 -1
- package/components/basic/search/types/index.d.ts +13 -13
- package/components/basic/spinner/bundles/index.umd.js +3 -3
- package/components/basic/spinner/fesm2022/index.mjs +3 -3
- package/components/basic/spinner/fesm2022/index.mjs.map +1 -1
- package/components/basic/spinner/types/index.d.ts +3 -3
- package/components/basic/tree/bundles/index.umd.js +9 -9
- package/components/basic/tree/fesm2022/index.mjs +9 -9
- package/components/basic/tree/fesm2022/index.mjs.map +1 -1
- package/components/basic/tree/types/index.d.ts +7 -7
- package/components/basic/video/bundles/index.umd.js +3 -3
- package/components/basic/video/fesm2022/index.mjs +3 -3
- package/components/basic/video/fesm2022/index.mjs.map +1 -1
- package/components/basic/video/types/index.d.ts +2 -2
- package/components/chart/bundles/index.umd.js +19 -22
- package/components/chart/fesm2022/index.mjs +20 -23
- package/components/chart/fesm2022/index.mjs.map +1 -1
- package/components/chart/types/index.d.ts +9 -9
- package/components/containers/accordion/bundles/index.umd.js +10 -12
- package/components/containers/accordion/fesm2022/index.mjs +10 -12
- package/components/containers/accordion/fesm2022/index.mjs.map +1 -1
- package/components/containers/accordion/types/index.d.ts +9 -9
- package/components/containers/layout-grid/bundles/index.umd.js +9 -9
- package/components/containers/layout-grid/fesm2022/index.mjs +9 -9
- package/components/containers/layout-grid/fesm2022/index.mjs.map +1 -1
- package/components/containers/layout-grid/types/index.d.ts +4 -4
- package/components/containers/linear-layout/bundles/index.umd.js +6 -6
- package/components/containers/linear-layout/fesm2022/index.mjs +6 -6
- package/components/containers/linear-layout/fesm2022/index.mjs.map +1 -1
- package/components/containers/linear-layout/types/index.d.ts +2 -2
- package/components/containers/panel/bundles/index.umd.js +3 -3
- package/components/containers/panel/fesm2022/index.mjs +3 -3
- package/components/containers/panel/fesm2022/index.mjs.map +1 -1
- package/components/containers/panel/types/index.d.ts +3 -3
- package/components/containers/tabs/bundles/index.umd.js +9 -9
- package/components/containers/tabs/fesm2022/index.mjs +9 -9
- package/components/containers/tabs/fesm2022/index.mjs.map +1 -1
- package/components/containers/tabs/types/index.d.ts +8 -8
- package/components/containers/tile/bundles/index.umd.js +3 -3
- package/components/containers/tile/fesm2022/index.mjs +3 -3
- package/components/containers/tile/fesm2022/index.mjs.map +1 -1
- package/components/containers/tile/types/index.d.ts +1 -1
- package/components/containers/wizard/bundles/index.umd.js +18 -18
- package/components/containers/wizard/fesm2022/index.mjs +18 -18
- package/components/containers/wizard/fesm2022/index.mjs.map +1 -1
- package/components/containers/wizard/types/index.d.ts +8 -8
- package/components/data/card/bundles/index.umd.js +12 -12
- package/components/data/card/fesm2022/index.mjs +12 -12
- package/components/data/card/fesm2022/index.mjs.map +1 -1
- package/components/data/card/types/index.d.ts +6 -6
- package/components/data/form/bundles/index.umd.js +72 -75
- package/components/data/form/fesm2022/index.mjs +72 -77
- package/components/data/form/fesm2022/index.mjs.map +1 -1
- package/components/data/form/types/index.d.ts +29 -29
- package/components/data/list/bundles/index.umd.js +22 -27
- package/components/data/list/fesm2022/index.mjs +22 -27
- package/components/data/list/fesm2022/index.mjs.map +1 -1
- package/components/data/list/types/index.d.ts +23 -23
- package/components/data/live-table/bundles/index.umd.js +3 -3
- package/components/data/live-table/fesm2022/index.mjs +3 -3
- package/components/data/live-table/fesm2022/index.mjs.map +1 -1
- package/components/data/live-table/types/index.d.ts +5 -5
- package/components/data/pagination/bundles/index.umd.js +27 -28
- package/components/data/pagination/fesm2022/index.mjs +27 -28
- package/components/data/pagination/fesm2022/index.mjs.map +1 -1
- package/components/data/pagination/types/index.d.ts +1 -1
- package/components/data/table/bundles/index.umd.js +131 -142
- package/components/data/table/fesm2022/index.mjs +131 -143
- package/components/data/table/fesm2022/index.mjs.map +1 -1
- package/components/data/table/types/index.d.ts +20 -20
- package/components/dialogs/alert-dialog/bundles/index.umd.js +3 -3
- package/components/dialogs/alert-dialog/fesm2022/index.mjs +3 -3
- package/components/dialogs/alert-dialog/fesm2022/index.mjs.map +1 -1
- package/components/dialogs/alert-dialog/types/index.d.ts +1 -1
- package/components/dialogs/confirm-dialog/bundles/index.umd.js +3 -3
- package/components/dialogs/confirm-dialog/fesm2022/index.mjs +3 -3
- package/components/dialogs/confirm-dialog/fesm2022/index.mjs.map +1 -1
- package/components/dialogs/confirm-dialog/types/index.d.ts +1 -1
- package/components/dialogs/default/bundles/index.umd.js +12 -12
- package/components/dialogs/default/fesm2022/index.mjs +12 -12
- package/components/dialogs/default/fesm2022/index.mjs.map +1 -1
- package/components/dialogs/default/types/index.d.ts +3 -3
- package/components/dialogs/design-dialog/bundles/index.umd.js +3 -3
- package/components/dialogs/design-dialog/fesm2022/index.mjs +3 -3
- package/components/dialogs/design-dialog/fesm2022/index.mjs.map +1 -1
- package/components/dialogs/design-dialog/types/index.d.ts +1 -1
- package/components/dialogs/iframe-dialog/bundles/index.umd.js +3 -3
- package/components/dialogs/iframe-dialog/fesm2022/index.mjs +3 -3
- package/components/dialogs/iframe-dialog/fesm2022/index.mjs.map +1 -1
- package/components/dialogs/iframe-dialog/types/index.d.ts +1 -1
- package/components/dialogs/login-dialog/bundles/index.umd.js +3 -3
- package/components/dialogs/login-dialog/fesm2022/index.mjs +3 -3
- package/components/dialogs/login-dialog/fesm2022/index.mjs.map +1 -1
- package/components/dialogs/login-dialog/types/index.d.ts +2 -2
- package/components/dialogs/partial-dialog/bundles/index.umd.js +3 -3
- package/components/dialogs/partial-dialog/fesm2022/index.mjs +3 -3
- package/components/dialogs/partial-dialog/fesm2022/index.mjs.map +1 -1
- package/components/dialogs/partial-dialog/types/index.d.ts +1 -1
- package/components/input/base-form/bundles/index.umd.js +4 -4
- package/components/input/base-form/fesm2022/index.mjs +4 -4
- package/components/input/base-form/fesm2022/index.mjs.map +1 -1
- package/components/input/base-form-custom/bundles/index.umd.js +3 -3
- package/components/input/base-form-custom/fesm2022/index.mjs +3 -3
- package/components/input/button/bundles/index.umd.js +3 -3
- package/components/input/button/fesm2022/index.mjs +3 -3
- package/components/input/button/fesm2022/index.mjs.map +1 -1
- package/components/input/button/types/index.d.ts +1 -1
- package/components/input/button-group/bundles/index.umd.js +3 -3
- package/components/input/button-group/fesm2022/index.mjs +3 -3
- package/components/input/button-group/fesm2022/index.mjs.map +1 -1
- package/components/input/button-group/types/index.d.ts +1 -1
- package/components/input/calendar/bundles/index.umd.js +4 -4
- package/components/input/calendar/fesm2022/index.mjs +4 -5
- package/components/input/calendar/fesm2022/index.mjs.map +1 -1
- package/components/input/calendar/types/index.d.ts +9 -9
- package/components/input/caption-position/bundles/index.umd.js +5 -5
- package/components/input/caption-position/fesm2022/index.mjs +5 -5
- package/components/input/caption-position/fesm2022/index.mjs.map +1 -1
- package/components/input/caption-position/types/index.d.ts +4 -4
- package/components/input/checkbox/bundles/index.umd.js +3 -3
- package/components/input/checkbox/fesm2022/index.mjs +3 -3
- package/components/input/checkbox/fesm2022/index.mjs.map +1 -1
- package/components/input/checkbox/types/index.d.ts +2 -2
- package/components/input/checkboxset/bundles/index.umd.js +4 -4
- package/components/input/checkboxset/fesm2022/index.mjs +4 -4
- package/components/input/checkboxset/fesm2022/index.mjs.map +1 -1
- package/components/input/checkboxset/types/index.d.ts +2 -2
- package/components/input/chips/bundles/index.umd.js +5 -5
- package/components/input/chips/fesm2022/index.mjs +5 -5
- package/components/input/chips/fesm2022/index.mjs.map +1 -1
- package/components/input/chips/types/index.d.ts +14 -14
- package/components/input/color-picker/bundles/index.umd.js +3 -3
- package/components/input/color-picker/fesm2022/index.mjs +3 -3
- package/components/input/color-picker/fesm2022/index.mjs.map +1 -1
- package/components/input/color-picker/types/index.d.ts +2 -2
- package/components/input/composite/bundles/index.umd.js +3 -3
- package/components/input/composite/fesm2022/index.mjs +3 -3
- package/components/input/composite/fesm2022/index.mjs.map +1 -1
- package/components/input/composite/types/index.d.ts +1 -1
- package/components/input/currency/bundles/index.umd.js +3 -3
- package/components/input/currency/fesm2022/index.mjs +3 -3
- package/components/input/currency/fesm2022/index.mjs.map +1 -1
- package/components/input/currency/types/index.d.ts +3 -3
- package/components/input/dataset-aware-form/bundles/index.umd.js +7 -7
- package/components/input/dataset-aware-form/fesm2022/index.mjs +7 -7
- package/components/input/dataset-aware-form/fesm2022/index.mjs.map +1 -1
- package/components/input/dataset-aware-form/types/index.d.ts +1 -1
- package/components/input/epoch/base-date-time/bundles/index.umd.js +10 -15
- package/components/input/epoch/base-date-time/fesm2022/index.mjs +10 -15
- package/components/input/epoch/base-date-time/fesm2022/index.mjs.map +1 -1
- package/components/input/epoch/base-date-time/types/index.d.ts +2 -2
- package/components/input/epoch/date/bundles/index.umd.js +5 -5
- package/components/input/epoch/date/fesm2022/index.mjs +5 -5
- package/components/input/epoch/date/fesm2022/index.mjs.map +1 -1
- package/components/input/epoch/date/types/index.d.ts +4 -4
- package/components/input/epoch/date-time/bundles/index.umd.js +3 -3
- package/components/input/epoch/date-time/fesm2022/index.mjs +3 -3
- package/components/input/epoch/date-time/fesm2022/index.mjs.map +1 -1
- package/components/input/epoch/date-time/types/index.d.ts +8 -8
- package/components/input/epoch/date-time-picker/bundles/index.umd.js +8 -8
- package/components/input/epoch/date-time-picker/fesm2022/index.mjs +8 -8
- package/components/input/epoch/date-time-picker/fesm2022/index.mjs.map +1 -1
- package/components/input/epoch/date-time-picker/types/index.d.ts +6 -7
- package/components/input/epoch/picker/bundles/index.umd.js +6 -6
- package/components/input/epoch/picker/fesm2022/index.mjs +6 -6
- package/components/input/epoch/picker/fesm2022/index.mjs.map +1 -1
- package/components/input/epoch/time/bundles/index.umd.js +4 -5
- package/components/input/epoch/time/fesm2022/index.mjs +5 -6
- package/components/input/epoch/time/fesm2022/index.mjs.map +1 -1
- package/components/input/epoch/time/types/index.d.ts +4 -4
- package/components/input/file-upload/bundles/index.umd.js +4 -4
- package/components/input/file-upload/fesm2022/index.mjs +4 -4
- package/components/input/file-upload/fesm2022/index.mjs.map +1 -1
- package/components/input/file-upload/types/index.d.ts +5 -5
- package/components/input/number/bundles/index.umd.js +3 -3
- package/components/input/number/fesm2022/index.mjs +3 -3
- package/components/input/number/fesm2022/index.mjs.map +1 -1
- package/components/input/number/types/index.d.ts +1 -1
- package/components/input/radioset/bundles/index.umd.js +4 -4
- package/components/input/radioset/fesm2022/index.mjs +4 -4
- package/components/input/radioset/fesm2022/index.mjs.map +1 -1
- package/components/input/radioset/types/index.d.ts +2 -2
- package/components/input/rating/bundles/index.umd.js +9 -11
- package/components/input/rating/fesm2022/index.mjs +9 -11
- package/components/input/rating/fesm2022/index.mjs.map +1 -1
- package/components/input/rating/types/index.d.ts +2 -2
- package/components/input/select/bundles/index.umd.js +4 -4
- package/components/input/select/fesm2022/index.mjs +4 -4
- package/components/input/select/fesm2022/index.mjs.map +1 -1
- package/components/input/select/types/index.d.ts +1 -1
- package/components/input/slider/bundles/index.umd.js +3 -3
- package/components/input/slider/fesm2022/index.mjs +3 -3
- package/components/input/slider/fesm2022/index.mjs.map +1 -1
- package/components/input/slider/types/index.d.ts +1 -1
- package/components/input/switch/bundles/index.umd.js +3 -3
- package/components/input/switch/fesm2022/index.mjs +3 -3
- package/components/input/switch/fesm2022/index.mjs.map +1 -1
- package/components/input/switch/types/index.d.ts +1 -1
- package/components/input/text/bundles/index.umd.js +31 -35
- package/components/input/text/fesm2022/index.mjs +31 -35
- package/components/input/text/fesm2022/index.mjs.map +1 -1
- package/components/input/text/types/index.d.ts +12 -12
- package/components/input/textarea/bundles/index.umd.js +3 -3
- package/components/input/textarea/fesm2022/index.mjs +3 -3
- package/components/input/textarea/fesm2022/index.mjs.map +1 -1
- package/components/input/textarea/types/index.d.ts +2 -2
- package/components/navigation/breadcrumb/bundles/index.umd.js +3 -3
- package/components/navigation/breadcrumb/fesm2022/index.mjs +3 -3
- package/components/navigation/breadcrumb/fesm2022/index.mjs.map +1 -1
- package/components/navigation/breadcrumb/types/index.d.ts +4 -4
- package/components/navigation/menu/bundles/index.umd.js +25 -33
- package/components/navigation/menu/fesm2022/index.mjs +25 -33
- package/components/navigation/menu/fesm2022/index.mjs.map +1 -1
- package/components/navigation/menu/types/index.d.ts +21 -21
- package/components/navigation/navbar/bundles/index.umd.js +3 -3
- package/components/navigation/navbar/fesm2022/index.mjs +3 -3
- package/components/navigation/navbar/fesm2022/index.mjs.map +1 -1
- package/components/navigation/navbar/types/index.d.ts +1 -1
- package/components/navigation/popover/bundles/index.umd.js +4 -4
- package/components/navigation/popover/fesm2022/index.mjs +4 -4
- package/components/navigation/popover/fesm2022/index.mjs.map +1 -1
- package/components/navigation/popover/types/index.d.ts +4 -4
- package/components/page/default/bundles/index.umd.js +23 -23
- package/components/page/default/fesm2022/index.mjs +23 -23
- package/components/page/default/fesm2022/index.mjs.map +1 -1
- package/components/page/default/types/index.d.ts +14 -14
- package/components/page/footer/bundles/index.umd.js +3 -3
- package/components/page/footer/fesm2022/index.mjs +3 -3
- package/components/page/footer/fesm2022/index.mjs.map +1 -1
- package/components/page/footer/types/index.d.ts +1 -1
- package/components/page/header/bundles/index.umd.js +3 -3
- package/components/page/header/fesm2022/index.mjs +3 -3
- package/components/page/header/fesm2022/index.mjs.map +1 -1
- package/components/page/header/types/index.d.ts +1 -1
- package/components/page/left-panel/bundles/index.umd.js +5 -5
- package/components/page/left-panel/fesm2022/index.mjs +5 -5
- package/components/page/left-panel/fesm2022/index.mjs.map +1 -1
- package/components/page/left-panel/types/index.d.ts +3 -3
- package/components/page/right-panel/bundles/index.umd.js +3 -3
- package/components/page/right-panel/fesm2022/index.mjs +3 -3
- package/components/page/right-panel/fesm2022/index.mjs.map +1 -1
- package/components/page/right-panel/types/index.d.ts +1 -1
- package/components/page/top-nav/bundles/index.umd.js +3 -3
- package/components/page/top-nav/fesm2022/index.mjs +3 -3
- package/components/page/top-nav/fesm2022/index.mjs.map +1 -1
- package/components/page/top-nav/types/index.d.ts +1 -1
- package/components/prefab/bundles/index.umd.js +7 -7
- package/components/prefab/fesm2022/index.mjs +7 -7
- package/components/prefab/fesm2022/index.mjs.map +1 -1
- package/components/prefab/types/index.d.ts +3 -3
- package/core/bundles/index.umd.js +84 -89
- package/core/fesm2022/index.mjs +84 -89
- package/core/fesm2022/index.mjs.map +1 -1
- package/core/types/index.d.ts +11 -11
- package/http/bundles/index.umd.js +6 -6
- package/http/fesm2022/index.mjs +6 -6
- package/http/fesm2022/index.mjs.map +1 -1
- package/http/types/index.d.ts +1 -1
- package/npm-shrinkwrap.json +2 -2
- package/oAuth/bundles/index.umd.js +17 -21
- package/oAuth/fesm2022/index.mjs +17 -21
- package/oAuth/fesm2022/index.mjs.map +1 -1
- package/oAuth/types/index.d.ts +1 -1
- package/package-lock.json +2 -2
- package/package.json +1 -1
- package/runtime/base/bundles/index.umd.js +253 -275
- package/runtime/base/fesm2022/index.mjs +253 -275
- package/runtime/base/fesm2022/index.mjs.map +1 -1
- package/runtime/base/types/index.d.ts +90 -96
- package/runtime/dynamic/bundles/index.umd.js +28 -28
- package/runtime/dynamic/fesm2022/index.mjs +28 -28
- package/runtime/dynamic/fesm2022/index.mjs.map +1 -1
- package/runtime/dynamic/types/index.d.ts +22 -22
- package/scripts/datatable/datatable.js +293 -271
- package/scripts/tree-keyboard-navigation/keyboard-navigation.js +68 -56
- package/security/bundles/index.umd.js +6 -6
- package/security/fesm2022/index.mjs +6 -6
- package/security/fesm2022/index.mjs.map +1 -1
- package/security/types/index.d.ts +5 -5
- package/transpiler/bundles/index.umd.js +3 -5
- package/transpiler/fesm2022/index.mjs +3 -5
- package/transpiler/fesm2022/index.mjs.map +1 -1
- package/variables/bundles/index.umd.js +69 -71
- package/variables/fesm2022/index.mjs +69 -72
- package/variables/fesm2022/index.mjs.map +1 -1
- package/variables/types/index.d.ts +9 -9
|
@@ -10,12 +10,12 @@ import * as lodash from 'lodash';
|
|
|
10
10
|
import { LiveTableComponent } from '@wm/components/data/live-table';
|
|
11
11
|
|
|
12
12
|
declare class FormComponent extends StylableComponent implements OnDestroy, AfterContentInit, AfterViewInit {
|
|
13
|
-
private envInjector;
|
|
14
|
-
private fb;
|
|
15
|
-
private app;
|
|
16
|
-
private dialogService;
|
|
17
|
-
private dynamicComponentProvider;
|
|
18
|
-
private ngZone;
|
|
13
|
+
private readonly envInjector;
|
|
14
|
+
private readonly fb;
|
|
15
|
+
private readonly app;
|
|
16
|
+
private readonly dialogService;
|
|
17
|
+
private readonly dynamicComponentProvider;
|
|
18
|
+
private readonly ngZone;
|
|
19
19
|
parentList: ListComponent;
|
|
20
20
|
parentForm: FormComponent;
|
|
21
21
|
parentPrefab: PrefabDirective;
|
|
@@ -24,8 +24,8 @@ declare class FormComponent extends StylableComponent implements OnDestroy, Afte
|
|
|
24
24
|
onSubmitEvt: any;
|
|
25
25
|
onBeforeRenderEvt: any;
|
|
26
26
|
binddataset: any;
|
|
27
|
-
private bindformdata;
|
|
28
|
-
static initializeProps: void;
|
|
27
|
+
private readonly bindformdata;
|
|
28
|
+
static readonly initializeProps: void;
|
|
29
29
|
dynamicFormRef: ViewContainerRef;
|
|
30
30
|
messageRef: any;
|
|
31
31
|
componentRefs: any;
|
|
@@ -101,7 +101,7 @@ declare class FormComponent extends StylableComponent implements OnDestroy, Afte
|
|
|
101
101
|
private validationMessages;
|
|
102
102
|
private formGroupName;
|
|
103
103
|
private formArrayIndex;
|
|
104
|
-
private bindingValue;
|
|
104
|
+
private readonly bindingValue;
|
|
105
105
|
private _formIsInList;
|
|
106
106
|
private _triggeredByUser;
|
|
107
107
|
private _debouncedSubmitForm;
|
|
@@ -236,7 +236,7 @@ declare class FormWidgetDirective implements OnInit, OnDestroy {
|
|
|
236
236
|
|
|
237
237
|
declare class FormActionDirective extends BaseComponent implements OnInit, OnDestroy {
|
|
238
238
|
form: FormComponent;
|
|
239
|
-
static initializeProps: void;
|
|
239
|
+
static readonly initializeProps: void;
|
|
240
240
|
accessroles: any;
|
|
241
241
|
action: any;
|
|
242
242
|
binding: any;
|
|
@@ -267,13 +267,13 @@ declare class FormActionDirective extends BaseComponent implements OnInit, OnDes
|
|
|
267
267
|
}
|
|
268
268
|
|
|
269
269
|
declare class FormFieldDirective extends StylableComponent implements OnInit, AfterContentInit, OnDestroy {
|
|
270
|
-
static initializeProps: void;
|
|
270
|
+
static readonly initializeProps: void;
|
|
271
271
|
formWidget: any;
|
|
272
272
|
formWidgetMax: any;
|
|
273
|
-
private fb;
|
|
274
|
-
private viewport;
|
|
275
|
-
private excludeProps;
|
|
276
|
-
private _validators;
|
|
273
|
+
private readonly fb;
|
|
274
|
+
private readonly viewport;
|
|
275
|
+
private readonly excludeProps;
|
|
276
|
+
private readonly _validators;
|
|
277
277
|
private _oldUploadVal;
|
|
278
278
|
ngform: FormGroup;
|
|
279
279
|
defaultvalue: any;
|
|
@@ -316,24 +316,24 @@ declare class FormFieldDirective extends StylableComponent implements OnInit, Af
|
|
|
316
316
|
validationmessage: any;
|
|
317
317
|
_fieldName: any;
|
|
318
318
|
private _debounceSetUpValidators;
|
|
319
|
-
private _initPropsRes;
|
|
320
|
-
private parentList;
|
|
319
|
+
private readonly _initPropsRes;
|
|
320
|
+
private readonly parentList;
|
|
321
321
|
private showPendingSpinner;
|
|
322
322
|
private _activeField;
|
|
323
323
|
private notifyForFields;
|
|
324
324
|
private fieldValidations;
|
|
325
325
|
private _triggeredByUser;
|
|
326
326
|
private _clicktriggeredByUser;
|
|
327
|
-
private app;
|
|
327
|
+
private readonly app;
|
|
328
328
|
onKeydownHandler(event: KeyboardEvent): void;
|
|
329
329
|
handleClick(event: any): void;
|
|
330
|
-
private isFocused;
|
|
330
|
+
private readonly isFocused;
|
|
331
331
|
constructor(inj: Injector, form: FormComponent, fb: FormBuilder, viewport: Viewport, app: App, parentList: ListComponent, bindChipclass: string, binddataset: any, binddisplayexpression: string, binddisplaylabel: string, _widgetType: any, name: any, binddisplayimagesrc: String, key: any, isRange: any, pcDisplay: any, mobileDisplay: any, tabletDisplay: any, contexts: Array<any>, explicitContext: any);
|
|
332
332
|
_onFocusField($evt: any): void;
|
|
333
333
|
getActiveElement(): HTMLSelectElement | HTMLTextAreaElement | HTMLInputElement;
|
|
334
334
|
setAriaAttributes(): void;
|
|
335
335
|
_onBlurField($evt: any): void;
|
|
336
|
-
evaluateExpr(object: any, displayField: any, displayExpr: any): any;
|
|
336
|
+
evaluateExpr(object: any, displayField: any, displayExpr: any, bindExpr?: any): any;
|
|
337
337
|
getDisplayExpr(): any;
|
|
338
338
|
getCaption(): any;
|
|
339
339
|
notifyChanges(): void;
|
|
@@ -399,18 +399,18 @@ declare class LiveActionsDirective implements OnDestroy {
|
|
|
399
399
|
}
|
|
400
400
|
|
|
401
401
|
declare class DependsonDirective implements AfterContentInit, OnDestroy {
|
|
402
|
-
private dialogService;
|
|
403
|
-
private app;
|
|
402
|
+
private readonly dialogService;
|
|
403
|
+
private readonly app;
|
|
404
404
|
formChildren: any;
|
|
405
|
-
private dialogId;
|
|
406
|
-
private dependson;
|
|
407
|
-
private isLayoutDialog;
|
|
405
|
+
private readonly dialogId;
|
|
406
|
+
private readonly dependson;
|
|
407
|
+
private readonly isLayoutDialog;
|
|
408
408
|
private form;
|
|
409
409
|
private editMode;
|
|
410
410
|
private currentOp;
|
|
411
411
|
private currentFormData;
|
|
412
412
|
private formSubscription;
|
|
413
|
-
private eventSubscription;
|
|
413
|
+
private readonly eventSubscription;
|
|
414
414
|
constructor(dialogId: string, dependson: string, dialogService: AbstractDialogService, app: App);
|
|
415
415
|
private openFormDialog;
|
|
416
416
|
private onUpdate;
|
|
@@ -425,7 +425,7 @@ declare class DependsonDirective implements AfterContentInit, OnDestroy {
|
|
|
425
425
|
|
|
426
426
|
declare class LiveFilterDirective implements OnDestroy {
|
|
427
427
|
private form;
|
|
428
|
-
static initializeProps: void;
|
|
428
|
+
static readonly initializeProps: void;
|
|
429
429
|
private _options;
|
|
430
430
|
orderBy: any;
|
|
431
431
|
_filter: (...args: any[]) => void;
|
|
@@ -449,8 +449,8 @@ declare class LiveFilterDirective implements OnDestroy {
|
|
|
449
449
|
declare class LiveFormDirective implements OnDestroy {
|
|
450
450
|
private form;
|
|
451
451
|
datePipe: ToDatePipe;
|
|
452
|
-
private dialogService;
|
|
453
|
-
static initializeProps: void;
|
|
452
|
+
private readonly dialogService;
|
|
453
|
+
static readonly initializeProps: void;
|
|
454
454
|
private _triggeredByUser;
|
|
455
455
|
private _debouncedSavePrevDataValues;
|
|
456
456
|
onKeydownHandler(event: KeyboardEvent): void;
|
|
@@ -298,14 +298,14 @@
|
|
|
298
298
|
}
|
|
299
299
|
super.ngOnDestroy();
|
|
300
300
|
}
|
|
301
|
-
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
302
|
-
static { this.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
301
|
+
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: ListItemDirective, deps: [{ token: i0__namespace.Injector }, { token: i0__namespace.ElementRef }, { token: i2__namespace.App }, { token: i0__namespace.Renderer2 }, { token: 'EXPLICIT_CONTEXT', optional: true }], target: i0__namespace.ɵɵFactoryTarget.Directive }); }
|
|
302
|
+
static { this.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.21", type: ListItemDirective, isStandalone: true, selector: "[wmListItem]", inputs: { wmListItem: "wmListItem" }, host: { listeners: { "focus": "onFocus()" }, properties: { "class.active": "this.isActive", "class.disable-item": "this.disableItem" } }, exportAs: ["listItemRef"], usesInheritance: true, ngImport: i0__namespace }); }
|
|
303
303
|
};
|
|
304
304
|
exports.ListItemDirective = tslib.__decorate([
|
|
305
305
|
i1.AutoLayout({ bindParent: 'listComponent.viewParent' }),
|
|
306
306
|
tslib.__metadata("design:paramtypes", [i0.Injector, i0.ElementRef, i2.App, i0.Renderer2, Object])
|
|
307
307
|
], exports.ListItemDirective);
|
|
308
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
308
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: exports.ListItemDirective, decorators: [{
|
|
309
309
|
type: i0.Directive,
|
|
310
310
|
args: [{
|
|
311
311
|
standalone: true,
|
|
@@ -482,7 +482,7 @@
|
|
|
482
482
|
}
|
|
483
483
|
handleLoading(data) {
|
|
484
484
|
const dataSource = this.datasource;
|
|
485
|
-
if (dataSource
|
|
485
|
+
if (dataSource?.execute(i2.DataSource.Operation.IS_API_AWARE) && i2.isDataSourceEqual(data.variable, dataSource)) {
|
|
486
486
|
this.ngZone.run(() => {
|
|
487
487
|
this.handleStateParams(data);
|
|
488
488
|
this.variableInflight = data.active;
|
|
@@ -498,7 +498,7 @@
|
|
|
498
498
|
}
|
|
499
499
|
}
|
|
500
500
|
triggerListItemSelection($el, $event) {
|
|
501
|
-
if ($el
|
|
501
|
+
if ($el?.[0]) {
|
|
502
502
|
const listItemContext = $el.data('listItemContext');
|
|
503
503
|
// Trigger click event only if the list item is from the corresponding list.
|
|
504
504
|
if (listItemContext.listComponent === this) {
|
|
@@ -804,12 +804,10 @@
|
|
|
804
804
|
this.invokeEventCallback('selectionlimitexceed', { $event: evt });
|
|
805
805
|
}
|
|
806
806
|
}
|
|
807
|
-
else {
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
this.firstSelectedItem = this.lastSelectedItem = $listItem;
|
|
812
|
-
}
|
|
807
|
+
else if (!$listItem.isActive || selectCount > 1) {
|
|
808
|
+
this.clearSelectedItems();
|
|
809
|
+
this.toggleListItemSelection($listItem);
|
|
810
|
+
this.firstSelectedItem = this.lastSelectedItem = $listItem;
|
|
813
811
|
}
|
|
814
812
|
i2.$appDigest();
|
|
815
813
|
}
|
|
@@ -824,7 +822,7 @@
|
|
|
824
822
|
*/
|
|
825
823
|
deselectItem(val) {
|
|
826
824
|
const listItem = this.getItemRefByIndexOrModel(val);
|
|
827
|
-
if (listItem
|
|
825
|
+
if (listItem?.isActive) {
|
|
828
826
|
this.toggleListItemSelection(listItem);
|
|
829
827
|
}
|
|
830
828
|
}
|
|
@@ -867,7 +865,7 @@
|
|
|
867
865
|
super.ngAfterViewInit();
|
|
868
866
|
this.setUpCUDHandlers();
|
|
869
867
|
this.selectedItemWidgets = this.multiselect ? [] : {};
|
|
870
|
-
|
|
868
|
+
const ele = $(this.nativeElement).find('.app-livelist-container');
|
|
871
869
|
if (this.enablereorder && !this.groupby) {
|
|
872
870
|
if (ele) {
|
|
873
871
|
ele.attr('aria-describedby', this.titleId);
|
|
@@ -901,13 +899,13 @@
|
|
|
901
899
|
this._readItemAttrsFromHost();
|
|
902
900
|
}
|
|
903
901
|
ngOnDestroy() {
|
|
904
|
-
if (this._listAnimator
|
|
902
|
+
if (this._listAnimator?.$btnSubscription) {
|
|
905
903
|
this._listAnimator.$btnSubscription.unsubscribe();
|
|
906
904
|
this._listAnimator = null;
|
|
907
905
|
}
|
|
908
906
|
// MEMORY LEAK FIX: Unsubscribe from all app subscriptions
|
|
909
907
|
if (this._listenerDestroyers) {
|
|
910
|
-
this._listenerDestroyers.forEach(d => d
|
|
908
|
+
this._listenerDestroyers.forEach(d => d?.());
|
|
911
909
|
this._listenerDestroyers = [];
|
|
912
910
|
}
|
|
913
911
|
// MEMORY LEAK FIX: Unsubscribe from navigator watches
|
|
@@ -936,7 +934,7 @@
|
|
|
936
934
|
this.boundClickHandler = null;
|
|
937
935
|
}
|
|
938
936
|
// MEMORY LEAK FIX: Destroy jQuery sortable widget
|
|
939
|
-
if (this.$ulEle
|
|
937
|
+
if (this.$ulEle?.sortable) {
|
|
940
938
|
try {
|
|
941
939
|
this.$ulEle.sortable('destroy');
|
|
942
940
|
}
|
|
@@ -1008,7 +1006,7 @@
|
|
|
1008
1006
|
}
|
|
1009
1007
|
getConfiguredState() {
|
|
1010
1008
|
const mode = this.statePersistence.computeMode(this.statehandler);
|
|
1011
|
-
return mode
|
|
1009
|
+
return mode?.toLowerCase();
|
|
1012
1010
|
}
|
|
1013
1011
|
handleStateParams(options) {
|
|
1014
1012
|
if (this._pageLoad && this.getConfiguredState() !== 'none') {
|
|
@@ -1125,7 +1123,7 @@
|
|
|
1125
1123
|
if (!lodashEs.isEmpty(newVal)) {
|
|
1126
1124
|
this.noDataFound = false;
|
|
1127
1125
|
this.isDataChanged = true;
|
|
1128
|
-
if (this.datasource
|
|
1126
|
+
if (this.datasource?.execute(i2.DataSource.Operation.IS_API_AWARE)) {
|
|
1129
1127
|
// clone the the data in case of live and service variables to prevent the two-way binding for these variables.
|
|
1130
1128
|
newVal = lodashEs.cloneDeep(newVal);
|
|
1131
1129
|
}
|
|
@@ -1190,10 +1188,8 @@
|
|
|
1190
1188
|
this.dataNavigator.pageChanged({ page: widgetState.pagination || 1, pagesize: widgetState.pagesize }, true);
|
|
1191
1189
|
}
|
|
1192
1190
|
}
|
|
1193
|
-
else {
|
|
1194
|
-
|
|
1195
|
-
this.dataNavigator.pageChanged({ page: widgetState.pagination }, true);
|
|
1196
|
-
}
|
|
1191
|
+
else if (lodashEs.get(widgetState, 'pagination')) {
|
|
1192
|
+
this.dataNavigator.pageChanged({ page: widgetState.pagination }, true);
|
|
1197
1193
|
}
|
|
1198
1194
|
if (lodashEs.get(widgetState, 'selectedItem')) {
|
|
1199
1195
|
this._selectedItemsExist = true;
|
|
@@ -1378,7 +1374,6 @@
|
|
|
1378
1374
|
});
|
|
1379
1375
|
}
|
|
1380
1376
|
if (this.fieldDefs.length && this.infScroll) {
|
|
1381
|
-
this.$element.closest('[wmsmoothscroll]');
|
|
1382
1377
|
// In case of mobile app when modal exists, and list items height is greater than the modal content provide ccontainer a scrollable height
|
|
1383
1378
|
const modalBody = this.$element.closest('.modal-body');
|
|
1384
1379
|
const listHt = this.$element.find('ul').height();
|
|
@@ -1516,7 +1511,7 @@
|
|
|
1516
1511
|
// Invoke the datasource variable by default when pulltorefresh event is not specified.
|
|
1517
1512
|
subscribeToPullToRefresh() {
|
|
1518
1513
|
this._listenerDestroyers.push(this.app.subscribe('pulltorefresh', () => {
|
|
1519
|
-
if (this.datasource
|
|
1514
|
+
if (this.datasource?.listRecords) {
|
|
1520
1515
|
this.datasource.listRecords();
|
|
1521
1516
|
}
|
|
1522
1517
|
}));
|
|
@@ -1546,8 +1541,8 @@
|
|
|
1546
1541
|
this.itemAttrsMap = {};
|
|
1547
1542
|
}
|
|
1548
1543
|
}
|
|
1549
|
-
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1550
|
-
static { this.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
1544
|
+
static { this.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: ListComponent, deps: [{ token: i0__namespace.Injector }, { token: i0__namespace.ChangeDetectorRef }, { token: i1__namespace.ToDatePipe }, { token: i2__namespace.App }, { token: i2__namespace.AppDefaults }, { token: i0__namespace.NgZone }, { token: 'itemclass.bind', attribute: true }, { token: 'disableitem.bind', attribute: true }, { token: 'dataset.bind', attribute: true }, { token: 'datasource.bind', attribute: true }, { token: 'mouseenter.event', attribute: true }, { token: 'mouseleave.event', attribute: true }, { token: i2__namespace.StatePersistence }, { token: i2__namespace.PaginationService }, { token: 'EXPLICIT_CONTEXT', optional: true }], target: i0__namespace.ɵɵFactoryTarget.Component }); }
|
|
1545
|
+
static { this.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.21", type: ListComponent, isStandalone: true, selector: "div[wmList]", providers: [
|
|
1551
1546
|
i1.provideAsWidgetRef(ListComponent)
|
|
1552
1547
|
], queries: [{ propertyName: "listTemplate", first: true, predicate: ["listTemplate"], descendants: true }, { propertyName: "listLeftActionTemplate", first: true, predicate: ["listLeftActionTemplate"], descendants: true }, { propertyName: "listRightActionTemplate", first: true, predicate: ["listRightActionTemplate"], descendants: true }, { propertyName: "btnComponents", predicate: button.ButtonComponent }], viewQueries: [{ propertyName: "dataNavigator", first: true, predicate: pagination.PaginationComponent, descendants: true }, { propertyName: "listItems", predicate: exports.ListItemDirective, descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "@if (title || subheading || iconclass || iconurl) {\n <div class=\"panel-heading\">\n <h3 class=\"panel-title\">\n <div class=\"pull-left\">\n <wm-app-icon [iconclass]=\"iconclass\" [iconurl]=\"iconurl\" [defaultClasses]=\"'panel-icon'\" alt=\"List 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 </h3>\n </div>\n}\n\n@if (navigation === 'Inline' && !noDataFound) {\n <div class=\"app-datanavigator\" [attr.aria-disabled]=\"dataNavigator.isDisablePrevious\" aria-label=\"Page navigation\">\n <ul class=\"pager\">\n <li class=\"previous\" [ngClass]=\"{'disabled': (dataNavigator ? dataNavigator.isDisablePrevious : true)}\">\n <a href=\"javascript:void(0);\" (click)=\"dataNavigator.navigatePage('prev', $event)\"\n [attr.aria-disabled]=\"dataNavigator.isDisablePrevious\">\n <i class=\"wi wi-chevron-left\" aria-hidden=\"true\"></i>\n <span class=\"sr-only\">Go to Previous page {{dataNavigator.isDisablePrevious ? ', Disabled' : ''}}</span>\n </a>\n </li>\n </ul>\n </div>\n}\n@if (navigation === 'Inline' && !noDataFound) {\n <div aria-live=\"polite\" aria-atomic=\"true\" class=\"sr-only\"> {{'Page ' + dataNavigator.dn.currentPage + ' of ' + dataNavigator.pageCount }}</div>\n}\n\n<div>\n @if (enablereorder) {\n <div id={{titleId}} class=\"sr-only\">\n Press space bar to toggle drag drop mode, use arrow keys to move selected elements.\n </div>\n }\n\n @if (listItems && enablereorder && currentIndex) {\n <div aria-live=\"assertive\" class=\"sr-only\" >\n {{ariaText + currentIndex + ' of ' + listItems.length}}\n </div>\n }\n</div>\n\n<ul [attr.tabindex]=\"tabindex\" class=\"list-group app-livelist-container clearfix {{direction === 'horizontal' ? 'app-horizontal-list': ''}} {{listclass}}\" role=\"list\"\n [class.list-group-autolayout]=\"hasAutolayout\"\n (keydown.enter)=\"handleKeyDown($event, 'select')\"\n\n (keydown.space)=\"handleKeyDown($event, 'space')\"\n\n (keydown.arrowup)=\"handleKeyDown($event, 'focusPrev')\"\n (keydown.arrowdown)=\"handleKeyDown($event, 'focusNext')\"\n (keydown.arrowleft)=\"handleKeyDown($event, 'focusPrev')\"\n (keydown.arrowright)=\"handleKeyDown($event, 'focusNext')\"\n\n (keydown.shift.arrowup)=\"handleKeyDown($event, 'selectPrev')\"\n (keydown.shift.arrowdown)=\"handleKeyDown($event, 'selectNext')\"\n (keydown.shift.arrowleft)=\"handleKeyDown($event, 'selectPrev')\"\n (keydown.shift.arrowright)=\"handleKeyDown($event, 'selectNext')\"\n [hidden]=\"noDataFound && !variableInflight\"\n >\n @if (!groupby) {\n @for (item of fieldDefs; track item) {\n <li class=\"app-list-item {{direction === 'horizontal' ? '' : itemsPerRowClass}}\" [ngClass]=\"listItemRef.itemClass\"\n [wmListItem]=\"item\"\n #listItemRef=\"listItemRef\"\n [attr.tabindex]=\"tabindex\"\n role=\"listitem\">\n <ng-container [ngTemplateOutlet]=\"listTemplate\"\n [ngTemplateOutletInjector]=\"createCustomInjector('falt_' + listItemRef.trackId, {item: item, row: item, $index: $index, itemRef: listItemRef, $first: $first, $last: $last, currentItemWidgets: listItemRef.currentItemWidgets})\"\n [ngTemplateOutletContext]=\"{item: item, row: item, $index: $index, itemRef: listItemRef, $first: $first, $last: $last, currentItemWidgets: listItemRef.currentItemWidgets}\"></ng-container>\n </li>\n }\n } @else {\n @for (groupObj of groupedData; track groupObj; let groupIndex = $index) {\n <li class=\"app-list-item-group clearfix\">\n <ul [attr.tabindex]=\"tabindex\" class=\"list-group item-group\" [ngClass]=\"listclass\" [class.list-group-autolayout]=\"hasAutolayout\">\n <li class=\"app-list-item-header list-item list-group-header\" (click)=\"handleHeaderClick($event)\" [ngClass]=\"{'collapsible-content': collapsible}\">\n <h4>{{groupObj.key}}\n <div class=\"header-action\">\n @if (collapsible) {\n <i class=\"app-icon wi action wi-chevron-up\"></i>\n }\n @if (showcount) {\n <span class=\"label label-default\">{{groupObj.data.length}}</span>\n }\n </div>\n </h4>\n </li>\n <li class=\"list-group-container\">\n <ul class=\"list-group clearfix {{direction === 'horizontal' ? 'app-horizontal-list': ''}}\" [class.list-group-autolayout]=\"hasAutolayout\">\n @for (item of groupObj.data; track trackByFn($index, item)) {\n <li [attr.tabindex]=\"tabindex\"\n class=\"app-list-item group-list-item {{itemsPerRowClass}}\"\n [ngClass]=\"listItemRef.itemClass\"\n [wmListItem]=\"item\" #listItemRef=\"listItemRef\">\n <ng-container [ngTemplateOutlet]=\"listTemplate\"\n [ngTemplateOutletInjector]=\"createCustomInjector('group_' + listItemRef.trackId, {item: item, row: item, $index: $index, itemRef: listItemRef, $first: $first, $last: $last, currentItemWidgets: listItemRef.currentItemWidgets})\"\n [ngTemplateOutletContext]=\"{item: item, row: item, $index: $index, itemRef: listItemRef, $first: $first, $last: $last, currentItemWidgets: listItemRef.currentItemWidgets}\"></ng-container>\n </li>\n }\n </ul>\n </li>\n </ul>\n </li>\n }\n }\n <ng-container [ngTemplateOutlet]=\"listLeftActionTemplate\"></ng-container>\n <ng-container [ngTemplateOutlet]=\"listRightActionTemplate\"></ng-container>\n</ul>\n\n@if (noDataFound && !variableInflight) {\n <div class=\"no-data-msg\" [textContent]=\"nodatamessage\"></div>\n}\n\n@if (variableInflight && !pulltorefresh) {\n <div class=\"loading-data-msg\">\n <span>\n <wm-app-icon [iconclass]=\"loadingicon\" [iconurl]=\"loadingiconurl\" [defaultClasses]=\"'panel-icon'\" alt=\"loading icon\"></wm-app-icon>\n <span class=\"sr-only\">Loading</span>\n <span class=\"loading-text\" [textContent]=\"loadingdatamsg\"></span>\n </span>\n </div>\n}\n\n@if (navigation === 'Inline' && !noDataFound) {\n <div class=\"app-datanavigator\" [attr.aria-disabled]=\"dataNavigator.isDisableNext\">\n <ul class=\"pager\">\n <li class=\"next\" [ngClass]=\"{'disabled': (dataNavigator ? dataNavigator.isDisableNext : true)}\">\n <a href=\"javascript:void(0);\" (click)=\"dataNavigator.navigatePage('next', $event)\"\n [attr.aria-disabled]=\"dataNavigator.isDisableNext\">\n <i class=\"wi wi-chevron-right\" aria-hidden=\"true\"></i>\n <span class=\"sr-only\">Go to Next page {{dataNavigator.isDisableNext ? ', Disabled' : ''}}</span>\n </a>\n </li>\n </ul>\n </div>\n}\n\n@if (navigation !== 'None') {\n <div class=\"panel-footer\" [hidden]=\"!showNavigation || (onDemandLoad && dataNavigator.isDisableNext) || (dataNavigator?.dataSize <= pagesize && !allowpagesizechange) || (!dataNavigator.dataSize && !dataNavigator.datasource?.pagination?.next)\">\n <nav wmPagination\n navigationalign.bind=\"navigationalign\"\n navigation.bind=\"navControls\"\n showrecordcount.bind=\"showrecordcount\"\n maxsize.bind=\"maxsize\"\n boundarylinks.bind=\"boundarylinks\"\n forceellipses.bind=\"forceellipses\"\n directionlinks.bind=\"directionlinks\"\n show.bind=\"!onDemandLoad\"\n paginationchange.event=\"beforePaginationChange($event, $index)\"\n ></nav>\n @if (onDemandLoad) {\n <a href=\"javascript:void(0);\"\n (click)=\"dataNavigator.navigatePage('next', $event)\"\n class=\"app-button btn btn-block\"\n [ngClass]=\"paginationclass\"\n [textContent]=\"ondemandmessage\"\n ></a>\n }\n </div>\n}\n\n<!--This template will be displayed when groupby is specified-->\n", dependencies: [{ kind: "ngmodule", type: i3.CommonModule }, { kind: "directive", type: i3__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.TextContentDirective, selector: "[textContent]", inputs: ["textContent"] }, { kind: "component", type: pagination.PaginationComponent, selector: "[wmPagination]", outputs: ["resultEmitter", "maxResultsEmitter"] }, { kind: "directive", type: exports.ListItemDirective, selector: "[wmListItem]", inputs: ["wmListItem"], exportAs: ["listItemRef"] }, { kind: "component", type: i1.WmAppIconComponent, selector: "wm-app-icon", inputs: ["icon", "iconclass", "iconurl", "defaultIconClass", "defaultClasses", "iconStyle", "alt"] }] }); }
|
|
1553
1548
|
};
|
|
@@ -1561,7 +1556,7 @@
|
|
|
1561
1556
|
i0.NgZone, String, String, String, String, String, String, i2.StatePersistence,
|
|
1562
1557
|
i2.PaginationService, Object])
|
|
1563
1558
|
], exports.ListComponent);
|
|
1564
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1559
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0__namespace, type: exports.ListComponent, decorators: [{
|
|
1565
1560
|
type: i0.Component,
|
|
1566
1561
|
args: [{ standalone: true, imports: [i3.CommonModule, i1.TextContentDirective, pagination.PaginationComponent, exports.ListItemDirective, i1.WmAppIconComponent], selector: 'div[wmList]', providers: [
|
|
1567
1562
|
i1.provideAsWidgetRef(exports.ListComponent)
|
|
@@ -285,14 +285,14 @@ let ListItemDirective = class ListItemDirective extends StylableComponent {
|
|
|
285
285
|
}
|
|
286
286
|
super.ngOnDestroy();
|
|
287
287
|
}
|
|
288
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
289
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
288
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: ListItemDirective, deps: [{ token: i0.Injector }, { token: i0.ElementRef }, { token: i2.App }, { token: i0.Renderer2 }, { token: 'EXPLICIT_CONTEXT', optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
289
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.21", type: ListItemDirective, isStandalone: true, selector: "[wmListItem]", inputs: { wmListItem: "wmListItem" }, host: { listeners: { "focus": "onFocus()" }, properties: { "class.active": "this.isActive", "class.disable-item": "this.disableItem" } }, exportAs: ["listItemRef"], usesInheritance: true, ngImport: i0 }); }
|
|
290
290
|
};
|
|
291
291
|
ListItemDirective = __decorate([
|
|
292
292
|
AutoLayout({ bindParent: 'listComponent.viewParent' }),
|
|
293
293
|
__metadata("design:paramtypes", [Injector, ElementRef, App, Renderer2, Object])
|
|
294
294
|
], ListItemDirective);
|
|
295
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
295
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: ListItemDirective, decorators: [{
|
|
296
296
|
type: Directive,
|
|
297
297
|
args: [{
|
|
298
298
|
standalone: true,
|
|
@@ -469,7 +469,7 @@ let ListComponent = class ListComponent extends StylableComponent {
|
|
|
469
469
|
}
|
|
470
470
|
handleLoading(data) {
|
|
471
471
|
const dataSource = this.datasource;
|
|
472
|
-
if (dataSource
|
|
472
|
+
if (dataSource?.execute(DataSource.Operation.IS_API_AWARE) && isDataSourceEqual(data.variable, dataSource)) {
|
|
473
473
|
this.ngZone.run(() => {
|
|
474
474
|
this.handleStateParams(data);
|
|
475
475
|
this.variableInflight = data.active;
|
|
@@ -485,7 +485,7 @@ let ListComponent = class ListComponent extends StylableComponent {
|
|
|
485
485
|
}
|
|
486
486
|
}
|
|
487
487
|
triggerListItemSelection($el, $event) {
|
|
488
|
-
if ($el
|
|
488
|
+
if ($el?.[0]) {
|
|
489
489
|
const listItemContext = $el.data('listItemContext');
|
|
490
490
|
// Trigger click event only if the list item is from the corresponding list.
|
|
491
491
|
if (listItemContext.listComponent === this) {
|
|
@@ -791,12 +791,10 @@ let ListComponent = class ListComponent extends StylableComponent {
|
|
|
791
791
|
this.invokeEventCallback('selectionlimitexceed', { $event: evt });
|
|
792
792
|
}
|
|
793
793
|
}
|
|
794
|
-
else {
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
this.firstSelectedItem = this.lastSelectedItem = $listItem;
|
|
799
|
-
}
|
|
794
|
+
else if (!$listItem.isActive || selectCount > 1) {
|
|
795
|
+
this.clearSelectedItems();
|
|
796
|
+
this.toggleListItemSelection($listItem);
|
|
797
|
+
this.firstSelectedItem = this.lastSelectedItem = $listItem;
|
|
800
798
|
}
|
|
801
799
|
$appDigest();
|
|
802
800
|
}
|
|
@@ -811,7 +809,7 @@ let ListComponent = class ListComponent extends StylableComponent {
|
|
|
811
809
|
*/
|
|
812
810
|
deselectItem(val) {
|
|
813
811
|
const listItem = this.getItemRefByIndexOrModel(val);
|
|
814
|
-
if (listItem
|
|
812
|
+
if (listItem?.isActive) {
|
|
815
813
|
this.toggleListItemSelection(listItem);
|
|
816
814
|
}
|
|
817
815
|
}
|
|
@@ -854,7 +852,7 @@ let ListComponent = class ListComponent extends StylableComponent {
|
|
|
854
852
|
super.ngAfterViewInit();
|
|
855
853
|
this.setUpCUDHandlers();
|
|
856
854
|
this.selectedItemWidgets = this.multiselect ? [] : {};
|
|
857
|
-
|
|
855
|
+
const ele = $(this.nativeElement).find('.app-livelist-container');
|
|
858
856
|
if (this.enablereorder && !this.groupby) {
|
|
859
857
|
if (ele) {
|
|
860
858
|
ele.attr('aria-describedby', this.titleId);
|
|
@@ -888,13 +886,13 @@ let ListComponent = class ListComponent extends StylableComponent {
|
|
|
888
886
|
this._readItemAttrsFromHost();
|
|
889
887
|
}
|
|
890
888
|
ngOnDestroy() {
|
|
891
|
-
if (this._listAnimator
|
|
889
|
+
if (this._listAnimator?.$btnSubscription) {
|
|
892
890
|
this._listAnimator.$btnSubscription.unsubscribe();
|
|
893
891
|
this._listAnimator = null;
|
|
894
892
|
}
|
|
895
893
|
// MEMORY LEAK FIX: Unsubscribe from all app subscriptions
|
|
896
894
|
if (this._listenerDestroyers) {
|
|
897
|
-
this._listenerDestroyers.forEach(d => d
|
|
895
|
+
this._listenerDestroyers.forEach(d => d?.());
|
|
898
896
|
this._listenerDestroyers = [];
|
|
899
897
|
}
|
|
900
898
|
// MEMORY LEAK FIX: Unsubscribe from navigator watches
|
|
@@ -923,7 +921,7 @@ let ListComponent = class ListComponent extends StylableComponent {
|
|
|
923
921
|
this.boundClickHandler = null;
|
|
924
922
|
}
|
|
925
923
|
// MEMORY LEAK FIX: Destroy jQuery sortable widget
|
|
926
|
-
if (this.$ulEle
|
|
924
|
+
if (this.$ulEle?.sortable) {
|
|
927
925
|
try {
|
|
928
926
|
this.$ulEle.sortable('destroy');
|
|
929
927
|
}
|
|
@@ -995,7 +993,7 @@ let ListComponent = class ListComponent extends StylableComponent {
|
|
|
995
993
|
}
|
|
996
994
|
getConfiguredState() {
|
|
997
995
|
const mode = this.statePersistence.computeMode(this.statehandler);
|
|
998
|
-
return mode
|
|
996
|
+
return mode?.toLowerCase();
|
|
999
997
|
}
|
|
1000
998
|
handleStateParams(options) {
|
|
1001
999
|
if (this._pageLoad && this.getConfiguredState() !== 'none') {
|
|
@@ -1112,7 +1110,7 @@ let ListComponent = class ListComponent extends StylableComponent {
|
|
|
1112
1110
|
if (!isEmpty(newVal)) {
|
|
1113
1111
|
this.noDataFound = false;
|
|
1114
1112
|
this.isDataChanged = true;
|
|
1115
|
-
if (this.datasource
|
|
1113
|
+
if (this.datasource?.execute(DataSource.Operation.IS_API_AWARE)) {
|
|
1116
1114
|
// clone the the data in case of live and service variables to prevent the two-way binding for these variables.
|
|
1117
1115
|
newVal = cloneDeep(newVal);
|
|
1118
1116
|
}
|
|
@@ -1177,10 +1175,8 @@ let ListComponent = class ListComponent extends StylableComponent {
|
|
|
1177
1175
|
this.dataNavigator.pageChanged({ page: widgetState.pagination || 1, pagesize: widgetState.pagesize }, true);
|
|
1178
1176
|
}
|
|
1179
1177
|
}
|
|
1180
|
-
else {
|
|
1181
|
-
|
|
1182
|
-
this.dataNavigator.pageChanged({ page: widgetState.pagination }, true);
|
|
1183
|
-
}
|
|
1178
|
+
else if (get(widgetState, 'pagination')) {
|
|
1179
|
+
this.dataNavigator.pageChanged({ page: widgetState.pagination }, true);
|
|
1184
1180
|
}
|
|
1185
1181
|
if (get(widgetState, 'selectedItem')) {
|
|
1186
1182
|
this._selectedItemsExist = true;
|
|
@@ -1365,7 +1361,6 @@ let ListComponent = class ListComponent extends StylableComponent {
|
|
|
1365
1361
|
});
|
|
1366
1362
|
}
|
|
1367
1363
|
if (this.fieldDefs.length && this.infScroll) {
|
|
1368
|
-
const smoothScrollEl = this.$element.closest('[wmsmoothscroll]');
|
|
1369
1364
|
// In case of mobile app when modal exists, and list items height is greater than the modal content provide ccontainer a scrollable height
|
|
1370
1365
|
const modalBody = this.$element.closest('.modal-body');
|
|
1371
1366
|
const listHt = this.$element.find('ul').height();
|
|
@@ -1503,7 +1498,7 @@ let ListComponent = class ListComponent extends StylableComponent {
|
|
|
1503
1498
|
// Invoke the datasource variable by default when pulltorefresh event is not specified.
|
|
1504
1499
|
subscribeToPullToRefresh() {
|
|
1505
1500
|
this._listenerDestroyers.push(this.app.subscribe('pulltorefresh', () => {
|
|
1506
|
-
if (this.datasource
|
|
1501
|
+
if (this.datasource?.listRecords) {
|
|
1507
1502
|
this.datasource.listRecords();
|
|
1508
1503
|
}
|
|
1509
1504
|
}));
|
|
@@ -1533,8 +1528,8 @@ let ListComponent = class ListComponent extends StylableComponent {
|
|
|
1533
1528
|
this.itemAttrsMap = {};
|
|
1534
1529
|
}
|
|
1535
1530
|
}
|
|
1536
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1537
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
1531
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: ListComponent, deps: [{ token: i0.Injector }, { token: i0.ChangeDetectorRef }, { token: i1.ToDatePipe }, { token: i2.App }, { token: i2.AppDefaults }, { token: i0.NgZone }, { token: 'itemclass.bind', attribute: true }, { token: 'disableitem.bind', attribute: true }, { token: 'dataset.bind', attribute: true }, { token: 'datasource.bind', attribute: true }, { token: 'mouseenter.event', attribute: true }, { token: 'mouseleave.event', attribute: true }, { token: i2.StatePersistence }, { token: i2.PaginationService }, { token: 'EXPLICIT_CONTEXT', optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1532
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.21", type: ListComponent, isStandalone: true, selector: "div[wmList]", providers: [
|
|
1538
1533
|
provideAsWidgetRef(ListComponent)
|
|
1539
1534
|
], queries: [{ propertyName: "listTemplate", first: true, predicate: ["listTemplate"], descendants: true }, { propertyName: "listLeftActionTemplate", first: true, predicate: ["listLeftActionTemplate"], descendants: true }, { propertyName: "listRightActionTemplate", first: true, predicate: ["listRightActionTemplate"], descendants: true }, { propertyName: "btnComponents", predicate: ButtonComponent }], viewQueries: [{ propertyName: "dataNavigator", first: true, predicate: PaginationComponent, descendants: true }, { propertyName: "listItems", predicate: ListItemDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: "@if (title || subheading || iconclass || iconurl) {\n <div class=\"panel-heading\">\n <h3 class=\"panel-title\">\n <div class=\"pull-left\">\n <wm-app-icon [iconclass]=\"iconclass\" [iconurl]=\"iconurl\" [defaultClasses]=\"'panel-icon'\" alt=\"List 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 </h3>\n </div>\n}\n\n@if (navigation === 'Inline' && !noDataFound) {\n <div class=\"app-datanavigator\" [attr.aria-disabled]=\"dataNavigator.isDisablePrevious\" aria-label=\"Page navigation\">\n <ul class=\"pager\">\n <li class=\"previous\" [ngClass]=\"{'disabled': (dataNavigator ? dataNavigator.isDisablePrevious : true)}\">\n <a href=\"javascript:void(0);\" (click)=\"dataNavigator.navigatePage('prev', $event)\"\n [attr.aria-disabled]=\"dataNavigator.isDisablePrevious\">\n <i class=\"wi wi-chevron-left\" aria-hidden=\"true\"></i>\n <span class=\"sr-only\">Go to Previous page {{dataNavigator.isDisablePrevious ? ', Disabled' : ''}}</span>\n </a>\n </li>\n </ul>\n </div>\n}\n@if (navigation === 'Inline' && !noDataFound) {\n <div aria-live=\"polite\" aria-atomic=\"true\" class=\"sr-only\"> {{'Page ' + dataNavigator.dn.currentPage + ' of ' + dataNavigator.pageCount }}</div>\n}\n\n<div>\n @if (enablereorder) {\n <div id={{titleId}} class=\"sr-only\">\n Press space bar to toggle drag drop mode, use arrow keys to move selected elements.\n </div>\n }\n\n @if (listItems && enablereorder && currentIndex) {\n <div aria-live=\"assertive\" class=\"sr-only\" >\n {{ariaText + currentIndex + ' of ' + listItems.length}}\n </div>\n }\n</div>\n\n<ul [attr.tabindex]=\"tabindex\" class=\"list-group app-livelist-container clearfix {{direction === 'horizontal' ? 'app-horizontal-list': ''}} {{listclass}}\" role=\"list\"\n [class.list-group-autolayout]=\"hasAutolayout\"\n (keydown.enter)=\"handleKeyDown($event, 'select')\"\n\n (keydown.space)=\"handleKeyDown($event, 'space')\"\n\n (keydown.arrowup)=\"handleKeyDown($event, 'focusPrev')\"\n (keydown.arrowdown)=\"handleKeyDown($event, 'focusNext')\"\n (keydown.arrowleft)=\"handleKeyDown($event, 'focusPrev')\"\n (keydown.arrowright)=\"handleKeyDown($event, 'focusNext')\"\n\n (keydown.shift.arrowup)=\"handleKeyDown($event, 'selectPrev')\"\n (keydown.shift.arrowdown)=\"handleKeyDown($event, 'selectNext')\"\n (keydown.shift.arrowleft)=\"handleKeyDown($event, 'selectPrev')\"\n (keydown.shift.arrowright)=\"handleKeyDown($event, 'selectNext')\"\n [hidden]=\"noDataFound && !variableInflight\"\n >\n @if (!groupby) {\n @for (item of fieldDefs; track item) {\n <li class=\"app-list-item {{direction === 'horizontal' ? '' : itemsPerRowClass}}\" [ngClass]=\"listItemRef.itemClass\"\n [wmListItem]=\"item\"\n #listItemRef=\"listItemRef\"\n [attr.tabindex]=\"tabindex\"\n role=\"listitem\">\n <ng-container [ngTemplateOutlet]=\"listTemplate\"\n [ngTemplateOutletInjector]=\"createCustomInjector('falt_' + listItemRef.trackId, {item: item, row: item, $index: $index, itemRef: listItemRef, $first: $first, $last: $last, currentItemWidgets: listItemRef.currentItemWidgets})\"\n [ngTemplateOutletContext]=\"{item: item, row: item, $index: $index, itemRef: listItemRef, $first: $first, $last: $last, currentItemWidgets: listItemRef.currentItemWidgets}\"></ng-container>\n </li>\n }\n } @else {\n @for (groupObj of groupedData; track groupObj; let groupIndex = $index) {\n <li class=\"app-list-item-group clearfix\">\n <ul [attr.tabindex]=\"tabindex\" class=\"list-group item-group\" [ngClass]=\"listclass\" [class.list-group-autolayout]=\"hasAutolayout\">\n <li class=\"app-list-item-header list-item list-group-header\" (click)=\"handleHeaderClick($event)\" [ngClass]=\"{'collapsible-content': collapsible}\">\n <h4>{{groupObj.key}}\n <div class=\"header-action\">\n @if (collapsible) {\n <i class=\"app-icon wi action wi-chevron-up\"></i>\n }\n @if (showcount) {\n <span class=\"label label-default\">{{groupObj.data.length}}</span>\n }\n </div>\n </h4>\n </li>\n <li class=\"list-group-container\">\n <ul class=\"list-group clearfix {{direction === 'horizontal' ? 'app-horizontal-list': ''}}\" [class.list-group-autolayout]=\"hasAutolayout\">\n @for (item of groupObj.data; track trackByFn($index, item)) {\n <li [attr.tabindex]=\"tabindex\"\n class=\"app-list-item group-list-item {{itemsPerRowClass}}\"\n [ngClass]=\"listItemRef.itemClass\"\n [wmListItem]=\"item\" #listItemRef=\"listItemRef\">\n <ng-container [ngTemplateOutlet]=\"listTemplate\"\n [ngTemplateOutletInjector]=\"createCustomInjector('group_' + listItemRef.trackId, {item: item, row: item, $index: $index, itemRef: listItemRef, $first: $first, $last: $last, currentItemWidgets: listItemRef.currentItemWidgets})\"\n [ngTemplateOutletContext]=\"{item: item, row: item, $index: $index, itemRef: listItemRef, $first: $first, $last: $last, currentItemWidgets: listItemRef.currentItemWidgets}\"></ng-container>\n </li>\n }\n </ul>\n </li>\n </ul>\n </li>\n }\n }\n <ng-container [ngTemplateOutlet]=\"listLeftActionTemplate\"></ng-container>\n <ng-container [ngTemplateOutlet]=\"listRightActionTemplate\"></ng-container>\n</ul>\n\n@if (noDataFound && !variableInflight) {\n <div class=\"no-data-msg\" [textContent]=\"nodatamessage\"></div>\n}\n\n@if (variableInflight && !pulltorefresh) {\n <div class=\"loading-data-msg\">\n <span>\n <wm-app-icon [iconclass]=\"loadingicon\" [iconurl]=\"loadingiconurl\" [defaultClasses]=\"'panel-icon'\" alt=\"loading icon\"></wm-app-icon>\n <span class=\"sr-only\">Loading</span>\n <span class=\"loading-text\" [textContent]=\"loadingdatamsg\"></span>\n </span>\n </div>\n}\n\n@if (navigation === 'Inline' && !noDataFound) {\n <div class=\"app-datanavigator\" [attr.aria-disabled]=\"dataNavigator.isDisableNext\">\n <ul class=\"pager\">\n <li class=\"next\" [ngClass]=\"{'disabled': (dataNavigator ? dataNavigator.isDisableNext : true)}\">\n <a href=\"javascript:void(0);\" (click)=\"dataNavigator.navigatePage('next', $event)\"\n [attr.aria-disabled]=\"dataNavigator.isDisableNext\">\n <i class=\"wi wi-chevron-right\" aria-hidden=\"true\"></i>\n <span class=\"sr-only\">Go to Next page {{dataNavigator.isDisableNext ? ', Disabled' : ''}}</span>\n </a>\n </li>\n </ul>\n </div>\n}\n\n@if (navigation !== 'None') {\n <div class=\"panel-footer\" [hidden]=\"!showNavigation || (onDemandLoad && dataNavigator.isDisableNext) || (dataNavigator?.dataSize <= pagesize && !allowpagesizechange) || (!dataNavigator.dataSize && !dataNavigator.datasource?.pagination?.next)\">\n <nav wmPagination\n navigationalign.bind=\"navigationalign\"\n navigation.bind=\"navControls\"\n showrecordcount.bind=\"showrecordcount\"\n maxsize.bind=\"maxsize\"\n boundarylinks.bind=\"boundarylinks\"\n forceellipses.bind=\"forceellipses\"\n directionlinks.bind=\"directionlinks\"\n show.bind=\"!onDemandLoad\"\n paginationchange.event=\"beforePaginationChange($event, $index)\"\n ></nav>\n @if (onDemandLoad) {\n <a href=\"javascript:void(0);\"\n (click)=\"dataNavigator.navigatePage('next', $event)\"\n class=\"app-button btn btn-block\"\n [ngClass]=\"paginationclass\"\n [textContent]=\"ondemandmessage\"\n ></a>\n }\n </div>\n}\n\n<!--This template will be displayed when groupby is specified-->\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: TextContentDirective, selector: "[textContent]", inputs: ["textContent"] }, { kind: "component", type: PaginationComponent, selector: "[wmPagination]", outputs: ["resultEmitter", "maxResultsEmitter"] }, { kind: "directive", type: ListItemDirective, selector: "[wmListItem]", inputs: ["wmListItem"], exportAs: ["listItemRef"] }, { kind: "component", type: WmAppIconComponent, selector: "wm-app-icon", inputs: ["icon", "iconclass", "iconurl", "defaultIconClass", "defaultClasses", "iconStyle", "alt"] }] }); }
|
|
1540
1535
|
};
|
|
@@ -1548,7 +1543,7 @@ ListComponent = __decorate([
|
|
|
1548
1543
|
NgZone, String, String, String, String, String, String, StatePersistence,
|
|
1549
1544
|
PaginationService, Object])
|
|
1550
1545
|
], ListComponent);
|
|
1551
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1546
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: ListComponent, decorators: [{
|
|
1552
1547
|
type: Component,
|
|
1553
1548
|
args: [{ standalone: true, imports: [CommonModule, TextContentDirective, PaginationComponent, ListItemDirective, WmAppIconComponent], selector: 'div[wmList]', providers: [
|
|
1554
1549
|
provideAsWidgetRef(ListComponent)
|