@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
|
@@ -0,0 +1,413 @@
|
|
|
1
|
+
import { Component, Element, forceUpdate, h, Host, Method, Prop, } from '@stencil/core';
|
|
2
|
+
import { kupManagerInstance, } from '../../utils/kup-manager/kup-manager';
|
|
3
|
+
import { getProps, setProps } from '../../utils/utils';
|
|
4
|
+
import { componentWrapperId } from '../../variables/GenericVariables';
|
|
5
|
+
import { KupCellProps } from './kup-cell-declarations';
|
|
6
|
+
import { FCell } from '../../f-components/f-cell/f-cell';
|
|
7
|
+
import { FCellPadding, } from '../../f-components/f-cell/f-cell-declarations';
|
|
8
|
+
import { KupDragEffect, } from '../../utils/kup-interact/kup-interact-declarations';
|
|
9
|
+
import { KupLanguageGeneric } from '../../utils/kup-language/kup-language-declarations';
|
|
10
|
+
export class KupCell {
|
|
11
|
+
constructor() {
|
|
12
|
+
/*-------------------------------------------------*/
|
|
13
|
+
/* P r o p s */
|
|
14
|
+
/*-------------------------------------------------*/
|
|
15
|
+
/**
|
|
16
|
+
* Custom style of the component.
|
|
17
|
+
* @default ""
|
|
18
|
+
* @see https://ketchup.smeup.com/ketchup-showcase/#/customization
|
|
19
|
+
*/
|
|
20
|
+
this.customStyle = '';
|
|
21
|
+
/**
|
|
22
|
+
* The data of the cell.
|
|
23
|
+
* @default false
|
|
24
|
+
*/
|
|
25
|
+
this.data = null;
|
|
26
|
+
/**
|
|
27
|
+
* The density of the cell, defaults at 'dense' and can be also set to 'wide' or 'medium'.
|
|
28
|
+
*/
|
|
29
|
+
this.density = FCellPadding.NONE;
|
|
30
|
+
/**
|
|
31
|
+
* When set to true, the component is draggable.
|
|
32
|
+
* @default false
|
|
33
|
+
*/
|
|
34
|
+
this.dragEnabled = false;
|
|
35
|
+
/*-------------------------------------------------*/
|
|
36
|
+
/* I n t e r n a l V a r i a b l e s */
|
|
37
|
+
/*-------------------------------------------------*/
|
|
38
|
+
/**
|
|
39
|
+
* Instance of the KupManager class.
|
|
40
|
+
*/
|
|
41
|
+
this.kupManager = kupManagerInstance();
|
|
42
|
+
}
|
|
43
|
+
/*-------------------------------------------------*/
|
|
44
|
+
/* P u b l i c M e t h o d s */
|
|
45
|
+
/*-------------------------------------------------*/
|
|
46
|
+
/**
|
|
47
|
+
* Adds the given CSS classes to the cell's data.
|
|
48
|
+
* @param {string[]} classes - Array of CSS classes.
|
|
49
|
+
*/
|
|
50
|
+
async addCssClasses(classes) {
|
|
51
|
+
if (!this.data.cssClass) {
|
|
52
|
+
this.data.cssClass = '';
|
|
53
|
+
}
|
|
54
|
+
if (classes) {
|
|
55
|
+
for (let index = 0; index < classes.length; index++) {
|
|
56
|
+
const cssClass = classes[index];
|
|
57
|
+
if (this.data.cssClass.indexOf(cssClass) < 0) {
|
|
58
|
+
this.data.cssClass += ` ${cssClass}`;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
this.refresh();
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Used to retrieve component's props values.
|
|
66
|
+
* @param {boolean} descriptions - When provided and true, the result will be the list of props with their description.
|
|
67
|
+
* @returns {Promise<GenericObject>} List of props as object, each key will be a prop.
|
|
68
|
+
*/
|
|
69
|
+
async getProps(descriptions) {
|
|
70
|
+
return getProps(this, KupCellProps, descriptions);
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* This method is used to trigger a new render of the component.
|
|
74
|
+
*/
|
|
75
|
+
async refresh() {
|
|
76
|
+
forceUpdate(this);
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Removes the given CSS classes from the cell's data.
|
|
80
|
+
* @param {string[]} classes - Array of CSS classes.
|
|
81
|
+
*/
|
|
82
|
+
async removeCssClasses(classes) {
|
|
83
|
+
if (!this.data.cssClass) {
|
|
84
|
+
return;
|
|
85
|
+
}
|
|
86
|
+
if (classes) {
|
|
87
|
+
for (let index = 0; index < classes.length; index++) {
|
|
88
|
+
const cssClass = classes[index];
|
|
89
|
+
if (this.data.cssClass.indexOf(cssClass) > 0) {
|
|
90
|
+
this.data.cssClass = this.data.cssClass.replace(new RegExp(cssClass, 'g'), '');
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
this.refresh();
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Sets the props to the component.
|
|
98
|
+
* @param {GenericObject} props - Object containing props that will be set to the component.
|
|
99
|
+
*/
|
|
100
|
+
async setProps(props) {
|
|
101
|
+
setProps(this, KupCellProps, props);
|
|
102
|
+
}
|
|
103
|
+
/*-------------------------------------------------*/
|
|
104
|
+
/* P r i v a t e M e t h o d s */
|
|
105
|
+
/*-------------------------------------------------*/
|
|
106
|
+
didRenderInteractables() {
|
|
107
|
+
if (this.dragEnabled) {
|
|
108
|
+
const dataCb = () => {
|
|
109
|
+
return {
|
|
110
|
+
cell: this.data,
|
|
111
|
+
column: this.generateColumn(),
|
|
112
|
+
id: this.rootElement.id,
|
|
113
|
+
multiple: false,
|
|
114
|
+
row: this.generateRow(),
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
this.kupManager.interact.draggable(this.rootElement.shadowRoot.querySelector('#' + componentWrapperId), {
|
|
118
|
+
cursorChecker() {
|
|
119
|
+
return null;
|
|
120
|
+
},
|
|
121
|
+
}, {
|
|
122
|
+
callback: dataCb,
|
|
123
|
+
}, KupDragEffect.BADGE);
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
generateColumn() {
|
|
127
|
+
const colname = this.data && this.data.obj && this.data.obj.t
|
|
128
|
+
? this.data.obj.t + '|' + this.data.obj.p
|
|
129
|
+
: 'KUPCELL';
|
|
130
|
+
const coltitle = this.data && this.data.obj && this.data.obj.t
|
|
131
|
+
? this.data.obj.t + '|' + this.data.obj.p
|
|
132
|
+
: this.kupManager.language.translate(KupLanguageGeneric.EMPTY_OBJECT);
|
|
133
|
+
return {
|
|
134
|
+
name: colname,
|
|
135
|
+
title: coltitle,
|
|
136
|
+
};
|
|
137
|
+
}
|
|
138
|
+
generateRow() {
|
|
139
|
+
const col = this.generateColumn();
|
|
140
|
+
const row = { cells: {} };
|
|
141
|
+
row.cells[col.name] = this.data;
|
|
142
|
+
return row;
|
|
143
|
+
}
|
|
144
|
+
/*-------------------------------------------------*/
|
|
145
|
+
/* L i f e c y c l e H o o k s */
|
|
146
|
+
/*-------------------------------------------------*/
|
|
147
|
+
componentWillLoad() {
|
|
148
|
+
this.kupManager.debug.logLoad(this, false);
|
|
149
|
+
this.kupManager.language.register(this);
|
|
150
|
+
this.kupManager.theme.register(this);
|
|
151
|
+
}
|
|
152
|
+
componentDidLoad() {
|
|
153
|
+
this.kupManager.debug.logLoad(this, true);
|
|
154
|
+
}
|
|
155
|
+
componentWillRender() {
|
|
156
|
+
this.kupManager.debug.logRender(this, false);
|
|
157
|
+
}
|
|
158
|
+
componentDidRender() {
|
|
159
|
+
this.didRenderInteractables();
|
|
160
|
+
this.kupManager.debug.logRender(this, true);
|
|
161
|
+
}
|
|
162
|
+
disconnectedCallback() {
|
|
163
|
+
this.kupManager.language.unregister(this);
|
|
164
|
+
this.kupManager.theme.unregister(this);
|
|
165
|
+
}
|
|
166
|
+
render() {
|
|
167
|
+
const props = {
|
|
168
|
+
cell: this.data,
|
|
169
|
+
column: this.generateColumn(),
|
|
170
|
+
component: this,
|
|
171
|
+
density: this.density,
|
|
172
|
+
editable: this.data.isEditable,
|
|
173
|
+
renderKup: true,
|
|
174
|
+
row: this.generateRow(),
|
|
175
|
+
};
|
|
176
|
+
return (h(Host, null,
|
|
177
|
+
h("style", null, this.kupManager.theme.setKupStyle(this.rootElement)),
|
|
178
|
+
h("div", { id: componentWrapperId },
|
|
179
|
+
h(FCell, Object.assign({}, props)))));
|
|
180
|
+
}
|
|
181
|
+
static get is() { return "kup-cell"; }
|
|
182
|
+
static get encapsulation() { return "shadow"; }
|
|
183
|
+
static get originalStyleUrls() { return {
|
|
184
|
+
"$": ["kup-cell.scss"]
|
|
185
|
+
}; }
|
|
186
|
+
static get styleUrls() { return {
|
|
187
|
+
"$": ["kup-cell.css"]
|
|
188
|
+
}; }
|
|
189
|
+
static get properties() { return {
|
|
190
|
+
"customStyle": {
|
|
191
|
+
"type": "string",
|
|
192
|
+
"mutable": false,
|
|
193
|
+
"complexType": {
|
|
194
|
+
"original": "string",
|
|
195
|
+
"resolved": "string",
|
|
196
|
+
"references": {}
|
|
197
|
+
},
|
|
198
|
+
"required": false,
|
|
199
|
+
"optional": false,
|
|
200
|
+
"docs": {
|
|
201
|
+
"tags": [{
|
|
202
|
+
"name": "default",
|
|
203
|
+
"text": "\"\""
|
|
204
|
+
}, {
|
|
205
|
+
"name": "see",
|
|
206
|
+
"text": "https://ketchup.smeup.com/ketchup-showcase/#/customization"
|
|
207
|
+
}],
|
|
208
|
+
"text": "Custom style of the component."
|
|
209
|
+
},
|
|
210
|
+
"attribute": "custom-style",
|
|
211
|
+
"reflect": false,
|
|
212
|
+
"defaultValue": "''"
|
|
213
|
+
},
|
|
214
|
+
"data": {
|
|
215
|
+
"type": "unknown",
|
|
216
|
+
"mutable": false,
|
|
217
|
+
"complexType": {
|
|
218
|
+
"original": "Cell",
|
|
219
|
+
"resolved": "Cell",
|
|
220
|
+
"references": {
|
|
221
|
+
"Cell": {
|
|
222
|
+
"location": "import",
|
|
223
|
+
"path": "../kup-data-table/kup-data-table-declarations"
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
},
|
|
227
|
+
"required": false,
|
|
228
|
+
"optional": false,
|
|
229
|
+
"docs": {
|
|
230
|
+
"tags": [{
|
|
231
|
+
"name": "default",
|
|
232
|
+
"text": "false"
|
|
233
|
+
}],
|
|
234
|
+
"text": "The data of the cell."
|
|
235
|
+
},
|
|
236
|
+
"defaultValue": "null"
|
|
237
|
+
},
|
|
238
|
+
"density": {
|
|
239
|
+
"type": "string",
|
|
240
|
+
"mutable": false,
|
|
241
|
+
"complexType": {
|
|
242
|
+
"original": "FCellPadding",
|
|
243
|
+
"resolved": "FCellPadding.DENSE | FCellPadding.MEDIUM | FCellPadding.NONE | FCellPadding.WIDE",
|
|
244
|
+
"references": {
|
|
245
|
+
"FCellPadding": {
|
|
246
|
+
"location": "import",
|
|
247
|
+
"path": "../../f-components/f-cell/f-cell-declarations"
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
},
|
|
251
|
+
"required": false,
|
|
252
|
+
"optional": false,
|
|
253
|
+
"docs": {
|
|
254
|
+
"tags": [],
|
|
255
|
+
"text": "The density of the cell, defaults at 'dense' and can be also set to 'wide' or 'medium'."
|
|
256
|
+
},
|
|
257
|
+
"attribute": "density",
|
|
258
|
+
"reflect": false,
|
|
259
|
+
"defaultValue": "FCellPadding.NONE"
|
|
260
|
+
},
|
|
261
|
+
"dragEnabled": {
|
|
262
|
+
"type": "boolean",
|
|
263
|
+
"mutable": false,
|
|
264
|
+
"complexType": {
|
|
265
|
+
"original": "boolean",
|
|
266
|
+
"resolved": "boolean",
|
|
267
|
+
"references": {}
|
|
268
|
+
},
|
|
269
|
+
"required": false,
|
|
270
|
+
"optional": false,
|
|
271
|
+
"docs": {
|
|
272
|
+
"tags": [{
|
|
273
|
+
"name": "default",
|
|
274
|
+
"text": "false"
|
|
275
|
+
}],
|
|
276
|
+
"text": "When set to true, the component is draggable."
|
|
277
|
+
},
|
|
278
|
+
"attribute": "drag-enabled",
|
|
279
|
+
"reflect": false,
|
|
280
|
+
"defaultValue": "false"
|
|
281
|
+
}
|
|
282
|
+
}; }
|
|
283
|
+
static get methods() { return {
|
|
284
|
+
"addCssClasses": {
|
|
285
|
+
"complexType": {
|
|
286
|
+
"signature": "(classes?: string[]) => Promise<void>",
|
|
287
|
+
"parameters": [{
|
|
288
|
+
"tags": [{
|
|
289
|
+
"name": "param",
|
|
290
|
+
"text": "classes - Array of CSS classes."
|
|
291
|
+
}],
|
|
292
|
+
"text": "- Array of CSS classes."
|
|
293
|
+
}],
|
|
294
|
+
"references": {
|
|
295
|
+
"Promise": {
|
|
296
|
+
"location": "global"
|
|
297
|
+
}
|
|
298
|
+
},
|
|
299
|
+
"return": "Promise<void>"
|
|
300
|
+
},
|
|
301
|
+
"docs": {
|
|
302
|
+
"text": "Adds the given CSS classes to the cell's data.",
|
|
303
|
+
"tags": [{
|
|
304
|
+
"name": "param",
|
|
305
|
+
"text": "classes - Array of CSS classes."
|
|
306
|
+
}]
|
|
307
|
+
}
|
|
308
|
+
},
|
|
309
|
+
"getProps": {
|
|
310
|
+
"complexType": {
|
|
311
|
+
"signature": "(descriptions?: boolean) => Promise<GenericObject>",
|
|
312
|
+
"parameters": [{
|
|
313
|
+
"tags": [{
|
|
314
|
+
"name": "param",
|
|
315
|
+
"text": "descriptions - When provided and true, the result will be the list of props with their description."
|
|
316
|
+
}],
|
|
317
|
+
"text": "- When provided and true, the result will be the list of props with their description."
|
|
318
|
+
}],
|
|
319
|
+
"references": {
|
|
320
|
+
"Promise": {
|
|
321
|
+
"location": "global"
|
|
322
|
+
},
|
|
323
|
+
"GenericObject": {
|
|
324
|
+
"location": "import",
|
|
325
|
+
"path": "../../types/GenericTypes"
|
|
326
|
+
}
|
|
327
|
+
},
|
|
328
|
+
"return": "Promise<GenericObject>"
|
|
329
|
+
},
|
|
330
|
+
"docs": {
|
|
331
|
+
"text": "Used to retrieve component's props values.",
|
|
332
|
+
"tags": [{
|
|
333
|
+
"name": "param",
|
|
334
|
+
"text": "descriptions - When provided and true, the result will be the list of props with their description."
|
|
335
|
+
}, {
|
|
336
|
+
"name": "returns",
|
|
337
|
+
"text": "List of props as object, each key will be a prop."
|
|
338
|
+
}]
|
|
339
|
+
}
|
|
340
|
+
},
|
|
341
|
+
"refresh": {
|
|
342
|
+
"complexType": {
|
|
343
|
+
"signature": "() => Promise<void>",
|
|
344
|
+
"parameters": [],
|
|
345
|
+
"references": {
|
|
346
|
+
"Promise": {
|
|
347
|
+
"location": "global"
|
|
348
|
+
}
|
|
349
|
+
},
|
|
350
|
+
"return": "Promise<void>"
|
|
351
|
+
},
|
|
352
|
+
"docs": {
|
|
353
|
+
"text": "This method is used to trigger a new render of the component.",
|
|
354
|
+
"tags": []
|
|
355
|
+
}
|
|
356
|
+
},
|
|
357
|
+
"removeCssClasses": {
|
|
358
|
+
"complexType": {
|
|
359
|
+
"signature": "(classes?: string[]) => Promise<void>",
|
|
360
|
+
"parameters": [{
|
|
361
|
+
"tags": [{
|
|
362
|
+
"name": "param",
|
|
363
|
+
"text": "classes - Array of CSS classes."
|
|
364
|
+
}],
|
|
365
|
+
"text": "- Array of CSS classes."
|
|
366
|
+
}],
|
|
367
|
+
"references": {
|
|
368
|
+
"Promise": {
|
|
369
|
+
"location": "global"
|
|
370
|
+
}
|
|
371
|
+
},
|
|
372
|
+
"return": "Promise<void>"
|
|
373
|
+
},
|
|
374
|
+
"docs": {
|
|
375
|
+
"text": "Removes the given CSS classes from the cell's data.",
|
|
376
|
+
"tags": [{
|
|
377
|
+
"name": "param",
|
|
378
|
+
"text": "classes - Array of CSS classes."
|
|
379
|
+
}]
|
|
380
|
+
}
|
|
381
|
+
},
|
|
382
|
+
"setProps": {
|
|
383
|
+
"complexType": {
|
|
384
|
+
"signature": "(props: GenericObject) => Promise<void>",
|
|
385
|
+
"parameters": [{
|
|
386
|
+
"tags": [{
|
|
387
|
+
"name": "param",
|
|
388
|
+
"text": "props - Object containing props that will be set to the component."
|
|
389
|
+
}],
|
|
390
|
+
"text": "- Object containing props that will be set to the component."
|
|
391
|
+
}],
|
|
392
|
+
"references": {
|
|
393
|
+
"Promise": {
|
|
394
|
+
"location": "global"
|
|
395
|
+
},
|
|
396
|
+
"GenericObject": {
|
|
397
|
+
"location": "import",
|
|
398
|
+
"path": "../../types/GenericTypes"
|
|
399
|
+
}
|
|
400
|
+
},
|
|
401
|
+
"return": "Promise<void>"
|
|
402
|
+
},
|
|
403
|
+
"docs": {
|
|
404
|
+
"text": "Sets the props to the component.",
|
|
405
|
+
"tags": [{
|
|
406
|
+
"name": "param",
|
|
407
|
+
"text": "props - Object containing props that will be set to the component."
|
|
408
|
+
}]
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
}; }
|
|
412
|
+
static get elementRef() { return "rootElement"; }
|
|
413
|
+
}
|
|
@@ -504,9 +504,8 @@ export class KupChart {
|
|
|
504
504
|
width: this.sizeX,
|
|
505
505
|
minWidth: this.sizeX,
|
|
506
506
|
};
|
|
507
|
-
const customStyle = this.kupManager.theme.setCustomStyle(this.rootElement);
|
|
508
507
|
return (h(Host, { style: this.elStyle },
|
|
509
|
-
|
|
508
|
+
h("style", null, this.kupManager.theme.setKupStyle(this.rootElement)),
|
|
510
509
|
h("div", { id: componentWrapperId, ref: (chartContainer) => (this.chartContainer = chartContainer) })));
|
|
511
510
|
}
|
|
512
511
|
disconnectedCallback() {
|
|
@@ -539,8 +538,8 @@ export class KupChart {
|
|
|
539
538
|
"optional": false,
|
|
540
539
|
"docs": {
|
|
541
540
|
"tags": [{
|
|
542
|
-
"
|
|
543
|
-
"
|
|
541
|
+
"name": "default",
|
|
542
|
+
"text": "undefined"
|
|
544
543
|
}],
|
|
545
544
|
"text": "Sets the chart to a 2D or 3D aspect. 3D only works for Pie graphs."
|
|
546
545
|
},
|
|
@@ -559,8 +558,8 @@ export class KupChart {
|
|
|
559
558
|
"optional": false,
|
|
560
559
|
"docs": {
|
|
561
560
|
"tags": [{
|
|
562
|
-
"
|
|
563
|
-
"
|
|
561
|
+
"name": "default",
|
|
562
|
+
"text": "undefined"
|
|
564
563
|
}],
|
|
565
564
|
"text": "Sets the axis of the chart."
|
|
566
565
|
},
|
|
@@ -584,8 +583,8 @@ export class KupChart {
|
|
|
584
583
|
"optional": false,
|
|
585
584
|
"docs": {
|
|
586
585
|
"tags": [{
|
|
587
|
-
"
|
|
588
|
-
"
|
|
586
|
+
"name": "default",
|
|
587
|
+
"text": "undefined"
|
|
589
588
|
}],
|
|
590
589
|
"text": "Title of the graph."
|
|
591
590
|
}
|
|
@@ -602,8 +601,8 @@ export class KupChart {
|
|
|
602
601
|
"optional": false,
|
|
603
602
|
"docs": {
|
|
604
603
|
"tags": [{
|
|
605
|
-
"
|
|
606
|
-
"
|
|
604
|
+
"name": "default",
|
|
605
|
+
"text": "[]"
|
|
607
606
|
}],
|
|
608
607
|
"text": "Colors of the chart."
|
|
609
608
|
},
|
|
@@ -621,11 +620,11 @@ export class KupChart {
|
|
|
621
620
|
"optional": false,
|
|
622
621
|
"docs": {
|
|
623
622
|
"tags": [{
|
|
624
|
-
"
|
|
625
|
-
"
|
|
623
|
+
"name": "default",
|
|
624
|
+
"text": "\"\""
|
|
626
625
|
}, {
|
|
627
|
-
"
|
|
628
|
-
"
|
|
626
|
+
"name": "see",
|
|
627
|
+
"text": "https://ketchup.smeup.com/ketchup-showcase/#/customization"
|
|
629
628
|
}],
|
|
630
629
|
"text": "Custom style of the component."
|
|
631
630
|
},
|
|
@@ -650,8 +649,8 @@ export class KupChart {
|
|
|
650
649
|
"optional": false,
|
|
651
650
|
"docs": {
|
|
652
651
|
"tags": [{
|
|
653
|
-
"
|
|
654
|
-
"
|
|
652
|
+
"name": "default",
|
|
653
|
+
"text": "undefined"
|
|
655
654
|
}],
|
|
656
655
|
"text": "The actual data of the chart."
|
|
657
656
|
}
|
|
@@ -673,8 +672,8 @@ export class KupChart {
|
|
|
673
672
|
"optional": false,
|
|
674
673
|
"docs": {
|
|
675
674
|
"tags": [{
|
|
676
|
-
"
|
|
677
|
-
"
|
|
675
|
+
"name": "default",
|
|
676
|
+
"text": "undefined"
|
|
678
677
|
}],
|
|
679
678
|
"text": "Customize the hAxis."
|
|
680
679
|
}
|
|
@@ -711,8 +710,8 @@ export class KupChart {
|
|
|
711
710
|
"optional": false,
|
|
712
711
|
"docs": {
|
|
713
712
|
"tags": [{
|
|
714
|
-
"
|
|
715
|
-
"
|
|
713
|
+
"name": "default",
|
|
714
|
+
"text": "\"right\""
|
|
716
715
|
}],
|
|
717
716
|
"text": "Sets the position of the legend. Supported values: bottom, labeled, left, none, right, top. Keep in mind that legend types are tied to chart types, some combinations might not work."
|
|
718
717
|
},
|
|
@@ -737,8 +736,8 @@ export class KupChart {
|
|
|
737
736
|
"optional": false,
|
|
738
737
|
"docs": {
|
|
739
738
|
"tags": [{
|
|
740
|
-
"
|
|
741
|
-
"
|
|
739
|
+
"name": "default",
|
|
740
|
+
"text": "undefined"
|
|
742
741
|
}],
|
|
743
742
|
"text": "Renders charts without the Google API and using jQuery Sparkline."
|
|
744
743
|
},
|
|
@@ -761,8 +760,8 @@ export class KupChart {
|
|
|
761
760
|
"optional": false,
|
|
762
761
|
"docs": {
|
|
763
762
|
"tags": [{
|
|
764
|
-
"
|
|
765
|
-
"
|
|
763
|
+
"name": "default",
|
|
764
|
+
"text": "undefined"
|
|
766
765
|
}],
|
|
767
766
|
"text": "The data series to be displayed. They must be of the same type."
|
|
768
767
|
}
|
|
@@ -779,8 +778,8 @@ export class KupChart {
|
|
|
779
778
|
"optional": false,
|
|
780
779
|
"docs": {
|
|
781
780
|
"tags": [{
|
|
782
|
-
"
|
|
783
|
-
"
|
|
781
|
+
"name": "default",
|
|
782
|
+
"text": "false"
|
|
784
783
|
}],
|
|
785
784
|
"text": "Displays the numerical values."
|
|
786
785
|
},
|
|
@@ -800,8 +799,8 @@ export class KupChart {
|
|
|
800
799
|
"optional": false,
|
|
801
800
|
"docs": {
|
|
802
801
|
"tags": [{
|
|
803
|
-
"
|
|
804
|
-
"
|
|
802
|
+
"name": "default",
|
|
803
|
+
"text": "\"100%\""
|
|
805
804
|
}],
|
|
806
805
|
"text": "The width of the chart, defaults to 100%. Accepts any valid CSS format (px, %, vw, etc.)."
|
|
807
806
|
},
|
|
@@ -821,8 +820,8 @@ export class KupChart {
|
|
|
821
820
|
"optional": false,
|
|
822
821
|
"docs": {
|
|
823
822
|
"tags": [{
|
|
824
|
-
"
|
|
825
|
-
"
|
|
823
|
+
"name": "default",
|
|
824
|
+
"text": "\"100%\""
|
|
826
825
|
}],
|
|
827
826
|
"text": "The height of the chart, defaults to 100%. Accepts any valid CSS format (px, %, vh, etc.)."
|
|
828
827
|
},
|
|
@@ -847,8 +846,8 @@ export class KupChart {
|
|
|
847
846
|
"optional": false,
|
|
848
847
|
"docs": {
|
|
849
848
|
"tags": [{
|
|
850
|
-
"
|
|
851
|
-
"
|
|
849
|
+
"name": "default",
|
|
850
|
+
"text": "null"
|
|
852
851
|
}],
|
|
853
852
|
"text": "Used to sort series."
|
|
854
853
|
},
|
|
@@ -889,8 +888,8 @@ export class KupChart {
|
|
|
889
888
|
"optional": false,
|
|
890
889
|
"docs": {
|
|
891
890
|
"tags": [{
|
|
892
|
-
"
|
|
893
|
-
"
|
|
891
|
+
"name": "default",
|
|
892
|
+
"text": "[ChartType.Hbar]"
|
|
894
893
|
}],
|
|
895
894
|
"text": "The type of the chart. Supported formats: Area, Bubble, Cal, Candlestick, Combo, Geo, Hbar, Line, Ohlc, Pie, Sankey, Scatter, Unk, Vbar."
|
|
896
895
|
},
|
|
@@ -933,8 +932,8 @@ export class KupChart {
|
|
|
933
932
|
"optional": false,
|
|
934
933
|
"docs": {
|
|
935
934
|
"tags": [{
|
|
936
|
-
"
|
|
937
|
-
"
|
|
935
|
+
"name": "default",
|
|
936
|
+
"text": "undefined"
|
|
938
937
|
}],
|
|
939
938
|
"text": "Customize the vAxis."
|
|
940
939
|
}
|
|
@@ -971,8 +970,8 @@ export class KupChart {
|
|
|
971
970
|
"optional": false,
|
|
972
971
|
"docs": {
|
|
973
972
|
"tags": [{
|
|
974
|
-
"
|
|
975
|
-
"
|
|
973
|
+
"name": "default",
|
|
974
|
+
"text": "\"45.2\""
|
|
976
975
|
}],
|
|
977
976
|
"text": "Google chart version to load"
|
|
978
977
|
},
|
|
@@ -1008,8 +1007,8 @@ export class KupChart {
|
|
|
1008
1007
|
"signature": "(descriptions?: boolean) => Promise<GenericObject>",
|
|
1009
1008
|
"parameters": [{
|
|
1010
1009
|
"tags": [{
|
|
1011
|
-
"
|
|
1012
|
-
"
|
|
1010
|
+
"name": "param",
|
|
1011
|
+
"text": "descriptions - When provided and true, the result will be the list of props with their description."
|
|
1013
1012
|
}],
|
|
1014
1013
|
"text": "- When provided and true, the result will be the list of props with their description."
|
|
1015
1014
|
}],
|
|
@@ -1072,8 +1071,8 @@ export class KupChart {
|
|
|
1072
1071
|
"signature": "(props: GenericObject) => Promise<void>",
|
|
1073
1072
|
"parameters": [{
|
|
1074
1073
|
"tags": [{
|
|
1075
|
-
"
|
|
1076
|
-
"
|
|
1074
|
+
"name": "param",
|
|
1075
|
+
"text": "props - Object containing props that will be set to the component."
|
|
1077
1076
|
}],
|
|
1078
1077
|
"text": "- Object containing props that will be set to the component."
|
|
1079
1078
|
}],
|