@wavemaker-ai/app-ng-runtime 1.0.0-rc.309
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/.npmignore +2 -0
- package/build-task/bundles/index.umd.js +3060 -0
- package/build-task/fesm2022/index.mjs +2949 -0
- package/build-task/fesm2022/index.mjs.map +1 -0
- package/build-task/index.d.ts +882 -0
- package/build-task/package.json +23 -0
- package/components/advanced/carousel/.npmignore +2 -0
- package/components/advanced/carousel/bundles/index.umd.js +352 -0
- package/components/advanced/carousel/fesm2022/index.mjs +335 -0
- package/components/advanced/carousel/fesm2022/index.mjs.map +1 -0
- package/components/advanced/carousel/index.d.ts +89 -0
- package/components/advanced/carousel/package.json +18 -0
- package/components/advanced/custom/.npmignore +2 -0
- package/components/advanced/custom/bundles/index.umd.js +258 -0
- package/components/advanced/custom/fesm2022/index.mjs +244 -0
- package/components/advanced/custom/fesm2022/index.mjs.map +1 -0
- package/components/advanced/custom/index.d.ts +50 -0
- package/components/advanced/custom/package.json +18 -0
- package/components/advanced/login/.npmignore +2 -0
- package/components/advanced/login/bundles/index.umd.js +135 -0
- package/components/advanced/login/fesm2022/index.mjs +120 -0
- package/components/advanced/login/fesm2022/index.mjs.map +1 -0
- package/components/advanced/login/index.d.ts +34 -0
- package/components/advanced/login/package.json +18 -0
- package/components/advanced/marquee/.npmignore +2 -0
- package/components/advanced/marquee/bundles/index.umd.js +71 -0
- package/components/advanced/marquee/fesm2022/index.mjs +53 -0
- package/components/advanced/marquee/fesm2022/index.mjs.map +1 -0
- package/components/advanced/marquee/index.d.ts +12 -0
- package/components/advanced/marquee/package.json +18 -0
- package/components/base/.npmignore +2 -0
- package/components/base/bundles/index.umd.js +6055 -0
- package/components/base/fesm2022/index.mjs +5931 -0
- package/components/base/fesm2022/index.mjs.map +1 -0
- package/components/base/index.d.ts +1436 -0
- package/components/base/package.json +26 -0
- package/components/basic/anchor/.npmignore +2 -0
- package/components/basic/anchor/bundles/index.umd.js +204 -0
- package/components/basic/anchor/fesm2022/index.mjs +187 -0
- package/components/basic/anchor/fesm2022/index.mjs.map +1 -0
- package/components/basic/anchor/index.d.ts +40 -0
- package/components/basic/anchor/package.json +18 -0
- package/components/basic/audio/.npmignore +2 -0
- package/components/basic/audio/bundles/index.umd.js +83 -0
- package/components/basic/audio/fesm2022/index.mjs +65 -0
- package/components/basic/audio/fesm2022/index.mjs.map +1 -0
- package/components/basic/audio/index.d.ts +23 -0
- package/components/basic/audio/package.json +18 -0
- package/components/basic/html/.npmignore +2 -0
- package/components/basic/html/bundles/index.umd.js +122 -0
- package/components/basic/html/fesm2022/index.mjs +105 -0
- package/components/basic/html/fesm2022/index.mjs.map +1 -0
- package/components/basic/html/index.d.ts +17 -0
- package/components/basic/html/package.json +18 -0
- package/components/basic/icon/.npmignore +2 -0
- package/components/basic/icon/bundles/index.umd.js +80 -0
- package/components/basic/icon/fesm2022/index.mjs +62 -0
- package/components/basic/icon/fesm2022/index.mjs.map +1 -0
- package/components/basic/icon/index.d.ts +18 -0
- package/components/basic/icon/package.json +18 -0
- package/components/basic/iframe/.npmignore +2 -0
- package/components/basic/iframe/bundles/index.umd.js +101 -0
- package/components/basic/iframe/fesm2022/index.mjs +84 -0
- package/components/basic/iframe/fesm2022/index.mjs.map +1 -0
- package/components/basic/iframe/index.d.ts +29 -0
- package/components/basic/iframe/package.json +18 -0
- package/components/basic/label/.npmignore +2 -0
- package/components/basic/label/bundles/index.umd.js +129 -0
- package/components/basic/label/fesm2022/index.mjs +113 -0
- package/components/basic/label/fesm2022/index.mjs.map +1 -0
- package/components/basic/label/index.d.ts +15 -0
- package/components/basic/label/package.json +18 -0
- package/components/basic/picture/.npmignore +2 -0
- package/components/basic/picture/bundles/index.umd.js +138 -0
- package/components/basic/picture/fesm2022/index.mjs +121 -0
- package/components/basic/picture/fesm2022/index.mjs.map +1 -0
- package/components/basic/picture/index.d.ts +22 -0
- package/components/basic/picture/package.json +18 -0
- package/components/basic/progress/progress-bar/.npmignore +2 -0
- package/components/basic/progress/progress-bar/bundles/index.umd.js +170 -0
- package/components/basic/progress/progress-bar/fesm2022/index.mjs +154 -0
- package/components/basic/progress/progress-bar/fesm2022/index.mjs.map +1 -0
- package/components/basic/progress/progress-bar/index.d.ts +45 -0
- package/components/basic/progress/progress-bar/package.json +18 -0
- package/components/basic/progress/progress-circle/.npmignore +2 -0
- package/components/basic/progress/progress-circle/bundles/index.umd.js +171 -0
- package/components/basic/progress/progress-circle/fesm2022/index.mjs +155 -0
- package/components/basic/progress/progress-circle/fesm2022/index.mjs.map +1 -0
- package/components/basic/progress/progress-circle/index.d.ts +43 -0
- package/components/basic/progress/progress-circle/package.json +18 -0
- package/components/basic/progress/progress-utils/.npmignore +2 -0
- package/components/basic/progress/progress-utils/bundles/index.umd.js +35 -0
- package/components/basic/progress/progress-utils/fesm2022/index.mjs +32 -0
- package/components/basic/progress/progress-utils/fesm2022/index.mjs.map +1 -0
- package/components/basic/progress/progress-utils/index.d.ts +5 -0
- package/components/basic/progress/progress-utils/package.json +18 -0
- package/components/basic/rich-text-editor/.npmignore +2 -0
- package/components/basic/rich-text-editor/bundles/index.umd.js +236 -0
- package/components/basic/rich-text-editor/fesm2022/index.mjs +222 -0
- package/components/basic/rich-text-editor/fesm2022/index.mjs.map +1 -0
- package/components/basic/rich-text-editor/index.d.ts +58 -0
- package/components/basic/rich-text-editor/package.json +18 -0
- package/components/basic/search/.npmignore +2 -0
- package/components/basic/search/bundles/index.umd.js +1091 -0
- package/components/basic/search/fesm2022/index.mjs +1080 -0
- package/components/basic/search/fesm2022/index.mjs.map +1 -0
- package/components/basic/search/index.d.ts +125 -0
- package/components/basic/search/package.json +18 -0
- package/components/basic/spinner/.npmignore +2 -0
- package/components/basic/spinner/bundles/index.umd.js +126 -0
- package/components/basic/spinner/fesm2022/index.mjs +111 -0
- package/components/basic/spinner/fesm2022/index.mjs.map +1 -0
- package/components/basic/spinner/index.d.ts +30 -0
- package/components/basic/spinner/package.json +18 -0
- package/components/basic/tree/.npmignore +2 -0
- package/components/basic/tree/bundles/index.umd.js +767 -0
- package/components/basic/tree/fesm2022/index.mjs +751 -0
- package/components/basic/tree/fesm2022/index.mjs.map +1 -0
- package/components/basic/tree/index.d.ts +97 -0
- package/components/basic/tree/package.json +18 -0
- package/components/basic/video/.npmignore +2 -0
- package/components/basic/video/bundles/index.umd.js +116 -0
- package/components/basic/video/fesm2022/index.mjs +99 -0
- package/components/basic/video/fesm2022/index.mjs.map +1 -0
- package/components/basic/video/index.d.ts +30 -0
- package/components/basic/video/package.json +18 -0
- package/components/chart/.npmignore +2 -0
- package/components/chart/bundles/index.umd.js +1747 -0
- package/components/chart/fesm2022/index.mjs +1774 -0
- package/components/chart/fesm2022/index.mjs.map +1 -0
- package/components/chart/index.d.ts +103 -0
- package/components/chart/package.json +18 -0
- package/components/containers/accordion/.npmignore +2 -0
- package/components/containers/accordion/bundles/index.umd.js +500 -0
- package/components/containers/accordion/fesm2022/index.mjs +486 -0
- package/components/containers/accordion/fesm2022/index.mjs.map +1 -0
- package/components/containers/accordion/index.d.ts +114 -0
- package/components/containers/accordion/package.json +18 -0
- package/components/containers/layout-grid/.npmignore +2 -0
- package/components/containers/layout-grid/bundles/index.umd.js +172 -0
- package/components/containers/layout-grid/fesm2022/index.mjs +153 -0
- package/components/containers/layout-grid/fesm2022/index.mjs.map +1 -0
- package/components/containers/layout-grid/index.d.ts +29 -0
- package/components/containers/layout-grid/package.json +18 -0
- package/components/containers/linear-layout/.npmignore +2 -0
- package/components/containers/linear-layout/bundles/index.umd.js +186 -0
- package/components/containers/linear-layout/fesm2022/index.mjs +167 -0
- package/components/containers/linear-layout/fesm2022/index.mjs.map +1 -0
- package/components/containers/linear-layout/index.d.ts +27 -0
- package/components/containers/linear-layout/package.json +18 -0
- package/components/containers/panel/.npmignore +2 -0
- package/components/containers/panel/bundles/index.umd.js +223 -0
- package/components/containers/panel/fesm2022/index.mjs +210 -0
- package/components/containers/panel/fesm2022/index.mjs.map +1 -0
- package/components/containers/panel/index.d.ts +46 -0
- package/components/containers/panel/package.json +18 -0
- package/components/containers/tabs/.npmignore +2 -0
- package/components/containers/tabs/bundles/index.umd.js +788 -0
- package/components/containers/tabs/fesm2022/index.mjs +775 -0
- package/components/containers/tabs/fesm2022/index.mjs.map +1 -0
- package/components/containers/tabs/index.d.ts +127 -0
- package/components/containers/tabs/package.json +18 -0
- package/components/containers/tile/.npmignore +2 -0
- package/components/containers/tile/bundles/index.umd.js +68 -0
- package/components/containers/tile/fesm2022/index.mjs +50 -0
- package/components/containers/tile/fesm2022/index.mjs.map +1 -0
- package/components/containers/tile/index.d.ts +12 -0
- package/components/containers/tile/package.json +18 -0
- package/components/containers/wizard/.npmignore +2 -0
- package/components/containers/wizard/bundles/index.umd.js +1074 -0
- package/components/containers/wizard/fesm2022/index.mjs +1058 -0
- package/components/containers/wizard/fesm2022/index.mjs.map +1 -0
- package/components/containers/wizard/index.d.ts +257 -0
- package/components/containers/wizard/package.json +18 -0
- package/components/data/card/.npmignore +2 -0
- package/components/data/card/bundles/index.umd.js +237 -0
- package/components/data/card/fesm2022/index.mjs +220 -0
- package/components/data/card/fesm2022/index.mjs.map +1 -0
- package/components/data/card/index.d.ts +51 -0
- package/components/data/card/package.json +18 -0
- package/components/data/form/.npmignore +2 -0
- package/components/data/form/bundles/index.umd.js +3339 -0
- package/components/data/form/fesm2022/index.mjs +3327 -0
- package/components/data/form/fesm2022/index.mjs.map +1 -0
- package/components/data/form/index.d.ts +487 -0
- package/components/data/form/package.json +18 -0
- package/components/data/list/.npmignore +2 -0
- package/components/data/list/bundles/index.umd.js +1610 -0
- package/components/data/list/fesm2022/index.mjs +1602 -0
- package/components/data/list/fesm2022/index.mjs.map +1 -0
- package/components/data/list/index.d.ts +283 -0
- package/components/data/list/package.json +18 -0
- package/components/data/live-table/.npmignore +2 -0
- package/components/data/live-table/bundles/index.umd.js +283 -0
- package/components/data/live-table/fesm2022/index.mjs +268 -0
- package/components/data/live-table/fesm2022/index.mjs.map +1 -0
- package/components/data/live-table/index.d.ts +39 -0
- package/components/data/live-table/package.json +18 -0
- package/components/data/pagination/.npmignore +2 -0
- package/components/data/pagination/bundles/index.umd.js +885 -0
- package/components/data/pagination/fesm2022/index.mjs +880 -0
- package/components/data/pagination/fesm2022/index.mjs.map +1 -0
- package/components/data/pagination/index.d.ts +106 -0
- package/components/data/pagination/package.json +18 -0
- package/components/data/table/.npmignore +2 -0
- package/components/data/table/bundles/index.umd.js +4991 -0
- package/components/data/table/fesm2022/index.mjs +4978 -0
- package/components/data/table/fesm2022/index.mjs.map +1 -0
- package/components/data/table/index.d.ts +744 -0
- package/components/data/table/package.json +18 -0
- package/components/dialogs/alert-dialog/.npmignore +2 -0
- package/components/dialogs/alert-dialog/bundles/index.umd.js +126 -0
- package/components/dialogs/alert-dialog/fesm2022/index.mjs +114 -0
- package/components/dialogs/alert-dialog/fesm2022/index.mjs.map +1 -0
- package/components/dialogs/alert-dialog/index.d.ts +26 -0
- package/components/dialogs/alert-dialog/package.json +18 -0
- package/components/dialogs/confirm-dialog/.npmignore +2 -0
- package/components/dialogs/confirm-dialog/bundles/index.umd.js +129 -0
- package/components/dialogs/confirm-dialog/fesm2022/index.mjs +117 -0
- package/components/dialogs/confirm-dialog/fesm2022/index.mjs.map +1 -0
- package/components/dialogs/confirm-dialog/index.d.ts +29 -0
- package/components/dialogs/confirm-dialog/package.json +18 -0
- package/components/dialogs/default/.npmignore +2 -0
- package/components/dialogs/default/bundles/index.umd.js +380 -0
- package/components/dialogs/default/fesm2022/index.mjs +363 -0
- package/components/dialogs/default/fesm2022/index.mjs.map +1 -0
- package/components/dialogs/default/index.d.ts +89 -0
- package/components/dialogs/default/package.json +18 -0
- package/components/dialogs/design-dialog/.npmignore +2 -0
- package/components/dialogs/design-dialog/bundles/index.umd.js +150 -0
- package/components/dialogs/design-dialog/fesm2022/index.mjs +135 -0
- package/components/dialogs/design-dialog/fesm2022/index.mjs.map +1 -0
- package/components/dialogs/design-dialog/index.d.ts +20 -0
- package/components/dialogs/design-dialog/package.json +18 -0
- package/components/dialogs/iframe-dialog/.npmignore +2 -0
- package/components/dialogs/iframe-dialog/bundles/index.umd.js +119 -0
- package/components/dialogs/iframe-dialog/fesm2022/index.mjs +108 -0
- package/components/dialogs/iframe-dialog/fesm2022/index.mjs.map +1 -0
- package/components/dialogs/iframe-dialog/index.d.ts +22 -0
- package/components/dialogs/iframe-dialog/package.json +18 -0
- package/components/dialogs/login-dialog/.npmignore +2 -0
- package/components/dialogs/login-dialog/bundles/index.umd.js +114 -0
- package/components/dialogs/login-dialog/fesm2022/index.mjs +98 -0
- package/components/dialogs/login-dialog/fesm2022/index.mjs.map +1 -0
- package/components/dialogs/login-dialog/index.d.ts +26 -0
- package/components/dialogs/login-dialog/package.json +18 -0
- package/components/dialogs/partial-dialog/.npmignore +2 -0
- package/components/dialogs/partial-dialog/bundles/index.umd.js +157 -0
- package/components/dialogs/partial-dialog/fesm2022/index.mjs +146 -0
- package/components/dialogs/partial-dialog/fesm2022/index.mjs.map +1 -0
- package/components/dialogs/partial-dialog/index.d.ts +32 -0
- package/components/dialogs/partial-dialog/package.json +18 -0
- package/components/input/base-form/.npmignore +2 -0
- package/components/input/base-form/bundles/index.umd.js +147 -0
- package/components/input/base-form/fesm2022/index.mjs +131 -0
- package/components/input/base-form/fesm2022/index.mjs.map +1 -0
- package/components/input/base-form/index.d.ts +29 -0
- package/components/input/base-form/package.json +18 -0
- package/components/input/base-form-custom/.npmignore +2 -0
- package/components/input/base-form-custom/bundles/index.umd.js +129 -0
- package/components/input/base-form-custom/fesm2022/index.mjs +112 -0
- package/components/input/base-form-custom/fesm2022/index.mjs.map +1 -0
- package/components/input/base-form-custom/index.d.ts +26 -0
- package/components/input/base-form-custom/package.json +18 -0
- package/components/input/button/.npmignore +2 -0
- package/components/input/button/bundles/index.umd.js +98 -0
- package/components/input/button/fesm2022/index.mjs +81 -0
- package/components/input/button/fesm2022/index.mjs.map +1 -0
- package/components/input/button/index.d.ts +22 -0
- package/components/input/button/package.json +18 -0
- package/components/input/button-group/.npmignore +2 -0
- package/components/input/button-group/bundles/index.umd.js +80 -0
- package/components/input/button-group/fesm2022/index.mjs +62 -0
- package/components/input/button-group/fesm2022/index.mjs.map +1 -0
- package/components/input/button-group/index.d.ts +14 -0
- package/components/input/button-group/package.json +18 -0
- package/components/input/calendar/.npmignore +2 -0
- package/components/input/calendar/bundles/index.umd.js +655 -0
- package/components/input/calendar/fesm2022/index.mjs +665 -0
- package/components/input/calendar/fesm2022/index.mjs.map +1 -0
- package/components/input/calendar/index.d.ts +131 -0
- package/components/input/calendar/package.json +18 -0
- package/components/input/caption-position/.npmignore +2 -0
- package/components/input/caption-position/bundles/index.umd.js +196 -0
- package/components/input/caption-position/fesm2022/index.mjs +178 -0
- package/components/input/caption-position/fesm2022/index.mjs.map +1 -0
- package/components/input/caption-position/index.d.ts +34 -0
- package/components/input/caption-position/package.json +18 -0
- package/components/input/checkbox/.npmignore +2 -0
- package/components/input/checkbox/bundles/index.umd.js +206 -0
- package/components/input/checkbox/fesm2022/index.mjs +191 -0
- package/components/input/checkbox/fesm2022/index.mjs.map +1 -0
- package/components/input/checkbox/index.d.ts +39 -0
- package/components/input/checkbox/package.json +18 -0
- package/components/input/checkboxset/.npmignore +2 -0
- package/components/input/checkboxset/bundles/index.umd.js +178 -0
- package/components/input/checkboxset/fesm2022/index.mjs +165 -0
- package/components/input/checkboxset/fesm2022/index.mjs.map +1 -0
- package/components/input/checkboxset/index.d.ts +27 -0
- package/components/input/checkboxset/package.json +18 -0
- package/components/input/chips/.npmignore +2 -0
- package/components/input/chips/bundles/index.umd.js +741 -0
- package/components/input/chips/fesm2022/index.mjs +729 -0
- package/components/input/chips/fesm2022/index.mjs.map +1 -0
- package/components/input/chips/index.d.ts +90 -0
- package/components/input/chips/package.json +18 -0
- package/components/input/color-picker/.npmignore +2 -0
- package/components/input/color-picker/bundles/index.umd.js +145 -0
- package/components/input/color-picker/fesm2022/index.mjs +132 -0
- package/components/input/color-picker/fesm2022/index.mjs.map +1 -0
- package/components/input/color-picker/index.d.ts +36 -0
- package/components/input/color-picker/package.json +18 -0
- package/components/input/composite/.npmignore +2 -0
- package/components/input/composite/bundles/index.umd.js +120 -0
- package/components/input/composite/fesm2022/index.mjs +103 -0
- package/components/input/composite/fesm2022/index.mjs.map +1 -0
- package/components/input/composite/index.d.ts +27 -0
- package/components/input/composite/package.json +18 -0
- package/components/input/currency/.npmignore +2 -0
- package/components/input/currency/bundles/index.umd.js +112 -0
- package/components/input/currency/fesm2022/index.mjs +97 -0
- package/components/input/currency/fesm2022/index.mjs.map +1 -0
- package/components/input/currency/index.d.ts +31 -0
- package/components/input/currency/package.json +18 -0
- package/components/input/dataset-aware-form/.npmignore +2 -0
- package/components/input/dataset-aware-form/bundles/index.umd.js +354 -0
- package/components/input/dataset-aware-form/fesm2022/index.mjs +340 -0
- package/components/input/dataset-aware-form/fesm2022/index.mjs.map +1 -0
- package/components/input/dataset-aware-form/index.d.ts +80 -0
- package/components/input/dataset-aware-form/package.json +18 -0
- package/components/input/epoch/base-date-time/.npmignore +2 -0
- package/components/input/epoch/base-date-time/bundles/index.umd.js +1093 -0
- package/components/input/epoch/base-date-time/fesm2022/index.mjs +1084 -0
- package/components/input/epoch/base-date-time/fesm2022/index.mjs.map +1 -0
- package/components/input/epoch/base-date-time/index.d.ts +249 -0
- package/components/input/epoch/base-date-time/package.json +18 -0
- package/components/input/epoch/date/.npmignore +2 -0
- package/components/input/epoch/date/bundles/index.umd.js +515 -0
- package/components/input/epoch/date/fesm2022/index.mjs +505 -0
- package/components/input/epoch/date/fesm2022/index.mjs.map +1 -0
- package/components/input/epoch/date/index.d.ts +64 -0
- package/components/input/epoch/date/package.json +18 -0
- package/components/input/epoch/date-time/.npmignore +2 -0
- package/components/input/epoch/date-time/bundles/index.umd.js +519 -0
- package/components/input/epoch/date-time/fesm2022/index.mjs +510 -0
- package/components/input/epoch/date-time/fesm2022/index.mjs.map +1 -0
- package/components/input/epoch/date-time/index.d.ts +112 -0
- package/components/input/epoch/date-time/package.json +18 -0
- package/components/input/epoch/date-time-picker/.npmignore +2 -0
- package/components/input/epoch/date-time-picker/bundles/index.umd.js +453 -0
- package/components/input/epoch/date-time-picker/fesm2022/index.mjs +439 -0
- package/components/input/epoch/date-time-picker/fesm2022/index.mjs.map +1 -0
- package/components/input/epoch/date-time-picker/index.d.ts +83 -0
- package/components/input/epoch/date-time-picker/package.json +18 -0
- package/components/input/epoch/picker/.npmignore +2 -0
- package/components/input/epoch/picker/bundles/index.umd.js +192 -0
- package/components/input/epoch/picker/fesm2022/index.mjs +172 -0
- package/components/input/epoch/picker/fesm2022/index.mjs.map +1 -0
- package/components/input/epoch/picker/index.d.ts +39 -0
- package/components/input/epoch/picker/package.json +18 -0
- package/components/input/epoch/time/.npmignore +2 -0
- package/components/input/epoch/time/bundles/index.umd.js +401 -0
- package/components/input/epoch/time/fesm2022/index.mjs +391 -0
- package/components/input/epoch/time/fesm2022/index.mjs.map +1 -0
- package/components/input/epoch/time/index.d.ts +108 -0
- package/components/input/epoch/time/package.json +18 -0
- package/components/input/file-upload/.npmignore +2 -0
- package/components/input/file-upload/bundles/index.umd.js +483 -0
- package/components/input/file-upload/fesm2022/index.mjs +469 -0
- package/components/input/file-upload/fesm2022/index.mjs.map +1 -0
- package/components/input/file-upload/index.d.ts +106 -0
- package/components/input/file-upload/package.json +18 -0
- package/components/input/number/.npmignore +2 -0
- package/components/input/number/bundles/index.umd.js +109 -0
- package/components/input/number/fesm2022/index.mjs +95 -0
- package/components/input/number/fesm2022/index.mjs.map +1 -0
- package/components/input/number/index.d.ts +29 -0
- package/components/input/number/package.json +18 -0
- package/components/input/radioset/.npmignore +2 -0
- package/components/input/radioset/bundles/index.umd.js +164 -0
- package/components/input/radioset/fesm2022/index.mjs +151 -0
- package/components/input/radioset/fesm2022/index.mjs.map +1 -0
- package/components/input/radioset/index.d.ts +26 -0
- package/components/input/radioset/package.json +18 -0
- package/components/input/rating/.npmignore +2 -0
- package/components/input/rating/bundles/index.umd.js +270 -0
- package/components/input/rating/fesm2022/index.mjs +257 -0
- package/components/input/rating/fesm2022/index.mjs.map +1 -0
- package/components/input/rating/index.d.ts +47 -0
- package/components/input/rating/package.json +18 -0
- package/components/input/select/.npmignore +2 -0
- package/components/input/select/bundles/index.umd.js +225 -0
- package/components/input/select/fesm2022/index.mjs +211 -0
- package/components/input/select/fesm2022/index.mjs.map +1 -0
- package/components/input/select/index.d.ts +39 -0
- package/components/input/select/package.json +18 -0
- package/components/input/slider/.npmignore +2 -0
- package/components/input/slider/bundles/index.umd.js +203 -0
- package/components/input/slider/fesm2022/index.mjs +189 -0
- package/components/input/slider/fesm2022/index.mjs.map +1 -0
- package/components/input/slider/index.d.ts +42 -0
- package/components/input/slider/package.json +18 -0
- package/components/input/switch/.npmignore +2 -0
- package/components/input/switch/bundles/index.umd.js +224 -0
- package/components/input/switch/fesm2022/index.mjs +211 -0
- package/components/input/switch/fesm2022/index.mjs.map +1 -0
- package/components/input/switch/index.d.ts +33 -0
- package/components/input/switch/package.json +18 -0
- package/components/input/text/.npmignore +2 -0
- package/components/input/text/bundles/index.umd.js +1130 -0
- package/components/input/text/fesm2022/index.mjs +1114 -0
- package/components/input/text/fesm2022/index.mjs.map +1 -0
- package/components/input/text/index.d.ts +316 -0
- package/components/input/text/package.json +18 -0
- package/components/input/textarea/.npmignore +2 -0
- package/components/input/textarea/bundles/index.umd.js +108 -0
- package/components/input/textarea/fesm2022/index.mjs +94 -0
- package/components/input/textarea/fesm2022/index.mjs.map +1 -0
- package/components/input/textarea/index.d.ts +33 -0
- package/components/input/textarea/package.json +18 -0
- package/components/navigation/breadcrumb/.npmignore +2 -0
- package/components/navigation/breadcrumb/bundles/index.umd.js +138 -0
- package/components/navigation/breadcrumb/fesm2022/index.mjs +121 -0
- package/components/navigation/breadcrumb/fesm2022/index.mjs.map +1 -0
- package/components/navigation/breadcrumb/index.d.ts +28 -0
- package/components/navigation/breadcrumb/package.json +18 -0
- package/components/navigation/menu/.npmignore +2 -0
- package/components/navigation/menu/bundles/index.umd.js +947 -0
- package/components/navigation/menu/fesm2022/index.mjs +929 -0
- package/components/navigation/menu/fesm2022/index.mjs.map +1 -0
- package/components/navigation/menu/index.d.ts +189 -0
- package/components/navigation/menu/package.json +18 -0
- package/components/navigation/navbar/.npmignore +2 -0
- package/components/navigation/navbar/bundles/index.umd.js +87 -0
- package/components/navigation/navbar/fesm2022/index.mjs +70 -0
- package/components/navigation/navbar/fesm2022/index.mjs.map +1 -0
- package/components/navigation/navbar/index.d.ts +19 -0
- package/components/navigation/navbar/package.json +18 -0
- package/components/navigation/popover/.npmignore +2 -0
- package/components/navigation/popover/bundles/index.umd.js +527 -0
- package/components/navigation/popover/fesm2022/index.mjs +513 -0
- package/components/navigation/popover/fesm2022/index.mjs.map +1 -0
- package/components/navigation/popover/index.d.ts +86 -0
- package/components/navigation/popover/package.json +18 -0
- package/components/page/default/.npmignore +2 -0
- package/components/page/default/bundles/index.umd.js +458 -0
- package/components/page/default/fesm2022/index.mjs +438 -0
- package/components/page/default/fesm2022/index.mjs.map +1 -0
- package/components/page/default/index.d.ts +124 -0
- package/components/page/default/package.json +18 -0
- package/components/page/footer/.npmignore +2 -0
- package/components/page/footer/bundles/index.umd.js +71 -0
- package/components/page/footer/fesm2022/index.mjs +53 -0
- package/components/page/footer/fesm2022/index.mjs.map +1 -0
- package/components/page/footer/index.d.ts +12 -0
- package/components/page/footer/package.json +18 -0
- package/components/page/header/.npmignore +2 -0
- package/components/page/header/bundles/index.umd.js +67 -0
- package/components/page/header/fesm2022/index.mjs +49 -0
- package/components/page/header/fesm2022/index.mjs.map +1 -0
- package/components/page/header/index.d.ts +13 -0
- package/components/page/header/package.json +18 -0
- package/components/page/left-panel/.npmignore +2 -0
- package/components/page/left-panel/bundles/index.umd.js +415 -0
- package/components/page/left-panel/fesm2022/index.mjs +400 -0
- package/components/page/left-panel/fesm2022/index.mjs.map +1 -0
- package/components/page/left-panel/index.d.ts +41 -0
- package/components/page/left-panel/package.json +18 -0
- package/components/page/right-panel/.npmignore +2 -0
- package/components/page/right-panel/bundles/index.umd.js +86 -0
- package/components/page/right-panel/fesm2022/index.mjs +69 -0
- package/components/page/right-panel/fesm2022/index.mjs.map +1 -0
- package/components/page/right-panel/index.d.ts +13 -0
- package/components/page/right-panel/package.json +18 -0
- package/components/page/top-nav/.npmignore +2 -0
- package/components/page/top-nav/bundles/index.umd.js +68 -0
- package/components/page/top-nav/fesm2022/index.mjs +50 -0
- package/components/page/top-nav/fesm2022/index.mjs.map +1 -0
- package/components/page/top-nav/index.d.ts +12 -0
- package/components/page/top-nav/package.json +18 -0
- package/components/prefab/.npmignore +2 -0
- package/components/prefab/bundles/index.umd.js +176 -0
- package/components/prefab/fesm2022/index.mjs +159 -0
- package/components/prefab/fesm2022/index.mjs.map +1 -0
- package/components/prefab/index.d.ts +33 -0
- package/components/prefab/package.json +18 -0
- package/core/.npmignore +2 -0
- package/core/bundles/index.umd.js +5627 -0
- package/core/fesm2022/index.mjs +5475 -0
- package/core/fesm2022/index.mjs.map +1 -0
- package/core/index.d.ts +2143 -0
- package/core/package.json +24 -0
- package/http/.npmignore +2 -0
- package/http/bundles/index.umd.js +421 -0
- package/http/fesm2022/index.mjs +405 -0
- package/http/fesm2022/index.mjs.map +1 -0
- package/http/index.d.ts +120 -0
- package/http/package.json +23 -0
- package/locales/angular/af-na.js +17 -0
- package/locales/angular/af.js +17 -0
- package/locales/angular/agq.js +15 -0
- package/locales/angular/ak.js +17 -0
- package/locales/angular/am.js +17 -0
- package/locales/angular/ar-ae.js +25 -0
- package/locales/angular/ar-bh.js +25 -0
- package/locales/angular/ar-dj.js +25 -0
- package/locales/angular/ar-dz.js +25 -0
- package/locales/angular/ar-eg.js +25 -0
- package/locales/angular/ar-eh.js +25 -0
- package/locales/angular/ar-er.js +25 -0
- package/locales/angular/ar-il.js +25 -0
- package/locales/angular/ar-iq.js +25 -0
- package/locales/angular/ar-jo.js +25 -0
- package/locales/angular/ar-km.js +25 -0
- package/locales/angular/ar-kw.js +25 -0
- package/locales/angular/ar-lb.js +25 -0
- package/locales/angular/ar-ly.js +25 -0
- package/locales/angular/ar-ma.js +25 -0
- package/locales/angular/ar-mr.js +25 -0
- package/locales/angular/ar-om.js +25 -0
- package/locales/angular/ar-ps.js +25 -0
- package/locales/angular/ar-qa.js +25 -0
- package/locales/angular/ar-sa.js +25 -0
- package/locales/angular/ar-sd.js +25 -0
- package/locales/angular/ar-so.js +25 -0
- package/locales/angular/ar-ss.js +25 -0
- package/locales/angular/ar-sy.js +25 -0
- package/locales/angular/ar-td.js +25 -0
- package/locales/angular/ar-tn.js +25 -0
- package/locales/angular/ar-ye.js +25 -0
- package/locales/angular/ar.js +25 -0
- package/locales/angular/as.js +17 -0
- package/locales/angular/asa.js +17 -0
- package/locales/angular/ast.js +17 -0
- package/locales/angular/az-cyrl.js +15 -0
- package/locales/angular/az-latn.js +17 -0
- package/locales/angular/az.js +17 -0
- package/locales/angular/bas.js +15 -0
- package/locales/angular/be-tarask.js +21 -0
- package/locales/angular/be.js +21 -0
- package/locales/angular/bem.js +17 -0
- package/locales/angular/bez.js +17 -0
- package/locales/angular/bg.js +17 -0
- package/locales/angular/bm.js +15 -0
- package/locales/angular/bn-in.js +17 -0
- package/locales/angular/bn.js +17 -0
- package/locales/angular/bo-in.js +15 -0
- package/locales/angular/bo.js +15 -0
- package/locales/angular/br.js +23 -0
- package/locales/angular/brx.js +17 -0
- package/locales/angular/bs-cyrl.js +15 -0
- package/locales/angular/bs-latn.js +19 -0
- package/locales/angular/bs.js +19 -0
- package/locales/angular/ca-ad.js +17 -0
- package/locales/angular/ca-es-valencia.js +17 -0
- package/locales/angular/ca-fr.js +17 -0
- package/locales/angular/ca-it.js +17 -0
- package/locales/angular/ca.js +17 -0
- package/locales/angular/ccp-in.js +15 -0
- package/locales/angular/ccp.js +15 -0
- package/locales/angular/ce.js +17 -0
- package/locales/angular/ceb.js +17 -0
- package/locales/angular/cgg.js +17 -0
- package/locales/angular/chr.js +17 -0
- package/locales/angular/ckb-ir.js +17 -0
- package/locales/angular/ckb.js +17 -0
- package/locales/angular/cs.js +21 -0
- package/locales/angular/cy.js +25 -0
- package/locales/angular/da-gl.js +17 -0
- package/locales/angular/da.js +17 -0
- package/locales/angular/dav.js +15 -0
- package/locales/angular/de-at.js +17 -0
- package/locales/angular/de-be.js +17 -0
- package/locales/angular/de-ch.js +17 -0
- package/locales/angular/de-it.js +17 -0
- package/locales/angular/de-li.js +17 -0
- package/locales/angular/de-lu.js +17 -0
- package/locales/angular/de.js +17 -0
- package/locales/angular/dje.js +15 -0
- package/locales/angular/doi.js +17 -0
- package/locales/angular/dsb.js +21 -0
- package/locales/angular/dua.js +15 -0
- package/locales/angular/dyo.js +15 -0
- package/locales/angular/dz.js +15 -0
- package/locales/angular/ebu.js +15 -0
- package/locales/angular/ee-tg.js +17 -0
- package/locales/angular/ee.js +17 -0
- package/locales/angular/el-cy.js +17 -0
- package/locales/angular/el.js +17 -0
- package/locales/angular/en-001.js +17 -0
- package/locales/angular/en-150.js +17 -0
- package/locales/angular/en-ae.js +17 -0
- package/locales/angular/en-ag.js +17 -0
- package/locales/angular/en-ai.js +17 -0
- package/locales/angular/en-as.js +17 -0
- package/locales/angular/en-at.js +17 -0
- package/locales/angular/en-au.js +17 -0
- package/locales/angular/en-bb.js +17 -0
- package/locales/angular/en-be.js +17 -0
- package/locales/angular/en-bi.js +17 -0
- package/locales/angular/en-bm.js +17 -0
- package/locales/angular/en-bs.js +17 -0
- package/locales/angular/en-bw.js +17 -0
- package/locales/angular/en-bz.js +17 -0
- package/locales/angular/en-ca.js +17 -0
- package/locales/angular/en-cc.js +17 -0
- package/locales/angular/en-ch.js +17 -0
- package/locales/angular/en-ck.js +17 -0
- package/locales/angular/en-cm.js +17 -0
- package/locales/angular/en-cx.js +17 -0
- package/locales/angular/en-cy.js +17 -0
- package/locales/angular/en-de.js +17 -0
- package/locales/angular/en-dg.js +17 -0
- package/locales/angular/en-dk.js +17 -0
- package/locales/angular/en-dm.js +17 -0
- package/locales/angular/en-er.js +17 -0
- package/locales/angular/en-fi.js +17 -0
- package/locales/angular/en-fj.js +17 -0
- package/locales/angular/en-fk.js +17 -0
- package/locales/angular/en-fm.js +17 -0
- package/locales/angular/en-gb.js +17 -0
- package/locales/angular/en-gd.js +17 -0
- package/locales/angular/en-gg.js +17 -0
- package/locales/angular/en-gh.js +17 -0
- package/locales/angular/en-gi.js +17 -0
- package/locales/angular/en-gm.js +17 -0
- package/locales/angular/en-gu.js +17 -0
- package/locales/angular/en-gy.js +17 -0
- package/locales/angular/en-hk.js +17 -0
- package/locales/angular/en-ie.js +17 -0
- package/locales/angular/en-il.js +17 -0
- package/locales/angular/en-im.js +17 -0
- package/locales/angular/en-in.js +17 -0
- package/locales/angular/en-io.js +17 -0
- package/locales/angular/en-je.js +17 -0
- package/locales/angular/en-jm.js +17 -0
- package/locales/angular/en-ke.js +17 -0
- package/locales/angular/en-ki.js +17 -0
- package/locales/angular/en-kn.js +17 -0
- package/locales/angular/en-ky.js +17 -0
- package/locales/angular/en-lc.js +17 -0
- package/locales/angular/en-lr.js +17 -0
- package/locales/angular/en-ls.js +17 -0
- package/locales/angular/en-mg.js +17 -0
- package/locales/angular/en-mh.js +17 -0
- package/locales/angular/en-mo.js +17 -0
- package/locales/angular/en-mp.js +17 -0
- package/locales/angular/en-ms.js +17 -0
- package/locales/angular/en-mt.js +17 -0
- package/locales/angular/en-mu.js +17 -0
- package/locales/angular/en-mv.js +17 -0
- package/locales/angular/en-mw.js +17 -0
- package/locales/angular/en-my.js +17 -0
- package/locales/angular/en-na.js +17 -0
- package/locales/angular/en-nf.js +17 -0
- package/locales/angular/en-ng.js +17 -0
- package/locales/angular/en-nl.js +17 -0
- package/locales/angular/en-nr.js +17 -0
- package/locales/angular/en-nu.js +17 -0
- package/locales/angular/en-nz.js +17 -0
- package/locales/angular/en-pg.js +17 -0
- package/locales/angular/en-ph.js +17 -0
- package/locales/angular/en-pk.js +17 -0
- package/locales/angular/en-pn.js +17 -0
- package/locales/angular/en-pr.js +17 -0
- package/locales/angular/en-pw.js +17 -0
- package/locales/angular/en-rw.js +17 -0
- package/locales/angular/en-sb.js +17 -0
- package/locales/angular/en-sc.js +17 -0
- package/locales/angular/en-sd.js +17 -0
- package/locales/angular/en-se.js +17 -0
- package/locales/angular/en-sg.js +17 -0
- package/locales/angular/en-sh.js +17 -0
- package/locales/angular/en-si.js +17 -0
- package/locales/angular/en-sl.js +17 -0
- package/locales/angular/en-ss.js +17 -0
- package/locales/angular/en-sx.js +17 -0
- package/locales/angular/en-sz.js +17 -0
- package/locales/angular/en-tc.js +17 -0
- package/locales/angular/en-tk.js +17 -0
- package/locales/angular/en-to.js +17 -0
- package/locales/angular/en-tt.js +17 -0
- package/locales/angular/en-tv.js +17 -0
- package/locales/angular/en-tz.js +17 -0
- package/locales/angular/en-ug.js +17 -0
- package/locales/angular/en-um.js +17 -0
- package/locales/angular/en-vc.js +17 -0
- package/locales/angular/en-vg.js +17 -0
- package/locales/angular/en-vi.js +17 -0
- package/locales/angular/en-vu.js +17 -0
- package/locales/angular/en-ws.js +17 -0
- package/locales/angular/en-za.js +17 -0
- package/locales/angular/en-zm.js +17 -0
- package/locales/angular/en-zw.js +17 -0
- package/locales/angular/en.js +17 -0
- package/locales/angular/eo.js +17 -0
- package/locales/angular/es-419.js +19 -0
- package/locales/angular/es-ar.js +19 -0
- package/locales/angular/es-bo.js +19 -0
- package/locales/angular/es-br.js +19 -0
- package/locales/angular/es-bz.js +19 -0
- package/locales/angular/es-cl.js +19 -0
- package/locales/angular/es-co.js +19 -0
- package/locales/angular/es-cr.js +19 -0
- package/locales/angular/es-cu.js +19 -0
- package/locales/angular/es-do.js +19 -0
- package/locales/angular/es-ea.js +19 -0
- package/locales/angular/es-ec.js +19 -0
- package/locales/angular/es-gq.js +19 -0
- package/locales/angular/es-gt.js +19 -0
- package/locales/angular/es-hn.js +19 -0
- package/locales/angular/es-ic.js +19 -0
- package/locales/angular/es-mx.js +19 -0
- package/locales/angular/es-ni.js +19 -0
- package/locales/angular/es-pa.js +19 -0
- package/locales/angular/es-pe.js +19 -0
- package/locales/angular/es-ph.js +19 -0
- package/locales/angular/es-pr.js +19 -0
- package/locales/angular/es-py.js +19 -0
- package/locales/angular/es-sv.js +19 -0
- package/locales/angular/es-us.js +19 -0
- package/locales/angular/es-uy.js +19 -0
- package/locales/angular/es-ve.js +19 -0
- package/locales/angular/es.js +19 -0
- package/locales/angular/et.js +17 -0
- package/locales/angular/eu.js +17 -0
- package/locales/angular/ewo.js +15 -0
- package/locales/angular/fa-af.js +17 -0
- package/locales/angular/fa.js +17 -0
- package/locales/angular/ff-adlm-bf.js +15 -0
- package/locales/angular/ff-adlm-cm.js +15 -0
- package/locales/angular/ff-adlm-gh.js +15 -0
- package/locales/angular/ff-adlm-gm.js +15 -0
- package/locales/angular/ff-adlm-gw.js +15 -0
- package/locales/angular/ff-adlm-lr.js +15 -0
- package/locales/angular/ff-adlm-mr.js +15 -0
- package/locales/angular/ff-adlm-ne.js +15 -0
- package/locales/angular/ff-adlm-ng.js +15 -0
- package/locales/angular/ff-adlm-sl.js +15 -0
- package/locales/angular/ff-adlm-sn.js +15 -0
- package/locales/angular/ff-adlm.js +15 -0
- package/locales/angular/ff-cm.js +64 -0
- package/locales/angular/ff-gn.js +64 -0
- package/locales/angular/ff-latn-bf.js +17 -0
- package/locales/angular/ff-latn-cm.js +17 -0
- package/locales/angular/ff-latn-gh.js +17 -0
- package/locales/angular/ff-latn-gm.js +17 -0
- package/locales/angular/ff-latn-gn.js +17 -0
- package/locales/angular/ff-latn-gw.js +17 -0
- package/locales/angular/ff-latn-lr.js +17 -0
- package/locales/angular/ff-latn-mr.js +17 -0
- package/locales/angular/ff-latn-ne.js +17 -0
- package/locales/angular/ff-latn-ng.js +17 -0
- package/locales/angular/ff-latn-sl.js +17 -0
- package/locales/angular/ff-latn.js +17 -0
- package/locales/angular/ff-mr.js +64 -0
- package/locales/angular/ff.js +17 -0
- package/locales/angular/fi.js +17 -0
- package/locales/angular/fil.js +17 -0
- package/locales/angular/fo-dk.js +17 -0
- package/locales/angular/fo.js +17 -0
- package/locales/angular/fr-be.js +19 -0
- package/locales/angular/fr-bf.js +19 -0
- package/locales/angular/fr-bi.js +19 -0
- package/locales/angular/fr-bj.js +19 -0
- package/locales/angular/fr-bl.js +19 -0
- package/locales/angular/fr-ca.js +19 -0
- package/locales/angular/fr-cd.js +19 -0
- package/locales/angular/fr-cf.js +19 -0
- package/locales/angular/fr-cg.js +19 -0
- package/locales/angular/fr-ch.js +19 -0
- package/locales/angular/fr-ci.js +19 -0
- package/locales/angular/fr-cm.js +19 -0
- package/locales/angular/fr-dj.js +19 -0
- package/locales/angular/fr-dz.js +19 -0
- package/locales/angular/fr-ga.js +19 -0
- package/locales/angular/fr-gf.js +19 -0
- package/locales/angular/fr-gn.js +19 -0
- package/locales/angular/fr-gp.js +19 -0
- package/locales/angular/fr-gq.js +19 -0
- package/locales/angular/fr-ht.js +19 -0
- package/locales/angular/fr-km.js +19 -0
- package/locales/angular/fr-lu.js +19 -0
- package/locales/angular/fr-ma.js +19 -0
- package/locales/angular/fr-mc.js +19 -0
- package/locales/angular/fr-mf.js +19 -0
- package/locales/angular/fr-mg.js +19 -0
- package/locales/angular/fr-ml.js +19 -0
- package/locales/angular/fr-mq.js +19 -0
- package/locales/angular/fr-mr.js +19 -0
- package/locales/angular/fr-mu.js +19 -0
- package/locales/angular/fr-nc.js +19 -0
- package/locales/angular/fr-ne.js +19 -0
- package/locales/angular/fr-pf.js +19 -0
- package/locales/angular/fr-pm.js +19 -0
- package/locales/angular/fr-re.js +19 -0
- package/locales/angular/fr-rw.js +19 -0
- package/locales/angular/fr-sc.js +19 -0
- package/locales/angular/fr-sn.js +19 -0
- package/locales/angular/fr-sy.js +19 -0
- package/locales/angular/fr-td.js +19 -0
- package/locales/angular/fr-tg.js +19 -0
- package/locales/angular/fr-tn.js +19 -0
- package/locales/angular/fr-vu.js +19 -0
- package/locales/angular/fr-wf.js +19 -0
- package/locales/angular/fr-yt.js +19 -0
- package/locales/angular/fr.js +19 -0
- package/locales/angular/fur.js +17 -0
- package/locales/angular/fy.js +17 -0
- package/locales/angular/ga-gb.js +23 -0
- package/locales/angular/ga.js +23 -0
- package/locales/angular/gd.js +21 -0
- package/locales/angular/gl.js +17 -0
- package/locales/angular/global/af-na.js +24 -0
- package/locales/angular/global/af.js +24 -0
- package/locales/angular/global/agq.js +22 -0
- package/locales/angular/global/ak.js +24 -0
- package/locales/angular/global/am.js +24 -0
- package/locales/angular/global/ar-ae.js +32 -0
- package/locales/angular/global/ar-bh.js +32 -0
- package/locales/angular/global/ar-dj.js +32 -0
- package/locales/angular/global/ar-dz.js +32 -0
- package/locales/angular/global/ar-eg.js +32 -0
- package/locales/angular/global/ar-eh.js +32 -0
- package/locales/angular/global/ar-er.js +32 -0
- package/locales/angular/global/ar-il.js +32 -0
- package/locales/angular/global/ar-iq.js +32 -0
- package/locales/angular/global/ar-jo.js +32 -0
- package/locales/angular/global/ar-km.js +32 -0
- package/locales/angular/global/ar-kw.js +32 -0
- package/locales/angular/global/ar-lb.js +32 -0
- package/locales/angular/global/ar-ly.js +32 -0
- package/locales/angular/global/ar-ma.js +32 -0
- package/locales/angular/global/ar-mr.js +32 -0
- package/locales/angular/global/ar-om.js +32 -0
- package/locales/angular/global/ar-ps.js +32 -0
- package/locales/angular/global/ar-qa.js +32 -0
- package/locales/angular/global/ar-sa.js +32 -0
- package/locales/angular/global/ar-sd.js +32 -0
- package/locales/angular/global/ar-so.js +32 -0
- package/locales/angular/global/ar-ss.js +32 -0
- package/locales/angular/global/ar-sy.js +32 -0
- package/locales/angular/global/ar-td.js +32 -0
- package/locales/angular/global/ar-tn.js +32 -0
- package/locales/angular/global/ar-ye.js +32 -0
- package/locales/angular/global/ar.js +32 -0
- package/locales/angular/global/as.js +24 -0
- package/locales/angular/global/asa.js +24 -0
- package/locales/angular/global/ast.js +24 -0
- package/locales/angular/global/az-cyrl.js +22 -0
- package/locales/angular/global/az-latn.js +24 -0
- package/locales/angular/global/az.js +24 -0
- package/locales/angular/global/bas.js +22 -0
- package/locales/angular/global/be-tarask.js +28 -0
- package/locales/angular/global/be.js +28 -0
- package/locales/angular/global/bem.js +24 -0
- package/locales/angular/global/bez.js +24 -0
- package/locales/angular/global/bg.js +24 -0
- package/locales/angular/global/bm.js +22 -0
- package/locales/angular/global/bn-in.js +24 -0
- package/locales/angular/global/bn.js +24 -0
- package/locales/angular/global/bo-in.js +22 -0
- package/locales/angular/global/bo.js +22 -0
- package/locales/angular/global/br.js +30 -0
- package/locales/angular/global/brx.js +24 -0
- package/locales/angular/global/bs-cyrl.js +22 -0
- package/locales/angular/global/bs-latn.js +26 -0
- package/locales/angular/global/bs.js +26 -0
- package/locales/angular/global/ca-ad.js +24 -0
- package/locales/angular/global/ca-es-valencia.js +24 -0
- package/locales/angular/global/ca-fr.js +24 -0
- package/locales/angular/global/ca-it.js +24 -0
- package/locales/angular/global/ca.js +24 -0
- package/locales/angular/global/ccp-in.js +22 -0
- package/locales/angular/global/ccp.js +22 -0
- package/locales/angular/global/ce.js +24 -0
- package/locales/angular/global/ceb.js +24 -0
- package/locales/angular/global/cgg.js +24 -0
- package/locales/angular/global/chr.js +24 -0
- package/locales/angular/global/ckb-ir.js +24 -0
- package/locales/angular/global/ckb.js +24 -0
- package/locales/angular/global/cs.js +28 -0
- package/locales/angular/global/cy.js +32 -0
- package/locales/angular/global/da-gl.js +24 -0
- package/locales/angular/global/da.js +24 -0
- package/locales/angular/global/dav.js +22 -0
- package/locales/angular/global/de-at.js +24 -0
- package/locales/angular/global/de-be.js +24 -0
- package/locales/angular/global/de-ch.js +24 -0
- package/locales/angular/global/de-it.js +24 -0
- package/locales/angular/global/de-li.js +24 -0
- package/locales/angular/global/de-lu.js +24 -0
- package/locales/angular/global/de.js +24 -0
- package/locales/angular/global/dje.js +22 -0
- package/locales/angular/global/doi.js +24 -0
- package/locales/angular/global/dsb.js +28 -0
- package/locales/angular/global/dua.js +22 -0
- package/locales/angular/global/dyo.js +22 -0
- package/locales/angular/global/dz.js +22 -0
- package/locales/angular/global/ebu.js +22 -0
- package/locales/angular/global/ee-tg.js +24 -0
- package/locales/angular/global/ee.js +24 -0
- package/locales/angular/global/el-cy.js +24 -0
- package/locales/angular/global/el.js +24 -0
- package/locales/angular/global/en-001.js +24 -0
- package/locales/angular/global/en-150.js +24 -0
- package/locales/angular/global/en-ae.js +24 -0
- package/locales/angular/global/en-ag.js +24 -0
- package/locales/angular/global/en-ai.js +24 -0
- package/locales/angular/global/en-as.js +24 -0
- package/locales/angular/global/en-at.js +24 -0
- package/locales/angular/global/en-au.js +24 -0
- package/locales/angular/global/en-bb.js +24 -0
- package/locales/angular/global/en-be.js +24 -0
- package/locales/angular/global/en-bi.js +24 -0
- package/locales/angular/global/en-bm.js +24 -0
- package/locales/angular/global/en-bs.js +24 -0
- package/locales/angular/global/en-bw.js +24 -0
- package/locales/angular/global/en-bz.js +24 -0
- package/locales/angular/global/en-ca.js +24 -0
- package/locales/angular/global/en-cc.js +24 -0
- package/locales/angular/global/en-ch.js +24 -0
- package/locales/angular/global/en-ck.js +24 -0
- package/locales/angular/global/en-cm.js +24 -0
- package/locales/angular/global/en-cx.js +24 -0
- package/locales/angular/global/en-cy.js +24 -0
- package/locales/angular/global/en-de.js +24 -0
- package/locales/angular/global/en-dg.js +24 -0
- package/locales/angular/global/en-dk.js +24 -0
- package/locales/angular/global/en-dm.js +24 -0
- package/locales/angular/global/en-er.js +24 -0
- package/locales/angular/global/en-fi.js +24 -0
- package/locales/angular/global/en-fj.js +24 -0
- package/locales/angular/global/en-fk.js +24 -0
- package/locales/angular/global/en-fm.js +24 -0
- package/locales/angular/global/en-gb.js +24 -0
- package/locales/angular/global/en-gd.js +24 -0
- package/locales/angular/global/en-gg.js +24 -0
- package/locales/angular/global/en-gh.js +24 -0
- package/locales/angular/global/en-gi.js +24 -0
- package/locales/angular/global/en-gm.js +24 -0
- package/locales/angular/global/en-gu.js +24 -0
- package/locales/angular/global/en-gy.js +24 -0
- package/locales/angular/global/en-hk.js +24 -0
- package/locales/angular/global/en-ie.js +24 -0
- package/locales/angular/global/en-il.js +24 -0
- package/locales/angular/global/en-im.js +24 -0
- package/locales/angular/global/en-in.js +24 -0
- package/locales/angular/global/en-io.js +24 -0
- package/locales/angular/global/en-je.js +24 -0
- package/locales/angular/global/en-jm.js +24 -0
- package/locales/angular/global/en-ke.js +24 -0
- package/locales/angular/global/en-ki.js +24 -0
- package/locales/angular/global/en-kn.js +24 -0
- package/locales/angular/global/en-ky.js +24 -0
- package/locales/angular/global/en-lc.js +24 -0
- package/locales/angular/global/en-lr.js +24 -0
- package/locales/angular/global/en-ls.js +24 -0
- package/locales/angular/global/en-mg.js +24 -0
- package/locales/angular/global/en-mh.js +24 -0
- package/locales/angular/global/en-mo.js +24 -0
- package/locales/angular/global/en-mp.js +24 -0
- package/locales/angular/global/en-ms.js +24 -0
- package/locales/angular/global/en-mt.js +24 -0
- package/locales/angular/global/en-mu.js +24 -0
- package/locales/angular/global/en-mv.js +24 -0
- package/locales/angular/global/en-mw.js +24 -0
- package/locales/angular/global/en-my.js +24 -0
- package/locales/angular/global/en-na.js +24 -0
- package/locales/angular/global/en-nf.js +24 -0
- package/locales/angular/global/en-ng.js +24 -0
- package/locales/angular/global/en-nl.js +24 -0
- package/locales/angular/global/en-nr.js +24 -0
- package/locales/angular/global/en-nu.js +24 -0
- package/locales/angular/global/en-nz.js +24 -0
- package/locales/angular/global/en-pg.js +24 -0
- package/locales/angular/global/en-ph.js +24 -0
- package/locales/angular/global/en-pk.js +24 -0
- package/locales/angular/global/en-pn.js +24 -0
- package/locales/angular/global/en-pr.js +24 -0
- package/locales/angular/global/en-pw.js +24 -0
- package/locales/angular/global/en-rw.js +24 -0
- package/locales/angular/global/en-sb.js +24 -0
- package/locales/angular/global/en-sc.js +24 -0
- package/locales/angular/global/en-sd.js +24 -0
- package/locales/angular/global/en-se.js +24 -0
- package/locales/angular/global/en-sg.js +24 -0
- package/locales/angular/global/en-sh.js +24 -0
- package/locales/angular/global/en-si.js +24 -0
- package/locales/angular/global/en-sl.js +24 -0
- package/locales/angular/global/en-ss.js +24 -0
- package/locales/angular/global/en-sx.js +24 -0
- package/locales/angular/global/en-sz.js +24 -0
- package/locales/angular/global/en-tc.js +24 -0
- package/locales/angular/global/en-tk.js +24 -0
- package/locales/angular/global/en-to.js +24 -0
- package/locales/angular/global/en-tt.js +24 -0
- package/locales/angular/global/en-tv.js +24 -0
- package/locales/angular/global/en-tz.js +24 -0
- package/locales/angular/global/en-ug.js +24 -0
- package/locales/angular/global/en-um.js +24 -0
- package/locales/angular/global/en-vc.js +24 -0
- package/locales/angular/global/en-vg.js +24 -0
- package/locales/angular/global/en-vi.js +24 -0
- package/locales/angular/global/en-vu.js +24 -0
- package/locales/angular/global/en-ws.js +24 -0
- package/locales/angular/global/en-za.js +24 -0
- package/locales/angular/global/en-zm.js +24 -0
- package/locales/angular/global/en-zw.js +24 -0
- package/locales/angular/global/en.js +24 -0
- package/locales/angular/global/eo.js +24 -0
- package/locales/angular/global/es-419.js +26 -0
- package/locales/angular/global/es-ar.js +26 -0
- package/locales/angular/global/es-bo.js +26 -0
- package/locales/angular/global/es-br.js +26 -0
- package/locales/angular/global/es-bz.js +26 -0
- package/locales/angular/global/es-cl.js +26 -0
- package/locales/angular/global/es-co.js +26 -0
- package/locales/angular/global/es-cr.js +26 -0
- package/locales/angular/global/es-cu.js +26 -0
- package/locales/angular/global/es-do.js +26 -0
- package/locales/angular/global/es-ea.js +26 -0
- package/locales/angular/global/es-ec.js +26 -0
- package/locales/angular/global/es-gq.js +26 -0
- package/locales/angular/global/es-gt.js +26 -0
- package/locales/angular/global/es-hn.js +26 -0
- package/locales/angular/global/es-ic.js +26 -0
- package/locales/angular/global/es-mx.js +26 -0
- package/locales/angular/global/es-ni.js +26 -0
- package/locales/angular/global/es-pa.js +26 -0
- package/locales/angular/global/es-pe.js +26 -0
- package/locales/angular/global/es-ph.js +26 -0
- package/locales/angular/global/es-pr.js +26 -0
- package/locales/angular/global/es-py.js +26 -0
- package/locales/angular/global/es-sv.js +26 -0
- package/locales/angular/global/es-us.js +26 -0
- package/locales/angular/global/es-uy.js +26 -0
- package/locales/angular/global/es-ve.js +26 -0
- package/locales/angular/global/es.js +26 -0
- package/locales/angular/global/et.js +24 -0
- package/locales/angular/global/eu.js +24 -0
- package/locales/angular/global/ewo.js +22 -0
- package/locales/angular/global/fa-af.js +24 -0
- package/locales/angular/global/fa.js +24 -0
- package/locales/angular/global/ff-adlm-bf.js +22 -0
- package/locales/angular/global/ff-adlm-cm.js +22 -0
- package/locales/angular/global/ff-adlm-gh.js +22 -0
- package/locales/angular/global/ff-adlm-gm.js +22 -0
- package/locales/angular/global/ff-adlm-gw.js +22 -0
- package/locales/angular/global/ff-adlm-lr.js +22 -0
- package/locales/angular/global/ff-adlm-mr.js +22 -0
- package/locales/angular/global/ff-adlm-ne.js +22 -0
- package/locales/angular/global/ff-adlm-ng.js +22 -0
- package/locales/angular/global/ff-adlm-sl.js +22 -0
- package/locales/angular/global/ff-adlm-sn.js +22 -0
- package/locales/angular/global/ff-adlm.js +22 -0
- package/locales/angular/global/ff-cm.js +74 -0
- package/locales/angular/global/ff-gn.js +74 -0
- package/locales/angular/global/ff-latn-bf.js +24 -0
- package/locales/angular/global/ff-latn-cm.js +24 -0
- package/locales/angular/global/ff-latn-gh.js +24 -0
- package/locales/angular/global/ff-latn-gm.js +24 -0
- package/locales/angular/global/ff-latn-gn.js +24 -0
- package/locales/angular/global/ff-latn-gw.js +24 -0
- package/locales/angular/global/ff-latn-lr.js +24 -0
- package/locales/angular/global/ff-latn-mr.js +24 -0
- package/locales/angular/global/ff-latn-ne.js +24 -0
- package/locales/angular/global/ff-latn-ng.js +24 -0
- package/locales/angular/global/ff-latn-sl.js +24 -0
- package/locales/angular/global/ff-latn.js +24 -0
- package/locales/angular/global/ff-mr.js +74 -0
- package/locales/angular/global/ff.js +24 -0
- package/locales/angular/global/fi.js +24 -0
- package/locales/angular/global/fil.js +24 -0
- package/locales/angular/global/fo-dk.js +24 -0
- package/locales/angular/global/fo.js +24 -0
- package/locales/angular/global/fr-be.js +26 -0
- package/locales/angular/global/fr-bf.js +26 -0
- package/locales/angular/global/fr-bi.js +26 -0
- package/locales/angular/global/fr-bj.js +26 -0
- package/locales/angular/global/fr-bl.js +26 -0
- package/locales/angular/global/fr-ca.js +26 -0
- package/locales/angular/global/fr-cd.js +26 -0
- package/locales/angular/global/fr-cf.js +26 -0
- package/locales/angular/global/fr-cg.js +26 -0
- package/locales/angular/global/fr-ch.js +26 -0
- package/locales/angular/global/fr-ci.js +26 -0
- package/locales/angular/global/fr-cm.js +26 -0
- package/locales/angular/global/fr-dj.js +26 -0
- package/locales/angular/global/fr-dz.js +26 -0
- package/locales/angular/global/fr-ga.js +26 -0
- package/locales/angular/global/fr-gf.js +26 -0
- package/locales/angular/global/fr-gn.js +26 -0
- package/locales/angular/global/fr-gp.js +26 -0
- package/locales/angular/global/fr-gq.js +26 -0
- package/locales/angular/global/fr-ht.js +26 -0
- package/locales/angular/global/fr-km.js +26 -0
- package/locales/angular/global/fr-lu.js +26 -0
- package/locales/angular/global/fr-ma.js +26 -0
- package/locales/angular/global/fr-mc.js +26 -0
- package/locales/angular/global/fr-mf.js +26 -0
- package/locales/angular/global/fr-mg.js +26 -0
- package/locales/angular/global/fr-ml.js +26 -0
- package/locales/angular/global/fr-mq.js +26 -0
- package/locales/angular/global/fr-mr.js +26 -0
- package/locales/angular/global/fr-mu.js +26 -0
- package/locales/angular/global/fr-nc.js +26 -0
- package/locales/angular/global/fr-ne.js +26 -0
- package/locales/angular/global/fr-pf.js +26 -0
- package/locales/angular/global/fr-pm.js +26 -0
- package/locales/angular/global/fr-re.js +26 -0
- package/locales/angular/global/fr-rw.js +26 -0
- package/locales/angular/global/fr-sc.js +26 -0
- package/locales/angular/global/fr-sn.js +26 -0
- package/locales/angular/global/fr-sy.js +26 -0
- package/locales/angular/global/fr-td.js +26 -0
- package/locales/angular/global/fr-tg.js +26 -0
- package/locales/angular/global/fr-tn.js +26 -0
- package/locales/angular/global/fr-vu.js +26 -0
- package/locales/angular/global/fr-wf.js +26 -0
- package/locales/angular/global/fr-yt.js +26 -0
- package/locales/angular/global/fr.js +26 -0
- package/locales/angular/global/fur.js +24 -0
- package/locales/angular/global/fy.js +24 -0
- package/locales/angular/global/ga-gb.js +30 -0
- package/locales/angular/global/ga.js +30 -0
- package/locales/angular/global/gd.js +28 -0
- package/locales/angular/global/gl.js +24 -0
- package/locales/angular/global/gsw-fr.js +24 -0
- package/locales/angular/global/gsw-li.js +24 -0
- package/locales/angular/global/gsw.js +24 -0
- package/locales/angular/global/gu.js +24 -0
- package/locales/angular/global/guz.js +22 -0
- package/locales/angular/global/gv.js +30 -0
- package/locales/angular/global/ha-gh.js +24 -0
- package/locales/angular/global/ha-ne.js +24 -0
- package/locales/angular/global/ha.js +24 -0
- package/locales/angular/global/haw.js +24 -0
- package/locales/angular/global/he.js +28 -0
- package/locales/angular/global/hi-latn.js +24 -0
- package/locales/angular/global/hi.js +24 -0
- package/locales/angular/global/hr-ba.js +26 -0
- package/locales/angular/global/hr.js +26 -0
- package/locales/angular/global/hsb.js +28 -0
- package/locales/angular/global/hu.js +24 -0
- package/locales/angular/global/hy.js +24 -0
- package/locales/angular/global/ia.js +24 -0
- package/locales/angular/global/id.js +22 -0
- package/locales/angular/global/ig.js +22 -0
- package/locales/angular/global/ii.js +22 -0
- package/locales/angular/global/is.js +24 -0
- package/locales/angular/global/it-ch.js +26 -0
- package/locales/angular/global/it-sm.js +26 -0
- package/locales/angular/global/it-va.js +26 -0
- package/locales/angular/global/it.js +26 -0
- package/locales/angular/global/ja.js +22 -0
- package/locales/angular/global/jgo.js +24 -0
- package/locales/angular/global/jmc.js +24 -0
- package/locales/angular/global/jv.js +22 -0
- package/locales/angular/global/ka.js +24 -0
- package/locales/angular/global/kab.js +24 -0
- package/locales/angular/global/kam.js +22 -0
- package/locales/angular/global/kde.js +22 -0
- package/locales/angular/global/kea.js +22 -0
- package/locales/angular/global/kgp.js +22 -0
- package/locales/angular/global/khq.js +22 -0
- package/locales/angular/global/ki.js +22 -0
- package/locales/angular/global/kk.js +24 -0
- package/locales/angular/global/kkj.js +24 -0
- package/locales/angular/global/kl.js +24 -0
- package/locales/angular/global/kln.js +22 -0
- package/locales/angular/global/km.js +22 -0
- package/locales/angular/global/kn.js +24 -0
- package/locales/angular/global/ko-kp.js +22 -0
- package/locales/angular/global/ko.js +22 -0
- package/locales/angular/global/kok.js +22 -0
- package/locales/angular/global/ks-arab.js +24 -0
- package/locales/angular/global/ks-deva.js +22 -0
- package/locales/angular/global/ks.js +24 -0
- package/locales/angular/global/ksb.js +24 -0
- package/locales/angular/global/ksf.js +22 -0
- package/locales/angular/global/ksh.js +26 -0
- package/locales/angular/global/ku.js +24 -0
- package/locales/angular/global/kw.js +32 -0
- package/locales/angular/global/ky.js +24 -0
- package/locales/angular/global/lag.js +26 -0
- package/locales/angular/global/lb.js +24 -0
- package/locales/angular/global/lg.js +24 -0
- package/locales/angular/global/lkt.js +22 -0
- package/locales/angular/global/ln-ao.js +24 -0
- package/locales/angular/global/ln-cf.js +24 -0
- package/locales/angular/global/ln-cg.js +24 -0
- package/locales/angular/global/ln.js +24 -0
- package/locales/angular/global/lo.js +22 -0
- package/locales/angular/global/lrc-iq.js +22 -0
- package/locales/angular/global/lrc.js +22 -0
- package/locales/angular/global/lt.js +28 -0
- package/locales/angular/global/lu.js +22 -0
- package/locales/angular/global/luo.js +22 -0
- package/locales/angular/global/luy.js +22 -0
- package/locales/angular/global/lv.js +26 -0
- package/locales/angular/global/mai.js +22 -0
- package/locales/angular/global/mas-tz.js +24 -0
- package/locales/angular/global/mas.js +24 -0
- package/locales/angular/global/mer.js +22 -0
- package/locales/angular/global/mfe.js +22 -0
- package/locales/angular/global/mg.js +24 -0
- package/locales/angular/global/mgh.js +22 -0
- package/locales/angular/global/mgo.js +24 -0
- package/locales/angular/global/mi.js +22 -0
- package/locales/angular/global/mk.js +24 -0
- package/locales/angular/global/ml.js +24 -0
- package/locales/angular/global/mn.js +24 -0
- package/locales/angular/global/mni-beng.js +22 -0
- package/locales/angular/global/mni.js +22 -0
- package/locales/angular/global/mr.js +24 -0
- package/locales/angular/global/ms-bn.js +22 -0
- package/locales/angular/global/ms-id.js +22 -0
- package/locales/angular/global/ms-sg.js +22 -0
- package/locales/angular/global/ms.js +22 -0
- package/locales/angular/global/mt.js +28 -0
- package/locales/angular/global/mua.js +22 -0
- package/locales/angular/global/my.js +22 -0
- package/locales/angular/global/mzn.js +22 -0
- package/locales/angular/global/naq.js +26 -0
- package/locales/angular/global/nb-sj.js +24 -0
- package/locales/angular/global/nb.js +24 -0
- package/locales/angular/global/nd.js +24 -0
- package/locales/angular/global/nds-nl.js +22 -0
- package/locales/angular/global/nds.js +22 -0
- package/locales/angular/global/ne-in.js +24 -0
- package/locales/angular/global/ne.js +24 -0
- package/locales/angular/global/nl-aw.js +24 -0
- package/locales/angular/global/nl-be.js +24 -0
- package/locales/angular/global/nl-bq.js +24 -0
- package/locales/angular/global/nl-cw.js +24 -0
- package/locales/angular/global/nl-sr.js +24 -0
- package/locales/angular/global/nl-sx.js +24 -0
- package/locales/angular/global/nl.js +24 -0
- package/locales/angular/global/nmg.js +22 -0
- package/locales/angular/global/nn.js +24 -0
- package/locales/angular/global/nnh.js +24 -0
- package/locales/angular/global/no.js +24 -0
- package/locales/angular/global/nus.js +22 -0
- package/locales/angular/global/nyn.js +24 -0
- package/locales/angular/global/om-ke.js +24 -0
- package/locales/angular/global/om.js +24 -0
- package/locales/angular/global/or.js +24 -0
- package/locales/angular/global/os-ru.js +24 -0
- package/locales/angular/global/os.js +24 -0
- package/locales/angular/global/pa-arab.js +22 -0
- package/locales/angular/global/pa-guru.js +24 -0
- package/locales/angular/global/pa.js +24 -0
- package/locales/angular/global/pcm.js +24 -0
- package/locales/angular/global/pl.js +28 -0
- package/locales/angular/global/ps-pk.js +24 -0
- package/locales/angular/global/ps.js +24 -0
- package/locales/angular/global/pt-ao.js +26 -0
- package/locales/angular/global/pt-ch.js +26 -0
- package/locales/angular/global/pt-cv.js +26 -0
- package/locales/angular/global/pt-gq.js +26 -0
- package/locales/angular/global/pt-gw.js +26 -0
- package/locales/angular/global/pt-lu.js +26 -0
- package/locales/angular/global/pt-mo.js +26 -0
- package/locales/angular/global/pt-mz.js +26 -0
- package/locales/angular/global/pt-pt.js +26 -0
- package/locales/angular/global/pt-st.js +26 -0
- package/locales/angular/global/pt-tl.js +26 -0
- package/locales/angular/global/pt.js +26 -0
- package/locales/angular/global/qu-bo.js +22 -0
- package/locales/angular/global/qu-ec.js +22 -0
- package/locales/angular/global/qu.js +22 -0
- package/locales/angular/global/rm.js +24 -0
- package/locales/angular/global/rn.js +22 -0
- package/locales/angular/global/ro-md.js +26 -0
- package/locales/angular/global/ro.js +26 -0
- package/locales/angular/global/rof.js +24 -0
- package/locales/angular/global/ru-by.js +28 -0
- package/locales/angular/global/ru-kg.js +28 -0
- package/locales/angular/global/ru-kz.js +28 -0
- package/locales/angular/global/ru-md.js +28 -0
- package/locales/angular/global/ru-ua.js +28 -0
- package/locales/angular/global/ru.js +28 -0
- package/locales/angular/global/rw.js +22 -0
- package/locales/angular/global/rwk.js +24 -0
- package/locales/angular/global/sa.js +22 -0
- package/locales/angular/global/sah.js +22 -0
- package/locales/angular/global/saq.js +24 -0
- package/locales/angular/global/sat-olck.js +26 -0
- package/locales/angular/global/sat.js +26 -0
- package/locales/angular/global/sbp.js +22 -0
- package/locales/angular/global/sc.js +24 -0
- package/locales/angular/global/sd-arab.js +24 -0
- package/locales/angular/global/sd-deva.js +22 -0
- package/locales/angular/global/sd.js +24 -0
- package/locales/angular/global/se-fi.js +26 -0
- package/locales/angular/global/se-se.js +26 -0
- package/locales/angular/global/se.js +26 -0
- package/locales/angular/global/seh.js +24 -0
- package/locales/angular/global/ses.js +22 -0
- package/locales/angular/global/sg.js +22 -0
- package/locales/angular/global/shi-latn.js +22 -0
- package/locales/angular/global/shi-tfng.js +26 -0
- package/locales/angular/global/shi.js +26 -0
- package/locales/angular/global/si.js +24 -0
- package/locales/angular/global/sk.js +28 -0
- package/locales/angular/global/sl.js +28 -0
- package/locales/angular/global/smn.js +26 -0
- package/locales/angular/global/sn.js +24 -0
- package/locales/angular/global/so-dj.js +24 -0
- package/locales/angular/global/so-et.js +24 -0
- package/locales/angular/global/so-ke.js +24 -0
- package/locales/angular/global/so.js +24 -0
- package/locales/angular/global/sq-mk.js +24 -0
- package/locales/angular/global/sq-xk.js +24 -0
- package/locales/angular/global/sq.js +24 -0
- package/locales/angular/global/sr-cyrl-ba.js +26 -0
- package/locales/angular/global/sr-cyrl-me.js +26 -0
- package/locales/angular/global/sr-cyrl-xk.js +26 -0
- package/locales/angular/global/sr-cyrl.js +26 -0
- package/locales/angular/global/sr-latn-ba.js +22 -0
- package/locales/angular/global/sr-latn-me.js +22 -0
- package/locales/angular/global/sr-latn-xk.js +22 -0
- package/locales/angular/global/sr-latn.js +22 -0
- package/locales/angular/global/sr.js +26 -0
- package/locales/angular/global/su-latn.js +22 -0
- package/locales/angular/global/su.js +22 -0
- package/locales/angular/global/sv-ax.js +24 -0
- package/locales/angular/global/sv-fi.js +24 -0
- package/locales/angular/global/sv.js +24 -0
- package/locales/angular/global/sw-cd.js +24 -0
- package/locales/angular/global/sw-ke.js +24 -0
- package/locales/angular/global/sw-ug.js +24 -0
- package/locales/angular/global/sw.js +24 -0
- package/locales/angular/global/ta-lk.js +24 -0
- package/locales/angular/global/ta-my.js +24 -0
- package/locales/angular/global/ta-sg.js +24 -0
- package/locales/angular/global/ta.js +24 -0
- package/locales/angular/global/te.js +24 -0
- package/locales/angular/global/teo-ke.js +24 -0
- package/locales/angular/global/teo.js +24 -0
- package/locales/angular/global/tg.js +22 -0
- package/locales/angular/global/th.js +22 -0
- package/locales/angular/global/ti-er.js +24 -0
- package/locales/angular/global/ti.js +24 -0
- package/locales/angular/global/tk.js +24 -0
- package/locales/angular/global/to.js +22 -0
- package/locales/angular/global/tr-cy.js +24 -0
- package/locales/angular/global/tr.js +24 -0
- package/locales/angular/global/tt.js +22 -0
- package/locales/angular/global/twq.js +22 -0
- package/locales/angular/global/tzm.js +24 -0
- package/locales/angular/global/ug.js +24 -0
- package/locales/angular/global/uk.js +28 -0
- package/locales/angular/global/und.js +24 -0
- package/locales/angular/global/ur-in.js +24 -0
- package/locales/angular/global/ur.js +24 -0
- package/locales/angular/global/uz-arab.js +22 -0
- package/locales/angular/global/uz-cyrl.js +22 -0
- package/locales/angular/global/uz-latn.js +24 -0
- package/locales/angular/global/uz.js +24 -0
- package/locales/angular/global/vai-latn.js +22 -0
- package/locales/angular/global/vai-vaii.js +22 -0
- package/locales/angular/global/vai.js +22 -0
- package/locales/angular/global/vi.js +22 -0
- package/locales/angular/global/vun.js +24 -0
- package/locales/angular/global/wae.js +24 -0
- package/locales/angular/global/wo.js +22 -0
- package/locales/angular/global/xh.js +24 -0
- package/locales/angular/global/xog.js +24 -0
- package/locales/angular/global/yav.js +22 -0
- package/locales/angular/global/yi.js +24 -0
- package/locales/angular/global/yo-bj.js +22 -0
- package/locales/angular/global/yo.js +22 -0
- package/locales/angular/global/yrl-co.js +22 -0
- package/locales/angular/global/yrl-ve.js +22 -0
- package/locales/angular/global/yrl.js +22 -0
- package/locales/angular/global/yue-hans.js +22 -0
- package/locales/angular/global/yue-hant.js +22 -0
- package/locales/angular/global/yue.js +22 -0
- package/locales/angular/global/zgh.js +22 -0
- package/locales/angular/global/zh-hans-hk.js +22 -0
- package/locales/angular/global/zh-hans-mo.js +22 -0
- package/locales/angular/global/zh-hans-sg.js +22 -0
- package/locales/angular/global/zh-hans.js +22 -0
- package/locales/angular/global/zh-hant-hk.js +22 -0
- package/locales/angular/global/zh-hant-mo.js +22 -0
- package/locales/angular/global/zh-hant.js +22 -0
- package/locales/angular/global/zh.js +22 -0
- package/locales/angular/global/zu.js +24 -0
- package/locales/angular/gsw-fr.js +17 -0
- package/locales/angular/gsw-li.js +17 -0
- package/locales/angular/gsw.js +17 -0
- package/locales/angular/gu.js +17 -0
- package/locales/angular/guz.js +15 -0
- package/locales/angular/gv.js +23 -0
- package/locales/angular/ha-gh.js +17 -0
- package/locales/angular/ha-ne.js +17 -0
- package/locales/angular/ha.js +17 -0
- package/locales/angular/haw.js +17 -0
- package/locales/angular/he.js +21 -0
- package/locales/angular/hi-latn.js +17 -0
- package/locales/angular/hi.js +17 -0
- package/locales/angular/hr-ba.js +19 -0
- package/locales/angular/hr.js +19 -0
- package/locales/angular/hsb.js +21 -0
- package/locales/angular/hu.js +17 -0
- package/locales/angular/hy.js +17 -0
- package/locales/angular/ia.js +17 -0
- package/locales/angular/id.js +15 -0
- package/locales/angular/ig.js +15 -0
- package/locales/angular/ii.js +15 -0
- package/locales/angular/is.js +17 -0
- package/locales/angular/it-ch.js +19 -0
- package/locales/angular/it-sm.js +19 -0
- package/locales/angular/it-va.js +19 -0
- package/locales/angular/it.js +19 -0
- package/locales/angular/ja.js +15 -0
- package/locales/angular/jgo.js +17 -0
- package/locales/angular/jmc.js +17 -0
- package/locales/angular/jv.js +15 -0
- package/locales/angular/ka.js +17 -0
- package/locales/angular/kab.js +17 -0
- package/locales/angular/kam.js +15 -0
- package/locales/angular/kde.js +15 -0
- package/locales/angular/kea.js +15 -0
- package/locales/angular/kgp.js +15 -0
- package/locales/angular/khq.js +15 -0
- package/locales/angular/ki.js +15 -0
- package/locales/angular/kk.js +17 -0
- package/locales/angular/kkj.js +17 -0
- package/locales/angular/kl.js +17 -0
- package/locales/angular/kln.js +15 -0
- package/locales/angular/km.js +15 -0
- package/locales/angular/kn.js +17 -0
- package/locales/angular/ko-kp.js +15 -0
- package/locales/angular/ko.js +15 -0
- package/locales/angular/kok.js +15 -0
- package/locales/angular/ks-arab.js +17 -0
- package/locales/angular/ks-deva.js +15 -0
- package/locales/angular/ks.js +17 -0
- package/locales/angular/ksb.js +17 -0
- package/locales/angular/ksf.js +15 -0
- package/locales/angular/ksh.js +19 -0
- package/locales/angular/ku.js +17 -0
- package/locales/angular/kw.js +25 -0
- package/locales/angular/ky.js +17 -0
- package/locales/angular/lag.js +19 -0
- package/locales/angular/lb.js +17 -0
- package/locales/angular/lg.js +17 -0
- package/locales/angular/lkt.js +15 -0
- package/locales/angular/ln-ao.js +17 -0
- package/locales/angular/ln-cf.js +17 -0
- package/locales/angular/ln-cg.js +17 -0
- package/locales/angular/ln.js +17 -0
- package/locales/angular/lo.js +15 -0
- package/locales/angular/lrc-iq.js +15 -0
- package/locales/angular/lrc.js +15 -0
- package/locales/angular/lt.js +21 -0
- package/locales/angular/lu.js +15 -0
- package/locales/angular/luo.js +15 -0
- package/locales/angular/luy.js +15 -0
- package/locales/angular/lv.js +19 -0
- package/locales/angular/mai.js +15 -0
- package/locales/angular/mas-tz.js +17 -0
- package/locales/angular/mas.js +17 -0
- package/locales/angular/mer.js +15 -0
- package/locales/angular/mfe.js +15 -0
- package/locales/angular/mg.js +17 -0
- package/locales/angular/mgh.js +15 -0
- package/locales/angular/mgo.js +17 -0
- package/locales/angular/mi.js +15 -0
- package/locales/angular/mk.js +17 -0
- package/locales/angular/ml.js +17 -0
- package/locales/angular/mn.js +17 -0
- package/locales/angular/mni-beng.js +15 -0
- package/locales/angular/mni.js +15 -0
- package/locales/angular/mr.js +17 -0
- package/locales/angular/ms-bn.js +15 -0
- package/locales/angular/ms-id.js +15 -0
- package/locales/angular/ms-sg.js +15 -0
- package/locales/angular/ms.js +15 -0
- package/locales/angular/mt.js +21 -0
- package/locales/angular/mua.js +15 -0
- package/locales/angular/my.js +15 -0
- package/locales/angular/mzn.js +15 -0
- package/locales/angular/naq.js +19 -0
- package/locales/angular/nb-sj.js +17 -0
- package/locales/angular/nb.js +17 -0
- package/locales/angular/nd.js +17 -0
- package/locales/angular/nds-nl.js +15 -0
- package/locales/angular/nds.js +15 -0
- package/locales/angular/ne-in.js +17 -0
- package/locales/angular/ne.js +17 -0
- package/locales/angular/nl-aw.js +17 -0
- package/locales/angular/nl-be.js +17 -0
- package/locales/angular/nl-bq.js +17 -0
- package/locales/angular/nl-cw.js +17 -0
- package/locales/angular/nl-sr.js +17 -0
- package/locales/angular/nl-sx.js +17 -0
- package/locales/angular/nl.js +17 -0
- package/locales/angular/nmg.js +15 -0
- package/locales/angular/nn.js +17 -0
- package/locales/angular/nnh.js +17 -0
- package/locales/angular/no.js +17 -0
- package/locales/angular/nus.js +15 -0
- package/locales/angular/nyn.js +17 -0
- package/locales/angular/om-ke.js +17 -0
- package/locales/angular/om.js +17 -0
- package/locales/angular/or.js +17 -0
- package/locales/angular/os-ru.js +17 -0
- package/locales/angular/os.js +17 -0
- package/locales/angular/pa-arab.js +15 -0
- package/locales/angular/pa-guru.js +17 -0
- package/locales/angular/pa.js +17 -0
- package/locales/angular/pcm.js +17 -0
- package/locales/angular/pl.js +21 -0
- package/locales/angular/ps-pk.js +17 -0
- package/locales/angular/ps.js +17 -0
- package/locales/angular/pt-ao.js +19 -0
- package/locales/angular/pt-ch.js +19 -0
- package/locales/angular/pt-cv.js +19 -0
- package/locales/angular/pt-gq.js +19 -0
- package/locales/angular/pt-gw.js +19 -0
- package/locales/angular/pt-lu.js +19 -0
- package/locales/angular/pt-mo.js +19 -0
- package/locales/angular/pt-mz.js +19 -0
- package/locales/angular/pt-pt.js +19 -0
- package/locales/angular/pt-st.js +19 -0
- package/locales/angular/pt-tl.js +19 -0
- package/locales/angular/pt.js +19 -0
- package/locales/angular/qu-bo.js +15 -0
- package/locales/angular/qu-ec.js +15 -0
- package/locales/angular/qu.js +15 -0
- package/locales/angular/rm.js +17 -0
- package/locales/angular/rn.js +15 -0
- package/locales/angular/ro-md.js +19 -0
- package/locales/angular/ro.js +19 -0
- package/locales/angular/rof.js +17 -0
- package/locales/angular/ru-by.js +21 -0
- package/locales/angular/ru-kg.js +21 -0
- package/locales/angular/ru-kz.js +21 -0
- package/locales/angular/ru-md.js +21 -0
- package/locales/angular/ru-ua.js +21 -0
- package/locales/angular/ru.js +21 -0
- package/locales/angular/rw.js +15 -0
- package/locales/angular/rwk.js +17 -0
- package/locales/angular/sa.js +15 -0
- package/locales/angular/sah.js +15 -0
- package/locales/angular/saq.js +17 -0
- package/locales/angular/sat-olck.js +19 -0
- package/locales/angular/sat.js +19 -0
- package/locales/angular/sbp.js +15 -0
- package/locales/angular/sc.js +17 -0
- package/locales/angular/sd-arab.js +17 -0
- package/locales/angular/sd-deva.js +15 -0
- package/locales/angular/sd.js +17 -0
- package/locales/angular/se-fi.js +19 -0
- package/locales/angular/se-se.js +19 -0
- package/locales/angular/se.js +19 -0
- package/locales/angular/seh.js +17 -0
- package/locales/angular/ses.js +15 -0
- package/locales/angular/sg.js +15 -0
- package/locales/angular/shi-latn.js +15 -0
- package/locales/angular/shi-tfng.js +19 -0
- package/locales/angular/shi.js +19 -0
- package/locales/angular/si.js +17 -0
- package/locales/angular/sk.js +21 -0
- package/locales/angular/sl.js +21 -0
- package/locales/angular/smn.js +19 -0
- package/locales/angular/sn.js +17 -0
- package/locales/angular/so-dj.js +17 -0
- package/locales/angular/so-et.js +17 -0
- package/locales/angular/so-ke.js +17 -0
- package/locales/angular/so.js +17 -0
- package/locales/angular/sq-mk.js +17 -0
- package/locales/angular/sq-xk.js +17 -0
- package/locales/angular/sq.js +17 -0
- package/locales/angular/sr-cyrl-ba.js +19 -0
- package/locales/angular/sr-cyrl-me.js +19 -0
- package/locales/angular/sr-cyrl-xk.js +19 -0
- package/locales/angular/sr-cyrl.js +19 -0
- package/locales/angular/sr-latn-ba.js +15 -0
- package/locales/angular/sr-latn-me.js +15 -0
- package/locales/angular/sr-latn-xk.js +15 -0
- package/locales/angular/sr-latn.js +15 -0
- package/locales/angular/sr.js +19 -0
- package/locales/angular/su-latn.js +15 -0
- package/locales/angular/su.js +15 -0
- package/locales/angular/sv-ax.js +17 -0
- package/locales/angular/sv-fi.js +17 -0
- package/locales/angular/sv.js +17 -0
- package/locales/angular/sw-cd.js +17 -0
- package/locales/angular/sw-ke.js +17 -0
- package/locales/angular/sw-ug.js +17 -0
- package/locales/angular/sw.js +17 -0
- package/locales/angular/ta-lk.js +17 -0
- package/locales/angular/ta-my.js +17 -0
- package/locales/angular/ta-sg.js +17 -0
- package/locales/angular/ta.js +17 -0
- package/locales/angular/te.js +17 -0
- package/locales/angular/teo-ke.js +17 -0
- package/locales/angular/teo.js +17 -0
- package/locales/angular/tg.js +15 -0
- package/locales/angular/th.js +15 -0
- package/locales/angular/ti-er.js +17 -0
- package/locales/angular/ti.js +17 -0
- package/locales/angular/tk.js +17 -0
- package/locales/angular/to.js +15 -0
- package/locales/angular/tr-cy.js +17 -0
- package/locales/angular/tr.js +17 -0
- package/locales/angular/tt.js +15 -0
- package/locales/angular/twq.js +15 -0
- package/locales/angular/tzm.js +17 -0
- package/locales/angular/ug.js +17 -0
- package/locales/angular/uk.js +21 -0
- package/locales/angular/und.js +17 -0
- package/locales/angular/ur-in.js +17 -0
- package/locales/angular/ur.js +17 -0
- package/locales/angular/uz-arab.js +15 -0
- package/locales/angular/uz-cyrl.js +15 -0
- package/locales/angular/uz-latn.js +17 -0
- package/locales/angular/uz.js +17 -0
- package/locales/angular/vai-latn.js +15 -0
- package/locales/angular/vai-vaii.js +15 -0
- package/locales/angular/vai.js +15 -0
- package/locales/angular/vi.js +15 -0
- package/locales/angular/vun.js +17 -0
- package/locales/angular/wae.js +17 -0
- package/locales/angular/wo.js +15 -0
- package/locales/angular/xh.js +17 -0
- package/locales/angular/xog.js +17 -0
- package/locales/angular/yav.js +15 -0
- package/locales/angular/yi.js +17 -0
- package/locales/angular/yo-bj.js +15 -0
- package/locales/angular/yo.js +15 -0
- package/locales/angular/yrl-co.js +15 -0
- package/locales/angular/yrl-ve.js +15 -0
- package/locales/angular/yrl.js +15 -0
- package/locales/angular/yue-hans.js +15 -0
- package/locales/angular/yue-hant.js +15 -0
- package/locales/angular/yue.js +15 -0
- package/locales/angular/zgh.js +15 -0
- package/locales/angular/zh-hans-hk.js +15 -0
- package/locales/angular/zh-hans-mo.js +15 -0
- package/locales/angular/zh-hans-sg.js +15 -0
- package/locales/angular/zh-hans.js +15 -0
- package/locales/angular/zh-hant-hk.js +15 -0
- package/locales/angular/zh-hant-mo.js +15 -0
- package/locales/angular/zh-hant.js +15 -0
- package/locales/angular/zh.js +15 -0
- package/locales/angular/zu.js +17 -0
- package/locales/moment/af.js +82 -0
- package/locales/moment/ar-dz.js +167 -0
- package/locales/moment/ar-kw.js +66 -0
- package/locales/moment/ar-ly.js +182 -0
- package/locales/moment/ar-ma.js +67 -0
- package/locales/moment/ar-ps.js +123 -0
- package/locales/moment/ar-sa.js +116 -0
- package/locales/moment/ar-tn.js +66 -0
- package/locales/moment/ar.js +200 -0
- package/locales/moment/az.js +113 -0
- package/locales/moment/be.js +153 -0
- package/locales/moment/bg.js +98 -0
- package/locales/moment/bm.js +62 -0
- package/locales/moment/bn-bd.js +140 -0
- package/locales/moment/bn.js +130 -0
- package/locales/moment/bo.js +135 -0
- package/locales/moment/br.js +179 -0
- package/locales/moment/bs.js +171 -0
- package/locales/moment/ca.js +111 -0
- package/locales/moment/cs.js +192 -0
- package/locales/moment/cv.js +74 -0
- package/locales/moment/cy.js +109 -0
- package/locales/moment/da.js +64 -0
- package/locales/moment/de-at.js +90 -0
- package/locales/moment/de-ch.js +87 -0
- package/locales/moment/de.js +89 -0
- package/locales/moment/dv.js +101 -0
- package/locales/moment/el.js +117 -0
- package/locales/moment/en-au.js +79 -0
- package/locales/moment/en-ca.js +75 -0
- package/locales/moment/en-gb.js +79 -0
- package/locales/moment/en-ie.js +79 -0
- package/locales/moment/en-il.js +75 -0
- package/locales/moment/en-in.js +79 -0
- package/locales/moment/en-nz.js +79 -0
- package/locales/moment/en-sg.js +79 -0
- package/locales/moment/eo.js +79 -0
- package/locales/moment/es-do.js +119 -0
- package/locales/moment/es-mx.js +121 -0
- package/locales/moment/es-us.js +121 -0
- package/locales/moment/es.js +121 -0
- package/locales/moment/et.js +89 -0
- package/locales/moment/eu.js +76 -0
- package/locales/moment/fa.js +124 -0
- package/locales/moment/fi.js +135 -0
- package/locales/moment/fil.js +69 -0
- package/locales/moment/fo.js +68 -0
- package/locales/moment/fr-ca.js +81 -0
- package/locales/moment/fr-ch.js +85 -0
- package/locales/moment/fr.js +119 -0
- package/locales/moment/fy.js +86 -0
- package/locales/moment/ga.js +106 -0
- package/locales/moment/gd.js +106 -0
- package/locales/moment/gl.js +86 -0
- package/locales/moment/gom-deva.js +137 -0
- package/locales/moment/gom-latn.js +135 -0
- package/locales/moment/gu.js +133 -0
- package/locales/moment/he.js +105 -0
- package/locales/moment/hi.js +179 -0
- package/locales/moment/hr.js +167 -0
- package/locales/moment/hu.js +129 -0
- package/locales/moment/hy-am.js +105 -0
- package/locales/moment/id.js +87 -0
- package/locales/moment/is.js +151 -0
- package/locales/moment/it-ch.js +75 -0
- package/locales/moment/it.js +117 -0
- package/locales/moment/ja.js +159 -0
- package/locales/moment/jv.js +87 -0
- package/locales/moment/ka.js +103 -0
- package/locales/moment/kk.js +93 -0
- package/locales/moment/km.js +114 -0
- package/locales/moment/kn.js +135 -0
- package/locales/moment/ko.js +86 -0
- package/locales/moment/ku-kmr.js +125 -0
- package/locales/moment/ku.js +129 -0
- package/locales/moment/ky.js +95 -0
- package/locales/moment/lb.js +148 -0
- package/locales/moment/lo.js +77 -0
- package/locales/moment/lt.js +136 -0
- package/locales/moment/lv.js +105 -0
- package/locales/moment/me.js +128 -0
- package/locales/moment/mi.js +71 -0
- package/locales/moment/mk.js +97 -0
- package/locales/moment/ml.js +93 -0
- package/locales/moment/mn.js +111 -0
- package/locales/moment/mr.js +214 -0
- package/locales/moment/ms-my.js +87 -0
- package/locales/moment/ms.js +86 -0
- package/locales/moment/mt.js +67 -0
- package/locales/moment/my.js +102 -0
- package/locales/moment/nb.js +71 -0
- package/locales/moment/ne.js +132 -0
- package/locales/moment/nl-be.js +113 -0
- package/locales/moment/nl.js +115 -0
- package/locales/moment/nn.js +70 -0
- package/locales/moment/oc-lnc.js +96 -0
- package/locales/moment/pa-in.js +133 -0
- package/locales/moment/pl.js +151 -0
- package/locales/moment/pt-br.js +69 -0
- package/locales/moment/pt.js +74 -0
- package/locales/moment/ro.js +87 -0
- package/locales/moment/ru.js +224 -0
- package/locales/moment/sd.js +92 -0
- package/locales/moment/se.js +68 -0
- package/locales/moment/si.js +80 -0
- package/locales/moment/sk.js +156 -0
- package/locales/moment/sl.js +182 -0
- package/locales/moment/sq.js +76 -0
- package/locales/moment/sr-cyrl.js +138 -0
- package/locales/moment/sr.js +140 -0
- package/locales/moment/ss.js +95 -0
- package/locales/moment/sv.js +79 -0
- package/locales/moment/sw.js +66 -0
- package/locales/moment/ta.js +142 -0
- package/locales/moment/te.js +99 -0
- package/locales/moment/tet.js +79 -0
- package/locales/moment/tg.js +128 -0
- package/locales/moment/th.js +76 -0
- package/locales/moment/tk.js +102 -0
- package/locales/moment/tl-ph.js +68 -0
- package/locales/moment/tlh.js +135 -0
- package/locales/moment/tr.js +117 -0
- package/locales/moment/tzl.js +100 -0
- package/locales/moment/tzm-latn.js +65 -0
- package/locales/moment/tzm.js +65 -0
- package/locales/moment/ug-cn.js +122 -0
- package/locales/moment/uk.js +178 -0
- package/locales/moment/ur.js +93 -0
- package/locales/moment/uz-latn.js +65 -0
- package/locales/moment/uz.js +62 -0
- package/locales/moment/vi.js +91 -0
- package/locales/moment/x-pseudo.js +84 -0
- package/locales/moment/yo.js +64 -0
- package/locales/moment/zh-cn.js +131 -0
- package/locales/moment/zh-hk.js +112 -0
- package/locales/moment/zh-mo.js +111 -0
- package/locales/moment/zh-tw.js +110 -0
- package/locales/moment-timezone/moment-timezone-with-data.js +1582 -0
- package/npm-shrinkwrap.json +17 -0
- package/oAuth/.npmignore +2 -0
- package/oAuth/bundles/index.umd.js +495 -0
- package/oAuth/fesm2022/index.mjs +478 -0
- package/oAuth/fesm2022/index.mjs.map +1 -0
- package/oAuth/index.d.ts +43 -0
- package/oAuth/package.json +23 -0
- package/package-lock.json +17 -0
- package/package.json +16 -0
- package/runtime/base/.npmignore +2 -0
- package/runtime/base/bundles/index.umd.js +6144 -0
- package/runtime/base/fesm2022/index.mjs +6180 -0
- package/runtime/base/fesm2022/index.mjs.map +1 -0
- package/runtime/base/index.d.ts +1426 -0
- package/runtime/base/package.json +23 -0
- package/runtime/dynamic/.npmignore +2 -0
- package/runtime/dynamic/bundles/index.umd.js +887 -0
- package/runtime/dynamic/fesm2022/index.mjs +950 -0
- package/runtime/dynamic/fesm2022/index.mjs.map +1 -0
- package/runtime/dynamic/index.d.ts +164 -0
- package/runtime/dynamic/package.json +23 -0
- package/scripts/@wavemaker/nvd3/build/nv.d3.min.js +1 -0
- package/scripts/d3/d3.min.js +2 -0
- package/scripts/datatable/datatable.js +3787 -0
- package/scripts/iscroll/build/iscroll.js +2091 -0
- package/scripts/jquery-ui/ui/widgets/droppable.js +503 -0
- package/scripts/jquery-ui/ui/widgets/resizable.js +1275 -0
- package/scripts/jquery-ui/ui/widgets/sortable.js +1608 -0
- package/scripts/jquery.ui.touch-punch/jquery.ui.touch-punch.min.js +11 -0
- package/scripts/summernote/dist/summernote-lite.min.js +2 -0
- package/scripts/swipey/swipey.jquery.plugin.js +799 -0
- package/scripts/tree-keyboard-navigation/keyboard-navigation.js +251 -0
- package/security/.npmignore +2 -0
- package/security/bundles/index.umd.js +446 -0
- package/security/fesm2022/index.mjs +444 -0
- package/security/fesm2022/index.mjs.map +1 -0
- package/security/index.d.ts +130 -0
- package/security/package.json +23 -0
- package/swipey/.npmignore +2 -0
- package/swipey/bundles/index.umd.js +54 -0
- package/swipey/fesm2022/index.mjs +51 -0
- package/swipey/fesm2022/index.mjs.map +1 -0
- package/swipey/index.d.ts +21 -0
- package/swipey/package.json +23 -0
- package/transpiler/.npmignore +2 -0
- package/transpiler/bundles/index.umd.js +814 -0
- package/transpiler/fesm2022/index.mjs +808 -0
- package/transpiler/fesm2022/index.mjs.map +1 -0
- package/transpiler/index.d.ts +47 -0
- package/transpiler/package.json +24 -0
- package/variables/.npmignore +2 -0
- package/variables/bundles/index.umd.js +3174 -0
- package/variables/fesm2022/index.mjs +3236 -0
- package/variables/fesm2022/index.mjs.map +1 -0
- package/variables/index.d.ts +468 -0
- package/variables/package.json +23 -0
|
@@ -0,0 +1,2949 @@
|
|
|
1
|
+
import { register, getBoundToExpr, getAttrMarkup, getFormMarkupAttr, getDataSource, getChildAttrs, clearChildAttrs, setChildAttrs } from '@wm/transpiler';
|
|
2
|
+
export * from '@wm/transpiler';
|
|
3
|
+
import { IDGenerator, updateTemplateAttrs, getNgModelAttr, FormWidgetType, DataType, getFormWidgetTemplate, getRequiredFormWidget, generateGUId, isDateTimeType, checkIsCustomPipeExpression, getRowActionAttrs } from '@wm/core';
|
|
4
|
+
import { Attribute, Element, Text } from '@angular/compiler';
|
|
5
|
+
import { forEach } from 'lodash-es';
|
|
6
|
+
|
|
7
|
+
const carouselTagName = 'carousel';
|
|
8
|
+
const dataSetKey$6 = 'dataset';
|
|
9
|
+
const idGen$v = new IDGenerator('wm_carousel_ref_');
|
|
10
|
+
const isDynamicCarousel = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');
|
|
11
|
+
register('wm-carousel', () => {
|
|
12
|
+
return {
|
|
13
|
+
pre: (attrs, shared) => {
|
|
14
|
+
// generating unique Id for the carousel
|
|
15
|
+
const counter = idGen$v.nextUid();
|
|
16
|
+
let style = '';
|
|
17
|
+
if (attrs?.get('height')?.endsWith('%')) {
|
|
18
|
+
style = `height:${parseInt(attrs.get('height'), 10)}vh`;
|
|
19
|
+
attrs.set('height', '100%');
|
|
20
|
+
}
|
|
21
|
+
if (attrs?.get('width')) {
|
|
22
|
+
style += style ? `;` : '' + `width:${attrs.get('width')}`;
|
|
23
|
+
}
|
|
24
|
+
shared.set('carousel_ref', counter);
|
|
25
|
+
return `<div class="app-carousel carousel" style="${style}"><${carouselTagName} wmCarousel #${counter}="wmCarousel" ${getAttrMarkup(attrs)} interval="0" [ngClass]="${counter}.navigationClass">`;
|
|
26
|
+
},
|
|
27
|
+
post: () => `</${carouselTagName}></div>`,
|
|
28
|
+
template: (node) => {
|
|
29
|
+
// check if the carousel is dynamic
|
|
30
|
+
if (isDynamicCarousel(node)) {
|
|
31
|
+
const datasetAttr = node.attrs.find(attr => attr.name === dataSetKey$6);
|
|
32
|
+
const widgetNameAttr = node.attrs.find(attr => attr.name === 'name');
|
|
33
|
+
if (!datasetAttr) {
|
|
34
|
+
return;
|
|
35
|
+
}
|
|
36
|
+
const boundExpr = getBoundToExpr(datasetAttr.value);
|
|
37
|
+
if (!boundExpr) {
|
|
38
|
+
return;
|
|
39
|
+
}
|
|
40
|
+
updateTemplateAttrs(node, boundExpr, widgetNameAttr.value);
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
// To provide parent carousel reference for children
|
|
44
|
+
provide: (attrs, shared) => {
|
|
45
|
+
const provider = new Map();
|
|
46
|
+
provider.set('carousel_ref', shared.get('carousel_ref'));
|
|
47
|
+
return provider;
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
});
|
|
51
|
+
var carousel_build = () => { };
|
|
52
|
+
|
|
53
|
+
var carousel_build$1 = /*#__PURE__*/Object.freeze({
|
|
54
|
+
__proto__: null,
|
|
55
|
+
default: carousel_build
|
|
56
|
+
});
|
|
57
|
+
|
|
58
|
+
const carouselContentTagName = 'slide';
|
|
59
|
+
let counter$1 = 1;
|
|
60
|
+
// For static carousel
|
|
61
|
+
register('wm-carousel-content', () => {
|
|
62
|
+
return {
|
|
63
|
+
pre: attrs => `<${carouselContentTagName} wmCarouselTemplate ${getAttrMarkup(attrs)}>`,
|
|
64
|
+
post: () => `</${carouselContentTagName}>`
|
|
65
|
+
};
|
|
66
|
+
});
|
|
67
|
+
// For dynamic carousel
|
|
68
|
+
register('wm-carousel-template', () => {
|
|
69
|
+
return {
|
|
70
|
+
requires: ['wm-carousel'],
|
|
71
|
+
pre: (attrs, shared, parentCarousel) => {
|
|
72
|
+
const carouselRef = parentCarousel.get('carousel_ref');
|
|
73
|
+
return `@if(!${carouselRef}.fieldDefs){<div >{{${carouselRef}.nodatamessage}}</div>}
|
|
74
|
+
@for (item of ${carouselRef}.fieldDefs; track item; let i = $index) {
|
|
75
|
+
<${carouselContentTagName} wmCarouselTemplate #carouselTemplateRef="carouselTemplateRef" ${getAttrMarkup(attrs)}>
|
|
76
|
+
<ng-container [ngTemplateOutlet]="carouselTempRef${counter$1}"
|
|
77
|
+
[ngTemplateOutletContext]="{item:item, index:i}"
|
|
78
|
+
[ngTemplateOutletInjector]="${carouselRef}.createCustomInjector('carousel_item_' + carouselTemplateRef.trackId, {item:item, index:i})"></ng-container>
|
|
79
|
+
</${carouselContentTagName}>
|
|
80
|
+
}
|
|
81
|
+
<ng-template #carouselTempRef${counter$1++} let-item="item" let-index="index">`;
|
|
82
|
+
},
|
|
83
|
+
post: () => `</ng-template>`
|
|
84
|
+
};
|
|
85
|
+
});
|
|
86
|
+
var carouselTemplate_build = () => { };
|
|
87
|
+
|
|
88
|
+
var carouselTemplate_build$1 = /*#__PURE__*/Object.freeze({
|
|
89
|
+
__proto__: null,
|
|
90
|
+
default: carouselTemplate_build
|
|
91
|
+
});
|
|
92
|
+
|
|
93
|
+
const tagName$1F = 'div';
|
|
94
|
+
register('wm-login', () => {
|
|
95
|
+
return {
|
|
96
|
+
pre: attrs => `<${tagName$1F} wmLogin ${getAttrMarkup(attrs)} eventsource.bind="Actions.loginAction">`,
|
|
97
|
+
post: () => `</${tagName$1F}>`,
|
|
98
|
+
provide: () => {
|
|
99
|
+
const provider = new Map();
|
|
100
|
+
provider.set('isLogin', true);
|
|
101
|
+
return provider;
|
|
102
|
+
}
|
|
103
|
+
};
|
|
104
|
+
});
|
|
105
|
+
var login_build = () => { };
|
|
106
|
+
|
|
107
|
+
var login_build$1 = /*#__PURE__*/Object.freeze({
|
|
108
|
+
__proto__: null,
|
|
109
|
+
default: login_build
|
|
110
|
+
});
|
|
111
|
+
|
|
112
|
+
const tagName$1E = 'marquee';
|
|
113
|
+
register('wm-marquee', () => {
|
|
114
|
+
return {
|
|
115
|
+
pre: attrs => `<${tagName$1E} onmouseover="this.stop();" onmouseout="this.start();" wmMarquee role="marquee" aria-live="off" ${getAttrMarkup(attrs)}>`,
|
|
116
|
+
post: () => `</${tagName$1E}>`
|
|
117
|
+
};
|
|
118
|
+
});
|
|
119
|
+
var marquee_build = () => { };
|
|
120
|
+
|
|
121
|
+
var marquee_build$1 = /*#__PURE__*/Object.freeze({
|
|
122
|
+
__proto__: null,
|
|
123
|
+
default: marquee_build
|
|
124
|
+
});
|
|
125
|
+
|
|
126
|
+
const tagName$1D = 'a';
|
|
127
|
+
const idGen$u = new IDGenerator('wm_anchor');
|
|
128
|
+
register('wm-anchor', () => {
|
|
129
|
+
return {
|
|
130
|
+
pre: (attrs) => {
|
|
131
|
+
const counter = idGen$u.nextUid();
|
|
132
|
+
return `<${tagName$1D} wmAnchor #${counter}="wmAnchor" role="link" data-identifier="anchor" [attr.aria-label]="${counter}.arialabel || (${counter}.badgevalue ? ${counter}.caption + ' ' + ${counter}.badgevalue : ${counter}.caption) || null" ${getAttrMarkup(attrs)}>`;
|
|
133
|
+
},
|
|
134
|
+
post: () => `</${tagName$1D}>`
|
|
135
|
+
};
|
|
136
|
+
});
|
|
137
|
+
var anchor_build = () => { };
|
|
138
|
+
|
|
139
|
+
var anchor_build$1 = /*#__PURE__*/Object.freeze({
|
|
140
|
+
__proto__: null,
|
|
141
|
+
default: anchor_build
|
|
142
|
+
});
|
|
143
|
+
|
|
144
|
+
const tagName$1C = 'div';
|
|
145
|
+
register('wm-audio', () => {
|
|
146
|
+
return {
|
|
147
|
+
pre: attrs => `<${tagName$1C} wmAudio ${getAttrMarkup(attrs)}>`,
|
|
148
|
+
post: () => `</${tagName$1C}>`
|
|
149
|
+
};
|
|
150
|
+
});
|
|
151
|
+
var audio_build = () => { };
|
|
152
|
+
|
|
153
|
+
var audio_build$1 = /*#__PURE__*/Object.freeze({
|
|
154
|
+
__proto__: null,
|
|
155
|
+
default: audio_build
|
|
156
|
+
});
|
|
157
|
+
|
|
158
|
+
const tagName$1B = 'div';
|
|
159
|
+
const idGen$t = new IDGenerator('wm_html');
|
|
160
|
+
register('wm-html', () => {
|
|
161
|
+
return {
|
|
162
|
+
pre: (attrs) => {
|
|
163
|
+
const counter = idGen$t.nextUid();
|
|
164
|
+
return `<${tagName$1B} wmHtml #${counter}="wmHtml" role="application" [attr.aria-label]="${counter}.arialabel || 'HTML content'" ${getAttrMarkup(attrs)}>`;
|
|
165
|
+
},
|
|
166
|
+
post: () => `</${tagName$1B}>`
|
|
167
|
+
};
|
|
168
|
+
});
|
|
169
|
+
var html_build = () => { };
|
|
170
|
+
|
|
171
|
+
var html_build$1 = /*#__PURE__*/Object.freeze({
|
|
172
|
+
__proto__: null,
|
|
173
|
+
default: html_build
|
|
174
|
+
});
|
|
175
|
+
|
|
176
|
+
const tagName$1A = 'span';
|
|
177
|
+
register('wm-icon', () => {
|
|
178
|
+
return {
|
|
179
|
+
pre: attrs => `<${tagName$1A} wmIcon ${getAttrMarkup(attrs)}>`,
|
|
180
|
+
post: () => `</${tagName$1A}>`
|
|
181
|
+
};
|
|
182
|
+
});
|
|
183
|
+
var icon_build = () => { };
|
|
184
|
+
|
|
185
|
+
var icon_build$1 = /*#__PURE__*/Object.freeze({
|
|
186
|
+
__proto__: null,
|
|
187
|
+
default: icon_build
|
|
188
|
+
});
|
|
189
|
+
|
|
190
|
+
const tagName$1z = 'div';
|
|
191
|
+
register('wm-iframe', () => {
|
|
192
|
+
return {
|
|
193
|
+
pre: attrs => `<${tagName$1z} wmIframe ${getAttrMarkup(attrs)}>`,
|
|
194
|
+
post: () => `</${tagName$1z}>`
|
|
195
|
+
};
|
|
196
|
+
});
|
|
197
|
+
var iframe_build = () => { };
|
|
198
|
+
|
|
199
|
+
var iframe_build$1 = /*#__PURE__*/Object.freeze({
|
|
200
|
+
__proto__: null,
|
|
201
|
+
default: iframe_build
|
|
202
|
+
});
|
|
203
|
+
|
|
204
|
+
let tagName$1y = 'p';
|
|
205
|
+
const idGen$s = new IDGenerator('wm_label');
|
|
206
|
+
register('wm-label', () => {
|
|
207
|
+
return {
|
|
208
|
+
pre: (attrs) => {
|
|
209
|
+
if (!attrs.get("notag")) {
|
|
210
|
+
if (!attrs.get('type')) {
|
|
211
|
+
const classList = attrs.get('class') ? attrs.get('class').split(' ').filter(element => ["h1", "h2", "h3", "h4", "h5", "h6", "p"].includes(element)) : [];
|
|
212
|
+
attrs.set('type', classList.length ? classList[0] : "p");
|
|
213
|
+
}
|
|
214
|
+
tagName$1y = attrs.get('type');
|
|
215
|
+
}
|
|
216
|
+
else {
|
|
217
|
+
tagName$1y = 'label';
|
|
218
|
+
}
|
|
219
|
+
const counter = idGen$s.nextUid();
|
|
220
|
+
return `<${tagName$1y} wmLabel #${counter}="wmLabel" ${getAttrMarkup(attrs)}>`;
|
|
221
|
+
},
|
|
222
|
+
post: () => `</${tagName$1y}>`
|
|
223
|
+
};
|
|
224
|
+
});
|
|
225
|
+
var label_build = () => { };
|
|
226
|
+
|
|
227
|
+
var label_build$1 = /*#__PURE__*/Object.freeze({
|
|
228
|
+
__proto__: null,
|
|
229
|
+
default: label_build
|
|
230
|
+
});
|
|
231
|
+
|
|
232
|
+
const tagName$1x = 'img';
|
|
233
|
+
const idGen$r = new IDGenerator('wm_picture');
|
|
234
|
+
register('wm-picture', () => {
|
|
235
|
+
return {
|
|
236
|
+
pre: (attrs) => {
|
|
237
|
+
const counter = idGen$r.nextUid();
|
|
238
|
+
return `<${tagName$1x} wmPicture #${counter}="wmPicture" [alt]="${counter}.alttext" wmImageCache="${attrs.get('offline') || 'true'}" [attr.aria-label]="${counter}.arialabel || 'Image'" ${getAttrMarkup(attrs)}>`;
|
|
239
|
+
}
|
|
240
|
+
};
|
|
241
|
+
});
|
|
242
|
+
var picture_build = () => { };
|
|
243
|
+
|
|
244
|
+
var picture_build$1 = /*#__PURE__*/Object.freeze({
|
|
245
|
+
__proto__: null,
|
|
246
|
+
default: picture_build
|
|
247
|
+
});
|
|
248
|
+
|
|
249
|
+
const tagName$1w = 'div';
|
|
250
|
+
const idGen$q = new IDGenerator('wm_spinner');
|
|
251
|
+
register('wm-spinner', () => {
|
|
252
|
+
return {
|
|
253
|
+
pre: (attrs) => {
|
|
254
|
+
const counter = idGen$q.nextUid();
|
|
255
|
+
return `<${tagName$1w} wmSpinner #${counter}="wmSpinner" role="alert" [attr.aria-label]="${counter}.arialabel || 'Loading...'" aria-live="assertive" aria-busy="true" ${getAttrMarkup(attrs)}>`;
|
|
256
|
+
},
|
|
257
|
+
post: () => `</${tagName$1w}>`
|
|
258
|
+
};
|
|
259
|
+
});
|
|
260
|
+
var spinner_build = () => { };
|
|
261
|
+
|
|
262
|
+
var spinner_build$1 = /*#__PURE__*/Object.freeze({
|
|
263
|
+
__proto__: null,
|
|
264
|
+
default: spinner_build
|
|
265
|
+
});
|
|
266
|
+
|
|
267
|
+
const tagName$1v = 'div';
|
|
268
|
+
const getAttr = (node, attrName) => node.attrs.find(attr => attr.name === attrName);
|
|
269
|
+
const getAttrValue = (node, attrName) => {
|
|
270
|
+
const match = getAttr(node, attrName);
|
|
271
|
+
if (match) {
|
|
272
|
+
return match.value;
|
|
273
|
+
}
|
|
274
|
+
};
|
|
275
|
+
const getReplaceRegex = (v) => new RegExp(`bind:(${v}|${v}\\[\\$i])\\.`, 'g');
|
|
276
|
+
register('wm-progress-bar', () => {
|
|
277
|
+
return {
|
|
278
|
+
template: (node) => {
|
|
279
|
+
const dataset = getAttrValue(node, 'dataset');
|
|
280
|
+
const boundExpr = getBoundToExpr(dataset);
|
|
281
|
+
if (boundExpr) {
|
|
282
|
+
let type = getAttrValue(node, 'type');
|
|
283
|
+
let datavalue = getAttrValue(node, 'datavalue');
|
|
284
|
+
const replaceRegex = getReplaceRegex(boundExpr);
|
|
285
|
+
if (type && type.includes(boundExpr)) {
|
|
286
|
+
type = type.replace(replaceRegex, '');
|
|
287
|
+
getAttr(node, 'type').value = type;
|
|
288
|
+
}
|
|
289
|
+
if (datavalue && datavalue.includes(boundExpr)) {
|
|
290
|
+
datavalue = datavalue.replace(replaceRegex, '');
|
|
291
|
+
getAttr(node, 'datavalue').value = datavalue;
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
},
|
|
295
|
+
pre: attrs => `<${tagName$1v} wmProgressBar ${getAttrMarkup(attrs)}>`,
|
|
296
|
+
post: () => `</${tagName$1v}>`
|
|
297
|
+
};
|
|
298
|
+
});
|
|
299
|
+
var progressBar_build = () => { };
|
|
300
|
+
|
|
301
|
+
var progressBar_build$1 = /*#__PURE__*/Object.freeze({
|
|
302
|
+
__proto__: null,
|
|
303
|
+
default: progressBar_build
|
|
304
|
+
});
|
|
305
|
+
|
|
306
|
+
const tagName$1u = 'div';
|
|
307
|
+
const idGen$p = new IDGenerator('wm_progress_circle');
|
|
308
|
+
register('wm-progress-circle', () => {
|
|
309
|
+
return {
|
|
310
|
+
pre: (attrs) => {
|
|
311
|
+
const counter = idGen$p.nextUid();
|
|
312
|
+
return `<${tagName$1u} wmProgressCircle #${counter}="wmProgressCircle" role="progressbar" [attr.aria-label]="${counter}.arialabel || 'circle-progress'" [attr.hint]="${counter}.hint" [attr.aria-valuetext]="${counter}.displayValue" [attr.aria-valuemin]="${counter}.minvalue" [attr.aria-valuemax]="${counter}.maxvalue" ${getAttrMarkup(attrs)}>`;
|
|
313
|
+
},
|
|
314
|
+
post: () => `</${tagName$1u}>`
|
|
315
|
+
};
|
|
316
|
+
});
|
|
317
|
+
var progressCircle_build = () => { };
|
|
318
|
+
|
|
319
|
+
var progressCircle_build$1 = /*#__PURE__*/Object.freeze({
|
|
320
|
+
__proto__: null,
|
|
321
|
+
default: progressCircle_build
|
|
322
|
+
});
|
|
323
|
+
|
|
324
|
+
const tagName$1t = 'div';
|
|
325
|
+
const idGen$o = new IDGenerator('wm_richtexteditor');
|
|
326
|
+
register('wm-richtexteditor', () => {
|
|
327
|
+
return {
|
|
328
|
+
pre: (attrs) => {
|
|
329
|
+
const counter = idGen$o.nextUid();
|
|
330
|
+
return `<${tagName$1t} wmRichTextEditor #${counter}="wmRichTextEditor" role="textbox" [attr.aria-label]="${counter}.arialabel || 'Richtext editor'" ${getFormMarkupAttr(attrs)}>`;
|
|
331
|
+
},
|
|
332
|
+
post: () => `</${tagName$1t}>`
|
|
333
|
+
};
|
|
334
|
+
});
|
|
335
|
+
var richTextEditor_build = () => { };
|
|
336
|
+
|
|
337
|
+
var richTextEditor_build$1 = /*#__PURE__*/Object.freeze({
|
|
338
|
+
__proto__: null,
|
|
339
|
+
default: richTextEditor_build
|
|
340
|
+
});
|
|
341
|
+
|
|
342
|
+
const tagName$1s = 'div';
|
|
343
|
+
register('wm-search', () => {
|
|
344
|
+
return {
|
|
345
|
+
pre: attrs => `<${tagName$1s} wmSearch ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
346
|
+
post: () => `</${tagName$1s}>`
|
|
347
|
+
};
|
|
348
|
+
});
|
|
349
|
+
var search_build = () => { };
|
|
350
|
+
|
|
351
|
+
var search_build$1 = /*#__PURE__*/Object.freeze({
|
|
352
|
+
__proto__: null,
|
|
353
|
+
default: search_build
|
|
354
|
+
});
|
|
355
|
+
|
|
356
|
+
const tagName$1r = 'ul';
|
|
357
|
+
register('wm-tree', () => {
|
|
358
|
+
return {
|
|
359
|
+
pre: attrs => `<${tagName$1r} wmTree class="ztree" ${getAttrMarkup(attrs)}>`,
|
|
360
|
+
post: () => `</${tagName$1r}>`
|
|
361
|
+
};
|
|
362
|
+
});
|
|
363
|
+
|
|
364
|
+
var tree_build = /*#__PURE__*/Object.freeze({
|
|
365
|
+
__proto__: null
|
|
366
|
+
});
|
|
367
|
+
|
|
368
|
+
const tagName$1q = 'div';
|
|
369
|
+
register('wm-card', () => {
|
|
370
|
+
return {
|
|
371
|
+
pre: attrs => `<${tagName$1q} wmCard ${getAttrMarkup(attrs)}>`,
|
|
372
|
+
post: () => `</${tagName$1q}>`
|
|
373
|
+
};
|
|
374
|
+
});
|
|
375
|
+
var card_build = () => { };
|
|
376
|
+
|
|
377
|
+
var card_build$1 = /*#__PURE__*/Object.freeze({
|
|
378
|
+
__proto__: null,
|
|
379
|
+
default: card_build
|
|
380
|
+
});
|
|
381
|
+
|
|
382
|
+
const tagName$1p = 'div';
|
|
383
|
+
register('wm-card-content', () => {
|
|
384
|
+
return {
|
|
385
|
+
pre: attrs => `<${tagName$1p} wmCardContent partialContainer ${getAttrMarkup(attrs)}>`,
|
|
386
|
+
post: () => `</${tagName$1p}>`
|
|
387
|
+
};
|
|
388
|
+
});
|
|
389
|
+
var cardContent_build = () => { };
|
|
390
|
+
|
|
391
|
+
var cardContent_build$1 = /*#__PURE__*/Object.freeze({
|
|
392
|
+
__proto__: null,
|
|
393
|
+
default: cardContent_build
|
|
394
|
+
});
|
|
395
|
+
|
|
396
|
+
const tagName$1o = 'div';
|
|
397
|
+
register('wm-card-actions', () => {
|
|
398
|
+
return {
|
|
399
|
+
pre: attrs => `<${tagName$1o} wmCardActions ${getAttrMarkup(attrs)}>`,
|
|
400
|
+
post: () => `</${tagName$1o}>`
|
|
401
|
+
};
|
|
402
|
+
});
|
|
403
|
+
var cardActions_build = () => { };
|
|
404
|
+
|
|
405
|
+
var cardActions_build$1 = /*#__PURE__*/Object.freeze({
|
|
406
|
+
__proto__: null,
|
|
407
|
+
default: cardActions_build
|
|
408
|
+
});
|
|
409
|
+
|
|
410
|
+
const tagName$1n = 'div';
|
|
411
|
+
register('wm-card-footer', () => {
|
|
412
|
+
return {
|
|
413
|
+
pre: attrs => `<${tagName$1n} wmCardFooter ${getAttrMarkup(attrs)}>`,
|
|
414
|
+
post: () => `</${tagName$1n}>`
|
|
415
|
+
};
|
|
416
|
+
});
|
|
417
|
+
var cardFooter_build = () => { };
|
|
418
|
+
|
|
419
|
+
var cardFooter_build$1 = /*#__PURE__*/Object.freeze({
|
|
420
|
+
__proto__: null,
|
|
421
|
+
default: cardFooter_build
|
|
422
|
+
});
|
|
423
|
+
|
|
424
|
+
const tagName$1m = 'div';
|
|
425
|
+
register('wm-chart', () => {
|
|
426
|
+
return {
|
|
427
|
+
pre: attrs => `<${tagName$1m} wmChart redrawable aria-label="${attrs.get('type')} Chart" ${getAttrMarkup(attrs)}>`,
|
|
428
|
+
post: () => `</${tagName$1m}>`
|
|
429
|
+
};
|
|
430
|
+
});
|
|
431
|
+
var chart_build = () => { };
|
|
432
|
+
|
|
433
|
+
var chart_build$1 = /*#__PURE__*/Object.freeze({
|
|
434
|
+
__proto__: null,
|
|
435
|
+
default: chart_build
|
|
436
|
+
});
|
|
437
|
+
|
|
438
|
+
const tagName$1l = 'div';
|
|
439
|
+
const dataSetKey$5 = 'dataset';
|
|
440
|
+
const idGen$n = new IDGenerator('wm_accordion_ref_');
|
|
441
|
+
const isDynamicAccordion = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');
|
|
442
|
+
register('wm-accordion', () => {
|
|
443
|
+
return {
|
|
444
|
+
pre: (attrs, shared) => {
|
|
445
|
+
// generating unique Id for the accordion
|
|
446
|
+
const counter = idGen$n.nextUid();
|
|
447
|
+
shared.set('accordion_ref', counter);
|
|
448
|
+
return `<${tagName$1l} wmAccordion #${counter}="wmAccordion" ${getAttrMarkup(attrs)}>`;
|
|
449
|
+
},
|
|
450
|
+
post: () => `</${tagName$1l}>`,
|
|
451
|
+
template: (node, shared) => {
|
|
452
|
+
// check if the accordion is dynamic
|
|
453
|
+
if (isDynamicAccordion(node)) {
|
|
454
|
+
const datasetAttr = node.attrs.find(attr => attr.name === dataSetKey$5);
|
|
455
|
+
const widgetNameAttr = node.attrs.find(attr => attr.name === 'name');
|
|
456
|
+
if (!datasetAttr) {
|
|
457
|
+
return;
|
|
458
|
+
}
|
|
459
|
+
const boundExpr = getBoundToExpr(datasetAttr.value);
|
|
460
|
+
if (!boundExpr) {
|
|
461
|
+
return;
|
|
462
|
+
}
|
|
463
|
+
updateTemplateAttrs(node, boundExpr, widgetNameAttr.value);
|
|
464
|
+
}
|
|
465
|
+
},
|
|
466
|
+
// To provide parent accordion reference for children
|
|
467
|
+
provide: (attrs, shared) => {
|
|
468
|
+
const provider = new Map();
|
|
469
|
+
provider.set('accordion_ref', shared.get('accordion_ref'));
|
|
470
|
+
return provider;
|
|
471
|
+
}
|
|
472
|
+
};
|
|
473
|
+
});
|
|
474
|
+
var accordion_build = () => { };
|
|
475
|
+
|
|
476
|
+
var accordion_build$1 = /*#__PURE__*/Object.freeze({
|
|
477
|
+
__proto__: null,
|
|
478
|
+
default: accordion_build
|
|
479
|
+
});
|
|
480
|
+
|
|
481
|
+
const tagName$1k = 'div';
|
|
482
|
+
const idGen$m = new IDGenerator('wm_accordionpane');
|
|
483
|
+
register('wm-accordionpane', () => {
|
|
484
|
+
return {
|
|
485
|
+
pre: (attrs) => {
|
|
486
|
+
const counter = idGen$m.nextUid();
|
|
487
|
+
return `<${tagName$1k} #${counter}="wmAccordionPane" wmAccordionPane partialContainer wm-navigable-element="true" ${getAttrMarkup(attrs)}>`;
|
|
488
|
+
},
|
|
489
|
+
post: () => `</${tagName$1k}>`
|
|
490
|
+
};
|
|
491
|
+
});
|
|
492
|
+
var accordionPane_build = () => { };
|
|
493
|
+
|
|
494
|
+
var accordionPane_build$1 = /*#__PURE__*/Object.freeze({
|
|
495
|
+
__proto__: null,
|
|
496
|
+
default: accordionPane_build
|
|
497
|
+
});
|
|
498
|
+
|
|
499
|
+
const tagName$1j = 'div';
|
|
500
|
+
register('wm-container', () => {
|
|
501
|
+
return {
|
|
502
|
+
pre: attrs => `<${tagName$1j} wmContainer partialContainer wmSmoothscroll="${attrs.get('smoothscroll') || 'false'}" ${getAttrMarkup(attrs)}>`,
|
|
503
|
+
post: () => `</${tagName$1j}>`
|
|
504
|
+
};
|
|
505
|
+
});
|
|
506
|
+
var container_build = () => { };
|
|
507
|
+
|
|
508
|
+
var container_build$1 = /*#__PURE__*/Object.freeze({
|
|
509
|
+
__proto__: null,
|
|
510
|
+
default: container_build
|
|
511
|
+
});
|
|
512
|
+
|
|
513
|
+
const tagName$1i = 'div';
|
|
514
|
+
register('wm-gridcolumn', () => {
|
|
515
|
+
return {
|
|
516
|
+
pre: attrs => `<${tagName$1i} wmLayoutGridColumn ${getAttrMarkup(attrs)}>`,
|
|
517
|
+
post: () => `</${tagName$1i}>`
|
|
518
|
+
};
|
|
519
|
+
});
|
|
520
|
+
var layoutGridColumn_build = () => { };
|
|
521
|
+
|
|
522
|
+
var layoutGridColumn_build$1 = /*#__PURE__*/Object.freeze({
|
|
523
|
+
__proto__: null,
|
|
524
|
+
default: layoutGridColumn_build
|
|
525
|
+
});
|
|
526
|
+
|
|
527
|
+
const tagName$1h = 'div';
|
|
528
|
+
register('wm-gridrow', () => {
|
|
529
|
+
return {
|
|
530
|
+
pre: attrs => `<${tagName$1h} wmLayoutGridRow ${getAttrMarkup(attrs)}>`,
|
|
531
|
+
post: () => `</${tagName$1h}>`
|
|
532
|
+
};
|
|
533
|
+
});
|
|
534
|
+
var layoutGridRow_build = () => { };
|
|
535
|
+
|
|
536
|
+
var layoutGridRow_build$1 = /*#__PURE__*/Object.freeze({
|
|
537
|
+
__proto__: null,
|
|
538
|
+
default: layoutGridRow_build
|
|
539
|
+
});
|
|
540
|
+
|
|
541
|
+
const tagName$1g = 'div';
|
|
542
|
+
register('wm-layoutgrid', () => {
|
|
543
|
+
return {
|
|
544
|
+
pre: attrs => `<${tagName$1g} wmLayoutGrid ${getAttrMarkup(attrs)}>`,
|
|
545
|
+
post: () => `</${tagName$1g}>`
|
|
546
|
+
};
|
|
547
|
+
});
|
|
548
|
+
var layoutGrid_build = () => { };
|
|
549
|
+
|
|
550
|
+
var layoutGrid_build$1 = /*#__PURE__*/Object.freeze({
|
|
551
|
+
__proto__: null,
|
|
552
|
+
default: layoutGrid_build
|
|
553
|
+
});
|
|
554
|
+
|
|
555
|
+
const tagName$1f = 'div';
|
|
556
|
+
const idGen$l = new IDGenerator('wm_panel');
|
|
557
|
+
register('wm-panel', () => {
|
|
558
|
+
return {
|
|
559
|
+
pre: (attrs) => {
|
|
560
|
+
const counter = idGen$l.nextUid();
|
|
561
|
+
return `<${tagName$1f} wmPanel #${counter}="wmPanel" partialContainer wm-navigable-element="true" ${getAttrMarkup(attrs)}>`;
|
|
562
|
+
},
|
|
563
|
+
post: () => `</${tagName$1f}>`
|
|
564
|
+
};
|
|
565
|
+
});
|
|
566
|
+
register('wm-panel-footer', () => {
|
|
567
|
+
return {
|
|
568
|
+
pre: attrs => `<${tagName$1f} wmPanelFooter ${getAttrMarkup(attrs)}>`,
|
|
569
|
+
post: () => `</${tagName$1f}>`
|
|
570
|
+
};
|
|
571
|
+
});
|
|
572
|
+
var panel_build = () => { };
|
|
573
|
+
|
|
574
|
+
var panel_build$1 = /*#__PURE__*/Object.freeze({
|
|
575
|
+
__proto__: null,
|
|
576
|
+
default: panel_build
|
|
577
|
+
});
|
|
578
|
+
|
|
579
|
+
const tagName$1e = 'div';
|
|
580
|
+
register('wm-segmented-control', () => {
|
|
581
|
+
return {
|
|
582
|
+
pre: attrs => `<${tagName$1e} wmSegmentedControl ${getAttrMarkup(attrs)}>`,
|
|
583
|
+
post: () => `</${tagName$1e}>`
|
|
584
|
+
};
|
|
585
|
+
});
|
|
586
|
+
var segmentedControl_build = () => { };
|
|
587
|
+
|
|
588
|
+
var segmentedControl_build$1 = /*#__PURE__*/Object.freeze({
|
|
589
|
+
__proto__: null,
|
|
590
|
+
default: segmentedControl_build
|
|
591
|
+
});
|
|
592
|
+
|
|
593
|
+
const tagName$1d = 'li';
|
|
594
|
+
register('wm-segment-content', () => {
|
|
595
|
+
return {
|
|
596
|
+
pre: attrs => `<${tagName$1d} wmSegmentContent partialContainer wmSmoothscroll=${attrs.get('smoothscroll') || 'false'} wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
|
|
597
|
+
post: () => `</${tagName$1d}>`
|
|
598
|
+
};
|
|
599
|
+
});
|
|
600
|
+
var segmentContent_build = () => { };
|
|
601
|
+
|
|
602
|
+
var segmentContent_build$1 = /*#__PURE__*/Object.freeze({
|
|
603
|
+
__proto__: null,
|
|
604
|
+
default: segmentContent_build
|
|
605
|
+
});
|
|
606
|
+
|
|
607
|
+
const dynamicTemplateTagName = 'div';
|
|
608
|
+
let counter = 1;
|
|
609
|
+
// For dynamic accordion panes/tab panes
|
|
610
|
+
register('wm-repeat-template', () => {
|
|
611
|
+
return {
|
|
612
|
+
requires: ['wm-accordion', 'wm-tabs', 'wm-wizard'],
|
|
613
|
+
pre: (attrs, shared, parentAccordion, parentTab, parentWizard) => {
|
|
614
|
+
const widgetRef = (parentAccordion && parentAccordion.get('accordion_ref')) || (parentTab && parentTab.get('tabs_ref')) || (parentWizard && parentWizard.get('wizard_ref'));
|
|
615
|
+
if (widgetRef) {
|
|
616
|
+
return `@if(${widgetRef}.fieldDefs && !${widgetRef}.fieldDefs.length){<div>{{${widgetRef}.nodatamessage}}</div>}
|
|
617
|
+
@for (item of ${widgetRef}.fieldDefs; track item; let i = $index) {
|
|
618
|
+
<${dynamicTemplateTagName} wmRepeatTemplate #repeatItemRef="repeatItemRef" ${getAttrMarkup(attrs)}>
|
|
619
|
+
<ng-container [ngTemplateOutlet]="widgetRef${counter}"
|
|
620
|
+
[ngTemplateOutletContext]="{item:item, index:i}"
|
|
621
|
+
[ngTemplateOutletInjector]="${widgetRef}.createCustomInjector('dynamic_pane_' + repeatItemRef.trackId, {item:item, index:i})"></ng-container>
|
|
622
|
+
</${dynamicTemplateTagName}>
|
|
623
|
+
}
|
|
624
|
+
<ng-template #widgetRef${counter++} let-item="item" let-index="index">`;
|
|
625
|
+
}
|
|
626
|
+
},
|
|
627
|
+
post: () => `</ng-template>`
|
|
628
|
+
};
|
|
629
|
+
});
|
|
630
|
+
var repeatTemplate_build = () => { };
|
|
631
|
+
|
|
632
|
+
var repeatTemplate_build$1 = /*#__PURE__*/Object.freeze({
|
|
633
|
+
__proto__: null,
|
|
634
|
+
default: repeatTemplate_build
|
|
635
|
+
});
|
|
636
|
+
|
|
637
|
+
const tagName$1c = 'div';
|
|
638
|
+
const dataSetKey$4 = 'dataset';
|
|
639
|
+
const idGen$k = new IDGenerator('wm_tabs_ref_');
|
|
640
|
+
const isDynamicTabs = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');
|
|
641
|
+
register('wm-tabs', () => {
|
|
642
|
+
return {
|
|
643
|
+
pre: (attrs, shared) => {
|
|
644
|
+
// generating unique Id for the tabs
|
|
645
|
+
const counter = idGen$k.nextUid();
|
|
646
|
+
shared.set('tabs_ref', counter);
|
|
647
|
+
return `<${tagName$1c} wmTabs #${counter}="wmTabs" ${getAttrMarkup(attrs)}>`;
|
|
648
|
+
},
|
|
649
|
+
post: () => `</${tagName$1c}>`,
|
|
650
|
+
template: (node, shared) => {
|
|
651
|
+
// check if the tab widget is dynamic
|
|
652
|
+
if (isDynamicTabs(node)) {
|
|
653
|
+
const datasetAttr = node.attrs.find(attr => attr.name === dataSetKey$4);
|
|
654
|
+
const widgetNameAttr = node.attrs.find(attr => attr.name === 'name');
|
|
655
|
+
if (!datasetAttr) {
|
|
656
|
+
return;
|
|
657
|
+
}
|
|
658
|
+
const boundExpr = getBoundToExpr(datasetAttr.value);
|
|
659
|
+
if (!boundExpr) {
|
|
660
|
+
return;
|
|
661
|
+
}
|
|
662
|
+
updateTemplateAttrs(node, boundExpr, widgetNameAttr.value);
|
|
663
|
+
}
|
|
664
|
+
},
|
|
665
|
+
// To provide parent tab reference for children
|
|
666
|
+
provide: (attrs, shared) => {
|
|
667
|
+
const provider = new Map();
|
|
668
|
+
provider.set('tabs_ref', shared.get('tabs_ref'));
|
|
669
|
+
return provider;
|
|
670
|
+
}
|
|
671
|
+
};
|
|
672
|
+
});
|
|
673
|
+
var tabs_build = () => { };
|
|
674
|
+
|
|
675
|
+
var tabs_build$1 = /*#__PURE__*/Object.freeze({
|
|
676
|
+
__proto__: null,
|
|
677
|
+
default: tabs_build
|
|
678
|
+
});
|
|
679
|
+
|
|
680
|
+
const tagName$1b = 'div';
|
|
681
|
+
register('wm-tabpane', () => {
|
|
682
|
+
return {
|
|
683
|
+
pre: attrs => `<${tagName$1b} wmTabPane partialContainer ${getAttrMarkup(attrs)} wm-navigable-element="true" role="tabpanel">`,
|
|
684
|
+
post: () => `</${tagName$1b}>`
|
|
685
|
+
};
|
|
686
|
+
});
|
|
687
|
+
var tabPane_build = () => { };
|
|
688
|
+
|
|
689
|
+
var tabPane_build$1 = /*#__PURE__*/Object.freeze({
|
|
690
|
+
__proto__: null,
|
|
691
|
+
default: tabPane_build
|
|
692
|
+
});
|
|
693
|
+
|
|
694
|
+
const tagName$1a = 'div';
|
|
695
|
+
register('wm-tile', () => {
|
|
696
|
+
return {
|
|
697
|
+
pre: attrs => `<${tagName$1a} wmTile wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
|
|
698
|
+
post: () => `</${tagName$1a}>`
|
|
699
|
+
};
|
|
700
|
+
});
|
|
701
|
+
var tile_build = () => { };
|
|
702
|
+
|
|
703
|
+
var tile_build$1 = /*#__PURE__*/Object.freeze({
|
|
704
|
+
__proto__: null,
|
|
705
|
+
default: tile_build
|
|
706
|
+
});
|
|
707
|
+
|
|
708
|
+
const tagName$19 = 'div';
|
|
709
|
+
const dataSetKey$3 = 'dataset';
|
|
710
|
+
const idGen$j = new IDGenerator('wm_wizard_ref_');
|
|
711
|
+
const isDynamicWizard = node => node.attrs.find(attr => attr.name === 'type' && attr.value === 'dynamic');
|
|
712
|
+
register('wm-wizard', () => {
|
|
713
|
+
return {
|
|
714
|
+
pre: (attrs, shared) => {
|
|
715
|
+
const counter = idGen$j.nextUid();
|
|
716
|
+
shared.set('wizard_ref', counter);
|
|
717
|
+
return `<${tagName$19} wmWizard #${counter}="wmWizard" ${getAttrMarkup(attrs)}>`;
|
|
718
|
+
},
|
|
719
|
+
post: () => `</${tagName$19}>`,
|
|
720
|
+
template: (node, shared) => {
|
|
721
|
+
// check if the tab widget is dynamic
|
|
722
|
+
if (isDynamicWizard(node)) {
|
|
723
|
+
const datasetAttr = node.attrs.find(attr => attr.name === dataSetKey$3);
|
|
724
|
+
const widgetNameAttr = node.attrs.find(attr => attr.name === 'name');
|
|
725
|
+
if (!datasetAttr) {
|
|
726
|
+
return;
|
|
727
|
+
}
|
|
728
|
+
const boundExpr = getBoundToExpr(datasetAttr.value);
|
|
729
|
+
if (!boundExpr) {
|
|
730
|
+
return;
|
|
731
|
+
}
|
|
732
|
+
updateTemplateAttrs(node, boundExpr, widgetNameAttr.value);
|
|
733
|
+
}
|
|
734
|
+
},
|
|
735
|
+
// To provide parent tab reference for children
|
|
736
|
+
provide: (attrs, shared) => {
|
|
737
|
+
const provider = new Map();
|
|
738
|
+
provider.set('wizard_ref', shared.get('wizard_ref'));
|
|
739
|
+
return provider;
|
|
740
|
+
}
|
|
741
|
+
};
|
|
742
|
+
});
|
|
743
|
+
var wizard_build = () => { };
|
|
744
|
+
|
|
745
|
+
var wizard_build$1 = /*#__PURE__*/Object.freeze({
|
|
746
|
+
__proto__: null,
|
|
747
|
+
default: wizard_build
|
|
748
|
+
});
|
|
749
|
+
|
|
750
|
+
const tagName$18 = 'form';
|
|
751
|
+
const idGen$i = new IDGenerator('wizard_step_id_');
|
|
752
|
+
register('wm-wizardstep', () => {
|
|
753
|
+
return {
|
|
754
|
+
pre: attrs => {
|
|
755
|
+
const counter = idGen$i.nextUid();
|
|
756
|
+
return `<${tagName$18} wmWizardStep partialContainer #${counter}="wmWizardStep" ${getAttrMarkup(attrs)}>
|
|
757
|
+
<ng-template [ngIf]="${counter}.isInitialized">`;
|
|
758
|
+
},
|
|
759
|
+
post: () => `</ng-template></${tagName$18}>`
|
|
760
|
+
};
|
|
761
|
+
});
|
|
762
|
+
var wizardStep_build = () => { };
|
|
763
|
+
|
|
764
|
+
var wizardStep_build$1 = /*#__PURE__*/Object.freeze({
|
|
765
|
+
__proto__: null,
|
|
766
|
+
default: wizardStep_build
|
|
767
|
+
});
|
|
768
|
+
|
|
769
|
+
const tagName$17 = 'div';
|
|
770
|
+
register('wm-wizardaction', () => {
|
|
771
|
+
return {
|
|
772
|
+
pre: attrs => `<ng-template #wizardAction><${tagName$17} wmWizardAction ${getAttrMarkup(attrs)}>`,
|
|
773
|
+
post: () => `</${tagName$17}></ng-template>`
|
|
774
|
+
};
|
|
775
|
+
});
|
|
776
|
+
var wizardAction_build = () => { };
|
|
777
|
+
|
|
778
|
+
var wizardAction_build$1 = /*#__PURE__*/Object.freeze({
|
|
779
|
+
__proto__: null,
|
|
780
|
+
default: wizardAction_build
|
|
781
|
+
});
|
|
782
|
+
|
|
783
|
+
const tagName$16 = 'button';
|
|
784
|
+
const idGen$h = new IDGenerator('wm_barcodescanner');
|
|
785
|
+
register('wm-barcodescanner', () => {
|
|
786
|
+
return {
|
|
787
|
+
pre: (attrs) => {
|
|
788
|
+
const counter = idGen$h.nextUid();
|
|
789
|
+
return `<${tagName$16} wmBarcodescanner #${counter}="wmBarcodescanner" [attr.aria-label]="${counter}.arialabel || 'Barcode scanner'" ${getAttrMarkup(attrs)}>`;
|
|
790
|
+
},
|
|
791
|
+
post: () => `</${tagName$16}>`
|
|
792
|
+
};
|
|
793
|
+
});
|
|
794
|
+
var barcodeScanner_build = () => { };
|
|
795
|
+
|
|
796
|
+
var barcodeScanner_build$1 = /*#__PURE__*/Object.freeze({
|
|
797
|
+
__proto__: null,
|
|
798
|
+
default: barcodeScanner_build
|
|
799
|
+
});
|
|
800
|
+
|
|
801
|
+
const tagName$15 = 'button';
|
|
802
|
+
const idGen$g = new IDGenerator('wm_camera');
|
|
803
|
+
register('wm-camera', () => {
|
|
804
|
+
return {
|
|
805
|
+
pre: (attrs) => {
|
|
806
|
+
const counter = idGen$g.nextUid();
|
|
807
|
+
return `<${tagName$15} type='button' wmCamera #${counter}="wmCamera" [attr.aria-label]="${counter}.arialabel || 'Camera'" ${getAttrMarkup(attrs)}>`;
|
|
808
|
+
},
|
|
809
|
+
post: () => `</${tagName$15}>`
|
|
810
|
+
};
|
|
811
|
+
});
|
|
812
|
+
var camera_build = () => { };
|
|
813
|
+
|
|
814
|
+
var camera_build$1 = /*#__PURE__*/Object.freeze({
|
|
815
|
+
__proto__: null,
|
|
816
|
+
default: camera_build
|
|
817
|
+
});
|
|
818
|
+
|
|
819
|
+
const tagName$14 = 'div';
|
|
820
|
+
register('wm-alertdialog', () => {
|
|
821
|
+
return {
|
|
822
|
+
pre: attrs => `<${tagName$14} wmAlertDialog wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
|
|
823
|
+
post: () => `</${tagName$14}>`
|
|
824
|
+
};
|
|
825
|
+
});
|
|
826
|
+
var alertDialog_build = () => { };
|
|
827
|
+
|
|
828
|
+
var alertDialog_build$1 = /*#__PURE__*/Object.freeze({
|
|
829
|
+
__proto__: null,
|
|
830
|
+
default: alertDialog_build
|
|
831
|
+
});
|
|
832
|
+
|
|
833
|
+
const tagName$13 = 'div';
|
|
834
|
+
register('wm-confirmdialog', () => {
|
|
835
|
+
return {
|
|
836
|
+
pre: attrs => `<${tagName$13} wmConfirmDialog wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
|
|
837
|
+
post: () => `</${tagName$13}>`
|
|
838
|
+
};
|
|
839
|
+
});
|
|
840
|
+
var confirmDialog_build = () => { };
|
|
841
|
+
|
|
842
|
+
var confirmDialog_build$1 = /*#__PURE__*/Object.freeze({
|
|
843
|
+
__proto__: null,
|
|
844
|
+
default: confirmDialog_build
|
|
845
|
+
});
|
|
846
|
+
|
|
847
|
+
const tagName$12 = 'div';
|
|
848
|
+
register('wm-dialogactions', () => {
|
|
849
|
+
return {
|
|
850
|
+
pre: attrs => `<ng-template #dialogFooter><${tagName$12} wmDialogFooter data-identfier="actions" ${getAttrMarkup(attrs)}>`,
|
|
851
|
+
post: () => `</${tagName$12}></ng-template>`
|
|
852
|
+
};
|
|
853
|
+
});
|
|
854
|
+
var dialogFooter_build = () => { };
|
|
855
|
+
|
|
856
|
+
var dialogFooter_build$1 = /*#__PURE__*/Object.freeze({
|
|
857
|
+
__proto__: null,
|
|
858
|
+
default: dialogFooter_build
|
|
859
|
+
});
|
|
860
|
+
|
|
861
|
+
const tagName$11 = 'div';
|
|
862
|
+
register('wm-dialog', () => {
|
|
863
|
+
return {
|
|
864
|
+
pre: attrs => `<${tagName$11} wmDialog ${getAttrMarkup(attrs)} aria-modal="true" role="dialog" wm-navigable-element="true"><ng-template #dialogBody>`,
|
|
865
|
+
post: () => `</ng-template></${tagName$11}>`
|
|
866
|
+
};
|
|
867
|
+
});
|
|
868
|
+
var dialog_build = () => { };
|
|
869
|
+
|
|
870
|
+
var dialog_build$1 = /*#__PURE__*/Object.freeze({
|
|
871
|
+
__proto__: null,
|
|
872
|
+
default: dialog_build
|
|
873
|
+
});
|
|
874
|
+
|
|
875
|
+
const tagName$10 = 'div';
|
|
876
|
+
register('wm-iframedialog', () => {
|
|
877
|
+
return {
|
|
878
|
+
pre: attrs => `<${tagName$10} wmIframeDialog wm-navigable-element="true" ${getAttrMarkup(attrs)}>`,
|
|
879
|
+
post: () => `</${tagName$10}>`
|
|
880
|
+
};
|
|
881
|
+
});
|
|
882
|
+
var iframeDialog_build = () => { };
|
|
883
|
+
|
|
884
|
+
var iframeDialog_build$1 = /*#__PURE__*/Object.freeze({
|
|
885
|
+
__proto__: null,
|
|
886
|
+
default: iframeDialog_build
|
|
887
|
+
});
|
|
888
|
+
|
|
889
|
+
const tagName$$ = 'div';
|
|
890
|
+
register('wm-logindialog', () => {
|
|
891
|
+
return {
|
|
892
|
+
pre: attrs => `<${tagName$$} wmDialog wmLoginDialog ${getAttrMarkup(attrs)} eventsource.bind="Actions.loginAction" wm-navigable-element="true"><ng-template #dialogBody>`,
|
|
893
|
+
post: () => `</ng-template></${tagName$$}>`
|
|
894
|
+
};
|
|
895
|
+
});
|
|
896
|
+
var loginDialog_build = () => { };
|
|
897
|
+
|
|
898
|
+
var loginDialog_build$1 = /*#__PURE__*/Object.freeze({
|
|
899
|
+
__proto__: null,
|
|
900
|
+
default: loginDialog_build
|
|
901
|
+
});
|
|
902
|
+
|
|
903
|
+
const tagName$_ = 'div';
|
|
904
|
+
register('wm-pagedialog', () => {
|
|
905
|
+
return {
|
|
906
|
+
pre: (attrs, shared) => {
|
|
907
|
+
const content = attrs.get('content');
|
|
908
|
+
attrs.delete('content');
|
|
909
|
+
const boundContent = attrs.get('content.bind');
|
|
910
|
+
attrs.delete('content.bind');
|
|
911
|
+
const onLoad = attrs.get('load.event');
|
|
912
|
+
attrs.delete('load.event');
|
|
913
|
+
let onLoadEvtMarkup = '';
|
|
914
|
+
let contentMarkup = '';
|
|
915
|
+
if (onLoad) {
|
|
916
|
+
onLoadEvtMarkup = `load.event="${onLoad}"`;
|
|
917
|
+
}
|
|
918
|
+
if (boundContent) {
|
|
919
|
+
contentMarkup = `content.bind="${boundContent}"`;
|
|
920
|
+
}
|
|
921
|
+
else if (content) {
|
|
922
|
+
contentMarkup = `content="${content}"`;
|
|
923
|
+
}
|
|
924
|
+
let containerMarkup = '';
|
|
925
|
+
if (contentMarkup) {
|
|
926
|
+
shared.set('hasPartialContent', true);
|
|
927
|
+
containerMarkup += `<ng-template><div wmContainer #partial partialContainer ${contentMarkup} width="100%" height="100%" ${onLoadEvtMarkup}>`;
|
|
928
|
+
}
|
|
929
|
+
return `<${tagName$_} wmPartialDialog ${getAttrMarkup(attrs)}>${containerMarkup}`;
|
|
930
|
+
},
|
|
931
|
+
post: (attrs, shared) => {
|
|
932
|
+
let preContent = '';
|
|
933
|
+
if (shared.get('hasPartialContent')) {
|
|
934
|
+
preContent = `</div></ng-template>`;
|
|
935
|
+
}
|
|
936
|
+
return `${preContent}</${tagName$_}>`;
|
|
937
|
+
}
|
|
938
|
+
};
|
|
939
|
+
});
|
|
940
|
+
var partialDialog_build = () => { };
|
|
941
|
+
|
|
942
|
+
var partialDialog_build$1 = /*#__PURE__*/Object.freeze({
|
|
943
|
+
__proto__: null,
|
|
944
|
+
default: partialDialog_build
|
|
945
|
+
});
|
|
946
|
+
|
|
947
|
+
const ALLFIELDS = 'All Fields';
|
|
948
|
+
const EDIT_MODE = {
|
|
949
|
+
QUICK_EDIT: 'quickedit',
|
|
950
|
+
INLINE: 'inline',
|
|
951
|
+
FORM: 'form',
|
|
952
|
+
DIALOG: 'dialog'
|
|
953
|
+
};
|
|
954
|
+
const fieldTypeWidgetTypeMap = {
|
|
955
|
+
'integer': ['number', 'text', 'select', 'checkboxset', 'radioset', 'rating', 'slider', 'currency', 'autocomplete', 'chips'],
|
|
956
|
+
'big_integer': ['number', 'text', 'select', 'checkboxset', 'radioset', 'rating', 'slider', 'currency', 'autocomplete', 'chips'],
|
|
957
|
+
'short': ['number', 'text', 'select', 'checkboxset', 'radioset', 'slider', 'currency', 'autocomplete', 'chips'],
|
|
958
|
+
'float': ['number', 'text', 'select', 'checkboxset', 'radioset', 'slider', 'currency', 'autocomplete', 'chips'],
|
|
959
|
+
'big_decimal': ['number', 'text', 'select', 'checkboxset', 'radioset', 'slider', 'currency', 'autocomplete', 'chips'],
|
|
960
|
+
'number': ['number', 'text', 'select', 'checkboxset', 'radioset', 'slider', 'currency', 'autocomplete', 'chips'],
|
|
961
|
+
'double': ['number', 'text', 'select', 'checkboxset', 'radioset', 'slider', 'currency', 'autocomplete', 'chips'],
|
|
962
|
+
'long': ['number', 'text', 'select', 'checkboxset', 'radioset', 'rating', 'slider', 'currency', 'autocomplete', 'chips'],
|
|
963
|
+
'byte': ['number', 'text', 'select', 'checkboxset', 'radioset', 'slider', 'currency', 'autocomplete', 'chips'],
|
|
964
|
+
'string': ['text', 'number', 'textarea', 'password', 'richtext', 'select', 'checkboxset', 'radioset', 'date', 'time', 'timestamp', 'switch', 'currency', 'autocomplete', 'chips', 'colorpicker'],
|
|
965
|
+
'character': ['text', 'number', 'textarea', 'password', 'richtext', 'select', 'checkboxset', 'radioset', 'switch', 'currency', 'autocomplete', 'chips'],
|
|
966
|
+
'text': ['text', 'number', 'textarea', 'password', 'richtext', 'select', 'checkboxset', 'radioset', 'date', 'time', 'timestamp', 'switch', 'currency', 'autocomplete', 'chips', 'colorpicker'],
|
|
967
|
+
'date': ['date', 'text', 'number', 'select', 'checkboxset', 'radioset', 'autocomplete', 'chips'],
|
|
968
|
+
'time': ['time', 'text', 'number', 'select', 'checkboxset', 'radioset', 'autocomplete', 'chips'],
|
|
969
|
+
'timestamp': ['timestamp', 'text', 'number', 'select', 'checkboxset', 'radioset', 'autocomplete', 'chips'],
|
|
970
|
+
'datetime': ['datetime', 'text', 'select', 'checkboxset', 'radioset', 'autocomplete', 'chips'],
|
|
971
|
+
'boolean': ['checkbox', 'radioset', 'toggle', 'select'],
|
|
972
|
+
'list': ['select', 'radioset', 'checkboxset', 'switch', 'autocomplete', 'chips'],
|
|
973
|
+
'clob': ['text', 'textarea', 'richtext'],
|
|
974
|
+
'blob': ['upload'],
|
|
975
|
+
'file': ['upload'],
|
|
976
|
+
'custom': ['text', 'number', 'textarea', 'password', 'checkbox', 'toggle', 'slider', 'richtext', 'currency', 'switch',
|
|
977
|
+
'select', 'checkboxset', 'radioset', 'date', 'time', 'timestamp', 'rating', 'datetime', 'autocomplete', 'chips', 'colorpicker']
|
|
978
|
+
};
|
|
979
|
+
const DATASET_WIDGETS = new Set([FormWidgetType.SELECT, FormWidgetType.CHECKBOXSET, FormWidgetType.RADIOSET,
|
|
980
|
+
FormWidgetType.SWITCH, FormWidgetType.AUTOCOMPLETE, FormWidgetType.CHIPS, FormWidgetType.TYPEAHEAD, FormWidgetType.RATING]);
|
|
981
|
+
const isDataSetWidget = widget => {
|
|
982
|
+
return DATASET_WIDGETS.has(widget);
|
|
983
|
+
};
|
|
984
|
+
// Get filter widget applicable to the given type
|
|
985
|
+
const getDataTableFilterWidget = type => {
|
|
986
|
+
let widget = fieldTypeWidgetTypeMap[type] && fieldTypeWidgetTypeMap[type][0];
|
|
987
|
+
if (type === DataType.BOOLEAN) {
|
|
988
|
+
widget = FormWidgetType.SELECT;
|
|
989
|
+
}
|
|
990
|
+
const filterWidgets = [FormWidgetType.TEXT, FormWidgetType.NUMBER, FormWidgetType.SELECT, FormWidgetType.AUTOCOMPLETE,
|
|
991
|
+
FormWidgetType.DATE, FormWidgetType.TIME, FormWidgetType.DATETIME];
|
|
992
|
+
if (filterWidgets.includes(widget)) {
|
|
993
|
+
return widget;
|
|
994
|
+
}
|
|
995
|
+
return FormWidgetType.TEXT;
|
|
996
|
+
};
|
|
997
|
+
/**
|
|
998
|
+
* @ngdoc function
|
|
999
|
+
* @name wm.widgets.live.getEditModeWidget
|
|
1000
|
+
* @methodOf wm.widgets.live.LiveWidgetUtils
|
|
1001
|
+
* @function
|
|
1002
|
+
*
|
|
1003
|
+
* @description
|
|
1004
|
+
* This function returns the default widget for grid
|
|
1005
|
+
*
|
|
1006
|
+
* @param {object} colDef field definition
|
|
1007
|
+
*/
|
|
1008
|
+
const getEditModeWidget = colDef => {
|
|
1009
|
+
if (colDef['related-entity-name'] && colDef['primary-key']) {
|
|
1010
|
+
return FormWidgetType.SELECT;
|
|
1011
|
+
}
|
|
1012
|
+
return (fieldTypeWidgetTypeMap[colDef.type] && fieldTypeWidgetTypeMap[colDef.type][0]) || FormWidgetType.TEXT;
|
|
1013
|
+
};
|
|
1014
|
+
|
|
1015
|
+
const tagName$Z = 'div';
|
|
1016
|
+
const idGen$f = new IDGenerator('formfield_');
|
|
1017
|
+
const getEventsTemplate = (attrs) => {
|
|
1018
|
+
const eventAttrs = new Map();
|
|
1019
|
+
if (!attrs.has('focus.event')) {
|
|
1020
|
+
attrs.set('focus.event', '');
|
|
1021
|
+
}
|
|
1022
|
+
if (!attrs.has('blur.event')) {
|
|
1023
|
+
attrs.set('blur.event', '');
|
|
1024
|
+
}
|
|
1025
|
+
attrs.forEach((value, key) => {
|
|
1026
|
+
if (key.endsWith('.event')) {
|
|
1027
|
+
if (key === 'focus.event') {
|
|
1028
|
+
value = `_onFocusField($event);${value}`;
|
|
1029
|
+
}
|
|
1030
|
+
else if (key === 'blur.event') {
|
|
1031
|
+
value = `_onBlurField($event);${value}`;
|
|
1032
|
+
}
|
|
1033
|
+
eventAttrs.set(key, value);
|
|
1034
|
+
attrs.delete(key);
|
|
1035
|
+
}
|
|
1036
|
+
});
|
|
1037
|
+
return getFormMarkupAttr(eventAttrs);
|
|
1038
|
+
};
|
|
1039
|
+
const DEFAULT_PLACEHOLDERS = new Map([
|
|
1040
|
+
[FormWidgetType.SELECT, ['Select Min value', 'Select Max value', 'Select value']],
|
|
1041
|
+
[FormWidgetType.DATETIME, ['Select Min date time', 'Select Max date time', 'Select date time']],
|
|
1042
|
+
[FormWidgetType.TIME, ['Select Min time', 'Select Max time', 'Select time']],
|
|
1043
|
+
[FormWidgetType.DATE, ['Select Min date', 'Select Max date', 'Select date']],
|
|
1044
|
+
[FormWidgetType.TEXTAREA, ['', '', 'Enter value']],
|
|
1045
|
+
[FormWidgetType.RICHTEXT, ['', '', 'Enter value']],
|
|
1046
|
+
[FormWidgetType.COLORPICKER, ['Select Color', 'Select Color', 'Select Color']],
|
|
1047
|
+
[FormWidgetType.CHIPS, ['', '', 'Type here...']],
|
|
1048
|
+
[FormWidgetType.PASSWORD, ['Enter Min value', 'Enter Max value', 'Enter value']],
|
|
1049
|
+
[FormWidgetType.NUMBER, ['Enter Min value', 'Enter Max value', 'Enter value']],
|
|
1050
|
+
[FormWidgetType.TEXT, ['Enter Min value', 'Enter Max value', 'Enter value']],
|
|
1051
|
+
[FormWidgetType.CURRENCY, ['Enter Min value', 'Enter Max value', 'Enter value']],
|
|
1052
|
+
[FormWidgetType.AUTOCOMPLETE, ['', '', 'Search']],
|
|
1053
|
+
]);
|
|
1054
|
+
const setDefaultPlaceholder = (attrs, widgetType, index) => {
|
|
1055
|
+
const prop = index === 1 ? 'maxplaceholder' : 'placeholder';
|
|
1056
|
+
let placeholder = attrs.get(prop);
|
|
1057
|
+
if (placeholder || placeholder === '') {
|
|
1058
|
+
return;
|
|
1059
|
+
}
|
|
1060
|
+
placeholder = DEFAULT_PLACEHOLDERS.get(widgetType) && DEFAULT_PLACEHOLDERS.get(widgetType)[index];
|
|
1061
|
+
if (placeholder) {
|
|
1062
|
+
attrs.set(prop, placeholder);
|
|
1063
|
+
}
|
|
1064
|
+
};
|
|
1065
|
+
const getWidgetTemplate = (attrs, options) => {
|
|
1066
|
+
let customAttrs = ``;
|
|
1067
|
+
if (options.widgetType === "custom-widget") {
|
|
1068
|
+
for (let [key, value] of attrs) {
|
|
1069
|
+
if (key.startsWith('prop-'))
|
|
1070
|
+
customAttrs += key + '="' + value + '" ';
|
|
1071
|
+
}
|
|
1072
|
+
}
|
|
1073
|
+
const name = attrs.get('name');
|
|
1074
|
+
const customWidgetName = attrs.get('widgetname');
|
|
1075
|
+
const fieldName = (attrs.get('key') || name || '').trim();
|
|
1076
|
+
const formControl = options.isMaxWidget ? `formControlName="${fieldName}_max"` : (options.isInList ? `[formControlName]="${options.counter}._fieldName"` : `formControlName="${fieldName}"`);
|
|
1077
|
+
const tmplRef = options.isMaxWidget ? `#formWidgetMax` : `#formWidget`;
|
|
1078
|
+
const widgetName = name ? (options.isMaxWidget ? `name="${name}_formWidgetMax"` : `name="${name}_formWidget"`) : '';
|
|
1079
|
+
const conditionalClass = `[ngClass]="${attrs.get('ngclass')}"`;
|
|
1080
|
+
const defaultTmpl = `[class.hidden]="!${options.pCounter}.isUpdateMode && ${options.counter}.viewmodewidget !== 'default'" ${formControl} ${options.eventsTmpl} ${conditionalClass} ${tmplRef} ${widgetName} ${customWidgetName ? `widgetname=${customWidgetName} ${customAttrs}` : ''}`;
|
|
1081
|
+
return getFormWidgetTemplate(options.widgetType, defaultTmpl, attrs, { counter: options.counter, pCounter: options.pCounter });
|
|
1082
|
+
};
|
|
1083
|
+
const getTemplate = (attrs, widgetType, eventsTmpl, counter, pCounter, isInList) => {
|
|
1084
|
+
const isRange = attrs.get('is-range') === 'true';
|
|
1085
|
+
if (!isRange) {
|
|
1086
|
+
return getWidgetTemplate(attrs, { widgetType, eventsTmpl, counter, pCounter, isInList });
|
|
1087
|
+
}
|
|
1088
|
+
const layoutClass = 'col-sm-6';
|
|
1089
|
+
return `<div class="${layoutClass}">${getWidgetTemplate(attrs, { widgetType, eventsTmpl, counter, pCounter })}</div>
|
|
1090
|
+
<div class="${layoutClass}">${getWidgetTemplate(attrs, { widgetType, eventsTmpl, counter, pCounter, isMaxWidget: true })}</div>`;
|
|
1091
|
+
};
|
|
1092
|
+
const getCaptionByWidget = (attrs, widgetType, counter) => {
|
|
1093
|
+
if (attrs.get('is-related') === 'true') {
|
|
1094
|
+
return `${counter}.getDisplayExpr()`;
|
|
1095
|
+
}
|
|
1096
|
+
if (widgetType === FormWidgetType.PASSWORD) {
|
|
1097
|
+
return '\'********\'';
|
|
1098
|
+
}
|
|
1099
|
+
let caption = `${counter}.value`;
|
|
1100
|
+
if (widgetType === FormWidgetType.DATETIME || widgetType === FormWidgetType.TIMESTAMP) {
|
|
1101
|
+
caption += ` | toDate:${counter}.formWidget.datepattern || 'yyyy-MM-dd hh:mm:ss a'`;
|
|
1102
|
+
return caption;
|
|
1103
|
+
}
|
|
1104
|
+
if (widgetType === FormWidgetType.TIME) {
|
|
1105
|
+
caption += ` | toDate:${counter}.formWidget.timepattern || 'hh:mm a'`;
|
|
1106
|
+
return caption;
|
|
1107
|
+
}
|
|
1108
|
+
if (widgetType === FormWidgetType.DATE) {
|
|
1109
|
+
caption += ` | toDate:${counter}.formWidget.datepattern || 'yyyy-MMM-dd'`;
|
|
1110
|
+
return caption;
|
|
1111
|
+
}
|
|
1112
|
+
if (widgetType === FormWidgetType.RATING || widgetType === FormWidgetType.UPLOAD) {
|
|
1113
|
+
return '';
|
|
1114
|
+
}
|
|
1115
|
+
if (isDataSetWidget(widgetType) && attrs.get('datafield') === ALLFIELDS) {
|
|
1116
|
+
return `${counter}.getDisplayExpr()`;
|
|
1117
|
+
}
|
|
1118
|
+
return `${counter}.getCaption()`;
|
|
1119
|
+
};
|
|
1120
|
+
const registerFormField = (isFormField) => {
|
|
1121
|
+
return {
|
|
1122
|
+
requires: ['wm-form', 'wm-liveform', 'wm-livefilter', 'wm-list'],
|
|
1123
|
+
pre: (attrs, shared, parentForm, parentLiveForm, parentFilter, parentList) => {
|
|
1124
|
+
const counter = idGen$f.nextUid();
|
|
1125
|
+
const parent = parentForm || parentLiveForm || parentFilter;
|
|
1126
|
+
const pCounter = (parent && parent.get('form_reference')) || 'form';
|
|
1127
|
+
const widgetType = attrs.get('widget') || FormWidgetType.TEXT;
|
|
1128
|
+
const dataRole = isFormField ? 'form-field' : 'filter-field';
|
|
1129
|
+
const formFieldErrorMsgId = 'wmform-field-error-' + generateGUId();
|
|
1130
|
+
const validationMsg = `@if (${counter}._control?.invalid && ${counter}._control?.touched && ${pCounter}.isUpdateMode) {
|
|
1131
|
+
<p class="help-block text-danger" aria-hidden="false" role="alert" aria-live="assertive" [attr.aria-label]="${counter}.validationmessage" id="${formFieldErrorMsgId}">
|
|
1132
|
+
<span aria-hidden="true" [textContent]="${counter}.validationmessage"></span>
|
|
1133
|
+
</p>}`;
|
|
1134
|
+
const eventsTmpl = widgetType === FormWidgetType.UPLOAD ? '' : getEventsTemplate(attrs);
|
|
1135
|
+
const controlLayout = 'col-sm-12';
|
|
1136
|
+
const isInList = pCounter === (parentList && parentList.get('parent_form_reference'));
|
|
1137
|
+
attrs.set('__validationId', formFieldErrorMsgId);
|
|
1138
|
+
attrs.set('__widgetType', widgetType);
|
|
1139
|
+
attrs.delete('widget');
|
|
1140
|
+
shared.set('counter', counter);
|
|
1141
|
+
if (attrs.get('is-range') === 'true') {
|
|
1142
|
+
setDefaultPlaceholder(attrs, widgetType, 0);
|
|
1143
|
+
setDefaultPlaceholder(attrs, widgetType, 1);
|
|
1144
|
+
}
|
|
1145
|
+
else {
|
|
1146
|
+
setDefaultPlaceholder(attrs, widgetType, 2);
|
|
1147
|
+
}
|
|
1148
|
+
return `<${tagName$Z} data-role="${dataRole}" [formGroup]="${pCounter}.ngform" wmFormField wmCaptionPosition #${counter}="wmFormField" widgettype="${widgetType}" ${getFormMarkupAttr(attrs)}>
|
|
1149
|
+
<div class="live-field form-group app-composite-widget clearfix caption-{{${pCounter}.captionposition}}" widget="${widgetType}">
|
|
1150
|
+
<label [hidden]="!${counter}.displayname" class="app-label control-label formfield-label {{${pCounter}._captionClass}}"
|
|
1151
|
+
[ngStyle]="{width: ${pCounter}.captionsize}" [ngClass]="{'text-danger': ${counter}._control?.invalid && ${counter}._control?.touched && ${pCounter}.isUpdateMode,
|
|
1152
|
+
required: ${pCounter}.isUpdateMode && ${counter}.required}" [textContent]="${counter}.displayname"> </label>
|
|
1153
|
+
<div [ngClass]="${counter}.displayname ? ${pCounter}._widgetClass : '${controlLayout}'">
|
|
1154
|
+
<span class="form-control-static app-label"
|
|
1155
|
+
[hidden]="${pCounter}.isUpdateMode || ${counter}.viewmodewidget === 'default' || ${counter}.widgettype === 'upload'" [innerHTML]="${getCaptionByWidget(attrs, widgetType, counter)}"></span>
|
|
1156
|
+
${getTemplate(attrs, widgetType, eventsTmpl, counter, pCounter, isInList)}
|
|
1157
|
+
@if(${counter}.showPendingSpinner){ <span aria-hidden="true" class="form-field-spinner fa fa-circle-o-notch fa-spin form-control-feedback"></span>}
|
|
1158
|
+
@if(!(${counter}._control?.invalid && ${counter}._control?.touched) && ${pCounter}.isUpdateMode){ <p class="help-block" aria-hidden="true" role="alert" aria-live="polite" [textContent]="${counter}.hint"></p> }
|
|
1159
|
+
${validationMsg}
|
|
1160
|
+
</div>
|
|
1161
|
+
</div>`;
|
|
1162
|
+
},
|
|
1163
|
+
post: () => `</${tagName$Z}>`,
|
|
1164
|
+
provide: (attrs, shared) => {
|
|
1165
|
+
const provider = new Map();
|
|
1166
|
+
provider.set('form_reference', shared.get('counter'));
|
|
1167
|
+
return provider;
|
|
1168
|
+
},
|
|
1169
|
+
imports: (attrs) => {
|
|
1170
|
+
const widgetType = attrs.get('__widgetType') || attrs.get('type');
|
|
1171
|
+
const requiredWidget = getRequiredFormWidget(widgetType);
|
|
1172
|
+
attrs.delete('__widgetType');
|
|
1173
|
+
let pipeImports = [];
|
|
1174
|
+
if (widgetType && [FormWidgetType.DATE, FormWidgetType.DATETIME, FormWidgetType.TIME, FormWidgetType.TIMESTAMP].includes(widgetType)) {
|
|
1175
|
+
pipeImports.push('toDate');
|
|
1176
|
+
}
|
|
1177
|
+
return [requiredWidget, 'wm-form', ...pipeImports];
|
|
1178
|
+
}
|
|
1179
|
+
};
|
|
1180
|
+
};
|
|
1181
|
+
register('wm-form-field', registerFormField.bind(this, true));
|
|
1182
|
+
register('wm-filter-field', registerFormField.bind(this, false));
|
|
1183
|
+
var formField_build = () => { };
|
|
1184
|
+
|
|
1185
|
+
var formField_build$1 = /*#__PURE__*/Object.freeze({
|
|
1186
|
+
__proto__: null,
|
|
1187
|
+
default: formField_build
|
|
1188
|
+
});
|
|
1189
|
+
|
|
1190
|
+
const tagName$Y = 'div';
|
|
1191
|
+
const registerAction = (tmpl) => {
|
|
1192
|
+
return {
|
|
1193
|
+
pre: attrs => `<${tagName$Y} wmFormAction name="${attrs.get('name') || attrs.get('key')}" ${getAttrMarkup(attrs)} ${tmpl}>`,
|
|
1194
|
+
post: () => `</${tagName$Y}>`
|
|
1195
|
+
};
|
|
1196
|
+
};
|
|
1197
|
+
register('wm-form-action', registerAction.bind(this, ''));
|
|
1198
|
+
register('wm-filter-action', registerAction.bind(this, ` update-mode="true" `));
|
|
1199
|
+
var formAction_build = () => { };
|
|
1200
|
+
|
|
1201
|
+
var formAction_build$1 = /*#__PURE__*/Object.freeze({
|
|
1202
|
+
__proto__: null,
|
|
1203
|
+
default: formAction_build
|
|
1204
|
+
});
|
|
1205
|
+
|
|
1206
|
+
const tagName$X = 'form';
|
|
1207
|
+
const idGen$e = new IDGenerator('form_');
|
|
1208
|
+
const formWidgets$1 = new Set([
|
|
1209
|
+
'wm-text',
|
|
1210
|
+
'wm-textarea',
|
|
1211
|
+
'wm-checkbox',
|
|
1212
|
+
'wm-slider',
|
|
1213
|
+
'wm-richtexteditor',
|
|
1214
|
+
'wm-currency',
|
|
1215
|
+
'wm-switch',
|
|
1216
|
+
'wm-select',
|
|
1217
|
+
'wm-checkboxset',
|
|
1218
|
+
'wm-radioset',
|
|
1219
|
+
'wm-date',
|
|
1220
|
+
'wm-time',
|
|
1221
|
+
'wm-timestamp',
|
|
1222
|
+
'wm-upload',
|
|
1223
|
+
'wm-rating',
|
|
1224
|
+
'wm-datetime',
|
|
1225
|
+
'wm-search',
|
|
1226
|
+
'wm-chips',
|
|
1227
|
+
'wm-colorpicker',
|
|
1228
|
+
'wm-table'
|
|
1229
|
+
]);
|
|
1230
|
+
let numberOfFields;
|
|
1231
|
+
const addFormControlName = (children = []) => {
|
|
1232
|
+
children.forEach(childNode => {
|
|
1233
|
+
if (childNode.name === 'wm-form-field') {
|
|
1234
|
+
numberOfFields++;
|
|
1235
|
+
}
|
|
1236
|
+
if (formWidgets$1.has(childNode.name)) {
|
|
1237
|
+
let key = childNode.attrs.find((attr) => attr.name === 'key' || attr.name === 'name');
|
|
1238
|
+
key = key && key.value;
|
|
1239
|
+
if (!key) {
|
|
1240
|
+
// for checkbox inside table inside form, key and name attrs are not available. Using datavalue to construct formControlName instead.
|
|
1241
|
+
let dataValue = childNode.attrs.find((attr) => attr.name === 'datavalue');
|
|
1242
|
+
if (dataValue && dataValue.value) {
|
|
1243
|
+
const regex = /\((.*)\)/;
|
|
1244
|
+
dataValue = dataValue.value.match(regex);
|
|
1245
|
+
if (dataValue && dataValue.length > 1) {
|
|
1246
|
+
key = dataValue[1].replace(/["']/g, '');
|
|
1247
|
+
}
|
|
1248
|
+
}
|
|
1249
|
+
}
|
|
1250
|
+
childNode.attrs.push(new Attribute('formControlName', key, 1, 1, 1, undefined, undefined));
|
|
1251
|
+
childNode.attrs.push(new Attribute('wmFormWidget', '', 1, 1, 1, undefined, undefined));
|
|
1252
|
+
}
|
|
1253
|
+
addFormControlName(childNode.children);
|
|
1254
|
+
});
|
|
1255
|
+
};
|
|
1256
|
+
const updateFormDataSource = (attrMap) => {
|
|
1257
|
+
if (attrMap.get('formdata.bind')) {
|
|
1258
|
+
const formDataSource = getDataSource(attrMap.get('formdata.bind'));
|
|
1259
|
+
if (formDataSource) {
|
|
1260
|
+
attrMap.set('formdatasource.bind', formDataSource);
|
|
1261
|
+
}
|
|
1262
|
+
}
|
|
1263
|
+
};
|
|
1264
|
+
const buildTask = (directiveAttr = '') => {
|
|
1265
|
+
return {
|
|
1266
|
+
requires: ['wm-livetable', 'wm-login'],
|
|
1267
|
+
template: (node) => {
|
|
1268
|
+
numberOfFields = 0;
|
|
1269
|
+
addFormControlName(node.children);
|
|
1270
|
+
},
|
|
1271
|
+
pre: (attrs, shared, parentLiveTable, parentLoginWidget) => {
|
|
1272
|
+
let tmpl;
|
|
1273
|
+
let dialogId;
|
|
1274
|
+
const role = parentLoginWidget && parentLoginWidget.get('isLogin') ? 'app-login' : '';
|
|
1275
|
+
const counter = idGen$e.nextUid();
|
|
1276
|
+
const dependsOn = attrs.get('dependson') ? `dependson="${attrs.get('dependson')}"` : '';
|
|
1277
|
+
if (dependsOn) {
|
|
1278
|
+
attrs.set('dependsontable', attrs.get('dependson'));
|
|
1279
|
+
}
|
|
1280
|
+
const classProp = attrs.get('formlayout') === 'page' ? 'app-device-liveform panel liveform-inline' : '';
|
|
1281
|
+
const dialogAttributes = ['title', 'title.bind', 'iconclass', 'iconclass.bind', 'width'];
|
|
1282
|
+
attrs.delete('dependson');
|
|
1283
|
+
const liveFormTmpl = `<${tagName$X} wmForm data-role="${role}" ${directiveAttr} #${counter} ngNativeValidate [formGroup]="${counter}.ngform" [noValidate]="${counter}.validationtype !== 'html'"
|
|
1284
|
+
class="${classProp}" [class]="${counter}.captionAlignClass" [autocomplete]="${counter}.autocomplete ? 'on' : 'off'" captionposition=${attrs.get('captionposition')}`;
|
|
1285
|
+
attrs.set('numberOfFields', `${numberOfFields}`);
|
|
1286
|
+
shared.set('counter', counter);
|
|
1287
|
+
updateFormDataSource(attrs);
|
|
1288
|
+
if (attrs.get('formlayout') === 'dialog') {
|
|
1289
|
+
dialogId = parentLiveTable ? parentLiveTable.get('liveform_dialog_id') : `liveform_dialog_id_${counter}`;
|
|
1290
|
+
attrs.set('dialogId', dialogId);
|
|
1291
|
+
const dialogAttrsMap = new Map();
|
|
1292
|
+
dialogAttributes.forEach((attr) => {
|
|
1293
|
+
if (attrs.get(attr)) {
|
|
1294
|
+
dialogAttrsMap.set(attr, attrs.get(attr));
|
|
1295
|
+
}
|
|
1296
|
+
});
|
|
1297
|
+
attrs.set('width', '100%');
|
|
1298
|
+
tmpl = getAttrMarkup(attrs);
|
|
1299
|
+
return `<div data-identifier="liveform" init-widget class="app-liveform liveform-dialog" ${dependsOn} dialogid="${dialogId}">
|
|
1300
|
+
<div wmDialog class="app-liveform-dialog" name="${dialogId}" role="form" ${getAttrMarkup(dialogAttrsMap)} modal="true">
|
|
1301
|
+
<ng-template #dialogBody>
|
|
1302
|
+
${liveFormTmpl} ${tmpl}>`;
|
|
1303
|
+
}
|
|
1304
|
+
let mobileFormContentTmpl = '';
|
|
1305
|
+
let buttonTemplate = '';
|
|
1306
|
+
// Include mobile-navbar above the form when formlayout is set to page
|
|
1307
|
+
if (attrs.get('formlayout') === 'page') {
|
|
1308
|
+
const name = `device_liveform_header_${counter}`;
|
|
1309
|
+
const navbarAttrsMap = new Map();
|
|
1310
|
+
navbarAttrsMap.set('title', attrs.get('title'));
|
|
1311
|
+
navbarAttrsMap.set('backbtnclick.event', attrs.get('backbtnclick.event'));
|
|
1312
|
+
buttonTemplate = `<ng-template #buttonRef let-btn="btn">
|
|
1313
|
+
<button wmButton name="{{btn.key}}" class="navbar-btn btn-primary btn-transparent" iconclass.bind="btn.iconclass" show.bind="btn.show"
|
|
1314
|
+
(click)="${counter}.invokeActionEvent($event, btn.action)" type.bind="btn.type" hint.bind="btn.title" shortcutkey.bind="btn.shortcutkey" disabled.bind="btn.disabled"
|
|
1315
|
+
tabindex.bind="btn.tabindex" [class.hidden]="btn.updateMode ? !${counter}.isUpdateMode : ${counter}.isUpdateMode"></button>
|
|
1316
|
+
</ng-template>`;
|
|
1317
|
+
mobileFormContentTmpl = `<header wmMobileNavbar name="${name}" ${getAttrMarkup(navbarAttrsMap)}>
|
|
1318
|
+
@for (btn of ${counter}.buttonArray; track btn; let i = $index) {
|
|
1319
|
+
<ng-container
|
|
1320
|
+
[ngTemplateOutlet]="buttonRef"
|
|
1321
|
+
[ngTemplateOutletContext]="{btn:btn}"
|
|
1322
|
+
[ngTemplateOutletInjector]="${counter}.createCustomInjector('mobile_' + i, {item:item, index:i})">
|
|
1323
|
+
</ng-container>
|
|
1324
|
+
}
|
|
1325
|
+
</header>
|
|
1326
|
+
<div class="form-elements panel-body" >`;
|
|
1327
|
+
}
|
|
1328
|
+
tmpl = getAttrMarkup(attrs);
|
|
1329
|
+
const dependsOnTmpl = dependsOn ? `<div ${dependsOn}>` : '';
|
|
1330
|
+
return `${dependsOnTmpl}${liveFormTmpl} ${tmpl}>
|
|
1331
|
+
${buttonTemplate} ${mobileFormContentTmpl}`;
|
|
1332
|
+
},
|
|
1333
|
+
post: (attrs) => {
|
|
1334
|
+
if (attrs.get('formlayout') === 'dialog') {
|
|
1335
|
+
return '</form></ng-template></div></div>';
|
|
1336
|
+
}
|
|
1337
|
+
if (attrs.get('formlayout') === 'page') {
|
|
1338
|
+
return `</div></${tagName$X}>`;
|
|
1339
|
+
}
|
|
1340
|
+
if (attrs.get('dependsontable')) {
|
|
1341
|
+
return `</${tagName$X}></div>`;
|
|
1342
|
+
}
|
|
1343
|
+
return `</${tagName$X}>`;
|
|
1344
|
+
},
|
|
1345
|
+
provide: (attrs, shared) => {
|
|
1346
|
+
const provider = new Map();
|
|
1347
|
+
provider.set('form_reference', shared.get('counter'));
|
|
1348
|
+
return provider;
|
|
1349
|
+
},
|
|
1350
|
+
imports: (attrs) => {
|
|
1351
|
+
const formlayout = attrs.get('formlayout');
|
|
1352
|
+
if (formlayout === 'dialog') {
|
|
1353
|
+
return ['wm-dialog'];
|
|
1354
|
+
}
|
|
1355
|
+
return [];
|
|
1356
|
+
}
|
|
1357
|
+
};
|
|
1358
|
+
};
|
|
1359
|
+
register('wm-form', buildTask);
|
|
1360
|
+
register('wm-liveform', () => buildTask('wmLiveForm'));
|
|
1361
|
+
register('wm-livefilter', () => buildTask('wmLiveFilter'));
|
|
1362
|
+
var form_build = () => { };
|
|
1363
|
+
|
|
1364
|
+
var form_build$1 = /*#__PURE__*/Object.freeze({
|
|
1365
|
+
__proto__: null,
|
|
1366
|
+
default: form_build
|
|
1367
|
+
});
|
|
1368
|
+
|
|
1369
|
+
const tagName$W = 'div';
|
|
1370
|
+
register('wm-calendar', () => {
|
|
1371
|
+
return {
|
|
1372
|
+
pre: (attrs) => {
|
|
1373
|
+
let viewType = attrs.get('view') ? attrs.get('view') + ' view' : 'month view';
|
|
1374
|
+
return `<${tagName$W} wmCalendar redrawable style="width:100%" role="region" aria-label="${viewType}" ${getAttrMarkup(attrs)}>`;
|
|
1375
|
+
},
|
|
1376
|
+
post: () => `</${tagName$W}>`
|
|
1377
|
+
};
|
|
1378
|
+
});
|
|
1379
|
+
var calendar_build = () => { };
|
|
1380
|
+
|
|
1381
|
+
var calendar_build$1 = /*#__PURE__*/Object.freeze({
|
|
1382
|
+
__proto__: null,
|
|
1383
|
+
default: calendar_build
|
|
1384
|
+
});
|
|
1385
|
+
|
|
1386
|
+
const tagName$V = 'ul';
|
|
1387
|
+
register('wm-chips', () => {
|
|
1388
|
+
return {
|
|
1389
|
+
pre: attrs => `<${tagName$V} wmChips ${getAttrMarkup(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
1390
|
+
post: () => `</${tagName$V}>`
|
|
1391
|
+
};
|
|
1392
|
+
});
|
|
1393
|
+
var chips_build = () => { };
|
|
1394
|
+
|
|
1395
|
+
var chips_build$1 = /*#__PURE__*/Object.freeze({
|
|
1396
|
+
__proto__: null,
|
|
1397
|
+
default: chips_build
|
|
1398
|
+
});
|
|
1399
|
+
|
|
1400
|
+
const tagName$U = 'div';
|
|
1401
|
+
register('wm-colorpicker', () => {
|
|
1402
|
+
return {
|
|
1403
|
+
pre: attrs => `<${tagName$U} wmColorPicker ${getAttrMarkup(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
1404
|
+
post: () => `</${tagName$U}>`
|
|
1405
|
+
};
|
|
1406
|
+
});
|
|
1407
|
+
var colorPicker_build = () => { };
|
|
1408
|
+
|
|
1409
|
+
var colorPicker_build$1 = /*#__PURE__*/Object.freeze({
|
|
1410
|
+
__proto__: null,
|
|
1411
|
+
default: colorPicker_build
|
|
1412
|
+
});
|
|
1413
|
+
|
|
1414
|
+
const tagName$T = 'div';
|
|
1415
|
+
register('wm-currency', () => {
|
|
1416
|
+
return {
|
|
1417
|
+
pre: attrs => `<${tagName$T} wmCurrency ${getAttrMarkup(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
1418
|
+
post: () => `</${tagName$T}>`
|
|
1419
|
+
};
|
|
1420
|
+
});
|
|
1421
|
+
var currency_build = () => { };
|
|
1422
|
+
|
|
1423
|
+
var currency_build$1 = /*#__PURE__*/Object.freeze({
|
|
1424
|
+
__proto__: null,
|
|
1425
|
+
default: currency_build
|
|
1426
|
+
});
|
|
1427
|
+
|
|
1428
|
+
const tagName$S = 'div';
|
|
1429
|
+
register('wm-buttongroup', () => {
|
|
1430
|
+
return {
|
|
1431
|
+
pre: attrs => `<${tagName$S} wmButtonGroup role="group" ${getAttrMarkup(attrs)}>`,
|
|
1432
|
+
post: () => `</${tagName$S}>`
|
|
1433
|
+
};
|
|
1434
|
+
});
|
|
1435
|
+
var buttonGroup_build = () => { };
|
|
1436
|
+
|
|
1437
|
+
var buttonGroup_build$1 = /*#__PURE__*/Object.freeze({
|
|
1438
|
+
__proto__: null,
|
|
1439
|
+
default: buttonGroup_build
|
|
1440
|
+
});
|
|
1441
|
+
|
|
1442
|
+
const tagName$R = 'button';
|
|
1443
|
+
const idGen$d = new IDGenerator('wm_button');
|
|
1444
|
+
register('wm-button', () => {
|
|
1445
|
+
return {
|
|
1446
|
+
pre: (attrs) => {
|
|
1447
|
+
const counter = idGen$d.nextUid();
|
|
1448
|
+
return `<${tagName$R} wmButton #${counter}="wmButton" [attr.aria-label]="${counter}.arialabel || (${counter}.badgevalue ? ${counter}.caption + ' ' + ${counter}.badgevalue : ${counter}.caption) || null" ${getAttrMarkup(attrs)}>`;
|
|
1449
|
+
},
|
|
1450
|
+
post: () => `</${tagName$R}>`
|
|
1451
|
+
};
|
|
1452
|
+
});
|
|
1453
|
+
var button_build = () => { };
|
|
1454
|
+
|
|
1455
|
+
var button_build$1 = /*#__PURE__*/Object.freeze({
|
|
1456
|
+
__proto__: null,
|
|
1457
|
+
default: button_build
|
|
1458
|
+
});
|
|
1459
|
+
|
|
1460
|
+
const tagName$Q = 'div';
|
|
1461
|
+
register('wm-checkbox', () => {
|
|
1462
|
+
return {
|
|
1463
|
+
pre: attrs => {
|
|
1464
|
+
if (attrs.get('type') === 'button') {
|
|
1465
|
+
return `<${tagName$Q} wmCheckbox ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`;
|
|
1466
|
+
}
|
|
1467
|
+
else {
|
|
1468
|
+
return `<${tagName$Q} wmCheckbox ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)} style="height:100%">`;
|
|
1469
|
+
}
|
|
1470
|
+
},
|
|
1471
|
+
post: () => `</${tagName$Q}>`
|
|
1472
|
+
};
|
|
1473
|
+
});
|
|
1474
|
+
var checkbox_build = () => { };
|
|
1475
|
+
|
|
1476
|
+
var checkbox_build$1 = /*#__PURE__*/Object.freeze({
|
|
1477
|
+
__proto__: null,
|
|
1478
|
+
default: checkbox_build
|
|
1479
|
+
});
|
|
1480
|
+
|
|
1481
|
+
const tagName$P = 'ul';
|
|
1482
|
+
register('wm-checkboxset', () => {
|
|
1483
|
+
return {
|
|
1484
|
+
pre: attrs => `<${tagName$P} role="group" wmCheckboxset ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
1485
|
+
post: () => `</${tagName$P}>`
|
|
1486
|
+
};
|
|
1487
|
+
});
|
|
1488
|
+
var checkboxset_build = () => { };
|
|
1489
|
+
|
|
1490
|
+
var checkboxset_build$1 = /*#__PURE__*/Object.freeze({
|
|
1491
|
+
__proto__: null,
|
|
1492
|
+
default: checkboxset_build
|
|
1493
|
+
});
|
|
1494
|
+
|
|
1495
|
+
const tagName$O = 'div';
|
|
1496
|
+
register('wm-composite', () => {
|
|
1497
|
+
return {
|
|
1498
|
+
pre: attrs => `<${tagName$O} wmComposite wmCaptionPosition ${setChildAttrs(attrs)} ${getAttrMarkup(attrs)}>`,
|
|
1499
|
+
post: () => `</${tagName$O}${clearChildAttrs()}>`
|
|
1500
|
+
};
|
|
1501
|
+
});
|
|
1502
|
+
var composite_build = () => { };
|
|
1503
|
+
|
|
1504
|
+
var composite_build$1 = /*#__PURE__*/Object.freeze({
|
|
1505
|
+
__proto__: null,
|
|
1506
|
+
default: composite_build
|
|
1507
|
+
});
|
|
1508
|
+
|
|
1509
|
+
const tagName$N = 'div';
|
|
1510
|
+
register('wm-number', () => {
|
|
1511
|
+
return {
|
|
1512
|
+
pre: attrs => `<${tagName$N} wmNumber ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
1513
|
+
post: () => `</${tagName$N}>`
|
|
1514
|
+
};
|
|
1515
|
+
});
|
|
1516
|
+
var number_build = () => { };
|
|
1517
|
+
|
|
1518
|
+
var number_build$1 = /*#__PURE__*/Object.freeze({
|
|
1519
|
+
__proto__: null,
|
|
1520
|
+
default: number_build
|
|
1521
|
+
});
|
|
1522
|
+
|
|
1523
|
+
const tagName$M = 'ul';
|
|
1524
|
+
register('wm-radioset', () => {
|
|
1525
|
+
return {
|
|
1526
|
+
pre: (attrs) => {
|
|
1527
|
+
const hintAttr = attrs.get("hint") ? ` title="${attrs.get("hint")}" ` : '';
|
|
1528
|
+
return `<${tagName$M} role="radiogroup" wmRadioset ${hintAttr} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)}
|
|
1529
|
+
${getNgModelAttr(attrs)}>`;
|
|
1530
|
+
},
|
|
1531
|
+
post: () => `</${tagName$M}>`
|
|
1532
|
+
};
|
|
1533
|
+
});
|
|
1534
|
+
var radioset_build = () => { };
|
|
1535
|
+
|
|
1536
|
+
var radioset_build$1 = /*#__PURE__*/Object.freeze({
|
|
1537
|
+
__proto__: null,
|
|
1538
|
+
default: radioset_build
|
|
1539
|
+
});
|
|
1540
|
+
|
|
1541
|
+
const tagName$L = 'wm-select';
|
|
1542
|
+
register('wm-select', () => {
|
|
1543
|
+
return {
|
|
1544
|
+
pre: attrs => `<${tagName$L} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
1545
|
+
post: () => `</${tagName$L}>`
|
|
1546
|
+
};
|
|
1547
|
+
});
|
|
1548
|
+
var select_build = () => { };
|
|
1549
|
+
|
|
1550
|
+
var select_build$1 = /*#__PURE__*/Object.freeze({
|
|
1551
|
+
__proto__: null,
|
|
1552
|
+
default: select_build
|
|
1553
|
+
});
|
|
1554
|
+
|
|
1555
|
+
const tagName$K = 'div';
|
|
1556
|
+
const idGen$c = new IDGenerator('wm_switch');
|
|
1557
|
+
register('wm-switch', () => {
|
|
1558
|
+
return {
|
|
1559
|
+
pre: (attrs) => {
|
|
1560
|
+
const counter = idGen$c.nextUid();
|
|
1561
|
+
return `<${tagName$K} wmSwitch #${counter}="wmSwitch" role="group" [attr.aria-label]="${counter}.arialabel || 'Switch choose options'" ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`;
|
|
1562
|
+
},
|
|
1563
|
+
post: () => `</${tagName$K}>`
|
|
1564
|
+
};
|
|
1565
|
+
});
|
|
1566
|
+
var switch_build = () => { };
|
|
1567
|
+
|
|
1568
|
+
var switch_build$1 = /*#__PURE__*/Object.freeze({
|
|
1569
|
+
__proto__: null,
|
|
1570
|
+
default: switch_build
|
|
1571
|
+
});
|
|
1572
|
+
|
|
1573
|
+
const tagName$J = 'wm-input';
|
|
1574
|
+
register('wm-text', () => {
|
|
1575
|
+
return {
|
|
1576
|
+
pre: attrs => `<${tagName$J} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
1577
|
+
post: () => `</${tagName$J}>`
|
|
1578
|
+
};
|
|
1579
|
+
});
|
|
1580
|
+
var text_build = () => { };
|
|
1581
|
+
|
|
1582
|
+
var text_build$1 = /*#__PURE__*/Object.freeze({
|
|
1583
|
+
__proto__: null,
|
|
1584
|
+
default: text_build
|
|
1585
|
+
});
|
|
1586
|
+
|
|
1587
|
+
const tagName$I = 'wm-textarea';
|
|
1588
|
+
register('wm-textarea', () => {
|
|
1589
|
+
return {
|
|
1590
|
+
pre: attrs => `<${tagName$I} ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
1591
|
+
post: () => `</${tagName$I}>`
|
|
1592
|
+
};
|
|
1593
|
+
});
|
|
1594
|
+
var textarea_build = () => { };
|
|
1595
|
+
|
|
1596
|
+
var textarea_build$1 = /*#__PURE__*/Object.freeze({
|
|
1597
|
+
__proto__: null,
|
|
1598
|
+
default: textarea_build
|
|
1599
|
+
});
|
|
1600
|
+
|
|
1601
|
+
const tagName$H = 'div';
|
|
1602
|
+
register('wm-datetime', () => {
|
|
1603
|
+
return {
|
|
1604
|
+
pre: attrs => `<${tagName$H} wmDateTime ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
1605
|
+
post: () => `</${tagName$H}>`
|
|
1606
|
+
};
|
|
1607
|
+
});
|
|
1608
|
+
var dateTime_build = () => { };
|
|
1609
|
+
|
|
1610
|
+
var dateTime_build$1 = /*#__PURE__*/Object.freeze({
|
|
1611
|
+
__proto__: null,
|
|
1612
|
+
default: dateTime_build
|
|
1613
|
+
});
|
|
1614
|
+
|
|
1615
|
+
const tagName$G = 'div';
|
|
1616
|
+
register('wm-date', () => {
|
|
1617
|
+
return {
|
|
1618
|
+
pre: attrs => `<${tagName$G} wmDate ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
1619
|
+
post: () => `</${tagName$G}>`
|
|
1620
|
+
};
|
|
1621
|
+
});
|
|
1622
|
+
var date_build = () => { };
|
|
1623
|
+
|
|
1624
|
+
var date_build$1 = /*#__PURE__*/Object.freeze({
|
|
1625
|
+
__proto__: null,
|
|
1626
|
+
default: date_build
|
|
1627
|
+
});
|
|
1628
|
+
|
|
1629
|
+
const tagName$F = 'div';
|
|
1630
|
+
register('wm-time', () => {
|
|
1631
|
+
return {
|
|
1632
|
+
pre: attrs => `<${tagName$F} wmTime ${getFormMarkupAttr(attrs)} ${getChildAttrs(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
1633
|
+
post: () => `</${tagName$F}>`
|
|
1634
|
+
};
|
|
1635
|
+
});
|
|
1636
|
+
var time_build = () => { };
|
|
1637
|
+
|
|
1638
|
+
var time_build$1 = /*#__PURE__*/Object.freeze({
|
|
1639
|
+
__proto__: null,
|
|
1640
|
+
default: time_build
|
|
1641
|
+
});
|
|
1642
|
+
|
|
1643
|
+
const tagName$E = 'div';
|
|
1644
|
+
register('wm-fileupload', () => {
|
|
1645
|
+
return {
|
|
1646
|
+
pre: attrs => {
|
|
1647
|
+
if (attrs.get('select.event')) {
|
|
1648
|
+
const onSelectBinding = getDataSource(attrs.get('select.event'));
|
|
1649
|
+
attrs.set('datasource.bind', onSelectBinding);
|
|
1650
|
+
}
|
|
1651
|
+
if (attrs.get('delete.event')) {
|
|
1652
|
+
const onDeleteBinding = getDataSource(attrs.get('delete.event'));
|
|
1653
|
+
attrs.set('deletedatasource.bind', onDeleteBinding);
|
|
1654
|
+
}
|
|
1655
|
+
return `<${tagName$E} wmFileUpload ${getAttrMarkup(attrs)}>`;
|
|
1656
|
+
},
|
|
1657
|
+
post: () => `</${tagName$E}>`
|
|
1658
|
+
};
|
|
1659
|
+
});
|
|
1660
|
+
var fileUpload_build = () => { };
|
|
1661
|
+
|
|
1662
|
+
var fileUpload_build$1 = /*#__PURE__*/Object.freeze({
|
|
1663
|
+
__proto__: null,
|
|
1664
|
+
default: fileUpload_build
|
|
1665
|
+
});
|
|
1666
|
+
|
|
1667
|
+
const tagName$D = 'div';
|
|
1668
|
+
register('wm-rating', () => {
|
|
1669
|
+
return {
|
|
1670
|
+
pre: attrs => `<${tagName$D} wmRating ${getFormMarkupAttr(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
1671
|
+
post: () => `</${tagName$D}>`
|
|
1672
|
+
};
|
|
1673
|
+
});
|
|
1674
|
+
var rating_build = () => { };
|
|
1675
|
+
|
|
1676
|
+
var rating_build$1 = /*#__PURE__*/Object.freeze({
|
|
1677
|
+
__proto__: null,
|
|
1678
|
+
default: rating_build
|
|
1679
|
+
});
|
|
1680
|
+
|
|
1681
|
+
const tagName$C = 'div';
|
|
1682
|
+
register('wm-slider', () => {
|
|
1683
|
+
return {
|
|
1684
|
+
pre: attrs => `<${tagName$C} wmSlider ${getAttrMarkup(attrs)} ${getNgModelAttr(attrs)}>`,
|
|
1685
|
+
post: () => `</${tagName$C}>`
|
|
1686
|
+
};
|
|
1687
|
+
});
|
|
1688
|
+
var slider_build = () => { };
|
|
1689
|
+
|
|
1690
|
+
var slider_build$1 = /*#__PURE__*/Object.freeze({
|
|
1691
|
+
__proto__: null,
|
|
1692
|
+
default: slider_build
|
|
1693
|
+
});
|
|
1694
|
+
|
|
1695
|
+
const wmlistTag = 'wm-list';
|
|
1696
|
+
const tagName$B = 'div';
|
|
1697
|
+
const dataSetKey$2 = 'dataset';
|
|
1698
|
+
function copyAttribute$1(from, fromAttrName, to, toAttrName) {
|
|
1699
|
+
const fromAttr = from.attrs.find(a => a.name === fromAttrName);
|
|
1700
|
+
if (fromAttr) {
|
|
1701
|
+
to.attrs.push(new Attribute(toAttrName, fromAttr.value, fromAttr.sourceSpan, fromAttr.keySpan, fromAttr.valueSpan, undefined, undefined));
|
|
1702
|
+
}
|
|
1703
|
+
}
|
|
1704
|
+
register('wm-media-list', () => {
|
|
1705
|
+
return {
|
|
1706
|
+
template: (node) => {
|
|
1707
|
+
let bindDataset;
|
|
1708
|
+
const attrObj = node.attrs.find(attr => attr.name === dataSetKey$2),
|
|
1709
|
+
/**
|
|
1710
|
+
* Replacing binded property value with item
|
|
1711
|
+
* @param children
|
|
1712
|
+
*/
|
|
1713
|
+
replaceBind = (children = []) => {
|
|
1714
|
+
children.forEach(childNode => {
|
|
1715
|
+
if (childNode.name) {
|
|
1716
|
+
// return if the child Element is of wm-list .
|
|
1717
|
+
if (childNode.name !== wmlistTag) {
|
|
1718
|
+
childNode.attrs.forEach((attr) => {
|
|
1719
|
+
if (attr.value.startsWith(`bind:${bindDataset}.data[$i]`)) {
|
|
1720
|
+
attr.value = attr.value.replace(`${bindDataset}.data[$i]`, 'item');
|
|
1721
|
+
}
|
|
1722
|
+
else if (attr.value.startsWith(`bind:${bindDataset}`)) {
|
|
1723
|
+
attr.value = attr.value.replace(bindDataset, 'item');
|
|
1724
|
+
}
|
|
1725
|
+
});
|
|
1726
|
+
replaceBind(childNode.children);
|
|
1727
|
+
}
|
|
1728
|
+
}
|
|
1729
|
+
});
|
|
1730
|
+
};
|
|
1731
|
+
if (attrObj && attrObj.value.startsWith('bind:')) {
|
|
1732
|
+
bindDataset = attrObj.value.replace('bind:', '');
|
|
1733
|
+
}
|
|
1734
|
+
if (bindDataset) {
|
|
1735
|
+
replaceBind(node.children);
|
|
1736
|
+
}
|
|
1737
|
+
const template = node.children
|
|
1738
|
+
.find(e => e instanceof Element && e.name === 'wm-media-template');
|
|
1739
|
+
if (template != null) {
|
|
1740
|
+
copyAttribute$1(template, 'width', node, 'thumbnailwidth');
|
|
1741
|
+
copyAttribute$1(template, 'height', node, 'thumbnailheight');
|
|
1742
|
+
}
|
|
1743
|
+
},
|
|
1744
|
+
pre: attrs => `<${tagName$B} wmMediaList ${getAttrMarkup(attrs)}>`,
|
|
1745
|
+
post: () => `</${tagName$B}>`
|
|
1746
|
+
};
|
|
1747
|
+
});
|
|
1748
|
+
var mediaList_build = () => { };
|
|
1749
|
+
|
|
1750
|
+
var mediaList_build$1 = /*#__PURE__*/Object.freeze({
|
|
1751
|
+
__proto__: null,
|
|
1752
|
+
default: mediaList_build
|
|
1753
|
+
});
|
|
1754
|
+
|
|
1755
|
+
const tagName$A = 'ng-template';
|
|
1756
|
+
register('wm-media-template', () => {
|
|
1757
|
+
return {
|
|
1758
|
+
pre: () => `<${tagName$A} #mediaListTemplate let-item="item" let-index="index">`,
|
|
1759
|
+
post: () => `</${tagName$A}>`
|
|
1760
|
+
};
|
|
1761
|
+
});
|
|
1762
|
+
var mediaListItem_build = () => { };
|
|
1763
|
+
|
|
1764
|
+
var mediaListItem_build$1 = /*#__PURE__*/Object.freeze({
|
|
1765
|
+
__proto__: null,
|
|
1766
|
+
default: mediaListItem_build
|
|
1767
|
+
});
|
|
1768
|
+
|
|
1769
|
+
const wmListTag = 'wm-list';
|
|
1770
|
+
const listTagName = 'div';
|
|
1771
|
+
const dataSetKey$1 = 'dataset';
|
|
1772
|
+
register(wmListTag, () => {
|
|
1773
|
+
return {
|
|
1774
|
+
requires: ['wm-form', 'wm-liveform'],
|
|
1775
|
+
template: (node, shared) => {
|
|
1776
|
+
const datasetAttr = node.attrs.find(attr => attr.name === dataSetKey$1);
|
|
1777
|
+
const widgetNameAttr = node.attrs.find(attr => attr.name === 'name');
|
|
1778
|
+
if (!datasetAttr) {
|
|
1779
|
+
return;
|
|
1780
|
+
}
|
|
1781
|
+
const boundExpr = getBoundToExpr(datasetAttr.value);
|
|
1782
|
+
if (!boundExpr) {
|
|
1783
|
+
return;
|
|
1784
|
+
}
|
|
1785
|
+
updateTemplateAttrs(node, boundExpr, widgetNameAttr.value, 'itemRef.');
|
|
1786
|
+
const listTemplateNode = (node.children || []).find((c) => c instanceof Element && c?.name === 'wm-listtemplate');
|
|
1787
|
+
if (listTemplateNode) {
|
|
1788
|
+
const meta = {};
|
|
1789
|
+
(listTemplateNode.attrs || []).forEach(a => {
|
|
1790
|
+
meta[a.name] = a.value;
|
|
1791
|
+
});
|
|
1792
|
+
shared.set('listTemplateAttrs', JSON.stringify(meta));
|
|
1793
|
+
}
|
|
1794
|
+
else {
|
|
1795
|
+
shared.set('listTemplateAttrs', null);
|
|
1796
|
+
}
|
|
1797
|
+
},
|
|
1798
|
+
pre: (attrs, shared, parentForm, parentLiveForm) => {
|
|
1799
|
+
const parent = parentForm || parentLiveForm;
|
|
1800
|
+
shared.set('form_reference', parent && parent.get('form_reference'));
|
|
1801
|
+
const listTemplateAttrsJson = shared.get('listTemplateAttrs');
|
|
1802
|
+
if (listTemplateAttrsJson) {
|
|
1803
|
+
// Escape double quotes so they can sit safely inside an HTML attribute
|
|
1804
|
+
const escapedJson = listTemplateAttrsJson.replace(/"/g, '"');
|
|
1805
|
+
attrs.set('itemattrs', escapedJson);
|
|
1806
|
+
}
|
|
1807
|
+
return `<${listTagName} wmList wmLiveActions ${getAttrMarkup(attrs)}>`;
|
|
1808
|
+
},
|
|
1809
|
+
post: () => `</${listTagName}>`,
|
|
1810
|
+
provide: (attrs, shared) => {
|
|
1811
|
+
const provider = new Map();
|
|
1812
|
+
provider.set('parent_form_reference', shared.get('form_reference'));
|
|
1813
|
+
return provider;
|
|
1814
|
+
}
|
|
1815
|
+
};
|
|
1816
|
+
});
|
|
1817
|
+
register('wm-listtemplate', () => {
|
|
1818
|
+
return {
|
|
1819
|
+
pre: () => `<ng-template #listTemplate let-item="item" let-$index="$index" let-itemRef="itemRef" let-$first="$first" let-$last="$last" let-currentItemWidgets="currentItemWidgets" >`,
|
|
1820
|
+
post: () => `</ng-template>`
|
|
1821
|
+
};
|
|
1822
|
+
});
|
|
1823
|
+
function copyAttribute(from, fromAttrName, to, toAttrName) {
|
|
1824
|
+
const fromAttr = from.attrs.find(a => a.name === fromAttrName);
|
|
1825
|
+
if (fromAttr) {
|
|
1826
|
+
to.attrs.push(new Attribute(toAttrName, fromAttr.value, fromAttr.sourceSpan, fromAttr.keySpan, fromAttr.valueSpan, undefined, undefined));
|
|
1827
|
+
}
|
|
1828
|
+
}
|
|
1829
|
+
register('wm-list-action-template', () => {
|
|
1830
|
+
return {
|
|
1831
|
+
template: (node) => {
|
|
1832
|
+
const position = node.attrs.find(attr => attr.name === 'position').value;
|
|
1833
|
+
const btns = node.children
|
|
1834
|
+
.filter(e => e instanceof Element && e.name === 'wm-button');
|
|
1835
|
+
// add swipe-position on button nodes to identify whether buttons are from left or right action templates
|
|
1836
|
+
btns.forEach((btnNode) => {
|
|
1837
|
+
copyAttribute(node, 'position', btnNode, 'swipe-position');
|
|
1838
|
+
});
|
|
1839
|
+
},
|
|
1840
|
+
pre: (attrs, el) => {
|
|
1841
|
+
if (attrs.get('position') === 'left') {
|
|
1842
|
+
return `<ng-template #listLeftActionTemplate>
|
|
1843
|
+
<li class="app-list-item-action-panel app-list-item-left-action-panel actionMenu" ${getAttrMarkup(attrs)}>`;
|
|
1844
|
+
}
|
|
1845
|
+
if (attrs.get('position') === 'right') {
|
|
1846
|
+
return `<ng-template #listRightActionTemplate>
|
|
1847
|
+
<li class="app-list-item-action-panel app-list-item-right-action-panel actionMenu" ${getAttrMarkup(attrs)}>`;
|
|
1848
|
+
}
|
|
1849
|
+
},
|
|
1850
|
+
post: () => `</li></ng-template>`
|
|
1851
|
+
};
|
|
1852
|
+
});
|
|
1853
|
+
var list_build = () => { };
|
|
1854
|
+
|
|
1855
|
+
var list_build$1 = /*#__PURE__*/Object.freeze({
|
|
1856
|
+
__proto__: null,
|
|
1857
|
+
default: list_build
|
|
1858
|
+
});
|
|
1859
|
+
|
|
1860
|
+
const tagName$z = 'div';
|
|
1861
|
+
const idGen$b = new IDGenerator('liveform_dialog_id_');
|
|
1862
|
+
register('wm-livetable', () => {
|
|
1863
|
+
return {
|
|
1864
|
+
pre: (attrs, shared) => {
|
|
1865
|
+
const counter = idGen$b.nextUid();
|
|
1866
|
+
shared.set('counter', counter);
|
|
1867
|
+
return `<${tagName$z} wmLiveTable ${getAttrMarkup(attrs)} dialogid="${counter}">`;
|
|
1868
|
+
},
|
|
1869
|
+
post: () => `</${tagName$z}>`,
|
|
1870
|
+
provide: (attrs, shared) => {
|
|
1871
|
+
const provider = new Map();
|
|
1872
|
+
provider.set('liveform_dialog_id', shared.get('counter'));
|
|
1873
|
+
return provider;
|
|
1874
|
+
}
|
|
1875
|
+
};
|
|
1876
|
+
});
|
|
1877
|
+
var liveTable_build = () => { };
|
|
1878
|
+
|
|
1879
|
+
var liveTable_build$1 = /*#__PURE__*/Object.freeze({
|
|
1880
|
+
__proto__: null,
|
|
1881
|
+
default: liveTable_build
|
|
1882
|
+
});
|
|
1883
|
+
|
|
1884
|
+
const tagName$y = 'p';
|
|
1885
|
+
const idGen$a = new IDGenerator('wm_message');
|
|
1886
|
+
register('wm-message', () => {
|
|
1887
|
+
return {
|
|
1888
|
+
pre: (attrs) => {
|
|
1889
|
+
const counter = idGen$a.nextUid();
|
|
1890
|
+
return `<${tagName$y} wmMessage tabindex="0" #${counter}="wmMessage" ${getAttrMarkup(attrs)}>`;
|
|
1891
|
+
},
|
|
1892
|
+
post: () => `</${tagName$y}>`
|
|
1893
|
+
};
|
|
1894
|
+
});
|
|
1895
|
+
var message_build = () => { };
|
|
1896
|
+
|
|
1897
|
+
var message_build$1 = /*#__PURE__*/Object.freeze({
|
|
1898
|
+
__proto__: null,
|
|
1899
|
+
default: message_build
|
|
1900
|
+
});
|
|
1901
|
+
|
|
1902
|
+
const tagName$x = 'ol';
|
|
1903
|
+
register('wm-breadcrumb', () => {
|
|
1904
|
+
return {
|
|
1905
|
+
pre: attrs => `<${tagName$x} wmBreadcrumb ${getAttrMarkup(attrs)}>`,
|
|
1906
|
+
post: () => `</${tagName$x}>`
|
|
1907
|
+
};
|
|
1908
|
+
});
|
|
1909
|
+
var breadcrumb_build = () => { };
|
|
1910
|
+
|
|
1911
|
+
var breadcrumb_build$1 = /*#__PURE__*/Object.freeze({
|
|
1912
|
+
__proto__: null,
|
|
1913
|
+
default: breadcrumb_build
|
|
1914
|
+
});
|
|
1915
|
+
|
|
1916
|
+
const tagName$w = 'div';
|
|
1917
|
+
register('wm-menu', () => {
|
|
1918
|
+
return {
|
|
1919
|
+
pre: attrs => {
|
|
1920
|
+
const menuWidth = attrs.get("width");
|
|
1921
|
+
let styleBinding = '';
|
|
1922
|
+
if (menuWidth) {
|
|
1923
|
+
const units = ['%', 'px'];
|
|
1924
|
+
const hasUnit = units.some(unit => menuWidth.includes(unit));
|
|
1925
|
+
if (hasUnit) {
|
|
1926
|
+
styleBinding = `[ngStyle]="{'width': '${menuWidth}'}"`;
|
|
1927
|
+
}
|
|
1928
|
+
else {
|
|
1929
|
+
styleBinding = `[ngStyle]="{'width': '${menuWidth}px'}"`;
|
|
1930
|
+
}
|
|
1931
|
+
return `<${tagName$w} wmMenu dropdown ${getAttrMarkup(attrs)} ${styleBinding}>`;
|
|
1932
|
+
}
|
|
1933
|
+
else {
|
|
1934
|
+
return `<${tagName$w} wmMenu dropdown ${getAttrMarkup(attrs)}>`;
|
|
1935
|
+
}
|
|
1936
|
+
},
|
|
1937
|
+
post: () => `</${tagName$w}>`
|
|
1938
|
+
};
|
|
1939
|
+
});
|
|
1940
|
+
var menu_build = () => { };
|
|
1941
|
+
|
|
1942
|
+
var menu_build$1 = /*#__PURE__*/Object.freeze({
|
|
1943
|
+
__proto__: null,
|
|
1944
|
+
default: menu_build
|
|
1945
|
+
});
|
|
1946
|
+
|
|
1947
|
+
const tagName$v = 'li';
|
|
1948
|
+
register('wm-nav-item', () => {
|
|
1949
|
+
return {
|
|
1950
|
+
pre: attrs => `<${tagName$v} wmNavItem role="listitem" ${getAttrMarkup(attrs)}>`,
|
|
1951
|
+
post: () => `</${tagName$v}>`
|
|
1952
|
+
};
|
|
1953
|
+
});
|
|
1954
|
+
var navItem_build = () => { };
|
|
1955
|
+
|
|
1956
|
+
var navItem_build$1 = /*#__PURE__*/Object.freeze({
|
|
1957
|
+
__proto__: null,
|
|
1958
|
+
default: navItem_build
|
|
1959
|
+
});
|
|
1960
|
+
|
|
1961
|
+
const tagName$u = 'ul';
|
|
1962
|
+
register('wm-nav', () => {
|
|
1963
|
+
return {
|
|
1964
|
+
pre: attrs => `<${tagName$u} wmNav data-element-type="wmNav" data-role="page-header" role="list" ${getAttrMarkup(attrs)}>`,
|
|
1965
|
+
post: () => `</${tagName$u}>`
|
|
1966
|
+
};
|
|
1967
|
+
});
|
|
1968
|
+
var nav_build = () => { };
|
|
1969
|
+
|
|
1970
|
+
var nav_build$1 = /*#__PURE__*/Object.freeze({
|
|
1971
|
+
__proto__: null,
|
|
1972
|
+
default: nav_build
|
|
1973
|
+
});
|
|
1974
|
+
|
|
1975
|
+
const tagName$t = 'nav';
|
|
1976
|
+
register('wm-navbar', () => {
|
|
1977
|
+
return {
|
|
1978
|
+
pre: attrs => `<${tagName$t} wmNavbar data-element-type="wmNavbar" role="navigation" ${getAttrMarkup(attrs)}>`,
|
|
1979
|
+
post: () => `</${tagName$t}>`
|
|
1980
|
+
};
|
|
1981
|
+
});
|
|
1982
|
+
var navbar_build = () => { };
|
|
1983
|
+
|
|
1984
|
+
var navbar_build$1 = /*#__PURE__*/Object.freeze({
|
|
1985
|
+
__proto__: null,
|
|
1986
|
+
default: navbar_build
|
|
1987
|
+
});
|
|
1988
|
+
|
|
1989
|
+
const tagName$s = 'wm-popover';
|
|
1990
|
+
register('wm-popover', () => {
|
|
1991
|
+
return {
|
|
1992
|
+
requires: ['wm-table'],
|
|
1993
|
+
pre: (attrs, shared, table) => {
|
|
1994
|
+
const contentSource = attrs.get('contentsource');
|
|
1995
|
+
let popoverTemplate;
|
|
1996
|
+
if (contentSource !== 'inline') {
|
|
1997
|
+
const content = attrs.get('content');
|
|
1998
|
+
const bindContent = attrs.get('content.bind');
|
|
1999
|
+
let contentMarkup = '';
|
|
2000
|
+
if (content) {
|
|
2001
|
+
contentMarkup = `content="${content}"`;
|
|
2002
|
+
}
|
|
2003
|
+
else if (bindContent) {
|
|
2004
|
+
contentMarkup = `content.bind="${bindContent}"`;
|
|
2005
|
+
}
|
|
2006
|
+
popoverTemplate = `<div wmContainer #partial partialContainer ${contentMarkup}>`;
|
|
2007
|
+
shared.set('hasPopoverContent', true);
|
|
2008
|
+
}
|
|
2009
|
+
let markup = `<${tagName$s} wmPopover ${getAttrMarkup(attrs)}>`;
|
|
2010
|
+
const contextAttrs = table ? `let-row="row"` : ``;
|
|
2011
|
+
markup += `<ng-template ${contextAttrs}><div tabindex="0" class="popover-start sr-only" aria-label="">popover content start</div>`;
|
|
2012
|
+
// todo keyboard navigation - tab
|
|
2013
|
+
if (popoverTemplate) {
|
|
2014
|
+
markup += `${popoverTemplate ? popoverTemplate : ''}`;
|
|
2015
|
+
}
|
|
2016
|
+
return markup;
|
|
2017
|
+
},
|
|
2018
|
+
post: (attrs, shared) => {
|
|
2019
|
+
let markup = '';
|
|
2020
|
+
if (shared.get('hasPopoverContent')) {
|
|
2021
|
+
markup += `</div>`;
|
|
2022
|
+
}
|
|
2023
|
+
return `${markup}<div tabindex="0" class="popover-end sr-only" aria-label="">popover content ended</div></ng-template></${tagName$s}>`;
|
|
2024
|
+
}
|
|
2025
|
+
};
|
|
2026
|
+
});
|
|
2027
|
+
var popover_build = () => { };
|
|
2028
|
+
|
|
2029
|
+
var popover_build$1 = /*#__PURE__*/Object.freeze({
|
|
2030
|
+
__proto__: null,
|
|
2031
|
+
default: popover_build
|
|
2032
|
+
});
|
|
2033
|
+
|
|
2034
|
+
const tagName$r = 'div';
|
|
2035
|
+
const findChild = (node, childName) => {
|
|
2036
|
+
const child = node && node.children.find(e => (e instanceof Element && e.name === childName));
|
|
2037
|
+
return child;
|
|
2038
|
+
};
|
|
2039
|
+
const getElementNode = (name, node) => {
|
|
2040
|
+
let elementNode;
|
|
2041
|
+
if (!node) {
|
|
2042
|
+
return;
|
|
2043
|
+
}
|
|
2044
|
+
forEach(node.children, (child) => {
|
|
2045
|
+
if (child instanceof Element) {
|
|
2046
|
+
if (child.name === name) {
|
|
2047
|
+
elementNode = child;
|
|
2048
|
+
}
|
|
2049
|
+
else if (child.children) {
|
|
2050
|
+
elementNode = getElementNode(name, child);
|
|
2051
|
+
}
|
|
2052
|
+
}
|
|
2053
|
+
return !elementNode;
|
|
2054
|
+
});
|
|
2055
|
+
return elementNode;
|
|
2056
|
+
};
|
|
2057
|
+
const noSpan = {};
|
|
2058
|
+
const idGen$9 = new IDGenerator('wm_page');
|
|
2059
|
+
register('wm-page', () => {
|
|
2060
|
+
return {
|
|
2061
|
+
template: (node) => {
|
|
2062
|
+
let pageContentNode = findChild(findChild(node, 'wm-content'), 'wm-page-content');
|
|
2063
|
+
if (!pageContentNode) {
|
|
2064
|
+
pageContentNode = getElementNode('wm-page-content', getElementNode('wm-content', node));
|
|
2065
|
+
}
|
|
2066
|
+
if (pageContentNode) {
|
|
2067
|
+
// Wrap content in @if block with proper newlines to avoid template syntax errors
|
|
2068
|
+
pageContentNode.children.unshift(new Text('@if (compilePageContent) {\n', null, undefined, undefined));
|
|
2069
|
+
pageContentNode.children.push(new Text('\n{{onPageContentReady()}}\n}', null, undefined, undefined));
|
|
2070
|
+
}
|
|
2071
|
+
},
|
|
2072
|
+
pre: (attrs) => {
|
|
2073
|
+
const counter = idGen$9.nextUid();
|
|
2074
|
+
return `<${tagName$r} wmPage #${counter}="wmPage" data-role="pageContainer" [attr.aria-label]="${counter}.arialabel" ${getAttrMarkup(attrs)}>`;
|
|
2075
|
+
},
|
|
2076
|
+
post: () => `</${tagName$r}>`
|
|
2077
|
+
};
|
|
2078
|
+
});
|
|
2079
|
+
var page_build = () => { };
|
|
2080
|
+
|
|
2081
|
+
var page_build$1 = /*#__PURE__*/Object.freeze({
|
|
2082
|
+
__proto__: null,
|
|
2083
|
+
default: page_build
|
|
2084
|
+
});
|
|
2085
|
+
|
|
2086
|
+
const tagName$q = 'div';
|
|
2087
|
+
const idGen$8 = new IDGenerator('wm_layout');
|
|
2088
|
+
register('wm-layout', () => {
|
|
2089
|
+
return {
|
|
2090
|
+
pre: (attrs) => {
|
|
2091
|
+
const counter = idGen$8.nextUid();
|
|
2092
|
+
return `<${tagName$q} wmLayout #${counter}="wmLayout" data-role="pageContainer" [attr.aria-label]="${counter}.arialabel" ${getAttrMarkup(attrs)}>`;
|
|
2093
|
+
},
|
|
2094
|
+
post: () => `</${tagName$q}>`
|
|
2095
|
+
};
|
|
2096
|
+
});
|
|
2097
|
+
var layout_build = () => { };
|
|
2098
|
+
|
|
2099
|
+
var layout_build$1 = /*#__PURE__*/Object.freeze({
|
|
2100
|
+
__proto__: null,
|
|
2101
|
+
default: layout_build
|
|
2102
|
+
});
|
|
2103
|
+
|
|
2104
|
+
const tagName$p = 'router-outlet';
|
|
2105
|
+
register('wm-router-outlet', () => {
|
|
2106
|
+
return {
|
|
2107
|
+
pre: attrs => `<div wmRouterOutlet name="wmRouterOutlet" ${getAttrMarkup(attrs)}><${tagName$p} (activate)="onActivate($event)">`,
|
|
2108
|
+
post: () => `</${tagName$p}></div>`
|
|
2109
|
+
};
|
|
2110
|
+
});
|
|
2111
|
+
var routerOutlet_build = () => { };
|
|
2112
|
+
|
|
2113
|
+
var routerOutlet_build$1 = /*#__PURE__*/Object.freeze({
|
|
2114
|
+
__proto__: null,
|
|
2115
|
+
default: routerOutlet_build
|
|
2116
|
+
});
|
|
2117
|
+
|
|
2118
|
+
const tagName$o = 'nav';
|
|
2119
|
+
register('wm-pagination', () => {
|
|
2120
|
+
return {
|
|
2121
|
+
pre: attrs => `<${tagName$o} wmPagination data-identifier="pagination" aria-label="Page navigation" ${getAttrMarkup(attrs)}>`,
|
|
2122
|
+
post: () => `</${tagName$o}>`
|
|
2123
|
+
};
|
|
2124
|
+
});
|
|
2125
|
+
var pagination_build = () => { };
|
|
2126
|
+
|
|
2127
|
+
var pagination_build$1 = /*#__PURE__*/Object.freeze({
|
|
2128
|
+
__proto__: null,
|
|
2129
|
+
default: pagination_build
|
|
2130
|
+
});
|
|
2131
|
+
|
|
2132
|
+
const tagName$n = 'main';
|
|
2133
|
+
register('wm-content', () => {
|
|
2134
|
+
return {
|
|
2135
|
+
pre: attrs => `<${tagName$n} wmContent data-role="page-content" role="main" ${getAttrMarkup(attrs)}>`,
|
|
2136
|
+
post: () => `</${tagName$n}>`
|
|
2137
|
+
};
|
|
2138
|
+
});
|
|
2139
|
+
var content_build = () => { };
|
|
2140
|
+
|
|
2141
|
+
var content_build$1 = /*#__PURE__*/Object.freeze({
|
|
2142
|
+
__proto__: null,
|
|
2143
|
+
default: content_build
|
|
2144
|
+
});
|
|
2145
|
+
|
|
2146
|
+
const tagName$m = 'footer';
|
|
2147
|
+
const idGen$7 = new IDGenerator('wm_footer');
|
|
2148
|
+
register('wm-footer', () => {
|
|
2149
|
+
return {
|
|
2150
|
+
pre: (attrs) => {
|
|
2151
|
+
const counter = idGen$7.nextUid();
|
|
2152
|
+
return `<${tagName$m} wmFooter #${counter}="wmFooter" partialContainer data-role="page-footer" role="contentinfo" [attr.aria-label]="${counter}.arialabel || 'Page footer'" ${getAttrMarkup(attrs)}>`;
|
|
2153
|
+
},
|
|
2154
|
+
post: () => `</${tagName$m}>`
|
|
2155
|
+
};
|
|
2156
|
+
});
|
|
2157
|
+
var footer_build = () => { };
|
|
2158
|
+
|
|
2159
|
+
var footer_build$1 = /*#__PURE__*/Object.freeze({
|
|
2160
|
+
__proto__: null,
|
|
2161
|
+
default: footer_build
|
|
2162
|
+
});
|
|
2163
|
+
|
|
2164
|
+
const tagName$l = 'header';
|
|
2165
|
+
const idGen$6 = new IDGenerator('wm_header');
|
|
2166
|
+
register('wm-header', () => {
|
|
2167
|
+
return {
|
|
2168
|
+
pre: (attrs) => {
|
|
2169
|
+
const counter = idGen$6.nextUid();
|
|
2170
|
+
return `<${tagName$l} wmHeader #${counter}="wmHeader" partialContainer data-role="page-header" role="banner" [attr.aria-label]="${counter}.arialabel || 'Page header'" ${getAttrMarkup(attrs)}>`;
|
|
2171
|
+
},
|
|
2172
|
+
post: () => `</${tagName$l}>`
|
|
2173
|
+
};
|
|
2174
|
+
});
|
|
2175
|
+
var header_build = () => { };
|
|
2176
|
+
|
|
2177
|
+
var header_build$1 = /*#__PURE__*/Object.freeze({
|
|
2178
|
+
__proto__: null,
|
|
2179
|
+
default: header_build
|
|
2180
|
+
});
|
|
2181
|
+
|
|
2182
|
+
const tagName$k = 'aside';
|
|
2183
|
+
const idGen$5 = new IDGenerator('wm_left_panel');
|
|
2184
|
+
register('wm-left-panel', () => {
|
|
2185
|
+
return {
|
|
2186
|
+
pre: (attrs) => {
|
|
2187
|
+
const counter = idGen$5.nextUid();
|
|
2188
|
+
return `<${tagName$k} wmLeftPanel #${counter}="wmLeftPanel" partialContainer data-role="page-left-panel" [attr.aria-label]="${counter}.arialabel || 'Left navigation panel'" wmSmoothscroll="${attrs.get('smoothscroll') || 'false'}" ${getAttrMarkup(attrs)}>`;
|
|
2189
|
+
},
|
|
2190
|
+
post: () => `</${tagName$k}>`
|
|
2191
|
+
};
|
|
2192
|
+
});
|
|
2193
|
+
var leftPanel_build = () => { };
|
|
2194
|
+
|
|
2195
|
+
var leftPanel_build$1 = /*#__PURE__*/Object.freeze({
|
|
2196
|
+
__proto__: null,
|
|
2197
|
+
default: leftPanel_build
|
|
2198
|
+
});
|
|
2199
|
+
|
|
2200
|
+
const tagName$j = 'header';
|
|
2201
|
+
register('wm-mobile-navbar', () => {
|
|
2202
|
+
return {
|
|
2203
|
+
pre: attrs => `<${tagName$j} wmMobileNavbar ${getAttrMarkup(attrs)}>`,
|
|
2204
|
+
post: () => `</${tagName$j}>`
|
|
2205
|
+
};
|
|
2206
|
+
});
|
|
2207
|
+
var mobileNavbar_build = () => { };
|
|
2208
|
+
|
|
2209
|
+
var mobileNavbar_build$1 = /*#__PURE__*/Object.freeze({
|
|
2210
|
+
__proto__: null,
|
|
2211
|
+
default: mobileNavbar_build
|
|
2212
|
+
});
|
|
2213
|
+
|
|
2214
|
+
const tagName$i = 'aside';
|
|
2215
|
+
const idGen$4 = new IDGenerator('wm_right_panel');
|
|
2216
|
+
register('wm-right-panel', () => {
|
|
2217
|
+
return {
|
|
2218
|
+
pre: (attrs) => {
|
|
2219
|
+
const counter = idGen$4.nextUid();
|
|
2220
|
+
return `<${tagName$i} wmRightPanel #${counter}="wmRightPanel" partialContainer data-role="page-right-panel" role="complementary" [attr.aria-label]="${counter}.arialabel || 'Right navigation panel'" ${getAttrMarkup(attrs)}>`;
|
|
2221
|
+
},
|
|
2222
|
+
post: () => `</${tagName$i}>`
|
|
2223
|
+
};
|
|
2224
|
+
});
|
|
2225
|
+
var rightPanel_build = () => { };
|
|
2226
|
+
|
|
2227
|
+
var rightPanel_build$1 = /*#__PURE__*/Object.freeze({
|
|
2228
|
+
__proto__: null,
|
|
2229
|
+
default: rightPanel_build
|
|
2230
|
+
});
|
|
2231
|
+
|
|
2232
|
+
const tagName$h = 'div';
|
|
2233
|
+
register('wm-page-content', () => {
|
|
2234
|
+
return {
|
|
2235
|
+
template: (node) => {
|
|
2236
|
+
// For SPA pages, just append onPageContentReady() without conditional wrapping
|
|
2237
|
+
for (let attr of node.attrs) {
|
|
2238
|
+
if (attr.name === 'spa' && attr.value === 'true') {
|
|
2239
|
+
// No conditional wrapping needed - content should render immediately
|
|
2240
|
+
node.children.push(new Text('{{onPageContentReady()}}', null, undefined, undefined));
|
|
2241
|
+
break;
|
|
2242
|
+
}
|
|
2243
|
+
}
|
|
2244
|
+
},
|
|
2245
|
+
pre: attrs => `<${tagName$h} wmPageContent ${attrs.get('spa') && 'wmSpaPage' || ''} wmSmoothscroll="${attrs.get('smoothscroll') || 'false'}" ${getAttrMarkup(attrs)}>`,
|
|
2246
|
+
post: () => `</${tagName$h}>`,
|
|
2247
|
+
imports: (attrs) => {
|
|
2248
|
+
if (attrs.get('spa')) {
|
|
2249
|
+
return ['spa-page-content'];
|
|
2250
|
+
}
|
|
2251
|
+
return [];
|
|
2252
|
+
}
|
|
2253
|
+
};
|
|
2254
|
+
});
|
|
2255
|
+
var pageContent_build = () => { };
|
|
2256
|
+
|
|
2257
|
+
var pageContent_build$1 = /*#__PURE__*/Object.freeze({
|
|
2258
|
+
__proto__: null,
|
|
2259
|
+
default: pageContent_build
|
|
2260
|
+
});
|
|
2261
|
+
|
|
2262
|
+
const tagName$g = 'div';
|
|
2263
|
+
register('wm-mobile-tabbar', () => {
|
|
2264
|
+
return {
|
|
2265
|
+
pre: attrs => `<${tagName$g} wmMobileTabbar ${getAttrMarkup(attrs)}>`,
|
|
2266
|
+
post: () => `</${tagName$g}>`
|
|
2267
|
+
};
|
|
2268
|
+
});
|
|
2269
|
+
var tabBar_build = () => { };
|
|
2270
|
+
|
|
2271
|
+
var tabBar_build$1 = /*#__PURE__*/Object.freeze({
|
|
2272
|
+
__proto__: null,
|
|
2273
|
+
default: tabBar_build
|
|
2274
|
+
});
|
|
2275
|
+
|
|
2276
|
+
const tagName$f = 'section';
|
|
2277
|
+
const idGen$3 = new IDGenerator('wm_top_nav');
|
|
2278
|
+
register('wm-top-nav', () => {
|
|
2279
|
+
return {
|
|
2280
|
+
pre: (attrs) => {
|
|
2281
|
+
const counter = idGen$3.nextUid();
|
|
2282
|
+
return `<${tagName$f} wmTopNav #${counter}="wmTopNav" partialContainer data-role="page-topnav" role="navigation" [attr.aria-label]="${counter}.arialabel || 'Second level navigation'" ${getAttrMarkup(attrs)}>`;
|
|
2283
|
+
},
|
|
2284
|
+
post: () => `</${tagName$f}>`
|
|
2285
|
+
};
|
|
2286
|
+
});
|
|
2287
|
+
var topNav_build = () => { };
|
|
2288
|
+
|
|
2289
|
+
var topNav_build$1 = /*#__PURE__*/Object.freeze({
|
|
2290
|
+
__proto__: null,
|
|
2291
|
+
default: topNav_build
|
|
2292
|
+
});
|
|
2293
|
+
|
|
2294
|
+
const tagName$e = 'section';
|
|
2295
|
+
register('wm-partial', () => {
|
|
2296
|
+
return {
|
|
2297
|
+
template: (node) => {
|
|
2298
|
+
// Wrap content in @if block with proper newlines to avoid template syntax errors
|
|
2299
|
+
node.children.unshift(new Text('@if (compileContent) {\n', null, undefined, undefined));
|
|
2300
|
+
node.children.push(new Text('\n}', null, undefined, undefined));
|
|
2301
|
+
},
|
|
2302
|
+
pre: attrs => `<${tagName$e} wmPartial data-role="partial" ${getAttrMarkup(attrs)}>`,
|
|
2303
|
+
post: () => `</${tagName$e}>`
|
|
2304
|
+
};
|
|
2305
|
+
});
|
|
2306
|
+
var partial_build = () => { };
|
|
2307
|
+
|
|
2308
|
+
var partial_build$1 = /*#__PURE__*/Object.freeze({
|
|
2309
|
+
__proto__: null,
|
|
2310
|
+
default: partial_build
|
|
2311
|
+
});
|
|
2312
|
+
|
|
2313
|
+
const tagName$d = 'div';
|
|
2314
|
+
register('wm-param', () => {
|
|
2315
|
+
return {
|
|
2316
|
+
pre: attrs => `<${tagName$d} wmParam hidden ${getAttrMarkup(attrs)}>`,
|
|
2317
|
+
post: () => `</${tagName$d}>`
|
|
2318
|
+
};
|
|
2319
|
+
});
|
|
2320
|
+
var partialParam_build = () => { };
|
|
2321
|
+
|
|
2322
|
+
var partialParam_build$1 = /*#__PURE__*/Object.freeze({
|
|
2323
|
+
__proto__: null,
|
|
2324
|
+
default: partialParam_build
|
|
2325
|
+
});
|
|
2326
|
+
|
|
2327
|
+
const tagName$c = 'section';
|
|
2328
|
+
register('wm-prefab', () => {
|
|
2329
|
+
return {
|
|
2330
|
+
pre: attrs => `<${tagName$c} wmPrefab redrawable data-role="prefab" ${getAttrMarkup(attrs)}>`,
|
|
2331
|
+
post: () => `</${tagName$c}>`
|
|
2332
|
+
};
|
|
2333
|
+
});
|
|
2334
|
+
var prefab_build = () => { };
|
|
2335
|
+
|
|
2336
|
+
var prefab_build$1 = /*#__PURE__*/Object.freeze({
|
|
2337
|
+
__proto__: null,
|
|
2338
|
+
default: prefab_build
|
|
2339
|
+
});
|
|
2340
|
+
|
|
2341
|
+
const tagName$b = 'div';
|
|
2342
|
+
register('wm-prefab-container', () => {
|
|
2343
|
+
return {
|
|
2344
|
+
template: (node) => {
|
|
2345
|
+
// Wrap content in @if block with proper newlines to avoid template syntax errors
|
|
2346
|
+
node.children.unshift(new Text('@if (compileContent) {\n', null, undefined, undefined));
|
|
2347
|
+
node.children.push(new Text('\n}', null, undefined, undefined));
|
|
2348
|
+
},
|
|
2349
|
+
pre: attrs => `<${tagName$b} wmPrefabContainer ${getAttrMarkup(attrs)}>`,
|
|
2350
|
+
post: () => `</${tagName$b}>`
|
|
2351
|
+
};
|
|
2352
|
+
});
|
|
2353
|
+
var prefabContainer_build = () => { };
|
|
2354
|
+
|
|
2355
|
+
var prefabContainer_build$1 = /*#__PURE__*/Object.freeze({
|
|
2356
|
+
__proto__: null,
|
|
2357
|
+
default: prefabContainer_build
|
|
2358
|
+
});
|
|
2359
|
+
|
|
2360
|
+
const tagName$a = 'div';
|
|
2361
|
+
register('wm-table-action', () => {
|
|
2362
|
+
return {
|
|
2363
|
+
pre: attrs => `<${tagName$a} name="${attrs.get('name') || attrs.get('key')}" wmTableAction ${getAttrMarkup(attrs)}>`,
|
|
2364
|
+
post: () => `</${tagName$a}>`
|
|
2365
|
+
};
|
|
2366
|
+
});
|
|
2367
|
+
var tableAction_build = () => { };
|
|
2368
|
+
|
|
2369
|
+
var tableAction_build$1 = /*#__PURE__*/Object.freeze({
|
|
2370
|
+
__proto__: null,
|
|
2371
|
+
default: tableAction_build
|
|
2372
|
+
});
|
|
2373
|
+
|
|
2374
|
+
const tagName$9 = 'div';
|
|
2375
|
+
register('wm-table-column-group', () => {
|
|
2376
|
+
return {
|
|
2377
|
+
pre: attrs => `<${tagName$9} wmTableColumnGroup ${getAttrMarkup(attrs)}>`,
|
|
2378
|
+
post: () => `</${tagName$9}>`
|
|
2379
|
+
};
|
|
2380
|
+
});
|
|
2381
|
+
var tableColumnGroup_build = () => { };
|
|
2382
|
+
|
|
2383
|
+
var tableColumnGroup_build$1 = /*#__PURE__*/Object.freeze({
|
|
2384
|
+
__proto__: null,
|
|
2385
|
+
default: tableColumnGroup_build
|
|
2386
|
+
});
|
|
2387
|
+
|
|
2388
|
+
const tagName$8 = 'div';
|
|
2389
|
+
const idGen$2 = new IDGenerator('data_table_form_');
|
|
2390
|
+
const formWidgets = new Set([
|
|
2391
|
+
'wm-text',
|
|
2392
|
+
'wm-textarea',
|
|
2393
|
+
'wm-checkbox',
|
|
2394
|
+
'wm-slider',
|
|
2395
|
+
'wm-currency',
|
|
2396
|
+
'wm-switch',
|
|
2397
|
+
'wm-select',
|
|
2398
|
+
'wm-checkboxset',
|
|
2399
|
+
'wm-radioset',
|
|
2400
|
+
'wm-date',
|
|
2401
|
+
'wm-time',
|
|
2402
|
+
'wm-timestamp',
|
|
2403
|
+
'wm-rating',
|
|
2404
|
+
'wm-datetime',
|
|
2405
|
+
'wm-search',
|
|
2406
|
+
'wm-chips',
|
|
2407
|
+
'wm-colorpicker'
|
|
2408
|
+
]);
|
|
2409
|
+
// Add ngModelOptions standalone true as inner custom form widgets will be not part of table ngform
|
|
2410
|
+
const addNgModelStandalone = (children = []) => {
|
|
2411
|
+
let formControlAttr = [];
|
|
2412
|
+
children.forEach(childNode => {
|
|
2413
|
+
if (formWidgets.has(childNode.name)) {
|
|
2414
|
+
// angular build is failing when formControlName is undefined for checkbox and mgModelOptions attr is present
|
|
2415
|
+
if (childNode.name === 'wm-checkbox') {
|
|
2416
|
+
formControlAttr = childNode.attrs.filter(function (attr) {
|
|
2417
|
+
return attr.name === 'formControlName';
|
|
2418
|
+
});
|
|
2419
|
+
if (formControlAttr.length) {
|
|
2420
|
+
return;
|
|
2421
|
+
}
|
|
2422
|
+
}
|
|
2423
|
+
childNode.attrs.push(new Attribute('[ngModelOptions]', '{standalone: true}', 1, 1, 1, undefined, undefined));
|
|
2424
|
+
}
|
|
2425
|
+
addNgModelStandalone(childNode.children);
|
|
2426
|
+
});
|
|
2427
|
+
};
|
|
2428
|
+
// get the filter template (widget and filter menu) to be displayed in filter row
|
|
2429
|
+
const getFilterTemplate = (attrs, pCounter) => {
|
|
2430
|
+
const widget = attrs.get('filterwidget') || getDataTableFilterWidget(attrs.get('type') || DataType.STRING);
|
|
2431
|
+
const fieldName = attrs.get('binding');
|
|
2432
|
+
const type = attrs.get('type') || 'string';
|
|
2433
|
+
let datasourceBinding, submitEventBinding;
|
|
2434
|
+
const datasetAttr = attrs.get('filterdataset.bind');
|
|
2435
|
+
// when multicolumn is selected and filterwidget as autocomplete is assigned to dataset.
|
|
2436
|
+
if (attrs.get('filterwidget') === 'autocomplete') {
|
|
2437
|
+
if (datasetAttr) {
|
|
2438
|
+
const binddatasource = getDataSource(datasetAttr);
|
|
2439
|
+
datasourceBinding = `dataset.bind="${datasetAttr}" datasource.bind="${binddatasource}"`;
|
|
2440
|
+
}
|
|
2441
|
+
submitEventBinding = `submit.event="changeFn('${fieldName}')"`;
|
|
2442
|
+
}
|
|
2443
|
+
const innerTmpl = `#filterWidget formControlName="${fieldName + '_filter'}" ${datasourceBinding} ${submitEventBinding} change.event="changeFn('${fieldName}')"
|
|
2444
|
+
disabled.bind="isDisabled('${fieldName}')"`;
|
|
2445
|
+
const options = { inputType: 'filterinputtype' };
|
|
2446
|
+
const widgetTmpl = `${getFormWidgetTemplate(widget, innerTmpl, attrs, options)}`;
|
|
2447
|
+
return `<ng-template #filterTmpl let-changeFn="changeFn" let-isDisabled="isDisabled">
|
|
2448
|
+
<div class="input-group ${widget}" data-col-identifier="${fieldName}">
|
|
2449
|
+
${widgetTmpl}
|
|
2450
|
+
@if(${pCounter}.showClearIcon('${fieldName}')){
|
|
2451
|
+
<span class="input-group-addon filter-clear-icon" >
|
|
2452
|
+
<button class="btn-transparent btn app-button" aria-label="Clear button" type="button" (click)="${pCounter}.clearRowFilter('${fieldName}')">
|
|
2453
|
+
<i class="app-icon wi wi-clear" aria-hidden="true"></i>
|
|
2454
|
+
</button>
|
|
2455
|
+
</span>
|
|
2456
|
+
}
|
|
2457
|
+
<span class="input-group-addon" dropdown container="body" (onShown)="${pCounter}.adjustContainer('${fieldName}');">
|
|
2458
|
+
<button class="btn-transparent btn app-button" type="button" dropdownToggle><i class="app-icon wi wi-filter-list"></i></button>
|
|
2459
|
+
<ul class="matchmode-dropdown dropdown-menu" *dropdownMenu>
|
|
2460
|
+
@for (matchMode of ${pCounter}.matchModeTypesMap['${type}']; track matchMode) {
|
|
2461
|
+
<li [ngClass]="{active: matchMode === (${pCounter}.rowFilter['${fieldName}'].matchMode || ${pCounter}.matchModeTypesMap['${type}'][0])}">
|
|
2462
|
+
<a href="javascript:void(0);" (click)="${pCounter}.onFilterConditionSelect('${fieldName}', matchMode)" [innerText]="${pCounter}.matchModeMsgs[matchMode]"></a>
|
|
2463
|
+
</li>
|
|
2464
|
+
}
|
|
2465
|
+
</ul>
|
|
2466
|
+
</span>
|
|
2467
|
+
</div></ng-template>`;
|
|
2468
|
+
};
|
|
2469
|
+
const getEventsTmpl = attrs => {
|
|
2470
|
+
let tmpl = '';
|
|
2471
|
+
attrs.forEach((val, key) => {
|
|
2472
|
+
if (key.endsWith('.event')) {
|
|
2473
|
+
tmpl += `${key}="${val}" `;
|
|
2474
|
+
}
|
|
2475
|
+
});
|
|
2476
|
+
return tmpl;
|
|
2477
|
+
};
|
|
2478
|
+
// Generate inline edit properties template. Properties requiring row instance are generated here.
|
|
2479
|
+
const getInlineEditRowPropsTmpl = attrs => {
|
|
2480
|
+
const propAttrs = new Map();
|
|
2481
|
+
const props = ['disabled', 'disabled.bind'];
|
|
2482
|
+
props.forEach(prop => {
|
|
2483
|
+
if (attrs.get(prop)) {
|
|
2484
|
+
propAttrs.set(prop, attrs.get(prop));
|
|
2485
|
+
attrs.delete(prop);
|
|
2486
|
+
}
|
|
2487
|
+
});
|
|
2488
|
+
return getAttrMarkup(propAttrs);
|
|
2489
|
+
};
|
|
2490
|
+
// get the inline widget template
|
|
2491
|
+
const getInlineEditWidgetTmpl = (attrs, isNewRow, errorstyle, pCounter) => {
|
|
2492
|
+
const options = {};
|
|
2493
|
+
const fieldName = attrs.get('binding');
|
|
2494
|
+
const widget = attrs.get('edit-widget-type') || getEditModeWidget({
|
|
2495
|
+
'type': attrs.get('type'),
|
|
2496
|
+
'related-entity-name': attrs.get('related-entity-name'),
|
|
2497
|
+
'primary-key': attrs.get('primary-key')
|
|
2498
|
+
});
|
|
2499
|
+
let widgetRef = '';
|
|
2500
|
+
let formControl = '';
|
|
2501
|
+
let wmFormWidget = '';
|
|
2502
|
+
if (widget === FormWidgetType.UPLOAD) {
|
|
2503
|
+
options.uploadProps = {
|
|
2504
|
+
formName: idGen$2.nextUid(),
|
|
2505
|
+
name: fieldName
|
|
2506
|
+
};
|
|
2507
|
+
options.counter = pCounter;
|
|
2508
|
+
}
|
|
2509
|
+
else {
|
|
2510
|
+
widgetRef = isNewRow ? '#inlineWidgetNew' : '#inlineWidget';
|
|
2511
|
+
formControl = isNewRow ? `formControlName="${fieldName}_new"` : `formControlName="${fieldName}"`;
|
|
2512
|
+
wmFormWidget = 'wmFormWidget';
|
|
2513
|
+
}
|
|
2514
|
+
options.inputType = 'editinputtype';
|
|
2515
|
+
const tmplRef = isNewRow ? '#inlineWidgetTmplNew' : '#inlineWidgetTmpl';
|
|
2516
|
+
const eventsTmpl = widget === FormWidgetType.UPLOAD ? '' : getEventsTmpl(attrs);
|
|
2517
|
+
const rowPropsTl = getInlineEditRowPropsTmpl(attrs);
|
|
2518
|
+
const innerTmpl = `${widgetRef} ${wmFormWidget} key="${fieldName}" data-field-name="${fieldName}" ${formControl} ${eventsTmpl} ${rowPropsTl}`;
|
|
2519
|
+
const widgetTmpl = getFormWidgetTemplate(widget, innerTmpl, attrs, options);
|
|
2520
|
+
const pendingSpinnerStatus = isNewRow ? 'getPendingSpinnerStatusNew' : 'getPendingSpinnerStatus';
|
|
2521
|
+
const validationErrorTmpl = getValiationErrorTemplate(errorstyle);
|
|
2522
|
+
/* This element with error message is used to run Automation checks if any error message is present */
|
|
2523
|
+
const errorMsgElementForAutomation = '@if(getValidationMessage()){<span class="sr-only" >{{getValidationMessage()}}</span>}';
|
|
2524
|
+
return `<ng-template ${tmplRef} let-row="row" let-getControl="getControl" let-getValidationMessage="getValidationMessage" let-${pendingSpinnerStatus}="${pendingSpinnerStatus}">
|
|
2525
|
+
<div data-col-identifier="${fieldName}" >
|
|
2526
|
+
${widgetTmpl}
|
|
2527
|
+
${validationErrorTmpl}
|
|
2528
|
+
@if(${pendingSpinnerStatus}()){
|
|
2529
|
+
<div class="overlay"><span aria-hidden="true" class="form-field-spinner fa fa-circle-o-notch fa-spin form-control-feedback"></span></div>
|
|
2530
|
+
}
|
|
2531
|
+
${errorMsgElementForAutomation}
|
|
2532
|
+
</div>
|
|
2533
|
+
</ng-template>`;
|
|
2534
|
+
};
|
|
2535
|
+
const getValiationErrorTemplate = (errorTmplType) => {
|
|
2536
|
+
let validationErrorTmpl = '';
|
|
2537
|
+
switch (errorTmplType) {
|
|
2538
|
+
case 'bottom':
|
|
2539
|
+
validationErrorTmpl = `@if(getValidationMessage() && getControl() && getControl().invalid && getControl().touched){<span class="help-block text-danger" >{{getValidationMessage()}}</span>}`;
|
|
2540
|
+
break;
|
|
2541
|
+
case 'hover':
|
|
2542
|
+
default:
|
|
2543
|
+
// added app-label class as in foundation.css the default class(app-label) has been written for label tag
|
|
2544
|
+
validationErrorTmpl = `@if(getValidationMessage() && getControl() && getControl().invalid && getControl().touched){<span placement="top" container="body" tooltip="{{getValidationMessage()}}" class="app-label text-danger wi wi-error">
|
|
2545
|
+
</span>}`;
|
|
2546
|
+
}
|
|
2547
|
+
return validationErrorTmpl;
|
|
2548
|
+
};
|
|
2549
|
+
const getFormatExpression = (attrs) => {
|
|
2550
|
+
const columnValue = `row.getProperty('${attrs.get('binding')}')`;
|
|
2551
|
+
let formatPattern = attrs.get('custompipeformat') || attrs.get('formatpattern');
|
|
2552
|
+
let colExpression = '';
|
|
2553
|
+
// For date time data types, if format pattern is not applied, Apply default toDate format
|
|
2554
|
+
if (isDateTimeType(attrs.get('type')) && (!formatPattern || formatPattern === 'None')) {
|
|
2555
|
+
attrs.set('formatpattern', 'toDate');
|
|
2556
|
+
attrs.delete('datepattern');
|
|
2557
|
+
formatPattern = 'toDate';
|
|
2558
|
+
}
|
|
2559
|
+
switch (formatPattern) {
|
|
2560
|
+
case 'toDate':
|
|
2561
|
+
colExpression = `{{${columnValue} | toDate: colDef.datepattern}}`;
|
|
2562
|
+
break;
|
|
2563
|
+
case 'toCurrency':
|
|
2564
|
+
if (attrs.get('currencypattern')) {
|
|
2565
|
+
colExpression = `{{${columnValue} | toCurrency: '${attrs.get('currencypattern')}`;
|
|
2566
|
+
if (attrs.get('fractionsize')) {
|
|
2567
|
+
colExpression += `': ${attrs.get('fractionsize')}}}`;
|
|
2568
|
+
}
|
|
2569
|
+
else {
|
|
2570
|
+
colExpression += `'}}`;
|
|
2571
|
+
}
|
|
2572
|
+
}
|
|
2573
|
+
break;
|
|
2574
|
+
case 'numberToString':
|
|
2575
|
+
if (attrs.get('fractionsize')) {
|
|
2576
|
+
colExpression = `{{${columnValue} | numberToString: '${attrs.get('fractionsize')}'}}`;
|
|
2577
|
+
}
|
|
2578
|
+
break;
|
|
2579
|
+
case 'stringToNumber':
|
|
2580
|
+
colExpression = `{{${columnValue} | stringToNumber}}`;
|
|
2581
|
+
break;
|
|
2582
|
+
case 'timeFromNow':
|
|
2583
|
+
colExpression = `{{${columnValue} | timeFromNow}}`;
|
|
2584
|
+
break;
|
|
2585
|
+
case 'prefix':
|
|
2586
|
+
if (attrs.get('prefix')) {
|
|
2587
|
+
colExpression = `{{${columnValue} | prefix: '${attrs.get('prefix')}'}}`;
|
|
2588
|
+
}
|
|
2589
|
+
break;
|
|
2590
|
+
case 'suffix':
|
|
2591
|
+
if (attrs.get('suffix')) {
|
|
2592
|
+
colExpression = `{{${columnValue} | suffix: '${attrs.get('suffix')}'}}`;
|
|
2593
|
+
}
|
|
2594
|
+
break;
|
|
2595
|
+
default:
|
|
2596
|
+
if (checkIsCustomPipeExpression(formatPattern)) {
|
|
2597
|
+
colExpression = `{{${columnValue} | ${formatPattern} : ${`row`}}}`;
|
|
2598
|
+
}
|
|
2599
|
+
break;
|
|
2600
|
+
}
|
|
2601
|
+
return colExpression;
|
|
2602
|
+
};
|
|
2603
|
+
register('wm-table-column', () => {
|
|
2604
|
+
return {
|
|
2605
|
+
requires: ['wm-table'],
|
|
2606
|
+
template: (node, shared) => {
|
|
2607
|
+
if (node.children.length) {
|
|
2608
|
+
// If node has children, but an empty text node dont generate custom expression
|
|
2609
|
+
if (node.children.length === 1 && node.children[0] instanceof Text && node.children[0].value.trim().length === 0) {
|
|
2610
|
+
return;
|
|
2611
|
+
}
|
|
2612
|
+
shared.set('customExpression', true);
|
|
2613
|
+
addNgModelStandalone(node.children);
|
|
2614
|
+
}
|
|
2615
|
+
},
|
|
2616
|
+
pre: (attrs, shared, parentTable) => {
|
|
2617
|
+
let rowFilterTmpl = '';
|
|
2618
|
+
let inlineEditTmpl = '';
|
|
2619
|
+
let inlineNewEditTmpl = '';
|
|
2620
|
+
let parentForm = '';
|
|
2621
|
+
if (parentTable) {
|
|
2622
|
+
const pCounter = parentTable.get('table_reference');
|
|
2623
|
+
rowFilterTmpl = (parentTable.get('filtermode') === 'multicolumn' && attrs.get('searchable') !== 'false') ? getFilterTemplate(attrs, pCounter) : '';
|
|
2624
|
+
const editMode = parentTable.get('editmode');
|
|
2625
|
+
const isInlineEdit = (editMode !== EDIT_MODE.DIALOG && editMode !== EDIT_MODE.FORM && attrs.get('readonly') !== 'true');
|
|
2626
|
+
inlineEditTmpl = isInlineEdit ? getInlineEditWidgetTmpl(attrs, false, parentTable.get('errorstyle'), pCounter) : '';
|
|
2627
|
+
inlineNewEditTmpl = isInlineEdit && editMode === EDIT_MODE.QUICK_EDIT && parentTable.get('shownewrow') !== 'false' ? getInlineEditWidgetTmpl(attrs, true, attrs.get('errorstyle')) : '';
|
|
2628
|
+
parentForm = ` [formGroup]="${pCounter}.ngform" `;
|
|
2629
|
+
}
|
|
2630
|
+
const formatPattern = attrs.get('formatpattern');
|
|
2631
|
+
const customExpr = `<ng-template #customExprTmpl let-row="row" let-colDef="colDef" let-editRow="editRow" let-deleteRow="deleteRow" let-addNewRow="addNewRow">`;
|
|
2632
|
+
let customExprTmpl = '';
|
|
2633
|
+
let formatExprTmpl = '';
|
|
2634
|
+
if (shared.get('customExpression')) {
|
|
2635
|
+
attrs.set('customExpression', 'true');
|
|
2636
|
+
customExprTmpl = `${customExpr}<div data-col-identifier="${attrs.get('binding')}">`;
|
|
2637
|
+
}
|
|
2638
|
+
else if ((formatPattern && formatPattern !== 'None') || isDateTimeType(attrs.get('type'))) {
|
|
2639
|
+
formatExprTmpl = getFormatExpression(attrs);
|
|
2640
|
+
if (formatExprTmpl) {
|
|
2641
|
+
shared.set('customExpression', true);
|
|
2642
|
+
attrs.set('customExpression', 'true');
|
|
2643
|
+
customExprTmpl = `${customExpr}<div data-col-identifier="${attrs.get('binding')}" title="${formatExprTmpl}">${formatExprTmpl}`;
|
|
2644
|
+
}
|
|
2645
|
+
}
|
|
2646
|
+
return `<${tagName$8} wmTableColumn ${getAttrMarkup(attrs)} ${parentForm}>
|
|
2647
|
+
${rowFilterTmpl}
|
|
2648
|
+
${inlineEditTmpl}
|
|
2649
|
+
${inlineNewEditTmpl}
|
|
2650
|
+
${customExprTmpl}`;
|
|
2651
|
+
},
|
|
2652
|
+
post: (attrs, shared) => {
|
|
2653
|
+
let customExprTmpl = '';
|
|
2654
|
+
if (shared.get('customExpression')) {
|
|
2655
|
+
customExprTmpl = `</div></ng-template>`;
|
|
2656
|
+
}
|
|
2657
|
+
return `${customExprTmpl}</${tagName$8}>`;
|
|
2658
|
+
},
|
|
2659
|
+
imports: (attrs) => {
|
|
2660
|
+
const editWidgetType = attrs.get('edit-widget-type');
|
|
2661
|
+
const filterWidgetType = attrs.get('filterwidget') || getDataTableFilterWidget(attrs.get('type') || DataType.STRING);
|
|
2662
|
+
const formatpattern = attrs.get('custompipeformat') || attrs.get('formatpattern');
|
|
2663
|
+
let pipeImports = [];
|
|
2664
|
+
if (!!formatpattern) {
|
|
2665
|
+
if (checkIsCustomPipeExpression(formatpattern)) {
|
|
2666
|
+
pipeImports.push('custom');
|
|
2667
|
+
}
|
|
2668
|
+
else {
|
|
2669
|
+
pipeImports.push(formatpattern);
|
|
2670
|
+
}
|
|
2671
|
+
}
|
|
2672
|
+
return [getRequiredFormWidget(editWidgetType), getRequiredFormWidget(filterWidgetType), 'wm-table', ...pipeImports];
|
|
2673
|
+
}
|
|
2674
|
+
};
|
|
2675
|
+
});
|
|
2676
|
+
var tableColumn_build = () => { };
|
|
2677
|
+
|
|
2678
|
+
var tableColumn_build$1 = /*#__PURE__*/Object.freeze({
|
|
2679
|
+
__proto__: null,
|
|
2680
|
+
default: tableColumn_build
|
|
2681
|
+
});
|
|
2682
|
+
|
|
2683
|
+
const tagName$7 = 'div';
|
|
2684
|
+
const getRowExpansionActionTmpl = (attrs) => {
|
|
2685
|
+
const tag = attrs.get('widget-type') === 'anchor' ? 'a' : 'button';
|
|
2686
|
+
const directive = attrs.get('widget-type') === 'anchor' ? 'wmAnchor' : 'wmButton';
|
|
2687
|
+
const title = attrs.get('expandtitle') || attrs.get('display-name') || 'Collapse/Expand';
|
|
2688
|
+
return `<ng-template #rowExpansionActionTmpl let-row="row">
|
|
2689
|
+
<${tag} ${directive}
|
|
2690
|
+
title="${title}"
|
|
2691
|
+
${getRowActionAttrs(attrs)}
|
|
2692
|
+
class="${attrs.get('class')} row-expansion-button"
|
|
2693
|
+
iconclass="${attrs.get('collapseicon')}"
|
|
2694
|
+
type="button" aria-label="${title}"></${tag}>
|
|
2695
|
+
</ng-template>`;
|
|
2696
|
+
};
|
|
2697
|
+
register('wm-table-row', () => {
|
|
2698
|
+
return {
|
|
2699
|
+
pre: (attrs) => {
|
|
2700
|
+
return `<${tagName$7} wmTableRow ${getAttrMarkup(attrs)}>
|
|
2701
|
+
${getRowExpansionActionTmpl(attrs)}
|
|
2702
|
+
<ng-template #rowExpansionTmpl let-row="row" let-rowDef="rowDef" let-containerLoad="containerLoad">
|
|
2703
|
+
<div wmContainer partialContainer content.bind="rowDef.content" load.event="containerLoad(widget)"
|
|
2704
|
+
[ngStyle]="{'height': rowDef.height, 'overflow-y': 'auto'}">
|
|
2705
|
+
@for (param of rowDef.partialParams | keyvalue; track param) {
|
|
2706
|
+
<div wmParam hidden
|
|
2707
|
+
[name]="param.key" [value]="param.value"></div>
|
|
2708
|
+
}`;
|
|
2709
|
+
},
|
|
2710
|
+
post: () => `</div></ng-template></${tagName$7}>`
|
|
2711
|
+
};
|
|
2712
|
+
});
|
|
2713
|
+
var tableRow_build = () => { };
|
|
2714
|
+
|
|
2715
|
+
var tableRow_build$1 = /*#__PURE__*/Object.freeze({
|
|
2716
|
+
__proto__: null,
|
|
2717
|
+
default: tableRow_build
|
|
2718
|
+
});
|
|
2719
|
+
|
|
2720
|
+
const tagName$6 = 'div';
|
|
2721
|
+
const getSaveCancelTemplate = () => {
|
|
2722
|
+
return `<button type="button" aria-label="Save edit icon" class="save row-action-button btn app-button btn-transparent save-edit-row-button hidden" title="{{appLocale?.LABEL_SAVE || 'Save'}}">
|
|
2723
|
+
<i class="wi wi-done" aria-hidden="true"></i>
|
|
2724
|
+
</button>
|
|
2725
|
+
<button type="button" aria-label="Cancel edit icon" class="cancel row-action-button btn app-button btn-transparent cancel-edit-row-button hidden" title="{{appLocale?.LABEL_CANCEL || 'Cancel'}}">
|
|
2726
|
+
<i class="wi wi-cancel" aria-hidden="true"></i>
|
|
2727
|
+
</button>`;
|
|
2728
|
+
};
|
|
2729
|
+
// get the inline widget template
|
|
2730
|
+
const getRowActionTmpl = (attrs) => {
|
|
2731
|
+
const action = attrs.get('action');
|
|
2732
|
+
const actionTmpl = action ? ` click.event.delayed="${action}" ` : '';
|
|
2733
|
+
const saveCancelTmpl = action && action.includes('editRow(') ? getSaveCancelTemplate() : '';
|
|
2734
|
+
const btnClass = action ? (action.includes('editRow(') ? 'edit edit-row-button' :
|
|
2735
|
+
(action.includes('deleteRow(') ? 'delete delete-row-button' : '')) : '';
|
|
2736
|
+
const tabIndex = attrs.get('tabindex') ? `tabindex="${attrs.get('tabindex')}"` : '';
|
|
2737
|
+
const tag = attrs.get('widget-type') === 'anchor' ? 'a' : 'button';
|
|
2738
|
+
const directive = attrs.get('widget-type') === 'anchor' ? 'wmAnchor' : 'wmButton';
|
|
2739
|
+
return `<ng-template #rowActionTmpl let-row="row">
|
|
2740
|
+
<${tag} ${directive} data-action-key="${attrs.get('key')}"
|
|
2741
|
+
${getRowActionAttrs(attrs)}
|
|
2742
|
+
class="row-action row-action-button ${attrs.get('class')} ${btnClass}"
|
|
2743
|
+
iconclass="${attrs.get('iconclass')}"
|
|
2744
|
+
${actionTmpl}
|
|
2745
|
+
${tabIndex}
|
|
2746
|
+
type="button"></${tag}>
|
|
2747
|
+
${saveCancelTmpl}
|
|
2748
|
+
</ng-template>`;
|
|
2749
|
+
};
|
|
2750
|
+
register('wm-table-row-action', () => {
|
|
2751
|
+
return {
|
|
2752
|
+
pre: attrs => `<${tagName$6} wmTableRowAction ${getAttrMarkup(attrs)}>
|
|
2753
|
+
${getRowActionTmpl(attrs)}`,
|
|
2754
|
+
post: () => `</${tagName$6}>`
|
|
2755
|
+
};
|
|
2756
|
+
});
|
|
2757
|
+
var tableRowAction_build = () => { };
|
|
2758
|
+
|
|
2759
|
+
var tableRowAction_build$1 = /*#__PURE__*/Object.freeze({
|
|
2760
|
+
__proto__: null,
|
|
2761
|
+
default: tableRowAction_build
|
|
2762
|
+
});
|
|
2763
|
+
|
|
2764
|
+
const tagName$5 = 'div';
|
|
2765
|
+
const dataSetKey = 'dataset';
|
|
2766
|
+
const idGen$1 = new IDGenerator('table_');
|
|
2767
|
+
let columnIndex = 0;
|
|
2768
|
+
/**
|
|
2769
|
+
* This method assigns index to the table-column and column-groups in order to the maintain the columns in the same order
|
|
2770
|
+
* as specified in the configuration.
|
|
2771
|
+
* Scenario: ordering the columns when accessrole is specified on column.
|
|
2772
|
+
*
|
|
2773
|
+
* headerIndex: ID | Name | Street | ==> top level header (ID has index 0, Name 1, Street 2)
|
|
2774
|
+
* index: ---- | fname | lname | --- | ==> sub level header ( ID 0, fname 1, lname 2, Street 3)
|
|
2775
|
+
* fname will have headerIndex as 1 and colIndex as 1. lname will have headerIndex as 1 and columnIndex as 2.
|
|
2776
|
+
* If suppose we have a group in the sub-level-header, then col index will be treated as the header index.
|
|
2777
|
+
*
|
|
2778
|
+
*/
|
|
2779
|
+
function assignColumnIndex(node, parentIndex) {
|
|
2780
|
+
let headerIndex = 0;
|
|
2781
|
+
node.forEach((childNode) => {
|
|
2782
|
+
const nodeName = childNode.name;
|
|
2783
|
+
const newheaderIndex = parentIndex !== undefined ? parentIndex : headerIndex;
|
|
2784
|
+
if (nodeName === 'wm-table-column' || nodeName === 'wm-table-column-group') {
|
|
2785
|
+
childNode.attrs.push(new Attribute('index', '' + columnIndex, 1, 1, 1, undefined, undefined));
|
|
2786
|
+
childNode.attrs.push(new Attribute('headerIndex', '' + newheaderIndex, 1, 1, 1, undefined, undefined));
|
|
2787
|
+
if (nodeName === 'wm-table-column-group') {
|
|
2788
|
+
assignColumnIndex(childNode.children, headerIndex);
|
|
2789
|
+
}
|
|
2790
|
+
columnIndex++;
|
|
2791
|
+
headerIndex++;
|
|
2792
|
+
}
|
|
2793
|
+
});
|
|
2794
|
+
}
|
|
2795
|
+
register('wm-table', () => {
|
|
2796
|
+
return {
|
|
2797
|
+
template: (node, shared) => {
|
|
2798
|
+
// If table does not have child columns, set isdynamictable to true
|
|
2799
|
+
if (node.children.length) {
|
|
2800
|
+
const isColumnsPresent = node.children.some(childNode => {
|
|
2801
|
+
return childNode.name === 'wm-table-column' || childNode.name === 'wm-table-column-group';
|
|
2802
|
+
});
|
|
2803
|
+
assignColumnIndex(node.children);
|
|
2804
|
+
shared.set('isdynamictable', isColumnsPresent ? 'false' : 'true');
|
|
2805
|
+
// If table have row expansion enabled, set isrowexpansionenabled to true
|
|
2806
|
+
const isRowsPresent = node.children.some(childNode => {
|
|
2807
|
+
return childNode.name === 'wm-table-row';
|
|
2808
|
+
});
|
|
2809
|
+
shared.set('isrowexpansionenabled', isRowsPresent ? 'true' : 'false');
|
|
2810
|
+
}
|
|
2811
|
+
else {
|
|
2812
|
+
shared.set('isdynamictable', 'true');
|
|
2813
|
+
}
|
|
2814
|
+
const datasetAttr = node.attrs.find(attr => attr.name === dataSetKey);
|
|
2815
|
+
const widgetNameAttr = node.attrs.find(attr => attr.name === 'name');
|
|
2816
|
+
if (!datasetAttr) {
|
|
2817
|
+
return;
|
|
2818
|
+
}
|
|
2819
|
+
const boundExpr = getBoundToExpr(datasetAttr.value);
|
|
2820
|
+
if (!boundExpr) {
|
|
2821
|
+
return;
|
|
2822
|
+
}
|
|
2823
|
+
updateTemplateAttrs(node, boundExpr, widgetNameAttr.value, '', 'row');
|
|
2824
|
+
},
|
|
2825
|
+
pre: (attrs, shared) => {
|
|
2826
|
+
const counter = idGen$1.nextUid();
|
|
2827
|
+
shared.set('counter', counter);
|
|
2828
|
+
attrs.set('isdynamictable', shared.get('isdynamictable'));
|
|
2829
|
+
attrs.set('isrowexpansionenabled', shared.get('isrowexpansionenabled'));
|
|
2830
|
+
attrs.set('table_reference', counter);
|
|
2831
|
+
return `<${tagName$5} wmTable="${counter}" wmTableFilterSort wmTableCUD #${counter} data-identifier="table" ${getAttrMarkup(attrs)}>`;
|
|
2832
|
+
},
|
|
2833
|
+
post: () => `</${tagName$5}>`,
|
|
2834
|
+
provide: (attrs, shared) => {
|
|
2835
|
+
const provider = new Map();
|
|
2836
|
+
provider.set('table_reference', shared.get('counter'));
|
|
2837
|
+
provider.set('filtermode', attrs.get('filtermode'));
|
|
2838
|
+
provider.set('errorstyle', attrs.get('errorstyle'));
|
|
2839
|
+
provider.set('editmode', attrs.get('editmode'));
|
|
2840
|
+
provider.set('shownewrow', attrs.get('shownewrow'));
|
|
2841
|
+
return provider;
|
|
2842
|
+
}
|
|
2843
|
+
};
|
|
2844
|
+
});
|
|
2845
|
+
var table_build = () => { };
|
|
2846
|
+
|
|
2847
|
+
var table_build$1 = /*#__PURE__*/Object.freeze({
|
|
2848
|
+
__proto__: null,
|
|
2849
|
+
default: table_build
|
|
2850
|
+
});
|
|
2851
|
+
|
|
2852
|
+
const tagName$4 = 'div';
|
|
2853
|
+
register('wm-video', () => {
|
|
2854
|
+
return {
|
|
2855
|
+
pre: attrs => `<${tagName$4} wmVideo ${getAttrMarkup(attrs)}>`,
|
|
2856
|
+
post: () => `</${tagName$4}>`
|
|
2857
|
+
};
|
|
2858
|
+
});
|
|
2859
|
+
var video_build = () => { };
|
|
2860
|
+
|
|
2861
|
+
var video_build$1 = /*#__PURE__*/Object.freeze({
|
|
2862
|
+
__proto__: null,
|
|
2863
|
+
default: video_build
|
|
2864
|
+
});
|
|
2865
|
+
|
|
2866
|
+
const tagName$3 = 'div';
|
|
2867
|
+
const SPACING_KEY = 'parentLinearLayout.spacing';
|
|
2868
|
+
register('wm-linearlayout', () => {
|
|
2869
|
+
return {
|
|
2870
|
+
requires: ['wm-linearlayout'],
|
|
2871
|
+
pre: (attrs, shared, provider) => {
|
|
2872
|
+
let spacing = attrs.get('spacing');
|
|
2873
|
+
attrs.set('spacing', (!spacing || spacing === '0') && provider ? provider.get(SPACING_KEY) : spacing);
|
|
2874
|
+
return `<${tagName$3} wmLinearLayout ${getAttrMarkup(attrs)}>`;
|
|
2875
|
+
},
|
|
2876
|
+
post: () => `</${tagName$3}>`,
|
|
2877
|
+
provide: (attrs, shared) => {
|
|
2878
|
+
const provider = new Map();
|
|
2879
|
+
provider.set(SPACING_KEY, attrs.get('spacing'));
|
|
2880
|
+
return provider;
|
|
2881
|
+
}
|
|
2882
|
+
};
|
|
2883
|
+
});
|
|
2884
|
+
var linearLayout_build = () => { };
|
|
2885
|
+
|
|
2886
|
+
var linearLayout_build$1 = /*#__PURE__*/Object.freeze({
|
|
2887
|
+
__proto__: null,
|
|
2888
|
+
default: linearLayout_build
|
|
2889
|
+
});
|
|
2890
|
+
|
|
2891
|
+
const tagName$2 = 'div';
|
|
2892
|
+
register('wm-linearlayoutitem', () => {
|
|
2893
|
+
return {
|
|
2894
|
+
pre: attrs => `<${tagName$2} wmLinearLayoutItem ${getAttrMarkup(attrs)}>`,
|
|
2895
|
+
post: () => `</${tagName$2}>`
|
|
2896
|
+
};
|
|
2897
|
+
});
|
|
2898
|
+
var linearLayoutItem_build = () => { };
|
|
2899
|
+
|
|
2900
|
+
var linearLayoutItem_build$1 = /*#__PURE__*/Object.freeze({
|
|
2901
|
+
__proto__: null,
|
|
2902
|
+
default: linearLayoutItem_build
|
|
2903
|
+
});
|
|
2904
|
+
|
|
2905
|
+
const tagName$1 = 'div';
|
|
2906
|
+
const idGen = new IDGenerator('wm_custom_widget');
|
|
2907
|
+
register('wm-custom-widget', () => {
|
|
2908
|
+
return {
|
|
2909
|
+
pre: (attrs) => {
|
|
2910
|
+
const counter = idGen.nextUid();
|
|
2911
|
+
return `<${tagName$1} wmWidgetContainer customWidgetContainer #${counter}="wmWidgetContainer" ${getAttrMarkup(attrs)}>`;
|
|
2912
|
+
},
|
|
2913
|
+
post: () => `</${tagName$1}>`
|
|
2914
|
+
};
|
|
2915
|
+
});
|
|
2916
|
+
var customWidgetContainer_build = () => { };
|
|
2917
|
+
|
|
2918
|
+
var customWidgetContainer_build$1 = /*#__PURE__*/Object.freeze({
|
|
2919
|
+
__proto__: null,
|
|
2920
|
+
default: customWidgetContainer_build
|
|
2921
|
+
});
|
|
2922
|
+
|
|
2923
|
+
const tagName = 'section';
|
|
2924
|
+
register('wm-custom-widget-container', () => {
|
|
2925
|
+
return {
|
|
2926
|
+
template: (node) => {
|
|
2927
|
+
// Wrap content in @if block with proper newlines to avoid template syntax errors
|
|
2928
|
+
node.children.unshift(new Text('@if (compileContent) {\n', null, undefined, undefined));
|
|
2929
|
+
node.children.push(new Text('\n}', null, undefined, undefined));
|
|
2930
|
+
},
|
|
2931
|
+
pre: attrs => `<${tagName} wmCustomWidget data-role="widget" ${getAttrMarkup(attrs)}>`,
|
|
2932
|
+
post: () => `</${tagName}>`
|
|
2933
|
+
};
|
|
2934
|
+
});
|
|
2935
|
+
var customWidgetWrapper_build = () => { };
|
|
2936
|
+
|
|
2937
|
+
var customWidgetWrapper_build$1 = /*#__PURE__*/Object.freeze({
|
|
2938
|
+
__proto__: null,
|
|
2939
|
+
default: customWidgetWrapper_build
|
|
2940
|
+
});
|
|
2941
|
+
|
|
2942
|
+
const initComponentsBuildTask = () => { };
|
|
2943
|
+
|
|
2944
|
+
/**
|
|
2945
|
+
* Generated bundle index. Do not edit.
|
|
2946
|
+
*/
|
|
2947
|
+
|
|
2948
|
+
export { accordion_build$1 as accordionBuild, accordionPane_build$1 as accordionPaneBuild, alertDialog_build$1 as alertDlgBuild, anchor_build$1 as anchorBuild, audio_build$1 as audioBuild, barcodeScanner_build$1 as barcodeScannerBuild, breadcrumb_build$1 as breadcrumbBuild, button_build$1 as buttonBuild, buttonGroup_build$1 as buttonGroupBuild, calendar_build$1 as calendarBuild, camera_build$1 as cameraBuild, cardActions_build$1 as cardActionsBuild, card_build$1 as cardBuild, cardContent_build$1 as cardContentBuild, cardFooter_build$1 as cardFooterBuild, carousel_build$1 as carouselBuild, carouselTemplate_build$1 as carouselTemplateBuild, chart_build$1 as chartBuild, checkbox_build$1 as checkboxBuild, checkboxset_build$1 as checkboxSetBuild, chips_build$1 as chipsBuild, colorPicker_build$1 as colorPickerBuild, composite_build$1 as compositeBuild, confirmDialog_build$1 as confirmDlgBuild, container_build$1 as containerBuild, content_build$1 as contentBuild, currency_build$1 as currencyBuild, customWidgetContainer_build$1 as customWidgetBuild, customWidgetWrapper_build$1 as customWidgetWrapperBuild, date_build$1 as dateBuild, dateTime_build$1 as dateTimeBuild, dialog_build$1 as dlgBuild, dialogFooter_build$1 as dlgFooterBuild, fileUpload_build$1 as fileUploadBuild, footer_build$1 as footerBuild, formAction_build$1 as formActionBuild, form_build$1 as formBuild, formField_build$1 as formFieldBuild, header_build$1 as headerBuild, html_build$1 as htmlBuild, icon_build$1 as iconBuild, iframe_build$1 as iframeBuild, iframeDialog_build$1 as iframeDlgBuild, initComponentsBuildTask, label_build$1 as labelBuild, layout_build$1 as layoutBuild, leftPanel_build$1 as leftPanelBuild, layoutGrid_build$1 as lgBuild, layoutGridColumn_build$1 as lgcolBuild, layoutGridRow_build$1 as lgrowBuild, linearLayout_build$1 as linearLayoutBuild, linearLayoutItem_build$1 as linearLayoutItemBuild, list_build$1 as listBuild, liveTable_build$1 as liveTableBuild, login_build$1 as loginBuild, loginDialog_build$1 as loginDlgBuild, marquee_build$1 as marqueeBuild, mediaList_build$1 as mediaListBuild, mediaListItem_build$1 as mediaListItemBuild, menu_build$1 as menuBuild, message_build$1 as messageBuild, mobileNavbar_build$1 as mobileNavbarBuild, nav_build$1 as navBuild, navItem_build$1 as navItemBuild, navbar_build$1 as navbarBuild, number_build$1 as numberBuild, page_build$1 as pageBuild, pageContent_build$1 as pageContentBuild, pagination_build$1 as paginationBuild, panel_build$1 as panelBuild, partial_build$1 as partialBuild, partialDialog_build$1 as partialDlgBuild, partialParam_build$1 as partialParamBuild, picture_build$1 as pictureBuild, popover_build$1 as popoverBuild, prefab_build$1 as prefabBuild, prefabContainer_build$1 as prefabContainerBuild, progressBar_build$1 as progressBarBuild, progressCircle_build$1 as progressCircleBuild, radioset_build$1 as radiosetBuild, rating_build$1 as ratingBuild, repeatTemplate_build$1 as repeatTemplateBuild, rightPanel_build$1 as rightPanelBuild, routerOutlet_build$1 as routerOutletBuild, richTextEditor_build$1 as rteBuild, search_build$1 as searchBuild, segmentContent_build$1 as segContentBuild, segmentedControl_build$1 as segControlBuild, select_build$1 as selectBuild, slider_build$1 as sliderBuild, spinner_build$1 as spinnerBuild, switch_build$1 as switchBuild, tabBar_build$1 as tabBarBuild, tabPane_build$1 as tabPaneBuild, tableAction_build$1 as tableActionBuild, table_build$1 as tableBuild, tableColumn_build$1 as tableColumnBuild, tableColumnGroup_build$1 as tableColumnGroupBuild, tableRowAction_build$1 as tableRowActionBuild, tableRow_build$1 as tableRowBuild, tabs_build$1 as tabsBuild, textarea_build$1 as textAreaBuild, text_build$1 as textBuild, tile_build$1 as tileBuild, time_build$1 as timeBuild, topNav_build$1 as topNavBuild, tree_build as treeBuild, video_build$1 as videoBuild, wizardAction_build$1 as wizardActionBuild, wizard_build$1 as wizardBuild, wizardStep_build$1 as wizardStepBuild };
|
|
2949
|
+
//# sourceMappingURL=index.mjs.map
|