@sme.up/ketchup 4.0.0 → 4.2.0
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/README.md +3 -3
- package/dist/cjs/cell-utils-dc0884a3.js +168 -0
- package/dist/cjs/f-button-2ba74fb5.js +105 -0
- package/dist/cjs/f-cell-fe60a08d.js +731 -0
- package/dist/cjs/f-chip-90d95d22.js +141 -0
- package/dist/cjs/{f-image-5f4f29ca.js → f-image-d3bd4e08.js} +4 -5
- package/dist/cjs/{index-3c471303.js → index-0416afab.js} +73 -64
- package/dist/cjs/ketchup.cjs.js +3 -3
- package/dist/cjs/kup-accordion.cjs.entry.js +6 -8
- package/dist/cjs/{kup-autocomplete_29.cjs.entry.js → kup-autocomplete_28.cjs.entry.js} +2580 -3060
- package/dist/cjs/kup-calendar.cjs.entry.js +30 -30
- package/dist/cjs/kup-cell.cjs.entry.js +201 -0
- package/dist/cjs/kup-dash-list.cjs.entry.js +15 -7
- package/dist/cjs/kup-dash_2.cjs.entry.js +104 -62
- package/dist/cjs/kup-drawer.cjs.entry.js +4 -6
- package/dist/cjs/kup-field.cjs.entry.js +3 -5
- package/dist/cjs/kup-iframe.cjs.entry.js +3 -4
- package/dist/cjs/kup-lazy.cjs.entry.js +4 -6
- package/dist/cjs/kup-magic-box.cjs.entry.js +21 -31
- package/dist/cjs/kup-manager-1a2688ca.js +5813 -0
- package/dist/cjs/kup-nav-bar.cjs.entry.js +4 -6
- package/dist/cjs/kup-probe.cjs.entry.js +3 -4
- package/dist/cjs/kup-qlik.cjs.entry.js +2 -3
- package/dist/cjs/kup-snackbar.cjs.entry.js +152 -0
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{utils-2af73538.js → utils-0cc466b9.js} +17 -83
- package/dist/collection/assets/cell.js +51 -0
- package/dist/collection/assets/data-table.js +518 -1
- package/dist/collection/assets/index.js +8 -0
- package/dist/collection/assets/snackbar.js +32 -0
- package/dist/collection/collection-manifest.json +6 -6
- package/dist/collection/components/kup-accordion/kup-accordion.css +0 -213
- package/dist/collection/components/kup-accordion/kup-accordion.js +15 -16
- package/dist/collection/components/kup-autocomplete/kup-autocomplete-declarations.js +2 -2
- package/dist/collection/components/kup-autocomplete/kup-autocomplete.css +5 -2381
- package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +83 -111
- package/dist/collection/components/kup-badge/kup-badge.css +1 -35
- package/dist/collection/components/kup-badge/kup-badge.js +13 -14
- package/dist/collection/components/kup-box/kup-box.css +47 -780
- package/dist/collection/components/kup-box/kup-box.js +240 -366
- package/dist/collection/components/kup-button/kup-button.css +0 -333
- package/dist/collection/components/kup-button/kup-button.js +27 -28
- package/dist/collection/components/kup-button-list/kup-button-list.css +0 -332
- package/dist/collection/components/kup-button-list/kup-button-list.js +19 -20
- package/dist/collection/components/kup-calendar/kup-calendar.css +0 -517
- package/dist/collection/components/kup-calendar/kup-calendar.js +47 -45
- package/dist/collection/components/kup-card/builtin/kup-card-builtin.js +20 -0
- package/dist/collection/components/kup-card/builtin/kup-card-calendar.js +458 -0
- package/dist/collection/components/kup-card/builtin/kup-card-clock.js +321 -0
- package/dist/collection/components/kup-card/dialog/kup-card-dialog.js +18 -0
- package/dist/collection/components/kup-card/free/kup-card-free.js +13 -0
- package/dist/collection/components/kup-card/kup-card-declarations.js +19 -0
- package/dist/collection/components/kup-card/kup-card-helper.js +19 -1
- package/dist/collection/components/kup-card/kup-card.css +615 -185
- package/dist/collection/components/kup-card/kup-card.js +94 -34
- package/dist/collection/components/kup-card/standard/kup-card-standard.js +75 -0
- package/dist/collection/components/kup-cell/kup-cell-declarations.js +11 -0
- package/dist/collection/components/kup-cell/kup-cell.css +20 -0
- package/dist/collection/components/kup-cell/kup-cell.js +413 -0
- package/dist/collection/components/kup-chart/kup-chart.js +41 -42
- package/dist/collection/components/kup-checkbox/kup-checkbox.css +0 -214
- package/dist/collection/components/kup-checkbox/kup-checkbox.js +19 -20
- package/dist/collection/components/kup-chip/kup-chip.css +0 -217
- package/dist/collection/components/kup-chip/kup-chip.js +15 -16
- package/dist/collection/components/kup-color-picker/kup-color-picker.css +7 -2380
- package/dist/collection/components/kup-color-picker/kup-color-picker.js +41 -41
- package/dist/collection/components/kup-combobox/kup-combobox-declarations.js +1 -0
- package/dist/collection/components/kup-combobox/kup-combobox.css +5 -2381
- package/dist/collection/components/kup-combobox/kup-combobox.js +68 -28
- package/dist/collection/components/kup-dash-list/kup-dash-list.js +13 -4
- package/dist/collection/components/kup-data-table/kup-data-table-declarations.js +2 -0
- package/dist/collection/components/kup-data-table/kup-data-table-helper.js +61 -102
- package/dist/collection/components/kup-data-table/kup-data-table.css +118 -3232
- package/dist/collection/components/kup-data-table/kup-data-table.js +589 -1089
- package/dist/collection/components/kup-date-picker/kup-date-picker.css +1 -85
- package/dist/collection/components/kup-date-picker/kup-date-picker.js +92 -395
- package/dist/collection/components/kup-drawer/kup-drawer.js +9 -10
- package/dist/collection/components/kup-dropdown-button/kup-dropdown-button.css +12 -340
- package/dist/collection/components/kup-dropdown-button/kup-dropdown-button.js +56 -45
- package/dist/collection/components/kup-field/kup-field.js +21 -22
- package/dist/collection/components/kup-gauge/kup-gauge.js +17 -18
- package/dist/collection/components/kup-grid/kup-grid.css +2 -1
- package/dist/collection/components/kup-grid/kup-grid.js +13 -14
- package/dist/collection/components/kup-iframe/kup-iframe.js +4 -4
- package/dist/collection/components/kup-image/assets/svg/ketchup.svg +74 -0
- package/dist/collection/components/kup-image/assets/svg/smeup.svg +59 -0
- package/dist/collection/components/kup-image/kup-image.css +0 -32
- package/dist/collection/components/kup-image/kup-image.js +25 -26
- package/dist/collection/components/kup-lazy/kup-lazy.js +17 -18
- package/dist/collection/components/kup-list/kup-list-declarations.js +1 -1
- package/dist/collection/components/kup-list/kup-list.css +4 -260
- package/dist/collection/components/kup-list/kup-list.js +39 -49
- package/dist/collection/components/kup-magic-box/kup-magic-box.css +13 -39
- package/dist/collection/components/kup-magic-box/kup-magic-box.js +29 -38
- package/dist/collection/components/kup-nav-bar/kup-nav-bar.js +11 -12
- package/dist/collection/components/kup-paginator/kup-paginator.css +0 -332
- package/dist/collection/components/kup-paginator/kup-paginator.js +44 -12
- package/dist/collection/components/kup-probe/kup-probe.js +9 -9
- package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +21 -22
- package/dist/collection/components/kup-radio/kup-radio.js +17 -18
- package/dist/collection/components/kup-rating/kup-rating.js +15 -16
- package/dist/collection/components/kup-snackbar/kup-snackbar-declarations.js +13 -0
- package/dist/collection/components/kup-snackbar/kup-snackbar.css +75 -0
- package/dist/collection/components/kup-snackbar/kup-snackbar.js +390 -0
- package/dist/collection/components/kup-spinner/kup-spinner.js +23 -24
- package/dist/collection/components/kup-switch/kup-switch.css +0 -156
- package/dist/collection/components/kup-switch/kup-switch.js +17 -18
- package/dist/collection/components/kup-tab-bar/kup-tab-bar.css +0 -199
- package/dist/collection/components/kup-tab-bar/kup-tab-bar.js +13 -14
- package/dist/collection/components/kup-text-field/kup-text-field-declarations.js +1 -0
- package/dist/collection/components/kup-text-field/kup-text-field.css +4 -2371
- package/dist/collection/components/kup-text-field/kup-text-field.js +77 -51
- package/dist/collection/components/kup-time-picker/kup-time-picker.css +7 -0
- package/dist/collection/components/kup-time-picker/kup-time-picker.js +97 -317
- package/dist/collection/components/kup-tooltip/kup-tooltip.js +24 -14
- package/dist/collection/components/kup-tree/kup-tree.css +27 -371
- package/dist/collection/components/kup-tree/kup-tree.js +163 -383
- package/dist/collection/f-components/f-button/f-button.js +4 -2
- package/dist/collection/f-components/f-cell/f-cell-declarations.js +143 -0
- package/dist/collection/f-components/f-cell/f-cell.js +471 -0
- package/dist/collection/f-components/f-checkbox/f-checkbox.js +1 -1
- package/dist/collection/f-components/f-chip/f-chip.js +2 -2
- package/dist/collection/f-components/f-image/f-image.js +2 -3
- package/dist/collection/f-components/f-switch/f-switch.js +1 -1
- package/dist/collection/f-components/f-text-field/f-text-field-mdc.js +1 -1
- package/dist/collection/f-components/f-text-field/f-text-field.js +25 -21
- package/dist/collection/utils/cell-utils.js +18 -222
- package/dist/collection/utils/filters/filters.js +31 -37
- package/dist/collection/utils/kup-column-menu/kup-column-menu.js +15 -3
- package/dist/collection/utils/kup-dates/kup-dates.js +14 -2
- package/dist/collection/utils/kup-debug/kup-debug-browser-utils.js +3 -3
- package/dist/collection/utils/kup-debug/kup-debug.js +57 -29
- package/dist/collection/utils/kup-dynamic-position/kup-dynamic-position.js +5 -7
- package/dist/collection/utils/kup-interact/kup-interact-declarations.js +48 -0
- package/dist/collection/utils/kup-interact/kup-interact.js +379 -0
- package/dist/collection/utils/kup-language/kup-language-declarations.js +2 -0
- package/dist/collection/utils/kup-language/kup-language.js +1 -1
- package/dist/collection/utils/kup-manager/kup-manager.js +47 -10
- package/dist/collection/utils/kup-objects/kup-objects.js +9 -33
- package/dist/collection/utils/kup-scroll-on-hover/kup-scroll-on-hover.js +60 -62
- package/dist/collection/utils/kup-search/kup-search-declarations.js +1 -0
- package/dist/collection/utils/kup-search/kup-search.js +75 -0
- package/dist/collection/utils/kup-theme/kup-theme-declarations.js +1 -0
- package/dist/collection/utils/kup-theme/kup-theme.js +4 -3
- package/dist/collection/utils/kup-toolbar/kup-toolbar.js +16 -18
- package/dist/collection/utils/utils.js +15 -23
- package/dist/esm/cell-utils-8f512ea9.js +160 -0
- package/dist/esm/f-button-30dbcaa9.js +103 -0
- package/dist/esm/f-cell-95c186c6.js +727 -0
- package/dist/esm/f-chip-c0e9c0ff.js +139 -0
- package/dist/esm/{f-image-68b34fab.js → f-image-3bc8b24f.js} +4 -5
- package/dist/esm/{index-bf2824a6.js → index-e0e67c23.js} +74 -65
- package/dist/esm/ketchup.js +3 -3
- package/dist/esm/kup-accordion.entry.js +6 -8
- package/dist/esm/{kup-autocomplete_29.entry.js → kup-autocomplete_28.entry.js} +2379 -2858
- package/dist/esm/kup-calendar.entry.js +10 -10
- package/dist/esm/kup-cell.entry.js +197 -0
- package/dist/esm/kup-dash-list.entry.js +15 -7
- package/dist/esm/kup-dash_2.entry.js +104 -62
- package/dist/esm/kup-drawer.entry.js +4 -6
- package/dist/esm/kup-field.entry.js +3 -5
- package/dist/esm/kup-iframe.entry.js +3 -4
- package/dist/esm/kup-lazy.entry.js +4 -6
- package/dist/esm/kup-magic-box.entry.js +21 -31
- package/dist/esm/kup-manager-7fc234da.js +5800 -0
- package/dist/esm/kup-nav-bar.entry.js +4 -6
- package/dist/esm/kup-probe.entry.js +3 -4
- package/dist/esm/kup-qlik.entry.js +2 -3
- package/dist/esm/kup-snackbar.entry.js +148 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{utils-13dd007a.js → utils-6c73709d.js} +15 -78
- package/dist/ketchup/assets/svg/ketchup.svg +74 -0
- package/dist/ketchup/assets/svg/smeup.svg +59 -0
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/p-15321eae.js +1 -0
- package/dist/ketchup/p-1baf1205.entry.js +1 -0
- package/dist/ketchup/p-1c6178e4.entry.js +1 -0
- package/dist/ketchup/p-44375e49.js +1 -0
- package/dist/ketchup/p-4dcdbd31.entry.js +45 -0
- package/dist/ketchup/p-5a5f2a53.js +1 -0
- package/dist/ketchup/{p-c7ee1fbc.js → p-61faaa38.js} +2 -2
- package/dist/ketchup/p-62816d0b.entry.js +1 -0
- package/dist/ketchup/p-65adc15b.entry.js +1 -0
- package/dist/ketchup/p-7e23ea7c.entry.js +1 -0
- package/dist/ketchup/p-a378ba56.entry.js +1 -0
- package/dist/ketchup/p-a878016f.entry.js +1 -0
- package/dist/ketchup/p-a96e6e32.entry.js +1 -0
- package/dist/ketchup/p-ad32821e.entry.js +1 -0
- package/dist/ketchup/p-af4a6191.entry.js +1 -0
- package/dist/ketchup/p-c18c7bb0.entry.js +27 -0
- package/dist/ketchup/p-ca0ca27f.entry.js +1 -0
- package/dist/ketchup/p-cb5f4994.js +1 -0
- package/dist/ketchup/p-ccda584a.entry.js +1 -0
- package/dist/ketchup/p-d4aa4922.js +1 -0
- package/dist/ketchup/p-dbb6998b.entry.js +1 -0
- package/dist/ketchup/p-de83f2f6.js +1 -0
- package/dist/ketchup/p-ec3a3db9.js +1 -0
- package/dist/types/components/kup-autocomplete/kup-autocomplete-declarations.d.ts +2 -6
- package/dist/types/components/kup-autocomplete/kup-autocomplete.d.ts +7 -13
- package/dist/types/components/kup-box/kup-box-declarations.d.ts +13 -4
- package/dist/types/components/kup-box/kup-box.d.ts +13 -6
- package/dist/types/components/kup-card/builtin/kup-card-builtin.d.ts +14 -0
- package/dist/types/components/kup-card/builtin/kup-card-calendar.d.ts +2 -0
- package/dist/types/components/kup-card/builtin/kup-card-clock.d.ts +2 -0
- package/dist/types/components/kup-card/dialog/kup-card-dialog.d.ts +6 -0
- package/dist/types/components/kup-card/free/kup-card-free.d.ts +8 -0
- package/dist/types/components/kup-card/kup-card-declarations.d.ts +74 -0
- package/dist/types/components/kup-card/kup-card.d.ts +12 -3
- package/dist/types/components/kup-card/standard/kup-card-standard.d.ts +6 -0
- package/dist/types/components/kup-cell/kup-cell-declarations.d.ts +10 -0
- package/dist/types/components/kup-cell/kup-cell.d.ts +67 -0
- package/dist/types/components/kup-color-picker/kup-color-picker.d.ts +1 -1
- package/dist/types/components/kup-combobox/kup-combobox-declarations.d.ts +3 -2
- package/dist/types/components/kup-combobox/kup-combobox.d.ts +5 -0
- package/dist/types/components/kup-dash-list/kup-dash-list.d.ts +4 -0
- package/dist/types/components/kup-data-table/kup-data-table-declarations.d.ts +20 -36
- package/dist/types/components/kup-data-table/kup-data-table-helper.d.ts +1 -15
- package/dist/types/components/kup-data-table/kup-data-table.d.ts +33 -83
- package/dist/types/components/kup-date-picker/kup-date-picker.d.ts +11 -23
- package/dist/types/components/kup-dropdown-button/kup-dropdown-button.d.ts +1 -4
- package/dist/types/components/kup-list/kup-list-declarations.d.ts +1 -1
- package/dist/types/components/kup-list/kup-list.d.ts +2 -3
- package/dist/types/components/kup-magic-box/kup-magic-box.d.ts +1 -0
- package/dist/types/components/kup-paginator/kup-paginator.d.ts +6 -0
- package/dist/types/components/kup-snackbar/kup-snackbar-declarations.d.ts +12 -0
- package/dist/types/components/kup-snackbar/kup-snackbar.d.ts +79 -0
- package/dist/types/components/kup-text-field/kup-text-field-declarations.d.ts +2 -1
- package/dist/types/components/kup-text-field/kup-text-field.d.ts +5 -0
- package/dist/types/components/kup-time-picker/kup-time-picker.d.ts +10 -20
- package/dist/types/components/kup-tooltip/kup-tooltip.d.ts +1 -0
- package/dist/types/components/kup-tree/kup-tree-declarations.d.ts +4 -4
- package/dist/types/components/kup-tree/kup-tree.d.ts +12 -23
- package/dist/types/components.d.ts +348 -176
- package/dist/types/f-components/f-cell/f-cell-declarations.d.ts +153 -0
- package/dist/types/f-components/f-cell/f-cell.d.ts +3 -0
- package/dist/types/f-components/f-text-field/f-text-field-declarations.d.ts +1 -0
- package/dist/types/f-components/f-text-field/f-text-field-mdc.d.ts +1 -1
- package/dist/types/utils/cell-utils.d.ts +0 -19
- package/dist/types/utils/kup-column-menu/kup-column-menu.d.ts +2 -0
- package/dist/types/utils/kup-dates/kup-dates.d.ts +9 -4
- package/dist/types/utils/kup-debug/kup-debug.d.ts +1 -1
- package/dist/types/utils/kup-dynamic-position/kup-dynamic-position-declarations.d.ts +1 -1
- package/dist/types/utils/kup-dynamic-position/kup-dynamic-position.d.ts +2 -2
- package/dist/types/utils/kup-interact/kup-interact-declarations.d.ts +127 -0
- package/dist/types/utils/kup-interact/kup-interact.d.ts +93 -0
- package/dist/types/utils/kup-language/kup-language-declarations.d.ts +2 -0
- package/dist/types/utils/kup-language/kup-language.d.ts +1 -1
- package/dist/types/utils/kup-manager/kup-manager-declarations.d.ts +28 -8
- package/dist/types/utils/kup-manager/kup-manager.d.ts +18 -5
- package/dist/types/utils/kup-objects/kup-objects.d.ts +1 -7
- package/dist/types/utils/kup-search/kup-search-declarations.d.ts +7 -0
- package/dist/types/utils/kup-search/kup-search.d.ts +20 -0
- package/dist/types/utils/kup-theme/kup-theme-declarations.d.ts +2 -0
- package/dist/types/utils/kup-theme/kup-theme.d.ts +2 -2
- package/dist/types/utils/utils.d.ts +0 -1
- package/package.json +4 -6
- package/dist/cjs/cell-utils-1f89a299.js +0 -1527
- package/dist/cjs/drag-and-drop-4787ff6f.js +0 -281
- package/dist/cjs/f-chip-2d58c8f7.js +0 -239
- package/dist/cjs/kup-grid.cjs.entry.js +0 -130
- package/dist/cjs/kup-manager-59ad8bdc.js +0 -4845
- package/dist/cjs/kup-objects-59ea949c.js +0 -717
- package/dist/collection/assets/images/drag-multiple.js +0 -1
- package/dist/collection/components/kup-editor/kup-editor.css +0 -5
- package/dist/collection/components/kup-editor/kup-editor.js +0 -59
- package/dist/collection/components/kup-layout/kup-layout.css +0 -53
- package/dist/collection/components/kup-layout/kup-layout.js +0 -156
- package/dist/collection/utils/drag-and-drop.js +0 -109
- package/dist/collection/utils/kup-dialog/kup-dialog-declarations.js +0 -36
- package/dist/collection/utils/kup-dialog/kup-dialog.js +0 -310
- package/dist/esm/cell-utils-cb612463.js +0 -1510
- package/dist/esm/drag-and-drop-321cb4ca.js +0 -265
- package/dist/esm/f-chip-125d5dd6.js +0 -236
- package/dist/esm/kup-grid.entry.js +0 -126
- package/dist/esm/kup-manager-e7d7b353.js +0 -4842
- package/dist/esm/kup-objects-d38d2fa2.js +0 -711
- package/dist/ketchup/p-00fe1e3e.js +0 -1
- package/dist/ketchup/p-0320e24e.entry.js +0 -1
- package/dist/ketchup/p-08c7a092.js +0 -1
- package/dist/ketchup/p-1165f4ea.entry.js +0 -1
- package/dist/ketchup/p-170d3cba.js +0 -1
- package/dist/ketchup/p-18cb3ba3.js +0 -1
- package/dist/ketchup/p-23541a97.entry.js +0 -45
- package/dist/ketchup/p-64ea7e37.entry.js +0 -1
- package/dist/ketchup/p-7896031c.entry.js +0 -1
- package/dist/ketchup/p-876da4c2.entry.js +0 -1
- package/dist/ketchup/p-8fb9d9b2.entry.js +0 -1
- package/dist/ketchup/p-940ab57a.entry.js +0 -1
- package/dist/ketchup/p-9c858a38.entry.js +0 -1
- package/dist/ketchup/p-a12a5690.entry.js +0 -1
- package/dist/ketchup/p-a5424073.js +0 -1
- package/dist/ketchup/p-b0724035.entry.js +0 -1
- package/dist/ketchup/p-b14e77f0.js +0 -1
- package/dist/ketchup/p-d24cfdea.entry.js +0 -1
- package/dist/ketchup/p-ee89966f.entry.js +0 -27
- package/dist/ketchup/p-fcd2fd8f.js +0 -1
- package/dist/ketchup/p-fce3b9d8.entry.js +0 -1
- package/dist/types/assets/images/drag-multiple.d.ts +0 -1
- package/dist/types/components/kup-editor/kup-editor.d.ts +0 -16
- package/dist/types/components/kup-layout/kup-layout.d.ts +0 -25
- package/dist/types/utils/drag-and-drop.d.ts +0 -53
- package/dist/types/utils/kup-dialog/kup-dialog-declarations.d.ts +0 -43
- package/dist/types/utils/kup-dialog/kup-dialog.d.ts +0 -50
|
@@ -2,11 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
7
|
-
const utils = require('./utils-
|
|
5
|
+
const index = require('./index-0416afab.js');
|
|
6
|
+
const kupManager = require('./kup-manager-1a2688ca.js');
|
|
7
|
+
const utils = require('./utils-0cc466b9.js');
|
|
8
8
|
const GenericVariables = require('./GenericVariables-9cd88034.js');
|
|
9
|
-
require('./kup-objects-59ea949c.js');
|
|
10
9
|
|
|
11
10
|
const navbarClass = 'nav-bar';
|
|
12
11
|
/**
|
|
@@ -142,8 +141,7 @@ let KupNavBar = class {
|
|
|
142
141
|
this.kupManager.debug.logRender(this, true);
|
|
143
142
|
}
|
|
144
143
|
render() {
|
|
145
|
-
|
|
146
|
-
return (index.h(index.Host, { class: "header" }, customStyle ? index.h("style", null, customStyle) : null, index.h("div", { id: GenericVariables.componentWrapperId }, index.h("header", { class: `${navbarClass} ${navbarClass}--${this.styling.toLowerCase()} ` }, index.h("div", { class: `${navbarClass}__row` }, this.content())))));
|
|
144
|
+
return (index.h(index.Host, { class: "header" }, index.h("style", null, this.kupManager.theme.setKupStyle(this.rootElement)), index.h("div", { id: GenericVariables.componentWrapperId }, index.h("header", { class: `${navbarClass} ${navbarClass}--${this.styling.toLowerCase()} ` }, index.h("div", { class: `${navbarClass}__row` }, this.content())))));
|
|
147
145
|
}
|
|
148
146
|
disconnectedCallback() {
|
|
149
147
|
this.kupManager.language.unregister(this);
|
|
@@ -2,10 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
5
|
+
const index = require('./index-0416afab.js');
|
|
6
|
+
const kupManager = require('./kup-manager-1a2688ca.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-9cd88034.js');
|
|
8
|
-
require('./kup-objects-59ea949c.js');
|
|
9
8
|
|
|
10
9
|
let KupProbe = class {
|
|
11
10
|
constructor(hostRef) {
|
|
@@ -257,7 +256,7 @@ let KupProbe = class {
|
|
|
257
256
|
render() {
|
|
258
257
|
let customStyle = null;
|
|
259
258
|
if (this.features.theme) {
|
|
260
|
-
customStyle = this.kupManager.theme.
|
|
259
|
+
customStyle = this.kupManager.theme.setKupStyle(this.rootElement);
|
|
261
260
|
}
|
|
262
261
|
return (index.h(index.Host, null, customStyle ? index.h("style", null, customStyle) : null, index.h("div", { id: GenericVariables.componentWrapperId }, this.content)));
|
|
263
262
|
}
|
|
@@ -2,9 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
7
|
-
require('./kup-objects-59ea949c.js');
|
|
5
|
+
const index = require('./index-0416afab.js');
|
|
6
|
+
const kupManager = require('./kup-manager-1a2688ca.js');
|
|
8
7
|
|
|
9
8
|
const kupQlikCss = ".kup-qlik-container-fluid{width:100%}.kup-qlik-container{width:100%}@media (min-width: 576px){.kup-qlik-container{width:576px}.kup-qlik-row>.qvobject{flex:0 0 auto;min-width:100px;margin:0px auto 5px auto}}@media (min-width: 768px){.kup-qlik-container{width:768px}.kup-qlik-row>.qvobject{flex:0 0 auto;min-width:100px;margin:0px auto 5px auto}}@media (min-width: 992px){.kup-qlik-container{width:992px}.kup-qlik-row>.qvobject{flex:0 0 auto;min-width:100px;margin:0px auto 5px auto}}@media (min-width: 1200px){.kup-qlik-container{width:1200px}.kup-qlik-row>.qvobject{flex:0 0 auto;min-width:100px;margin:0px auto 5px auto}}.kup-qlik-row{display:flex;display:ms-flexbox;flex-wrap:wrap;-ms-flex-wrap:wrap;margin-bottom:5px}.kup-qlik-row .size-M{height:var(--lyo_obj-height)}.kup-qlik-row .size-S{height:calc(var(--lyo_obj-height)/2)}.kup-qlik-row .size-XS{height:calc(var(--lyo_obj-height)/3)}.kup-qlik-row .size-L{height:calc(var(--lyo_obj-height)*2)}.kup-qlik-row .size-XL{height:calc(var(--lyo_obj-height)*3)}.kup-qlik-row .bordered{border:1px solid var(--kup-border-color, #969696)}.kup-qlik-row .width-1{width:8.3333%}.kup-qlik-row .width-2{width:16.6666%}.kup-qlik-row .width-3{width:25%}.kup-qlik-row .width-4{width:33.3333%}.kup-qlik-row .width-5{width:41.6666%}.kup-qlik-row .width-6{width:50%}.kup-qlik-row .width-7{width:58.3333%}.kup-qlik-row .width-8{width:66.6666%}.kup-qlik-row .width-9{width:75%}.kup-qlik-row .width-10{width:83.3333%}.kup-qlik-row .width-11{width:91.6666%}.kup-qlik-row .width-12{width:100%}";
|
|
10
9
|
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-0416afab.js');
|
|
6
|
+
const kupManager = require('./kup-manager-1a2688ca.js');
|
|
7
|
+
const utils = require('./utils-0cc466b9.js');
|
|
8
|
+
const GenericVariables = require('./GenericVariables-9cd88034.js');
|
|
9
|
+
const fButton = require('./f-button-2ba74fb5.js');
|
|
10
|
+
require('./f-button-declarations-76b4fb4c.js');
|
|
11
|
+
require('./f-image-d3bd4e08.js');
|
|
12
|
+
|
|
13
|
+
const snackbarClass = 'snackbar';
|
|
14
|
+
/**
|
|
15
|
+
* Props of the kup-snackbar component.
|
|
16
|
+
* Used to export every prop in an object.
|
|
17
|
+
*/
|
|
18
|
+
var KupSnackbarProps;
|
|
19
|
+
(function (KupSnackbarProps) {
|
|
20
|
+
KupSnackbarProps["actionButton"] = "Set of FButton props to set the action button.";
|
|
21
|
+
KupSnackbarProps["closeButton"] = "When true, the hide button will be displayed.";
|
|
22
|
+
KupSnackbarProps["customStyle"] = "Custom style of the component.";
|
|
23
|
+
KupSnackbarProps["text"] = "Sets the textual content of the snackbar.";
|
|
24
|
+
KupSnackbarProps["timeout"] = "Defaults at null, when set the snackbar will automatically disappear after the specified amount of milliseconds.";
|
|
25
|
+
})(KupSnackbarProps || (KupSnackbarProps = {}));
|
|
26
|
+
|
|
27
|
+
const kupSnackbarCss = ":host{animation:snackbar-show 125ms;bottom:0;box-sizing:border-box;display:block;left:0;outline:none;position:fixed;transition:opacity 0.15s cubic-bezier(0, 0, 0.2, 1) 0ms, transform 0.15s cubic-bezier(0, 0, 0.2, 1) 0ms, -webkit-transform 0.15s cubic-bezier(0, 0, 0.2, 1) 0ms;width:100%;z-index:calc(var(--kup-navbar-zindex) + 1)}:host(:not([kup-visible])){display:none}#kup-component{display:flex;justify-content:center;height:100%;padding:8px;width:100%}.snackbar{align-items:center;background:var(--kup-navbar-background-color);border-radius:5px;box-shadow:var(--kup-box-shadow);color:var(--kup-navbar-color);display:flex;justify-content:flex-start;max-width:672px;min-height:48px;min-width:344px}.snackbar__text{padding:14px 16px;white-space:nowrap}.snackbar__buttons{--kup-button-primary-color:var(--kup-navbar-color);--kup-button-primary-color-rgb:var(--kup-navbar-color-rgb);--kup-button-primary-color-h:var(--kup-navbar-color-h);--kup-button-primary-color-s:var(--kup-navbar-color-s);--kup-button-primary-color-l:var(--kup-navbar-color-l);align-items:center;display:flex;justify-content:flex-end;margin-right:8px;width:100%}.snackbar__close{--kup-button-font-size:11px;margin-left:8px}@keyframes snackbar-show{from{transform:scale(0.5);opacity:0}to{transform:scale(1);opacity:1}}:host(.kup-top){bottom:unset;top:var(--kup-navbar-height, 0)}";
|
|
28
|
+
|
|
29
|
+
let KupSnackbar = class {
|
|
30
|
+
constructor(hostRef) {
|
|
31
|
+
index.registerInstance(this, hostRef);
|
|
32
|
+
this.kupActionClick = index.createEvent(this, "kup-snackbar-actionclick", 6);
|
|
33
|
+
/*-------------------------------------------------*/
|
|
34
|
+
/* S t a t e s */
|
|
35
|
+
/*-------------------------------------------------*/
|
|
36
|
+
/**
|
|
37
|
+
* The value of the component.
|
|
38
|
+
* @default false
|
|
39
|
+
*/
|
|
40
|
+
this.visible = false;
|
|
41
|
+
/*-------------------------------------------------*/
|
|
42
|
+
/* P r o p s */
|
|
43
|
+
/*-------------------------------------------------*/
|
|
44
|
+
/**
|
|
45
|
+
* Set of FButton props to set the action button.
|
|
46
|
+
* @default null
|
|
47
|
+
*/
|
|
48
|
+
this.actionButton = null;
|
|
49
|
+
/**
|
|
50
|
+
* When true, the hide button will be displayed.
|
|
51
|
+
* @default true
|
|
52
|
+
*/
|
|
53
|
+
this.closeButton = true;
|
|
54
|
+
/**
|
|
55
|
+
* Custom style of the component.
|
|
56
|
+
* @default ""
|
|
57
|
+
* @see https://ketchup.smeup.com/ketchup-showcase/#/customization
|
|
58
|
+
*/
|
|
59
|
+
this.customStyle = '';
|
|
60
|
+
/**
|
|
61
|
+
* Sets the textual content of the snackbar.
|
|
62
|
+
* @default ''
|
|
63
|
+
*/
|
|
64
|
+
this.text = '';
|
|
65
|
+
/**
|
|
66
|
+
* Defaults at null, when set the snackbar will automatically disappear after the specified amount of milliseconds.
|
|
67
|
+
* @default null
|
|
68
|
+
*/
|
|
69
|
+
this.timeout = null;
|
|
70
|
+
/*-------------------------------------------------*/
|
|
71
|
+
/* I n t e r n a l V a r i a b l e s */
|
|
72
|
+
/*-------------------------------------------------*/
|
|
73
|
+
/**
|
|
74
|
+
* Instance of the KupManager class.
|
|
75
|
+
*/
|
|
76
|
+
this.kupManager = kupManager.kupManagerInstance();
|
|
77
|
+
}
|
|
78
|
+
onKupActionClick() {
|
|
79
|
+
this.hide();
|
|
80
|
+
this.kupActionClick.emit({
|
|
81
|
+
comp: this,
|
|
82
|
+
id: this.rootElement.id,
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
/*-------------------------------------------------*/
|
|
86
|
+
/* P u b l i c M e t h o d s */
|
|
87
|
+
/*-------------------------------------------------*/
|
|
88
|
+
/**
|
|
89
|
+
* Used to retrieve component's props values.
|
|
90
|
+
* @param {boolean} descriptions - When provided and true, the result will be the list of props with their description.
|
|
91
|
+
* @returns {Promise<GenericObject>} List of props as object, each key will be a prop.
|
|
92
|
+
*/
|
|
93
|
+
async getProps(descriptions) {
|
|
94
|
+
return utils.getProps(this, KupSnackbarProps, descriptions);
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Hides the snackbar.
|
|
98
|
+
*/
|
|
99
|
+
async hide() {
|
|
100
|
+
this.visible = false;
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* This method is used to trigger a new render of the component.
|
|
104
|
+
*/
|
|
105
|
+
async refresh() {
|
|
106
|
+
index.forceUpdate(this);
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* Sets the props to the component.
|
|
110
|
+
* @param {GenericObject} props - Object containing props that will be set to the component.
|
|
111
|
+
*/
|
|
112
|
+
async setProps(props) {
|
|
113
|
+
utils.setProps(this, KupSnackbarProps, props);
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Displays the snackbar.
|
|
117
|
+
*/
|
|
118
|
+
async show() {
|
|
119
|
+
this.visible = true;
|
|
120
|
+
}
|
|
121
|
+
/*-------------------------------------------------*/
|
|
122
|
+
/* L i f e c y c l e H o o k s */
|
|
123
|
+
/*-------------------------------------------------*/
|
|
124
|
+
componentWillLoad() {
|
|
125
|
+
this.kupManager.debug.logLoad(this, false);
|
|
126
|
+
this.kupManager.theme.register(this);
|
|
127
|
+
}
|
|
128
|
+
componentDidLoad() {
|
|
129
|
+
this.kupManager.debug.logLoad(this, true);
|
|
130
|
+
}
|
|
131
|
+
componentWillRender() {
|
|
132
|
+
this.kupManager.debug.logRender(this, false);
|
|
133
|
+
}
|
|
134
|
+
componentDidRender() {
|
|
135
|
+
if (this.timeout && this.visible) {
|
|
136
|
+
setTimeout(() => {
|
|
137
|
+
this.hide();
|
|
138
|
+
}, this.timeout);
|
|
139
|
+
}
|
|
140
|
+
this.kupManager.debug.logRender(this, true);
|
|
141
|
+
}
|
|
142
|
+
render() {
|
|
143
|
+
return (index.h(index.Host, { "kup-visible": this.visible }, index.h("style", null, this.kupManager.theme.setKupStyle(this.rootElement)), index.h("div", { id: GenericVariables.componentWrapperId }, index.h("div", { class: snackbarClass }, index.h("div", { class: `${snackbarClass}__text` }, this.text), this.actionButton || this.closeButton ? (index.h("div", { class: `${snackbarClass}__buttons` }, this.actionButton ? (index.h("div", { class: `${snackbarClass}__action` }, index.h(fButton.FButton, Object.assign({}, this.actionButton, { onClick: () => this.onKupActionClick() })))) : null, this.closeButton ? (index.h("div", { class: `${snackbarClass}__close` }, index.h(fButton.FButton, { icon: "close", onClick: () => this.hide() }))) : null)) : null))));
|
|
144
|
+
}
|
|
145
|
+
disconnectedCallback() {
|
|
146
|
+
this.kupManager.theme.unregister(this);
|
|
147
|
+
}
|
|
148
|
+
get rootElement() { return index.getElement(this); }
|
|
149
|
+
};
|
|
150
|
+
KupSnackbar.style = kupSnackbarCss;
|
|
151
|
+
|
|
152
|
+
exports.kup_snackbar = KupSnackbar;
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-0416afab.js');
|
|
6
6
|
|
|
7
7
|
/*
|
|
8
|
-
Stencil Client Patch Esm v2.
|
|
8
|
+
Stencil Client Patch Esm v2.12.0 | MIT Licensed | https://stenciljs.com
|
|
9
9
|
*/
|
|
10
10
|
const patchEsm = () => {
|
|
11
11
|
return index.promiseResolve();
|
|
@@ -14,7 +14,7 @@ const patchEsm = () => {
|
|
|
14
14
|
const defineCustomElements = (win, options) => {
|
|
15
15
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
16
16
|
return patchEsm().then(() => {
|
|
17
|
-
return index.bootstrapLazy(JSON.parse("[[\"kup-dash-list.cjs\",[[1,\"kup-dash-list\",{\"layout\":[1],\"fontsize\":[1],\"active\":[4],\"columnsNumber\":[2,\"columns-number\"],\"fullWidth\":[4,\"full-width\"],\"horizontal\":[4],\"iconColor\":[16],\"valueColor\":[16],\"textColor\":[16],\"data\":[16]}]]],[\"kup-autocomplete_29.cjs\",[[1,\"kup-box\",{\"cardData\":[16],\"columns\":[2],\"customStyle\":[1,\"custom-style\"],\"data\":[16],\"dragEnabled\":[4,\"drag-enabled\"],\"dropEnabled\":[4,\"drop-enabled\"],\"dropOnSection\":[4,\"drop-on-section\"],\"enableRowActions\":[4,\"enable-row-actions\"],\"globalFilter\":[4,\"global-filter\"],\"globalFilterValue\":[1537,\"global-filter-value\"],\"kanban\":[16],\"layout\":[16],\"multiSelection\":[4,\"multi-selection\"],\"pageSelected\":[2,\"page-selected\"],\"pageSize\":[2,\"page-size\"],\"pagination\":[4],\"rowsPerPage\":[2,\"rows-per-page\"],\"scrollOnHover\":[4,\"scroll-on-hover\"],\"selectBox\":[2,\"select-box\"],\"selectedRowsState\":[1025,\"selected-rows-state\"],\"showSelection\":[4,\"show-selection\"],\"showTooltipOnRightClick\":[4,\"show-tooltip-on-right-click\"],\"sortBy\":[1025,\"sort-by\"],\"sortEnabled\":[4,\"sort-enabled\"],\"stateId\":[1,\"state-id\"],\"store\":[16],\"swipeDisabled\":[4,\"swipe-disabled\"],\"tooltipDetailTimeout\":[2,\"tooltip-detail-timeout\"],\"tooltipEnabled\":[4,\"tooltip-enabled\"],\"tooltipLoadTimeout\":[2,\"tooltip-load-timeout\"],\"collapsedSection\":[32],\"selectedRows\":[32],\"rowActionMenuOpened\":[32],\"currentPage\":[32],\"currentRowsPerPage\":[32],\"getProps\":[64],\"loadRowActions\":[64],\"refresh\":[64],\"setProps\":[64]}],[1,\"kup-card\",{\"customStyle\":[1,\"custom-style\"],\"data\":[16],\"isMenu\":[516,\"is-menu\"],\"layoutFamily\":[1,\"layout-family\"],\"layoutNumber\":[2,\"layout-number\"],\"menuVisible\":[1540,\"menu-visible\"],\"sizeX\":[1,\"size-x\"],\"sizeY\":[1,\"size-y\"],\"getProps\":[64],\"refresh\":[64],\"resizeCallback\":[64],\"setProps\":[64]}],[1,\"kup-data-table\",{\"stateId\":[1,\"state-id\"],\"store\":[16],\"customStyle\":[1,\"custom-style\"],\"data\":[16],\"density\":[1],\"dragEnabled\":[4,\"drag-enabled\"],\"dropEnabled\":[4,\"drop-enabled\"],\"editableData\":[4,\"editable-data\"],\"emptyDataLabel\":[1025,\"empty-data-label\"],\"enableExtraColumns\":[4,\"enable-extra-columns\"],\"enableSortableColumns\":[4,\"enable-sortable-columns\"],\"expandGroups\":[4,\"expand-groups\"],\"filters\":[1040],\"fixedColumns\":[2,\"fixed-columns\"],\"fixedRows\":[2,\"fixed-rows\"],\"forceOneLine\":[516,\"force-one-line\"],\"globalFilter\":[4,\"global-filter\"],\"globalFilterValue\":[1537,\"global-filter-value\"],\"groupLabelDisplay\":[1,\"group-label-display\"],\"groups\":[1040],\"headerIsPersistent\":[4,\"header-is-persistent\"],\"isFocusable\":[4,\"is-focusable\"],\"lazyLoadRows\":[4,\"lazy-load-rows\"],\"lineBreakCharacter\":[1,\"line-break-character\"],\"loadMoreLimit\":[2,\"load-more-limit\"],\"loadMoreMode\":[1,\"load-more-mode\"],\"loadMoreStep\":[2,\"load-more-step\"],\"pageSelected\":[2,\"page-selected\"],\"paginatorPos\":[1,\"paginator-pos\"],\"removableColumns\":[4,\"removable-columns\"],\"rowActions\":[16],\"rowsPerPage\":[2,\"rows-per-page\"],\"scrollOnHover\":[4,\"scroll-on-hover\"],\"selection\":[1],\"selectRow\":[2,\"select-row\"],\"selectRowsById\":[1,\"select-rows-by-id\"],\"showCustomization\":[4,\"show-customization\"],\"showFilters\":[4,\"show-filters\"],\"showGroups\":[4,\"show-groups\"],\"showFooter\":[4,\"show-footer\"],\"showGrid\":[1,\"show-grid\"],\"showHeader\":[4,\"show-header\"],\"showLoadMore\":[4,\"show-load-more\"],\"showTooltipOnRightClick\":[4,\"show-tooltip-on-right-click\"],\"sort\":[1040],\"sortableColumnsMutateData\":[4,\"sortable-columns-mutate-data\"],\"sortEnabled\":[4,\"sort-enabled\"],\"tableHeight\":[1,\"table-height\"],\"tableWidth\":[1,\"table-width\"],\"tooltipDetailTimeout\":[2,\"tooltip-detail-timeout\"],\"tooltipEnabled\":[4,\"tooltip-enabled\"],\"tooltipLoadTimeout\":[2,\"tooltip-load-timeout\"],\"totals\":[1040],\"transpose\":[4],\"lazyLoadCells\":[32],\"currentPage\":[32],\"currentRowsPerPage\":[32],\"selectedRows\":[32],\"selectedColumn\":[32],\"columnMenuAnchor\":[32],\"groupState\":[32],\"openedTotalMenu\":[32],\"openedGroupMenu\":[32],\"openedCustomSettings\":[32],\"fontsize\":[32],\"triggerColumnSortRerender\":[32],\"closeColumnMenu\":[64],\"collapseAll\":[64],\"expandAll\":[64],\"getProps\":[64],\"openColumnMenu\":[64],\"refresh\":[64],\"resizeCallback\":[64],\"setProps\":[64],\"setSelectedRows\":[64],\"getInternalState\":[64],\"defaultSortingFunction\":[64]}],[1,\"kup-button-list\",{\"columns\":[2],\"customStyle\":[1,\"custom-style\"],\"data\":[16],\"disabled\":[4],\"showSelection\":[4,\"show-selection\"],\"styling\":[513],\"selected\":[32],\"getProps\":[64],\"refresh\":[64],\"setProps\":[64]}],[1,\"kup-paginator\",{\"currentPage\":[2,\"current-page\"],\"max\":[2],\"mode\":[1],\"perPage\":[2,\"per-page\"],\"selectedPerPage\":[1026,\"selected-per-page\"],\"refresh\":[64]}],[1,\"kup-dropdown-button\",{\"customStyle\":[1,\"custom-style\"],\"data\":[16],\"disabled\":[4],\"displayMode\":[1,\"display-mode\"],\"dropdownOnly\":[4,\"dropdown-only\"],\"icon\":[1],\"initialValue\":[1,\"initial-value\"],\"label\":[1],\"selectMode\":[1,\"select-mode\"],\"styling\":[1],\"trailingIcon\":[4,\"trailing-icon\"],\"value\":[32],\"getProps\":[64],\"getValue\":[64],\"refresh\":[64],\"setProps\":[64],\"setValue\":[64]},[[0,\"keydown\",\"listenKeydown\"]]],[1,\"kup-tooltip\",{\"cellOptions\":[1040],\"customStyle\":[1,\"custom-style\"],\"data\":[1040],\"detailData\":[1040],\"detailTimeout\":[2,\"detail-timeout\"],\"layout\":[1],\"loadTimeout\":[2,\"load-timeout\"],\"owner\":[1],\"relatedObject\":[1040],\"visible\":[32],\"refresh\":[64],\"setTooltipInfo\":[64],\"unsetTooltipInfo\":[64],\"getProps\":[64],\"setProps\":[64]}],[1,\"kup-editor\",{\"text\":[1]}],[1,\"kup-tree\",{\"asAccordion\":[516,\"as-accordion\"],\"autoSelectionNodeMode\":[4,\"auto-selection-node-mode\"],\"columns\":[16],\"customStyle\":[1,\"custom-style\"],\"data\":[16],\"density\":[1],\"dynamicExpansionCallback\":[16],\"enableExtraColumns\":[4,\"enable-extra-columns\"],\"expanded\":[4],\"expansionMode\":[1,\"expansion-mode\"],\"filters\":[1040],\"globalFilter\":[4,\"global-filter\"],\"globalFilterValue\":[1537,\"global-filter-value\"],\"globalFilterMode\":[1,\"global-filter-mode\"],\"preventXScroll\":[516,\"prevent-x-scroll\"],\"removableColumns\":[4,\"removable-columns\"],\"ripple\":[4],\"scrollOnHover\":[4,\"scroll-on-hover\"],\"selectedNode\":[1040],\"showColumns\":[4,\"show-columns\"],\"showFilters\":[4,\"show-filters\"],\"showFooter\":[4,\"show-footer\"],\"showHeader\":[4,\"show-header\"],\"showIcons\":[4,\"show-icons\"],\"stateId\":[1,\"state-id\"],\"store\":[16],\"useDynamicExpansion\":[4,\"use-dynamic-expansion\"],\"showTooltipOnRightClick\":[4,\"show-tooltip-on-right-click\"],\"tooltipDetailTimeout\":[2,\"tooltip-detail-timeout\"],\"tooltipEnabled\":[4,\"tooltip-enabled\"],\"tooltipLoadTimeout\":[2,\"tooltip-load-timeout\"],\"totals\":[1040],\"treeColumnVisible\":[32],\"openedTotalMenu\":[32],\"columnMenuAnchor\":[32],\"selectedNodeString\":[32],\"stateSwitcher\":[32],\"isEmpty\":[64],\"closeColumnMenu\":[64],\"collapseAll\":[64],\"expandAll\":[64],\"getProps\":[64],\"openColumnMenu\":[64],\"refresh\":[64],\"resizeCallback\":[64],\"setProps\":[64]}],[1,\"kup-time-picker\",{\"clockVariant\":[4,\"clock-variant\"],\"customStyle\":[1,\"custom-style\"],\"data\":[16],\"disabled\":[4],\"initialValue\":[1,\"initial-value\"],\"manageSeconds\":[4,\"manage-seconds\"],\"timeMinutesStep\":[2,\"time-minutes-step\"],\"value\":[32],\"getProps\":[64],\"getValue\":[64],\"refresh\":[64],\"setFocus\":[64],\"setProps\":[64],\"setValue\":[64]},[[4,\"keyup\",\"listenKeyup\"]]],[1,\"kup-autocomplete\",{\"callBackOnFilterUpdate\":[16],\"customStyle\":[1,\"custom-style\"],\"data\":[1040],\"disabled\":[4],\"displayMode\":[1,\"display-mode\"],\"initialValue\":[1,\"initial-value\"],\"minimumChars\":[2,\"minimum-chars\"],\"selectMode\":[1,\"select-mode\"],\"serverHandledFilter\":[516,\"server-handled-filter\"],\"displayedValue\":[32],\"value\":[32],\"getProps\":[64],\"getValue\":[64],\"refresh\":[64],\"setFocus\":[64],\"setProps\":[64],\"setValue\":[64]},[[0,\"keydown\",\"listenKeydown\"]]],[1,\"kup-date-picker\",{\"customStyle\":[1,\"custom-style\"],\"data\":[1040],\"disabled\":[4],\"firstDayIndex\":[2,\"first-day-index\"],\"initialValue\":[1,\"initial-value\"],\"stateSwitcher\":[32],\"value\":[32],\"getValue\":[64],\"getProps\":[64],\"refresh\":[64],\"setFocus\":[64],\"setValue\":[64]},[[4,\"keyup\",\"listenKeyup\"]]],[1,\"kup-image\",{\"badgeData\":[16],\"color\":[1],\"customStyle\":[1,\"custom-style\"],\"data\":[16],\"feedback\":[4],\"isCanvas\":[4,\"is-canvas\"],\"resource\":[1],\"sizeX\":[1,\"size-x\"],\"sizeY\":[1,\"size-y\"],\"getProps\":[64],\"refresh\":[64],\"setProps\":[64]}],[1,\"kup-chip\",{\"customStyle\":[1,\"custom-style\"],\"data\":[1040],\"dataNew\":[1040],\"type\":[1],\"getProps\":[64],\"refresh\":[64],\"setProps\":[64]}],[1,\"kup-tab-bar\",{\"customStyle\":[1,\"custom-style\"],\"data\":[16],\"ripple\":[4],\"value\":[32],\"getProps\":[64],\"refresh\":[64],\"setProps\":[64]}],[1,\"kup-chart\",{\"asp\":[1],\"axis\":[1],\"chartTitle\":[16],\"colors\":[16],\"customStyle\":[1,\"custom-style\"],\"data\":[16],\"hAxis\":[16],\"hAxes\":[16],\"legend\":[1],\"offlineMode\":[16],\"series\":[16],\"showMarks\":[4,\"show-marks\"],\"sizeX\":[1,\"size-x\"],\"sizeY\":[1,\"size-y\"],\"sorting\":[16],\"stacked\":[4],\"types\":[16],\"vAxes\":[16],\"vAxis\":[16],\"trendlines\":[16],\"version\":[1],\"getProps\":[64],\"refresh\":[64],\"resizeCallback\":[64],\"setProps\":[64]}],[1,\"kup-checkbox\",{\"checked\":[1028],\"customStyle\":[1,\"custom-style\"],\"disabled\":[4],\"indeterminate\":[1028],\"label\":[1],\"leadingLabel\":[4,\"leading-label\"],\"value\":[32],\"getProps\":[64],\"refresh\":[64],\"setProps\":[64]}],[1,\"kup-color-picker\",{\"customStyle\":[1,\"custom-style\"],\"data\":[1040],\"disabled\":[4],\"initialValue\":[1,\"initial-value\"],\"swatchOnly\":[4,\"swatch-only\"],\"value\":[32],\"getProps\":[64],\"getValue\":[64],\"setFocus\":[64],\"setProps\":[64],\"setValue\":[64],\"refresh\":[64]}],[1,\"kup-gauge\",{\"arcThickness\":[2,\"arc-thickness\"],\"colors\":[16],\"customStyle\":[1,\"custom-style\"],\"firstThreshold\":[2,\"first-threshold\"],\"labelDistance\":[1026,\"label-distance\"],\"maxValue\":[1026,\"max-value\"],\"measurementUnit\":[1,\"measurement-unit\"],\"minValue\":[1026,\"min-value\"],\"needleCircle\":[4,\"needle-circle\"],\"onlyValue\":[4,\"only-value\"],\"reverseColors\":[4,\"reverse-colors\"],\"secondThreshold\":[2,\"second-threshold\"],\"showLabels\":[4,\"show-labels\"],\"showMaxmin\":[4,\"show-maxmin\"],\"showValue\":[4,\"show-value\"],\"size\":[2],\"value\":[1026],\"valueSize\":[2,\"value-size\"],\"widthComponent\":[1,\"width-component\"],\"getProps\":[64],\"refresh\":[64],\"setProps\":[64]}],[1,\"kup-progress-bar\",{\"centeredLabel\":[4,\"centered-label\"],\"customStyle\":[1,\"custom-style\"],\"hideLabel\":[4,\"hide-label\"],\"icon\":[1],\"label\":[1],\"isRadial\":[516,\"is-radial\"],\"value\":[2],\"getProps\":[64],\"refresh\":[64],\"setProps\":[64]}],[1,\"kup-rating\",{\"customStyle\":[1,\"custom-style\"],\"disabled\":[4],\"maxValue\":[2,\"max-value\"],\"value\":[2],\"stars\":[32],\"getProps\":[64],\"refresh\":[64],\"setProps\":[64]}],[1,\"kup-switch\",{\"checked\":[1028],\"customStyle\":[1,\"custom-style\"],\"disabled\":[4],\"label\":[1],\"leadingLabel\":[4,\"leading-label\"],\"value\":[32],\"getProps\":[64],\"refresh\":[64],\"setProps\":[64]}],[1,\"kup-combobox\",{\"customStyle\":[1,\"custom-style\"],\"data\":[16],\"disabled\":[4],\"displayMode\":[1,\"display-mode\"],\"initialValue\":[1,\"initial-value\"],\"isSelect\":[516,\"is-select\"],\"selectMode\":[1,\"select-mode\"],\"displayedValue\":[32],\"value\":[32],\"getProps\":[64],\"getValue\":[64],\"refresh\":[64],\"setFocus\":[64],\"setProps\":[64],\"setValue\":[64]},[[0,\"keydown\",\"listenKeydown\"]]],[1,\"kup-spinner\",{\"active\":[516],\"barVariant\":[4,\"bar-variant\"],\"customStyle\":[1,\"custom-style\"],\"dimensions\":[1],\"fader\":[4],\"faderTimeout\":[2,\"fader-timeout\"],\"fullScreen\":[516,\"full-screen\"],\"layout\":[2],\"getProps\":[64],\"refresh\":[64],\"setProps\":[64]}],[1,\"kup-text-field\",{\"customStyle\":[1,\"custom-style\"],\"disabled\":[4],\"emitSubmitEventOnEnter\":[4,\"emit-submit-event-on-enter\"],\"fullWidth\":[516,\"full-width\"],\"helper\":[1],\"helperWhenFocused\":[4,\"helper-when-focused\"],\"icon\":[1],\"initialValue\":[1,\"initial-value\"],\"inputType\":[1,\"input-type\"],\"isClearable\":[4,\"is-clearable\"],\"label\":[1],\"leadingLabel\":[4,\"leading-label\"],\"max\":[2],\"maxLength\":[2,\"max-length\"],\"min\":[2],\"outlined\":[4],\"readOnly\":[4,\"read-only\"],\"step\":[2],\"textArea\":[4,\"text-area\"],\"trailingIcon\":[4,\"trailing-icon\"],\"trailingLabel\":[4,\"trailing-label\"],\"value\":[32],\"getProps\":[64],\"getValue\":[64],\"refresh\":[64],\"setFocus\":[64],\"setProps\":[64],\"setValue\":[64]}],[1,\"kup-button\",{\"checked\":[1028],\"customStyle\":[1,\"custom-style\"],\"disabled\":[4],\"icon\":[1],\"iconOff\":[1,\"icon-off\"],\"label\":[1],\"styling\":[1],\"showSpinner\":[4,\"show-spinner\"],\"toggable\":[4],\"trailingIcon\":[4,\"trailing-icon\"],\"value\":[32],\"getProps\":[64],\"refresh\":[64],\"setProps\":[64]}],[1,\"kup-list\",{\"customStyle\":[1,\"custom-style\"],\"data\":[1040],\"displayMode\":[1,\"display-mode\"],\"filter\":[1025],\"hideText\":[4,\"hide-text\"],\"isMenu\":[4,\"is-menu\"],\"keyboardNavigation\":[1028,\"keyboard-navigation\"],\"menuVisible\":[4,\"menu-visible\"],\"roleType\":[1025,\"role-type\"],\"selectable\":[4],\"showIcons\":[4,\"show-icons\"],\"twoLine\":[4,\"two-line\"],\"focused\":[32],\"selected\":[32],\"focusNext\":[64],\"focusPrevious\":[64],\"getProps\":[64],\"refresh\":[64],\"resetFilter\":[64],\"select\":[64],\"setProps\":[64]},[[0,\"keydown\",\"listenKeydown\"]]],[1,\"kup-radio\",{\"columns\":[2],\"customStyle\":[1,\"custom-style\"],\"data\":[16],\"disabled\":[4],\"leadingLabel\":[4,\"leading-label\"],\"value\":[32],\"getProps\":[64],\"refresh\":[64],\"setProps\":[64]}],[1,\"kup-badge\",{\"customStyle\":[1,\"custom-style\"],\"imageData\":[16],\"text\":[1],\"getProps\":[64],\"refresh\":[64],\"setProps\":[64]}]]],[\"kup-magic-box.cjs\",[[1,\"kup-magic-box\",{\"customStyle\":[1,\"custom-style\"],\"data\":[16],\"display\":[32],\"getProps\":[64],\"refresh\":[64],\"setProps\":[64]}]]],[\"kup-field.cjs\",[[1,\"kup-field\",{\"customStyle\":[1,\"custom-style\"],\"data\":[16],\"label\":[1],\"labelPos\":[1,\"label-pos\"],\"showSubmit\":[4,\"show-submit\"],\"submitLabel\":[1,\"submit-label\"],\"submitPos\":[1,\"submit-pos\"],\"type\":[1],\"getCurrentValue\":[64],\"getProps\":[64],\"refresh\":[64]}]]],[\"kup-iframe.cjs\",[[1,\"kup-iframe\",{\"buttonData\":[16],\"isButton\":[4,\"is-button\"],\"src\":[1],\"getProps\":[64],\"refresh\":[64],\"setProps\":[64]}]]],[\"kup-accordion.cjs\",[[1,\"kup-accordion\",{\"customStyle\":[1,\"custom-style\"],\"data\":[16],\"ripple\":[4],\"selectedItems\":[32],\"collapseAll\":[64],\"expandAll\":[64],\"getProps\":[64],\"refresh\":[64],\"setProps\":[64],\"toggleItem\":[64]}]]],[\"kup-calendar.cjs\",[[1,\"kup-calendar\",{\"customStyle\":[1,\"custom-style\"],\"data\":[16],\"dateCol\":[1,\"date-col\"],\"descrCol\":[1,\"descr-col\"],\"endCol\":[1,\"end-col\"],\"hideNavigation\":[4,\"hide-navigation\"],\"iconCol\":[1,\"icon-col\"],\"imageCol\":[1,\"image-col\"],\"initialDate\":[1,\"initial-date\"],\"startCol\":[1,\"start-col\"],\"styleCol\":[1,\"style-col\"],\"viewType\":[1025,\"view-type\"],\"getProps\":[64],\"refresh\":[64],\"resizeCallback\":[64],\"setProps\":[64]}]]],[\"kup-drawer.cjs\",[[1,\"kup-drawer\",{\"customStyle\":[1,\"custom-style\"],\"opened\":[32],\"close\":[64],\"getProps\":[64],\"isOpened\":[64],\"open\":[64],\"refresh\":[64],\"setProps\":[64],\"toggle\":[64]}]]],[\"kup-grid.cjs\",[[1,\"kup-grid\",{\"columns\":[2],\"customStyle\":[1,\"custom-style\"],\"singleLine\":[4,\"single-line\"],\"getProps\":[64],\"refresh\":[64],\"setProps\":[64]}]]],[\"kup-lazy.cjs\",[[1,\"kup-lazy\",{\"componentName\":[1,\"component-name\"],\"customStyle\":[1,\"custom-style\"],\"data\":[16],\"renderMode\":[1,\"render-mode\"],\"showPlaceholder\":[4,\"show-placeholder\"],\"isInViewport\":[32],\"getProps\":[64],\"refresh\":[64],\"setProps\":[64]}]]],[\"kup-nav-bar.cjs\",[[1,\"kup-nav-bar\",{\"customStyle\":[1,\"custom-style\"],\"styling\":[513],\"getProps\":[64],\"refresh\":[64],\"resizeCallback\":[64],\"setProps\":[64]}]]],[\"kup-probe.cjs\",[[1,\"kup-probe\",{\"customStyle\":[1,\"custom-style\"],\"features\":[16],\"content\":[32],\"printLifecycleTime\":[64],\"refresh\":[64]}]]],[\"kup-qlik.cjs\",[[0,\"kup-qlik\",{\"config\":[16],\"qlik\":[8],\"appid\":[513],\"app\":[520],\"grid\":[16],\"debug\":[4],\"fluid\":[4],\"bordered\":[4],\"defobjsize\":[1],\"divlist\":[32]}]]],[\"kup-dash_2.cjs\",[[1,\"kup-dash\",{\"active\":[4],\"fontsize\":[1],\"layout\":[1],\"index\":[2]}],[1,\"kup-layout\",{\"columnsNumber\":[1538,\"columns-number\"],\"contentBasedColumnsWidth\":[516,\"content-based-columns-width\"],\"fillSpace\":[516,\"fill-space\"],\"horizontal\":[516]}]]]]"), options);
|
|
17
|
+
return index.bootstrapLazy(JSON.parse("[[\"kup-autocomplete_28.cjs\",[[1,\"kup-box\",{\"cardData\":[16],\"columns\":[2],\"customStyle\":[1,\"custom-style\"],\"data\":[16],\"dragEnabled\":[4,\"drag-enabled\"],\"dropEnabled\":[4,\"drop-enabled\"],\"dropOnSection\":[4,\"drop-on-section\"],\"editableData\":[4,\"editable-data\"],\"enableRowActions\":[4,\"enable-row-actions\"],\"globalFilter\":[4,\"global-filter\"],\"globalFilterValue\":[1537,\"global-filter-value\"],\"kanban\":[16],\"layout\":[16],\"multiSelection\":[4,\"multi-selection\"],\"pageSelected\":[2,\"page-selected\"],\"pageSize\":[2,\"page-size\"],\"pagination\":[4],\"rowsPerPage\":[2,\"rows-per-page\"],\"scrollOnHover\":[4,\"scroll-on-hover\"],\"selectBox\":[2,\"select-box\"],\"selectedRowsState\":[1025,\"selected-rows-state\"],\"showSelection\":[4,\"show-selection\"],\"showTooltipOnRightClick\":[4,\"show-tooltip-on-right-click\"],\"sortBy\":[1025,\"sort-by\"],\"sortEnabled\":[4,\"sort-enabled\"],\"stateId\":[1,\"state-id\"],\"store\":[16],\"swipeDisabled\":[4,\"swipe-disabled\"],\"tooltipDetailTimeout\":[2,\"tooltip-detail-timeout\"],\"tooltipEnabled\":[4,\"tooltip-enabled\"],\"tooltipLoadTimeout\":[2,\"tooltip-load-timeout\"],\"collapsedSection\":[32],\"selectedRows\":[32],\"rowActionMenuOpened\":[32],\"currentPage\":[32],\"currentRowsPerPage\":[32],\"getProps\":[64],\"loadRowActions\":[64],\"refresh\":[64],\"setProps\":[64]}],[1,\"kup-tooltip\",{\"cellOptions\":[1040],\"customStyle\":[1,\"custom-style\"],\"data\":[1040],\"detailData\":[1040],\"detailTimeout\":[2,\"detail-timeout\"],\"layout\":[1],\"loadTimeout\":[2,\"load-timeout\"],\"owner\":[1],\"relatedObject\":[1040],\"visible\":[32],\"refresh\":[64],\"setTooltipInfo\":[64],\"unsetTooltipInfo\":[64],\"getProps\":[64],\"setProps\":[64]}],[1,\"kup-card\",{\"customStyle\":[1,\"custom-style\"],\"data\":[16],\"isMenu\":[516,\"is-menu\"],\"layoutFamily\":[1,\"layout-family\"],\"layoutNumber\":[2,\"layout-number\"],\"menuVisible\":[1540,\"menu-visible\"],\"sizeX\":[1,\"size-x\"],\"sizeY\":[1,\"size-y\"],\"getProps\":[64],\"refresh\":[64],\"resizeCallback\":[64],\"setProps\":[64]}],[1,\"kup-data-table\",{\"stateId\":[1,\"state-id\"],\"store\":[16],\"autoFillMissingCells\":[4,\"auto-fill-missing-cells\"],\"customStyle\":[1,\"custom-style\"],\"data\":[16],\"density\":[1],\"dragEnabled\":[516,\"drag-enabled\"],\"dropEnabled\":[516,\"drop-enabled\"],\"editableData\":[4,\"editable-data\"],\"emptyDataLabel\":[1025,\"empty-data-label\"],\"enableExtraColumns\":[4,\"enable-extra-columns\"],\"enableSortableColumns\":[4,\"enable-sortable-columns\"],\"expandGroups\":[4,\"expand-groups\"],\"filters\":[1040],\"fixedColumns\":[2,\"fixed-columns\"],\"fixedRows\":[2,\"fixed-rows\"],\"forceOneLine\":[516,\"force-one-line\"],\"globalFilter\":[4,\"global-filter\"],\"globalFilterValue\":[1537,\"global-filter-value\"],\"groupLabelDisplay\":[1,\"group-label-display\"],\"groups\":[1040],\"headerIsPersistent\":[4,\"header-is-persistent\"],\"isFocusable\":[4,\"is-focusable\"],\"lazyLoadRows\":[4,\"lazy-load-rows\"],\"lineBreakCharacter\":[1,\"line-break-character\"],\"loadMoreLimit\":[2,\"load-more-limit\"],\"loadMoreMode\":[1,\"load-more-mode\"],\"loadMoreStep\":[2,\"load-more-step\"],\"pageSelected\":[2,\"page-selected\"],\"paginatorPos\":[1,\"paginator-pos\"],\"removableColumns\":[4,\"removable-columns\"],\"resizableColumns\":[4,\"resizable-columns\"],\"rowActions\":[16],\"rowsPerPage\":[2,\"rows-per-page\"],\"scrollOnHover\":[4,\"scroll-on-hover\"],\"selection\":[1],\"selectRow\":[2,\"select-row\"],\"selectRowsById\":[1,\"select-rows-by-id\"],\"showCustomization\":[4,\"show-customization\"],\"showFilters\":[4,\"show-filters\"],\"showGroups\":[4,\"show-groups\"],\"showFooter\":[4,\"show-footer\"],\"showGrid\":[1,\"show-grid\"],\"showHeader\":[4,\"show-header\"],\"showLoadMore\":[4,\"show-load-more\"],\"showTooltipOnRightClick\":[4,\"show-tooltip-on-right-click\"],\"sort\":[1040],\"sortableColumnsMutateData\":[4,\"sortable-columns-mutate-data\"],\"sortEnabled\":[4,\"sort-enabled\"],\"tableHeight\":[1,\"table-height\"],\"tableWidth\":[1,\"table-width\"],\"tooltipDetailTimeout\":[2,\"tooltip-detail-timeout\"],\"tooltipEnabled\":[4,\"tooltip-enabled\"],\"tooltipLoadTimeout\":[2,\"tooltip-load-timeout\"],\"totals\":[1040],\"transpose\":[4],\"lazyLoadCells\":[32],\"currentPage\":[32],\"currentRowsPerPage\":[32],\"selectedRows\":[32],\"selectedColumn\":[32],\"columnMenuAnchor\":[32],\"groupState\":[32],\"openedTotalMenu\":[32],\"openedCustomSettings\":[32],\"fontsize\":[32],\"triggerColumnSortRerender\":[32],\"closeColumnMenu\":[64],\"collapseAll\":[64],\"expandAll\":[64],\"getProps\":[64],\"openColumnMenu\":[64],\"refresh\":[64],\"resizeCallback\":[64],\"setFocus\":[64],\"setProps\":[64],\"setSelectedRows\":[64],\"getInternalState\":[64],\"defaultSortingFunction\":[64]}],[1,\"kup-paginator\",{\"customStyle\":[1,\"custom-style\"],\"currentPage\":[2,\"current-page\"],\"max\":[2],\"mode\":[1],\"perPage\":[2,\"per-page\"],\"selectedPerPage\":[1026,\"selected-per-page\"],\"refresh\":[64]}],[1,\"kup-tree\",{\"asAccordion\":[516,\"as-accordion\"],\"autoSelectionNodeMode\":[4,\"auto-selection-node-mode\"],\"columns\":[16],\"customStyle\":[1,\"custom-style\"],\"data\":[16],\"density\":[1],\"dynamicExpansionCallback\":[16],\"editableData\":[4,\"editable-data\"],\"enableExtraColumns\":[4,\"enable-extra-columns\"],\"expanded\":[4],\"expansionMode\":[1,\"expansion-mode\"],\"filters\":[1040],\"globalFilter\":[4,\"global-filter\"],\"globalFilterValue\":[1537,\"global-filter-value\"],\"globalFilterMode\":[1,\"global-filter-mode\"],\"preventXScroll\":[516,\"prevent-x-scroll\"],\"removableColumns\":[4,\"removable-columns\"],\"ripple\":[4],\"scrollOnHover\":[4,\"scroll-on-hover\"],\"selectedNode\":[1040],\"showColumns\":[4,\"show-columns\"],\"showFilters\":[4,\"show-filters\"],\"showFooter\":[4,\"show-footer\"],\"showHeader\":[4,\"show-header\"],\"showIcons\":[4,\"show-icons\"],\"stateId\":[1,\"state-id\"],\"store\":[16],\"useDynamicExpansion\":[4,\"use-dynamic-expansion\"],\"showTooltipOnRightClick\":[4,\"show-tooltip-on-right-click\"],\"tooltipDetailTimeout\":[2,\"tooltip-detail-timeout\"],\"tooltipEnabled\":[4,\"tooltip-enabled\"],\"tooltipLoadTimeout\":[2,\"tooltip-load-timeout\"],\"totals\":[1040],\"treeColumnVisible\":[32],\"openedTotalMenu\":[32],\"columnMenuAnchor\":[32],\"selectedNodeString\":[32],\"stateSwitcher\":[32],\"isEmpty\":[64],\"closeColumnMenu\":[64],\"collapseAll\":[64],\"expandAll\":[64],\"getProps\":[64],\"openColumnMenu\":[64],\"refresh\":[64],\"resizeCallback\":[64],\"setProps\":[64]}],[1,\"kup-button-list\",{\"columns\":[2],\"customStyle\":[1,\"custom-style\"],\"data\":[16],\"disabled\":[4],\"showSelection\":[4,\"show-selection\"],\"styling\":[513],\"selected\":[32],\"getProps\":[64],\"refresh\":[64],\"setProps\":[64]}],[1,\"kup-image\",{\"badgeData\":[16],\"color\":[1],\"customStyle\":[1,\"custom-style\"],\"data\":[16],\"feedback\":[4],\"isCanvas\":[4,\"is-canvas\"],\"resource\":[1],\"sizeX\":[1,\"size-x\"],\"sizeY\":[1,\"size-y\"],\"getProps\":[64],\"refresh\":[64],\"setProps\":[64]}],[1,\"kup-color-picker\",{\"customStyle\":[1,\"custom-style\"],\"data\":[1040],\"disabled\":[4],\"initialValue\":[1,\"initial-value\"],\"swatchOnly\":[4,\"swatch-only\"],\"value\":[32],\"getProps\":[64],\"getValue\":[64],\"setFocus\":[64],\"setProps\":[64],\"setValue\":[64],\"refresh\":[64]}],[1,\"kup-gauge\",{\"arcThickness\":[2,\"arc-thickness\"],\"colors\":[16],\"customStyle\":[1,\"custom-style\"],\"firstThreshold\":[2,\"first-threshold\"],\"labelDistance\":[1026,\"label-distance\"],\"maxValue\":[1026,\"max-value\"],\"measurementUnit\":[1,\"measurement-unit\"],\"minValue\":[1026,\"min-value\"],\"needleCircle\":[4,\"needle-circle\"],\"onlyValue\":[4,\"only-value\"],\"reverseColors\":[4,\"reverse-colors\"],\"secondThreshold\":[2,\"second-threshold\"],\"showLabels\":[4,\"show-labels\"],\"showMaxmin\":[4,\"show-maxmin\"],\"showValue\":[4,\"show-value\"],\"size\":[2],\"value\":[1026],\"valueSize\":[2,\"value-size\"],\"widthComponent\":[1,\"width-component\"],\"getProps\":[64],\"refresh\":[64],\"setProps\":[64]}],[1,\"kup-rating\",{\"customStyle\":[1,\"custom-style\"],\"disabled\":[4],\"maxValue\":[2,\"max-value\"],\"value\":[2],\"stars\":[32],\"getProps\":[64],\"refresh\":[64],\"setProps\":[64]}],[1,\"kup-dropdown-button\",{\"customStyle\":[1,\"custom-style\"],\"data\":[16],\"disabled\":[4],\"displayMode\":[1,\"display-mode\"],\"dropdownOnly\":[4,\"dropdown-only\"],\"icon\":[1],\"initialValue\":[1,\"initial-value\"],\"label\":[1],\"selectMode\":[1,\"select-mode\"],\"styling\":[1],\"trailingIcon\":[4,\"trailing-icon\"],\"value\":[32],\"getProps\":[64],\"getValue\":[64],\"refresh\":[64],\"setProps\":[64],\"setValue\":[64]},[[0,\"keydown\",\"listenKeydown\"]]],[1,\"kup-date-picker\",{\"customStyle\":[1,\"custom-style\"],\"data\":[1040],\"disabled\":[4],\"firstDayIndex\":[2,\"first-day-index\"],\"initialValue\":[1,\"initial-value\"],\"stateSwitcher\":[32],\"value\":[32],\"getValue\":[64],\"getProps\":[64],\"refresh\":[64],\"setFocus\":[64],\"setValue\":[64]},[[0,\"keyup\",\"listenKeyup\"]]],[1,\"kup-time-picker\",{\"clockVariant\":[4,\"clock-variant\"],\"customStyle\":[1,\"custom-style\"],\"data\":[16],\"disabled\":[4],\"initialValue\":[1,\"initial-value\"],\"manageSeconds\":[4,\"manage-seconds\"],\"timeMinutesStep\":[2,\"time-minutes-step\"],\"value\":[32],\"getProps\":[64],\"getValue\":[64],\"refresh\":[64],\"setFocus\":[64],\"setProps\":[64],\"setValue\":[64]},[[4,\"keyup\",\"listenKeyup\"]]],[1,\"kup-autocomplete\",{\"customStyle\":[1,\"custom-style\"],\"data\":[1040],\"disabled\":[4],\"displayMode\":[1,\"display-mode\"],\"initialValue\":[1,\"initial-value\"],\"minimumChars\":[2,\"minimum-chars\"],\"selectMode\":[1,\"select-mode\"],\"serverHandledFilter\":[516,\"server-handled-filter\"],\"showDropDownIcon\":[4,\"show-drop-down-icon\"],\"displayedValue\":[32],\"value\":[32],\"getProps\":[64],\"getValue\":[64],\"refresh\":[64],\"setFocus\":[64],\"setProps\":[64],\"setValue\":[64]},[[0,\"keydown\",\"listenKeydown\"]]],[1,\"kup-chip\",{\"customStyle\":[1,\"custom-style\"],\"data\":[1040],\"dataNew\":[1040],\"type\":[1],\"getProps\":[64],\"refresh\":[64],\"setProps\":[64]}],[1,\"kup-tab-bar\",{\"customStyle\":[1,\"custom-style\"],\"data\":[16],\"ripple\":[4],\"value\":[32],\"getProps\":[64],\"refresh\":[64],\"setProps\":[64]}],[1,\"kup-chart\",{\"asp\":[1],\"axis\":[1],\"chartTitle\":[16],\"colors\":[16],\"customStyle\":[1,\"custom-style\"],\"data\":[16],\"hAxis\":[16],\"hAxes\":[16],\"legend\":[1],\"offlineMode\":[16],\"series\":[16],\"showMarks\":[4,\"show-marks\"],\"sizeX\":[1,\"size-x\"],\"sizeY\":[1,\"size-y\"],\"sorting\":[16],\"stacked\":[4],\"types\":[16],\"vAxes\":[16],\"vAxis\":[16],\"trendlines\":[16],\"version\":[1],\"getProps\":[64],\"refresh\":[64],\"resizeCallback\":[64],\"setProps\":[64]}],[1,\"kup-checkbox\",{\"checked\":[1028],\"customStyle\":[1,\"custom-style\"],\"disabled\":[4],\"indeterminate\":[1028],\"label\":[1],\"leadingLabel\":[4,\"leading-label\"],\"value\":[32],\"getProps\":[64],\"refresh\":[64],\"setProps\":[64]}],[1,\"kup-progress-bar\",{\"centeredLabel\":[4,\"centered-label\"],\"customStyle\":[1,\"custom-style\"],\"hideLabel\":[4,\"hide-label\"],\"icon\":[1],\"label\":[1],\"isRadial\":[516,\"is-radial\"],\"value\":[2],\"getProps\":[64],\"refresh\":[64],\"setProps\":[64]}],[1,\"kup-switch\",{\"checked\":[1028],\"customStyle\":[1,\"custom-style\"],\"disabled\":[4],\"label\":[1],\"leadingLabel\":[4,\"leading-label\"],\"value\":[32],\"getProps\":[64],\"refresh\":[64],\"setProps\":[64]}],[1,\"kup-text-field\",{\"customStyle\":[1,\"custom-style\"],\"disabled\":[4],\"emitSubmitEventOnEnter\":[4,\"emit-submit-event-on-enter\"],\"fullWidth\":[516,\"full-width\"],\"helper\":[1],\"helperEnabled\":[4,\"helper-enabled\"],\"helperWhenFocused\":[4,\"helper-when-focused\"],\"icon\":[1],\"initialValue\":[1,\"initial-value\"],\"inputType\":[1,\"input-type\"],\"isClearable\":[4,\"is-clearable\"],\"label\":[1],\"leadingLabel\":[4,\"leading-label\"],\"max\":[2],\"maxLength\":[2,\"max-length\"],\"min\":[2],\"outlined\":[4],\"readOnly\":[4,\"read-only\"],\"step\":[2],\"textArea\":[4,\"text-area\"],\"trailingIcon\":[4,\"trailing-icon\"],\"trailingLabel\":[4,\"trailing-label\"],\"value\":[32],\"getProps\":[64],\"getValue\":[64],\"refresh\":[64],\"setFocus\":[64],\"setProps\":[64],\"setValue\":[64]}],[1,\"kup-combobox\",{\"customStyle\":[1,\"custom-style\"],\"data\":[16],\"disabled\":[4],\"displayMode\":[1,\"display-mode\"],\"initialValue\":[1,\"initial-value\"],\"isSelect\":[516,\"is-select\"],\"selectMode\":[1,\"select-mode\"],\"showDropDownIcon\":[4,\"show-drop-down-icon\"],\"displayedValue\":[32],\"value\":[32],\"getProps\":[64],\"getValue\":[64],\"refresh\":[64],\"setFocus\":[64],\"setProps\":[64],\"setValue\":[64]},[[0,\"keydown\",\"listenKeydown\"]]],[1,\"kup-spinner\",{\"active\":[516],\"barVariant\":[4,\"bar-variant\"],\"customStyle\":[1,\"custom-style\"],\"dimensions\":[1],\"fader\":[4],\"faderTimeout\":[2,\"fader-timeout\"],\"fullScreen\":[516,\"full-screen\"],\"layout\":[2],\"getProps\":[64],\"refresh\":[64],\"setProps\":[64]}],[1,\"kup-button\",{\"checked\":[1028],\"customStyle\":[1,\"custom-style\"],\"disabled\":[4],\"icon\":[1],\"iconOff\":[1,\"icon-off\"],\"label\":[1],\"styling\":[1],\"showSpinner\":[4,\"show-spinner\"],\"toggable\":[4],\"trailingIcon\":[4,\"trailing-icon\"],\"value\":[32],\"getProps\":[64],\"refresh\":[64],\"setProps\":[64]}],[1,\"kup-list\",{\"customStyle\":[1,\"custom-style\"],\"data\":[1040],\"displayMode\":[1,\"display-mode\"],\"filter\":[1025],\"hideText\":[4,\"hide-text\"],\"isMenu\":[4,\"is-menu\"],\"keyboardNavigation\":[4,\"keyboard-navigation\"],\"menuVisible\":[4,\"menu-visible\"],\"roleType\":[1025,\"role-type\"],\"selectable\":[4],\"showIcons\":[4,\"show-icons\"],\"twoLine\":[4,\"two-line\"],\"focused\":[32],\"selected\":[32],\"focusNext\":[64],\"focusPrevious\":[64],\"getProps\":[64],\"refresh\":[64],\"resetFilter\":[64],\"select\":[64],\"setProps\":[64]},[[0,\"keydown\",\"listenKeydown\"]]],[1,\"kup-radio\",{\"columns\":[2],\"customStyle\":[1,\"custom-style\"],\"data\":[16],\"disabled\":[4],\"leadingLabel\":[4,\"leading-label\"],\"value\":[32],\"getProps\":[64],\"refresh\":[64],\"setProps\":[64]}],[1,\"kup-badge\",{\"customStyle\":[1,\"custom-style\"],\"imageData\":[16],\"text\":[1],\"getProps\":[64],\"refresh\":[64],\"setProps\":[64]}]]],[\"kup-magic-box.cjs\",[[1,\"kup-magic-box\",{\"customStyle\":[1,\"custom-style\"],\"data\":[1040],\"display\":[32],\"getProps\":[64],\"refresh\":[64],\"setProps\":[64]}]]],[\"kup-cell.cjs\",[[1,\"kup-cell\",{\"customStyle\":[1,\"custom-style\"],\"data\":[16],\"density\":[1],\"dragEnabled\":[4,\"drag-enabled\"],\"addCssClasses\":[64],\"getProps\":[64],\"refresh\":[64],\"removeCssClasses\":[64],\"setProps\":[64]}]]],[\"kup-dash-list.cjs\",[[1,\"kup-dash-list\",{\"layout\":[1],\"fontsize\":[1],\"active\":[4],\"columnsNumber\":[2,\"columns-number\"],\"fullWidth\":[4,\"full-width\"],\"horizontal\":[4],\"iconColor\":[16],\"valueColor\":[16],\"textColor\":[16],\"data\":[16]}]]],[\"kup-field.cjs\",[[1,\"kup-field\",{\"customStyle\":[1,\"custom-style\"],\"data\":[16],\"label\":[1],\"labelPos\":[1,\"label-pos\"],\"showSubmit\":[4,\"show-submit\"],\"submitLabel\":[1,\"submit-label\"],\"submitPos\":[1,\"submit-pos\"],\"type\":[1],\"getCurrentValue\":[64],\"getProps\":[64],\"refresh\":[64]}]]],[\"kup-iframe.cjs\",[[1,\"kup-iframe\",{\"buttonData\":[16],\"isButton\":[4,\"is-button\"],\"src\":[1],\"getProps\":[64],\"refresh\":[64],\"setProps\":[64]}]]],[\"kup-accordion.cjs\",[[1,\"kup-accordion\",{\"customStyle\":[1,\"custom-style\"],\"data\":[16],\"ripple\":[4],\"selectedItems\":[32],\"collapseAll\":[64],\"expandAll\":[64],\"getProps\":[64],\"refresh\":[64],\"setProps\":[64],\"toggleItem\":[64]}]]],[\"kup-calendar.cjs\",[[1,\"kup-calendar\",{\"customStyle\":[1,\"custom-style\"],\"data\":[16],\"dateCol\":[1,\"date-col\"],\"descrCol\":[1,\"descr-col\"],\"endCol\":[1,\"end-col\"],\"hideNavigation\":[4,\"hide-navigation\"],\"iconCol\":[1,\"icon-col\"],\"imageCol\":[1,\"image-col\"],\"initialDate\":[1,\"initial-date\"],\"startCol\":[1,\"start-col\"],\"styleCol\":[1,\"style-col\"],\"viewType\":[1025,\"view-type\"],\"getProps\":[64],\"refresh\":[64],\"resizeCallback\":[64],\"setProps\":[64]}]]],[\"kup-snackbar.cjs\",[[1,\"kup-snackbar\",{\"actionButton\":[16],\"closeButton\":[4,\"close-button\"],\"customStyle\":[1,\"custom-style\"],\"text\":[1],\"timeout\":[2],\"visible\":[32],\"getProps\":[64],\"hide\":[64],\"refresh\":[64],\"setProps\":[64],\"show\":[64]}]]],[\"kup-drawer.cjs\",[[1,\"kup-drawer\",{\"customStyle\":[1,\"custom-style\"],\"opened\":[32],\"close\":[64],\"getProps\":[64],\"isOpened\":[64],\"open\":[64],\"refresh\":[64],\"setProps\":[64],\"toggle\":[64]}]]],[\"kup-lazy.cjs\",[[1,\"kup-lazy\",{\"componentName\":[1,\"component-name\"],\"customStyle\":[1,\"custom-style\"],\"data\":[16],\"renderMode\":[1,\"render-mode\"],\"showPlaceholder\":[4,\"show-placeholder\"],\"isInViewport\":[32],\"getProps\":[64],\"refresh\":[64],\"setProps\":[64]}]]],[\"kup-nav-bar.cjs\",[[1,\"kup-nav-bar\",{\"customStyle\":[1,\"custom-style\"],\"styling\":[513],\"getProps\":[64],\"refresh\":[64],\"resizeCallback\":[64],\"setProps\":[64]}]]],[\"kup-probe.cjs\",[[1,\"kup-probe\",{\"customStyle\":[1,\"custom-style\"],\"features\":[16],\"content\":[32],\"printLifecycleTime\":[64],\"refresh\":[64]}]]],[\"kup-qlik.cjs\",[[0,\"kup-qlik\",{\"config\":[16],\"qlik\":[8],\"appid\":[513],\"app\":[520],\"grid\":[16],\"debug\":[4],\"fluid\":[4],\"bordered\":[4],\"defobjsize\":[1],\"divlist\":[32]}]]],[\"kup-dash_2.cjs\",[[1,\"kup-dash\",{\"active\":[4],\"fontsize\":[1],\"layout\":[1],\"index\":[2]}],[1,\"kup-grid\",{\"columns\":[2],\"customStyle\":[1,\"custom-style\"],\"singleLine\":[4,\"single-line\"],\"getProps\":[64],\"refresh\":[64],\"setProps\":[64]}]]]]"), options);
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
20
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const kupManager = require('./kup-manager-1a2688ca.js');
|
|
4
4
|
|
|
5
|
-
var numeral =
|
|
5
|
+
var numeral = kupManager.createCommonjsModule(function (module) {
|
|
6
6
|
/*! @preserve
|
|
7
7
|
* numeral.js
|
|
8
8
|
* version : 2.0.6
|
|
@@ -17,7 +17,7 @@ var numeral = kupObjects.createCommonjsModule(function (module) {
|
|
|
17
17
|
} else {
|
|
18
18
|
global.numeral = factory();
|
|
19
19
|
}
|
|
20
|
-
}(
|
|
20
|
+
}(kupManager.commonjsGlobal, function () {
|
|
21
21
|
/************************************
|
|
22
22
|
Variables
|
|
23
23
|
************************************/
|
|
@@ -1013,7 +1013,6 @@ return numeral;
|
|
|
1013
1013
|
});
|
|
1014
1014
|
|
|
1015
1015
|
const dom = document.documentElement;
|
|
1016
|
-
const kupDates = dom.ketchup ? dom.ketchup.dates : new kupObjects.KupDates();
|
|
1017
1016
|
exports.DateTimeFormatOptionsMonth = void 0;
|
|
1018
1017
|
(function (DateTimeFormatOptionsMonth) {
|
|
1019
1018
|
DateTimeFormatOptionsMonth["NUMERIC"] = "numeric";
|
|
@@ -1029,12 +1028,6 @@ function identify(array) {
|
|
|
1029
1028
|
}
|
|
1030
1029
|
}
|
|
1031
1030
|
}
|
|
1032
|
-
function getCurrentLocale() {
|
|
1033
|
-
if (navigator == null || navigator.language == null) {
|
|
1034
|
-
return 'en-US';
|
|
1035
|
-
}
|
|
1036
|
-
return navigator.language;
|
|
1037
|
-
}
|
|
1038
1031
|
function getSeparator(locale, separatorType) {
|
|
1039
1032
|
const numberWithGroupAndDecimalSeparator = 1000.1;
|
|
1040
1033
|
return Intl.NumberFormat(locale)
|
|
@@ -1050,7 +1043,7 @@ function getCurrentTimeFormatFromBrowserLocale(manageSeconds) {
|
|
|
1050
1043
|
if (manageSeconds == true) {
|
|
1051
1044
|
options.second = '2-digit';
|
|
1052
1045
|
}
|
|
1053
|
-
const formatObj = new Intl.DateTimeFormat(
|
|
1046
|
+
const formatObj = new Intl.DateTimeFormat(dom.ketchup.dates.getLocale() + '-u-hc-h23', options).formatToParts(new Date());
|
|
1054
1047
|
let timeFormat = formatObj
|
|
1055
1048
|
.map((obj) => {
|
|
1056
1049
|
switch (obj.type) {
|
|
@@ -1115,7 +1108,7 @@ function numberToString(input, decimals) {
|
|
|
1115
1108
|
if (input == null) {
|
|
1116
1109
|
return '';
|
|
1117
1110
|
}
|
|
1118
|
-
return _numberToString(input, decimals,
|
|
1111
|
+
return _numberToString(input, decimals, dom.ketchup.dates.getLocale(), true);
|
|
1119
1112
|
}
|
|
1120
1113
|
/**
|
|
1121
1114
|
* @param type - type of number for calculate suffix
|
|
@@ -1167,7 +1160,7 @@ function unformattedStringToFormattedStringNumber(input, decimals, type) {
|
|
|
1167
1160
|
* @returns number as string, formatted by locale US, decimal separator . (like java decimal numbers), without group separator
|
|
1168
1161
|
**/
|
|
1169
1162
|
function formattedStringToUnformattedStringNumber(input, type) {
|
|
1170
|
-
return numberStringToNumberString(input, type, getDecimalSeparator(
|
|
1163
|
+
return numberStringToNumberString(input, type, getDecimalSeparator(dom.ketchup.dates.getLocale()));
|
|
1171
1164
|
}
|
|
1172
1165
|
/**
|
|
1173
1166
|
* @param input number as string, formatted by locale US, decimal separator . (like java decimal numbers), with group separator
|
|
@@ -1248,7 +1241,7 @@ function formatTime(time, manageSeconds) {
|
|
|
1248
1241
|
if (manageSeconds == true) {
|
|
1249
1242
|
options.second = '2-digit';
|
|
1250
1243
|
}
|
|
1251
|
-
return time.toLocaleTimeString(
|
|
1244
|
+
return time.toLocaleTimeString(dom.ketchup.dates.getLocale() + '-u-hc-h23', options);
|
|
1252
1245
|
}
|
|
1253
1246
|
/**
|
|
1254
1247
|
* @param value time string, formatted by actual browser locale
|
|
@@ -1256,14 +1249,14 @@ function formatTime(time, manageSeconds) {
|
|
|
1256
1249
|
*/
|
|
1257
1250
|
function isValidFormattedStringTime(value, manageSeconds) {
|
|
1258
1251
|
let format = getCurrentTimeFormatFromBrowserLocale(manageSeconds);
|
|
1259
|
-
return
|
|
1252
|
+
return dom.ketchup.dates.isValid(value, format, true);
|
|
1260
1253
|
}
|
|
1261
1254
|
/**
|
|
1262
1255
|
* @param value date/time as string, formatted by actual browser locale
|
|
1263
1256
|
* @returns date/time as string, formatted ISO
|
|
1264
1257
|
**/
|
|
1265
1258
|
function formattedStringToDefaultUnformattedStringTimestamp(value) {
|
|
1266
|
-
return formattedStringToCustomUnformattedStringTime(value,
|
|
1259
|
+
return formattedStringToCustomUnformattedStringTime(value, kupManager.KupDatesFormats.ISO_DATE_TIME, true);
|
|
1267
1260
|
}
|
|
1268
1261
|
/**
|
|
1269
1262
|
* @param value time as string, formatted by actual browser locale
|
|
@@ -1273,8 +1266,8 @@ function formattedStringToDefaultUnformattedStringTimestamp(value) {
|
|
|
1273
1266
|
**/
|
|
1274
1267
|
function formattedStringToCustomUnformattedStringTime(value, outputFormat, manageSeconds) {
|
|
1275
1268
|
let inputFormat = getCurrentTimeFormatFromBrowserLocale(manageSeconds);
|
|
1276
|
-
if (
|
|
1277
|
-
return
|
|
1269
|
+
if (dom.ketchup.dates.isValid(value, inputFormat)) {
|
|
1270
|
+
return dom.ketchup.dates.format(dom.ketchup.dates.normalize(value, kupManager.KupDatesNormalize.TIME), outputFormat);
|
|
1278
1271
|
}
|
|
1279
1272
|
else {
|
|
1280
1273
|
return '';
|
|
@@ -1296,12 +1289,12 @@ function unformattedStringToFormattedStringTime(value, manageSeconds, customedFo
|
|
|
1296
1289
|
if (manageSeconds == true) {
|
|
1297
1290
|
options.second = '2-digit';
|
|
1298
1291
|
}
|
|
1299
|
-
let date =
|
|
1292
|
+
let date = dom.ketchup.dates.toDate(dom.ketchup.dates.normalize(value, kupManager.KupDatesNormalize.TIME));
|
|
1300
1293
|
return formatByCustomedOutputTimeFormat(value, date, options, customedFormat);
|
|
1301
1294
|
}
|
|
1302
1295
|
function formatByCustomedOutputTimeFormat(valueStr, date, options, customedFormat) {
|
|
1303
1296
|
if (customedFormat == null) {
|
|
1304
|
-
return date.toLocaleTimeString(
|
|
1297
|
+
return date.toLocaleTimeString(dom.ketchup.dates.getLocale() + '-u-hc-h23', options);
|
|
1305
1298
|
}
|
|
1306
1299
|
switch (customedFormat) {
|
|
1307
1300
|
case 'I13': {
|
|
@@ -1370,7 +1363,7 @@ function formatByCustomedOutputTimeFormat(valueStr, date, options, customedForma
|
|
|
1370
1363
|
return valueStr;
|
|
1371
1364
|
}
|
|
1372
1365
|
}
|
|
1373
|
-
return date.toLocaleTimeString(
|
|
1366
|
+
return date.toLocaleTimeString(dom.ketchup.dates.getLocale() + '-u-hc-h23', options);
|
|
1374
1367
|
}
|
|
1375
1368
|
/**
|
|
1376
1369
|
* @param value date/time as string, formatted ISO
|
|
@@ -1387,8 +1380,8 @@ function unformattedStringToFormattedStringTimestamp(value) {
|
|
|
1387
1380
|
second: '2-digit',
|
|
1388
1381
|
hour12: false,
|
|
1389
1382
|
};
|
|
1390
|
-
let date =
|
|
1391
|
-
return date.toLocaleString(
|
|
1383
|
+
let date = dom.ketchup.dates.toDate(dom.ketchup.dates.normalize(value, kupManager.KupDatesNormalize.TIMESTAMP));
|
|
1384
|
+
return date.toLocaleString(dom.ketchup.dates.getLocale() + '-u-hc-h23', options);
|
|
1392
1385
|
}
|
|
1393
1386
|
function getMonthAsStringByLocale(month, format) {
|
|
1394
1387
|
if (month == null) {
|
|
@@ -1400,7 +1393,7 @@ function getMonthAsStringByLocale(month, format) {
|
|
|
1400
1393
|
const options = {
|
|
1401
1394
|
month: format,
|
|
1402
1395
|
};
|
|
1403
|
-
const dateTimeFormat = new Intl.DateTimeFormat(
|
|
1396
|
+
const dateTimeFormat = new Intl.DateTimeFormat(dom.ketchup.dates.getLocale(), options);
|
|
1404
1397
|
return dateTimeFormat.format(dateTmp);
|
|
1405
1398
|
}
|
|
1406
1399
|
function getMonthsAsStringByLocale(format) {
|
|
@@ -1413,62 +1406,6 @@ function getMonthsAsStringByLocale(format) {
|
|
|
1413
1406
|
}
|
|
1414
1407
|
return months;
|
|
1415
1408
|
}
|
|
1416
|
-
function getDayAsStringByLocale(date) {
|
|
1417
|
-
if (date == null) {
|
|
1418
|
-
return '';
|
|
1419
|
-
}
|
|
1420
|
-
const options = {
|
|
1421
|
-
weekday: 'narrow',
|
|
1422
|
-
/** weekday: 'narrow' 'short' 'long' */
|
|
1423
|
-
};
|
|
1424
|
-
const dateTimeFormat = new Intl.DateTimeFormat(kupDates.getLocale(), options);
|
|
1425
|
-
return dateTimeFormat.format(date);
|
|
1426
|
-
}
|
|
1427
|
-
function firstDayThisWeek(firstDayIndex) {
|
|
1428
|
-
var d = new Date();
|
|
1429
|
-
const day = d.getDay();
|
|
1430
|
-
// dayIndex0
|
|
1431
|
-
d.setDate(d.getDate() - day);
|
|
1432
|
-
// dayIndexX
|
|
1433
|
-
d.setDate(d.getDate() + firstDayIndex);
|
|
1434
|
-
return d;
|
|
1435
|
-
}
|
|
1436
|
-
const offsetDate = (base, count) => {
|
|
1437
|
-
const date = new Date(base);
|
|
1438
|
-
date.setDate(base.getDate() + count);
|
|
1439
|
-
return date;
|
|
1440
|
-
};
|
|
1441
|
-
function thisWeek(firstDayIndex) {
|
|
1442
|
-
const firstDay = firstDayThisWeek(firstDayIndex);
|
|
1443
|
-
return {
|
|
1444
|
-
startDate: firstDay,
|
|
1445
|
-
endDate: offsetDate(firstDay, 6),
|
|
1446
|
-
};
|
|
1447
|
-
}
|
|
1448
|
-
function getDaysOfWeekAsStringByLocale(firstDayIndex) {
|
|
1449
|
-
var thisWeekDays = thisWeek(firstDayIndex);
|
|
1450
|
-
var monday = thisWeekDays.startDate;
|
|
1451
|
-
var days = [];
|
|
1452
|
-
for (var i = 0; i < 7; i++) {
|
|
1453
|
-
var date = new Date(monday.toISOString());
|
|
1454
|
-
date.setDate(date.getDate() + i);
|
|
1455
|
-
days[i] = getDayAsStringByLocale(date);
|
|
1456
|
-
}
|
|
1457
|
-
return days;
|
|
1458
|
-
}
|
|
1459
|
-
function fillString(stringIn, stringForFill, finalLen, addBefore) {
|
|
1460
|
-
let initSize = stringIn.length;
|
|
1461
|
-
let stringOut = '';
|
|
1462
|
-
for (let i = initSize; i < finalLen; i += stringForFill.length) {
|
|
1463
|
-
stringOut += stringForFill;
|
|
1464
|
-
}
|
|
1465
|
-
if (addBefore) {
|
|
1466
|
-
return stringOut + stringIn;
|
|
1467
|
-
}
|
|
1468
|
-
else {
|
|
1469
|
-
return stringIn + stringOut;
|
|
1470
|
-
}
|
|
1471
|
-
}
|
|
1472
1409
|
function deepEqual(object1, object2) {
|
|
1473
1410
|
if (!(isObject(object1) && isObject(object2))) {
|
|
1474
1411
|
return object1 === object2;
|
|
@@ -1533,13 +1470,10 @@ function setProps(comp, list, props) {
|
|
|
1533
1470
|
}
|
|
1534
1471
|
|
|
1535
1472
|
exports.deepEqual = deepEqual;
|
|
1536
|
-
exports.fillString = fillString;
|
|
1537
1473
|
exports.formatTime = formatTime;
|
|
1538
1474
|
exports.formattedStringToCustomUnformattedStringTime = formattedStringToCustomUnformattedStringTime;
|
|
1539
1475
|
exports.formattedStringToDefaultUnformattedStringTimestamp = formattedStringToDefaultUnformattedStringTimestamp;
|
|
1540
1476
|
exports.formattedStringToUnformattedStringNumber = formattedStringToUnformattedStringNumber;
|
|
1541
|
-
exports.getCurrentLocale = getCurrentLocale;
|
|
1542
|
-
exports.getDaysOfWeekAsStringByLocale = getDaysOfWeekAsStringByLocale;
|
|
1543
1477
|
exports.getDecimalSeparator = getDecimalSeparator;
|
|
1544
1478
|
exports.getMonthsAsStringByLocale = getMonthsAsStringByLocale;
|
|
1545
1479
|
exports.getProps = getProps;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
const sampleCell = document.getElementById('sampleCell');
|
|
2
|
+
sampleCell.data = {
|
|
3
|
+
value: 'Simple text with click event',
|
|
4
|
+
};
|
|
5
|
+
sampleCell.addEventListener('kup-cell-click', (e) => {
|
|
6
|
+
console.log(e);
|
|
7
|
+
});
|
|
8
|
+
|
|
9
|
+
const buttonCell = document.getElementById('buttonCell');
|
|
10
|
+
buttonCell.data = {
|
|
11
|
+
obj: {
|
|
12
|
+
t: 'J4',
|
|
13
|
+
p: 'BTN',
|
|
14
|
+
k: '',
|
|
15
|
+
},
|
|
16
|
+
data: {
|
|
17
|
+
icon: 'favorite',
|
|
18
|
+
label: 'Simple button',
|
|
19
|
+
},
|
|
20
|
+
value: 'Simple button',
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
const dateCell = document.getElementById('dateCell');
|
|
24
|
+
dateCell.data = {
|
|
25
|
+
obj: {
|
|
26
|
+
t: 'D8',
|
|
27
|
+
p: '*YYMD',
|
|
28
|
+
k: '20211101',
|
|
29
|
+
},
|
|
30
|
+
value: '2021-11-01',
|
|
31
|
+
title: 'Simple date',
|
|
32
|
+
icon: 'calendar',
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
const editableCell = document.getElementById('editableCell');
|
|
36
|
+
editableCell.data = {
|
|
37
|
+
value: 'Editable text with update event',
|
|
38
|
+
isEditable: true,
|
|
39
|
+
};
|
|
40
|
+
editableCell.addEventListener('kup-cell-update', (e) => {
|
|
41
|
+
console.log(e);
|
|
42
|
+
});
|
|
43
|
+
|
|
44
|
+
const styleCell = document.getElementById('styleCell');
|
|
45
|
+
styleCell.data = {
|
|
46
|
+
value: 'Styled text',
|
|
47
|
+
style: {
|
|
48
|
+
color: 'green',
|
|
49
|
+
'background-color': 'yellow',
|
|
50
|
+
},
|
|
51
|
+
};
|