@sme.up/ketchup 10.3.6 → 10.3.7
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-e5ff9c98.js → f-cell-5c1b2c66.js} +21 -13
- package/dist/cjs/{f-chip-f35c1b42.js → f-chip-b4aebf7c.js} +1 -1
- package/dist/cjs/{f-object-field-04065abd.js → f-object-field-62195164.js} +2 -2
- package/dist/cjs/{f-paginator-utils-3ada5c71.js → f-paginator-utils-54bc1b31.js} +9 -7
- package/dist/cjs/{f-text-field-0eda27cd.js → f-text-field-03e975ad.js} +2 -5
- 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_30.cjs.entry.js +131 -83
- package/dist/cjs/kup-box.cjs.entry.js +7 -7
- package/dist/cjs/kup-calendar.cjs.entry.js +7 -4
- 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-custom-task-list-header_4.cjs.entry.js +7 -7
- package/dist/cjs/kup-dashboard.cjs.entry.js +2 -2
- package/dist/cjs/{kup-data-table-helper-0b79fb90.js → kup-data-table-helper-72dc3004.js} +3 -3
- package/dist/cjs/kup-drawer.cjs.entry.js +1 -1
- package/dist/cjs/kup-echart.cjs.entry.js +48 -6
- 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-gantt_10.cjs.entry.js +23 -23
- package/dist/cjs/kup-grid.cjs.entry.js +1 -1
- package/dist/cjs/kup-htm.cjs.entry.js +2 -2
- package/dist/cjs/kup-iframe.cjs.entry.js +1 -1
- package/dist/cjs/kup-input-panel.cjs.entry.js +168 -28
- package/dist/cjs/kup-lazy.cjs.entry.js +12 -12
- package/dist/cjs/kup-magic-box.cjs.entry.js +4 -4
- package/dist/cjs/{kup-manager-5cdad0f5.js → kup-manager-bb0a1490.js} +6 -10
- 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-pdf.cjs.entry.js +2 -2
- package/dist/cjs/kup-planner-renderer.cjs.entry.js +2 -2
- package/dist/cjs/kup-planner.cjs.entry.js +3 -3
- package/dist/cjs/kup-probe.cjs.entry.js +2 -2
- package/dist/cjs/kup-qlik.cjs.entry.js +2 -2
- package/dist/cjs/kup-snackbar.cjs.entry.js +2 -2
- package/dist/cjs/kup-txt.cjs.entry.js +2 -2
- package/dist/cjs/kup-typography-list.cjs.entry.js +2 -2
- package/dist/cjs/kup-typography.cjs.entry.js +3 -3
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/assets/echart.js +343 -169
- package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +4 -2
- package/dist/collection/components/kup-combobox/kup-combobox.js +4 -2
- package/dist/collection/components/kup-data-table/kup-data-table-declarations.js +1 -0
- package/dist/collection/components/kup-data-table/kup-data-table.css +7 -4
- package/dist/collection/components/kup-data-table/kup-data-table.js +14 -11
- package/dist/collection/components/kup-echart/kup-echart.js +47 -5
- package/dist/collection/components/kup-file-upload/kup-file-upload-declarations.js +3 -1
- package/dist/collection/components/kup-file-upload/kup-file-upload.css +13 -0
- package/dist/collection/components/kup-file-upload/kup-file-upload.js +181 -25
- package/dist/collection/components/kup-form/kup-form.js +2 -2
- package/dist/collection/components/kup-htm/kup-htm.js +1 -1
- package/dist/collection/components/kup-image-list/kup-image-list.js +3 -3
- package/dist/collection/components/kup-input-panel/kup-input-panel.js +182 -22
- package/dist/collection/components/kup-lazy/kup-lazy.js +11 -11
- package/dist/collection/components/kup-magic-box/kup-magic-box.js +3 -3
- package/dist/collection/components/kup-nav-bar/kup-nav-bar.js +1 -1
- package/dist/collection/components/kup-numeric-picker/kup-numeric-picker.js +1 -1
- package/dist/collection/components/kup-object-field/kup-object-field.js +1 -1
- package/dist/collection/components/kup-pdf/kup-pdf.js +1 -1
- 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/f-components/f-cell/f-cell.js +13 -7
- package/dist/collection/f-components/f-paginator/f-paginator.js +1 -1
- package/dist/collection/f-components/f-radio/f-radio.js +3 -1
- package/dist/collection/f-components/f-text-field/f-text-field.js +1 -4
- package/dist/collection/utils/cell-utils.js +2 -7
- 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 +7 -4
- 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-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 +3 -3
- 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 +166 -26
- package/dist/components/kup-lazy.js +13 -13
- package/dist/components/kup-list.js +1 -1
- package/dist/components/kup-magic-box.js +7 -7
- package/dist/components/kup-nav-bar.js +3 -3
- package/dist/components/kup-numeric-picker.js +3 -3
- package/dist/components/kup-object-field.js +3 -3
- package/dist/components/kup-pdf.js +3 -3
- package/dist/components/kup-planner-renderer.js +1 -1
- package/dist/components/kup-planner.js +17 -17
- 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-b45eb398.js → p-0448c650.js} +13 -13
- package/dist/components/{p-7aa9d49d.js → p-072ba014.js} +7 -7
- package/dist/components/{p-28f24feb.js → p-09e09e43.js} +15 -15
- package/dist/components/{p-af0a6cfe.js → p-47eafd24.js} +2 -2
- package/dist/components/{p-33cf89e0.js → p-57069e5c.js} +1 -1
- package/dist/components/{p-c061deb1.js → p-66800070.js} +166 -101
- package/dist/components/{p-28774fba.js → p-73b82fab.js} +4 -4
- package/dist/components/{p-57a120a5.js → p-78086e86.js} +1 -1
- package/dist/components/{p-46ec5845.js → p-7b80651f.js} +1 -1
- package/dist/components/{p-34ed7a73.js → p-7fa7072d.js} +2 -2
- package/dist/components/{p-b87bd975.js → p-96d517a7.js} +5 -5
- package/dist/components/{p-df77b97b.js → p-970526a0.js} +6 -10
- package/dist/components/{p-daa07bb7.js → p-9c59685c.js} +1 -1
- package/dist/components/{p-ae3013bd.js → p-a266fbc3.js} +2 -2
- package/dist/components/{p-5db0bb55.js → p-a6da9edf.js} +2 -2
- package/dist/components/{p-edac29ad.js → p-a70b7f3e.js} +2 -2
- package/dist/components/{p-394a36af.js → p-bba3ee8c.js} +3 -3
- package/dist/components/{p-398198d3.js → p-e8d7edaf.js} +49 -7
- package/dist/components/{p-5e31c839.js → p-eee85021.js} +2 -2
- package/dist/components/{p-d3a8c2ba.js → p-f836c3ed.js} +2 -2
- package/dist/esm/{f-cell-d72f5a9c.js → f-cell-3f9d4de0.js} +21 -13
- package/dist/esm/{f-chip-663db488.js → f-chip-28fde4c9.js} +1 -1
- package/dist/esm/{f-object-field-afe7604f.js → f-object-field-24f67438.js} +2 -2
- package/dist/esm/{f-paginator-utils-b6924c55.js → f-paginator-utils-3e2a0dcd.js} +9 -7
- package/dist/esm/{f-text-field-40f1ad00.js → f-text-field-f64cc53e.js} +2 -5
- 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_30.entry.js +131 -83
- package/dist/esm/kup-box.entry.js +7 -7
- package/dist/esm/kup-calendar.entry.js +7 -4
- package/dist/esm/kup-card-list.entry.js +1 -1
- package/dist/esm/kup-cell.entry.js +5 -5
- package/dist/esm/kup-custom-task-list-header_4.entry.js +7 -7
- package/dist/esm/kup-dashboard.entry.js +2 -2
- package/dist/esm/{kup-data-table-helper-8f020338.js → kup-data-table-helper-edbee21a.js} +3 -3
- package/dist/esm/kup-drawer.entry.js +1 -1
- package/dist/esm/kup-echart.entry.js +48 -6
- package/dist/esm/kup-editor.entry.js +1 -1
- package/dist/esm/kup-family-tree.entry.js +1 -1
- package/dist/esm/kup-gantt_10.entry.js +23 -23
- package/dist/esm/kup-grid.entry.js +1 -1
- package/dist/esm/kup-htm.entry.js +2 -2
- package/dist/esm/kup-iframe.entry.js +1 -1
- package/dist/esm/kup-input-panel.entry.js +168 -28
- package/dist/esm/kup-lazy.entry.js +12 -12
- package/dist/esm/kup-magic-box.entry.js +4 -4
- package/dist/esm/{kup-manager-b367be3b.js → kup-manager-7acd779a.js} +6 -10
- 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-pdf.entry.js +2 -2
- package/dist/esm/kup-planner-renderer.entry.js +2 -2
- package/dist/esm/kup-planner.entry.js +3 -3
- package/dist/esm/kup-probe.entry.js +2 -2
- package/dist/esm/kup-qlik.entry.js +2 -2
- package/dist/esm/kup-snackbar.entry.js +2 -2
- package/dist/esm/kup-txt.entry.js +2 -2
- package/dist/esm/kup-typography-list.entry.js +2 -2
- package/dist/esm/kup-typography.entry.js +3 -3
- 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-8bc2888a.entry.js → p-001bf9b3.entry.js} +1 -1
- package/dist/ketchup/p-003617f2.entry.js +1 -0
- package/dist/ketchup/{p-17b25b3d.entry.js → p-00e3a2c7.entry.js} +1 -1
- package/dist/ketchup/{p-ebf955a8.entry.js → p-05da127e.entry.js} +1 -1
- package/dist/ketchup/{p-4735c623.entry.js → p-0a4869d8.entry.js} +1 -1
- package/dist/ketchup/{p-fac09a35.entry.js → p-0f3e905b.entry.js} +1 -1
- package/dist/ketchup/{p-b0550f15.entry.js → p-0f78bd11.entry.js} +2 -2
- package/dist/ketchup/p-216b5deb.js +1 -0
- package/dist/ketchup/p-3823781f.entry.js +1 -0
- package/dist/ketchup/{p-def6d8b4.entry.js → p-39ab2443.entry.js} +1 -1
- package/dist/ketchup/{p-b9350213.entry.js → p-4e8d34ad.entry.js} +1 -1
- package/dist/ketchup/{p-75deebdb.entry.js → p-561db8b0.entry.js} +1 -1
- package/dist/ketchup/{p-c2531d28.entry.js → p-5c538668.entry.js} +1 -1
- package/dist/ketchup/{p-9ff4c3e5.entry.js → p-5cdbe34b.entry.js} +1 -1
- package/dist/ketchup/p-607b56b3.entry.js +8 -0
- package/dist/ketchup/{p-f2bfb53c.entry.js → p-60c3a948.entry.js} +1 -1
- package/dist/ketchup/{p-62edfd5a.entry.js → p-6429a3bc.entry.js} +1 -1
- package/dist/ketchup/{p-d696e519.js → p-84a053a8.js} +1 -1
- package/dist/ketchup/{p-c0928fec.entry.js → p-864d384f.entry.js} +1 -1
- package/dist/ketchup/{p-43bfca60.entry.js → p-90345661.entry.js} +2 -2
- package/dist/ketchup/{p-928adf93.entry.js → p-91184407.entry.js} +1 -1
- package/dist/ketchup/{p-5bf264dd.entry.js → p-92d5502a.entry.js} +1 -1
- package/dist/ketchup/{p-ec1129bf.entry.js → p-9432bc02.entry.js} +1 -1
- package/dist/ketchup/{p-6e6d3296.entry.js → p-9667a3f6.entry.js} +1 -1
- package/dist/ketchup/{p-26a20d81.entry.js → p-98865092.entry.js} +1 -1
- package/dist/ketchup/{p-4c8edfb1.entry.js → p-a5589352.entry.js} +1 -1
- package/dist/ketchup/{p-6b185239.entry.js → p-ab5dcfce.entry.js} +1 -1
- package/dist/ketchup/p-b7b54a12.js +1 -0
- package/dist/ketchup/{p-32ced542.entry.js → p-bbdc671b.entry.js} +1 -1
- package/dist/ketchup/p-c00b4f52.js +1 -0
- package/dist/ketchup/p-c38d19f9.js +1 -0
- package/dist/ketchup/{p-26206b66.entry.js → p-cb4c3ec6.entry.js} +1 -1
- package/dist/ketchup/{p-9c13c092.entry.js → p-d643a6b0.entry.js} +1 -1
- package/dist/ketchup/{p-0666ba27.entry.js → p-d7bfb6da.entry.js} +2 -2
- package/dist/ketchup/{p-51cc836a.js → p-e3098793.js} +1 -1
- package/dist/ketchup/p-ebcd12d5.js +1 -0
- package/dist/ketchup/{p-941beedb.entry.js → p-ebcf33a3.entry.js} +1 -1
- package/dist/ketchup/{p-006b5782.entry.js → p-ee752492.entry.js} +1 -1
- package/dist/ketchup/{p-4af4b7d3.entry.js → p-f446a5dd.entry.js} +1 -1
- package/dist/types/components/kup-data-table/kup-data-table-declarations.d.ts +2 -1
- package/dist/types/components/kup-file-upload/kup-file-upload-declarations.d.ts +6 -1
- package/dist/types/components/kup-file-upload/kup-file-upload.d.ts +31 -5
- package/dist/types/components/kup-input-panel/kup-input-panel.d.ts +2 -1
- package/dist/types/components.d.ts +55 -11
- package/dist/types/f-components/f-radio/f-radio-declarations.d.ts +1 -0
- package/dist/types/utils/cell-utils.d.ts +3 -1
- package/package.json +4 -1
- package/dist/ketchup/p-058def11.entry.js +0 -1
- package/dist/ketchup/p-29c07479.entry.js +0 -8
- package/dist/ketchup/p-2e012afe.js +0 -1
- package/dist/ketchup/p-8be7a37f.js +0 -1
- package/dist/ketchup/p-b39c7a22.js +0 -1
- package/dist/ketchup/p-c109ce22.js +0 -1
- package/dist/ketchup/p-d49f1a0d.js +0 -1
- package/dist/ketchup/p-eb771c1b.entry.js +0 -1
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
2
|
import { F as FButton } from './f-button-3c8f4506.js';
|
|
3
|
-
import { F as FCell, e as FLabel } from './f-cell-
|
|
4
|
-
import { F as FCellShapes, k as kupManagerInstance, ad as FCellTypes, g as getProps, s as setProps, b as KupLanguageGeneric, ai as getCellValueForDisplay, a7 as UseAsValue, ao as CHIAdapter, al as CMBandACPAdapter, an as CHKAdapter, am as RADAdapter, ap as SWTAdapter, h as KupDebugCategory, V as KupPointerEventTypes } from './kup-manager-
|
|
3
|
+
import { F as FCell, e as FLabel } from './f-cell-3f9d4de0.js';
|
|
4
|
+
import { F as FCellShapes, k as kupManagerInstance, ad as FCellTypes, g as getProps, s as setProps, b as KupLanguageGeneric, ai as getCellValueForDisplay, a7 as UseAsValue, ao as CHIAdapter, al as CMBandACPAdapter, an as CHKAdapter, am as RADAdapter, ap as SWTAdapter, h as KupDebugCategory, V as KupPointerEventTypes } from './kup-manager-7acd779a.js';
|
|
5
5
|
import { F as FTextFieldMDC } from './f-text-field-mdc-81ce6c7c.js';
|
|
6
6
|
import { F as FTypography, a as FTypographyType } from './f-typography-8c914ec6.js';
|
|
7
7
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
8
8
|
import './f-button-declarations-6c8f8abe.js';
|
|
9
9
|
import './f-image-a2ecd7c3.js';
|
|
10
10
|
import './f-checkbox-5cdd1cad.js';
|
|
11
|
-
import './f-chip-
|
|
12
|
-
import './f-object-field-
|
|
13
|
-
import './f-text-field-
|
|
11
|
+
import './f-chip-28fde4c9.js';
|
|
12
|
+
import './f-object-field-24f67438.js';
|
|
13
|
+
import './f-text-field-f64cc53e.js';
|
|
14
14
|
import './kup-dates-77f1a451.js';
|
|
15
15
|
import './component-a35bc7f1.js';
|
|
16
16
|
|
|
@@ -186,7 +186,7 @@ var __rest = (undefined && undefined.__rest) || function (s, e) {
|
|
|
186
186
|
}
|
|
187
187
|
return t;
|
|
188
188
|
};
|
|
189
|
-
var _KupInputPanel_instances, _KupInputPanel_kupManager, _KupInputPanel_formRef, _KupInputPanel_optionsAdapterMap, _KupInputPanel_originalData, _KupInputPanel_listeners, _KupInputPanel_cellTypeComponents, _KupInputPanel_cellTypesNeedingReset, _KupInputPanel_cellCustomRender, _KupInputPanel_sectionRenderMap, _KupInputPanel_readyPromise, _KupInputPanel_readyResolve, _KupInputPanel_getCell, _KupInputPanel_renderRow, _KupInputPanel_renderCell, _KupInputPanel_renderButton, _KupInputPanel_renderDropDownButton, _KupInputPanel_renderDataTable, _KupInputPanel_renderLabel, _KupInputPanel_getLabelComponent, _KupInputPanel_renderGridLayout, _KupInputPanel_renderAbsoluteLayout, _KupInputPanel_renderSection, _KupInputPanel_renderAbsoluteSection, _KupInputPanel_extractContentIds, _KupInputPanel_renderSectionTab, _KupInputPanel_skipRenderField, _KupInputPanel_renderField, _KupInputPanel_renderAbsoluteField, _KupInputPanel_mapCommands, _KupInputPanel_mapCells, _KupInputPanel_setData, _KupInputPanel_deepObjectsMerge, _KupInputPanel_reverseMapCells, _KupInputPanel_mapData, _KupInputPanel_slotData, _KupInputPanel_CHIAdapter, _KupInputPanel_GRAAdapter, _KupInputPanel_BTNAdapter, _KupInputPanel_CMBandACPAdapter, _KupInputPanel_getOptionHandler, _KupInputPanel_CHKAdapter, _KupInputPanel_CLPAdapter, _KupInputPanel_EDTAdapter, _KupInputPanel_ITXAdapter, _KupInputPanel_RADAdapter, _KupInputPanel_SWTAdapter, _KupInputPanel_DateAdapter, _KupInputPanel_ObjectAdapter, _KupInputPanel_ImageListAdapter, _KupInputPanel_TimeAdapter, _KupInputPanel_NumberAdapter, _KupInputPanel_DataTableAdapter, _KupInputPanel_getTableUpdatedCell, _KupInputPanel_optionsTreeComboAdapter, _KupInputPanel_treeOptionsNodeAdapter, _KupInputPanel_dataTreeOptionsChildrenAdapter,
|
|
189
|
+
var _KupInputPanel_instances, _KupInputPanel_kupManager, _KupInputPanel_formRef, _KupInputPanel_optionsAdapterMap, _KupInputPanel_originalData, _KupInputPanel_listeners, _KupInputPanel_cellTypeComponents, _KupInputPanel_cellTypesNeedingReset, _KupInputPanel_cellCustomRender, _KupInputPanel_sectionRenderMap, _KupInputPanel_readyPromise, _KupInputPanel_readyResolve, _KupInputPanel_getCell, _KupInputPanel_renderRow, _KupInputPanel_renderCell, _KupInputPanel_renderButton, _KupInputPanel_renderDropDownButton, _KupInputPanel_renderDataTable, _KupInputPanel_renderLabel, _KupInputPanel_getLabelComponent, _KupInputPanel_renderGridLayout, _KupInputPanel_renderAbsoluteLayout, _KupInputPanel_renderSection, _KupInputPanel_renderAbsoluteSection, _KupInputPanel_extractContentIds, _KupInputPanel_renderSectionTab, _KupInputPanel_skipRenderField, _KupInputPanel_renderField, _KupInputPanel_renderAbsoluteField, _KupInputPanel_mapCommands, _KupInputPanel_mapCells, _KupInputPanel_setData, _KupInputPanel_deepObjectsMerge, _KupInputPanel_reverseMapCells, _KupInputPanel_mapData, _KupInputPanel_slotData, _KupInputPanel_CHIAdapter, _KupInputPanel_GRAAdapter, _KupInputPanel_BTNAdapter, _KupInputPanel_CMBandACPAdapter, _KupInputPanel_getOptionHandler, _KupInputPanel_isFCellEventPayload, _KupInputPanel_CHKAdapter, _KupInputPanel_CLPAdapter, _KupInputPanel_EDTAdapter, _KupInputPanel_ITXAdapter, _KupInputPanel_RADAdapter, _KupInputPanel_SWTAdapter, _KupInputPanel_DateAdapter, _KupInputPanel_ObjectAdapter, _KupInputPanel_ImageListAdapter, _KupInputPanel_FileUploadAdapter, _KupInputPanel_TimeAdapter, _KupInputPanel_NumberAdapter, _KupInputPanel_DataTableAdapter, _KupInputPanel_getTableUpdatedCell, _KupInputPanel_optionsTreeComboAdapter, _KupInputPanel_treeOptionsNodeAdapter, _KupInputPanel_dataTreeOptionsChildrenAdapter, _KupInputPanel_tableCMBandACPOptionsAdapter, _KupInputPanel_commandAdapter, _KupInputPanel_getAutocompleteEventCallback, _KupInputPanel_getTblAutocompleteEventCallback, _KupInputPanel_manageTblItemClick, _KupInputPanel_manageInputPanelCheck, _KupInputPanel_onCellUpdate, _KupInputPanel_setCellError, _KupInputPanel_areValuesUpdated, _KupInputPanel_getFunctionOnClickBTN, _KupInputPanel_findTraversedFCell, _KupInputPanel_getEventDetails, _KupInputPanel_didLoadInteractables, _KupInputPanel_setFocusOnInputElement, _KupInputPanel_findFirstInput, _KupInputPanel_setAutoSkip, _KupInputPanel_upload;
|
|
190
190
|
const dom = document.documentElement;
|
|
191
191
|
const KupInputPanel = class {
|
|
192
192
|
constructor(hostRef) {
|
|
@@ -196,6 +196,7 @@ const KupInputPanel = class {
|
|
|
196
196
|
this.kupInputPanelObjectFieldSearchPayload = createEvent(this, "kup-inputpanel-objectfield-searchpayload", 6);
|
|
197
197
|
this.kupInputPanelObjectFieldOpenSearchMenu = createEvent(this, "kup-inputpanel-objectfield-opensearchmenu", 6);
|
|
198
198
|
this.kupInputPanelObjectFieldSelectedMenuItem = createEvent(this, "kup-inputpanel-objectfield-selectedmenuitem", 6);
|
|
199
|
+
this.kupCellUpload = createEvent(this, "kup-inputpanel-upload", 6);
|
|
199
200
|
_KupInputPanel_instances.add(this);
|
|
200
201
|
//#endregion
|
|
201
202
|
//#region VARIABLES
|
|
@@ -206,10 +207,10 @@ const KupInputPanel = class {
|
|
|
206
207
|
_KupInputPanel_formRef.set(this, void 0);
|
|
207
208
|
_KupInputPanel_optionsAdapterMap.set(this, new Map([
|
|
208
209
|
['SmeupDataTree', __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_dataTreeOptionsChildrenAdapter).bind(this)],
|
|
209
|
-
['SmeupDataTable', __classPrivateFieldGet(this, _KupInputPanel_instances, "m",
|
|
210
|
+
['SmeupDataTable', __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_tableCMBandACPOptionsAdapter).bind(this)],
|
|
210
211
|
//FIXME: deprecated
|
|
211
212
|
['SmeupTreeNode', __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_treeOptionsNodeAdapter).bind(this)],
|
|
212
|
-
['SmeupTable', __classPrivateFieldGet(this, _KupInputPanel_instances, "m",
|
|
213
|
+
['SmeupTable', __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_tableCMBandACPOptionsAdapter).bind(this)],
|
|
213
214
|
]));
|
|
214
215
|
_KupInputPanel_originalData.set(this, null);
|
|
215
216
|
_KupInputPanel_listeners.set(this, []);
|
|
@@ -397,15 +398,17 @@ const KupInputPanel = class {
|
|
|
397
398
|
h("p", null, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.EMPTY_DATA)),
|
|
398
399
|
]
|
|
399
400
|
: this.inputPanelCells.map((inputPanelCell) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_renderRow).call(this, inputPanelCell));
|
|
400
|
-
return (h(Host, { key: '
|
|
401
|
+
return (h(Host, { key: '41506c3d7a6888eeeda1dd5c300f36673b366510', "onKup-cell-blur": (e) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_manageInputPanelCheck).call(this, e, CheckTriggeringEvents.BLUR), "onKup-cell-update": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_onCellUpdate).bind(this), "onKup-tabbar-click": (e) => {
|
|
401
402
|
this.tabSelected = e.detail.node.id;
|
|
402
|
-
}, "onKup-autocomplete-input": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getOptionHandler).bind(this), "onKup-autocomplete-iconclick": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getOptionHandler).bind(this), "onKup-combobox-iconclick": (e) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getOptionHandler).call(this, e, true), "onKup-cell-itemclick": (e) =>
|
|
403
|
+
}, "onKup-autocomplete-input": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getOptionHandler).bind(this), "onKup-autocomplete-iconclick": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getOptionHandler).bind(this), "onKup-combobox-iconclick": (e) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getOptionHandler).call(this, e, true), "onKup-cell-itemclick": (e) => {
|
|
404
|
+
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_manageInputPanelCheck).call(this, e, CheckTriggeringEvents.ITEMCLICK);
|
|
405
|
+
}, "onKup-objectfield-searchpayload": (e) => {
|
|
403
406
|
this.kupInputPanelObjectFieldSearchPayload.emit(e.detail);
|
|
404
407
|
}, "onKup-objectfield-opensearchmenu": (e) => {
|
|
405
408
|
this.kupInputPanelObjectFieldOpenSearchMenu.emit(e.detail);
|
|
406
409
|
}, "onKup-objectfield-selectedmenuitem": (e) => {
|
|
407
410
|
this.kupInputPanelObjectFieldSelectedMenuItem.emit(e.detail);
|
|
408
|
-
} }, h("style", { key: '
|
|
411
|
+
}, "onKup-file-upload-upload": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_upload).bind(this) }, h("style", { key: '2b875bc91534289b075e8fac561d2eaeb5b732d1' }, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: 'ecfbac6227c007eadf2e63c2d936d72e7c132936', id: componentWrapperId }, inputPanelContent)));
|
|
409
412
|
}
|
|
410
413
|
disconnectedCallback() {
|
|
411
414
|
__classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.unregister(this);
|
|
@@ -540,7 +543,36 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
540
543
|
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getFunctionOnClickBTN).call(this, e.detail.node, e.detail.node.id);
|
|
541
544
|
} })));
|
|
542
545
|
}, _KupInputPanel_renderDataTable = function _KupInputPanel_renderDataTable(cell, { name }) {
|
|
543
|
-
|
|
546
|
+
for (const row of cell.data.data.rows) {
|
|
547
|
+
for (const cellName of Object.keys(row.cells)) {
|
|
548
|
+
const cell = row.cells[cellName];
|
|
549
|
+
if (cell.shape === FCellShapes.AUTOCOMPLETE) {
|
|
550
|
+
cell.data['displayMode'] = 'CodeOnly';
|
|
551
|
+
cell.data['selectMode'] = 'CodeOnly';
|
|
552
|
+
}
|
|
553
|
+
}
|
|
554
|
+
}
|
|
555
|
+
return (h("kup-data-table", Object.assign({ id: name, editableData: true, showGroups: true, showFilters: true }, cell.data, { "onKup-autocomplete-iconclick": (e) => {
|
|
556
|
+
e.preventDefault();
|
|
557
|
+
e.stopPropagation();
|
|
558
|
+
}, "onKup-autocomplete-input": (e) => {
|
|
559
|
+
e.preventDefault();
|
|
560
|
+
e.stopPropagation();
|
|
561
|
+
}, "onKup-datatable-cell-iconclick": (e) => {
|
|
562
|
+
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getOptionHandler).call(this, e);
|
|
563
|
+
e.preventDefault();
|
|
564
|
+
e.stopPropagation();
|
|
565
|
+
}, "onKup-datatable-cell-input": (e) => {
|
|
566
|
+
if (e.detail.type === 'autocomplete') {
|
|
567
|
+
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getOptionHandler).call(this, e);
|
|
568
|
+
}
|
|
569
|
+
e.preventDefault();
|
|
570
|
+
e.stopPropagation();
|
|
571
|
+
}, "onKup-cell-itemclick": (e) => {
|
|
572
|
+
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_manageTblItemClick).call(this, e);
|
|
573
|
+
e.preventDefault();
|
|
574
|
+
e.stopPropagation();
|
|
575
|
+
} })));
|
|
544
576
|
}, _KupInputPanel_renderLabel = function _KupInputPanel_renderLabel(cell, column, isAbsoluteLayout) {
|
|
545
577
|
const isNumberType = dom.ketchup.objects.isNumber(cell.obj);
|
|
546
578
|
const isFormattableType = isNumberType ||
|
|
@@ -793,11 +825,8 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
793
825
|
.flat();
|
|
794
826
|
}, _KupInputPanel_mapCells = function _KupInputPanel_mapCells(data) {
|
|
795
827
|
var _a, _b, _c, _d;
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
}
|
|
799
|
-
const layout = (_c = data === null || data === void 0 ? void 0 : data.rows[0]) === null || _c === void 0 ? void 0 : _c.layout;
|
|
800
|
-
const inpuPanelCells = ((_d = data === null || data === void 0 ? void 0 : data.rows) === null || _d === void 0 ? void 0 : _d.length)
|
|
828
|
+
const layout = (_a = data === null || data === void 0 ? void 0 : data.rows[0]) === null || _a === void 0 ? void 0 : _a.layout;
|
|
829
|
+
const inpuPanelCells = ((_b = data === null || data === void 0 ? void 0 : data.rows) === null || _b === void 0 ? void 0 : _b.length)
|
|
801
830
|
? data.rows.reduce((inpuPanelCells, row) => {
|
|
802
831
|
const cells = data.columns.map((column) => {
|
|
803
832
|
const cell = structuredClone(row.cells[column.name]);
|
|
@@ -821,6 +850,9 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
821
850
|
queryCompNeedsReset ? el === null || el === void 0 ? void 0 : el.reset() : (_a = el === null || el === void 0 ? void 0 : el.setValue) === null || _a === void 0 ? void 0 : _a.call(el, cell.value);
|
|
822
851
|
}));
|
|
823
852
|
this.inputPanelCells = inpuPanelCells;
|
|
853
|
+
if ((_d = (_c = data.setup) === null || _c === void 0 ? void 0 : _c.commands) === null || _d === void 0 ? void 0 : _d.length) {
|
|
854
|
+
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_mapCommands).call(this);
|
|
855
|
+
}
|
|
824
856
|
}, _KupInputPanel_setData = function _KupInputPanel_setData(cell, column, layout) {
|
|
825
857
|
const defaultProps = Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_mapData).call(this, cell, column, layout)), { disabled: !cell.isEditable || column.useAs === UseAsValue.KEY, id: column.name });
|
|
826
858
|
const cellType = dom.ketchup.data.cell.getType(cell, cell.shape);
|
|
@@ -904,6 +936,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
904
936
|
[FCellTypes.TABLE, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_DataTableAdapter).bind(this)],
|
|
905
937
|
[FCellTypes.TIME, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_TimeAdapter).bind(this)],
|
|
906
938
|
[FCellTypes.IMAGE_LIST, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_ImageListAdapter).bind(this)],
|
|
939
|
+
[FCellTypes.FILE_UPLOAD, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_FileUploadAdapter).bind(this)],
|
|
907
940
|
]);
|
|
908
941
|
const adapter = dataAdapterMap.get(cellType);
|
|
909
942
|
return adapter
|
|
@@ -941,27 +974,45 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
941
974
|
},
|
|
942
975
|
};
|
|
943
976
|
}, _KupInputPanel_BTNAdapter = function _KupInputPanel_BTNAdapter(_options, _fieldLabel, _currentValue, cell, id) {
|
|
977
|
+
var _a, _b;
|
|
944
978
|
cell.data = cell.data || {};
|
|
945
979
|
cell.data.onClick = () => {
|
|
946
980
|
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getFunctionOnClickBTN).call(this, cell, id);
|
|
947
981
|
};
|
|
982
|
+
if (cell.data.BtnMap) {
|
|
983
|
+
const concurrentCommand = (_b = (_a = this.data.setup) === null || _a === void 0 ? void 0 : _a.commands) === null || _b === void 0 ? void 0 : _b.find((command) => command.obj.k === cell.data.BtnMap);
|
|
984
|
+
if (concurrentCommand) {
|
|
985
|
+
cell.isEditable = true;
|
|
986
|
+
cell.data.onClick = () => {
|
|
987
|
+
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getFunctionOnClickBTN).call(this, cell, concurrentCommand.obj.k);
|
|
988
|
+
};
|
|
989
|
+
this.data.setup.commands = this.data.setup.commands.filter((command) => command.obj.k !== concurrentCommand.obj.k);
|
|
990
|
+
}
|
|
991
|
+
}
|
|
948
992
|
return Object.assign({ label: cell.value, fun: cell.fun }, cell.data);
|
|
949
993
|
}, _KupInputPanel_CMBandACPAdapter = function _KupInputPanel_CMBandACPAdapter(rawOptions, fieldLabel, currentValue, cell) {
|
|
950
|
-
const configCMandACP = CMBandACPAdapter(currentValue, fieldLabel, []);
|
|
994
|
+
const configCMandACP = CMBandACPAdapter(currentValue, fieldLabel, [], cell.data);
|
|
951
995
|
if (rawOptions) {
|
|
952
996
|
configCMandACP.data['kup-list'].data =
|
|
953
997
|
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_optionsTreeComboAdapter).call(this, rawOptions, currentValue);
|
|
954
998
|
}
|
|
955
999
|
return configCMandACP;
|
|
956
|
-
}, _KupInputPanel_getOptionHandler = function _KupInputPanel_getOptionHandler({ detail }, checkList = false) {
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
if (checkList) {
|
|
960
|
-
triggerCallback = !detail.comp.data['kup-list'].data.length;
|
|
1000
|
+
}, _KupInputPanel_getOptionHandler = function _KupInputPanel_getOptionHandler({ detail, }, checkList = false) {
|
|
1001
|
+
if (__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_isFCellEventPayload).call(this, detail)) {
|
|
1002
|
+
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getTblAutocompleteEventCallback).call(this, detail);
|
|
961
1003
|
}
|
|
962
|
-
|
|
963
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m",
|
|
1004
|
+
else {
|
|
1005
|
+
const cell = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getCell).call(this, detail.id);
|
|
1006
|
+
let triggerCallback = true;
|
|
1007
|
+
if (checkList) {
|
|
1008
|
+
triggerCallback = !detail.comp.data['kup-list'].data.length;
|
|
1009
|
+
}
|
|
1010
|
+
if (cell.fun && triggerCallback) {
|
|
1011
|
+
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getAutocompleteEventCallback).call(this, detail, cell);
|
|
1012
|
+
}
|
|
964
1013
|
}
|
|
1014
|
+
}, _KupInputPanel_isFCellEventPayload = function _KupInputPanel_isFCellEventPayload(detail) {
|
|
1015
|
+
return detail.cell ? true : false;
|
|
965
1016
|
}, _KupInputPanel_CHKAdapter = function _KupInputPanel_CHKAdapter(_options, fieldLabel, currentValue) {
|
|
966
1017
|
return CHKAdapter(currentValue, fieldLabel);
|
|
967
1018
|
}, _KupInputPanel_CLPAdapter = function _KupInputPanel_CLPAdapter(_options, fieldLabel, _currentValue) {
|
|
@@ -985,8 +1036,28 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
985
1036
|
};
|
|
986
1037
|
}
|
|
987
1038
|
return data;
|
|
988
|
-
}, _KupInputPanel_RADAdapter = function _KupInputPanel_RADAdapter(
|
|
989
|
-
|
|
1039
|
+
}, _KupInputPanel_RADAdapter = function _KupInputPanel_RADAdapter(_options, _fieldLabel, currentValue, cell) {
|
|
1040
|
+
const getOptions = () => {
|
|
1041
|
+
var _a;
|
|
1042
|
+
if (cell.data.data) {
|
|
1043
|
+
return (_a = cell.data.data.rows) === null || _a === void 0 ? void 0 : _a.map((row) => {
|
|
1044
|
+
const cells = row.fields || row.cells;
|
|
1045
|
+
const [id, value] = Object.keys(cells);
|
|
1046
|
+
return {
|
|
1047
|
+
id: cells[id].value,
|
|
1048
|
+
label: value ? cells[value].value : cells[id].value,
|
|
1049
|
+
selected: currentValue === cells[id].value,
|
|
1050
|
+
};
|
|
1051
|
+
});
|
|
1052
|
+
}
|
|
1053
|
+
return undefined;
|
|
1054
|
+
};
|
|
1055
|
+
const options = getOptions();
|
|
1056
|
+
const newData = RADAdapter(currentValue, options);
|
|
1057
|
+
if (options) {
|
|
1058
|
+
return newData;
|
|
1059
|
+
}
|
|
1060
|
+
return cell.data;
|
|
990
1061
|
}, _KupInputPanel_SWTAdapter = function _KupInputPanel_SWTAdapter(_options, fieldLabel, currentValue) {
|
|
991
1062
|
return SWTAdapter(currentValue, fieldLabel);
|
|
992
1063
|
}, _KupInputPanel_DateAdapter = function _KupInputPanel_DateAdapter(_options, fieldLabel, currentValue) {
|
|
@@ -1010,6 +1081,8 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
1010
1081
|
leadingLabel: fieldLabel || '',
|
|
1011
1082
|
value: currentValue || '',
|
|
1012
1083
|
};
|
|
1084
|
+
}, _KupInputPanel_FileUploadAdapter = function _KupInputPanel_FileUploadAdapter(_options, _fieldLabel, currentValue, cell) {
|
|
1085
|
+
return Object.assign({ pathString: currentValue }, cell.data);
|
|
1013
1086
|
}, _KupInputPanel_TimeAdapter = function _KupInputPanel_TimeAdapter(_options, fieldLabel, currentValue) {
|
|
1014
1087
|
return {
|
|
1015
1088
|
data: {
|
|
@@ -1116,7 +1189,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
1116
1189
|
: [],
|
|
1117
1190
|
});
|
|
1118
1191
|
});
|
|
1119
|
-
},
|
|
1192
|
+
}, _KupInputPanel_tableCMBandACPOptionsAdapter = function _KupInputPanel_tableCMBandACPOptionsAdapter(options, currentValue) {
|
|
1120
1193
|
return options.rows.map((row) => {
|
|
1121
1194
|
const cells = row.fields || row.cells;
|
|
1122
1195
|
const [id, value] = Object.keys(cells);
|
|
@@ -1158,6 +1231,70 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
1158
1231
|
}
|
|
1159
1232
|
detail.comp.refresh();
|
|
1160
1233
|
});
|
|
1234
|
+
}, _KupInputPanel_getTblAutocompleteEventCallback = function _KupInputPanel_getTblAutocompleteEventCallback(detail) {
|
|
1235
|
+
// Destructure frequently used properties
|
|
1236
|
+
const { cell, row, column, comp, id, event } = detail;
|
|
1237
|
+
const cellValue = cell === null || cell === void 0 ? void 0 : cell.value;
|
|
1238
|
+
const autocompleteEventDetail = detail.event.detail;
|
|
1239
|
+
try {
|
|
1240
|
+
this.optionsHandler(cell['fun'], autocompleteEventDetail.inputValue, { columns: comp.data.columns, rows: [row] }, column.name).then((options) => {
|
|
1241
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
1242
|
+
// Filter visible columns
|
|
1243
|
+
if (options) {
|
|
1244
|
+
const visibleColumns = ((_a = options === null || options === void 0 ? void 0 : options.columns) !== null && _a !== void 0 ? _a : [])
|
|
1245
|
+
.filter((col) => (col === null || col === void 0 ? void 0 : col.visible) !== false)
|
|
1246
|
+
.map((col) => col.name);
|
|
1247
|
+
// Filter rows to only include visible columns
|
|
1248
|
+
const filteredRows = (_c = (_b = options === null || options === void 0 ? void 0 : options.rows) === null || _b === void 0 ? void 0 : _b.map((rowData) => {
|
|
1249
|
+
const visibleCells = visibleColumns.reduce((acc, colName) => {
|
|
1250
|
+
if (rowData.cells[colName]) {
|
|
1251
|
+
acc[colName] = rowData.cells[colName];
|
|
1252
|
+
}
|
|
1253
|
+
return acc;
|
|
1254
|
+
}, {});
|
|
1255
|
+
return Object.assign(Object.assign({}, rowData), { cells: visibleCells });
|
|
1256
|
+
})) !== null && _c !== void 0 ? _c : [];
|
|
1257
|
+
// Prepare the final options with filtered data
|
|
1258
|
+
const visibleColumnsOptions = Object.assign(Object.assign({}, options), { rows: filteredRows });
|
|
1259
|
+
// Get and update table data
|
|
1260
|
+
const tableData = comp.data;
|
|
1261
|
+
const targetCell = tableData.rows[row.id].cells[column.name];
|
|
1262
|
+
// Initialize cell data structure if needed
|
|
1263
|
+
if (!((_e = (_d = targetCell.data) === null || _d === void 0 ? void 0 : _d.data) === null || _e === void 0 ? void 0 : _e['kup-list'])) {
|
|
1264
|
+
targetCell.data = {
|
|
1265
|
+
data: {
|
|
1266
|
+
'kup-list': {},
|
|
1267
|
+
'kup-text-field': Object.assign({}, targetCell.data),
|
|
1268
|
+
},
|
|
1269
|
+
};
|
|
1270
|
+
}
|
|
1271
|
+
// Update the autocomplete list data
|
|
1272
|
+
const kupListData = targetCell.data.data['kup-list'];
|
|
1273
|
+
kupListData.data = filteredRows.length
|
|
1274
|
+
? (_f = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_optionsTreeComboAdapter).call(this, visibleColumnsOptions, cellValue)) !== null && _f !== void 0 ? _f : []
|
|
1275
|
+
: [];
|
|
1276
|
+
kupListData.options = (_g = options.columns) !== null && _g !== void 0 ? _g : [];
|
|
1277
|
+
// Update the component data and refresh
|
|
1278
|
+
comp.data = tableData;
|
|
1279
|
+
this.data.rows[0].cells[id].value =
|
|
1280
|
+
JSON.stringify(tableData);
|
|
1281
|
+
// // Refresh components
|
|
1282
|
+
event.detail.comp.refresh();
|
|
1283
|
+
comp.refresh();
|
|
1284
|
+
}
|
|
1285
|
+
});
|
|
1286
|
+
}
|
|
1287
|
+
catch (error) {
|
|
1288
|
+
console.error('Error in autocomplete callback:', error);
|
|
1289
|
+
}
|
|
1290
|
+
}, _KupInputPanel_manageTblItemClick = function _KupInputPanel_manageTblItemClick(e) {
|
|
1291
|
+
const { cell, row, column, id, comp } = e.detail;
|
|
1292
|
+
const tableData = comp.data;
|
|
1293
|
+
tableData.rows[row.id].cells[column.name] = cell;
|
|
1294
|
+
comp.data = tableData;
|
|
1295
|
+
this.data.rows[0].cells[id].value = JSON.stringify(tableData);
|
|
1296
|
+
e.detail.event.detail.comp.refresh();
|
|
1297
|
+
comp.refresh();
|
|
1161
1298
|
}, _KupInputPanel_manageInputPanelCheck = async function _KupInputPanel_manageInputPanelCheck(e, eventType) {
|
|
1162
1299
|
var _a, _b, _c, _d, _e;
|
|
1163
1300
|
const { detail: { column, cell }, } = e;
|
|
@@ -1357,6 +1494,9 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
1357
1494
|
return;
|
|
1358
1495
|
}
|
|
1359
1496
|
(_b = inputElements[currentInputElementIndex + 1].HTMLInputElement) === null || _b === void 0 ? void 0 : _b.focus();
|
|
1497
|
+
}, _KupInputPanel_upload = function _KupInputPanel_upload(e) {
|
|
1498
|
+
e.stopPropagation();
|
|
1499
|
+
this.kupCellUpload.emit(e.detail);
|
|
1360
1500
|
};
|
|
1361
1501
|
KupInputPanel.style = KupInputPanelStyle0;
|
|
1362
1502
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps } from './kup-manager-7acd779a.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import './kup-dates-77f1a451.js';
|
|
5
5
|
|
|
@@ -134,39 +134,39 @@ const KupLazy = class {
|
|
|
134
134
|
switch (this.componentName) {
|
|
135
135
|
case 'kup-button':
|
|
136
136
|
//call_to_action.svg
|
|
137
|
-
resource = (h("svg", { key: '
|
|
137
|
+
resource = (h("svg", { key: '82d1c572d3d994d79f682a81484c140ca6cfd512', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: '5bef88d3b797414102e78e45a03c3b94c9f3255d', d: "M42 6H6c-2.2 0-4 1.8-4 4v28c0 2.2 1.8 4 4 4h36c2.2 0 4-1.8 4-4V10c0-2.2-1.8-4-4-4zm0 32H6v-6h36v6z" })));
|
|
138
138
|
break;
|
|
139
139
|
case 'kup-card':
|
|
140
140
|
//art_track.svg
|
|
141
|
-
resource = (h("svg", { key: '
|
|
141
|
+
resource = (h("svg", { key: '7513b2807db3c80a1bf40c06afcc9368e6fdb294', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: '5e527bd9fbcae6e3ee52e84a4fb67b476c154f10', d: "M44 26H28v-4h16v4zm0-12H28v4h16v-4zM28 34h16v-4H28v4zm-4-16v12c0 2.2-1.8 4-4 4H8c-2.2 0-4-1.8-4-4V18c0-2.2 1.8-4 4-4h12c2.2 0 4 1.8 4 4zm-3 12l-4.5-6-3.5 4.51-2.5-3.01L7 30h14z" })));
|
|
142
142
|
break;
|
|
143
143
|
case 'kup-checkbox':
|
|
144
144
|
//check_box_outline_blank.svg
|
|
145
|
-
resource = (h("svg", { key: '
|
|
145
|
+
resource = (h("svg", { key: '5475f432000e828ec98dcb4eadbf7112d7c20861', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: '954ddd01b7398bf0989d134a69254f448221bfb7', d: "M38 10v28H10V10h28m0-4H10c-2.21 0-4 1.79-4 4v28c0 2.21 1.79 4 4 4h28c2.21 0 4-1.79 4-4V10c0-2.21-1.79-4-4-4z" })));
|
|
146
146
|
break;
|
|
147
147
|
case 'kup-chart':
|
|
148
148
|
//chart-bar.svg
|
|
149
|
-
resource = (h("svg", { key: '
|
|
149
|
+
resource = (h("svg", { key: 'a42af94d1f6c0c5adab4eade6af3813ad05e7b63', xmlns: "http://www.w3.org/2000/svg", version: "1.1", width: "100%", height: "100%", viewBox: "0 0 24 24" }, h("path", { key: 'e296f6c9fffb236c8aad51403237745e03994e9e', d: "M22,21H2V3H4V19H6V10H10V19H12V6H16V19H18V14H22V21Z" })));
|
|
150
150
|
break;
|
|
151
151
|
case 'kup-data-table':
|
|
152
152
|
//table-large.svg
|
|
153
|
-
resource = (h("svg", { key: '
|
|
153
|
+
resource = (h("svg", { key: '6f755edd48a59c2857dc6d8935909faf648d9a03', xmlns: "http://www.w3.org/2000/svg", version: "1.1", width: "100%", height: "100%", viewBox: "0 0 24 24" }, h("path", { key: '6951d2f06986b335eea5bef530c7a4bf9aa311ab', d: "M4,3H20A2,2 0 0,1 22,5V20A2,2 0 0,1 20,22H4A2,2 0 0,1 2,20V5A2,2 0 0,1 4,3M4,7V10H8V7H4M10,7V10H14V7H10M20,10V7H16V10H20M4,12V15H8V12H4M4,20H8V17H4V20M10,12V15H14V12H10M10,20H14V17H10V20M20,20V17H16V20H20M20,12H16V15H20V12Z" })));
|
|
154
154
|
break;
|
|
155
155
|
case 'kup-image':
|
|
156
156
|
//photo.svg
|
|
157
|
-
resource = (h("svg", { key: '
|
|
157
|
+
resource = (h("svg", { key: 'e4de60a5e5d48cb7726b88abf06b7bc5c889d422', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: '63ffecb16ce4107ac9ffbfbad8cd655e34e900f3', d: "M42 38V10c0-2.21-1.79-4-4-4H10c-2.21 0-4 1.79-4 4v28c0 2.21 1.79 4 4 4h28c2.21 0 4-1.79 4-4zM17 27l5 6.01L29 24l9 12H10l7-9z" })));
|
|
158
158
|
break;
|
|
159
159
|
case 'kup-progress-bar':
|
|
160
160
|
//linear_scale.svg
|
|
161
|
-
resource = (h("svg", { key: '
|
|
161
|
+
resource = (h("svg", { key: 'b8e2b4a9382a3e9483da1f0efbbef9566b8f39ab', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: '339f3815ac768a03ad3b8ba78d6bce5c6879402d', d: "M39 19c-2.05 0-3.81 1.23-4.58 3h-5.84c-.77-1.77-2.53-3-4.58-3s-3.81 1.23-4.58 3h-5.84c-.77-1.77-2.53-3-4.58-3-2.77 0-5 2.23-5 5s2.23 5 5 5c2.05 0 3.81-1.23 4.58-3h5.84c.77 1.77 2.53 3 4.58 3s3.81-1.23 4.58-3h5.84c.77 1.77 2.53 3 4.58 3 2.77 0 5-2.23 5-5s-2.23-5-5-5z" })));
|
|
162
162
|
break;
|
|
163
163
|
case 'kup-radio':
|
|
164
164
|
//radio_button_unchecked.svg
|
|
165
|
-
resource = (h("svg", { key: '
|
|
165
|
+
resource = (h("svg", { key: '15c32aad0b8ff81e43a869c14de3872ab4a608ff', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: 'd4388b9681629f14c0c4c385448ed4765cc92a9e', d: "M24 4C12.95 4 4 12.95 4 24s8.95 20 20 20 20-8.95 20-20S35.05 4 24 4zm0 36c-8.84 0-16-7.16-16-16S15.16 8 24 8s16 7.16 16 16-7.16 16-16 16z" })));
|
|
166
166
|
break;
|
|
167
167
|
default:
|
|
168
168
|
//art_track.svg
|
|
169
|
-
resource = (h("svg", { key: '
|
|
169
|
+
resource = (h("svg", { key: '132ad10f47b212eac81a40954eb7b5f0fe46ff85', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: '45015c39db68faa73d2ee7398f55137880277146', d: "M44 26H28v-4h16v4zm0-12H28v4h16v-4zM28 34h16v-4H28v4zm-4-16v12c0 2.2-1.8 4-4 4H8c-2.2 0-4-1.8-4-4V18c0-2.2 1.8-4 4-4h12c2.2 0 4 1.8 4 4zm-3 12l-4.5-6-3.5 4.51-2.5-3.01L7 30h14z" })));
|
|
170
170
|
break;
|
|
171
171
|
}
|
|
172
172
|
if ((this.renderMode === KupLazyRender.VIEWPORT && this.isInViewport) ||
|
|
@@ -175,14 +175,14 @@ const KupLazy = class {
|
|
|
175
175
|
this.data &&
|
|
176
176
|
this.isInViewport)) {
|
|
177
177
|
let Tag = this.componentName;
|
|
178
|
-
content = (h(Tag, Object.assign({ key: '
|
|
178
|
+
content = (h(Tag, Object.assign({ key: '872b8eb5d96b68cfcd1e4900bfca772bab11ab3a' }, this.data, { ref: (el) => (this.lazyComponent = el) })));
|
|
179
179
|
className += ' kup-loaded';
|
|
180
180
|
}
|
|
181
181
|
else if (this.showPlaceholder) {
|
|
182
182
|
content = resource;
|
|
183
183
|
className += ' kup-to-be-loaded';
|
|
184
184
|
}
|
|
185
|
-
return (h(Host, { key: '
|
|
185
|
+
return (h(Host, { key: '9c1dbf24aa0e68330251b4e9a35e17c7a9e23539', class: className }, h("style", { key: 'e74a571399d27dcac499e341dd6e19535e66f1c2' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '6aaca6cb575a7662770bb31abf1883ca96a7c543', id: componentWrapperId }, content)));
|
|
186
186
|
}
|
|
187
187
|
disconnectedCallback() {
|
|
188
188
|
var _a;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, b as KupLanguageGeneric, h as KupDebugCategory, aE as kupDropEvent, W as kupDraggableColumnAttr, aF as kupDraggableRowAttr, _ as KupDropEventTypes, f as KupThemeColorValues } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, b as KupLanguageGeneric, h as KupDebugCategory, aE as kupDropEvent, W as kupDraggableColumnAttr, aF as kupDraggableRowAttr, _ as KupDropEventTypes, f as KupThemeColorValues } from './kup-manager-7acd779a.js';
|
|
3
3
|
import { a as FButtonStyling } from './f-button-declarations-6c8f8abe.js';
|
|
4
4
|
import { F as FImage } from './f-image-a2ecd7c3.js';
|
|
5
5
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
@@ -287,11 +287,11 @@ const KupMagicBox = class {
|
|
|
287
287
|
this.kupManager.debug.logRender(this, true);
|
|
288
288
|
}
|
|
289
289
|
render() {
|
|
290
|
-
return (h(Host, { key: '
|
|
290
|
+
return (h(Host, { key: '76b8180fd4034de65e028b585a4fb002c8bcdfca' }, h("style", { key: '9ba35b5e148e6e50d8a9f830f5db48612581e69b' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: 'a3d292ce29fa8539e9c66275ac569c28cf3a54e1', id: componentWrapperId }, h("div", { key: 'fa29976b5702fedb46d7d91b618f2231ae7ddef1', class: "magic-box-wrapper" }, h("div", { key: '7f61c00fce84bcf7f36b8c47fe69fd5556aee41f', class: "actions", id: "drag-handle" }, h("kup-combobox", Object.assign({ key: '5f5aa592fe3eaf815677f238064425857d0b2f7a' }, this.comboboxProps())), h("kup-button", { key: '3708c650c5e31029f801386565bba2a1ccfc0e43', styling: FButtonStyling.FLAT, icon: "delete", label: "Reset", "onkup-button-click": () => {
|
|
291
291
|
this.data = null;
|
|
292
|
-
} }), h("kup-button", { key: '
|
|
292
|
+
} }), h("kup-button", { key: '9306931f703349e28310daaeaf82f126bdaf94ad', id: "close-dialog", customStyle: `:host{${KupThemeColorValues.PRIMARY}: var(${KupThemeColorValues.TITLE});}`, icon: "clear", "onkup-button-click": () => {
|
|
293
293
|
this.kupManager.hideMagicBox();
|
|
294
|
-
} })), h("div", { key: '
|
|
294
|
+
} })), h("div", { key: '560c6c700d9e4699ac3c800d36648a16afdcff8f', class: "content", ref: (el) => (this.wrapperRef = el) }, this.setContent())))));
|
|
295
295
|
}
|
|
296
296
|
disconnectedCallback() {
|
|
297
297
|
this.kupManager.interact.unregister([
|
|
@@ -6566,13 +6566,13 @@ const fChipCss$1 = fChipCss;
|
|
|
6566
6566
|
const fImageCss = ".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:.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:.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:var(--kup-label-01-font-size, 12px);line-height:16px;font-weight:400;letter-spacing:.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:var(--kup-heading-compact-01-font-size, 14px);line-height:18px;font-weight:600;letter-spacing:.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-01-font-size, 14px);line-height:20px;font-weight:600;letter-spacing:.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}.f-image{display:flex;margin:auto;position:relative;height:var(--kup_image_height, 100%);width:var(--kup_image_width, 100%)}.f-image.kup-fit img{max-width:max-content;object-fit:contain}.f-image img{display:block;margin:auto;height:var(--kup_image_height, auto);width:var(--kup_image_width, 100%);object-fit:contain}.f-image .f-image__css{overflow:hidden;height:var(--kup_image_height, 100%);width:var(--kup_image_width, 100%)}.f-image .f-image__icon{margin:auto;height:var(--kup_image_height, 100%);width:var(--kup_image_width, 100%)}.f-image .iconWrapper{display:flex;position:relative;justify-content:space-between;box-sizing:border-box;flex-direction:column;height:auto;width:100%}.f-image .iconWrapper .f-image__icon{width:100%;height:100%;position:absolute}.f-image .f-image__placeholder{height:100%;width:100%;position:absolute}.f-image .f-image__hidden{display:none}.f-image .css-step.bottom-aligned{bottom:0;position:absolute}.f-image.noWidth.noIcon{width:auto}";
|
|
6567
6567
|
const fImageCss$1 = fImageCss;
|
|
6568
6568
|
|
|
6569
|
-
const fPaginatorCss = ".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:.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:.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:var(--kup-label-01-font-size, 12px);line-height:16px;font-weight:400;letter-spacing:.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:var(--kup-heading-compact-01-font-size, 14px);line-height:18px;font-weight:600;letter-spacing:.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-01-font-size, 14px);line-height:20px;font-weight:600;letter-spacing:.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}.f-paginator{background-color:var(--kup-layer-1);display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between}.f-paginator .load-more-button{padding:0;border-right:1px solid var(--kup-border-subtle);flex:2}.f-paginator .load-more-button button{width:100%}.f-paginator
|
|
6569
|
+
const fPaginatorCss = ".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:.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:.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:var(--kup-label-01-font-size, 12px);line-height:16px;font-weight:400;letter-spacing:.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:var(--kup-heading-compact-01-font-size, 14px);line-height:18px;font-weight:600;letter-spacing:.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-01-font-size, 14px);line-height:20px;font-weight:600;letter-spacing:.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}.f-paginator{background-color:var(--kup-layer-1);display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;flex:1}.f-paginator .load-more-button{padding:0;border-right:1px solid var(--kup-border-subtle);flex:2}.f-paginator .load-more-button button{width:100%}.f-paginator kup-combobox{display:inline-block;z-index:0}.f-paginator kup-combobox.page-selector{padding:0 var(--kup-space-05);border-right:1px solid var(--kup-border-subtle);flex:2}.f-paginator kup-combobox.rows-selector{padding:0 var(--kup-space-05);border-right:1px solid var(--kup-border-subtle);flex:2}.f-paginator .max-page-wrapper>label{padding-left:4px;padding-right:4px;white-space:nowrap}.f-paginator .page-wrapper{display:flex;flex:1;align-items:center}.f-paginator .page-wrapper .page-selector-wrapper{display:flex;align-items:center}.f-paginator .page-wrapper .arrow-wrapper{display:flex;flex:1;justify-content:flex-end}@media (max-width: 830px){.f-paginator kup-combobox.rows-selector,.f-paginator kup-combobox.page-selector{padding:0 var(--kup-space-03)}.f-paginator .load-more-button{order:4;width:100%;display:flex;justify-content:center;border-right:none;border-left:1px solid var(--kup-border-subtle)}}@media (max-width: 655px){.load-more-button{border-top:1px solid var(--kup-border-subtle)}}@media (max-width: 500px){.f-paginator kup-combobox.rows-selector{border-right:none}.page-wrapper{border-top:1px solid var(--kup-border-subtle)}}";
|
|
6570
6570
|
const fPaginatorCss$1 = fPaginatorCss;
|
|
6571
6571
|
|
|
6572
6572
|
const fProgressBarCss = ".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:.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:.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:var(--kup-label-01-font-size, 12px);line-height:16px;font-weight:400;letter-spacing:.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:var(--kup-heading-compact-01-font-size, 14px);line-height:18px;font-weight:600;letter-spacing:.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-01-font-size, 14px);line-height:20px;font-weight:600;letter-spacing:.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}.f-progress-bar{--kup_progressbar_border_radius:var( --kup-progressbar-border-radius, var(--kup-radius-00) );--kup_progressbar_font_family:var( --kup-progressbar-font-family, var(--kup-font-family) );--kup_progressbar_font_size:var( --kup-progressbar-font-size, var(--kup-font-size) );--kup_progressbar_height:var(--kup-progressbar-height, 1.25em);--kup_progressbar_activebar_color:var( --kup-progressbar-activebar-color, var(--kup-primary-color-60) );--kup_progressbar_text_color:var( --kup-progressbar-text-color, var(--kup-text-secondary) );--kup_progressbar_text_color_rgb:var( --kup-progressbar-text-color-rgb, var(--kup-text-secondary-rgb) );--kup_progressbar_activebar_text_color:var( --kup-progressbar-text-on-primary-color, var(--kup-layer-1) );--kup_progressbar_track_background_color:var( --kup-progressbar-track-background-color, var(--kup-layer-3) );--kup_progressbar_width:var(--kup-progressbar-width, 100%);font-family:var(--kup_progressbar_font_family);font-size:var(--kup_progressbar_font_size);width:var(--kup_progressbar_width)}.f-progress-bar.progress-bar{background:var(--kup_progressbar_track_background_color);border-radius:var(--kup_progressbar_border_radius);overflow:hidden;position:relative;width:var(--kup_progressbar_width)}.f-progress-bar.progress-bar.text-color-on-primary .progress-bar-percentage{color:var(--kup_progressbar_activebar_text_color)}.f-progress-bar.progress-bar.text-color-on-primary .progress-bar-percentage span{color:var(--kup_progressbar_activebar_text_color);font-family:var(--kup-font-family);font-size:var(--kup-label-01-font-size, 12px);line-height:16px;font-weight:400;letter-spacing:.32px}.f-progress-bar .progress-bar-percentage{background:var(--kup_progressbar_activebar_color);border-radius:var(--kup_progressbar_border_radius);box-sizing:content-box;color:var(--kup_progressbar_text_color);height:var(--kup_progressbar_height);text-align:center;transition:width .2s ease}.f-progress-bar .progress-bar-percentage span{color:var(--kup_progressbar_text_color);display:inline-block;font-size:1em;left:0;line-height:var(--kup_progressbar_height);position:absolute;width:var(--kup_progressbar_width);font-family:var(--kup-font-family);font-size:var(--kup-label-01-font-size, 12px);line-height:16px;font-weight:400;letter-spacing:.32px}.f-progress-bar .progress-bar-percentage .kup-icon{display:block;height:var(--kup_progressbar_height)}.f-progress-bar .progress-bar-percentage .kup-icon:not(.is-image){background-color:var(--kup_progressbar_activebar_text_color)}.f-progress-bar .progress-bar-percentage .kup-icon img{width:auto;height:100%}.f-progress-bar.is-radial{box-sizing:border-box;display:flex;font-size:10em;margin:auto}.f-progress-bar.is-radial.pie-wrapper{height:1em;width:1em;float:left;margin:auto;position:relative}.f-progress-bar.is-radial.pie-wrapper:nth-child(3n+1){clear:both}.f-progress-bar.is-radial.pie-wrapper .pie{height:1em;width:1em;clip:rect(0, 1em, 1em, 0.5em);left:0;position:absolute;top:0}.f-progress-bar.is-radial.pie-wrapper .pie.has-value .half-circle{border-color:var(--kup_progressbar_activebar_color)}.f-progress-bar.is-radial.pie-wrapper .pie.has-value .half-circle.left-side{transition:transform .2s ease}.f-progress-bar.is-radial.pie-wrapper .pie.has-value.is-less-than-half .right-side{display:none}.f-progress-bar.is-radial.pie-wrapper .pie.has-value.is-more-than-half{clip:rect(auto, auto, auto, auto)}.f-progress-bar.is-radial.pie-wrapper .pie.has-value.is-more-than-half .right-side{transform:rotate(180deg)}.f-progress-bar.is-radial.pie-wrapper .pie .half-circle{height:1em;width:1em;border:.1em solid var(--kup_progressbar_track_background_color);border-radius:50%;clip:rect(0, 0.5em, 1em, 0);left:0;position:absolute;top:0}.f-progress-bar.is-radial.pie-wrapper .label{background:none;bottom:.4em;color:var(--kup_progressbar_text_color);cursor:default;display:block;font-size:.25em;left:.6em;line-height:3em;position:absolute;right:.4em;text-align:center;top:.4em}.f-progress-bar.is-radial.pie-wrapper .label.kup-icon{display:block;height:1.25em;width:1.25em;object-fit:cover;margin:auto}.f-progress-bar.is-radial.pie-wrapper .label.kup-icon:not(.is-image){background-color:var(--kup_progressbar_activebar_color)}.f-progress-bar.is-radial.pie-wrapper .label.kup-icon img{width:auto;height:100%}.f-progress-bar.is-radial.pie-wrapper .label .smaller{color:var(--kup_progressbar_text_color);opacity:.8;font-size:.45em;padding-bottom:20px;vertical-align:super}.f-progress-bar.is-radial.pie-wrapper .shadow{height:1em;width:1em;border:.1em solid var(--kup_progressbar_track_background_color);border-radius:50%}.f-progress-bar.is-radial *,.f-progress-bar.is-radial *:before,.f-progress-bar.is-radial *:after{box-sizing:border-box}.f-progress-bar.kup-animated .progress-bar-percentage{animation:running-stripes 2s linear infinite}.f-progress-bar.kup-padded.progress-bar{padding:.5em;width:calc(100% - 1em)}.f-progress-bar.kup-slim.progress-bar{border-radius:9px}.f-progress-bar.kup-slim.progress-bar .progress-bar-percentage{border-radius:9px;padding:0}.f-progress-bar.kup-slim.pie-wrapper .pie .half-circle{border-width:.05em}.f-progress-bar.kup-slim.pie-wrapper .shadow{border-width:.05em}.f-progress-bar.kup-striped .progress-bar-percentage{background-image:linear-gradient(-45deg, rgba(var(--kup_progressbar_text_color_rgb), 0.125) 25%, transparent 25%, transparent 50%, rgba(var(--kup_progressbar_text_color_rgb), 0.125) 50%, rgba(var(--kup_progressbar_text_color_rgb), 0.125) 75%, transparent 75%, transparent);background-size:3em 3em}.f-progress-bar.kup-danger{--kup-progressbar-primary-color:var(--kup-danger-color);--kup-progressbar-text-on-primary-color:white}.f-progress-bar.kup-info{--kup-progressbar-primary-color:var(--kup-info-color-50);--kup-progressbar-text-on-primary-color:white}.f-progress-bar.kup-secondary{--kup-progressbar-primary-color:var(--kup-secondary-color);--kup-progressbar-text-on-primary-color:var(--kup-text-on-secondary-color)}.f-progress-bar.kup-success{--kup-progressbar-primary-color:var(--kup-success-color);--kup-progressbar-text-on-primary-color:white}.f-progress-bar.kup-warning{--kup-progressbar-primary-color:var(--kup-warning-color-50);--kup-progressbar-text-on-primary-color:white}@keyframes running-stripes{0%{background-position:0 0}100%{background-position:3em 3em}}";
|
|
6573
6573
|
const fProgressBarCss$1 = fProgressBarCss;
|
|
6574
6574
|
|
|
6575
|
-
const fRadioCss = ".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:.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:.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:var(--kup-label-01-font-size, 12px);line-height:16px;font-weight:400;letter-spacing:.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:var(--kup-heading-compact-01-font-size, 14px);line-height:18px;font-weight:600;letter-spacing:.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-01-font-size, 14px);line-height:20px;font-weight:600;letter-spacing:.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}.f-radio{--kup_radio_font_family:var(--kup-radio-font-family, var(--kup-font-family));--kup_radio_font_size:var(--kup-radio-font-size, var(--kup-font-size));--kup_radio_font_weight:var(--kup-radio-font-weight, 400);--kup_radio_outer_circle_color:var( --kup-radio-outer-circle-color, var(--kup-text-primary) );--kup_radio_focus_color:var( --kup-radio-focus-color, var(--kup-primary-color-60) );--kup_radio_primary_color:var( --kup-radio-primary-color, var(--kup-text-primary) );--kup_radio_primary_color_rgb:var( --kup-radio-primary-color-rgb, var(--kup-text-primary-rgb) );--kup_radio_text_color:var(--kup-radio-text-color, var(--kup-text-primary));--kup_radio_text_color_disabled:var( --kup-radio-text-color-disabled, var(--kup-text-disabled) );--kup_radio_shortcut_background_color:var( --kup-radio-shortcut-background-color, #e0e0e0 );--kup_radio_shortcut_text_color:var( --kup-radio-shortcut-text-color, #525252 );--kup_radio_shortcut_border_color:var( --kup-radio-shortcut-border-color, #d0d0d0 );--kup_radio_shortcut_border_radius:var( --kup-radio-shortcut-border-radius, var(--kup-radius-01) );font-family:var(--kup_radio_font_family);font-size:var(--kup_radio_font_size)}.f-radio .form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-size:.875em;font-weight:var(--kup_radio_font_weight);letter-spacing:0.0178571429em;display:flex;gap:var(--kup-space-03);align-items:center;vertical-align:middle}.f-radio .form-field.form--chevron{padding:var(--kup-space-03);justify-content:space-between}.f-radio .form-field.form--chevron .label-wrapper{display:flex;gap:var(--kup-space-03);order:2;align-items:center;min-width:max-content}.f-radio .form-field.form--chevron .label-wrapper .shortcut{background-color:var(--kup_radio_shortcut_background_color);color:var(--kup_radio_shortcut_text_color);padding:var(--kup-space-02) var(--kup-space-03);border:1px solid var(--kup_radio_shortcut_border_color);border-radius:var(--kup_radio_shortcut_border_radius);user-select:none;font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.f-radio .form-field.form--chevron .radio--chevron{order:3}.f-radio .form-field label{color:var(--kup_radio_text_color);order:0;font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:.16px}.f-radio .form-field.form-field--align-end label{margin-left:auto;margin-right:0px;padding-left:0px;padding-right:4px;order:-1 !important}.f-radio.radio-wrapper{display:grid;gap:var(--kup-space-03)}.f-radio.radio-wrapper.radio-wrapper--grid{display:grid;grid-gap:1em;grid-template-columns:var(--kup_radio_columns)}.f-radio.radio-wrapper .radio{border-radius:50%;position:relative;flex:0 0 auto;box-sizing:content-box;width:15px;height:15px;cursor:pointer;will-change:opacity,transform,border-color,color;will-change:transform,opacity;border:1px solid rgba(0,0,0,0)}.f-radio.radio-wrapper .radio:hover{border:1px solid var(--kup_radio_focus_color)}.f-radio.radio-wrapper .radio .radio__native-control{position:absolute;margin:0px;padding:0px;opacity:0;cursor:inherit;z-index:1;top:0px;right:0px;left:0px;width:15px;height:15px}.f-radio.radio-wrapper .radio .radio__background{display:inline-block;position:relative;box-sizing:border-box;width:15px;height:15px;transition:opacity 120ms cubic-bezier(0, 0, 0.2, 1) 0ms,transform 120ms cubic-bezier(0, 0, 0.2, 1) 0ms}.f-radio.radio-wrapper .radio .radio__background .radio__outer-circle{border-color:var(--kup_radio_outer_circle_color);position:absolute;top:0px;left:0px;box-sizing:border-box;width:100%;height:100%;border-width:1px;border-style:solid;border-radius:50%;transition:border-color 120ms cubic-bezier(0.4, 0, 0.6, 1) 0ms}.f-radio.radio-wrapper .radio .radio__background .radio__inner-circle{position:absolute;top:0px;left:0px;box-sizing:border-box;width:100%;height:100%;transform:scale(0, 0);border-width:7.5px;border-style:solid;border-radius:50%;transition:transform 120ms cubic-bezier(0.4, 0, 0.6, 1) 0ms,border-color 120ms cubic-bezier(0.4, 0, 0.6, 1) 0ms}.f-radio.radio-wrapper .radio.radio--checked .radio__outer-circle{border-color:var(--kup_radio_primary_color)}.f-radio.radio-wrapper .radio.radio--checked .radio__inner-circle{border-color:var(--kup_radio_primary_color);transform:scale(0.5);transition:transform 120ms cubic-bezier(0, 0, 0.2, 1) 0ms,border-color 120ms cubic-bezier(0, 0, 0.2, 1) 0ms}.f-radio.radio-wrapper .radio.radio--disabled{--kup_radio_outer_circle_color:var(--kup-border-disabled);--kup_radio_text_color:var(--kup-text-disabled);pointer-events:none}.f-radio.radio-wrapper .radio.radio--disabled+label{color:var(--kup_radio_text_color_disabled);pointer-events:none}.f-radio.radio-wrapper .radio.radio--disabled .radio__outer-circle{border-color:var(--kup_radio_outer_circle_color)}.f-radio.radio-wrapper .radio.radio--disabled .radio__inner-circle{border-color:var(--kup_radio_outer_circle_color)}.f-radio.radio-wrapper .radio.radio--chevron:hover{border:1px solid rgba(0,0,0,0)}.f-radio.radio-wrapper.radio--chevron .radio:hover{border:1px solid rgba(0,0,0,0)}.f-radio.kup-horizontal{display:flex;gap:var(--kup-space-05)}.f-radio.kup-danger{--kup-radio-primary-color:var(--kup-danger-color);--kup-radio-primary-color-rgb:var(--kup-danger-color-rgb)}.f-radio.kup-info{--kup-radio-primary-color:var(--kup-info-color-50);--kup-radio-primary-color-rgb:var(--kup-info-color-rgb)}.f-radio.kup-secondary{--kup-radio-primary-color:var(--kup-secondary-color);--kup-radio-primary-color-rgb:var(--kup-secondary-color-rgb)}.f-radio.kup-success{--kup-radio-primary-color:var(--kup-success-color);--kup-radio-primary-color-rgb:var(--kup-success-color-rgb)}.f-radio.kup-warning{--kup-radio-primary-color:var(--kup-warning-color-50);--kup-radio-primary-color-rgb:var(--kup-warning-color-rgb)}";
|
|
6575
|
+
const fRadioCss = ".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:.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:.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:var(--kup-label-01-font-size, 12px);line-height:16px;font-weight:400;letter-spacing:.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:var(--kup-heading-compact-01-font-size, 14px);line-height:18px;font-weight:600;letter-spacing:.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-01-font-size, 14px);line-height:20px;font-weight:600;letter-spacing:.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}.f-radio{--kup_radio_font_family:var(--kup-radio-font-family, var(--kup-font-family));--kup_radio_font_size:var(--kup-radio-font-size, var(--kup-font-size));--kup_radio_font_weight:var(--kup-radio-font-weight, 400);--kup_radio_outer_circle_color:var( --kup-radio-outer-circle-color, var(--kup-text-primary) );--kup_radio_focus_color:var( --kup-radio-focus-color, var(--kup-primary-color-60) );--kup_radio_primary_color:var( --kup-radio-primary-color, var(--kup-text-primary) );--kup_radio_primary_color_rgb:var( --kup-radio-primary-color-rgb, var(--kup-text-primary-rgb) );--kup_radio_text_color:var(--kup-radio-text-color, var(--kup-text-primary));--kup_radio_text_color_disabled:var( --kup-radio-text-color-disabled, var(--kup-text-disabled) );--kup_radio_shortcut_background_color:var( --kup-radio-shortcut-background-color, #e0e0e0 );--kup_radio_shortcut_text_color:var( --kup-radio-shortcut-text-color, #525252 );--kup_radio_shortcut_border_color:var( --kup-radio-shortcut-border-color, #d0d0d0 );--kup_radio_shortcut_border_radius:var( --kup-radio-shortcut-border-radius, var(--kup-radius-01) );font-family:var(--kup_radio_font_family);font-size:var(--kup_radio_font_size)}.f-radio .form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-size:.875em;font-weight:var(--kup_radio_font_weight);letter-spacing:0.0178571429em;display:flex;gap:var(--kup-space-03);align-items:center;vertical-align:middle}.f-radio .form-field.form--chevron{padding:var(--kup-space-03);justify-content:space-between}.f-radio .form-field.form--chevron .label-wrapper{display:flex;gap:var(--kup-space-03);order:2;align-items:center;min-width:max-content}.f-radio .form-field.form--chevron .label-wrapper .shortcut{background-color:var(--kup_radio_shortcut_background_color);color:var(--kup_radio_shortcut_text_color);padding:var(--kup-space-02) var(--kup-space-03);border:1px solid var(--kup_radio_shortcut_border_color);border-radius:var(--kup_radio_shortcut_border_radius);user-select:none;font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.f-radio .form-field.form--chevron .radio--chevron{order:3}.f-radio .form-field label{color:var(--kup_radio_text_color);order:0;font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:.16px}.f-radio .form-field.form-field--align-end label{margin-left:auto;margin-right:0px;padding-left:0px;padding-right:4px;order:-1 !important}.f-radio.radio-wrapper{display:grid;gap:var(--kup-space-03)}.f-radio.radio-wrapper.radio-wrapper--grid{display:grid;grid-gap:1em;grid-template-columns:var(--kup_radio_columns)}.f-radio.radio-wrapper .radio{border-radius:50%;position:relative;flex:0 0 auto;box-sizing:content-box;width:15px;height:15px;cursor:pointer;will-change:opacity,transform,border-color,color;will-change:transform,opacity;border:1px solid rgba(0,0,0,0)}.f-radio.radio-wrapper .radio:hover{border:1px solid var(--kup_radio_focus_color)}.f-radio.radio-wrapper .radio .radio__native-control{position:absolute;margin:0px;padding:0px;opacity:0;cursor:inherit;z-index:1;top:0px;right:0px;left:0px;width:15px;height:15px}.f-radio.radio-wrapper .radio .radio__background{display:inline-block;position:relative;box-sizing:border-box;width:15px;height:15px;transition:opacity 120ms cubic-bezier(0, 0, 0.2, 1) 0ms,transform 120ms cubic-bezier(0, 0, 0.2, 1) 0ms}.f-radio.radio-wrapper .radio .radio__background .radio__outer-circle{border-color:var(--kup_radio_outer_circle_color);position:absolute;top:0px;left:0px;box-sizing:border-box;width:100%;height:100%;border-width:1px;border-style:solid;border-radius:50%;transition:border-color 120ms cubic-bezier(0.4, 0, 0.6, 1) 0ms}.f-radio.radio-wrapper .radio .radio__background .radio__inner-circle{position:absolute;top:0px;left:0px;box-sizing:border-box;width:100%;height:100%;transform:scale(0, 0);border-width:7.5px;border-style:solid;border-radius:50%;transition:transform 120ms cubic-bezier(0.4, 0, 0.6, 1) 0ms,border-color 120ms cubic-bezier(0.4, 0, 0.6, 1) 0ms}.f-radio.radio-wrapper .radio.radio--checked .radio__outer-circle{border-color:var(--kup_radio_primary_color)}.f-radio.radio-wrapper .radio.radio--checked .radio__inner-circle{border-color:var(--kup_radio_primary_color);transform:scale(0.5);transition:transform 120ms cubic-bezier(0, 0, 0.2, 1) 0ms,border-color 120ms cubic-bezier(0, 0, 0.2, 1) 0ms}.f-radio.radio-wrapper .radio.radio--disabled{--kup_radio_outer_circle_color:var(--kup-border-disabled);--kup_radio_text_color:var(--kup-text-disabled);pointer-events:none}.f-radio.radio-wrapper .radio.radio--disabled+label{color:var(--kup_radio_text_color_disabled);pointer-events:none}.f-radio.radio-wrapper .radio.radio--disabled .radio__outer-circle{border-color:var(--kup_radio_outer_circle_color)}.f-radio.radio-wrapper .radio.radio--disabled .radio__inner-circle{border-color:var(--kup_radio_outer_circle_color)}.f-radio.radio-wrapper .radio.radio--chevron:hover{border:1px solid rgba(0,0,0,0)}.f-radio.radio-wrapper.radio--chevron .radio:hover{border:1px solid rgba(0,0,0,0)}.f-radio.kup-horizontal{display:flex;flex-wrap:wrap;gap:var(--kup-space-05)}.f-radio.kup-danger{--kup-radio-primary-color:var(--kup-danger-color);--kup-radio-primary-color-rgb:var(--kup-danger-color-rgb)}.f-radio.kup-info{--kup-radio-primary-color:var(--kup-info-color-50);--kup-radio-primary-color-rgb:var(--kup-info-color-rgb)}.f-radio.kup-secondary{--kup-radio-primary-color:var(--kup-secondary-color);--kup-radio-primary-color-rgb:var(--kup-secondary-color-rgb)}.f-radio.kup-success{--kup-radio-primary-color:var(--kup-success-color);--kup-radio-primary-color-rgb:var(--kup-success-color-rgb)}.f-radio.kup-warning{--kup-radio-primary-color:var(--kup-warning-color-50);--kup-radio-primary-color-rgb:var(--kup-warning-color-rgb)}";
|
|
6576
6576
|
const fRadioCss$1 = fRadioCss;
|
|
6577
6577
|
|
|
6578
6578
|
const fRatingCss = ".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:.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:.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:var(--kup-label-01-font-size, 12px);line-height:16px;font-weight:400;letter-spacing:.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:var(--kup-heading-compact-01-font-size, 14px);line-height:18px;font-weight:600;letter-spacing:.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-01-font-size, 14px);line-height:20px;font-weight:600;letter-spacing:.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}.f-rating{--kup_rating_color:var(--kup-rating-color, #ffa000);--kup_rating_font_size:var(--kup-rating-font-size, 20px)}.f-rating .rating{color:var(--kup_rating_color);cursor:pointer;font-size:var(--kup_rating_font_size)}.f-rating.disabled .rating{opacity:.5;cursor:auto}";
|
|
@@ -8104,6 +8104,7 @@ var KupDataTableProps;
|
|
|
8104
8104
|
KupDataTableProps["transpose"] = "Transposes the data of the data table.";
|
|
8105
8105
|
KupDataTableProps["updatableData"] = "When set to true, editable cells will be rendered using input components and update button will appair below the matrix";
|
|
8106
8106
|
KupDataTableProps["updateOnClick"] = "When set to true, editable checkbox will call update";
|
|
8107
|
+
KupDataTableProps["visibleColumns"] = "Defines the columns that are visible in the table";
|
|
8107
8108
|
})(KupDataTableProps || (KupDataTableProps = {}));
|
|
8108
8109
|
var SortMode;
|
|
8109
8110
|
(function (SortMode) {
|
|
@@ -8466,14 +8467,9 @@ function isNegativeNumber(value) {
|
|
|
8466
8467
|
// -------------
|
|
8467
8468
|
// ADAPTERS from SmeupDataTable to FCell data attribute
|
|
8468
8469
|
// -------------
|
|
8469
|
-
const CMBandACPAdapter = (value, label, options,
|
|
8470
|
+
const CMBandACPAdapter = (value, label, options, cellData) => ({
|
|
8470
8471
|
data: {
|
|
8471
|
-
'kup-text-field': {
|
|
8472
|
-
trailingIcon: true,
|
|
8473
|
-
label,
|
|
8474
|
-
// size: _cellData?.size,
|
|
8475
|
-
// maxLength: _cellData?.maxLength,
|
|
8476
|
-
},
|
|
8472
|
+
'kup-text-field': Object.assign(Object.assign({ trailingIcon: true, label }, ((cellData === null || cellData === void 0 ? void 0 : cellData.size) && { size: cellData.size })), ((cellData === null || cellData === void 0 ? void 0 : cellData.maxLength) && { maxLength: cellData.maxLength })),
|
|
8477
8473
|
'kup-list': {
|
|
8478
8474
|
showIcons: true,
|
|
8479
8475
|
data: (options === null || options === void 0 ? void 0 : options.length)
|
|
@@ -10517,7 +10513,7 @@ var token = {};
|
|
|
10517
10513
|
function e(){return e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var a in o)Object.prototype.hasOwnProperty.call(o,a)&&(e[a]=o[a]);}return e},e.apply(this,arguments)}Object.defineProperty(exports,"__esModule",{value:!0});var t,o={0:11,1:0,2:3,3:0,4:0,5:0,6:0,7:11,8:11,9:1,10:10,11:0,12:11,13:0,14:-1};exports.tokenTypes=void 0,(t=exports.tokenTypes||(exports.tokenTypes={}))[t.FUNCTION_WITH_ONE_ARG=0]="FUNCTION_WITH_ONE_ARG",t[t.NUMBER=1]="NUMBER",t[t.BINARY_OPERATOR_HIGH_PRECENDENCE=2]="BINARY_OPERATOR_HIGH_PRECENDENCE",t[t.CONSTANT=3]="CONSTANT",t[t.OPENING_PARENTHESIS=4]="OPENING_PARENTHESIS",t[t.CLOSING_PARENTHESIS=5]="CLOSING_PARENTHESIS",t[t.DECIMAL=6]="DECIMAL",t[t.POSTFIX_FUNCTION_WITH_ONE_ARG=7]="POSTFIX_FUNCTION_WITH_ONE_ARG",t[t.FUNCTION_WITH_N_ARGS=8]="FUNCTION_WITH_N_ARGS",t[t.BINARY_OPERATOR_LOW_PRECENDENCE=9]="BINARY_OPERATOR_LOW_PRECENDENCE",t[t.BINARY_OPERATOR_PERMUTATION=10]="BINARY_OPERATOR_PERMUTATION",t[t.COMMA=11]="COMMA",t[t.EVALUATED_FUNCTION=12]="EVALUATED_FUNCTION",t[t.EVALUATED_FUNCTION_PARAMETER=13]="EVALUATED_FUNCTION_PARAMETER",t[t.SPACE=14]="SPACE",exports.createTokens=function(t){return [{token:"sin",show:"sin",type:0,value:t.math.sin},{token:"cos",show:"cos",type:0,value:t.math.cos},{token:"tan",show:"tan",type:0,value:t.math.tan},{token:"pi",show:"π",type:3,value:"PI"},{token:"(",show:"(",type:4,value:"("},{token:")",show:")",type:5,value:")"},{token:"P",show:"P",type:10,value:t.math.P},{token:"C",show:"C",type:10,value:t.math.C},{token:" ",show:" ",type:14,value:" ".anchor},{token:"asin",show:"asin",type:0,value:t.math.asin},{token:"acos",show:"acos",type:0,value:t.math.acos},{token:"atan",show:"atan",type:0,value:t.math.atan},{token:"7",show:"7",type:1,value:"7"},{token:"8",show:"8",type:1,value:"8"},{token:"9",show:"9",type:1,value:"9"},{token:"int",show:"Int",type:0,value:Math.floor},{token:"cosh",show:"cosh",type:0,value:t.math.cosh},{token:"acosh",show:"acosh",type:0,value:t.math.acosh},{token:"ln",show:" ln",type:0,value:Math.log},{token:"^",show:"^",type:10,value:Math.pow},{token:"root",show:"root",type:0,value:Math.sqrt},{token:"4",show:"4",type:1,value:"4"},{token:"5",show:"5",type:1,value:"5"},{token:"6",show:"6",type:1,value:"6"},{token:"/",show:"÷",type:2,value:t.math.div},{token:"!",show:"!",type:7,value:t.math.fact},{token:"tanh",show:"tanh",type:0,value:t.math.tanh},{token:"atanh",show:"atanh",type:0,value:t.math.atanh},{token:"Mod",show:" Mod ",type:2,value:t.math.mod},{token:"1",show:"1",type:1,value:"1"},{token:"2",show:"2",type:1,value:"2"},{token:"3",show:"3",type:1,value:"3"},{token:"*",show:"×",type:2,value:t.math.mul},{token:"sinh",show:"sinh",type:0,value:t.math.sinh},{token:"asinh",show:"asinh",type:0,value:t.math.asinh},{token:"e",show:"e",type:3,value:"E"},{token:"log",show:" log",type:0,value:t.math.log},{token:"0",show:"0",type:1,value:"0"},{token:".",show:".",type:6,value:"."},{token:"+",show:"+",type:9,value:t.math.add},{token:"-",show:"-",type:9,value:t.math.sub},{token:",",show:",",type:11,value:","},{token:"Sigma",show:"Σ",type:12,value:t.math.sigma},{token:"n",show:"n",type:13,value:"n"},{token:"Pi",show:"Π",type:12,value:t.math.Pi},{token:"pow",show:"pow",type:8,value:Math.pow,numberOfArguments:2},{token:"&",show:"&",type:9,value:t.math.and}].map((function(t){return e({},t,{precedence:o[t.type]})}))},exports.preced=o;
|
|
10518
10514
|
}(token));
|
|
10519
10515
|
|
|
10520
|
-
Object.defineProperty(lexer,"__esModule",{value:!0});var e$1=token;function t$1(e,t){for(var n=0;n<e.length;n++)e[n]+=t;return e}var n={0:!0,1:!0,3:!0,4:!0,6:!0,8:!0,9:!0,12:!0,13:!0,14:!0},s$1={0:!0,1:!0,2:!0,3:!0,4:!0,5:!0,6:!0,7:!0,8:!0,9:!0,10:!0,11:!0,12:!0,13:!0},o$1={0:!0,3:!0,4:!0,8:!0,12:!0,13:!0},p={},r$1={0:!0,1:!0,3:!0,4:!0,6:!0,8:!0,12:!0,13:!0},T={1:!0},h=[[],["1","2","3","7","8","9","4","5","6","+","-","*","/","(",")","^","!","P","C","e","0",".",",","n"," ","&"],["pi","ln","Pi"],["sin","cos","tan","Del","int","Mod","log","pow"],["asin","acos","atan","cosh","root","tanh","sinh"],["acosh","atanh","asinh","Sigma"]];function E(e,t,n,s){for(var o=0;o<s;o++)if(e[n+o]!==t[o])return !1;return !0}function N(e,t){for(var n=0;n<t.length;n++)if(t[n].token===e)return n;return -1}lexer.addToken=function(t){for(var n=0;n<t.length;n++){var s=t[n].token.length,o=-1;t[n].type===e$1.tokenTypes.FUNCTION_WITH_N_ARGS&&void 0===t[n].numberOfArguments&&(t[n].numberOfArguments=2),h[s]=h[s]||[];for(var p=0;p<h[s].length;p++)if(t[n].token===h[s][p]){o=N(h[s][p],this.tokens);break}-1===o?(this.tokens.push(t[n]),t[n].precedence=e$1.preced[t[n].type],h.length<=t[n].token.length&&(h[t[n].token.length]=[]),h[t[n].token.length].push(t[n].token)):(this.tokens[o]=t[n],t[n].precedence=e$1.preced[t[n].type]);}},lexer.lex=function(u,a){var y,_={value:this.math.changeSign,type:e$1.tokenTypes.FUNCTION_WITH_ONE_ARG,precedence:4,show:"-"},i={value:")",show:")",type:e$1.tokenTypes.CLOSING_PARENTHESIS,precedence:0},A={value:"(",type:e$1.tokenTypes.OPENING_PARENTHESIS,precedence:0,show:"("},O=[A],R=[],l=u,k=n,I=0,f=p,P="";void 0!==a&&this.addToken(a);var c=function(e,t){for(var n,s,o,p=[],r=t.length,T=0;T<r;T++)if(!(T<r-1&&" "===t[T]&&" "===t[T+1])){for(n="",s=t.length-T>h.length-2?h.length-1:t.length-T;s>0;s--)if(void 0!==h[s])for(o=0;o<h[s].length;o++)E(t,h[s][o],T,s)&&(n=h[s][o],o=h[s].length,s=0);if(T+=n.length-1,""===n)throw new Error("Can't understand after "+t.slice(T));p.push(e.tokens[N(n,e.tokens)]);}return p}(this,l);for(y=0;y<c.length;y++){var C=c[y];if(14!==C.type){var g,S=C.token,d=C.type,v=C.value,w=C.precedence,U=C.show,m=O[O.length-1];for(g=R.length;g--&&0===R[g];)if(-1!==[e$1.tokenTypes.FUNCTION_WITH_ONE_ARG,e$1.tokenTypes.BINARY_OPERATOR_HIGH_PRECENDENCE,e$1.tokenTypes.CONSTANT,e$1.tokenTypes.OPENING_PARENTHESIS,e$1.tokenTypes.CLOSING_PARENTHESIS,e$1.tokenTypes.BINARY_OPERATOR_LOW_PRECENDENCE,e$1.tokenTypes.BINARY_OPERATOR_PERMUTATION,e$1.tokenTypes.COMMA,e$1.tokenTypes.EVALUATED_FUNCTION,e$1.tokenTypes.EVALUATED_FUNCTION_PARAMETER].indexOf(d)){if(!0!==k[d])throw new Error(S+" is not allowed after "+P);O.push(i),k=s$1,f=r$1,R.pop();}if(!0!==k[d])throw new Error(S+" is not allowed after "+P);!0===f[d]&&(d=e$1.tokenTypes.BINARY_OPERATOR_HIGH_PRECENDENCE,v=this.math.mul,U="×",w=3,y-=1);var H={value:v,type:d,precedence:w,show:U,numberOfArguments:C.numberOfArguments};if(d===e$1.tokenTypes.FUNCTION_WITH_ONE_ARG)k=n,f=p,t$1(R,1),O.push(H),c[y+1].type!==e$1.tokenTypes.OPENING_PARENTHESIS&&(O.push(A),R.push(2));else if(d===e$1.tokenTypes.NUMBER)m.type===e$1.tokenTypes.NUMBER?(m.value+=v,t$1(R,1)):O.push(H),k=s$1,f=o$1;else if(d===e$1.tokenTypes.BINARY_OPERATOR_HIGH_PRECENDENCE)k=n,f=p,t$1(R,2),O.push(H);else if(d===e$1.tokenTypes.CONSTANT)O.push(H),k=s$1,f=r$1;else if(d===e$1.tokenTypes.OPENING_PARENTHESIS)t$1(R,1),I++,k=n,f=p,O.push(H);else if(d===e$1.tokenTypes.CLOSING_PARENTHESIS){if(!I)throw new Error("Closing parenthesis are more than opening one, wait What!!!");I--,k=s$1,f=r$1,O.push(H),t$1(R,1);}else if(d===e$1.tokenTypes.DECIMAL){if(m.hasDec)throw new Error("Two decimals are not allowed in one number");m.type!==e$1.tokenTypes.NUMBER&&(m={show:"0",value:0,type:e$1.tokenTypes.NUMBER,precedence:0},O.push(m)),k=T,t$1(R,1),f=p,m.value+=v,m.hasDec=!0;}else d===e$1.tokenTypes.POSTFIX_FUNCTION_WITH_ONE_ARG&&(k=s$1,f=r$1,t$1(R,1),O.push(H));d===e$1.tokenTypes.FUNCTION_WITH_N_ARGS?(k=n,f=p,t$1(R,C.numberOfArguments+2),O.push(H),c[y+1].type!==e$1.tokenTypes.OPENING_PARENTHESIS&&(O.push(A),R.push(C.numberOfArguments+2))):d===e$1.tokenTypes.BINARY_OPERATOR_LOW_PRECENDENCE?(m.type===e$1.tokenTypes.BINARY_OPERATOR_LOW_PRECENDENCE?m.value===this.math.add?(m.value=v,m.show=U,t$1(R,1)):m.value===this.math.sub&&"-"===U&&(m.value=this.math.add,m.show="+",t$1(R,1)):m.type!==e$1.tokenTypes.CLOSING_PARENTHESIS&&m.type!==e$1.tokenTypes.POSTFIX_FUNCTION_WITH_ONE_ARG&&m.type!==e$1.tokenTypes.NUMBER&&m.type!==e$1.tokenTypes.CONSTANT&&m.type!==e$1.tokenTypes.EVALUATED_FUNCTION_PARAMETER?"-"===S&&(k=n,f=p,t$1(R,1).push(2),O.push(_),O.push(A)):(O.push(H),t$1(R,2)),k=n,f=p):d===e$1.tokenTypes.BINARY_OPERATOR_PERMUTATION?(k=n,f=p,t$1(R,2),O.push(H)):d===e$1.tokenTypes.COMMA?(k=n,f=p,O.push(H)):d===e$1.tokenTypes.EVALUATED_FUNCTION?(k=n,f=p,t$1(R,6),O.push(H),c[y+1].type!==e$1.tokenTypes.OPENING_PARENTHESIS&&(O.push(A),R.push(6))):d===e$1.tokenTypes.EVALUATED_FUNCTION_PARAMETER&&(k=s$1,f=r$1,O.push(H)),t$1(R,-1),P=S;}else if(y>0&&y<c.length-1&&1===c[y+1].type&&(1===c[y-1].type||6===c[y-1].type))throw new Error("Unexpected Space")}for(g=R.length;g--;)O.push(i);if(!0!==k[5])throw new Error("complete the expression");for(;I--;)O.push(i);return O.push(i),O};
|
|
10516
|
+
Object.defineProperty(lexer,"__esModule",{value:!0});var e$1=token;function t$1(e,t){for(var n=0;n<e.length;n++)e[n]+=t;return e}var n={0:!0,1:!0,3:!0,4:!0,6:!0,8:!0,9:!0,12:!0,13:!0,14:!0},s$1={0:!0,1:!0,2:!0,3:!0,4:!0,5:!0,6:!0,7:!0,8:!0,9:!0,10:!0,11:!0,12:!0,13:!0},o$1={0:!0,3:!0,4:!0,8:!0,12:!0,13:!0},p={},r$1={0:!0,1:!0,3:!0,4:!0,6:!0,8:!0,12:!0,13:!0},T={1:!0},h=[[],["1","2","3","7","8","9","4","5","6","+","-","*","/","(",")","^","!","P","C","e","0",".",",","n"," ","&"],["pi","ln","Pi"],["sin","cos","tan","Del","int","Mod","log","pow"],["asin","acos","atan","cosh","root","tanh","sinh"],["acosh","atanh","asinh","Sigma"]];function E(e,t,n,s){for(var o=0;o<s;o++)if(e[n+o]!==t[o])return !1;return !0}function N(e,t){for(var n=0;n<t.length;n++)if(t[n].token===e)return n;return -1}lexer.addToken=function(t){for(var n=0;n<t.length;n++){var s=t[n].token.length,o=-1;t[n].type===e$1.tokenTypes.FUNCTION_WITH_N_ARGS&&void 0===t[n].numberOfArguments&&(t[n].numberOfArguments=2),h[s]=h[s]||[];for(var p=0;p<h[s].length;p++)if(t[n].token===h[s][p]){o=N(h[s][p],this.tokens);break}-1===o?(this.tokens.push(t[n]),t[n].precedence=e$1.preced[t[n].type],h.length<=t[n].token.length&&(h[t[n].token.length]=[]),h[t[n].token.length].push(t[n].token)):(this.tokens[o]=t[n],t[n].precedence=e$1.preced[t[n].type]);}},lexer.lex=function(u,a){var y,_={value:this.math.changeSign,type:e$1.tokenTypes.FUNCTION_WITH_ONE_ARG,precedence:4,show:"-"},i={value:")",show:")",type:e$1.tokenTypes.CLOSING_PARENTHESIS,precedence:0},A={value:"(",type:e$1.tokenTypes.OPENING_PARENTHESIS,precedence:0,show:"("},O=[A],R=[],l=u,k=n,I=0,f=p,P="";void 0!==a&&this.addToken(a);var c=function(e,t){for(var n,s,o,p=[],r=t.length,T=0;T<r;T++)if(!(T<r-1&&" "===t[T]&&" "===t[T+1])){for(n="",s=t.length-T>h.length-2?h.length-1:t.length-T;s>0;s--)if(void 0!==h[s])for(o=0;o<h[s].length;o++)E(t,h[s][o],T,s)&&(n=h[s][o],o=h[s].length,s=0);if(T+=n.length-1,""===n)throw new Error("Can't understand after "+t.slice(T));p.push(e.tokens[N(n,e.tokens)]);}return p}(this,l);for(y=0;y<c.length;y++){var C=c[y];if(14!==C.type){var g,S=C.token,d=C.type,v=C.value,w=C.precedence,U=C.show,m=O[O.length-1];for(g=R.length;g--&&0===R[g];)if(-1!==[e$1.tokenTypes.FUNCTION_WITH_ONE_ARG,e$1.tokenTypes.BINARY_OPERATOR_HIGH_PRECENDENCE,e$1.tokenTypes.CONSTANT,e$1.tokenTypes.OPENING_PARENTHESIS,e$1.tokenTypes.CLOSING_PARENTHESIS,e$1.tokenTypes.BINARY_OPERATOR_LOW_PRECENDENCE,e$1.tokenTypes.BINARY_OPERATOR_PERMUTATION,e$1.tokenTypes.COMMA,e$1.tokenTypes.EVALUATED_FUNCTION,e$1.tokenTypes.EVALUATED_FUNCTION_PARAMETER].indexOf(d)){if(!0!==k[d])throw new Error(S+" is not allowed after "+P);O.push(i),k=s$1,f=r$1,R.pop();}if(!0!==k[d])throw new Error(S+" is not allowed after "+P);!0===f[d]&&(d=e$1.tokenTypes.BINARY_OPERATOR_HIGH_PRECENDENCE,v=this.math.mul,U="×",w=3,y-=1);var H={value:v,type:d,precedence:w,show:U,numberOfArguments:C.numberOfArguments};if(d===e$1.tokenTypes.FUNCTION_WITH_ONE_ARG)k=n,f=p,t$1(R,1),O.push(H),c[y+1].type!==e$1.tokenTypes.OPENING_PARENTHESIS&&(O.push(A),R.push(2));else if(d===e$1.tokenTypes.NUMBER)m.type===e$1.tokenTypes.NUMBER?(m.value+=v,t$1(R,1)):O.push(H),k=s$1,f=o$1;else if(d===e$1.tokenTypes.BINARY_OPERATOR_HIGH_PRECENDENCE)k=n,f=p,t$1(R,2),O.push(H);else if(d===e$1.tokenTypes.CONSTANT)O.push(H),k=s$1,f=r$1;else if(d===e$1.tokenTypes.OPENING_PARENTHESIS)t$1(R,1),I++,k=n,f=p,O.push(H);else if(d===e$1.tokenTypes.CLOSING_PARENTHESIS){if(!I)throw new Error("Closing parenthesis are more than opening one, wait What!!!");I--,k=s$1,f=r$1,O.push(H),t$1(R,1);}else if(d===e$1.tokenTypes.DECIMAL){if(m.hasDec)throw new Error("Two decimals are not allowed in one number");m.type!==e$1.tokenTypes.NUMBER&&(m={show:"0",value:0,type:e$1.tokenTypes.NUMBER,precedence:0},O.push(m),t$1(R,-1)),k=T,t$1(R,1),f=p,m.value+=v,m.hasDec=!0;}else d===e$1.tokenTypes.POSTFIX_FUNCTION_WITH_ONE_ARG&&(k=s$1,f=r$1,t$1(R,1),O.push(H));d===e$1.tokenTypes.FUNCTION_WITH_N_ARGS?(k=n,f=p,t$1(R,C.numberOfArguments+2),O.push(H),c[y+1].type!==e$1.tokenTypes.OPENING_PARENTHESIS&&(O.push(A),R.push(C.numberOfArguments+2))):d===e$1.tokenTypes.BINARY_OPERATOR_LOW_PRECENDENCE?(m.type===e$1.tokenTypes.BINARY_OPERATOR_LOW_PRECENDENCE?m.value===this.math.add?(m.value=v,m.show=U,t$1(R,1)):m.value===this.math.sub&&"-"===U&&(m.value=this.math.add,m.show="+",t$1(R,1)):m.type!==e$1.tokenTypes.CLOSING_PARENTHESIS&&m.type!==e$1.tokenTypes.POSTFIX_FUNCTION_WITH_ONE_ARG&&m.type!==e$1.tokenTypes.NUMBER&&m.type!==e$1.tokenTypes.CONSTANT&&m.type!==e$1.tokenTypes.EVALUATED_FUNCTION_PARAMETER?"-"===S&&(k=n,f=p,t$1(R,1),R.push(2),O.push(_),O.push(A)):(O.push(H),t$1(R,2)),k=n,f=p):d===e$1.tokenTypes.BINARY_OPERATOR_PERMUTATION?(k=n,f=p,t$1(R,2),O.push(H)):d===e$1.tokenTypes.COMMA?(k=n,f=p,O.push(H)):d===e$1.tokenTypes.EVALUATED_FUNCTION?(k=n,f=p,t$1(R,6),O.push(H),c[y+1].type!==e$1.tokenTypes.OPENING_PARENTHESIS&&(O.push(A),R.push(6))):d===e$1.tokenTypes.EVALUATED_FUNCTION_PARAMETER&&(k=s$1,f=r$1,O.push(H)),t$1(R,-1),P=S;}else if(y>0&&y<c.length-1&&1===c[y+1].type&&(1===c[y-1].type||6===c[y-1].type))throw new Error("Unexpected Space")}for(g=R.length;g--;)O.push(i);if(!0!==k[5])throw new Error("complete the expression");for(;I--;)O.push(i);return O.push(i),O};
|
|
10521
10517
|
|
|
10522
10518
|
var postfix = {};
|
|
10523
10519
|
|