@sme.up/ketchup 11.0.0-SNAPSHOT-20250115150844 → 11.0.0-SNAPSHOT-20250115163113
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-de130b6e.js → f-cell-823c0f27.js} +8 -4
- package/dist/cjs/{f-chip-730c3e47.js → f-chip-e7733d4f.js} +1 -1
- package/dist/cjs/{f-object-field-9787234f.js → f-object-field-5abaa74e.js} +2 -2
- package/dist/cjs/{f-paginator-utils-2d0f35ae.js → f-paginator-utils-6f367510.js} +1 -1
- package/dist/cjs/{f-text-field-216090a9.js → f-text-field-3d362e56.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/ketchup.cjs.js +1 -1
- package/dist/cjs/kup-accordion.cjs.entry.js +1 -1
- package/dist/cjs/kup-activity-timeline.cjs.entry.js +2 -2
- package/dist/cjs/kup-autocomplete_28.cjs.entry.js +13 -12
- package/dist/cjs/kup-box.cjs.entry.js +13 -12
- package/dist/cjs/kup-calendar.cjs.entry.js +125 -54
- package/dist/cjs/kup-card-list.cjs.entry.js +1 -1
- package/dist/cjs/kup-cell.cjs.entry.js +5 -5
- package/dist/cjs/kup-dashboard.cjs.entry.js +2 -2
- package/dist/cjs/{kup-data-table-helper-4b2129ba.js → kup-data-table-helper-369072f0.js} +1 -1
- package/dist/cjs/kup-drawer.cjs.entry.js +1 -1
- package/dist/cjs/kup-echart.cjs.entry.js +1 -1
- package/dist/cjs/kup-editor.cjs.entry.js +1 -1
- package/dist/cjs/kup-family-tree.cjs.entry.js +1 -1
- package/dist/cjs/kup-grid.cjs.entry.js +1 -1
- package/dist/cjs/kup-htm.cjs.entry.js +1 -1
- package/dist/cjs/kup-iframe.cjs.entry.js +1 -1
- package/dist/cjs/kup-image-list.cjs.entry.js +5 -5
- package/dist/cjs/kup-input-panel.cjs.entry.js +5 -5
- package/dist/cjs/kup-lazy.cjs.entry.js +1 -1
- package/dist/cjs/kup-magic-box.cjs.entry.js +1 -1
- package/dist/cjs/{kup-manager-22358eba.js → kup-manager-b4ee0e69.js} +5 -3
- package/dist/cjs/kup-nav-bar.cjs.entry.js +1 -1
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +2 -2
- package/dist/cjs/kup-object-field.cjs.entry.js +3 -3
- package/dist/cjs/kup-pdf.cjs.entry.js +1 -1
- package/dist/cjs/kup-photo-frame.cjs.entry.js +1 -1
- package/dist/cjs/kup-planner.cjs.entry.js +2 -2
- package/dist/cjs/kup-probe.cjs.entry.js +1 -1
- package/dist/cjs/kup-qlik.cjs.entry.js +1 -1
- package/dist/cjs/kup-snackbar.cjs.entry.js +1 -1
- package/dist/cjs/kup-txt.cjs.entry.js +1 -1
- package/dist/cjs/kup-typography-list.cjs.entry.js +1 -1
- package/dist/cjs/kup-typography.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/kup-box/kup-box.js +6 -5
- package/dist/collection/components/kup-calendar/kup-calendar-declarations.js +1 -0
- package/dist/collection/components/kup-calendar/kup-calendar-state.js +5 -0
- package/dist/collection/components/kup-calendar/kup-calendar.js +156 -52
- package/dist/collection/components/kup-tree/kup-tree.js +6 -5
- package/dist/collection/f-components/f-cell/f-cell.js +4 -0
- package/dist/collection/utils/cell-utils.js +5 -3
- 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 +127 -54
- 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-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-form.js +1 -1
- package/dist/components/kup-gauge.js +1 -1
- package/dist/components/kup-grid.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 +2 -2
- package/dist/components/kup-image.js +1 -1
- package/dist/components/kup-input-panel.js +3 -3
- 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-pdf.js +2 -2
- package/dist/components/kup-photo-frame.js +2 -2
- package/dist/components/kup-planner.js +2 -2
- package/dist/components/kup-probe.js +2 -2
- package/dist/components/kup-progress-bar.js +1 -1
- package/dist/components/kup-qlik.js +2 -2
- package/dist/components/kup-radio.js +1 -1
- package/dist/components/kup-rating.js +1 -1
- package/dist/components/kup-snackbar.js +2 -2
- package/dist/components/kup-spinner.js +1 -1
- package/dist/components/kup-switch.js +1 -1
- package/dist/components/kup-tab-bar.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-tree.js +1 -1
- package/dist/components/kup-txt.js +2 -2
- package/dist/components/kup-typography-list.js +2 -2
- package/dist/components/kup-typography.js +2 -2
- package/dist/components/{p-56ac07f6.js → p-3553a914.js} +2 -2
- package/dist/components/{p-79520a06.js → p-58d1b25e.js} +2 -2
- package/dist/components/{p-55db2b6d.js → p-59efe29f.js} +2 -2
- package/dist/components/{p-d86d7bda.js → p-60a23d8f.js} +11 -6
- package/dist/components/{p-302afb7a.js → p-71fb255c.js} +8 -7
- package/dist/components/{p-ad519bcc.js → p-9a52cf80.js} +6 -4
- package/dist/esm/{f-cell-b30ba79a.js → f-cell-2aa8e38c.js} +8 -4
- package/dist/esm/{f-chip-3a7cb4f8.js → f-chip-7030a6b7.js} +1 -1
- package/dist/esm/{f-object-field-4988dd7b.js → f-object-field-faa9f92c.js} +2 -2
- package/dist/esm/{f-paginator-utils-dcf8ab6a.js → f-paginator-utils-3e911694.js} +1 -1
- package/dist/esm/{f-text-field-2c973324.js → f-text-field-ddb43a8d.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/ketchup.js +1 -1
- package/dist/esm/kup-accordion.entry.js +1 -1
- package/dist/esm/kup-activity-timeline.entry.js +2 -2
- package/dist/esm/kup-autocomplete_28.entry.js +13 -12
- package/dist/esm/kup-box.entry.js +13 -12
- package/dist/esm/kup-calendar.entry.js +125 -54
- package/dist/esm/kup-card-list.entry.js +1 -1
- package/dist/esm/kup-cell.entry.js +5 -5
- package/dist/esm/kup-dashboard.entry.js +2 -2
- package/dist/esm/{kup-data-table-helper-81d2d07f.js → kup-data-table-helper-0acc1df9.js} +1 -1
- package/dist/esm/kup-drawer.entry.js +1 -1
- package/dist/esm/kup-echart.entry.js +1 -1
- package/dist/esm/kup-editor.entry.js +1 -1
- package/dist/esm/kup-family-tree.entry.js +1 -1
- package/dist/esm/kup-grid.entry.js +1 -1
- package/dist/esm/kup-htm.entry.js +1 -1
- package/dist/esm/kup-iframe.entry.js +1 -1
- package/dist/esm/kup-image-list.entry.js +5 -5
- package/dist/esm/kup-input-panel.entry.js +5 -5
- package/dist/esm/kup-lazy.entry.js +1 -1
- package/dist/esm/kup-magic-box.entry.js +1 -1
- package/dist/esm/{kup-manager-ca77a2e1.js → kup-manager-0255a23e.js} +5 -3
- package/dist/esm/kup-nav-bar.entry.js +1 -1
- package/dist/esm/kup-numeric-picker.entry.js +2 -2
- package/dist/esm/kup-object-field.entry.js +3 -3
- package/dist/esm/kup-pdf.entry.js +1 -1
- package/dist/esm/kup-photo-frame.entry.js +1 -1
- package/dist/esm/kup-planner.entry.js +2 -2
- package/dist/esm/kup-probe.entry.js +1 -1
- package/dist/esm/kup-qlik.entry.js +1 -1
- package/dist/esm/kup-snackbar.entry.js +1 -1
- package/dist/esm/kup-txt.entry.js +1 -1
- package/dist/esm/kup-typography-list.entry.js +1 -1
- package/dist/esm/kup-typography.entry.js +1 -1
- 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-3d2f1f12.js → p-00ce3103.js} +1 -1
- package/dist/ketchup/{p-fd115e9d.js → p-0b5b175c.js} +1 -1
- package/dist/ketchup/{p-f69ee132.entry.js → p-1c499e9b.entry.js} +1 -1
- package/dist/ketchup/{p-d202ae0a.entry.js → p-1c8640ad.entry.js} +1 -1
- package/dist/ketchup/{p-ff3761cf.entry.js → p-258f9a76.entry.js} +1 -1
- package/dist/ketchup/{p-5d302874.entry.js → p-281c8b1b.entry.js} +1 -1
- package/dist/ketchup/{p-1e2967e3.entry.js → p-33d43ec6.entry.js} +1 -1
- package/dist/ketchup/{p-355974f1.entry.js → p-3ad0ac42.entry.js} +1 -1
- package/dist/ketchup/{p-4fad0f38.entry.js → p-3fae8f6d.entry.js} +1 -1
- package/dist/ketchup/{p-aba86824.js → p-4505f903.js} +1 -1
- package/dist/ketchup/{p-f78befa1.entry.js → p-4786e087.entry.js} +1 -1
- package/dist/ketchup/{p-ce02f27e.entry.js → p-4798a49a.entry.js} +1 -1
- package/dist/ketchup/{p-b59ea56b.js → p-4886e26b.js} +1 -1
- package/dist/ketchup/{p-8dd1d91d.entry.js → p-60ea9a9d.entry.js} +1 -1
- package/dist/ketchup/{p-e32245fd.entry.js → p-63c353b0.entry.js} +1 -1
- package/dist/ketchup/{p-062851ea.entry.js → p-671b4dc9.entry.js} +1 -1
- package/dist/ketchup/{p-bf9b7237.entry.js → p-6a2aa972.entry.js} +1 -1
- package/dist/ketchup/{p-52f1a2bc.entry.js → p-6c7d4b54.entry.js} +1 -1
- package/dist/ketchup/{p-e7f592ef.entry.js → p-7207cec9.entry.js} +1 -1
- package/dist/ketchup/p-7d152b15.js +1 -0
- package/dist/ketchup/{p-0bfd28b7.entry.js → p-8031909a.entry.js} +1 -1
- package/dist/ketchup/p-8636974b.entry.js +1 -0
- package/dist/ketchup/{p-af884f84.entry.js → p-879c86ff.entry.js} +1 -1
- package/dist/ketchup/{p-45d5264d.entry.js → p-8eeb61be.entry.js} +1 -1
- package/dist/ketchup/{p-3afacd1c.js → p-a166fdf2.js} +1 -1
- package/dist/ketchup/{p-997b94f9.entry.js → p-a389bc98.entry.js} +1 -1
- package/dist/ketchup/{p-3e273410.entry.js → p-aa77e8a7.entry.js} +1 -1
- package/dist/ketchup/{p-69c3b3fd.entry.js → p-b0639472.entry.js} +2 -2
- package/dist/ketchup/{p-0dc3dd14.js → p-b4bd6ef0.js} +1 -1
- package/dist/ketchup/{p-2e576700.entry.js → p-ba7bd783.entry.js} +1 -1
- package/dist/ketchup/{p-4b913e48.entry.js → p-bcc871a0.entry.js} +1 -1
- package/dist/ketchup/{p-bb749e71.entry.js → p-cee4fdb5.entry.js} +1 -1
- package/dist/ketchup/{p-2a6cc9f6.entry.js → p-d1b148ad.entry.js} +1 -1
- package/dist/ketchup/{p-0b9fee26.entry.js → p-e66f3d17.entry.js} +1 -1
- package/dist/ketchup/{p-4cabcbb7.entry.js → p-eada699b.entry.js} +1 -1
- package/dist/ketchup/{p-1a18f3c1.entry.js → p-f537e04b.entry.js} +1 -1
- package/dist/ketchup/{p-fcf845c9.entry.js → p-f8fdcc20.entry.js} +1 -1
- package/dist/ketchup/{p-fd420db2.entry.js → p-fc32aa0e.entry.js} +1 -1
- package/dist/types/components/kup-calendar/kup-calendar-declarations.d.ts +2 -1
- package/dist/types/components/kup-calendar/kup-calendar-state.d.ts +7 -0
- package/dist/types/components/kup-calendar/kup-calendar.d.ts +8 -0
- package/dist/types/components.d.ts +4 -0
- package/package.json +1 -1
- package/dist/ketchup/p-998139e0.js +0 -1
- package/dist/ketchup/p-d5936098.entry.js +0 -1
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index$4 = require('./index-e8aa3c73.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-b4ee0e69.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
8
|
const fButton = require('./f-button-2994335b.js');
|
|
9
|
-
const fChip = require('./f-chip-
|
|
9
|
+
const fChip = require('./f-chip-e7733d4f.js');
|
|
10
10
|
const kupDates = require('./kup-dates-bc4cf9d0.js');
|
|
11
11
|
require('./f-button-declarations-76ef9f87.js');
|
|
12
12
|
require('./f-image-819dca29.js');
|
|
@@ -13934,6 +13934,7 @@ var KupCalendarProps;
|
|
|
13934
13934
|
KupCalendarProps["editableEvents"] = "When true, events are editable.";
|
|
13935
13935
|
KupCalendarProps["hideNavigation"] = "When disabled, the navigation toolbar won't be displayed.";
|
|
13936
13936
|
KupCalendarProps["viewType"] = "Type of the view.";
|
|
13937
|
+
KupCalendarProps["calendarColumns"] = "Sets which columns of the data property will be used to render each characteristic of an event in the calendar.";
|
|
13937
13938
|
})(KupCalendarProps || (KupCalendarProps = {}));
|
|
13938
13939
|
/**
|
|
13939
13940
|
* Available view types.
|
|
@@ -13959,6 +13960,12 @@ var KupCalendarOptions;
|
|
|
13959
13960
|
KupCalendarOptions["STYLE"] = "style";
|
|
13960
13961
|
})(KupCalendarOptions || (KupCalendarOptions = {}));
|
|
13961
13962
|
|
|
13963
|
+
class KupCalendarState {
|
|
13964
|
+
toDebugString() {
|
|
13965
|
+
return JSON.stringify(this);
|
|
13966
|
+
}
|
|
13967
|
+
}
|
|
13968
|
+
|
|
13962
13969
|
const kupCalendarCss = ".kup-body-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px}.kup-body-01{font-family:var(--kup-font-family);font-size:var(--kup-body-01-font-size, 14px);line-height:20px;font-weight:400;letter-spacing:0.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:14px;line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:14px;line-height:20px;font-weight:600;letter-spacing:0.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}:host{--kup_calendar_background_color:var(\n --kup-calendar-background-color,\n var(--kup-layer-1)\n );--kup_calendar_border_color:var(\n --kup-calendar-border-color,\n var(--kup-border-subtle)\n );--kup_calendar_event_background_color:var(\n --kup-calendar-event-background-color,\n var(--kup-gray-color-30)\n );--kup_calendar_event_border_radius:var(\n --kup-calendar-event-border-radius,\n 4px\n );--kup_calendar_event_color:var(\n --kup-calendar-event-color,\n var(--kup-text-secondary)\n );--kup_calendar_font_family:var(\n --kup-calendar-font-family,\n var(--kup-font-family)\n );--kup_calendar_font_size:var(--kup-calendar-font-size, var(--kup-font-size));--kup_calendar_header_background_color:var(\n --kup-calendar-header-background-color,\n var(--kup-layer-2)\n );--kup_calendar_header_color:var(\n --kup-calendar-header-color,\n var(--kup-text-secondary)\n );--kup_calendar_navigator_border:var(\n --kup-calendar-navigator-border,\n 1px solid var(--kup-border-subtle)\n );--kup_calendar_no_work_day_background_color:var(\n --kup-calendar-no-work-day-background-color,\n var(--kup-layer-0)\n );--kup_calendar_no_work_day_color:var(\n --kup-calendar-no-work-day-color,\n var(--kup-text-secondary)\n );--kup_calendar_today_background_color:var(\n --kup-calendar-today-background-color,\n var(--kup-layer-2)\n );--kup_calendar_border_top_color:var(\n --kup-calendar-border-top-color,\n var(--kup-border-interactive)\n );--fc-border-color:var(--kup_calendar_border_color);background-color:var(--kup_calendar_background_color);display:block;font-family:var(--kup_calendar_font_family);font-size:var(--kup_calendar_font_size);height:100%;width:100%}.navigation{align-items:center;display:flex;justify-content:space-between;background-color:var(--kup_calendar_background_color)}.navigation__left{--kup-font-size:0.875em;display:flex;margin-left:var(--kup-space-03)}.navigation__right{display:flex;margin-right:var(--kup-space-03)}.navigation__title{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0;margin:0px;padding:0px 0.5em}.navigation__title--centered{padding:0.35em 0;text-align:center;width:100%}.icon-wrapper{display:flex;justify-content:flex-end;flex-wrap:wrap}.image-wrapper{display:flex;justify-content:space-between;flex-wrap:wrap}.image-wrapper img{width:20px;height:20px}.custom-icon{background-color:var(--kup_calendar_event_color);height:1.5em;width:1.5em}#kup-component .fc-toolbar.fc-header-toolbar{margin-top:1.5rem}#kup-component .fc-ltr .fc-dayGrid-view .fc-day-top{text-align:center;padding:0.5rem}#kup-component .fc-ltr .fc-dayGrid-view .fc-day-top .fc-day-number{float:none}#kup-component .fc-content{padding:0.25rem}#kup-component .fc-event-title{white-space:normal;word-break:break-word}#kup-component .fc-content,#kup-component .fc-divider,#kup-component .fc-list-heading td,#kup-component .fc-list-view,#kup-component .fc-popover,#kup-component .fc-row,#kup-component .fc-scrollgrid,#kup-component tbody,#kup-component td{border-color:var(--kup_calendar_border_color)}#kup-component .fc-col-header-cell{background:var(--kup_calendar_header_background_color);color:var(--kup_calendar_header_color)}#kup-component .fc-h-event{background:none;border:none}#kup-component .fc-list-event-dot{border-color:var(--kup_calendar_event_background_color)}#kup-component .fc-list-day-cushion{background:var(--kup_calendar_header_background_color);color:var(--kup_calendar_header_color);font-family:var(--kup-font-family);font-size:14px;line-height:20px;font-weight:600;letter-spacing:0.16px}#kup-component .fc-list-event:hover td{background:var(--kup-hover-background-color);color:var(--kup-hover-color)}#kup-component .fc-daygrid-event,#kup-component .fc-timegrid-event{background:var(--kup_calendar_event_background_color);border:none;border-color:var(--kup_calendar_event_background_color);color:var(--kup_calendar_event_color)}#kup-component .fc-event-main{color:inherit}#kup-component .fc-event-title{padding:0.25em}#kup-component .fc-event-time{white-space:pre}#kup-component td.fc-day-today{background-color:var(--kup_calendar_today_background_color);border-top:2px solid var(--kup_calendar_border_top_color)}#kup-component td.fc-day-sun,#kup-component td.fc-day-sat{background-color:var(--kup_calendar_no_work_day_background_color);color:var(--kup_calendar_no_work_day_color);opacity:0.7}@media (max-width: 599px){.navigation{flex-direction:column}.calendar{height:100%}.calendar .fc-view-harness{min-height:450px}.navigation .navigation__left{font-size:20px;gap:8px}.navigation .navigation__right .f-chip .chip-set .chip-set__item{font-size:16px}}@media (min-width: 599px){#kup-component .fc-daygrid-event{align-items:baseline;white-space:pre-line}}";
|
|
13963
13970
|
const KupCalendarStyle0 = kupCalendarCss;
|
|
13964
13971
|
|
|
@@ -13969,6 +13976,10 @@ const KupCalendar = class {
|
|
|
13969
13976
|
this.kupCalendarDateClick = index$4.createEvent(this, "kup-calendar-dateclick", 6);
|
|
13970
13977
|
this.kupCalendarEventDrop = index$4.createEvent(this, "kup-calendar-eventdrop", 6);
|
|
13971
13978
|
this.kupCalendarViewChange = index$4.createEvent(this, "kup-calendar-viewchange", 6);
|
|
13979
|
+
/*-------------------------------------------------*/
|
|
13980
|
+
/* S t a t e s */
|
|
13981
|
+
/*-------------------------------------------------*/
|
|
13982
|
+
this.state = new KupCalendarState();
|
|
13972
13983
|
this.calendarContainer = null;
|
|
13973
13984
|
this.kupManager = kupManager.kupManagerInstance();
|
|
13974
13985
|
this.navTitle = null;
|
|
@@ -13996,12 +14007,48 @@ const KupCalendar = class {
|
|
|
13996
14007
|
this.editableEvents = true;
|
|
13997
14008
|
this.enableChangeView = false;
|
|
13998
14009
|
this.viewType = KupCalendarViewTypes.MONTH;
|
|
14010
|
+
this.stateId = '';
|
|
14011
|
+
this.store = undefined;
|
|
14012
|
+
}
|
|
14013
|
+
initWithPersistedState() {
|
|
14014
|
+
var _a, _b;
|
|
14015
|
+
if (this.store && this.stateId) {
|
|
14016
|
+
const state = this.store.getState(this.stateId);
|
|
14017
|
+
if (state) {
|
|
14018
|
+
this.kupManager.debug.logMessage(this, 'Initialize with state for stateId ' +
|
|
14019
|
+
this.stateId +
|
|
14020
|
+
': ' +
|
|
14021
|
+
state);
|
|
14022
|
+
}
|
|
14023
|
+
this.initialDate = (_a = state.initialDate) !== null && _a !== void 0 ? _a : this.initialDate;
|
|
14024
|
+
this.viewType = (_b = state.viewType) !== null && _b !== void 0 ? _b : this.viewType;
|
|
14025
|
+
}
|
|
14026
|
+
}
|
|
14027
|
+
persistState() {
|
|
14028
|
+
if (this.store && this.stateId) {
|
|
14029
|
+
let somethingChanged = false;
|
|
14030
|
+
if (this.state.initialDate !== this.initialDate) {
|
|
14031
|
+
this.state.initialDate = this.initialDate;
|
|
14032
|
+
somethingChanged = true;
|
|
14033
|
+
}
|
|
14034
|
+
if (this.state.viewType !== this.viewType) {
|
|
14035
|
+
this.state.viewType = this.viewType;
|
|
14036
|
+
somethingChanged = true;
|
|
14037
|
+
}
|
|
14038
|
+
if (somethingChanged) {
|
|
14039
|
+
this.kupManager.debug.logMessage(this, 'Persisting state for stateId ' +
|
|
14040
|
+
this.stateId +
|
|
14041
|
+
': ' +
|
|
14042
|
+
this.state);
|
|
14043
|
+
this.store.persistState(this.stateId, this.state);
|
|
14044
|
+
}
|
|
14045
|
+
}
|
|
13999
14046
|
}
|
|
14000
14047
|
/*-------------------------------------------------*/
|
|
14001
14048
|
/* W a t c h e r s */
|
|
14002
14049
|
/*-------------------------------------------------*/
|
|
14003
14050
|
setCalendarData() {
|
|
14004
|
-
var _a;
|
|
14051
|
+
var _a, _b;
|
|
14005
14052
|
if (!this.calendarContainer) {
|
|
14006
14053
|
return;
|
|
14007
14054
|
}
|
|
@@ -14019,6 +14066,20 @@ const KupCalendar = class {
|
|
|
14019
14066
|
});
|
|
14020
14067
|
}
|
|
14021
14068
|
this.calendar = new Calendar(this.calendarContainer, {
|
|
14069
|
+
datesSet: (info) => {
|
|
14070
|
+
const isoDate = info.startStr.substring(0, 10);
|
|
14071
|
+
const date = new Date(isoDate);
|
|
14072
|
+
if (this.viewType === KupCalendarViewTypes.MONTH &&
|
|
14073
|
+
date.getDate() > 1) {
|
|
14074
|
+
date.setMonth(date.getMonth() + 1);
|
|
14075
|
+
date.setDate(1);
|
|
14076
|
+
this.initialDate = date.toISOString().substring(0, 10);
|
|
14077
|
+
}
|
|
14078
|
+
else {
|
|
14079
|
+
this.initialDate = isoDate;
|
|
14080
|
+
}
|
|
14081
|
+
this.persistState();
|
|
14082
|
+
},
|
|
14022
14083
|
dateClick: ({ date }) => {
|
|
14023
14084
|
this.kupCalendarDateClick.emit({
|
|
14024
14085
|
comp: this,
|
|
@@ -14098,8 +14159,7 @@ const KupCalendar = class {
|
|
|
14098
14159
|
},
|
|
14099
14160
|
events: this.getEvents(),
|
|
14100
14161
|
headerToolbar: false,
|
|
14101
|
-
|
|
14102
|
-
initialDate: this.currentDate,
|
|
14162
|
+
initialDate: (_b = this.initialDate) !== null && _b !== void 0 ? _b : this.currentDate,
|
|
14103
14163
|
initialView: this.viewType,
|
|
14104
14164
|
locale: this.getLocale(),
|
|
14105
14165
|
locales: [
|
|
@@ -14215,56 +14275,66 @@ const KupCalendar = class {
|
|
|
14215
14275
|
this.endCol &&
|
|
14216
14276
|
kupManager.getColumnByName(this.getColumns(), this.startCol) &&
|
|
14217
14277
|
kupManager.getColumnByName(this.getColumns(), this.endCol);
|
|
14218
|
-
|
|
14219
|
-
|
|
14220
|
-
if (
|
|
14221
|
-
|
|
14222
|
-
|
|
14223
|
-
|
|
14224
|
-
|
|
14225
|
-
|
|
14226
|
-
|
|
14227
|
-
|
|
14228
|
-
|
|
14229
|
-
|
|
14230
|
-
|
|
14231
|
-
|
|
14232
|
-
|
|
14233
|
-
|
|
14234
|
-
|
|
14235
|
-
|
|
14236
|
-
|
|
14237
|
-
|
|
14238
|
-
|
|
14239
|
-
|
|
14240
|
-
|
|
14241
|
-
|
|
14242
|
-
|
|
14278
|
+
let events = {};
|
|
14279
|
+
try {
|
|
14280
|
+
if (!this.dateCol || !this.descrCol) {
|
|
14281
|
+
throw new Error('dateCol or/and descrCol are not specified, check calendarColums props');
|
|
14282
|
+
}
|
|
14283
|
+
events = this.getRows().map((row) => {
|
|
14284
|
+
const cell = row.cells[this.dateCol];
|
|
14285
|
+
if (cell) {
|
|
14286
|
+
let startDate = this.kupManager.dates.toDayjs(cell.value);
|
|
14287
|
+
let endDate = this.kupManager.dates.toDayjs(cell.value);
|
|
14288
|
+
if (isHourRange) {
|
|
14289
|
+
const startCell = row.cells[this.startCol];
|
|
14290
|
+
const endCell = row.cells[this.endCol];
|
|
14291
|
+
if (startCell && endCell) {
|
|
14292
|
+
const dayjsStart = this.kupManager.dates.toDayjs(startCell.value, kupDates.KupDatesFormats.ISO_TIME);
|
|
14293
|
+
const dayjsEnd = this.kupManager.dates.toDayjs(endCell.value, kupDates.KupDatesFormats.ISO_TIME);
|
|
14294
|
+
if (dayjsStart && dayjsEnd) {
|
|
14295
|
+
startDate = startDate.hour(dayjsStart.hour());
|
|
14296
|
+
startDate = startDate.minute(dayjsStart.minute());
|
|
14297
|
+
startDate = startDate.second(dayjsStart.second());
|
|
14298
|
+
endDate = endDate.hour(dayjsEnd.hour());
|
|
14299
|
+
endDate = endDate.minute(dayjsEnd.minute());
|
|
14300
|
+
endDate = endDate.second(dayjsEnd.second());
|
|
14301
|
+
}
|
|
14302
|
+
else {
|
|
14303
|
+
this.kupManager.debug.logMessage(this, `error while converting hour range: [${dayjsStart
|
|
14304
|
+
? `start hour: ${dayjsStart}`
|
|
14305
|
+
: `invalid start hour: ${startCell.value}`}, ${dayjsEnd
|
|
14306
|
+
? `end hour: ${dayjsEnd}`
|
|
14307
|
+
: `invalid end hour: ${endCell.value}`}]`, kupManager.KupDebugCategory.WARNING);
|
|
14308
|
+
}
|
|
14243
14309
|
}
|
|
14244
14310
|
}
|
|
14311
|
+
if (endDate && startDate) {
|
|
14312
|
+
const el = {
|
|
14313
|
+
allDay: isHourRange ? false : true,
|
|
14314
|
+
editable: this.editableEvents,
|
|
14315
|
+
end: endDate.toISOString(),
|
|
14316
|
+
extendedProps: {
|
|
14317
|
+
row,
|
|
14318
|
+
},
|
|
14319
|
+
start: startDate.toISOString(),
|
|
14320
|
+
title: row.cells[this.descrCol].value,
|
|
14321
|
+
};
|
|
14322
|
+
return el;
|
|
14323
|
+
}
|
|
14324
|
+
else {
|
|
14325
|
+
this.kupManager.debug.logMessage(this, `error while converting dates: [${startDate
|
|
14326
|
+
? `start date: ${startDate}`
|
|
14327
|
+
: `invalid start date: ${cell.value}`}. ${endDate
|
|
14328
|
+
? `end date: ${endDate}`
|
|
14329
|
+
: `invalid end date: ${cell.value}`}]`, kupManager.KupDebugCategory.WARNING);
|
|
14330
|
+
}
|
|
14245
14331
|
}
|
|
14246
|
-
|
|
14247
|
-
|
|
14248
|
-
|
|
14249
|
-
|
|
14250
|
-
|
|
14251
|
-
|
|
14252
|
-
row,
|
|
14253
|
-
},
|
|
14254
|
-
start: startDate.toISOString(),
|
|
14255
|
-
title: row.cells[this.descrCol].value,
|
|
14256
|
-
};
|
|
14257
|
-
return el;
|
|
14258
|
-
}
|
|
14259
|
-
else {
|
|
14260
|
-
this.kupManager.debug.logMessage(this, `error while converting dates: [${startDate
|
|
14261
|
-
? `start date: ${startDate}`
|
|
14262
|
-
: `invalid start date: ${cell.value}`}. ${endDate
|
|
14263
|
-
? `end date: ${endDate}`
|
|
14264
|
-
: `invalid end date: ${cell.value}`}]`, kupManager.KupDebugCategory.WARNING);
|
|
14265
|
-
}
|
|
14266
|
-
}
|
|
14267
|
-
});
|
|
14332
|
+
});
|
|
14333
|
+
}
|
|
14334
|
+
catch (error) {
|
|
14335
|
+
this.kupManager.debug.logMessage(this, `Unable to create calendard events, caused by: ${error}`, kupManager.KupDebugCategory.ERROR);
|
|
14336
|
+
}
|
|
14337
|
+
return events;
|
|
14268
14338
|
}
|
|
14269
14339
|
onPrev() {
|
|
14270
14340
|
this.calendar.prev();
|
|
@@ -14307,6 +14377,7 @@ const KupCalendar = class {
|
|
|
14307
14377
|
this.kupManager.debug.logLoad(this, false);
|
|
14308
14378
|
this.kupManager.language.register(this);
|
|
14309
14379
|
this.kupManager.theme.register(this);
|
|
14380
|
+
this.initWithPersistedState();
|
|
14310
14381
|
}
|
|
14311
14382
|
componentDidLoad() {
|
|
14312
14383
|
this.setCalendarData();
|
|
@@ -14322,11 +14393,11 @@ const KupCalendar = class {
|
|
|
14322
14393
|
this.kupManager.debug.logRender(this, true);
|
|
14323
14394
|
}
|
|
14324
14395
|
render() {
|
|
14325
|
-
return (index$4.h(index$4.Host, { key: '
|
|
14396
|
+
return (index$4.h(index$4.Host, { key: '3755873fa47397c498a36795d6855875043ef4b0' }, index$4.h("style", { key: '07bb73bd538b4a040f01f5711170ad53fd582ba3' }, this.kupManager.theme.setKupStyle(this.rootElement)), index$4.h("div", { key: 'fad6b4222893c0ba51d957eb8377800f2a7c7ae4', id: GenericVariables.componentWrapperId }, index$4.h("div", { key: 'd24e0fa87e410e850754938cc6d51d5796e402f2', class: "navigation" }, !this.hideNavigation ? (index$4.h("div", { class: "navigation__left" }, index$4.h(fButton.FButton, { icon: "chevron_left", onClick: () => this.onPrev(), title: this.kupManager.language.translate(kupManager.KupLanguageGeneric.PREVIOUS), wrapperClass: "navigation__prev" }), index$4.h(fButton.FButton, { icon: "calendar", onClick: () => this.onToday(), title: this.kupManager.language.translate(kupManager.KupLanguageGeneric.TODAY), wrapperClass: "navigation__today" }), index$4.h(fButton.FButton, { icon: "chevron_right", onClick: () => this.onNext(), title: this.kupManager.language.translate(kupManager.KupLanguageGeneric.NEXT), wrapperClass: "navigation__next" }))) : null, index$4.h("div", { key: '2eabd1ca9d91ed4d159b69b6010969b729ae0376', class: `navigation__title ${this.hideNavigation
|
|
14326
14397
|
? 'navigation__title--centered'
|
|
14327
14398
|
: ''}`, ref: (el) => {
|
|
14328
14399
|
this.navTitle = el;
|
|
14329
|
-
} }), index$4.h("div", { key: '
|
|
14400
|
+
} }), index$4.h("div", { key: '6167055757c8c5fa4406262365fb456be5255f42', class: "navigation__right" }, this.enableChangeView ? (index$4.h(fChip.FChip, Object.assign({}, this.setChipProps()))) : null)), index$4.h("div", { key: '80c87f4cc19c07442186b566db0276a47e2a1792', class: "calendar", ref: (el) => (this.calendarContainer = el) }))));
|
|
14330
14401
|
}
|
|
14331
14402
|
disconnectedCallback() {
|
|
14332
14403
|
if (this.calendar) {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e8aa3c73.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-b4ee0e69.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
8
|
require('./kup-dates-bc4cf9d0.js');
|
|
9
9
|
|
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e8aa3c73.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-b4ee0e69.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
8
|
const fButton = require('./f-button-2994335b.js');
|
|
9
|
-
const fCell = require('./f-cell-
|
|
9
|
+
const fCell = require('./f-cell-823c0f27.js');
|
|
10
10
|
require('./kup-dates-bc4cf9d0.js');
|
|
11
11
|
require('./f-button-declarations-76ef9f87.js');
|
|
12
12
|
require('./f-image-819dca29.js');
|
|
13
13
|
require('./f-checkbox-989b9645.js');
|
|
14
|
-
require('./f-chip-
|
|
15
|
-
require('./f-object-field-
|
|
16
|
-
require('./f-text-field-
|
|
14
|
+
require('./f-chip-e7733d4f.js');
|
|
15
|
+
require('./f-object-field-5abaa74e.js');
|
|
16
|
+
require('./f-text-field-3d362e56.js');
|
|
17
17
|
|
|
18
18
|
const kupCellCss = ".kup-body-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px}.kup-body-01{font-family:var(--kup-font-family);font-size:var(--kup-body-01-font-size, 14px);line-height:20px;font-weight:400;letter-spacing:0.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:14px;line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:14px;line-height:20px;font-weight:600;letter-spacing:0.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}:host{display:block;height:fit-content;width:100%}#kup-component{height:fit-content;width:100%}";
|
|
19
19
|
const KupCellStyle0 = kupCellCss;
|
|
@@ -5,9 +5,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-e8aa3c73.js');
|
|
6
6
|
const fButton = require('./f-button-2994335b.js');
|
|
7
7
|
const fCheckbox = require('./f-checkbox-989b9645.js');
|
|
8
|
-
const fTextField = require('./f-text-field-
|
|
8
|
+
const fTextField = require('./f-text-field-3d362e56.js');
|
|
9
9
|
const fTextFieldMdc = require('./f-text-field-mdc-29aae9c9.js');
|
|
10
|
-
const kupManager = require('./kup-manager-
|
|
10
|
+
const kupManager = require('./kup-manager-b4ee0e69.js');
|
|
11
11
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
12
12
|
require('./f-button-declarations-76ef9f87.js');
|
|
13
13
|
require('./f-image-819dca29.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e8aa3c73.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-b4ee0e69.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
8
|
require('./kup-dates-bc4cf9d0.js');
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e8aa3c73.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-b4ee0e69.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
8
|
require('./kup-dates-bc4cf9d0.js');
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e8aa3c73.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-b4ee0e69.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
8
|
const kupDates = require('./kup-dates-bc4cf9d0.js');
|
|
9
9
|
|
|
@@ -6,7 +6,7 @@ const index = require('./index-e8aa3c73.js');
|
|
|
6
6
|
const fButton = require('./f-button-2994335b.js');
|
|
7
7
|
const fButtonDeclarations = require('./f-button-declarations-76ef9f87.js');
|
|
8
8
|
const fImage = require('./f-image-819dca29.js');
|
|
9
|
-
const kupManager = require('./kup-manager-
|
|
9
|
+
const kupManager = require('./kup-manager-b4ee0e69.js');
|
|
10
10
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
11
11
|
require('./kup-dates-bc4cf9d0.js');
|
|
12
12
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e8aa3c73.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-b4ee0e69.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
8
|
require('./kup-dates-bc4cf9d0.js');
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e8aa3c73.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-b4ee0e69.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
8
|
require('./kup-dates-bc4cf9d0.js');
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e8aa3c73.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-b4ee0e69.js');
|
|
7
7
|
require('./kup-dates-bc4cf9d0.js');
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -3,18 +3,18 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e8aa3c73.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-b4ee0e69.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
8
|
const fImage = require('./f-image-819dca29.js');
|
|
9
9
|
const fButton = require('./f-button-2994335b.js');
|
|
10
10
|
const fButtonDeclarations = require('./f-button-declarations-76ef9f87.js');
|
|
11
|
-
const fCell = require('./f-cell-
|
|
11
|
+
const fCell = require('./f-cell-823c0f27.js');
|
|
12
12
|
const component = require('./component-a6dd6c14.js');
|
|
13
13
|
require('./kup-dates-bc4cf9d0.js');
|
|
14
14
|
require('./f-checkbox-989b9645.js');
|
|
15
|
-
require('./f-chip-
|
|
16
|
-
require('./f-object-field-
|
|
17
|
-
require('./f-text-field-
|
|
15
|
+
require('./f-chip-e7733d4f.js');
|
|
16
|
+
require('./f-object-field-5abaa74e.js');
|
|
17
|
+
require('./f-text-field-3d362e56.js');
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* Props of the kup-image-list component.
|
|
@@ -4,17 +4,17 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e8aa3c73.js');
|
|
6
6
|
const fButton = require('./f-button-2994335b.js');
|
|
7
|
-
const fCell = require('./f-cell-
|
|
8
|
-
const kupManager = require('./kup-manager-
|
|
7
|
+
const fCell = require('./f-cell-823c0f27.js');
|
|
8
|
+
const kupManager = require('./kup-manager-b4ee0e69.js');
|
|
9
9
|
const fTextFieldMdc = require('./f-text-field-mdc-29aae9c9.js');
|
|
10
10
|
const fTypography = require('./f-typography-271f5037.js');
|
|
11
11
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
12
12
|
require('./f-button-declarations-76ef9f87.js');
|
|
13
13
|
require('./f-image-819dca29.js');
|
|
14
14
|
require('./f-checkbox-989b9645.js');
|
|
15
|
-
require('./f-chip-
|
|
16
|
-
require('./f-object-field-
|
|
17
|
-
require('./f-text-field-
|
|
15
|
+
require('./f-chip-e7733d4f.js');
|
|
16
|
+
require('./f-object-field-5abaa74e.js');
|
|
17
|
+
require('./f-text-field-3d362e56.js');
|
|
18
18
|
require('./kup-dates-bc4cf9d0.js');
|
|
19
19
|
require('./component-a6dd6c14.js');
|
|
20
20
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e8aa3c73.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-b4ee0e69.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
8
|
require('./kup-dates-bc4cf9d0.js');
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e8aa3c73.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-b4ee0e69.js');
|
|
7
7
|
const fButtonDeclarations = require('./f-button-declarations-76ef9f87.js');
|
|
8
8
|
const fImage = require('./f-image-819dca29.js');
|
|
9
9
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
@@ -7727,13 +7727,15 @@ const isForceUppercase = (cell) => {
|
|
|
7727
7727
|
cell.inputSettings.forceUppercase === true);
|
|
7728
7728
|
};
|
|
7729
7729
|
function adaptContentToDisplayMode(cell, content, separator) {
|
|
7730
|
-
var _a, _b, _c;
|
|
7730
|
+
var _a, _b, _c, _d;
|
|
7731
7731
|
if (!(cell === null || cell === void 0 ? void 0 : cell.decode) || !((_a = cell === null || cell === void 0 ? void 0 : cell.obj) === null || _a === void 0 ? void 0 : _a.k)) {
|
|
7732
7732
|
return content !== null && content !== void 0 ? content : '';
|
|
7733
7733
|
}
|
|
7734
7734
|
const { k: code } = cell.obj;
|
|
7735
7735
|
const desc = cell.decode;
|
|
7736
|
-
const displayMode = (_b = cell.data) === null || _b === void 0 ? void 0 : _b.displayMode
|
|
7736
|
+
const displayMode = ((_b = cell.data) === null || _b === void 0 ? void 0 : _b.displayMode) != null
|
|
7737
|
+
? (_c = cell.data) === null || _c === void 0 ? void 0 : _c.displayMode
|
|
7738
|
+
: exports.ItemsDisplayMode.DESCRIPTION;
|
|
7737
7739
|
const format = (a, b, sep = separator) => a && b ? `${a} ${sep} ${b}` : '';
|
|
7738
7740
|
switch (displayMode) {
|
|
7739
7741
|
case exports.ItemsDisplayMode.CODE:
|
|
@@ -7746,7 +7748,7 @@ function adaptContentToDisplayMode(cell, content, separator) {
|
|
|
7746
7748
|
case exports.ItemsDisplayMode.DESC_AND_CODE:
|
|
7747
7749
|
return format(desc, code);
|
|
7748
7750
|
default:
|
|
7749
|
-
return (
|
|
7751
|
+
return (_d = content !== null && content !== void 0 ? content : code) !== null && _d !== void 0 ? _d : '';
|
|
7750
7752
|
}
|
|
7751
7753
|
}
|
|
7752
7754
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e8aa3c73.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-b4ee0e69.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
8
|
require('./kup-dates-bc4cf9d0.js');
|
|
9
9
|
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e8aa3c73.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-b4ee0e69.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
|
-
const fTextField = require('./f-text-field-
|
|
8
|
+
const fTextField = require('./f-text-field-3d362e56.js');
|
|
9
9
|
const fTextFieldMdc = require('./f-text-field-mdc-29aae9c9.js');
|
|
10
10
|
require('./kup-dates-bc4cf9d0.js');
|
|
11
11
|
require('./f-image-819dca29.js');
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e8aa3c73.js');
|
|
6
|
-
const fObjectField = require('./f-object-field-
|
|
7
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const fObjectField = require('./f-object-field-5abaa74e.js');
|
|
7
|
+
const kupManager = require('./kup-manager-b4ee0e69.js');
|
|
8
8
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
9
9
|
require('./f-button-2994335b.js');
|
|
10
10
|
require('./f-button-declarations-76ef9f87.js');
|
|
11
11
|
require('./f-image-819dca29.js');
|
|
12
|
-
require('./f-text-field-
|
|
12
|
+
require('./f-text-field-3d362e56.js');
|
|
13
13
|
require('./kup-dates-bc4cf9d0.js');
|
|
14
14
|
|
|
15
15
|
/**
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e8aa3c73.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-b4ee0e69.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
8
|
const kupDates = require('./kup-dates-bc4cf9d0.js');
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e8aa3c73.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-b4ee0e69.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
8
|
require('./kup-dates-bc4cf9d0.js');
|
|
9
9
|
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e8aa3c73.js');
|
|
6
|
-
const kupManager$1 = require('./kup-manager-
|
|
6
|
+
const kupManager$1 = require('./kup-manager-b4ee0e69.js');
|
|
7
7
|
const kupPlannerDeclarations = require('./kup-planner-declarations-7291d01c.js');
|
|
8
8
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
9
|
-
const fTextField = require('./f-text-field-
|
|
9
|
+
const fTextField = require('./f-text-field-3d362e56.js');
|
|
10
10
|
const fTextFieldMdc = require('./f-text-field-mdc-29aae9c9.js');
|
|
11
11
|
require('./kup-dates-bc4cf9d0.js');
|
|
12
12
|
require('./f-image-819dca29.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e8aa3c73.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-b4ee0e69.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
8
|
require('./kup-dates-bc4cf9d0.js');
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e8aa3c73.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-b4ee0e69.js');
|
|
7
7
|
require('./kup-dates-bc4cf9d0.js');
|
|
8
8
|
|
|
9
9
|
const kupQlikCss = ".kup-body-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px}.kup-body-01{font-family:var(--kup-font-family);font-size:var(--kup-body-01-font-size, 14px);line-height:20px;font-weight:400;letter-spacing:0.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:14px;line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:14px;line-height:20px;font-weight:600;letter-spacing:0.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}.kup-qlik-container-fluid{width:100%}.kup-qlik-container{width:100%}@media (min-width: 576px){.kup-qlik-container{width:576px}.kup-qlik-row>.qvobject{flex:0 0 auto;min-width:100px;margin:0px auto 5px auto}}@media (min-width: 768px){.kup-qlik-container{width:768px}.kup-qlik-row>.qvobject{flex:0 0 auto;min-width:100px;margin:0px auto 5px auto}}@media (min-width: 992px){.kup-qlik-container{width:992px}.kup-qlik-row>.qvobject{flex:0 0 auto;min-width:100px;margin:0px auto 5px auto}}@media (min-width: 1200px){.kup-qlik-container{width:1200px}.kup-qlik-row>.qvobject{flex:0 0 auto;min-width:100px;margin:0px auto 5px auto}}.kup-qlik-row{display:flex;display:ms-flexbox;flex-wrap:wrap;-ms-flex-wrap:wrap;margin-bottom:5px}.kup-qlik-row .size-M{height:var(--lyo_obj-height)}.kup-qlik-row .size-S{height:calc(var(--lyo_obj-height) / 2)}.kup-qlik-row .size-XS{height:calc(var(--lyo_obj-height) / 3)}.kup-qlik-row .size-L{height:calc(var(--lyo_obj-height) * 2)}.kup-qlik-row .size-XL{height:calc(var(--lyo_obj-height) * 3)}.kup-qlik-row .bordered{border:1px solid var(--kup-border-subtle, #969696)}.kup-qlik-row .width-1{width:8.3333%}.kup-qlik-row .width-2{width:16.6666%}.kup-qlik-row .width-3{width:25%}.kup-qlik-row .width-4{width:33.3333%}.kup-qlik-row .width-5{width:41.6666%}.kup-qlik-row .width-6{width:50%}.kup-qlik-row .width-7{width:58.3333%}.kup-qlik-row .width-8{width:66.6666%}.kup-qlik-row .width-9{width:75%}.kup-qlik-row .width-10{width:83.3333%}.kup-qlik-row .width-11{width:91.6666%}.kup-qlik-row .width-12{width:100%}";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e8aa3c73.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-b4ee0e69.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
8
|
const fButton = require('./f-button-2994335b.js');
|
|
9
9
|
require('./kup-dates-bc4cf9d0.js');
|