@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
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import { Component, Element, Event, forceUpdate, h, Host, Listen, Method, Prop, State, } from '@stencil/core';
|
|
2
|
-
import { KupDebugCategory } from '../../utils/kup-debug/kup-debug-declarations';
|
|
3
|
-
import { kupDynamicPositionAttribute, } from '../../utils/kup-dynamic-position/kup-dynamic-position-declarations';
|
|
4
2
|
import { kupManagerInstance, } from '../../utils/kup-manager/kup-manager';
|
|
5
3
|
import { FTextField } from '../../f-components/f-text-field/f-text-field';
|
|
6
4
|
import { FTextFieldMDC } from '../../f-components/f-text-field/f-text-field-mdc';
|
|
7
5
|
import { KupAutocompleteProps, } from './kup-autocomplete-declarations';
|
|
8
|
-
import { ItemsDisplayMode } from '../kup-list/kup-list-declarations';
|
|
6
|
+
import { ItemsDisplayMode, } from '../kup-list/kup-list-declarations';
|
|
9
7
|
import { consistencyCheck } from '../kup-list/kup-list-helper';
|
|
10
8
|
import { KupThemeIconValues } from '../../utils/kup-theme/kup-theme-declarations';
|
|
11
9
|
import { getProps, setProps } from '../../utils/utils';
|
|
12
10
|
import { componentWrapperId } from '../../variables/GenericVariables';
|
|
11
|
+
import { KupDynamicPositionPlacement } from '../../utils/kup-dynamic-position/kup-dynamic-position-declarations';
|
|
13
12
|
export class KupAutocomplete {
|
|
14
13
|
constructor() {
|
|
15
14
|
/*-------------------------------------------------*/
|
|
@@ -20,10 +19,6 @@ export class KupAutocomplete {
|
|
|
20
19
|
/*-------------------------------------------------*/
|
|
21
20
|
/* P r o p s */
|
|
22
21
|
/*-------------------------------------------------*/
|
|
23
|
-
/**
|
|
24
|
-
* Function that can be invoked when the filter is updated, but only if in serverHandledFilter mode. It returns the items filtered.
|
|
25
|
-
*/
|
|
26
|
-
this.callBackOnFilterUpdate = undefined;
|
|
27
22
|
/**
|
|
28
23
|
* Custom style of the component.
|
|
29
24
|
* @default ""
|
|
@@ -55,25 +50,28 @@ export class KupAutocomplete {
|
|
|
55
50
|
*/
|
|
56
51
|
this.selectMode = ItemsDisplayMode.CODE;
|
|
57
52
|
/**
|
|
58
|
-
* When true,
|
|
59
|
-
* Also the component builtin filter will be disabled.
|
|
53
|
+
* When true, the items filter is managed server side, otherwise items filter is done client side.
|
|
60
54
|
*/
|
|
61
55
|
this.serverHandledFilter = false;
|
|
56
|
+
/**
|
|
57
|
+
* When true shows the drop-down icon, for open list.
|
|
58
|
+
*/
|
|
59
|
+
this.showDropDownIcon = true;
|
|
62
60
|
/*-------------------------------------------------*/
|
|
63
61
|
/* I n t e r n a l V a r i a b l e s */
|
|
64
62
|
/*-------------------------------------------------*/
|
|
65
63
|
this.doConsistencyCheck = true;
|
|
66
64
|
this.elStyle = undefined;
|
|
67
|
-
this.listEl =
|
|
65
|
+
this.listEl = null;
|
|
68
66
|
/**
|
|
69
67
|
* Instance of the KupManager class.
|
|
70
68
|
*/
|
|
71
69
|
this.kupManager = kupManagerInstance();
|
|
72
70
|
this.textfieldWrapper = undefined;
|
|
73
71
|
this.textfieldEl = undefined;
|
|
72
|
+
this.clickCb = null;
|
|
74
73
|
}
|
|
75
74
|
onKupBlur(e) {
|
|
76
|
-
this.closeList();
|
|
77
75
|
const { target } = e;
|
|
78
76
|
this.kupBlur.emit({
|
|
79
77
|
comp: this,
|
|
@@ -110,13 +108,17 @@ export class KupAutocomplete {
|
|
|
110
108
|
this.doConsistencyCheck = true;
|
|
111
109
|
this.consistencyCheck(undefined, e.target.value);
|
|
112
110
|
if (this.openList(false)) {
|
|
113
|
-
|
|
111
|
+
if (this.listEl != null && !this.serverHandledFilter) {
|
|
112
|
+
this.listEl.resetFilter(this.displayedValue);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
if (e.target.value.length >= this.minimumChars) {
|
|
116
|
+
this.kupInput.emit({
|
|
117
|
+
comp: this,
|
|
118
|
+
id: this.rootElement.id,
|
|
119
|
+
value: this.value,
|
|
120
|
+
});
|
|
114
121
|
}
|
|
115
|
-
this.kupInput.emit({
|
|
116
|
-
comp: this,
|
|
117
|
-
id: this.rootElement.id,
|
|
118
|
-
value: this.value,
|
|
119
|
-
});
|
|
120
122
|
}
|
|
121
123
|
onKupIconClick(event) {
|
|
122
124
|
const { target } = event;
|
|
@@ -136,6 +138,9 @@ export class KupAutocomplete {
|
|
|
136
138
|
this.doConsistencyCheck = true;
|
|
137
139
|
this.consistencyCheck(e);
|
|
138
140
|
this.closeList();
|
|
141
|
+
if (this.textfieldEl) {
|
|
142
|
+
this.textfieldEl.focus();
|
|
143
|
+
}
|
|
139
144
|
this.kupChange.emit({
|
|
140
145
|
comp: this,
|
|
141
146
|
id: this.rootElement.id,
|
|
@@ -244,46 +249,39 @@ export class KupAutocomplete {
|
|
|
244
249
|
/*-------------------------------------------------*/
|
|
245
250
|
/* P r i v a t e M e t h o d s */
|
|
246
251
|
/*-------------------------------------------------*/
|
|
247
|
-
handleFilterChange(newFilter, eventTarget) {
|
|
248
|
-
let detail = {
|
|
249
|
-
comp: this,
|
|
250
|
-
id: this.rootElement.id,
|
|
251
|
-
filter: newFilter,
|
|
252
|
-
matchesMinimumCharsRequired: newFilter && newFilter.length >= this.minimumChars,
|
|
253
|
-
el: eventTarget,
|
|
254
|
-
};
|
|
255
|
-
if (this.serverHandledFilter && this.callBackOnFilterUpdate) {
|
|
256
|
-
this.callBackOnFilterUpdate(detail)
|
|
257
|
-
.then((items) => {
|
|
258
|
-
this.data['kup-list']['data'] = [...items];
|
|
259
|
-
this.kupFilterChanged.emit(detail);
|
|
260
|
-
})
|
|
261
|
-
.catch((err) => {
|
|
262
|
-
this.kupManager.debug.logMessage(this, 'Executing callback error', KupDebugCategory.ERROR);
|
|
263
|
-
this.kupManager.debug.logMessage(this, err, KupDebugCategory.ERROR);
|
|
264
|
-
});
|
|
265
|
-
}
|
|
266
|
-
else {
|
|
267
|
-
this.listEl.resetFilter(newFilter);
|
|
268
|
-
this.kupFilterChanged.emit(detail);
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
252
|
openList(forceOpen) {
|
|
272
253
|
if (forceOpen != true && this.value.length < this.minimumChars) {
|
|
254
|
+
this.closeList();
|
|
273
255
|
return false;
|
|
274
256
|
}
|
|
275
257
|
this.textfieldWrapper.classList.add('toggled');
|
|
276
258
|
this.listEl.menuVisible = true;
|
|
277
|
-
this.
|
|
278
|
-
let elStyle = this.listEl.style;
|
|
259
|
+
const elStyle = this.listEl.style;
|
|
279
260
|
elStyle.height = 'auto';
|
|
280
261
|
elStyle.minWidth = this.textfieldWrapper.clientWidth + 'px';
|
|
262
|
+
if (this.kupManager.dynamicPosition.isRegistered(this.listEl)) {
|
|
263
|
+
this.kupManager.dynamicPosition.changeAnchor(this.listEl, this.textfieldWrapper);
|
|
264
|
+
}
|
|
265
|
+
else {
|
|
266
|
+
this.kupManager.dynamicPosition.register(this.listEl, this.textfieldWrapper, 0, KupDynamicPositionPlacement.AUTO, true);
|
|
267
|
+
}
|
|
268
|
+
this.kupManager.dynamicPosition.start(this.listEl);
|
|
269
|
+
if (!this.clickCb) {
|
|
270
|
+
this.clickCb = {
|
|
271
|
+
cb: () => {
|
|
272
|
+
this.closeList();
|
|
273
|
+
},
|
|
274
|
+
el: this.listEl,
|
|
275
|
+
};
|
|
276
|
+
}
|
|
277
|
+
this.kupManager.addClickCallback(this.clickCb, true);
|
|
281
278
|
return true;
|
|
282
279
|
}
|
|
283
280
|
closeList() {
|
|
284
281
|
this.textfieldWrapper.classList.remove('toggled');
|
|
285
282
|
this.listEl.menuVisible = false;
|
|
286
|
-
this.kupManager.dynamicPosition.stop(this.
|
|
283
|
+
this.kupManager.dynamicPosition.stop(this.listEl);
|
|
284
|
+
this.kupManager.removeClickCallback(this.clickCb);
|
|
287
285
|
}
|
|
288
286
|
isListOpened() {
|
|
289
287
|
return this.listEl.menuVisible == true;
|
|
@@ -296,12 +294,12 @@ export class KupAutocomplete {
|
|
|
296
294
|
let ret = consistencyCheck(valueIn, this.data['kup-list'], this.listEl, this.selectMode, this.displayMode, e);
|
|
297
295
|
this.value = ret.value;
|
|
298
296
|
this.displayedValue = ret.displayedValue;
|
|
299
|
-
if (this.listEl != null) {
|
|
297
|
+
if (this.listEl != null && !this.serverHandledFilter) {
|
|
300
298
|
this.listEl.resetFilter(this.displayedValue);
|
|
301
299
|
}
|
|
302
300
|
}
|
|
303
301
|
prepList() {
|
|
304
|
-
return (h("kup-list", Object.assign({}, this.data['kup-list'], {
|
|
302
|
+
return (h("kup-list", Object.assign({ displayMode: this.displayMode }, this.data['kup-list'], { isMenu: true, "onkup-list-click": (e) => this.onKupItemClick(e), ref: (el) => (this.listEl = el) })));
|
|
305
303
|
}
|
|
306
304
|
/*-------------------------------------------------*/
|
|
307
305
|
/* L i f e c y c l e H o o k s */
|
|
@@ -328,12 +326,11 @@ export class KupAutocomplete {
|
|
|
328
326
|
componentDidRender() {
|
|
329
327
|
const root = this.rootElement.shadowRoot;
|
|
330
328
|
if (root) {
|
|
331
|
-
const f = root.querySelector('.f-text-field
|
|
329
|
+
const f = root.querySelector('.f-text-field');
|
|
332
330
|
if (f) {
|
|
333
331
|
this.textfieldWrapper = f;
|
|
334
332
|
this.textfieldEl = f.querySelector('input');
|
|
335
333
|
FTextFieldMDC(f);
|
|
336
|
-
this.kupManager.dynamicPosition.register(this.listEl, this.textfieldWrapper);
|
|
337
334
|
}
|
|
338
335
|
}
|
|
339
336
|
this.kupManager.debug.logRender(this, true);
|
|
@@ -341,19 +338,19 @@ export class KupAutocomplete {
|
|
|
341
338
|
render() {
|
|
342
339
|
const fullHeight = this.rootElement.classList.contains('kup-full-height');
|
|
343
340
|
const fullWidth = this.rootElement.classList.contains('kup-full-width');
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
customStyle ? h("style", null, customStyle) : null,
|
|
341
|
+
return (h(Host, { class: `${fullHeight ? 'kup-full-height' : ''} ${fullWidth ? 'kup-full-width' : ''}`, style: this.elStyle },
|
|
342
|
+
h("style", null, this.kupManager.theme.setKupStyle(this.rootElement)),
|
|
347
343
|
h("div", { id: componentWrapperId, style: this.elStyle },
|
|
348
|
-
h(FTextField, Object.assign({}, this.data['kup-text-field'], { disabled: this.disabled, fullHeight: fullHeight, fullWidth: fullWidth, icon:
|
|
349
|
-
|
|
344
|
+
h(FTextField, Object.assign({}, this.data['kup-text-field'], { disabled: this.disabled, fullHeight: fullHeight, fullWidth: fullWidth, icon: this.showDropDownIcon
|
|
345
|
+
? KupThemeIconValues.DROPDOWN
|
|
346
|
+
: null, trailingIcon: true, value: this.displayedValue, onBlur: (e) => this.onKupBlur(e), onClick: (e) => this.onKupClick(e), onChange: (e) => this.onKupChange(e), onFocus: (e) => this.onKupFocus(e), onInput: (e) => this.onKupInput(e), onIconClick: (e) => this.onKupIconClick(e) }), this.prepList()))));
|
|
350
347
|
}
|
|
351
348
|
disconnectedCallback() {
|
|
352
|
-
this.
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
this.kupManager.dynamicPosition.unregister(Array.prototype.slice.call(dynamicPositionElements));
|
|
349
|
+
if (this.listEl) {
|
|
350
|
+
this.kupManager.dynamicPosition.unregister([this.listEl]);
|
|
351
|
+
this.listEl.remove();
|
|
356
352
|
}
|
|
353
|
+
this.kupManager.theme.unregister(this);
|
|
357
354
|
}
|
|
358
355
|
static get is() { return "kup-autocomplete"; }
|
|
359
356
|
static get encapsulation() { return "shadow"; }
|
|
@@ -364,29 +361,6 @@ export class KupAutocomplete {
|
|
|
364
361
|
"$": ["kup-autocomplete.css"]
|
|
365
362
|
}; }
|
|
366
363
|
static get properties() { return {
|
|
367
|
-
"callBackOnFilterUpdate": {
|
|
368
|
-
"type": "unknown",
|
|
369
|
-
"mutable": false,
|
|
370
|
-
"complexType": {
|
|
371
|
-
"original": "(detail: {\n filter: string;\n matchesMinimumCharsRequired: boolean;\n el: EventTarget;\n }) => Promise<any[]> | undefined",
|
|
372
|
-
"resolved": "(detail: { filter: string; matchesMinimumCharsRequired: boolean; el: EventTarget; }) => Promise<any[]>",
|
|
373
|
-
"references": {
|
|
374
|
-
"EventTarget": {
|
|
375
|
-
"location": "global"
|
|
376
|
-
},
|
|
377
|
-
"Promise": {
|
|
378
|
-
"location": "global"
|
|
379
|
-
}
|
|
380
|
-
}
|
|
381
|
-
},
|
|
382
|
-
"required": false,
|
|
383
|
-
"optional": false,
|
|
384
|
-
"docs": {
|
|
385
|
-
"tags": [],
|
|
386
|
-
"text": "Function that can be invoked when the filter is updated, but only if in serverHandledFilter mode. It returns the items filtered."
|
|
387
|
-
},
|
|
388
|
-
"defaultValue": "undefined"
|
|
389
|
-
},
|
|
390
364
|
"customStyle": {
|
|
391
365
|
"type": "string",
|
|
392
366
|
"mutable": false,
|
|
@@ -399,11 +373,11 @@ export class KupAutocomplete {
|
|
|
399
373
|
"optional": false,
|
|
400
374
|
"docs": {
|
|
401
375
|
"tags": [{
|
|
402
|
-
"
|
|
403
|
-
"
|
|
376
|
+
"name": "default",
|
|
377
|
+
"text": "\"\""
|
|
404
378
|
}, {
|
|
405
|
-
"
|
|
406
|
-
"
|
|
379
|
+
"name": "see",
|
|
380
|
+
"text": "https://ketchup.smeup.com/ketchup-showcase/#/customization"
|
|
407
381
|
}],
|
|
408
382
|
"text": "Custom style of the component."
|
|
409
383
|
},
|
|
@@ -543,11 +517,29 @@ export class KupAutocomplete {
|
|
|
543
517
|
"optional": false,
|
|
544
518
|
"docs": {
|
|
545
519
|
"tags": [],
|
|
546
|
-
"text": "When true,
|
|
520
|
+
"text": "When true, the items filter is managed server side, otherwise items filter is done client side."
|
|
547
521
|
},
|
|
548
522
|
"attribute": "server-handled-filter",
|
|
549
523
|
"reflect": true,
|
|
550
524
|
"defaultValue": "false"
|
|
525
|
+
},
|
|
526
|
+
"showDropDownIcon": {
|
|
527
|
+
"type": "boolean",
|
|
528
|
+
"mutable": false,
|
|
529
|
+
"complexType": {
|
|
530
|
+
"original": "boolean",
|
|
531
|
+
"resolved": "boolean",
|
|
532
|
+
"references": {}
|
|
533
|
+
},
|
|
534
|
+
"required": false,
|
|
535
|
+
"optional": false,
|
|
536
|
+
"docs": {
|
|
537
|
+
"tags": [],
|
|
538
|
+
"text": "When true shows the drop-down icon, for open list."
|
|
539
|
+
},
|
|
540
|
+
"attribute": "show-drop-down-icon",
|
|
541
|
+
"reflect": false,
|
|
542
|
+
"defaultValue": "true"
|
|
551
543
|
}
|
|
552
544
|
}; }
|
|
553
545
|
static get states() { return {
|
|
@@ -694,26 +686,6 @@ export class KupAutocomplete {
|
|
|
694
686
|
}
|
|
695
687
|
}
|
|
696
688
|
}
|
|
697
|
-
}, {
|
|
698
|
-
"method": "kupFilterChanged",
|
|
699
|
-
"name": "kup-autocomplete-filterchanged",
|
|
700
|
-
"bubbles": true,
|
|
701
|
-
"cancelable": false,
|
|
702
|
-
"composed": true,
|
|
703
|
-
"docs": {
|
|
704
|
-
"tags": [],
|
|
705
|
-
"text": ""
|
|
706
|
-
},
|
|
707
|
-
"complexType": {
|
|
708
|
-
"original": "kupAutocompleteFilterChangedEventPayload",
|
|
709
|
-
"resolved": "kupAutocompleteFilterChangedEventPayload",
|
|
710
|
-
"references": {
|
|
711
|
-
"kupAutocompleteFilterChangedEventPayload": {
|
|
712
|
-
"location": "import",
|
|
713
|
-
"path": "./kup-autocomplete-declarations"
|
|
714
|
-
}
|
|
715
|
-
}
|
|
716
|
-
}
|
|
717
689
|
}]; }
|
|
718
690
|
static get methods() { return {
|
|
719
691
|
"getProps": {
|
|
@@ -721,8 +693,8 @@ export class KupAutocomplete {
|
|
|
721
693
|
"signature": "(descriptions?: boolean) => Promise<GenericObject>",
|
|
722
694
|
"parameters": [{
|
|
723
695
|
"tags": [{
|
|
724
|
-
"
|
|
725
|
-
"
|
|
696
|
+
"name": "param",
|
|
697
|
+
"text": "descriptions - When provided and true, the result will be the list of props with their description."
|
|
726
698
|
}],
|
|
727
699
|
"text": "- When provided and true, the result will be the list of props with their description."
|
|
728
700
|
}],
|
|
@@ -804,8 +776,8 @@ export class KupAutocomplete {
|
|
|
804
776
|
"signature": "(props: GenericObject) => Promise<void>",
|
|
805
777
|
"parameters": [{
|
|
806
778
|
"tags": [{
|
|
807
|
-
"
|
|
808
|
-
"
|
|
779
|
+
"name": "param",
|
|
780
|
+
"text": "props - Object containing props that will be set to the component."
|
|
809
781
|
}],
|
|
810
782
|
"text": "- Object containing props that will be set to the component."
|
|
811
783
|
}],
|
|
@@ -833,8 +805,8 @@ export class KupAutocomplete {
|
|
|
833
805
|
"signature": "(value: string) => Promise<void>",
|
|
834
806
|
"parameters": [{
|
|
835
807
|
"tags": [{
|
|
836
|
-
"
|
|
837
|
-
"
|
|
808
|
+
"name": "param",
|
|
809
|
+
"text": "value - Value of the component."
|
|
838
810
|
}],
|
|
839
811
|
"text": "- Value of the component."
|
|
840
812
|
}],
|
|
@@ -1,35 +1,3 @@
|
|
|
1
|
-
.f-image--wrapper {
|
|
2
|
-
display: block;
|
|
3
|
-
margin: auto;
|
|
4
|
-
position: relative;
|
|
5
|
-
height: var(--kup_image_height, 100%);
|
|
6
|
-
width: var(--kup_image_width, 100%);
|
|
7
|
-
}
|
|
8
|
-
.f-image--wrapper.kup-fit img {
|
|
9
|
-
max-width: max-content;
|
|
10
|
-
object-fit: contain;
|
|
11
|
-
}
|
|
12
|
-
.f-image--wrapper img {
|
|
13
|
-
display: block;
|
|
14
|
-
margin: auto;
|
|
15
|
-
height: var(--kup_image_height, 100%);
|
|
16
|
-
width: var(--kup_image_width, 100%);
|
|
17
|
-
}
|
|
18
|
-
.f-image--wrapper .f-image__css {
|
|
19
|
-
overflow: hidden;
|
|
20
|
-
height: var(--kup_image_height, 100%);
|
|
21
|
-
width: var(--kup_image_width, 100%);
|
|
22
|
-
}
|
|
23
|
-
.f-image--wrapper .f-image__icon {
|
|
24
|
-
margin: auto;
|
|
25
|
-
height: var(--kup_image_height, 100%);
|
|
26
|
-
width: var(--kup_image_width, 100%);
|
|
27
|
-
}
|
|
28
|
-
.f-image--wrapper .css-step.bottom-aligned {
|
|
29
|
-
bottom: 0;
|
|
30
|
-
position: absolute;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
1
|
/**
|
|
34
2
|
* @prop --kup-badge-border-radius: Sets border radius of the badge.
|
|
35
3
|
* @prop --kup-badge-font-family: Sets font family of the badge.
|
|
@@ -72,10 +40,8 @@
|
|
|
72
40
|
padding: var(--kup_badge_padding);
|
|
73
41
|
text-align: center;
|
|
74
42
|
}
|
|
75
|
-
|
|
76
|
-
.f-image--wrapper {
|
|
43
|
+
#kup-component .f-image {
|
|
77
44
|
display: block;
|
|
78
|
-
position: relative;
|
|
79
45
|
left: 50%;
|
|
80
46
|
position: absolute;
|
|
81
47
|
top: 50%;
|
|
@@ -94,9 +94,8 @@ export class KupBadge {
|
|
|
94
94
|
}
|
|
95
95
|
imageEl = h(FImage, Object.assign({}, this.imageData));
|
|
96
96
|
}
|
|
97
|
-
const customStyle = this.kupManager.theme.setCustomStyle(this.rootElement);
|
|
98
97
|
return (h(Host, null,
|
|
99
|
-
|
|
98
|
+
h("style", null, this.kupManager.theme.setKupStyle(this.rootElement)),
|
|
100
99
|
h("div", { id: componentWrapperId, onClick: () => this.onKupClick() },
|
|
101
100
|
this.text,
|
|
102
101
|
imageEl)));
|
|
@@ -125,11 +124,11 @@ export class KupBadge {
|
|
|
125
124
|
"optional": false,
|
|
126
125
|
"docs": {
|
|
127
126
|
"tags": [{
|
|
128
|
-
"
|
|
129
|
-
"
|
|
127
|
+
"name": "default",
|
|
128
|
+
"text": "\"\""
|
|
130
129
|
}, {
|
|
131
|
-
"
|
|
132
|
-
"
|
|
130
|
+
"name": "see",
|
|
131
|
+
"text": "https://ketchup.smeup.com/ketchup-showcase/#/customization"
|
|
133
132
|
}],
|
|
134
133
|
"text": "Custom style of the component."
|
|
135
134
|
},
|
|
@@ -154,8 +153,8 @@ export class KupBadge {
|
|
|
154
153
|
"optional": false,
|
|
155
154
|
"docs": {
|
|
156
155
|
"tags": [{
|
|
157
|
-
"
|
|
158
|
-
"
|
|
156
|
+
"name": "default",
|
|
157
|
+
"text": "null"
|
|
159
158
|
}],
|
|
160
159
|
"text": "The data of the image displayed inside the badge."
|
|
161
160
|
},
|
|
@@ -173,8 +172,8 @@ export class KupBadge {
|
|
|
173
172
|
"optional": false,
|
|
174
173
|
"docs": {
|
|
175
174
|
"tags": [{
|
|
176
|
-
"
|
|
177
|
-
"
|
|
175
|
+
"name": "default",
|
|
176
|
+
"text": "null"
|
|
178
177
|
}],
|
|
179
178
|
"text": "The text displayed inside the badge."
|
|
180
179
|
},
|
|
@@ -210,8 +209,8 @@ export class KupBadge {
|
|
|
210
209
|
"signature": "(descriptions?: boolean) => Promise<GenericObject>",
|
|
211
210
|
"parameters": [{
|
|
212
211
|
"tags": [{
|
|
213
|
-
"
|
|
214
|
-
"
|
|
212
|
+
"name": "param",
|
|
213
|
+
"text": "descriptions - When provided and true, the result will be the list of props with their description."
|
|
215
214
|
}],
|
|
216
215
|
"text": "- When provided and true, the result will be the list of props with their description."
|
|
217
216
|
}],
|
|
@@ -258,8 +257,8 @@ export class KupBadge {
|
|
|
258
257
|
"signature": "(props: GenericObject) => Promise<void>",
|
|
259
258
|
"parameters": [{
|
|
260
259
|
"tags": [{
|
|
261
|
-
"
|
|
262
|
-
"
|
|
260
|
+
"name": "param",
|
|
261
|
+
"text": "props - Object containing props that will be set to the component."
|
|
263
262
|
}],
|
|
264
263
|
"text": "- Object containing props that will be set to the component."
|
|
265
264
|
}],
|