@sme.up/ketchup 10.4.0 → 10.4.2
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/{f-cell-148f4ea6.js → f-cell-2dce1c47.js} +4 -4
- package/dist/cjs/{f-chip-5593bdd7.js → f-chip-b2b2de76.js} +1 -1
- package/dist/cjs/{f-object-field-a208a86e.js → f-object-field-508fe712.js} +2 -2
- package/dist/cjs/{f-paginator-utils-1dd80ec2.js → f-paginator-utils-40479dab.js} +1 -1
- package/dist/cjs/{f-text-field-83dd8cef.js → f-text-field-5634b79e.js} +1 -1
- package/dist/cjs/index-c7d441d8.js +0 -4
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/ketchup.cjs.js +1 -1
- package/dist/cjs/kup-accordion.cjs.entry.js +2 -2
- package/dist/cjs/kup-activity-timeline.cjs.entry.js +3 -3
- package/dist/cjs/kup-autocomplete_30.cjs.entry.js +46 -46
- package/dist/cjs/kup-box.cjs.entry.js +8 -8
- package/dist/cjs/kup-calendar.cjs.entry.js +3 -3
- package/dist/cjs/kup-card-list.cjs.entry.js +2 -2
- package/dist/cjs/kup-cell.cjs.entry.js +6 -6
- package/dist/cjs/kup-custom-task-list-header_4.cjs.entry.js +8 -8
- package/dist/cjs/kup-dashboard.cjs.entry.js +3 -3
- package/dist/cjs/{kup-data-table-helper-63838dd1.js → kup-data-table-helper-262a013d.js} +2 -2
- package/dist/cjs/{kup-dates-8191989e.js → kup-dates-2ff08e4f.js} +91 -21
- package/dist/cjs/kup-drawer.cjs.entry.js +2 -2
- package/dist/cjs/kup-echart.cjs.entry.js +2 -2
- package/dist/cjs/kup-editor.cjs.entry.js +2 -2
- package/dist/cjs/kup-family-tree.cjs.entry.js +2 -2
- package/dist/cjs/kup-gantt_10.cjs.entry.js +25 -25
- package/dist/cjs/kup-grid.cjs.entry.js +2 -2
- package/dist/cjs/kup-htm.cjs.entry.js +2 -2
- package/dist/cjs/kup-iframe.cjs.entry.js +2 -2
- package/dist/cjs/kup-input-panel.cjs.entry.js +15 -11
- package/dist/cjs/kup-lazy.cjs.entry.js +2 -2
- package/dist/cjs/kup-magic-box.cjs.entry.js +2 -2
- package/dist/cjs/{kup-manager-3dcd66b1.js → kup-manager-57f5a949.js} +1 -1
- package/dist/cjs/kup-nav-bar.cjs.entry.js +2 -2
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +3 -3
- package/dist/cjs/kup-object-field.cjs.entry.js +4 -4
- package/dist/cjs/{kup-planner-renderer-helper-298e1b80.js → kup-planner-renderer-helper-7dfe474d.js} +1 -1
- package/dist/cjs/kup-planner-renderer.cjs.entry.js +4 -4
- package/dist/cjs/kup-planner.cjs.entry.js +4 -4
- package/dist/cjs/kup-probe.cjs.entry.js +3 -3
- package/dist/cjs/kup-qlik.cjs.entry.js +3 -3
- package/dist/cjs/kup-snackbar.cjs.entry.js +3 -3
- package/dist/cjs/kup-txt.cjs.entry.js +3 -3
- package/dist/cjs/kup-typography-list.cjs.entry.js +3 -3
- package/dist/cjs/kup-typography.cjs.entry.js +4 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/assets/index.js +0 -4
- package/dist/collection/collection-manifest.json +0 -1
- package/dist/collection/components/kup-input-panel/kup-input-panel.js +9 -5
- package/dist/collection/components/kup-planner/kup-planner.js +1 -1
- package/dist/collection/components/kup-planner/utils/custom-task-list-header.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-gantt/kup-gantt.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-gantt-calendar/kup-gantt-calendar.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-grid-renderer/kup-grid-renderer.js +3 -3
- package/dist/collection/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.js +5 -5
- package/dist/collection/components/kup-planner/utils/kup-planner-renderer.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-switcher/kup-switcher.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-task-gantt/kup-task-gantt.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-header.js +7 -7
- package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-table.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-standard-tooltip.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-tooltip.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-vertical-scroll/kup-vertical-scroll.js +2 -2
- package/dist/collection/components/kup-probe/kup-probe.js +1 -1
- package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +1 -1
- package/dist/collection/components/kup-qlik/kup-qlik.js +1 -1
- package/dist/collection/components/kup-rating/kup-rating.js +1 -1
- package/dist/collection/components/kup-snackbar/kup-snackbar.js +1 -1
- package/dist/collection/components/kup-spinner/kup-spinner.js +34 -34
- package/dist/collection/components/kup-switch/kup-switch.js +1 -1
- package/dist/collection/components/kup-time-picker/kup-time-picker.js +1 -1
- package/dist/collection/components/kup-txt/kup-txt.js +1 -1
- package/dist/collection/components/kup-typography/kup-typography.js +2 -2
- package/dist/collection/components/kup-typography-list/kup-typography-list.js +1 -1
- package/dist/collection/managers/kup-dates/kup-dates.js +91 -0
- package/dist/components/index.js +1 -1
- package/dist/components/kup-accordion.js +2 -2
- package/dist/components/kup-activity-timeline.js +2 -2
- package/dist/components/kup-autocomplete.js +1 -1
- package/dist/components/kup-badge.js +1 -1
- package/dist/components/kup-box.js +1 -1
- package/dist/components/kup-button-list.js +1 -1
- package/dist/components/kup-button.js +1 -1
- package/dist/components/kup-calendar.js +3 -3
- package/dist/components/kup-card-list.js +3 -3
- package/dist/components/kup-card.js +1 -1
- package/dist/components/kup-cell.js +2 -2
- package/dist/components/kup-chart.js +1 -1
- package/dist/components/kup-checkbox.js +1 -1
- package/dist/components/kup-chip.js +1 -1
- package/dist/components/kup-color-picker.js +1 -1
- package/dist/components/kup-combobox.js +1 -1
- package/dist/components/kup-custom-task-list-header.js +1 -1
- package/dist/components/kup-custom-task-list-table.js +1 -1
- package/dist/components/kup-dashboard.js +2 -2
- package/dist/components/kup-data-table.js +1 -1
- package/dist/components/kup-date-picker.js +1 -1
- package/dist/components/kup-dialog.js +1 -1
- package/dist/components/kup-drawer.js +2 -2
- package/dist/components/kup-dropdown-button.js +1 -1
- package/dist/components/kup-echart.js +1 -1
- package/dist/components/kup-editor.js +1 -1
- package/dist/components/kup-family-tree.js +3 -3
- package/dist/components/kup-file-upload.js +1 -1
- package/dist/components/kup-form.js +1 -1
- package/dist/components/kup-gantt-calendar.js +1 -1
- package/dist/components/kup-gantt.js +1 -1
- package/dist/components/kup-gauge.js +1 -1
- package/dist/components/kup-grid-renderer.js +1 -1
- package/dist/components/kup-grid.js +1 -1
- package/dist/components/kup-horizontal-scroll.js +1 -1
- package/dist/components/kup-htm.js +2 -2
- package/dist/components/kup-iframe.js +2 -2
- package/dist/components/kup-image-list.js +1 -1
- package/dist/components/kup-image.js +1 -1
- package/dist/components/kup-input-panel.js +12 -8
- package/dist/components/kup-lazy.js +2 -2
- package/dist/components/kup-list.js +1 -1
- package/dist/components/kup-magic-box.js +4 -4
- package/dist/components/kup-nav-bar.js +2 -2
- package/dist/components/kup-numeric-picker.js +2 -2
- package/dist/components/kup-object-field.js +2 -2
- package/dist/components/kup-planner-renderer.js +1 -1
- package/dist/components/kup-planner.js +18 -18
- package/dist/components/kup-probe.js +3 -3
- package/dist/components/kup-progress-bar.js +1 -1
- package/dist/components/kup-qlik.js +3 -3
- package/dist/components/kup-radio.js +1 -1
- package/dist/components/kup-rating.js +1 -1
- package/dist/components/kup-snackbar.js +3 -3
- package/dist/components/kup-spinner.js +1 -1
- package/dist/components/kup-standard-tooltip.js +1 -1
- package/dist/components/kup-switch.js +1 -1
- package/dist/components/kup-switcher.js +1 -1
- package/dist/components/kup-tab-bar.js +1 -1
- package/dist/components/kup-task-gantt.js +1 -1
- package/dist/components/kup-task-list-header.js +1 -1
- package/dist/components/kup-task-list-table.js +1 -1
- package/dist/components/kup-task-list.js +1 -1
- package/dist/components/kup-text-field.js +1 -1
- package/dist/components/kup-time-picker.js +1 -1
- package/dist/components/kup-toolbar.js +1 -1
- package/dist/components/kup-tooltip.js +1 -1
- package/dist/components/kup-tree.js +1 -1
- package/dist/components/kup-txt.js +3 -3
- package/dist/components/kup-typography-list.js +3 -3
- package/dist/components/kup-typography.js +4 -4
- package/dist/components/kup-vertical-scroll.js +1 -1
- package/dist/components/{p-359a4569.js → p-00cf9dd2.js} +4 -4
- package/dist/components/{p-bfa406f9.js → p-0406cd83.js} +40 -40
- package/dist/components/p-0462f723.js +7 -0
- package/dist/components/{p-5b1056e4.js → p-156d3583.js} +7 -7
- package/dist/components/{p-aed6a4a1.js → p-200cb22e.js} +2 -2
- package/dist/components/{p-df7be9b0.js → p-2097fdc9.js} +2 -2
- package/dist/components/{p-de5d3537.js → p-25602d9a.js} +2 -2
- package/dist/components/{p-a79ced63.js → p-2d2e8390.js} +14 -14
- package/dist/components/{p-bbb25c58.js → p-3156038f.js} +1 -1
- package/dist/components/{p-ce948cb3.js → p-38d8b309.js} +3 -3
- package/dist/components/{p-9d13f3da.js → p-4684f313.js} +4 -4
- package/dist/components/{p-767fcf91.js → p-640b8279.js} +1 -1
- package/dist/components/{p-23d0f0c7.js → p-6f7b1f98.js} +1 -1
- package/dist/components/{p-9a617844.js → p-75521d10.js} +4 -4
- package/dist/components/{p-dc1ce1b4.js → p-7f02b390.js} +1 -1
- package/dist/components/{p-bf75edc9.js → p-873d5549.js} +1 -1
- package/dist/components/{p-9a502c5d.js → p-9669b12a.js} +2 -2
- package/dist/components/{p-9bde8078.js → p-9c67c242.js} +17 -17
- package/dist/components/{p-aa882232.js → p-a89d1d1e.js} +2 -2
- package/dist/components/{p-4d238cc9.js → p-d7365aa4.js} +92 -1
- package/dist/components/{p-cbc6b3d5.js → p-d8167d44.js} +2 -2
- package/dist/components/{p-bdecbc93.js → p-e2423dcd.js} +5 -5
- package/dist/components/{p-449a90f0.js → p-f23c2bc2.js} +2 -2
- package/dist/esm/{f-cell-989fd1e8.js → f-cell-1a087912.js} +4 -4
- package/dist/esm/{f-chip-c2d256a9.js → f-chip-876f5447.js} +1 -1
- package/dist/esm/{f-object-field-f3c12136.js → f-object-field-4382c70d.js} +2 -2
- package/dist/esm/{f-paginator-utils-f1bb71b3.js → f-paginator-utils-95d00f42.js} +1 -1
- package/dist/esm/{f-text-field-7d154a87.js → f-text-field-a13130d7.js} +1 -1
- package/dist/esm/index-9b0f4a0d.js +0 -4
- package/dist/esm/index.js +2 -2
- package/dist/esm/ketchup.js +1 -1
- package/dist/esm/kup-accordion.entry.js +2 -2
- package/dist/esm/kup-activity-timeline.entry.js +3 -3
- package/dist/esm/kup-autocomplete_30.entry.js +46 -46
- package/dist/esm/kup-box.entry.js +8 -8
- package/dist/esm/kup-calendar.entry.js +3 -3
- package/dist/esm/kup-card-list.entry.js +2 -2
- package/dist/esm/kup-cell.entry.js +6 -6
- package/dist/esm/kup-custom-task-list-header_4.entry.js +8 -8
- package/dist/esm/kup-dashboard.entry.js +3 -3
- package/dist/esm/{kup-data-table-helper-f3423019.js → kup-data-table-helper-4ab72247.js} +2 -2
- package/dist/esm/{kup-dates-485a12d2.js → kup-dates-bf500166.js} +92 -20
- package/dist/esm/kup-drawer.entry.js +2 -2
- package/dist/esm/kup-echart.entry.js +2 -2
- package/dist/esm/kup-editor.entry.js +2 -2
- package/dist/esm/kup-family-tree.entry.js +2 -2
- package/dist/esm/kup-gantt_10.entry.js +25 -25
- package/dist/esm/kup-grid.entry.js +2 -2
- package/dist/esm/kup-htm.entry.js +2 -2
- package/dist/esm/kup-iframe.entry.js +2 -2
- package/dist/esm/kup-input-panel.entry.js +15 -11
- package/dist/esm/kup-lazy.entry.js +2 -2
- package/dist/esm/kup-magic-box.entry.js +2 -2
- package/dist/esm/{kup-manager-d826cc2e.js → kup-manager-150e2ada.js} +1 -1
- package/dist/esm/kup-nav-bar.entry.js +2 -2
- package/dist/esm/kup-numeric-picker.entry.js +3 -3
- package/dist/esm/kup-object-field.entry.js +4 -4
- package/dist/esm/{kup-planner-renderer-helper-75b90431.js → kup-planner-renderer-helper-b328ea3f.js} +1 -1
- package/dist/esm/kup-planner-renderer.entry.js +4 -4
- package/dist/esm/kup-planner.entry.js +4 -4
- package/dist/esm/kup-probe.entry.js +3 -3
- package/dist/esm/kup-qlik.entry.js +3 -3
- package/dist/esm/kup-snackbar.entry.js +3 -3
- package/dist/esm/kup-txt.entry.js +3 -3
- package/dist/esm/kup-typography-list.entry.js +3 -3
- package/dist/esm/kup-typography.entry.js +4 -4
- package/dist/esm/loader.js +1 -1
- package/dist/ketchup/index.esm.js +1 -1
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/{p-86966d2e.entry.js → p-018a6d06.entry.js} +1 -1
- package/dist/ketchup/{p-8e22f329.entry.js → p-091b08ff.entry.js} +1 -1
- package/dist/ketchup/{p-fe093639.entry.js → p-0bede0f7.entry.js} +1 -1
- package/dist/ketchup/{p-61078be9.entry.js → p-10812295.entry.js} +1 -1
- package/dist/ketchup/{p-6590f0b9.entry.js → p-17d03bbb.entry.js} +1 -1
- package/dist/ketchup/{p-23f5c497.entry.js → p-33d9524e.entry.js} +1 -1
- package/dist/ketchup/{p-43e80fd2.entry.js → p-36b5d26b.entry.js} +1 -1
- package/dist/ketchup/{p-16b66614.js → p-5154c3cd.js} +1 -1
- package/dist/ketchup/{p-6172f9ec.js → p-65509faf.js} +1 -1
- package/dist/ketchup/{p-760046d6.entry.js → p-672cab52.entry.js} +1 -1
- package/dist/ketchup/{p-5767cc14.entry.js → p-6e751ce8.entry.js} +1 -1
- package/dist/ketchup/{p-8c39950e.entry.js → p-763fd00d.entry.js} +1 -1
- package/dist/ketchup/{p-c4a65cf7.entry.js → p-76868077.entry.js} +1 -1
- package/dist/ketchup/{p-1af07a77.entry.js → p-7940d143.entry.js} +1 -1
- package/dist/ketchup/{p-bf2e49be.entry.js → p-7e92c87c.entry.js} +1 -1
- package/dist/ketchup/{p-b25d74fb.entry.js → p-7f8582e3.entry.js} +2 -2
- package/dist/ketchup/{p-a990c2a8.js → p-8721b809.js} +1 -1
- package/dist/ketchup/p-878f1dc1.entry.js +1 -0
- package/dist/ketchup/{p-42f29a2f.entry.js → p-983576c3.entry.js} +1 -1
- package/dist/ketchup/{p-e6947ad7.entry.js → p-99b4d81d.entry.js} +1 -1
- package/dist/ketchup/{p-1891f1e3.entry.js → p-9cbf5d71.entry.js} +1 -1
- package/dist/ketchup/{p-233b93b0.entry.js → p-a69b7815.entry.js} +1 -1
- package/dist/ketchup/{p-fdfb578a.entry.js → p-a8a09ca2.entry.js} +1 -1
- package/dist/ketchup/{p-9bd60add.entry.js → p-aa29831e.entry.js} +1 -1
- package/dist/ketchup/{p-5d594ebd.js → p-ad52ea4a.js} +1 -1
- package/dist/ketchup/p-adadf8b5.js +1 -0
- package/dist/ketchup/{p-af23613c.js → p-b20c5416.js} +1 -1
- package/dist/ketchup/{p-f6656fb8.js → p-b669cdca.js} +1 -1
- package/dist/ketchup/{p-8ee307af.entry.js → p-cbec9dd6.entry.js} +1 -1
- package/dist/ketchup/{p-05c1ec33.entry.js → p-d27d8ad1.entry.js} +1 -1
- package/dist/ketchup/{p-51f49c1a.js → p-d3e2500c.js} +1 -1
- package/dist/ketchup/{p-e8b59489.entry.js → p-d48d6b9b.entry.js} +1 -1
- package/dist/ketchup/{p-88ab81bc.entry.js → p-dbd00009.entry.js} +1 -1
- package/dist/ketchup/{p-93985707.entry.js → p-df030135.entry.js} +1 -1
- package/dist/ketchup/{p-b00a6249.entry.js → p-e3da3084.entry.js} +1 -1
- package/dist/ketchup/{p-d7ad7913.entry.js → p-e618deeb.entry.js} +2 -2
- package/dist/ketchup/{p-39485e5b.entry.js → p-e7feebf1.entry.js} +1 -1
- package/dist/ketchup/{p-2225fb63.entry.js → p-e9c66132.entry.js} +1 -1
- package/dist/ketchup/{p-2df5bf04.js → p-f2edb49f.js} +1 -1
- package/dist/ketchup/p-fa4a5da1.entry.js +1 -0
- package/dist/types/components.d.ts +0 -67
- package/package.json +1 -2
- package/dist/cjs/kup-pdf.cjs.entry.js +0 -76601
- package/dist/collection/assets/pdf.js +0 -15
- package/dist/collection/components/kup-pdf/kup-pdf-declarations.js +0 -8
- package/dist/collection/components/kup-pdf/kup-pdf.css +0 -169
- package/dist/collection/components/kup-pdf/kup-pdf.js +0 -283
- package/dist/components/kup-pdf.d.ts +0 -11
- package/dist/components/kup-pdf.js +0 -76773
- package/dist/components/p-5882e117.js +0 -26
- package/dist/esm/kup-pdf.entry.js +0 -76597
- package/dist/ketchup/p-264ee487.js +0 -1
- package/dist/ketchup/p-27b85798.entry.js +0 -44
- package/dist/ketchup/p-6762a32c.entry.js +0 -1
- package/dist/ketchup/p-ee45eaa1.entry.js +0 -1
- package/dist/types/components/kup-pdf/kup-pdf-declarations.d.ts +0 -7
- package/dist/types/components/kup-pdf/kup-pdf.d.ts +0 -47
|
@@ -7,22 +7,22 @@ export class KupTaskListHeader {
|
|
|
7
7
|
this.rowWidth = undefined;
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h("div", { key: '
|
|
10
|
+
return (h("div", { key: '0ac0ecde64e3ae1368ddad733a009344d53cfabe', class: "ganttTable", style: {
|
|
11
11
|
fontFamily: this.fontFamily,
|
|
12
12
|
fontSize: this.fontSize,
|
|
13
|
-
} }, h("div", { key: '
|
|
13
|
+
} }, h("div", { key: 'a0ae6af8421142fc9ef50763e9f83b582a5255a1', class: "ganttTable_Header", style: {
|
|
14
14
|
height: `${this.headerHeight - 2}px`,
|
|
15
|
-
} }, h("div", { key: '
|
|
15
|
+
} }, h("div", { key: '2d27d23088e3269d64723d3dd69289dd2b50f52d', class: "ganttTable_HeaderItem", style: {
|
|
16
16
|
minWidth: this.rowWidth,
|
|
17
|
-
} }, "\u00A0Name"), h("div", { key: '
|
|
17
|
+
} }, "\u00A0Name"), h("div", { key: 'c8ca38d5fea9640c5fac63e80010201af37ae159', class: "ganttTable_HeaderSeparator", style: {
|
|
18
18
|
height: `${this.headerHeight * 0.5}px`,
|
|
19
19
|
marginTop: `${this.headerHeight * 0.2}px`,
|
|
20
|
-
} }), h("div", { key: '
|
|
20
|
+
} }), h("div", { key: '0997635040e6f0a8681c99f61fae06a7db44a1bc', class: "ganttTable_HeaderItem", style: {
|
|
21
21
|
minWidth: this.rowWidth,
|
|
22
|
-
} }, "\u00A0From"), h("div", { key: '
|
|
22
|
+
} }, "\u00A0From"), h("div", { key: 'd65fb8115fe35b59a5af8527d431a29df959cd8b', class: "ganttTable_HeaderSeparator", style: {
|
|
23
23
|
height: `${this.headerHeight * 0.5}px`,
|
|
24
24
|
marginTop: `${this.headerHeight * 0.25}px`,
|
|
25
|
-
} }), h("div", { key: '
|
|
25
|
+
} }), h("div", { key: 'b81dd60c7c5207f2aa69eddbe5e2c57db9fbdb6a', class: "ganttTable_HeaderItem", style: {
|
|
26
26
|
minWidth: this.rowWidth,
|
|
27
27
|
} }, "\u00A0To"))));
|
|
28
28
|
}
|
|
@@ -22,7 +22,7 @@ export class TaskListTableDefault {
|
|
|
22
22
|
return date.toLocaleDateString(this.locale, this.dateTimeOptions);
|
|
23
23
|
}
|
|
24
24
|
render() {
|
|
25
|
-
return (h("div", { key: '
|
|
25
|
+
return (h("div", { key: '57c731aef0c7bc0c04628ef6044b034486b616de', class: "taskListWrapper", style: {
|
|
26
26
|
fontFamily: this.fontFamily,
|
|
27
27
|
fontSize: this.fontSize,
|
|
28
28
|
} }, this.tasks.map((task) => (h("div", { class: {
|
|
@@ -86,7 +86,7 @@ export class TaskList {
|
|
|
86
86
|
if (TaskListTable && TaskListTable['$attrs$']) {
|
|
87
87
|
Object.assign(TaskListTable['$attrs$'], Object.assign({}, tableProps));
|
|
88
88
|
}
|
|
89
|
-
return (h("div", { key: '
|
|
89
|
+
return (h("div", { key: '5e63f1a7961d981b1fc6abc1d45f7723a708125d', ref: (el) => (this.taskListRef = el) }, TaskListHeader && TaskListHeader['$attrs$'] ? (TaskListHeader) : (h("kup-custom-task-list-header", Object.assign({ label: this.label, doubleView: (_a = this.doubleView) !== null && _a !== void 0 ? _a : false, setDoubleView: this.setDoubleView }, headerProps))), h("div", { key: '04af20cf452169c48897955fbbb8e650e0bfbd9b', class: `${this.horizontalContainerClass} ${this.scrollableTaskList ? 'horizontalContainerScrollable' : ''}`, style: this.ganttHeight
|
|
90
90
|
? { height: this.ganttHeight + 'px' }
|
|
91
91
|
: {}, ref: (el) => (this.horizontalContainerRef = el) }, TaskListTable && TaskListTable['$attrs$'] ? (TaskListTable) : (h("kup-custom-task-list-table", Object.assign({}, tableProps, { onclickTaskList: (id) => {
|
|
92
92
|
let row = getProjectById(id, this.currentTasks);
|
|
@@ -6,7 +6,7 @@ export class StandardTooltipContent {
|
|
|
6
6
|
this.fontFamily = undefined;
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
|
-
return (h("div", { key: '
|
|
9
|
+
return (h("div", { key: '82b85f32d22dcae1462fd312514ba3424d6584dd', class: "tooltipDefaultContainer", style: { fontSize: this.fontSize, fontFamily: this.fontFamily } }, h("b", { key: 'a23740dc4f62fc0082c191bcaff8afcaa9a8ec4a', style: { fontSize: `${parseInt(this.fontSize) + 6}px` } }, `${this.task.name}: ${this.task.start.getDate()}-${this.task.start.getMonth() + 1}-${this.task.start.getFullYear()} - ${this.task.end.getDate()}-${this.task.end.getMonth() + 1}-${this.task.end.getFullYear()}`), this.task.end.getTime() - this.task.start.getTime() !== 0 && (h("p", { key: '660e8de0eb4236d960df443dffb5708d7ce499f4', class: "tooltipDefaultContainerParagraph" }, `Duration: ${~~((this.task.end.getTime() - this.task.start.getTime()) / (1000 * 60 * 60 * 24))} day(s)`)), h("p", { key: 'f73f6a08eb3dd22ad7f923f1b07e6cba91069d72', class: "tooltipDefaultContainerParagraph" }, !!this.task.progress && `Progress: ${this.task.progress} %`)));
|
|
10
10
|
}
|
|
11
11
|
static get is() { return "kup-standard-tooltip"; }
|
|
12
12
|
static get encapsulation() { return "shadow"; }
|
|
@@ -59,7 +59,7 @@ export class Tooltip {
|
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
render() {
|
|
62
|
-
return (h("div", { key: '
|
|
62
|
+
return (h("div", { key: '93f584faebff866e284024a54906d8dee569f8bb', class: this.relatedX ? 'tooltipDetailsContainer' : 'tooltipDetailsContainerHidden', style: { left: `${this.relatedX}px`, top: `${this.relatedY}px` } }, h(this.TooltipContent, { key: 'fd287965b4608a4468150cb78ffd7db8fba2a13e', task: this.task, fontSize: this.fontSize, fontFamily: this.fontFamily })));
|
|
63
63
|
}
|
|
64
64
|
static get is() { return "kup-tooltip"; }
|
|
65
65
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/kup-planner/utils/kup-vertical-scroll/kup-vertical-scroll.js
CHANGED
|
@@ -31,11 +31,11 @@ export class KupVerticalScroll {
|
|
|
31
31
|
};
|
|
32
32
|
}
|
|
33
33
|
render() {
|
|
34
|
-
return (h("div", { key: '
|
|
34
|
+
return (h("div", { key: '7c51a0f660ddf3e8bd92481ee3d231b432673477', style: {
|
|
35
35
|
height: `${this.ganttHeight}px`,
|
|
36
36
|
marginTop: `${this.headerHeight}px`,
|
|
37
37
|
marginLeft: this.rtl ? '' : '-1rem',
|
|
38
|
-
}, class: "scroll", onScroll: this.verticalScroll, ref: (el) => (this.scrollRef = el) }, h("div", { key: '
|
|
38
|
+
}, class: "scroll", onScroll: this.verticalScroll, ref: (el) => (this.scrollRef = el) }, h("div", { key: '40e5807dfed85935ff06b86406faf165b95409d0', style: {
|
|
39
39
|
height: `${this.ganttFullHeight}px`,
|
|
40
40
|
width: '1px',
|
|
41
41
|
} })));
|
|
@@ -251,7 +251,7 @@ export class KupProbe {
|
|
|
251
251
|
if (this.features.theme) {
|
|
252
252
|
customStyle = this.kupManager.theme.setKupStyle(this.rootElement);
|
|
253
253
|
}
|
|
254
|
-
return (h(Host, { key: '
|
|
254
|
+
return (h(Host, { key: 'd57507f01e7167b2bcd747a0ae0adb9609d15bbc' }, customStyle ? h("style", null, customStyle) : null, h("div", { key: 'b319542bab128cc6b10ec5974138937d80abcb4c', id: componentWrapperId }, this.content)));
|
|
255
255
|
}
|
|
256
256
|
disconnectedCallback() {
|
|
257
257
|
if (this.features.language) {
|
|
@@ -102,7 +102,7 @@ export class KupProgressBar {
|
|
|
102
102
|
? true
|
|
103
103
|
: false,
|
|
104
104
|
};
|
|
105
|
-
return (h(Host, { key: '
|
|
105
|
+
return (h(Host, { key: '5346aa4f5e6366fb501ce2e866f08b984ad61731' }, h("style", { key: '9ace450b6a38466282ec58bf4951da0932f86cf0' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '134ff9269e83ab39c847a3fcf340d9662a055c3e', id: componentWrapperId }, h(FProgressBar, Object.assign({ key: '777c19e0cf5b5158932cd55a718ae36cc7f85eeb' }, props)))));
|
|
106
106
|
}
|
|
107
107
|
disconnectedCallback() {
|
|
108
108
|
this.kupManager.theme.unregister(this);
|
|
@@ -110,7 +110,7 @@ export class KupQlik {
|
|
|
110
110
|
layoutStyle = {
|
|
111
111
|
['--lyo_obj-height']: this.defobjsize,
|
|
112
112
|
};
|
|
113
|
-
return (h("div", { key: '
|
|
113
|
+
return (h("div", { key: '458836be7c3870d32d0a142c619f0066e0fab2f1', class: classLayout, style: layoutStyle }, this.divlist));
|
|
114
114
|
}
|
|
115
115
|
componentDidRender() {
|
|
116
116
|
if (this.debug) {
|
|
@@ -91,7 +91,7 @@ export class KupRating {
|
|
|
91
91
|
: false,
|
|
92
92
|
onClick: (i) => this.onKupClick(i),
|
|
93
93
|
};
|
|
94
|
-
return (h(Host, { key: '
|
|
94
|
+
return (h(Host, { key: '8a72b1823ca4c4be9e0d90ee4391a1f74a7d50db' }, h("style", { key: '8a2de1e7328e7dd7a78e319aaf3fb5f140fc2fd1' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '311537f75032559633b7b849f3f93d3a0744c508', id: componentWrapperId }, h(FRating, Object.assign({ key: '8e816301cf3bb49dabe9ae589c507331980b526a' }, props)))));
|
|
95
95
|
}
|
|
96
96
|
disconnectedCallback() {
|
|
97
97
|
this.kupManager.theme.unregister(this);
|
|
@@ -93,7 +93,7 @@ export class KupSnackbar {
|
|
|
93
93
|
this.kupManager.debug.logRender(this, true);
|
|
94
94
|
}
|
|
95
95
|
render() {
|
|
96
|
-
return (h(Host, { key: '
|
|
96
|
+
return (h(Host, { key: 'aa40cab79131b0d8c2c860a050c8f3fdbcb9b6e7', "kup-visible": this.visible }, h("style", { key: 'acdb6c16d4d3c5be3d433658c6a37c79a5924fea' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '9e567e084d777d367a8feea31ec149f72c7c1fad', id: componentWrapperId }, h("div", { key: 'b7951c8c95092813bbedf34c0398055906510936', class: snackbarClass }, h("div", { key: '75af698941190ad2d258d6e8c1877f5c627c664c', class: "snackbar__text__block" }, h("div", { key: '86950852abc9bbdd15e19f5ec8b22c92c9272c1e', class: `${snackbarClass}__header` }, this.header), h("div", { key: '89ff3fed4e4eef668da888bd45a7f287c1652361', class: `${snackbarClass}__text` }, this.text)), this.actionButton || this.closeButton ? (h("div", { class: `${snackbarClass}__buttons` }, this.actionButton ? (h("div", { class: `${snackbarClass}__action` }, h(FButton, Object.assign({}, this.actionButton, { onClick: () => this.onKupActionClick() })))) : null, this.closeButton ? (h("div", { class: `${snackbarClass}__close` }, h(FButton, { icon: "close", onClick: () => this.hide() }))) : null)) : null))));
|
|
97
97
|
}
|
|
98
98
|
disconnectedCallback() {
|
|
99
99
|
this.kupManager.theme.unregister(this);
|
|
@@ -96,59 +96,59 @@ export class KupSpinner {
|
|
|
96
96
|
spinnerClass = 'spinner-v' + this.layout;
|
|
97
97
|
if (this.layout === 7) {
|
|
98
98
|
spinnerEl = [
|
|
99
|
-
h("div", { key: '
|
|
100
|
-
h("div", { key: '
|
|
101
|
-
h("div", { key: '
|
|
102
|
-
h("div", { key: '
|
|
103
|
-
h("div", { key: '
|
|
104
|
-
h("div", { key: '
|
|
99
|
+
h("div", { key: '44d7df3462f2e22dd266852f758e4acf58290681', class: "sk-spinner-v7-dot" }),
|
|
100
|
+
h("div", { key: '5a7a10a0b86cdc1f3fd3bdefb30c9f22580fa4f9', class: "sk-spinner-v7-dot" }),
|
|
101
|
+
h("div", { key: '9bbeecc52ab35734aea9bd4655b98d8d3827fe0f', class: "sk-spinner-v7-dot" }),
|
|
102
|
+
h("div", { key: '4d15d7225dee4558a88605ba73e446ba76cd429c', class: "sk-spinner-v7-dot" }),
|
|
103
|
+
h("div", { key: 'a994e554f39a9a158e698b3afb430606cbf5f67d', class: "sk-spinner-v7-dot" }),
|
|
104
|
+
h("div", { key: '12356833042a7b9d42645a445e9863ceb5b484dc', class: "sk-spinner-v7-dot" }),
|
|
105
105
|
];
|
|
106
106
|
}
|
|
107
107
|
if (this.layout === 9) {
|
|
108
108
|
spinnerEl = [
|
|
109
|
-
h("div", { key: '
|
|
110
|
-
h("div", { key: '
|
|
109
|
+
h("div", { key: 'eead37f0a30f92b1fad0c212ffeb8366e9d22e94', class: "sk-spinner-v9-bounce1" }),
|
|
110
|
+
h("div", { key: '539eb828bda6e24086465f83f0689ae7b4fa4595', class: "sk-spinner-v9-bounce2" }),
|
|
111
111
|
];
|
|
112
112
|
}
|
|
113
113
|
if (this.layout === 10) {
|
|
114
114
|
spinnerEl = [
|
|
115
|
-
h("div", { key: '
|
|
116
|
-
h("div", { key: '
|
|
115
|
+
h("div", { key: '0100715b1234557f48aee829dc171ea630e859d3', class: "sk-spinner-v10-cube1" }),
|
|
116
|
+
h("div", { key: 'be9c825a0892c9a348be5d06acbb87ac41ca92fd', class: "sk-spinner-v10-cube2" }),
|
|
117
117
|
];
|
|
118
118
|
}
|
|
119
119
|
if (this.layout === 12) {
|
|
120
120
|
spinnerEl = [
|
|
121
|
-
h("div", { key: '
|
|
122
|
-
h("div", { key: '
|
|
121
|
+
h("div", { key: '0fde9c08f1564b503d355574f6479ebc372cb306', class: "sk-spinner-v12-dot1" }),
|
|
122
|
+
h("div", { key: '8974376541b7b1be84c51e9ba4b989b256e6e9ef', class: "sk-spinner-v12-dot2" }),
|
|
123
123
|
];
|
|
124
124
|
}
|
|
125
125
|
if (this.layout === 13) {
|
|
126
126
|
spinnerEl = [
|
|
127
|
-
h("div", { key: '
|
|
128
|
-
h("div", { key: '
|
|
129
|
-
h("div", { key: '
|
|
130
|
-
h("div", { key: '
|
|
131
|
-
h("div", { key: '
|
|
132
|
-
h("div", { key: '
|
|
133
|
-
h("div", { key: '
|
|
134
|
-
h("div", { key: '
|
|
135
|
-
h("div", { key: '
|
|
127
|
+
h("div", { key: 'b4a00d72fbef7a34f0b01d30f755eb53262219f7', class: "sk-spinner-v13-cube sk-spinner-v13-cube1" }),
|
|
128
|
+
h("div", { key: '783758140bc30c82228dc17d19795f54031ae425', class: "sk-spinner-v13-cube sk-spinner-v13-cube2" }),
|
|
129
|
+
h("div", { key: '23fd6314927ffb11aba115b029cddadc249992b7', class: "sk-spinner-v13-cube sk-spinner-v13-cube3" }),
|
|
130
|
+
h("div", { key: '085b40493edd098a4a32acb6a01d3a2e8a529e90', class: "sk-spinner-v13-cube sk-spinner-v13-cube4" }),
|
|
131
|
+
h("div", { key: 'c33f1c2850a22ad9c9c26e187460c42c7da2ed63', class: "sk-spinner-v13-cube sk-spinner-v13-cube5" }),
|
|
132
|
+
h("div", { key: '118903e56885cd52de5d134071a64cb5e2755be8', class: "sk-spinner-v13-cube sk-spinner-v13-cube6" }),
|
|
133
|
+
h("div", { key: 'fb2045874ad1c1963d248eaf19697b98b2718601', class: "sk-spinner-v13-cube sk-spinner-v13-cube7" }),
|
|
134
|
+
h("div", { key: 'e6eb79640376b049ac95005527f956b4c1e4028b', class: "sk-spinner-v13-cube sk-spinner-v13-cube8" }),
|
|
135
|
+
h("div", { key: 'c05fbcc11651f98e8546d65112934269d70d322b', class: "sk-spinner-v13-cube sk-spinner-v13-cube9" }),
|
|
136
136
|
];
|
|
137
137
|
}
|
|
138
138
|
if (this.layout === 14) {
|
|
139
139
|
spinnerEl = [
|
|
140
|
-
h("div", { key: '
|
|
141
|
-
h("div", { key: '
|
|
142
|
-
h("div", { key: '
|
|
143
|
-
h("div", { key: '
|
|
144
|
-
h("div", { key: '
|
|
145
|
-
h("div", { key: '
|
|
146
|
-
h("div", { key: '
|
|
147
|
-
h("div", { key: '
|
|
148
|
-
h("div", { key: '
|
|
149
|
-
h("div", { key: '
|
|
150
|
-
h("div", { key: '
|
|
151
|
-
h("div", { key: '
|
|
140
|
+
h("div", { key: '0a5ae21931ae2b0d575624d7c45d7cf3913018b4', class: "sk-spinner-v14-circle1 sk-spinner-v14-circle" }),
|
|
141
|
+
h("div", { key: 'dd983c321effae6097c102f48f85c720785cac7b', class: "sk-spinner-v14-circle2 sk-spinner-v14-circle" }),
|
|
142
|
+
h("div", { key: '75dd58337c7097f60dccdd298f6ee0f972408c76', class: "sk-spinner-v14-circle3 sk-spinner-v14-circle" }),
|
|
143
|
+
h("div", { key: '70e307034418aa0e5d460b302ca625cb387151e7', class: "sk-spinner-v14-circle4 sk-spinner-v14-circle" }),
|
|
144
|
+
h("div", { key: 'e43c81dd4d362a362b986d9c824e61ae9c14b49d', class: "sk-spinner-v14-circle5 sk-spinner-v14-circle" }),
|
|
145
|
+
h("div", { key: '386a100e5467a0fc482b7503776589115979c833', class: "sk-spinner-v14-circle6 sk-spinner-v14-circle" }),
|
|
146
|
+
h("div", { key: '8fd2a0abe0309a647905d6694d16f3988747ae1a', class: "sk-spinner-v14-circle7 sk-spinner-v14-circle" }),
|
|
147
|
+
h("div", { key: 'ef1426cb781c1cb02423a35317bca989db00de0f', class: "sk-spinner-v14-circle8 sk-spinner-v14-circle" }),
|
|
148
|
+
h("div", { key: 'a086dff681388aae67eb898e1117e8e34087432a', class: "sk-spinner-v14-circle9 sk-spinner-v14-circle" }),
|
|
149
|
+
h("div", { key: '3cba559881fa2b60fd663e6ab07e08b5baadac12', class: "sk-spinner-v14-circle10 sk-spinner-v14-circle" }),
|
|
150
|
+
h("div", { key: '5ba4aa90225b2136eb5f917e6341ceecbf6b5058', class: "sk-spinner-v14-circle11 sk-spinner-v14-circle" }),
|
|
151
|
+
h("div", { key: 'c7218b85c9e88a244b96c8a9af353ba3796d215d', class: "sk-spinner-v14-circle12 sk-spinner-v14-circle" }),
|
|
152
152
|
];
|
|
153
153
|
}
|
|
154
154
|
}
|
|
@@ -167,7 +167,7 @@ export class KupSpinner {
|
|
|
167
167
|
else {
|
|
168
168
|
elStyle = Object.assign(Object.assign({}, elStyle), { fontSize: '3px' });
|
|
169
169
|
}
|
|
170
|
-
return (h(Host, { key: '
|
|
170
|
+
return (h(Host, { key: '38da60422d5eecb10031213cab3692ac5e2df561', style: elStyle }, h("style", { key: 'bba4371d8c04c12e5e3b8e1efc84203b52e06415' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '23c7977f38094e51459130302737bb29d650f5d2', id: componentWrapperId, style: elStyle }, h("div", { key: 'fb9c72dc06dc5fa67a47601b999ac712c121a117', id: "loading-wrapper-master", class: masterClass, style: elStyle }, h("div", { key: 'ae5d49965e37297baeec30a267198e8a8bbbf44d', id: wrapperClass, style: elStyle }, h("div", { key: 'a11da5e060a775d63ec3bfb8862817ce69687ac7', class: spinnerClass }, spinnerEl))))));
|
|
171
171
|
}
|
|
172
172
|
disconnectedCallback() {
|
|
173
173
|
this.kupManager.theme.unregister(this);
|
|
@@ -123,7 +123,7 @@ export class KupSwitch {
|
|
|
123
123
|
onChange: () => this.onKupChange(),
|
|
124
124
|
onFocus: () => this.onKupFocus(),
|
|
125
125
|
};
|
|
126
|
-
return (h(Host, { key: '
|
|
126
|
+
return (h(Host, { key: 'f454a303a1ac2fe61de328d4cf7aef1b93b61560' }, h("style", { key: '3f0d62c6007769d7dee16d36ed7eb7071692a898' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: 'ebac0d62f7c5290955a2e3f6a25e0c94911fe38e', id: componentWrapperId }, h(FSwitch, Object.assign({ key: '47acf05847c7443ecae90f164f6edec548c066ca' }, props)))));
|
|
127
127
|
}
|
|
128
128
|
disconnectedCallback() {
|
|
129
129
|
this.kupManager.theme.unregister(this);
|
|
@@ -431,7 +431,7 @@ export class KupTimePicker {
|
|
|
431
431
|
this.kupManager.debug.logRender(this, true);
|
|
432
432
|
}
|
|
433
433
|
render() {
|
|
434
|
-
return (h(Host, { key: '
|
|
434
|
+
return (h(Host, { key: 'eac8ebb896129524a8a0a3d69b056ddee9e298f1' }, h("style", { key: 'cdc5f34e526676d597e5ccb811e8e8bd3217db1c' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: 'ca97afb58f61a5b4d015a225eb8187903349561c', id: componentWrapperId }, this.prepTextfield(this.getTimeForOutput()))));
|
|
435
435
|
}
|
|
436
436
|
disconnectedCallback() {
|
|
437
437
|
this.kupManager.dates.unregister(this);
|
|
@@ -74,7 +74,7 @@ export class KupTxt {
|
|
|
74
74
|
}
|
|
75
75
|
render() {
|
|
76
76
|
const value = this.getValue();
|
|
77
|
-
return (h(Host, { key: '
|
|
77
|
+
return (h(Host, { key: 'ea70abb7211e2417b019113575e113f2e3c1f3e0' }, h("style", { key: 'edfe421f84541cf00bf3bf1564a7d92fcf219fc9' }, __classPrivateFieldGet(this, _KupTxt_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '1b0fb15e2df1502c35a5a33087e9901a9bc71549', id: componentWrapperId }, h("div", { key: 'b2e0b622b23e2847f57caff1b39ebb0922dbd974', innerHTML: value }))));
|
|
78
78
|
}
|
|
79
79
|
disconnectedCallback() {
|
|
80
80
|
__classPrivateFieldGet(this, _KupTxt_kupManager, "f").theme.unregister(this);
|
|
@@ -235,7 +235,7 @@ export class KupTypography {
|
|
|
235
235
|
const classObjParent = {
|
|
236
236
|
'kup-typography--wrap': props.toolbar ? true : false,
|
|
237
237
|
};
|
|
238
|
-
return (h(Host, { key: '
|
|
238
|
+
return (h(Host, { key: '4d9b49a70410c35af3d8fa1c5868a6cfb1ee5420' }, h("style", { key: 'd614ca7ac690e2b84fecf531c0a35ef450fe97b0' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '1518f326fa6e41f67b5208ade340e6e949f168bf', id: componentWrapperId, class: classObjParent, onClick: () => this.onKupClick }, h(FTypography, Object.assign({ key: 'd7d9b24f7707041edd45e1d526d3e73d754137cd' }, props)), this.infoIcon && (h(FImage, Object.assign({ key: '1edfaa26af5dd36705f7abb793835db19e73abae' }, infoIcon, { onClick: async (event) => {
|
|
239
239
|
event.stopPropagation();
|
|
240
240
|
const el = event.currentTarget;
|
|
241
241
|
const data = await this.infoCallBack();
|
|
@@ -246,7 +246,7 @@ export class KupTypography {
|
|
|
246
246
|
else {
|
|
247
247
|
this.kupManager.debug.logMessage(this, 'Toolbar data is empty, not opening dropdown.');
|
|
248
248
|
}
|
|
249
|
-
} }))), this.toolbar && (h(FImage, Object.assign({ key: '
|
|
249
|
+
} }))), this.toolbar && (h(FImage, Object.assign({ key: '9b4e57e71be401942c814ddded5208c6e68d9db3' }, toolbarIcon, { onClick: async (event) => {
|
|
250
250
|
event.stopPropagation();
|
|
251
251
|
const el = event.currentTarget;
|
|
252
252
|
const data = await this.toolbarCallback();
|
|
@@ -160,7 +160,7 @@ export class KupTypographyList {
|
|
|
160
160
|
}
|
|
161
161
|
render() {
|
|
162
162
|
const typograhy = this.renderTypographys();
|
|
163
|
-
return (h(Host, { key: '
|
|
163
|
+
return (h(Host, { key: 'fe46fa2e9c4b087812bbc31953125b891a980887' }, h("style", { key: 'b962671bbaf0632c1f153a13d1aefec4f01a19b5' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '087aa8e59f12ffd537f9204a417a3edb650355cb', id: componentWrapperId }, h("div", { key: '8d939397c90ae7f1801853833097f2c0d78848cd', class: "typographies-wrapper" }, typograhy))));
|
|
164
164
|
}
|
|
165
165
|
disconnectedCallback() {
|
|
166
166
|
this.kupManager.theme.unregister(this);
|
|
@@ -199,6 +199,31 @@ export class KupDates {
|
|
|
199
199
|
if (!format) {
|
|
200
200
|
format = 'L'; // MM/DD/YYYY, DD/MM/YYYY depending on locale
|
|
201
201
|
}
|
|
202
|
+
// Check if input is an ISO date string with early year (0001-0999)
|
|
203
|
+
if (typeof input === 'string' && /^0\d{3}-/.test(input)) {
|
|
204
|
+
const yearStr = input.substring(0, 4);
|
|
205
|
+
const year = Number(yearStr);
|
|
206
|
+
if (year >= 1 && year <= 999) {
|
|
207
|
+
// Use native Date for early years
|
|
208
|
+
const nativeDate = new Date(input);
|
|
209
|
+
if (!isNaN(nativeDate.getTime())) {
|
|
210
|
+
// Manual formatting for common ISO formats
|
|
211
|
+
if (format === 'YYYY-MM-DD' ||
|
|
212
|
+
format === KupDatesFormats.ISO_DATE) {
|
|
213
|
+
return nativeDate.toISOString().substring(0, 10);
|
|
214
|
+
}
|
|
215
|
+
else if (format === 'YYYY-MM-DD HH:mm:ss' ||
|
|
216
|
+
format === KupDatesFormats.ISO_DATE_TIME) {
|
|
217
|
+
return nativeDate
|
|
218
|
+
.toISOString()
|
|
219
|
+
.substring(0, 19)
|
|
220
|
+
.replace('T', ' ');
|
|
221
|
+
}
|
|
222
|
+
// For other formats, convert to dayjs but be aware of year issues
|
|
223
|
+
return dayjs.utc(nativeDate).format(format);
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
}
|
|
202
227
|
return dayjs.utc(input).format(format);
|
|
203
228
|
}
|
|
204
229
|
/**
|
|
@@ -219,6 +244,48 @@ export class KupDates {
|
|
|
219
244
|
return time.toLocaleTimeString(this.getLocale() + '-u-hc-h23', options);
|
|
220
245
|
}
|
|
221
246
|
isIsoDate(dateString) {
|
|
247
|
+
// Validate input
|
|
248
|
+
if (!dateString || typeof dateString !== 'string') {
|
|
249
|
+
return false;
|
|
250
|
+
}
|
|
251
|
+
// ISO date must be at least 10 characters (YYYY-MM-DD)
|
|
252
|
+
if (dateString.length < 10) {
|
|
253
|
+
return false;
|
|
254
|
+
}
|
|
255
|
+
// Extract year from the string
|
|
256
|
+
const yearStr = dateString.substring(0, 4);
|
|
257
|
+
const year = Number(yearStr);
|
|
258
|
+
// Year 0 doesn't exist in Gregorian calendar (goes from 1 BC to 1 AD)
|
|
259
|
+
if (year === 0 || isNaN(year)) {
|
|
260
|
+
return false;
|
|
261
|
+
}
|
|
262
|
+
// For years 0001-0999, dayjs misinterprets them, so use native Date parsing
|
|
263
|
+
if (year >= 1 && year <= 999) {
|
|
264
|
+
try {
|
|
265
|
+
const nativeDate = new Date(dateString);
|
|
266
|
+
if (isNaN(nativeDate.getTime())) {
|
|
267
|
+
return false;
|
|
268
|
+
}
|
|
269
|
+
// Validate the parsed components match the input
|
|
270
|
+
const isoString = nativeDate.toISOString();
|
|
271
|
+
if (Number(isoString.substring(0, 4)) != year) {
|
|
272
|
+
return false;
|
|
273
|
+
}
|
|
274
|
+
if (Number(dateString.substring(5, 7)) !=
|
|
275
|
+
nativeDate.getUTCMonth() + 1) {
|
|
276
|
+
return false;
|
|
277
|
+
}
|
|
278
|
+
if (Number(dateString.substring(8, 10)) !=
|
|
279
|
+
nativeDate.getUTCDate()) {
|
|
280
|
+
return false;
|
|
281
|
+
}
|
|
282
|
+
return true;
|
|
283
|
+
}
|
|
284
|
+
catch (_a) {
|
|
285
|
+
return false;
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
// For years 1000 and above, use dayjs as usual
|
|
222
289
|
const isoDate = dayjs(dateString, [
|
|
223
290
|
KupDatesFormats.ISO_DATE,
|
|
224
291
|
KupDatesFormats.ISO_DATE_TIME,
|
|
@@ -326,6 +393,18 @@ export class KupDates {
|
|
|
326
393
|
* @returns {Date} Date object.
|
|
327
394
|
*/
|
|
328
395
|
toDate(input, format) {
|
|
396
|
+
// Check if input is an ISO date string with early year (0001-0999)
|
|
397
|
+
if (typeof input === 'string' && /^0\d{3}-/.test(input)) {
|
|
398
|
+
const yearStr = input.substring(0, 4);
|
|
399
|
+
const year = Number(yearStr);
|
|
400
|
+
if (year >= 1 && year <= 999) {
|
|
401
|
+
// Use native Date for early years
|
|
402
|
+
const nativeDate = new Date(input);
|
|
403
|
+
if (!isNaN(nativeDate.getTime())) {
|
|
404
|
+
return nativeDate;
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
}
|
|
329
408
|
const parsed = format ? dayjs.utc(input, format) : dayjs.utc(input);
|
|
330
409
|
return parsed.isValid() ? parsed.toDate() : null;
|
|
331
410
|
}
|
|
@@ -336,6 +415,18 @@ export class KupDates {
|
|
|
336
415
|
* @returns {dayjs.Dayjs} Dayjs object.
|
|
337
416
|
*/
|
|
338
417
|
toDayjs(input, format) {
|
|
418
|
+
// Check if input is an ISO date string with early year (0001-0999)
|
|
419
|
+
if (typeof input === 'string' && /^0\d{3}-/.test(input)) {
|
|
420
|
+
const yearStr = input.substring(0, 4);
|
|
421
|
+
const year = Number(yearStr);
|
|
422
|
+
if (year >= 1 && year <= 999) {
|
|
423
|
+
// Use native Date for early years, then convert to dayjs
|
|
424
|
+
const nativeDate = new Date(input);
|
|
425
|
+
if (!isNaN(nativeDate.getTime())) {
|
|
426
|
+
return dayjs(nativeDate);
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
}
|
|
339
430
|
const dayJsResult = format ? dayjs(input, format) : dayjs(input);
|
|
340
431
|
return dayJsResult.isValid() ? dayJsResult : null;
|
|
341
432
|
}
|
package/dist/components/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { g as getAssetPath, s as setAssetPath, a as setNonce, b as setPlatformOptions } from './p-ef8cbd35.js';
|
|
2
|
-
import { K as KupManager } from './p-
|
|
2
|
+
import { K as KupManager } from './p-25602d9a.js';
|
|
3
3
|
|
|
4
4
|
/** used for obtain a KupManager instance without a dom document (for UT) */
|
|
5
5
|
function newKupManager(init) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host } from './p-ef8cbd35.js';
|
|
2
|
-
import { k as kupManagerInstance, a as KupComponentSizing, g as getProps, s as setProps, b as KupThemeIconValues, c as KupThemeColorValues, d as KupDynamicPositionPlacement } from './p-
|
|
3
|
-
import { M as MDCRipple, F as FImage, c as componentWrapperId, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t, D as defineCustomElement$u, E as defineCustomElement$v } from './p-
|
|
2
|
+
import { k as kupManagerInstance, a as KupComponentSizing, g as getProps, s as setProps, b as KupThemeIconValues, c as KupThemeColorValues, d as KupDynamicPositionPlacement } from './p-25602d9a.js';
|
|
3
|
+
import { M as MDCRipple, F as FImage, c as componentWrapperId, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t, D as defineCustomElement$u, E as defineCustomElement$v } from './p-0406cd83.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Props of the kup-accordion component.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, F as Fragment, d as Host } from './p-ef8cbd35.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, u as KupDebugCategory, n as getCellValueForDisplay } from './p-
|
|
3
|
-
import { c as componentWrapperId, G as sortRows, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t, D as defineCustomElement$u, E as defineCustomElement$v, F as FImage } from './p-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, u as KupDebugCategory, n as getCellValueForDisplay } from './p-25602d9a.js';
|
|
3
|
+
import { c as componentWrapperId, G as sortRows, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t, D as defineCustomElement$u, E as defineCustomElement$v, F as FImage } from './p-0406cd83.js';
|
|
4
4
|
|
|
5
5
|
var KupActivityTimelineProps;
|
|
6
6
|
(function (KupActivityTimelineProps) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { K as KupAutocomplete$1, E as defineCustomElement$1 } from './p-
|
|
1
|
+
import { K as KupAutocomplete$1, E as defineCustomElement$1 } from './p-0406cd83.js';
|
|
2
2
|
|
|
3
3
|
const KupAutocomplete = KupAutocomplete$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H as H$2, c as createEvent, f as forceUpdate, h as h$1, d as Host } from './p-ef8cbd35.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, e as KupLanguageGeneric, L as getColumnByName, u as KupDebugCategory } from './p-
|
|
3
|
-
import { c as componentWrapperId, U as FButton, P as FChip, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t, D as defineCustomElement$u, E as defineCustomElement$v, V as FChipType } from './p-
|
|
4
|
-
import { b as KupDatesLocales, K as KupDatesFormats } from './p-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, e as KupLanguageGeneric, L as getColumnByName, u as KupDebugCategory } from './p-25602d9a.js';
|
|
3
|
+
import { c as componentWrapperId, U as FButton, P as FChip, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t, D as defineCustomElement$u, E as defineCustomElement$v, V as FChipType } from './p-0406cd83.js';
|
|
4
|
+
import { b as KupDatesLocales, K as KupDatesFormats } from './p-d7365aa4.js';
|
|
5
5
|
|
|
6
6
|
var n,l$1,u$1,i$1,t,r$1,o,f$1,e$1,c$1={},s=[],a$1=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function h(n,l){for(var u in l)n[u]=l[u];return n}function v$1(n){var l=n.parentNode;l&&l.removeChild(n);}function y(l,u,i){var t,r,o,f={};for(o in u)"key"==o?t=u[o]:"ref"==o?r=u[o]:f[o]=u[o];if(arguments.length>2&&(f.children=arguments.length>3?n.call(arguments,2):i),"function"==typeof l&&null!=l.defaultProps)for(o in l.defaultProps)void 0===f[o]&&(f[o]=l.defaultProps[o]);return p(l,f,t,r,null)}function p(n,i,t,r,o){var f={type:n,props:i,key:t,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==o?++u$1:o};return null==o&&null!=l$1.vnode&&l$1.vnode(f),f}function d(){return {current:null}}function _(n){return n.children}function k$1(n,l,u,i,t){var r;for(r in u)"children"===r||"key"===r||r in l||g$2(n,r,null,u[r],i);for(r in l)t&&"function"!=typeof l[r]||"children"===r||"key"===r||"value"===r||"checked"===r||u[r]===l[r]||g$2(n,r,l[r],u[r],i);}function b$1(n,l,u){"-"===l[0]?n.setProperty(l,null==u?"":u):n[l]=null==u?"":"number"!=typeof u||a$1.test(l)?u:u+"px";}function g$2(n,l,u,i,t){var r;n:if("style"===l)if("string"==typeof u)n.style.cssText=u;else {if("string"==typeof i&&(n.style.cssText=i=""),i)for(l in i)u&&l in u||b$1(n.style,l,"");if(u)for(l in u)i&&u[l]===i[l]||b$1(n.style,l,u[l]);}else if("o"===l[0]&&"n"===l[1])r=l!==(l=l.replace(/Capture$/,"")),l=l.toLowerCase()in n?l.toLowerCase().slice(2):l.slice(2),n.l||(n.l={}),n.l[l+r]=u,u?i||n.addEventListener(l,r?w$2:m$1,r):n.removeEventListener(l,r?w$2:m$1,r);else if("dangerouslySetInnerHTML"!==l){if(t)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==l&&"height"!==l&&"href"!==l&&"list"!==l&&"form"!==l&&"tabIndex"!==l&&"download"!==l&&l in n)try{n[l]=null==u?"":u;break n}catch(n){}"function"==typeof u||(null==u||!1===u&&-1==l.indexOf("-")?n.removeAttribute(l):n.setAttribute(l,u));}}function m$1(n){t=!0;try{return this.l[n.type+!1](l$1.event?l$1.event(n):n)}finally{t=!1;}}function w$2(n){t=!0;try{return this.l[n.type+!0](l$1.event?l$1.event(n):n)}finally{t=!1;}}function x$1(n,l){this.props=n,this.context=l;}function A(n,l){if(null==l)return n.__?A(n.__,n.__.__k.indexOf(n)+1):null;for(var u;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e)return u.__e;return "function"==typeof n.type?A(n):null}function P$1(n){var l,u;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,l=0;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e){n.__e=n.__c.base=u.__e;break}return P$1(n)}}function C$1(n){t?setTimeout(n):f$1(n);}function T$1(n){(!n.__d&&(n.__d=!0)&&r$1.push(n)&&!$$1.__r++||o!==l$1.debounceRendering)&&((o=l$1.debounceRendering)||C$1)($$1);}function $$1(){var n,l,u,i,t,o,f,e;for(r$1.sort(function(n,l){return n.__v.__b-l.__v.__b});n=r$1.shift();)n.__d&&(l=r$1.length,i=void 0,t=void 0,f=(o=(u=n).__v).__e,(e=u.__P)&&(i=[],(t=h({},o)).__v=o.__v+1,M(e,o,t,u.__n,void 0!==e.ownerSVGElement,null!=o.__h?[f]:null,i,null==f?A(o):f,o.__h),N(i,o),o.__e!=f&&P$1(o)),r$1.length>l&&r$1.sort(function(n,l){return n.__v.__b-l.__v.__b}));$$1.__r=0;}function H$1(n,l,u,i,t,r,o,f,e,a){var h,v,y,d,k,b,g,m=i&&i.__k||s,w=m.length;for(u.__k=[],h=0;h<l.length;h++)if(null!=(d=u.__k[h]=null==(d=l[h])||"boolean"==typeof d?null:"string"==typeof d||"number"==typeof d||"bigint"==typeof d?p(null,d,null,null,d):Array.isArray(d)?p(_,{children:d},null,null,null):d.__b>0?p(d.type,d.props,d.key,d.ref?d.ref:null,d.__v):d)){if(d.__=u,d.__b=u.__b+1,null===(y=m[h])||y&&d.key==y.key&&d.type===y.type)m[h]=void 0;else for(v=0;v<w;v++){if((y=m[v])&&d.key==y.key&&d.type===y.type){m[v]=void 0;break}y=null;}M(n,d,y=y||c$1,t,r,o,f,e,a),k=d.__e,(v=d.ref)&&y.ref!=v&&(g||(g=[]),y.ref&&g.push(y.ref,null,d),g.push(v,d.__c||k,d)),null!=k?(null==b&&(b=k),"function"==typeof d.type&&d.__k===y.__k?d.__d=e=I$1(d,e,n):e=z$1(n,d,y,m,k,e),"function"==typeof u.type&&(u.__d=e)):e&&y.__e==e&&e.parentNode!=n&&(e=A(y));}for(u.__e=b,h=w;h--;)null!=m[h]&&("function"==typeof u.type&&null!=m[h].__e&&m[h].__e==u.__d&&(u.__d=L$1(i).nextSibling),q(m[h],m[h]));if(g)for(h=0;h<g.length;h++)S(g[h],g[++h],g[++h]);}function I$1(n,l,u){for(var i,t=n.__k,r=0;t&&r<t.length;r++)(i=t[r])&&(i.__=n,l="function"==typeof i.type?I$1(i,l,u):z$1(u,i,i,t,i.__e,l));return l}function j$2(n,l){return l=l||[],null==n||"boolean"==typeof n||(Array.isArray(n)?n.some(function(n){j$2(n,l);}):l.push(n)),l}function z$1(n,l,u,i,t,r){var o,f,e;if(void 0!==l.__d)o=l.__d,l.__d=void 0;else if(null==u||t!=r||null==t.parentNode)n:if(null==r||r.parentNode!==n)n.appendChild(t),o=null;else {for(f=r,e=0;(f=f.nextSibling)&&e<i.length;e+=1)if(f==t)break n;n.insertBefore(t,r),o=r;}return void 0!==o?o:t.nextSibling}function L$1(n){var l,u,i;if(null==n.type||"string"==typeof n.type)return n.__e;if(n.__k)for(l=n.__k.length-1;l>=0;l--)if((u=n.__k[l])&&(i=L$1(u)))return i;return null}function M(n,u,i,t,r,o,f,e,c){var s,a,v,y,p,d,k,b,g,m,w,A,P,C,T,$=u.type;if(void 0!==u.constructor)return null;null!=i.__h&&(c=i.__h,e=u.__e=i.__e,u.__h=null,o=[e]),(s=l$1.__b)&&s(u);try{n:if("function"==typeof $){if(b=u.props,g=(s=$.contextType)&&t[s.__c],m=s?g?g.props.value:s.__:t,i.__c?k=(a=u.__c=i.__c).__=a.__E:("prototype"in $&&$.prototype.render?u.__c=a=new $(b,m):(u.__c=a=new x$1(b,m),a.constructor=$,a.render=B$1),g&&g.sub(a),a.props=b,a.state||(a.state={}),a.context=m,a.__n=t,v=a.__d=!0,a.__h=[],a._sb=[]),null==a.__s&&(a.__s=a.state),null!=$.getDerivedStateFromProps&&(a.__s==a.state&&(a.__s=h({},a.__s)),h(a.__s,$.getDerivedStateFromProps(b,a.__s))),y=a.props,p=a.state,a.__v=u,v)null==$.getDerivedStateFromProps&&null!=a.componentWillMount&&a.componentWillMount(),null!=a.componentDidMount&&a.__h.push(a.componentDidMount);else {if(null==$.getDerivedStateFromProps&&b!==y&&null!=a.componentWillReceiveProps&&a.componentWillReceiveProps(b,m),!a.__e&&null!=a.shouldComponentUpdate&&!1===a.shouldComponentUpdate(b,a.__s,m)||u.__v===i.__v){for(u.__v!==i.__v&&(a.props=b,a.state=a.__s,a.__d=!1),u.__e=i.__e,u.__k=i.__k,u.__k.forEach(function(n){n&&(n.__=u);}),w=0;w<a._sb.length;w++)a.__h.push(a._sb[w]);a._sb=[],a.__h.length&&f.push(a);break n}null!=a.componentWillUpdate&&a.componentWillUpdate(b,a.__s,m),null!=a.componentDidUpdate&&a.__h.push(function(){a.componentDidUpdate(y,p,d);});}if(a.context=m,a.props=b,a.__P=n,A=l$1.__r,P=0,"prototype"in $&&$.prototype.render){for(a.state=a.__s,a.__d=!1,A&&A(u),s=a.render(a.props,a.state,a.context),C=0;C<a._sb.length;C++)a.__h.push(a._sb[C]);a._sb=[];}else do{a.__d=!1,A&&A(u),s=a.render(a.props,a.state,a.context),a.state=a.__s;}while(a.__d&&++P<25);a.state=a.__s,null!=a.getChildContext&&(t=h(h({},t),a.getChildContext())),v||null==a.getSnapshotBeforeUpdate||(d=a.getSnapshotBeforeUpdate(y,p)),T=null!=s&&s.type===_&&null==s.key?s.props.children:s,H$1(n,Array.isArray(T)?T:[T],u,i,t,r,o,f,e,c),a.base=u.__e,u.__h=null,a.__h.length&&f.push(a),k&&(a.__E=a.__=null),a.__e=!1;}else null==o&&u.__v===i.__v?(u.__k=i.__k,u.__e=i.__e):u.__e=O(i.__e,u,i,t,r,o,f,c);(s=l$1.diffed)&&s(u);}catch(n){u.__v=null,(c||null!=o)&&(u.__e=e,u.__h=!!c,o[o.indexOf(e)]=null),l$1.__e(n,u,i);}}function N(n,u){l$1.__c&&l$1.__c(u,n),n.some(function(u){try{n=u.__h,u.__h=[],n.some(function(n){n.call(u);});}catch(n){l$1.__e(n,u.__v);}});}function O(l,u,i,t,r,o,f,e){var s,a,h,y=i.props,p=u.props,d=u.type,_=0;if("svg"===d&&(r=!0),null!=o)for(;_<o.length;_++)if((s=o[_])&&"setAttribute"in s==!!d&&(d?s.localName===d:3===s.nodeType)){l=s,o[_]=null;break}if(null==l){if(null===d)return document.createTextNode(p);l=r?document.createElementNS("http://www.w3.org/2000/svg",d):document.createElement(d,p.is&&p),o=null,e=!1;}if(null===d)y===p||e&&l.data===p||(l.data=p);else {if(o=o&&n.call(l.childNodes),a=(y=i.props||c$1).dangerouslySetInnerHTML,h=p.dangerouslySetInnerHTML,!e){if(null!=o)for(y={},_=0;_<l.attributes.length;_++)y[l.attributes[_].name]=l.attributes[_].value;(h||a)&&(h&&(a&&h.__html==a.__html||h.__html===l.innerHTML)||(l.innerHTML=h&&h.__html||""));}if(k$1(l,p,y,r,e),h)u.__k=[];else if(_=u.props.children,H$1(l,Array.isArray(_)?_:[_],u,i,t,r&&"foreignObject"!==d,o,f,o?o[0]:i.__k&&A(i,0),e),null!=o)for(_=o.length;_--;)null!=o[_]&&v$1(o[_]);e||("value"in p&&void 0!==(_=p.value)&&(_!==l.value||"progress"===d&&!_||"option"===d&&_!==y.value)&&g$2(l,"value",_,y.value,!1),"checked"in p&&void 0!==(_=p.checked)&&_!==l.checked&&g$2(l,"checked",_,y.checked,!1));}return l}function S(n,u,i){try{"function"==typeof n?n(u):n.current=u;}catch(n){l$1.__e(n,i);}}function q(n,u,i){var t,r;if(l$1.unmount&&l$1.unmount(n),(t=n.ref)&&(t.current&&t.current!==n.__e||S(t,null,u)),null!=(t=n.__c)){if(t.componentWillUnmount)try{t.componentWillUnmount();}catch(n){l$1.__e(n,u);}t.base=t.__P=null,n.__c=void 0;}if(t=n.__k)for(r=0;r<t.length;r++)t[r]&&q(t[r],u,i||"function"!=typeof n.type);i||null==n.__e||v$1(n.__e),n.__=n.__e=n.__d=void 0;}function B$1(n,l,u){return this.constructor(n,u)}function D$1(u,i,t){var r,o,f;l$1.__&&l$1.__(u,i),o=(r="function"==typeof t)?null:t&&t.__k||i.__k,f=[],M(i,u=(!r&&t||i).__k=y(_,null,[u]),o||c$1,c$1,void 0!==i.ownerSVGElement,!r&&t?[t]:o?null:i.firstChild?n.call(i.childNodes):null,f,!r&&t?t:o?o.__e:i.firstChild,r),N(f,u);}function G$1(n,l){var u={__c:l="__cC"+e$1++,__:n,Consumer:function(n,l){return n.children(l)},Provider:function(n){var u,i;return this.getChildContext||(u=[],(i={})[l]=this,this.getChildContext=function(){return i},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&u.some(function(n){n.__e=!0,T$1(n);});},this.sub=function(n){u.push(n);var l=n.componentWillUnmount;n.componentWillUnmount=function(){u.splice(u.indexOf(n),1),l&&l.call(n);};}),n.children}};return u.Provider.__=u.Consumer.contextType=u}n=s.slice,l$1={__e:function(n,l,u,i){for(var t,r,o;l=l.__;)if((t=l.__c)&&!t.__)try{if((r=t.constructor)&&null!=r.getDerivedStateFromError&&(t.setState(r.getDerivedStateFromError(n)),o=t.__d),null!=t.componentDidCatch&&(t.componentDidCatch(n,i||{}),o=t.__d),o)return t.__E=t}catch(l){n=l;}throw n}},u$1=0,i$1=function(n){return null!=n&&void 0===n.constructor},t=!1,x$1.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=h({},this.state),"function"==typeof n&&(n=n(h({},u),this.props)),n&&h(u,n),null!=n&&this.__v&&(l&&this._sb.push(l),T$1(this));},x$1.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),T$1(this));},x$1.prototype.render=_,r$1=[],f$1="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,$$1.__r=0,e$1=0;
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host } from './p-ef8cbd35.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, ab as KupCardFamily, n as getCellValueForDisplay } from './p-
|
|
3
|
-
import { c as componentWrapperId, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$g, p as defineCustomElement$h, q as defineCustomElement$i, r as defineCustomElement$j, s as defineCustomElement$k, t as defineCustomElement$l, u as defineCustomElement$m, v as defineCustomElement$n, w as defineCustomElement$o, x as defineCustomElement$p, y as defineCustomElement$q, z as defineCustomElement$r, A as defineCustomElement$s, B as defineCustomElement$t, C as defineCustomElement$u, D as defineCustomElement$v, E as defineCustomElement$w } from './p-
|
|
4
|
-
import { d as defineCustomElement$f } from './p-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, ab as KupCardFamily, n as getCellValueForDisplay } from './p-25602d9a.js';
|
|
3
|
+
import { c as componentWrapperId, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$g, p as defineCustomElement$h, q as defineCustomElement$i, r as defineCustomElement$j, s as defineCustomElement$k, t as defineCustomElement$l, u as defineCustomElement$m, v as defineCustomElement$n, w as defineCustomElement$o, x as defineCustomElement$p, y as defineCustomElement$q, z as defineCustomElement$r, A as defineCustomElement$s, B as defineCustomElement$t, C as defineCustomElement$u, D as defineCustomElement$v, E as defineCustomElement$w } from './p-0406cd83.js';
|
|
4
|
+
import { d as defineCustomElement$f } from './p-2097fdc9.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Props of the kup-card-list component.
|