@limetech/lime-elements 36.0.0-next.9 → 36.1.0-dev.1
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/dist/cjs/{checkbox.template-b6c6562c.js → checkbox.template-ac867c17.js} +1 -1
- package/dist/cjs/{dateFormatter-05d80b12.js → dateFormatter-d7a8d40d.js} +1 -1
- package/dist/cjs/{index-2a28697b.js → index-287e25e0.js} +424 -246
- package/dist/cjs/lime-elements.cjs.js +3 -3
- package/dist/cjs/limel-badge.cjs.entry.js +24 -3
- package/dist/cjs/limel-banner.cjs.entry.js +3 -1
- package/dist/cjs/limel-button-group.cjs.entry.js +3 -8
- package/dist/cjs/{limel-button.cjs.entry.js → limel-button_2.cjs.entry.js} +117 -21
- package/dist/cjs/limel-checkbox.cjs.entry.js +10 -26
- package/dist/cjs/limel-chip-set.cjs.entry.js +40 -63
- package/dist/cjs/limel-circular-progress.cjs.entry.js +10 -15
- package/dist/cjs/limel-code-editor.cjs.entry.js +1693 -86
- package/dist/cjs/limel-collapsible-section.cjs.entry.js +5 -6
- package/dist/cjs/limel-color-picker-palette.cjs.entry.js +5 -1
- package/dist/cjs/limel-color-picker.cjs.entry.js +8 -2
- package/dist/cjs/limel-config.cjs.entry.js +2 -1
- package/dist/cjs/limel-date-picker.cjs.entry.js +18 -36
- package/dist/cjs/limel-dialog.cjs.entry.js +3 -11
- package/dist/cjs/limel-dock-button.cjs.entry.js +30 -14
- package/dist/cjs/limel-dock.cjs.entry.js +12 -47
- package/dist/cjs/limel-file.cjs.entry.js +10 -24
- package/dist/cjs/limel-flatpickr-adapter.cjs.entry.js +151 -50
- package/dist/cjs/limel-flex-container.cjs.entry.js +1 -13
- package/dist/cjs/limel-form.cjs.entry.js +327 -328
- package/dist/cjs/limel-grid.cjs.entry.js +1 -1
- package/dist/cjs/limel-header.cjs.entry.js +5 -1
- package/dist/cjs/limel-icon-button.cjs.entry.js +3 -8
- package/dist/cjs/limel-icon.cjs.entry.js +4 -1
- package/dist/cjs/limel-input-field.cjs.entry.js +40 -66
- package/dist/cjs/limel-linear-progress.cjs.entry.js +1 -7
- package/dist/cjs/limel-list_2.cjs.entry.js +9 -18
- package/dist/cjs/limel-menu-list.cjs.entry.js +8 -16
- package/dist/cjs/limel-picker.cjs.entry.js +14 -39
- package/dist/cjs/limel-popover_4.cjs.entry.js +14 -13
- package/dist/cjs/limel-portal.cjs.entry.js +63 -73
- package/dist/cjs/limel-progress-flow-item.cjs.entry.js +5 -14
- package/dist/cjs/limel-progress-flow.cjs.entry.js +4 -20
- package/dist/cjs/limel-select.cjs.entry.js +12 -30
- package/dist/cjs/limel-shortcut.cjs.entry.js +52 -0
- package/dist/cjs/limel-slider.cjs.entry.js +12 -33
- package/dist/cjs/limel-snackbar.cjs.entry.js +7 -5
- package/dist/cjs/limel-spinner.cjs.entry.js +1 -7
- package/dist/cjs/limel-split-button.cjs.entry.js +27 -0
- package/dist/cjs/limel-switch.cjs.entry.js +6 -19
- package/dist/cjs/limel-tab-bar.cjs.entry.js +2 -5
- package/dist/cjs/limel-tab-panel.cjs.entry.js +2 -5
- package/dist/cjs/limel-table.cjs.entry.js +33 -33
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{moment-5cfac5cd.js → moment-d1e35cdc.js} +2 -2
- package/dist/cjs/{translations-5a8d7f6c.js → translations-ca7279bc.js} +6 -0
- package/dist/collection/collection-manifest.json +4 -2
- package/dist/collection/components/badge/badge.css +13 -0
- package/dist/collection/components/badge/badge.js +60 -28
- package/dist/collection/components/banner/banner.js +88 -83
- package/dist/collection/components/button/button.css +15 -8
- package/dist/collection/components/button/button.js +148 -160
- package/dist/collection/components/button-group/button-group.js +81 -79
- package/dist/collection/components/checkbox/checkbox.js +172 -176
- package/dist/collection/components/checkbox/checkbox.template.js +15 -23
- package/dist/collection/components/chip-set/chip-set.css +10 -2
- package/dist/collection/components/chip-set/chip-set.js +500 -534
- package/dist/collection/components/circular-progress/circular-progress.css +27 -5
- package/dist/collection/components/circular-progress/circular-progress.js +129 -113
- package/dist/collection/components/code-editor/code-editor.css +153 -1
- package/dist/collection/components/code-editor/code-editor.js +219 -135
- package/dist/collection/components/collapsible-section/collapsible-section.css +8 -7
- package/dist/collection/components/collapsible-section/collapsible-section.js +120 -124
- package/dist/collection/components/color-picker/color-picker-palette.js +102 -92
- package/dist/collection/components/color-picker/color-picker.js +143 -131
- package/dist/collection/components/config/config.js +21 -17
- package/dist/collection/components/date-picker/date-picker.js +255 -245
- package/dist/collection/components/date-picker/flatpickr-adapter/flatpickr-adapter.css +595 -166
- package/dist/collection/components/date-picker/flatpickr-adapter/flatpickr-adapter.js +150 -143
- package/dist/collection/components/date-picker/pickers/QuarterPicker.js +1 -3
- package/dist/collection/components/dialog/dialog.js +134 -142
- package/dist/collection/components/dock/dock-button/dock-button.css +15 -9
- package/dist/collection/components/dock/dock-button/dock-button.js +158 -124
- package/dist/collection/components/dock/dock.css +7 -3
- package/dist/collection/components/dock/dock.js +207 -205
- package/dist/collection/components/file/file.js +187 -191
- package/dist/collection/components/flex-container/flex-container.js +96 -102
- package/dist/collection/components/form/form.js +158 -150
- package/dist/collection/components/grid/grid.js +11 -7
- package/dist/collection/components/header/header.js +89 -87
- package/dist/collection/components/icon/icon.js +79 -66
- package/dist/collection/components/icon-button/icon-button.js +85 -85
- package/dist/collection/components/input-field/input-field.css +9 -8
- package/dist/collection/components/input-field/input-field.js +494 -510
- package/dist/collection/components/linear-progress/linear-progress.js +57 -61
- package/dist/collection/components/list/list-renderer.js +3 -12
- package/dist/collection/components/list/list.js +167 -164
- package/dist/collection/components/list/radio-button/radio-button.template.js +2 -8
- package/dist/collection/components/menu/menu.js +185 -208
- package/dist/collection/components/menu-list/menu-list-renderer.js +2 -9
- package/dist/collection/components/menu-list/menu-list.js +150 -167
- package/dist/collection/components/menu-surface/menu-surface.js +69 -64
- package/dist/collection/components/picker/picker.js +412 -427
- package/dist/collection/components/popover/popover.js +79 -74
- package/dist/collection/components/popover-surface/popover-surface.css +9 -4
- package/dist/collection/components/popover-surface/popover-surface.js +34 -25
- package/dist/collection/components/portal/portal.js +145 -158
- package/dist/collection/components/progress-flow/progress-flow-item/progress-flow-item.css +21 -8
- package/dist/collection/components/progress-flow/progress-flow-item/progress-flow-item.js +90 -94
- package/dist/collection/components/progress-flow/progress-flow.js +93 -101
- package/dist/collection/components/select/select.css +10 -11
- package/dist/collection/components/select/select.js +206 -211
- package/dist/collection/components/select/select.template.js +10 -25
- package/dist/collection/components/shortcut/shortcut.css +91 -0
- package/dist/collection/components/shortcut/shortcut.js +194 -0
- package/dist/collection/components/slider/slider.js +233 -264
- package/dist/collection/components/snackbar/snackbar.js +175 -169
- package/dist/collection/components/spinner/spinner.js +56 -85
- package/dist/collection/components/split-button/split-button.css +75 -0
- package/dist/collection/components/split-button/split-button.js +168 -0
- package/dist/collection/components/switch/switch.js +117 -129
- package/dist/collection/components/tab-bar/tab-bar.js +87 -92
- package/dist/collection/components/tab-panel/tab-panel.js +64 -61
- package/dist/collection/components/table/columns.js +1 -0
- package/dist/collection/components/table/layout.js +8 -0
- package/dist/collection/components/table/table.css +89 -61
- package/dist/collection/components/table/table.js +453 -432
- package/dist/collection/components/tooltip/tooltip-content.js +70 -61
- package/dist/collection/components/tooltip/tooltip.js +96 -91
- package/dist/collection/icons/angle_left.svg +593 -0
- package/dist/collection/icons/angle_right.svg +593 -0
- package/dist/collection/icons/external_link.svg +593 -0
- package/dist/collection/icons/high_importance.svg +593 -0
- package/dist/collection/icons/unit-test.svg +593 -0
- package/dist/collection/style/internal/codemirror-tooltip.scss +19 -0
- package/dist/collection/style/internal/z-index.scss +0 -7
- package/dist/collection/style/mixins.scss +11 -0
- package/dist/collection/translations/da.js +1 -0
- package/dist/collection/translations/en.js +1 -0
- package/dist/collection/translations/fi.js +1 -0
- package/dist/collection/translations/nl.js +1 -0
- package/dist/collection/translations/no.js +1 -0
- package/dist/collection/translations/sv.js +1 -0
- package/dist/esm/{checkbox.template-2f1bbc98.js → checkbox.template-fc7fcd06.js} +1 -1
- package/dist/esm/{dateFormatter-2cad0292.js → dateFormatter-784c3334.js} +1 -1
- package/dist/esm/{index-11cd0b60.js → index-cdfd351d.js} +424 -246
- package/dist/esm/lime-elements.js +3 -3
- package/dist/esm/limel-badge.entry.js +24 -3
- package/dist/esm/limel-banner.entry.js +3 -1
- package/dist/esm/limel-button-group.entry.js +3 -8
- package/dist/esm/{limel-button.entry.js → limel-button_2.entry.js} +117 -22
- package/dist/esm/limel-checkbox.entry.js +10 -26
- package/dist/esm/limel-chip-set.entry.js +40 -63
- package/dist/esm/limel-circular-progress.entry.js +10 -15
- package/dist/esm/limel-code-editor.entry.js +1693 -86
- package/dist/esm/limel-collapsible-section.entry.js +5 -6
- package/dist/esm/limel-color-picker-palette.entry.js +5 -1
- package/dist/esm/limel-color-picker.entry.js +8 -2
- package/dist/esm/limel-config.entry.js +2 -1
- package/dist/esm/limel-date-picker.entry.js +18 -36
- package/dist/esm/limel-dialog.entry.js +3 -11
- package/dist/esm/limel-dock-button.entry.js +30 -14
- package/dist/esm/limel-dock.entry.js +12 -47
- package/dist/esm/limel-file.entry.js +10 -24
- package/dist/esm/limel-flatpickr-adapter.entry.js +151 -50
- package/dist/esm/limel-flex-container.entry.js +1 -13
- package/dist/esm/limel-form.entry.js +327 -328
- package/dist/esm/limel-grid.entry.js +1 -1
- package/dist/esm/limel-header.entry.js +5 -1
- package/dist/esm/limel-icon-button.entry.js +3 -8
- package/dist/esm/limel-icon.entry.js +4 -1
- package/dist/esm/limel-input-field.entry.js +40 -66
- package/dist/esm/limel-linear-progress.entry.js +1 -7
- package/dist/esm/limel-list_2.entry.js +9 -18
- package/dist/esm/limel-menu-list.entry.js +8 -16
- package/dist/esm/limel-picker.entry.js +14 -39
- package/dist/esm/limel-popover_4.entry.js +14 -13
- package/dist/esm/limel-portal.entry.js +63 -73
- package/dist/esm/limel-progress-flow-item.entry.js +5 -14
- package/dist/esm/limel-progress-flow.entry.js +4 -20
- package/dist/esm/limel-select.entry.js +12 -30
- package/dist/esm/limel-shortcut.entry.js +48 -0
- package/dist/esm/limel-slider.entry.js +12 -33
- package/dist/esm/limel-snackbar.entry.js +7 -5
- package/dist/esm/limel-spinner.entry.js +1 -7
- package/dist/esm/limel-split-button.entry.js +23 -0
- package/dist/esm/limel-switch.entry.js +6 -19
- package/dist/esm/limel-tab-bar.entry.js +2 -5
- package/dist/esm/limel-tab-panel.entry.js +2 -5
- package/dist/esm/limel-table.entry.js +33 -33
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{moment-367e51c5.js → moment-faa8a4a8.js} +2 -2
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/{translations-682e905e.js → translations-0d0ee941.js} +6 -0
- package/dist/lime-elements/lime-elements.css +1 -1
- package/dist/lime-elements/lime-elements.esm.js +1 -1
- package/dist/lime-elements/p-059e0a64.entry.js +1 -0
- package/dist/lime-elements/{p-440454ed.entry.js → p-06f2f6b4.entry.js} +1 -1
- package/dist/lime-elements/{p-71efe2ca.entry.js → p-0dbde06f.entry.js} +1 -1
- package/dist/lime-elements/p-12a7453b.entry.js +73 -0
- package/dist/lime-elements/p-15c2eb16.entry.js +1 -0
- package/dist/lime-elements/{p-c80acfb2.entry.js → p-15ca0d70.entry.js} +4 -4
- package/dist/lime-elements/{p-ed65468d.entry.js → p-16eb9071.entry.js} +1 -1
- package/dist/lime-elements/{p-1ede893b.js → p-1af8258b.js} +1 -1
- package/dist/lime-elements/p-246862ec.js +1 -0
- package/dist/lime-elements/p-28dffd9e.entry.js +1 -0
- package/dist/lime-elements/p-334b5f82.entry.js +37 -0
- package/dist/lime-elements/p-36a3b897.entry.js +1 -0
- package/dist/lime-elements/p-4b426b7e.entry.js +11 -0
- package/dist/lime-elements/p-4eda8b67.entry.js +82 -0
- package/dist/lime-elements/{p-9af0704c.entry.js → p-4fb4e89b.entry.js} +1 -1
- package/dist/lime-elements/{p-a5af84a7.entry.js → p-5338663b.entry.js} +1 -1
- package/dist/lime-elements/p-5ce60a32.entry.js +126 -0
- package/dist/lime-elements/p-5f13035a.entry.js +1 -0
- package/dist/lime-elements/{p-42b67933.entry.js → p-600464a9.entry.js} +1 -1
- package/dist/lime-elements/p-6534e16a.entry.js +1 -0
- package/dist/lime-elements/p-6a4a5ddd.entry.js +1 -0
- package/dist/lime-elements/p-6c38b505.entry.js +1 -0
- package/dist/lime-elements/{p-d76f896d.js → p-73df4d83.js} +1 -1
- package/dist/lime-elements/p-744c21f8.entry.js +1 -0
- package/dist/lime-elements/p-75d01713.entry.js +1 -0
- package/dist/lime-elements/p-768b7cbb.entry.js +1 -0
- package/dist/lime-elements/{p-6e7809a6.entry.js → p-82cd7bb6.entry.js} +1 -1
- package/dist/lime-elements/p-84a137a7.entry.js +1 -0
- package/dist/lime-elements/p-8715eac0.entry.js +1 -0
- package/dist/lime-elements/{p-8827628d.entry.js → p-8fb83e83.entry.js} +2 -2
- package/dist/lime-elements/p-90961075.entry.js +1 -0
- package/dist/lime-elements/p-945afca2.js +3 -0
- package/dist/lime-elements/p-9984b31c.entry.js +1 -0
- package/dist/lime-elements/p-9bd76629.entry.js +59 -0
- package/dist/lime-elements/p-9f19e0c1.entry.js +1 -0
- package/dist/lime-elements/p-ace4e596.entry.js +1 -0
- package/dist/lime-elements/p-cad7cda1.entry.js +16 -0
- package/dist/lime-elements/p-cfaa685f.entry.js +1 -0
- package/dist/lime-elements/{p-94899019.entry.js → p-d1187867.entry.js} +1 -1
- package/dist/lime-elements/{p-aa66620a.entry.js → p-d3ebc657.entry.js} +2 -2
- package/dist/lime-elements/p-d4e788e1.js +2 -0
- package/dist/lime-elements/p-d512656b.entry.js +1 -0
- package/dist/lime-elements/p-d8e5a9ee.entry.js +1 -0
- package/dist/lime-elements/p-dcd2a664.entry.js +16 -0
- package/dist/lime-elements/p-de161bb5.entry.js +1 -0
- package/dist/lime-elements/p-e4bca82b.entry.js +1 -0
- package/dist/lime-elements/p-e7bb664f.entry.js +1 -0
- package/dist/lime-elements/p-ef04b849.entry.js +82 -0
- package/dist/lime-elements/style/internal/codemirror-tooltip.scss +19 -0
- package/dist/lime-elements/style/internal/z-index.scss +0 -7
- package/dist/lime-elements/style/mixins.scss +11 -0
- package/dist/loader/package.json +1 -0
- package/dist/types/components/badge/badge.d.ts +12 -4
- package/dist/types/components/chip-set/chip-set.d.ts +3 -2
- package/dist/types/components/circular-progress/circular-progress.d.ts +5 -0
- package/dist/types/components/code-editor/code-editor.d.ts +14 -0
- package/dist/types/components/date-picker/date-picker.d.ts +4 -0
- package/dist/types/components/dock/dock-button/dock-button.d.ts +21 -5
- package/dist/types/components/dock/dock.d.ts +11 -3
- package/dist/types/components/input-field/input-field.d.ts +6 -0
- package/dist/types/components/menu/menu.d.ts +1 -2
- package/dist/types/components/menu-list/menu-list.d.ts +2 -7
- package/dist/types/components/picker/picker.d.ts +2 -2
- package/dist/types/components/shortcut/shortcut.d.ts +57 -0
- package/dist/types/components/split-button/split-button.d.ts +45 -0
- package/dist/types/components/tab-bar/tab.types.d.ts +1 -1
- package/dist/types/components/table/layout.d.ts +2 -0
- package/dist/types/components/table/table.d.ts +16 -1
- package/dist/types/components/table/table.types.d.ts +4 -0
- package/dist/types/components.d.ts +390 -80
- package/dist/types/stencil-public-runtime.d.ts +20 -4
- package/dist/types/translations/da.d.ts +1 -0
- package/dist/types/translations/en.d.ts +1 -0
- package/dist/types/translations/fi.d.ts +1 -0
- package/dist/types/translations/nl.d.ts +1 -0
- package/dist/types/translations/no.d.ts +1 -0
- package/dist/types/translations/sv.d.ts +1 -0
- package/package.json +27 -26
- package/dist/cjs/limel-menu.cjs.entry.js +0 -148
- package/dist/esm/limel-menu.entry.js +0 -144
- package/dist/lime-elements/p-009de50e.entry.js +0 -1
- package/dist/lime-elements/p-19f72dab.entry.js +0 -1
- package/dist/lime-elements/p-1a2ffe75.entry.js +0 -82
- package/dist/lime-elements/p-1dfccbc5.entry.js +0 -1
- package/dist/lime-elements/p-1e59114e.entry.js +0 -1
- package/dist/lime-elements/p-2639edf9.entry.js +0 -73
- package/dist/lime-elements/p-3af5f9ad.js +0 -3
- package/dist/lime-elements/p-3bf54a4c.js +0 -1
- package/dist/lime-elements/p-53e01330.entry.js +0 -1
- package/dist/lime-elements/p-5ad60e14.entry.js +0 -126
- package/dist/lime-elements/p-63e25a0a.entry.js +0 -1
- package/dist/lime-elements/p-64f068a8.entry.js +0 -1
- package/dist/lime-elements/p-6884b012.entry.js +0 -1
- package/dist/lime-elements/p-6966b5df.entry.js +0 -1
- package/dist/lime-elements/p-6b1bc80f.entry.js +0 -1
- package/dist/lime-elements/p-722d32e0.entry.js +0 -1
- package/dist/lime-elements/p-75152d89.entry.js +0 -1
- package/dist/lime-elements/p-7e571ec6.entry.js +0 -11
- package/dist/lime-elements/p-7ee4b825.entry.js +0 -1
- package/dist/lime-elements/p-93cd2268.entry.js +0 -1
- package/dist/lime-elements/p-95f275ab.entry.js +0 -1
- package/dist/lime-elements/p-97d6c4a6.entry.js +0 -1
- package/dist/lime-elements/p-995bbd2a.entry.js +0 -1
- package/dist/lime-elements/p-a465084b.entry.js +0 -82
- package/dist/lime-elements/p-af0ec482.entry.js +0 -16
- package/dist/lime-elements/p-b0046fcd.entry.js +0 -1
- package/dist/lime-elements/p-b95e80c9.entry.js +0 -1
- package/dist/lime-elements/p-bd098a11.entry.js +0 -1
- package/dist/lime-elements/p-d1ee4501.entry.js +0 -37
- package/dist/lime-elements/p-d74fa89e.entry.js +0 -1
- package/dist/lime-elements/p-e98d76e8.entry.js +0 -59
- package/dist/lime-elements/p-e9a95b8f.js +0 -1
- package/dist/lime-elements/p-f0c9dadd.entry.js +0 -1
- package/dist/lime-elements/p-f0e872b6.entry.js +0 -16
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { h, Host, } from '@stencil/core';
|
|
2
2
|
import { dispatchResizeEvent } from '../../util/dispatch-resize-event';
|
|
3
3
|
/**
|
|
4
4
|
* The `limel-tab-panel` component uses the `limel-tab-bar` component together
|
|
@@ -21,11 +21,8 @@ import { dispatchResizeEvent } from '../../util/dispatch-resize-event';
|
|
|
21
21
|
*/
|
|
22
22
|
export class TabPanel {
|
|
23
23
|
constructor() {
|
|
24
|
-
/**
|
|
25
|
-
* The tabs to display in the panel
|
|
26
|
-
*/
|
|
27
|
-
this.tabs = [];
|
|
28
24
|
this.slotElements = [];
|
|
25
|
+
this.tabs = [];
|
|
29
26
|
this.handleChangeTabs = this.handleChangeTabs.bind(this);
|
|
30
27
|
this.setSlotElements = this.setSlotElements.bind(this);
|
|
31
28
|
this.setTabStatus = this.setTabStatus.bind(this);
|
|
@@ -54,11 +51,7 @@ export class TabPanel {
|
|
|
54
51
|
this.tabs.forEach(this.setTabStatus);
|
|
55
52
|
}
|
|
56
53
|
render() {
|
|
57
|
-
return (h(Host, { onChangeTab: this.handleChangeTabs },
|
|
58
|
-
h("div", { class: "tab-panel" },
|
|
59
|
-
h("limel-tab-bar", { tabs: this.tabs }),
|
|
60
|
-
h("div", { class: "tab-content" },
|
|
61
|
-
h("slot", null)))));
|
|
54
|
+
return (h(Host, { onChangeTab: this.handleChangeTabs }, h("div", { class: "tab-panel" }, h("limel-tab-bar", { tabs: this.tabs }), h("div", { class: "tab-content" }, h("slot", null)))));
|
|
62
55
|
}
|
|
63
56
|
setSlotElements() {
|
|
64
57
|
const slot = this.getSlot();
|
|
@@ -101,59 +94,69 @@ export class TabPanel {
|
|
|
101
94
|
}
|
|
102
95
|
static get is() { return "limel-tab-panel"; }
|
|
103
96
|
static get encapsulation() { return "shadow"; }
|
|
104
|
-
static get originalStyleUrls() {
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
"
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
97
|
+
static get originalStyleUrls() {
|
|
98
|
+
return {
|
|
99
|
+
"$": ["tab-panel.scss"]
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
static get styleUrls() {
|
|
103
|
+
return {
|
|
104
|
+
"$": ["tab-panel.css"]
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
static get properties() {
|
|
108
|
+
return {
|
|
109
|
+
"tabs": {
|
|
110
|
+
"type": "unknown",
|
|
111
|
+
"mutable": true,
|
|
112
|
+
"complexType": {
|
|
113
|
+
"original": "Tab[]",
|
|
114
|
+
"resolved": "Tab[]",
|
|
115
|
+
"references": {
|
|
116
|
+
"Tab": {
|
|
117
|
+
"location": "import",
|
|
118
|
+
"path": "../tab-bar/tab.types"
|
|
119
|
+
}
|
|
121
120
|
}
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
static get events() {
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
"
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
"
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
"
|
|
148
|
-
"
|
|
149
|
-
|
|
121
|
+
},
|
|
122
|
+
"required": false,
|
|
123
|
+
"optional": false,
|
|
124
|
+
"docs": {
|
|
125
|
+
"tags": [],
|
|
126
|
+
"text": "The tabs to display in the panel"
|
|
127
|
+
},
|
|
128
|
+
"defaultValue": "[]"
|
|
129
|
+
}
|
|
130
|
+
};
|
|
131
|
+
}
|
|
132
|
+
static get events() {
|
|
133
|
+
return [{
|
|
134
|
+
"method": "changeTab",
|
|
135
|
+
"name": "changeTab",
|
|
136
|
+
"bubbles": true,
|
|
137
|
+
"cancelable": true,
|
|
138
|
+
"composed": true,
|
|
139
|
+
"docs": {
|
|
140
|
+
"tags": [],
|
|
141
|
+
"text": "Emitted when a tab has been changed"
|
|
142
|
+
},
|
|
143
|
+
"complexType": {
|
|
144
|
+
"original": "Tab",
|
|
145
|
+
"resolved": "Tab",
|
|
146
|
+
"references": {
|
|
147
|
+
"Tab": {
|
|
148
|
+
"location": "import",
|
|
149
|
+
"path": "../tab-bar/tab.types"
|
|
150
|
+
}
|
|
150
151
|
}
|
|
151
152
|
}
|
|
152
|
-
}
|
|
153
|
-
|
|
153
|
+
}];
|
|
154
|
+
}
|
|
154
155
|
static get elementRef() { return "host"; }
|
|
155
|
-
static get watchers() {
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
156
|
+
static get watchers() {
|
|
157
|
+
return [{
|
|
158
|
+
"propName": "tabs",
|
|
159
|
+
"methodName": "tabsChanged"
|
|
160
|
+
}];
|
|
161
|
+
}
|
|
159
162
|
}
|
|
@@ -935,6 +935,9 @@ body.tabulator-print-fullscreen-hide > *:not(.tabulator-print-fullscreen) {
|
|
|
935
935
|
background: #333;
|
|
936
936
|
}
|
|
937
937
|
|
|
938
|
+
/*
|
|
939
|
+
* @prop --table-max-column-width: defines a maximum width for columns using standard size units, to prevent the table from growing too wide. Set to `auto` if you do not need this limitation. Defaults to `40rem`.
|
|
940
|
+
*/
|
|
938
941
|
:host {
|
|
939
942
|
display: block;
|
|
940
943
|
--table-header-background-color: var(--contrast-500);
|
|
@@ -1010,9 +1013,20 @@ body.tabulator-print-fullscreen-hide > *:not(.tabulator-print-fullscreen) {
|
|
|
1010
1013
|
.tabulator .tabulator-header .tabulator-col.tabulator-sortable:hover {
|
|
1011
1014
|
background-color: rgb(var(--table-header-background-color--hover));
|
|
1012
1015
|
}
|
|
1016
|
+
.tabulator .tabulator-header .tabulator-col .tabulator-col-content {
|
|
1017
|
+
padding-right: 0.5rem;
|
|
1018
|
+
}
|
|
1019
|
+
.tabulator .tabulator-header .tabulator-col-title-holder {
|
|
1020
|
+
display: flex;
|
|
1021
|
+
gap: 0.25rem;
|
|
1022
|
+
}
|
|
1023
|
+
.tabulator .tabulator-header .tabulator-col-sorter {
|
|
1024
|
+
order: 1;
|
|
1025
|
+
}
|
|
1013
1026
|
.tabulator .tabulator-header .tabulator-col-title {
|
|
1027
|
+
order: 2;
|
|
1014
1028
|
font-weight: 500;
|
|
1015
|
-
padding-
|
|
1029
|
+
padding-right: 0 !important;
|
|
1016
1030
|
line-height: 1.25rem;
|
|
1017
1031
|
}
|
|
1018
1032
|
|
|
@@ -1034,6 +1048,7 @@ body.tabulator-print-fullscreen-hide > *:not(.tabulator-print-fullscreen) {
|
|
|
1034
1048
|
.tabulator-row .tabulator-cell {
|
|
1035
1049
|
border-right: transparent;
|
|
1036
1050
|
padding: 0.5rem;
|
|
1051
|
+
padding-left: 1rem;
|
|
1037
1052
|
display: inline-flex;
|
|
1038
1053
|
align-items: center;
|
|
1039
1054
|
}
|
|
@@ -1046,7 +1061,7 @@ body.tabulator-print-fullscreen-hide > *:not(.tabulator-print-fullscreen) {
|
|
|
1046
1061
|
|
|
1047
1062
|
.tabulator-col,
|
|
1048
1063
|
.tabulator-cell {
|
|
1049
|
-
max-width:
|
|
1064
|
+
max-width: var(--table-max-column-width, 40rem);
|
|
1050
1065
|
font-size: 0.8125rem;
|
|
1051
1066
|
}
|
|
1052
1067
|
|
|
@@ -1080,62 +1095,67 @@ body.tabulator-print-fullscreen-hide > *:not(.tabulator-print-fullscreen) {
|
|
|
1080
1095
|
* without being explicitly called by outside code.
|
|
1081
1096
|
*/
|
|
1082
1097
|
.tabulator-col-sorter {
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
position: absolute;
|
|
1088
|
-
transition: border 0.2s ease;
|
|
1089
|
-
top: 0.25rem;
|
|
1098
|
+
transition: opacity 0.2s ease;
|
|
1099
|
+
right: 0 !important;
|
|
1100
|
+
position: relative !important;
|
|
1101
|
+
justify-content: center;
|
|
1090
1102
|
cursor: pointer;
|
|
1091
1103
|
}
|
|
1092
|
-
[aria-sort=none] .tabulator-
|
|
1093
|
-
|
|
1094
|
-
}
|
|
1095
|
-
[aria-sort=desc] .tabulator-arrow {
|
|
1096
|
-
border-top-color: var(--table-arrow-color--active) !important;
|
|
1097
|
-
}
|
|
1098
|
-
[aria-sort=asc] .tabulator-arrow {
|
|
1099
|
-
border-bottom-color: var(--table-arrow-color--active) !important;
|
|
1104
|
+
[aria-sort=none] .tabulator-col-sorter {
|
|
1105
|
+
opacity: 0;
|
|
1100
1106
|
}
|
|
1101
|
-
[aria-sort=desc] .tabulator-
|
|
1102
|
-
|
|
1107
|
+
[aria-sort=desc] .tabulator-col-sorter, [aria-sort=asc] .tabulator-col-sorter {
|
|
1108
|
+
opacity: 1;
|
|
1103
1109
|
}
|
|
1104
|
-
.tabulator-
|
|
1105
|
-
display: block;
|
|
1106
|
-
content: "";
|
|
1110
|
+
[aria-sort=desc] .tabulator-col-sorter:before, [aria-sort=asc] .tabulator-col-sorter:before {
|
|
1107
1111
|
position: absolute;
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
background-color:
|
|
1112
|
-
width: 0.5rem;
|
|
1113
|
-
height: 0.5rem;
|
|
1114
|
-
transform: rotate(45deg);
|
|
1115
|
-
left: -0.25rem;
|
|
1116
|
-
top: 0.25rem;
|
|
1112
|
+
content: "";
|
|
1113
|
+
width: 0.125rem;
|
|
1114
|
+
height: 0.4rem;
|
|
1115
|
+
background-color: var(--table-arrow-color--active);
|
|
1117
1116
|
}
|
|
1118
|
-
|
|
1119
|
-
|
|
1117
|
+
|
|
1118
|
+
.tabulator-sortable[aria-sort=desc]:hover .tabulator-col-sorter, .tabulator-sortable[aria-sort=asc]:hover .tabulator-col-sorter {
|
|
1119
|
+
opacity: 1;
|
|
1120
|
+
animation: indicate-sortable-sorted-column 0.5s ease;
|
|
1120
1121
|
}
|
|
1121
|
-
.tabulator-
|
|
1122
|
-
|
|
1123
|
-
background-color: rgb(var(--table-arrow-color));
|
|
1124
|
-
height: 0.5625rem;
|
|
1125
|
-
top: 0.125rem;
|
|
1126
|
-
left: -0.0625rem;
|
|
1122
|
+
.tabulator-sortable[aria-sort=none]:hover .tabulator-col-sorter {
|
|
1123
|
+
opacity: 1;
|
|
1127
1124
|
}
|
|
1128
|
-
[aria-sort=
|
|
1129
|
-
|
|
1125
|
+
.tabulator-sortable[aria-sort=none]:hover .tabulator-col-sorter .tabulator-arrow {
|
|
1126
|
+
animation: indicate-sortable-unsorted-column 2s ease forwards;
|
|
1130
1127
|
}
|
|
1131
|
-
|
|
1132
|
-
|
|
1128
|
+
|
|
1129
|
+
.tabulator-arrow {
|
|
1130
|
+
transition: border 0.2s ease;
|
|
1131
|
+
border-left: 0.25rem solid transparent !important;
|
|
1132
|
+
border-right: 0.25rem solid transparent !important;
|
|
1133
|
+
}
|
|
1134
|
+
.tabulator#tabulator-table .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-arrow {
|
|
1135
|
+
height: 0.75rem;
|
|
1136
|
+
border-top-width: 0.25rem;
|
|
1137
|
+
border-top-style: solid;
|
|
1138
|
+
border-top-color: rgb(var(--table-arrow-color));
|
|
1139
|
+
border-bottom-width: 0.25rem;
|
|
1140
|
+
border-bottom-style: solid;
|
|
1141
|
+
border-bottom-color: rgb(var(--table-arrow-color));
|
|
1142
|
+
}
|
|
1143
|
+
.tabulator#tabulator-table .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=desc] .tabulator-arrow {
|
|
1144
|
+
height: 0;
|
|
1145
|
+
transform: translate3d(0, 0.2rem, 0);
|
|
1146
|
+
border-top-width: 0.25rem;
|
|
1147
|
+
border-bottom-width: 0;
|
|
1148
|
+
border-top-color: var(--table-arrow-color--active);
|
|
1133
1149
|
}
|
|
1134
|
-
[aria-sort=
|
|
1135
|
-
|
|
1150
|
+
.tabulator#tabulator-table .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=asc] .tabulator-arrow {
|
|
1151
|
+
height: 0;
|
|
1152
|
+
transform: translate3d(0, -0.2rem, 0);
|
|
1153
|
+
border-top-width: 0;
|
|
1154
|
+
border-bottom-width: 0.25rem;
|
|
1155
|
+
border-bottom-color: var(--table-arrow-color--active);
|
|
1136
1156
|
}
|
|
1137
1157
|
|
|
1138
|
-
@keyframes indicate-sortable-column {
|
|
1158
|
+
@keyframes indicate-sortable-sorted-column {
|
|
1139
1159
|
0%, 100% {
|
|
1140
1160
|
transform: translate3d(0, 0, 0);
|
|
1141
1161
|
}
|
|
@@ -1146,10 +1166,27 @@ body.tabulator-print-fullscreen-hide > *:not(.tabulator-print-fullscreen) {
|
|
|
1146
1166
|
transform: translate3d(0, 0.0875rem, 0);
|
|
1147
1167
|
}
|
|
1148
1168
|
}
|
|
1149
|
-
|
|
1150
|
-
|
|
1169
|
+
@keyframes indicate-sortable-unsorted-column {
|
|
1170
|
+
0%, 15%, 45%, 75% {
|
|
1171
|
+
border-top-color: transparent;
|
|
1172
|
+
border-bottom-color: transparent;
|
|
1173
|
+
transform: translate3d(0, 0, 0);
|
|
1174
|
+
}
|
|
1175
|
+
30% {
|
|
1176
|
+
border-top-color: transparent;
|
|
1177
|
+
border-bottom-color: var(--table-arrow-color--active);
|
|
1178
|
+
transform: translate3d(0, -0.3125rem, 0);
|
|
1179
|
+
}
|
|
1180
|
+
60% {
|
|
1181
|
+
border-top-color: var(--table-arrow-color--active);
|
|
1182
|
+
border-bottom-color: transparent;
|
|
1183
|
+
transform: translate3d(0, 0.3125rem, 0);
|
|
1184
|
+
}
|
|
1185
|
+
100% {
|
|
1186
|
+
border-top-color: rgb(var(--table-arrow-color));
|
|
1187
|
+
border-bottom-color: rgb(var(--table-arrow-color));
|
|
1188
|
+
}
|
|
1151
1189
|
}
|
|
1152
|
-
|
|
1153
1190
|
/*
|
|
1154
1191
|
* This file is imported into every component!
|
|
1155
1192
|
*
|
|
@@ -1307,9 +1344,6 @@ body.tabulator-print-fullscreen-hide > *:not(.tabulator-print-fullscreen) {
|
|
|
1307
1344
|
:host(.has-low-density) .tabulator-header {
|
|
1308
1345
|
border-radius: 0.375rem;
|
|
1309
1346
|
}
|
|
1310
|
-
:host(.has-low-density) .tabulator-header .tabulator-col-content {
|
|
1311
|
-
padding-left: 0.5rem;
|
|
1312
|
-
}
|
|
1313
1347
|
:host(.has-low-density) .tabulator-footer {
|
|
1314
1348
|
border-radius: 0.5rem;
|
|
1315
1349
|
}
|
|
@@ -1327,8 +1361,6 @@ body.tabulator-print-fullscreen-hide > *:not(.tabulator-print-fullscreen) {
|
|
|
1327
1361
|
}
|
|
1328
1362
|
:host(.has-low-density) .tabulator-row:not(.tabulator-calcs-bottom) .tabulator-cell {
|
|
1329
1363
|
height: 2.75rem !important;
|
|
1330
|
-
padding-left: 0.75rem;
|
|
1331
|
-
padding-right: 0.5rem;
|
|
1332
1364
|
}
|
|
1333
1365
|
:host(.has-low-density) .tabulator-row:not(.tabulator-calcs-bottom) .tabulator-cell:first-child {
|
|
1334
1366
|
border-radius: 0.5rem 0 0 0.5rem;
|
|
@@ -1373,6 +1405,7 @@ body.tabulator-print-fullscreen-hide > *:not(.tabulator-print-fullscreen) {
|
|
|
1373
1405
|
display: flex;
|
|
1374
1406
|
align-items: center;
|
|
1375
1407
|
margin-right: 1.25rem;
|
|
1408
|
+
gap: 0.25rem;
|
|
1376
1409
|
}
|
|
1377
1410
|
|
|
1378
1411
|
.title-component-text {
|
|
@@ -1465,12 +1498,6 @@ body.tabulator-print-fullscreen-hide > *:not(.tabulator-print-fullscreen) {
|
|
|
1465
1498
|
align-items: center;
|
|
1466
1499
|
justify-content: center;
|
|
1467
1500
|
}
|
|
1468
|
-
.select-all limel-checkbox {
|
|
1469
|
-
transform: translate(-0.25rem, 0);
|
|
1470
|
-
}
|
|
1471
|
-
:host(.has-low-density) .select-all limel-checkbox {
|
|
1472
|
-
transform: translate(-0.15rem, 0);
|
|
1473
|
-
}
|
|
1474
1501
|
|
|
1475
1502
|
.limel-table--row-selector {
|
|
1476
1503
|
position: sticky !important;
|
|
@@ -1478,6 +1505,8 @@ body.tabulator-print-fullscreen-hide > *:not(.tabulator-print-fullscreen) {
|
|
|
1478
1505
|
border-width: 0;
|
|
1479
1506
|
justify-content: center;
|
|
1480
1507
|
z-index: 1;
|
|
1508
|
+
padding-right: 0 !important;
|
|
1509
|
+
padding-left: 0 !important;
|
|
1481
1510
|
}
|
|
1482
1511
|
.tabulator-row-odd .limel-table--row-selector {
|
|
1483
1512
|
background-image: linear-gradient(to right, rgb(var(--table-row-background-color--odd)) 70%, rgb(var(--table-row-background-color--odd), 0));
|
|
@@ -1496,7 +1525,6 @@ body.tabulator-print-fullscreen-hide > *:not(.tabulator-print-fullscreen) {
|
|
|
1496
1525
|
transition: opacity 0.2s ease;
|
|
1497
1526
|
align-self: center;
|
|
1498
1527
|
opacity: 0.3;
|
|
1499
|
-
transform: translate(-0.25rem, 0);
|
|
1500
1528
|
}
|
|
1501
1529
|
.tabulator-row:hover .limel-table--row-selector limel-checkbox {
|
|
1502
1530
|
opacity: 1;
|