bromcom-ui 3.0.0-alpha.2 → 3.0.0-alpha.4
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/bromcom-ui/bromcom-ui.css +1 -1
- package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
- package/dist/bromcom-ui/{p-c47463b1.entry.js → p-0b7de283.entry.js} +1 -1
- package/dist/bromcom-ui/{p-a141b2bc.entry.js → p-0e75f6ba.entry.js} +1 -1
- package/dist/bromcom-ui/{p-9d41ff2a.entry.js → p-112b9a62.entry.js} +1 -1
- package/dist/bromcom-ui/p-1535f9b1.js +5 -0
- package/dist/bromcom-ui/{p-2a0b6273.entry.js → p-32ce6cf6.entry.js} +1 -1
- package/dist/bromcom-ui/{p-46628fcd.entry.js → p-33b2ed75.entry.js} +1 -1
- package/dist/bromcom-ui/{p-7416d1f6.entry.js → p-4545a13d.entry.js} +1 -1
- package/dist/bromcom-ui/p-45b811ef.entry.js +5 -0
- package/dist/bromcom-ui/{p-369948e7.entry.js → p-5532696c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-8363990a.entry.js → p-69adb859.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d4e4aeee.js → p-6ce02d0a.js} +1 -1
- package/dist/bromcom-ui/p-7c08789d.entry.js +5 -0
- package/dist/bromcom-ui/{p-22e3161d.entry.js → p-803739bc.entry.js} +1 -1
- package/dist/bromcom-ui/{p-14b04371.entry.js → p-8390dd02.entry.js} +1 -1
- package/dist/bromcom-ui/{p-217934a4.entry.js → p-8e7274e4.entry.js} +1 -1
- package/dist/bromcom-ui/p-91197b04.js +5 -0
- package/dist/bromcom-ui/{p-cbeaa059.entry.js → p-9e0dd503.entry.js} +3 -3
- package/dist/bromcom-ui/p-a320cde8.entry.js +5 -0
- package/dist/bromcom-ui/p-a80e6310.entry.js +5 -0
- package/dist/bromcom-ui/{p-b85227c8.entry.js → p-acab07ec.entry.js} +1 -1
- package/dist/bromcom-ui/{p-51ba3626.entry.js → p-b333a3d7.entry.js} +1 -1
- package/dist/bromcom-ui/{p-a080c8ea.entry.js → p-b7787c11.entry.js} +1 -1
- package/dist/bromcom-ui/{p-6f224017.entry.js → p-b7c56cbe.entry.js} +1 -1
- package/dist/bromcom-ui/{p-e7c31126.entry.js → p-c36a7889.entry.js} +1 -1
- package/dist/bromcom-ui/p-ce0ab4e3.entry.js +5 -0
- package/dist/bromcom-ui/{p-367bc8e0.js → p-d3cf91a9.js} +1 -1
- package/dist/bromcom-ui/{p-5bf051b9.entry.js → p-d7a619c5.entry.js} +1 -1
- package/dist/bromcom-ui/p-ddd9e192.entry.js +5 -0
- package/dist/bromcom-ui/{p-9015080d.entry.js → p-e36b6b08.entry.js} +1 -1
- package/dist/bromcom-ui/{p-acfceb2b.entry.js → p-f15c1d3d.entry.js} +1 -1
- package/dist/bromcom-ui/{p-858cee66.js → p-fc29c94d.js} +1 -1
- package/dist/cjs/{bcm-accordion_68.cjs.entry.js → bcm-accordion_69.cjs.entry.js} +120 -43
- package/dist/cjs/bcm-attendance-actions-comment.cjs.entry.js +4 -4
- package/dist/cjs/bcm-attendance-actions-dropdown.cjs.entry.js +4 -4
- package/dist/cjs/bcm-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/bcm-caption.cjs.entry.js +4 -4
- package/dist/cjs/bcm-card.cjs.entry.js +2 -2
- package/dist/cjs/bcm-date-picker.cjs.entry.js +2 -2
- package/dist/cjs/bcm-datetime-picker.cjs.entry.js +2 -2
- package/dist/cjs/bcm-default.cjs.entry.js +2 -2
- package/dist/cjs/bcm-form-2.cjs.entry.js +2 -2
- package/dist/cjs/bcm-input-2.cjs.entry.js +2 -2
- package/dist/cjs/bcm-input-custom.cjs.entry.js +2 -2
- package/dist/cjs/bcm-input-dropdown.cjs.entry.js +4 -4
- package/dist/cjs/bcm-modal-2-footer.cjs.entry.js +4 -4
- package/dist/cjs/bcm-modal-2-header.cjs.entry.js +4 -4
- package/dist/cjs/bcm-modal-2.cjs.entry.js +4 -4
- package/dist/cjs/bcm-number-input.cjs.entry.js +4 -4
- package/dist/cjs/bcm-segment.cjs.entry.js +51 -0
- package/dist/cjs/bcm-segmented-picker.cjs.entry.js +158 -0
- package/dist/cjs/bcm-skeleton.cjs.entry.js +4 -4
- package/dist/cjs/bcm-table.cjs.entry.js +4 -4
- package/dist/cjs/bcm-tag.cjs.entry.js +3 -3
- package/dist/cjs/bcm-time-picker.cjs.entry.js +2 -2
- package/dist/cjs/bcm-toast.cjs.entry.js +17 -11
- package/dist/cjs/bromcom-ui.cjs.js +3 -3
- package/dist/cjs/{generate-a25d8fc8.js → generate-9d1bf6b3.js} +1 -1
- package/dist/cjs/{global-08c079a8.js → global-d69a64ec.js} +1 -1
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{number-helper-3a56812f.js → number-helper-ae28b255.js} +1 -1
- package/dist/cjs/old-bcm-popover-box.cjs.entry.js +3 -3
- package/dist/cjs/old-bcm-popover.cjs.entry.js +2 -2
- package/dist/cjs/{package-6afe17f3.js → package-6de220be.js} +1 -1
- package/dist/cjs/{validators-78797513.js → validators-3381bee2.js} +1 -1
- package/dist/collection/collection-manifest.json +3 -0
- package/dist/collection/components/molecules/color-input/color-input.css +127 -0
- package/dist/collection/components/molecules/color-input/color-input.js +34 -13
- package/dist/collection/components/molecules/color-palette/color-palette.js +114 -0
- package/dist/collection/components/molecules/color-palette/color-palette.style.js +25 -0
- package/dist/collection/components/organism/list/list.js +74 -20
- package/dist/collection/components/other/segmented-picker/segment.component.js +200 -0
- package/dist/collection/components/other/segmented-picker/segment.css +28 -0
- package/dist/collection/components/other/segmented-picker/segmented-picker.component.js +365 -0
- package/dist/collection/components/other/segmented-picker/segmented-picker.css +16 -0
- package/dist/collection/components/other/segmented-picker/types.js +1 -0
- package/dist/collection/components/other/toast/toast.js +15 -9
- package/dist/collection/templates/list-item-template.js +4 -4
- package/dist/collection/templates/list-template.js +2 -2
- package/dist/components/bcm-color-input.js +18 -15
- package/dist/components/bcm-color-palette.d.ts +11 -0
- package/dist/components/bcm-color-palette.js +10 -0
- package/dist/components/bcm-segment.d.ts +11 -0
- package/dist/components/bcm-segment.js +71 -0
- package/dist/components/bcm-segmented-picker.d.ts +11 -0
- package/dist/components/bcm-segmented-picker.js +182 -0
- package/dist/components/bcm-toast.js +15 -9
- package/dist/components/color-palette.js +71 -0
- package/dist/components/generate.js +1 -1
- package/dist/components/index.d.ts +3 -0
- package/dist/components/index.js +3 -0
- package/dist/components/list.js +64 -27
- package/dist/esm/{bcm-accordion_68.entry.js → bcm-accordion_69.entry.js} +120 -44
- package/dist/esm/bcm-attendance-actions-comment.entry.js +4 -4
- package/dist/esm/bcm-attendance-actions-dropdown.entry.js +4 -4
- package/dist/esm/bcm-breadcrumb.entry.js +2 -2
- package/dist/esm/bcm-caption.entry.js +4 -4
- package/dist/esm/bcm-card.entry.js +2 -2
- package/dist/esm/bcm-date-picker.entry.js +2 -2
- package/dist/esm/bcm-datetime-picker.entry.js +2 -2
- package/dist/esm/bcm-default.entry.js +2 -2
- package/dist/esm/bcm-form-2.entry.js +2 -2
- package/dist/esm/bcm-input-2.entry.js +2 -2
- package/dist/esm/bcm-input-custom.entry.js +2 -2
- package/dist/esm/bcm-input-dropdown.entry.js +4 -4
- package/dist/esm/bcm-modal-2-footer.entry.js +4 -4
- package/dist/esm/bcm-modal-2-header.entry.js +4 -4
- package/dist/esm/bcm-modal-2.entry.js +4 -4
- package/dist/esm/bcm-number-input.entry.js +4 -4
- package/dist/esm/bcm-segment.entry.js +47 -0
- package/dist/esm/bcm-segmented-picker.entry.js +154 -0
- package/dist/esm/bcm-skeleton.entry.js +4 -4
- package/dist/esm/bcm-table.entry.js +4 -4
- package/dist/esm/bcm-tag.entry.js +3 -3
- package/dist/esm/bcm-time-picker.entry.js +2 -2
- package/dist/esm/bcm-toast.entry.js +17 -11
- package/dist/esm/bromcom-ui.js +3 -3
- package/dist/esm/{generate-a4b85775.js → generate-56d49b70.js} +1 -1
- package/dist/esm/{global-1baa11cd.js → global-97c42a5f.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{number-helper-872d5482.js → number-helper-455ab41e.js} +1 -1
- package/dist/esm/old-bcm-popover-box.entry.js +3 -3
- package/dist/esm/old-bcm-popover.entry.js +2 -2
- package/dist/esm/{package-1d6f13ed.js → package-edee14d5.js} +1 -1
- package/dist/esm/{validators-e9800e9a.js → validators-cc882165.js} +1 -1
- package/dist/types/components/molecules/color-input/color-input.d.ts +5 -4
- package/dist/types/components/molecules/color-palette/color-palette.d.ts +36 -0
- package/dist/types/components/molecules/color-palette/color-palette.style.d.ts +76 -0
- package/dist/types/components/organism/list/list.d.ts +4 -0
- package/dist/types/components/other/segmented-picker/segment.component.d.ts +42 -0
- package/dist/types/components/other/segmented-picker/segmented-picker.component.d.ts +86 -0
- package/dist/types/components/other/segmented-picker/types.d.ts +1 -0
- package/dist/types/components/other/toast/toast.d.ts +1 -0
- package/dist/types/components.d.ts +281 -0
- package/dist/types/templates/list-item-template.d.ts +2 -0
- package/dist/types/templates/list-template.d.ts +2 -0
- package/package.json +1 -1
- package/dist/bromcom-ui/p-485ed6c1.entry.js +0 -5
- package/dist/bromcom-ui/p-5c4939a7.js +0 -5
- package/dist/bromcom-ui/p-8457670e.entry.js +0 -5
- package/dist/bromcom-ui/p-dcd69786.entry.js +0 -5
- package/dist/bromcom-ui/p-e9a43560.js +0 -5
- package/dist/bromcom-ui/p-ea24a822.entry.js +0 -5
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
8
|
|
|
9
9
|
const index$1 = require('./index-c591ecec.js');
|
|
10
|
-
const generate = require('./generate-
|
|
10
|
+
const generate = require('./generate-9d1bf6b3.js');
|
|
11
11
|
const index$2 = require('./index-95ae50d0.js');
|
|
12
12
|
const stringHelper = require('./string-helper-9cdfb273.js');
|
|
13
13
|
const colorHelper = require('./color-helper-dc98a2ca.js');
|
|
14
14
|
require('./datetime-helper-eaf4fadb.js');
|
|
15
|
-
const numberHelper = require('./number-helper-
|
|
16
|
-
const validators = require('./validators-
|
|
15
|
+
const numberHelper = require('./number-helper-ae28b255.js');
|
|
16
|
+
const validators = require('./validators-3381bee2.js');
|
|
17
17
|
require('./element-dragger-a8562f82.js');
|
|
18
18
|
const bcm = require('./bcm-1d1fcf21.js');
|
|
19
19
|
const index$3 = require('./index-5279dea2.js');
|
|
@@ -30,7 +30,7 @@ const floatingUi = require('./floating-ui-5b396838.js');
|
|
|
30
30
|
const popoverPlacement = require('./popover-placement-02e6101b.js');
|
|
31
31
|
const colors = require('./colors-56282b00.js');
|
|
32
32
|
const types$1 = require('./types-3871235f.js');
|
|
33
|
-
require('./package-
|
|
33
|
+
require('./package-6de220be.js');
|
|
34
34
|
require('./colors-250d0982.js');
|
|
35
35
|
|
|
36
36
|
const accordionCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");.size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}:host{display:block}.bcm-accordion .bcm-expansion-panel{border-radius:0}.bcm-accordion .bcm-expansion-panel .bcm-expansion-panel__header{border-radius:0}.bcm-accordion .bcm-expansion-panel:first-child{border-top-left-radius:var(--bcm-ui-border-radius-default);border-top-right-radius:var(--bcm-ui-border-radius-default)}.bcm-accordion .bcm-expansion-panel:first-child .bcm-expansion-panel__header{border-top-left-radius:var(--bcm-ui-border-radius-default);border-top-right-radius:var(--bcm-ui-border-radius-default)}.bcm-accordion .bcm-expansion-panel:last-child{border-bottom-left-radius:var(--bcm-ui-border-radius-default);border-bottom-right-radius:var(--bcm-ui-border-radius-default)}.bcm-accordion .bcm-expansion-panel:last-child .bcm-expansion-panel__header{border-bottom-left-radius:var(--bcm-ui-border-radius-default);border-bottom-right-radius:var(--bcm-ui-border-radius-default)}";
|
|
@@ -2397,7 +2397,7 @@ ref, handleBlur, handleFocus, handleInput, handleChange, isEyeDropperSupported,
|
|
|
2397
2397
|
index$1.h("i", { class: "far fa-eye-dropper", onClick: () => eyeDropper() })))))));
|
|
2398
2398
|
};
|
|
2399
2399
|
|
|
2400
|
-
const ListItemTemplate = ({ item, treeview, highlight, checkboxes, size, selectedItem, openGroup, checkedItem, focusItem, searchIsOnlyChilds }) => {
|
|
2400
|
+
const ListItemTemplate = ({ item, treeview, highlight, checkboxes, size, selectedItem, openGroup, checkedItem, focusItem, searchIsOnlyChilds, disabled: parentDisabled, readonly: parentReadonly }) => {
|
|
2401
2401
|
const isHaveChildren = item.items && item.items.length > 0;
|
|
2402
2402
|
var text = stringHelper.StringHelper.htmlEntities(item.text);
|
|
2403
2403
|
let intersection = [];
|
|
@@ -2416,8 +2416,8 @@ const ListItemTemplate = ({ item, treeview, highlight, checkboxes, size, selecte
|
|
|
2416
2416
|
}
|
|
2417
2417
|
text = item.isHtmlContent ? item.isHtmlContent : item.template && intersection.length > 0 ? stringHelper.StringHelper.templateParser(item.template, Object.assign(Object.assign({}, item.itemObject), { text })) : text;
|
|
2418
2418
|
const unClickable = !treeview && item.type == "group" && !item.clickable;
|
|
2419
|
-
const disabled = item.disabled;
|
|
2420
|
-
const readonly = item.readonly;
|
|
2419
|
+
const disabled = item.disabled || parentDisabled;
|
|
2420
|
+
const readonly = item.readonly || parentReadonly;
|
|
2421
2421
|
const itemClick = (event) => {
|
|
2422
2422
|
let path = event.path || event.composedPath();
|
|
2423
2423
|
if (path.filter(x => x.attributes && x.attributes.getNamedItem("unlinked"))[0]) {
|
|
@@ -2445,13 +2445,13 @@ const ListItemTemplate = ({ item, treeview, highlight, checkboxes, size, selecte
|
|
|
2445
2445
|
treeview && (index$1.h("div", { class: "bcm-list__item-content-collapse-icon", onClick: () => collapseClick() }, isHaveChildren && index$1.h("bcm-icon", { icon: index$2.classnames('fas fa-caret-' + (item.isSearching || item.open ? 'down' : 'right')) }))),
|
|
2446
2446
|
index$1.h("div", { class: index$2.classnames('bcm-list__item-content-text', { treeview }), onClick: (e) => itemClick(e) },
|
|
2447
2447
|
checkboxes && (treeview || (!treeview && item.type != 'group')) && (index$1.h("div", { class: "bcm-list__item-content-text-checkbox" },
|
|
2448
|
-
index$1.h(CheckboxTemplate, { indeterminate: item.indeterminate, checked: item.checked, disabled:
|
|
2448
|
+
index$1.h(CheckboxTemplate, { indeterminate: item.indeterminate, checked: item.checked, disabled: disabled }))),
|
|
2449
2449
|
index$1.h("span", Object.assign({ class: "bcm-list__item-content-text-inner" }, (item.title && { "title": item.title }), { innerHTML: text })))),
|
|
2450
2450
|
(treeview || !treeview && item.type == "group") && isHaveChildren && (index$1.h("div", { class: "bcm-list__item-childs" }, (item.isSearching || item.open || (!treeview && item.type == "group")) &&
|
|
2451
2451
|
item.items.map((item) => (index$1.h(ListItemTemplate, { highlight: highlight, item: item, searchIsOnlyChilds: searchIsOnlyChilds, treeview: treeview, checkboxes: checkboxes, size: size, selectedItem: selectedItem, checkedItem: checkedItem, openGroup: parentId => openGroup(parentId), focusItem: itemId => focusItem(itemId) })))))));
|
|
2452
2452
|
};
|
|
2453
2453
|
|
|
2454
|
-
const ListTemplate = ({ type, highlight, selectAllItem, bcmListContainer, treeview, checkboxes, checkAll, infoFooter, value, totalData, searchFound, variableText, _id, tempId, data, width, height, size, searchPlaceholder, minSearchLength, selectedItem, openGroup, checkedItem, onScrollEvent, focusItem, items, searchable, searchIsOnlyChilds, emptyText, emptyIcon, handleTransitionEnd, }) => {
|
|
2454
|
+
const ListTemplate = ({ type, highlight, selectAllItem, bcmListContainer, treeview, checkboxes, checkAll, infoFooter, value, totalData, searchFound, variableText, _id, tempId, data, width, height, size, searchPlaceholder, minSearchLength, selectedItem, openGroup, checkedItem, onScrollEvent, focusItem, items, searchable, searchIsOnlyChilds, emptyText, emptyIcon, handleTransitionEnd, disabled, readonly, }) => {
|
|
2455
2455
|
const showSelectAll = !(treeview && searchFound > 0) && !(searchFound > 0);
|
|
2456
2456
|
const setScrollHeight = () => {
|
|
2457
2457
|
const itemHeight = size === 'small' ? 28 : size === 'medium' ? 36 : 48;
|
|
@@ -2465,8 +2465,8 @@ const ListTemplate = ({ type, highlight, selectAllItem, bcmListContainer, treevi
|
|
|
2465
2465
|
index$1.h("main", { onScroll: e => onScrollEvent(e), class: "scrolling", style: Object.assign({}, (type === 'select' && { 'overscroll-behavior': 'none' })) },
|
|
2466
2466
|
index$1.h("div", { style: setScrollHeight() },
|
|
2467
2467
|
checkAll && searchFound != 0 && items && items.length > 0 && checkboxes && showSelectAll && (index$1.h("section", { class: "bcm-list__container-select-all" },
|
|
2468
|
-
index$1.h(ListItemTemplate, { size: size, item: selectAllItem, treeview: false, checkboxes: true, selectedItem: itemId => selectedItem(itemId), checkedItem: itemId => checkedItem(itemId), openGroup: parentId => openGroup(parentId), focusItem: itemId => focusItem(itemId) }))),
|
|
2469
|
-
items.map((item) => (index$1.h(ListItemTemplate, { highlight: highlight, size: size, item: item, searchIsOnlyChilds: searchIsOnlyChilds, treeview: treeview, checkboxes: checkboxes, selectedItem: itemId => selectedItem(itemId), checkedItem: itemId => checkedItem(itemId), openGroup: parentId => openGroup(parentId), focusItem: itemId => focusItem(itemId) }))),
|
|
2468
|
+
index$1.h(ListItemTemplate, { size: size, item: selectAllItem, treeview: false, checkboxes: true, selectedItem: itemId => selectedItem(itemId), checkedItem: itemId => checkedItem(itemId), openGroup: parentId => openGroup(parentId), focusItem: itemId => focusItem(itemId), disabled: disabled, readonly: readonly }))),
|
|
2469
|
+
items.map((item) => (index$1.h(ListItemTemplate, { highlight: highlight, size: size, item: item, searchIsOnlyChilds: searchIsOnlyChilds, treeview: treeview, checkboxes: checkboxes, selectedItem: itemId => selectedItem(itemId), checkedItem: itemId => checkedItem(itemId), openGroup: parentId => openGroup(parentId), focusItem: itemId => focusItem(itemId), disabled: disabled, readonly: readonly }))),
|
|
2470
2470
|
(!items || items.length === 0) && searchFound != 0 && (index$1.h("section", { class: "bcm-list__container-no-data" },
|
|
2471
2471
|
index$1.h("bcm-empty", { style: { height: 'auto' }, icon: emptyIcon },
|
|
2472
2472
|
index$1.h("span", { innerHTML: emptyText || 'No data' })))),
|
|
@@ -19862,6 +19862,8 @@ const BcmCollapseGroup = class {
|
|
|
19862
19862
|
get el() { return index$1.getElement(this); }
|
|
19863
19863
|
};
|
|
19864
19864
|
|
|
19865
|
+
const colorInputCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");.size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}:host{display:block}";
|
|
19866
|
+
|
|
19865
19867
|
const BcmColorInput = class {
|
|
19866
19868
|
constructor(hostRef) {
|
|
19867
19869
|
index$1.registerInstance(this, hostRef);
|
|
@@ -19873,20 +19875,13 @@ const BcmColorInput = class {
|
|
|
19873
19875
|
this.disabled = false;
|
|
19874
19876
|
this.readonly = false;
|
|
19875
19877
|
this.fullWidth = false;
|
|
19878
|
+
this.type = 'default';
|
|
19876
19879
|
}
|
|
19877
19880
|
handleChange(color) {
|
|
19878
19881
|
this.value = color;
|
|
19879
|
-
this.getInputElement().setValue(color);
|
|
19880
|
-
index$1.forceUpdate(this.el);
|
|
19881
|
-
}
|
|
19882
|
-
getInputElement() {
|
|
19883
|
-
return this.el.querySelector(`bcm-input`);
|
|
19884
19882
|
}
|
|
19885
|
-
|
|
19886
|
-
|
|
19887
|
-
}
|
|
19888
|
-
handleInputChanged(e) {
|
|
19889
|
-
this.getPickerElement().color = e.detail;
|
|
19883
|
+
handleInputChanged(value) {
|
|
19884
|
+
this.value = value;
|
|
19890
19885
|
}
|
|
19891
19886
|
eyeDropper() {
|
|
19892
19887
|
const eyeDropper = new window.EyeDropper();
|
|
@@ -19908,12 +19903,57 @@ const BcmColorInput = class {
|
|
|
19908
19903
|
return typeof window !== "undefined" && "EyeDropper" in window;
|
|
19909
19904
|
}
|
|
19910
19905
|
render() {
|
|
19911
|
-
return (index$1.h(index$1.Host, { class: "tw-block" }, index$1.h("bcm-input", { id: this._id + "-color", fullWidth: this.fullWidth, label: this.label, placeholder: this.placeholder, type: "text", "onBcm-change":
|
|
19906
|
+
return (index$1.h(index$1.Host, { class: "tw-block" }, index$1.h("bcm-input", { id: this._id + "-color", fullWidth: this.fullWidth, label: this.label, placeholder: this.placeholder, type: "text", disabled: this.disabled, readonly: this.readonly, "onBcm-change": ({ detail }) => this.handleInputChanged(detail), value: this.value }, index$1.h("i", { slot: "prefix", class: "tw-flex tw-h-4 tw-w-4 tw-items-center tw-justify-center tw-rounded-full tw-border tw-border-solid tw-border-color-default", style: {
|
|
19912
19907
|
backgroundColor: this.value,
|
|
19913
|
-
} }), this.isEyeDropperSupported() && index$1.h("i", { slot: "suffix", class: "far fa-eye-dropper", onClick: () => this.eyeDropper() })), index$1.h("bcm-linked", { targetId: this._id + "-color-container" }, index$1.h("bcm-colorful", { id: this._id + "-picker", color: this.value, onBcmChange:
|
|
19908
|
+
} }), this.isEyeDropperSupported() && index$1.h("i", { slot: "suffix", class: "far fa-eye-dropper", onClick: () => this.eyeDropper() })), index$1.h("bcm-linked", { targetId: this._id + "-color-container" }, this.type === 'palette' ? (index$1.h("bcm-color-palette", { id: this._id + "-picker", value: this.value, "onBcm-change": ({ detail }) => this.handleChange(detail) })) : (index$1.h("bcm-colorful", { id: this._id + "-picker", color: this.value, onBcmChange: ({ detail }) => this.handleChange(detail) })))));
|
|
19914
19909
|
}
|
|
19915
19910
|
get el() { return index$1.getElement(this); }
|
|
19916
19911
|
};
|
|
19912
|
+
BcmColorInput.style = colorInputCss;
|
|
19913
|
+
|
|
19914
|
+
const colorPaletteStyle = index$3.ce({
|
|
19915
|
+
slots: {
|
|
19916
|
+
host: "tw-flex tw-gap-4 tw-p-3 tw-bg-color-base tw-border tw-rounded-md tw-box-border tw-w-fit tw-h-fit",
|
|
19917
|
+
column: "tw-flex tw-flex-col tw-gap-4",
|
|
19918
|
+
box: "tw-w-6 tw-h-6 tw-rounded-md tw-cursor-pointer tw-transition-all tw-duration-200 tw-relative tw-flex tw-items-center tw-justify-center tw-border",
|
|
19919
|
+
},
|
|
19920
|
+
variants: {
|
|
19921
|
+
selected: {
|
|
19922
|
+
true: {
|
|
19923
|
+
box: "tw-z-10 tw-ring-2 tw-ring-primary tw-ring-offset-2 tw-scale-100 tw-border-transparent",
|
|
19924
|
+
},
|
|
19925
|
+
false: {
|
|
19926
|
+
box: "tw-border-transparent hover:tw-border-black/10 hover:tw-scale-110",
|
|
19927
|
+
},
|
|
19928
|
+
},
|
|
19929
|
+
},
|
|
19930
|
+
defaultVariants: {
|
|
19931
|
+
selected: false,
|
|
19932
|
+
},
|
|
19933
|
+
});
|
|
19934
|
+
|
|
19935
|
+
const BcmColorPalette = class {
|
|
19936
|
+
constructor(hostRef) {
|
|
19937
|
+
index$1.registerInstance(this, hostRef);
|
|
19938
|
+
this.bcmChange = index$1.createEvent(this, "bcm-change", 7);
|
|
19939
|
+
this.onColorChange = (hex) => {
|
|
19940
|
+
this.value = hex;
|
|
19941
|
+
this.bcmChange.emit(hex);
|
|
19942
|
+
};
|
|
19943
|
+
this.value = undefined;
|
|
19944
|
+
this.paletteKeys = ["orange", "yellow", "lime", "green", "teal", "cyan", "sky", "indigo", "violet", "purple", "fuchsia", "pink", "rose", "stone", "slate"];
|
|
19945
|
+
this.shades = [950, 900, 800, 700, 600, 400, 300, 200, 100, 50];
|
|
19946
|
+
}
|
|
19947
|
+
render() {
|
|
19948
|
+
const { host, column, box } = colorPaletteStyle();
|
|
19949
|
+
return (index$1.h(index$1.Host, { class: host() }, this.paletteKeys.map((colorName) => (index$1.h("div", { class: column(), key: colorName }, this.shades.map((shade) => {
|
|
19950
|
+
const colorKey = `${colorName}-${shade}`;
|
|
19951
|
+
const hex = colorHelper.ColorHelper.getTwColorToHex(colorKey);
|
|
19952
|
+
const isSelected = this.value === hex;
|
|
19953
|
+
return (index$1.h("div", { key: colorKey, class: box({ selected: isSelected }), style: { backgroundColor: hex }, onClick: () => this.onColorChange(hex) }));
|
|
19954
|
+
}))))));
|
|
19955
|
+
}
|
|
19956
|
+
};
|
|
19917
19957
|
|
|
19918
19958
|
function u$1(){return (u$1=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);}return e}).apply(this,arguments)}function c$1(e,r){if(null==e)return {};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r.indexOf(t=a[n])>=0||(o[t]=e[t]);return o}function i(e){var t=index$4.react.useRef(e),n=index$4.react.useRef(function(e){t.current&&t.current(e);});return t.current=e,n.current}var s=function(e,r,t){return void 0===r&&(r=0),void 0===t&&(t=1),e>t?t:e<r?r:e},f$1=function(e){return "touches"in e},v$1=function(e){return e&&e.ownerDocument.defaultView||self},d$1=function(e,r,t){var n=e.getBoundingClientRect(),o=f$1(r)?function(e,r){for(var t=0;t<e.length;t++)if(e[t].identifier===r)return e[t];return e[0]}(r.touches,t):r;return {left:s((o.pageX-(n.left+v$1(e).pageXOffset))/n.width),top:s((o.pageY-(n.top+v$1(e).pageYOffset))/n.height)}},h$1=function(e){!f$1(e)&&e.preventDefault();},m$1=index$4.react.memo(function(o){var a=o.onMove,l=o.onKey,s=c$1(o,["onMove","onKey"]),m=index$4.react.useRef(null),g=i(a),p=i(l),b=index$4.react.useRef(null),_=index$4.react.useRef(!1),x=index$4.react.useMemo(function(){var e=function(e){h$1(e),(f$1(e)?e.touches.length>0:e.buttons>0)&&m.current?g(d$1(m.current,e,b.current)):t(!1);},r=function(){return t(!1)};function t(t){var n=_.current,o=v$1(m.current),a=t?o.addEventListener:o.removeEventListener;a(n?"touchmove":"mousemove",e),a(n?"touchend":"mouseup",r);}return [function(e){var r=e.nativeEvent,n=m.current;if(n&&(h$1(r),!function(e,r){return r&&!f$1(e)}(r,_.current)&&n)){if(f$1(r)){_.current=!0;var o=r.changedTouches||[];o.length&&(b.current=o[0].identifier);}n.focus(),g(d$1(n,r,b.current)),t(!0);}},function(e){var r=e.which||e.keyCode;r<37||r>40||(e.preventDefault(),p({left:39===r?.05:37===r?-.05:0,top:40===r?.05:38===r?-.05:0}));},t]},[p,g]),C=x[0],E=x[1],H=x[2];return index$4.react.useEffect(function(){return H},[H]),index$4.react.createElement("div",u$1({},s,{onTouchStart:C,onMouseDown:C,className:"react-colorful__interactive",ref:m,onKeyDown:E,tabIndex:0,role:"slider"}))}),g$1=function(e){return e.filter(Boolean).join(" ")},p$1=function(r){var t=r.color,n=r.left,o=r.top,a=void 0===o?.5:o,l=g$1(["react-colorful__pointer",r.className]);return index$4.react.createElement("div",{className:l,style:{top:100*a+"%",left:100*n+"%"}},index$4.react.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},b$1=function(e,r,t){return void 0===r&&(r=0),void 0===t&&(t=Math.pow(10,r)),Math.round(t*e)/t},x=function(e){return L(C(e))},C=function(e){return "#"===e[0]&&(e=e.substring(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:4===e.length?b$1(parseInt(e[3]+e[3],16)/255,2):1}:{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16),a:8===e.length?b$1(parseInt(e.substring(6,8),16)/255,2):1}},w=function(e){return K(I(e))},y=function(e){var r=e.s,t=e.v,n=e.a,o=(200-r)*t/100;return {h:b$1(e.h),s:b$1(o>0&&o<200?r*t/100/(o<=100?o:200-o)*100:0),l:b$1(o/2),a:b$1(n,2)}},q$1=function(e){var r=y(e);return "hsl("+r.h+", "+r.s+"%, "+r.l+"%)"},I=function(e){var r=e.h,t=e.s,n=e.v,o=e.a;r=r/360*6,t/=100,n/=100;var a=Math.floor(r),l=n*(1-t),u=n*(1-(r-a)*t),c=n*(1-(1-r+a)*t),i=a%6;return {r:b$1(255*[n,u,l,l,c,n][i]),g:b$1(255*[c,n,n,u,l,l][i]),b:b$1(255*[l,l,c,n,n,u][i]),a:b$1(o,2)}},D=function(e){var r=e.toString(16);return r.length<2?"0"+r:r},K=function(e){var r=e.r,t=e.g,n=e.b,o=e.a,a=o<1?D(b$1(255*o)):"";return "#"+D(r)+D(t)+D(n)+a},L=function(e){var r=e.r,t=e.g,n=e.b,o=e.a,a=Math.max(r,t,n),l=a-Math.min(r,t,n),u=l?a===r?(t-n)/l:a===t?2+(n-r)/l:4+(r-t)/l:0;return {h:b$1(60*(u<0?u+6:u)),s:b$1(a?l/a*100:0),v:b$1(a/255*100),a:o}},S=index$4.react.memo(function(r){var t=r.hue,n=r.onChange,o=g$1(["react-colorful__hue",r.className]);return index$4.react.createElement("div",{className:o},index$4.react.createElement(m$1,{onMove:function(e){n({h:360*e.left});},onKey:function(e){n({h:s(t+360*e.left,0,360)});},"aria-label":"Hue","aria-valuenow":b$1(t),"aria-valuemax":"360","aria-valuemin":"0"},index$4.react.createElement(p$1,{className:"react-colorful__hue-pointer",left:t/360,color:q$1({h:t,s:100,v:100,a:1})})))}),T=index$4.react.memo(function(r){var t=r.hsva,n=r.onChange,o={backgroundColor:q$1({h:t.h,s:100,v:100,a:1})};return index$4.react.createElement("div",{className:"react-colorful__saturation",style:o},index$4.react.createElement(m$1,{onMove:function(e){n({s:100*e.left,v:100-100*e.top});},onKey:function(e){n({s:s(t.s+100*e.left,0,100),v:s(t.v-100*e.top,0,100)});},"aria-label":"Color","aria-valuetext":"Saturation "+b$1(t.s)+"%, Brightness "+b$1(t.v)+"%"},index$4.react.createElement(p$1,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:q$1(t)})))}),F=function(e,r){if(e===r)return !0;for(var t in e)if(e[t]!==r[t])return !1;return !0},X=function(e,r){return e.toLowerCase()===r.toLowerCase()||F(C(e),C(r))};function Y(e,t,l){var u=i(l),c=index$4.react.useState(function(){return e.toHsva(t)}),s=c[0],f=c[1],v=index$4.react.useRef({color:t,hsva:s});index$4.react.useEffect(function(){if(!e.equal(t,v.current.color)){var r=e.toHsva(t);v.current={hsva:r,color:t},f(r);}},[t,e]),index$4.react.useEffect(function(){var r;F(s,v.current.hsva)||e.equal(r=e.fromHsva(s),v.current.color)||(v.current={hsva:s,color:r},u(r));},[s,e,u]);var d=index$4.react.useCallback(function(e){f(function(r){return Object.assign({},r,e)});},[]);return [s,d]}var V="undefined"!=typeof window?index$4.react.useLayoutEffect:index$4.react.useEffect,$=function(){return ("undefined"!=typeof __webpack_nonce__?__webpack_nonce__:void 0)},J=new Map,Q=function(e){V(function(){var r=e.current?e.current.ownerDocument:document;if(void 0!==r&&!J.has(r)){var t=r.createElement("style");t.innerHTML='.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url(\'data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity=".05"><path d="M8 0h8v8H8zM0 8h8v8H0z"/></svg>\')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}',J.set(r,t);var n=$();n&&t.setAttribute("nonce",n),r.head.appendChild(t);}},[]);},U=function(t){var n=t.className,o=t.colorModel,a=t.color,l=void 0===a?o.defaultColor:a,i=t.onChange,s=c$1(t,["className","colorModel","color","onChange"]),f=index$4.react.useRef(null);Q(f);var v=Y(o,l,i),d=v[0],h=v[1],m=g$1(["react-colorful",n]);return index$4.react.createElement("div",u$1({},s,{ref:f,className:m}),index$4.react.createElement(T,{hsva:d,onChange:h}),index$4.react.createElement(S,{hue:d.h,onChange:h,className:"react-colorful__last-control"}))},W={defaultColor:"000",toHsva:x,fromHsva:function(e){return w({h:e.h,s:e.s,v:e.v,a:1})},equal:X},Z=function(r){return index$4.react.createElement(U,u$1({},r,{colorModel:W}))};
|
|
19919
19959
|
|
|
@@ -27065,6 +27105,7 @@ const BcmList = class {
|
|
|
27065
27105
|
this.shouldTriggerChange = undefined;
|
|
27066
27106
|
this.placement = bcm.Bcm.Placement["bottom-start"];
|
|
27067
27107
|
this.disableChangeEvent = false;
|
|
27108
|
+
this.autoFocusSelected = false;
|
|
27068
27109
|
this.data = [];
|
|
27069
27110
|
window.addEventListener("scroll", this.handleWheel.bind(this), true);
|
|
27070
27111
|
window.addEventListener("wheel", this.handleWheel.bind(this), true);
|
|
@@ -27177,6 +27218,7 @@ const BcmList = class {
|
|
|
27177
27218
|
}
|
|
27178
27219
|
}
|
|
27179
27220
|
async handleOpen() {
|
|
27221
|
+
const isAutoSelected = this.autoFocusSelected && this.type == "select" && !this.checkboxes && this.value;
|
|
27180
27222
|
if (this.isOpen) {
|
|
27181
27223
|
this.detectClone();
|
|
27182
27224
|
if (this.type == "select" || this.type == "autocomplete" || this.linkedComponent) {
|
|
@@ -27191,10 +27233,15 @@ const BcmList = class {
|
|
|
27191
27233
|
this.onSelectSearch();
|
|
27192
27234
|
await utils.delay(50);
|
|
27193
27235
|
this.isOpenAnimation = true;
|
|
27236
|
+
if (isAutoSelected) {
|
|
27237
|
+
this.focusSelectedElement();
|
|
27238
|
+
}
|
|
27194
27239
|
}
|
|
27195
27240
|
else {
|
|
27241
|
+
if (!isAutoSelected) {
|
|
27242
|
+
this.listScrollToTop();
|
|
27243
|
+
}
|
|
27196
27244
|
this.isOpenAnimation = false;
|
|
27197
|
-
this.listScrollToTop();
|
|
27198
27245
|
this.close.emit();
|
|
27199
27246
|
this.listClose.emit();
|
|
27200
27247
|
await utils.delay(100);
|
|
@@ -27547,22 +27594,33 @@ const BcmList = class {
|
|
|
27547
27594
|
this.markForCheck();
|
|
27548
27595
|
}
|
|
27549
27596
|
async initState() {
|
|
27550
|
-
var _a, _b, _c;
|
|
27597
|
+
var _a, _b, _c, _d, _e;
|
|
27551
27598
|
this.onClearSearch();
|
|
27552
27599
|
await listState.setValue({
|
|
27553
27600
|
id: this._id,
|
|
27554
27601
|
dataSource: this.data && generate.snq(() => (typeof this.data == "string" ? JSON.parse(this.data) : this.data), []),
|
|
27555
27602
|
options: this,
|
|
27556
27603
|
});
|
|
27557
|
-
const { totalRoots, totalItems } = listState.getValue(this._id);
|
|
27604
|
+
const { totalRoots, totalItems, dataSource } = listState.getValue(this._id);
|
|
27558
27605
|
this.totalData = (totalItems === null || totalItems === void 0 ? void 0 : totalItems.total) || 0;
|
|
27559
27606
|
this.totalRootData = totalRoots || 0;
|
|
27560
27607
|
this.value = this.checkboxes ? (await this.getCheckedList()).checkedList : listState.selectedItem(this._id) ? listState.selectedItem(this._id)[0] : null;
|
|
27608
|
+
/** @description Focus selected element * BUG 282262 */
|
|
27609
|
+
if (this.autoFocusSelected && this.type == "select" && this.value && !this.checkboxes) {
|
|
27610
|
+
const selectedId = Array.isArray(this.value) ? (_a = this.value[0]) === null || _a === void 0 ? void 0 : _a.id : (_b = this.value) === null || _b === void 0 ? void 0 : _b.id;
|
|
27611
|
+
if (selectedId && dataSource) {
|
|
27612
|
+
const selectedIndex = dataSource.findIndex(item => item.id === selectedId);
|
|
27613
|
+
if (selectedIndex !== -1 && selectedIndex >= this.limit) {
|
|
27614
|
+
this.limit = selectedIndex + 5;
|
|
27615
|
+
this.searchResultLimit = this.limit;
|
|
27616
|
+
}
|
|
27617
|
+
}
|
|
27618
|
+
}
|
|
27561
27619
|
if (!this.checkboxes) {
|
|
27562
|
-
this.inputText = generate.Generate.domParser((
|
|
27620
|
+
this.inputText = generate.Generate.domParser((_c = this.value) === null || _c === void 0 ? void 0 : _c.text) || null;
|
|
27563
27621
|
}
|
|
27564
27622
|
// checkli olan subparentların indeterminate kontrolü için
|
|
27565
|
-
if (this.checkboxes && ((
|
|
27623
|
+
if (this.checkboxes && ((_d = this.value) === null || _d === void 0 ? void 0 : _d.length) > 0) {
|
|
27566
27624
|
const checkedIDs = [];
|
|
27567
27625
|
this.value.forEach(item => {
|
|
27568
27626
|
if (!item.items || item.items.length === 0) {
|
|
@@ -27571,7 +27629,7 @@ const BcmList = class {
|
|
|
27571
27629
|
});
|
|
27572
27630
|
await this.addChecked(checkedIDs, false, false);
|
|
27573
27631
|
}
|
|
27574
|
-
await this.handleIndeterminate((
|
|
27632
|
+
await this.handleIndeterminate((_e = this.value) === null || _e === void 0 ? void 0 : _e.length, this.totalData);
|
|
27575
27633
|
await this.markForCheck();
|
|
27576
27634
|
}
|
|
27577
27635
|
async markForCheck() {
|
|
@@ -27654,20 +27712,16 @@ const BcmList = class {
|
|
|
27654
27712
|
getAutoCompleteInput() {
|
|
27655
27713
|
return document.getElementById(`bcm-list-input-tag-container-${this._id}-autocomplete-input`);
|
|
27656
27714
|
}
|
|
27715
|
+
/** @description Fixes the issue where the list appears empty during fast scrolling. */
|
|
27657
27716
|
dataScrollEvent(event) {
|
|
27658
|
-
|
|
27659
|
-
|
|
27660
|
-
|
|
27661
|
-
|
|
27662
|
-
|
|
27663
|
-
|
|
27664
|
-
|
|
27665
|
-
|
|
27666
|
-
io = null;
|
|
27667
|
-
}
|
|
27668
|
-
}
|
|
27669
|
-
}, this.options);
|
|
27670
|
-
io.observe(event.target.lastElementChild);
|
|
27717
|
+
var _a, _b;
|
|
27718
|
+
const itemHeight = this.size === 'small' ? 28 : this.size === 'large' ? 48 : 36;
|
|
27719
|
+
const currentScrollBottom = ((_a = event === null || event === void 0 ? void 0 : event.target) === null || _a === void 0 ? void 0 : _a.scrollTop) + ((_b = event === null || event === void 0 ? void 0 : event.target) === null || _b === void 0 ? void 0 : _b.clientHeight);
|
|
27720
|
+
const requiredItems = Math.ceil(currentScrollBottom / itemHeight) + 20;
|
|
27721
|
+
if (requiredItems > this.limit) {
|
|
27722
|
+
this.limit = requiredItems;
|
|
27723
|
+
this.searchResultLimit = requiredItems;
|
|
27724
|
+
}
|
|
27671
27725
|
}
|
|
27672
27726
|
async calculateLocation() {
|
|
27673
27727
|
var _a, _b;
|
|
@@ -27737,6 +27791,28 @@ const BcmList = class {
|
|
|
27737
27791
|
this.listOpen.emit();
|
|
27738
27792
|
}
|
|
27739
27793
|
}
|
|
27794
|
+
/** @description Focus selected element * BUG 282262 */
|
|
27795
|
+
focusSelectedElement() {
|
|
27796
|
+
var _a;
|
|
27797
|
+
const listElement = document.querySelector(`#bcm-list-${this._id}`);
|
|
27798
|
+
if (!listElement)
|
|
27799
|
+
return;
|
|
27800
|
+
const selectedId = (_a = this.value) === null || _a === void 0 ? void 0 : _a.id;
|
|
27801
|
+
if (selectedId) {
|
|
27802
|
+
const targetItem = listElement.querySelector(`[id*="${selectedId}"]`);
|
|
27803
|
+
if (targetItem) {
|
|
27804
|
+
targetItem.scrollIntoView({
|
|
27805
|
+
block: 'center',
|
|
27806
|
+
inline: 'nearest',
|
|
27807
|
+
behavior: 'auto'
|
|
27808
|
+
});
|
|
27809
|
+
targetItem.focus();
|
|
27810
|
+
const items = listElement.querySelectorAll(".bcm-list__item");
|
|
27811
|
+
items.forEach(i => i.classList.remove("focused"));
|
|
27812
|
+
targetItem.classList.add("focused");
|
|
27813
|
+
}
|
|
27814
|
+
}
|
|
27815
|
+
}
|
|
27740
27816
|
render() {
|
|
27741
27817
|
const { checkboxes, treeview, label, size, disabled, readonly, required, hidden, fullWidth, searchable } = this.getOptions();
|
|
27742
27818
|
const hostClasses = index$2.classnames("bcm-list", `bcm-list__size-${size}`, `bcm-list__${this.type}`, size === "large" ? "size-3" : "size-2", {
|
|
@@ -27765,7 +27841,7 @@ const BcmList = class {
|
|
|
27765
27841
|
"--min-height": openedType ? "inherit" : this.minHeight,
|
|
27766
27842
|
} }, index$1.h("div", { id: `bcm-list-label-${this._id}`, class: "bcm-list__label" }, label && (index$1.h("div", null, index$1.h("bcm-label", { tooltip: this.tooltip, size: this.size, type: this.captionType, value: label, required: required, htmlFor: this._id })))), this.type == "select" && (index$1.h("div", { id: `bcm-list-input-${this._id}`, class: bcmListInput }, index$1.h("span", { class: index$2.classnames("bcm-list__input-container", { "type-single": !checkboxes, "value-empty": !this.value }) }, this.checkboxes ? (this.value && this.value.length > 0 ? (index$1.h("bcm-rc-overflow", { data: this.tagData, maxCount: this.tagCount })) : (index$1.h("span", { class: "bcm-list__input-placeholder" }, this.placeholder))) : this.value ? (this.inputText) : (index$1.h("span", { class: "bcm-list__input-placeholder" }, this.placeholder))), index$1.h("span", { class: index$2.classnames("bcm-list__input-buttons", {
|
|
27767
27843
|
disabled: disabled,
|
|
27768
|
-
}) }, this.clearable && this.value && (index$1.h("div", { class: "bcm-list__input-buttons-button" }, index$1.h("bcm-icon", { icon: "fal fa-times", onClick: e => !disabled && this.setClear(e) }))), index$1.h("div", { class: `bcm-list__input-buttons-button caret-is ${this.isOpen && this.calculatedViewport && "caret-is-open"}` }, index$1.h("bcm-icon", { icon: `far fa-angle-down` }))))), this.type === "autocomplete" && (index$1.h("div", { id: `bcm-list-input-${this._id}`, class: index$2.classnames(bcmListInput, { "bcm-list__input-autocomplete": this.type == "autocomplete" }) }, index$1.h("span", { class: "bcm-list__input-container", id: `bcm-list-input-tag-container-${this._id}` }, this.checkboxes && index$1.h("span", { class: "bcm-list__input-tag-container", id: `bcm-list-input-tag-container-${this._id}-autocomplete` }), index$1.h("bcm-search", { id: `bcm-list-input-tag-container-${this._id}-autocomplete-input`, class: "bcm-list__autocomplete", data: this.data, clearable: true, "full-width": true, "no-caption": true, placeholder: this.placeholder })))), index$1.h(ListTemplate, { type: this.type, highlight: this.highlightText, searchable: this.type == "autocomplete" ? false : searchable, bcmListContainer: bcmListContainer, checkboxes: checkboxes, treeview: treeview, infoFooter: this.infoFooter, value: this.value, totalData: this.totalData, searchFound: this.searchFound, variableText: this.variableText, searchPlaceholder: this.searchPlaceholder, minSearchLength: this.minSearchLength, searchIsOnlyChilds: this.searchIsOnlyChilds, _id: this._id, tempId: this.tempId, checkAll: this.checkAll, data: this.getItems(), width: this.width, height: this.height, size: this.size, selectAllItem: this.selectAllItem, onScrollEvent: e => this.dataScrollEvent(e), items: this.getLimitedItems(this.searchGetParents), selectedItem: itemId => this.selectedItem(itemId), checkedItem: itemId => this.checkedItem(itemId), openGroup: parentId => this.openGroup(parentId), focusItem: itemId => this.focusItem(itemId), emptyText: this.emptyText, emptyIcon: this.emptyIcon, handleTransitionEnd: e => this.handleTransitionEnd(e) }), index$1.h(captionTemplate.CaptionTemplate, { noCaption: this.noCaption, captionType: this.captionType, captionError: this.captionError, caption: this.caption })));
|
|
27844
|
+
}) }, this.clearable && this.value && (index$1.h("div", { class: "bcm-list__input-buttons-button" }, index$1.h("bcm-icon", { icon: "fal fa-times", onClick: e => !disabled && this.setClear(e) }))), index$1.h("div", { class: `bcm-list__input-buttons-button caret-is ${this.isOpen && this.calculatedViewport && "caret-is-open"}` }, index$1.h("bcm-icon", { icon: `far fa-angle-down` }))))), this.type === "autocomplete" && (index$1.h("div", { id: `bcm-list-input-${this._id}`, class: index$2.classnames(bcmListInput, { "bcm-list__input-autocomplete": this.type == "autocomplete" }) }, index$1.h("span", { class: "bcm-list__input-container", id: `bcm-list-input-tag-container-${this._id}` }, this.checkboxes && index$1.h("span", { class: "bcm-list__input-tag-container", id: `bcm-list-input-tag-container-${this._id}-autocomplete` }), index$1.h("bcm-search", { id: `bcm-list-input-tag-container-${this._id}-autocomplete-input`, class: "bcm-list__autocomplete", data: this.data, clearable: true, "full-width": true, "no-caption": true, placeholder: this.placeholder })))), index$1.h(ListTemplate, { type: this.type, highlight: this.highlightText, searchable: this.type == "autocomplete" ? false : searchable, bcmListContainer: bcmListContainer, checkboxes: checkboxes, treeview: treeview, infoFooter: this.infoFooter, value: this.value, totalData: this.totalData, searchFound: this.searchFound, variableText: this.variableText, searchPlaceholder: this.searchPlaceholder, minSearchLength: this.minSearchLength, searchIsOnlyChilds: this.searchIsOnlyChilds, _id: this._id, tempId: this.tempId, checkAll: this.checkAll, data: this.getItems(), width: this.width, height: this.height, size: this.size, selectAllItem: this.selectAllItem, onScrollEvent: e => this.dataScrollEvent(e), items: this.getLimitedItems(this.searchGetParents), selectedItem: itemId => this.selectedItem(itemId), checkedItem: itemId => this.checkedItem(itemId), openGroup: parentId => this.openGroup(parentId), focusItem: itemId => this.focusItem(itemId), emptyText: this.emptyText, emptyIcon: this.emptyIcon, handleTransitionEnd: e => this.handleTransitionEnd(e), disabled: disabled, readonly: readonly }), index$1.h(captionTemplate.CaptionTemplate, { noCaption: this.noCaption, captionType: this.captionType, captionError: this.captionError, caption: this.caption })));
|
|
27769
27845
|
}
|
|
27770
27846
|
get el() { return index$1.getElement(this); }
|
|
27771
27847
|
static get watchers() { return {
|
|
@@ -47128,6 +47204,7 @@ exports.bcm_chip_group = BcmChipGroup;
|
|
|
47128
47204
|
exports.bcm_collapse = BcmCollapse;
|
|
47129
47205
|
exports.bcm_collapse_group = BcmCollapseGroup;
|
|
47130
47206
|
exports.bcm_color_input = BcmColorInput;
|
|
47207
|
+
exports.bcm_color_palette = BcmColorPalette;
|
|
47131
47208
|
exports.bcm_colorful = BcmColorful;
|
|
47132
47209
|
exports.bcm_date = BcmDate;
|
|
47133
47210
|
exports.bcm_divider = BcmDivider;
|
|
@@ -9,10 +9,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
9
9
|
const index$1 = require('./index-c591ecec.js');
|
|
10
10
|
require('./color-helper-dc98a2ca.js');
|
|
11
11
|
require('./datetime-helper-eaf4fadb.js');
|
|
12
|
-
const generate = require('./generate-
|
|
13
|
-
require('./number-helper-
|
|
12
|
+
const generate = require('./generate-9d1bf6b3.js');
|
|
13
|
+
require('./number-helper-ae28b255.js');
|
|
14
14
|
require('./string-helper-9cdfb273.js');
|
|
15
|
-
require('./validators-
|
|
15
|
+
require('./validators-3381bee2.js');
|
|
16
16
|
require('./element-dragger-a8562f82.js');
|
|
17
17
|
const utils = require('./utils-fc077139.js');
|
|
18
18
|
const floatingUi = require('./floating-ui-5b396838.js');
|
|
@@ -21,7 +21,7 @@ const index = require('./index-5279dea2.js');
|
|
|
21
21
|
require('./colors-56282b00.js');
|
|
22
22
|
require('./colors-250d0982.js');
|
|
23
23
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
24
|
-
require('./package-
|
|
24
|
+
require('./package-6de220be.js');
|
|
25
25
|
|
|
26
26
|
const attendanceActionCommentStyle = index.ce({
|
|
27
27
|
slots: {
|
|
@@ -9,10 +9,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
9
9
|
const index$1 = require('./index-c591ecec.js');
|
|
10
10
|
require('./color-helper-dc98a2ca.js');
|
|
11
11
|
require('./datetime-helper-eaf4fadb.js');
|
|
12
|
-
const generate = require('./generate-
|
|
13
|
-
require('./number-helper-
|
|
12
|
+
const generate = require('./generate-9d1bf6b3.js');
|
|
13
|
+
require('./number-helper-ae28b255.js');
|
|
14
14
|
require('./string-helper-9cdfb273.js');
|
|
15
|
-
require('./validators-
|
|
15
|
+
require('./validators-3381bee2.js');
|
|
16
16
|
require('./element-dragger-a8562f82.js');
|
|
17
17
|
const floatingUi = require('./floating-ui-5b396838.js');
|
|
18
18
|
const bcm = require('./bcm-1d1fcf21.js');
|
|
@@ -22,7 +22,7 @@ require('./colors-56282b00.js');
|
|
|
22
22
|
require('./utils-fc077139.js');
|
|
23
23
|
require('./colors-250d0982.js');
|
|
24
24
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
25
|
-
require('./package-
|
|
25
|
+
require('./package-6de220be.js');
|
|
26
26
|
|
|
27
27
|
const attendanceActionDropdownStyle = index.ce({
|
|
28
28
|
slots: {
|
|
@@ -8,9 +8,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
8
8
|
|
|
9
9
|
const index = require('./index-c591ecec.js');
|
|
10
10
|
const index$1 = require('./index-95ae50d0.js');
|
|
11
|
-
const generate = require('./generate-
|
|
11
|
+
const generate = require('./generate-9d1bf6b3.js');
|
|
12
12
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
13
|
-
require('./package-
|
|
13
|
+
require('./package-6de220be.js');
|
|
14
14
|
require('./colors-250d0982.js');
|
|
15
15
|
|
|
16
16
|
const breadcrumbCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");.size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}.bcm-breadcrumb{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;flex-wrap:wrap;color:var(--bcm-color-grey-7)}.bcm-breadcrumb__item{display:flex;align-items:center}.bcm-breadcrumb .seperator{cursor:default;display:inline-flex;align-items:center;justify-content:center;margin-left:8px;margin-right:8px;color:var(--bcm-color-grey-7)}.bcm-breadcrumb bcm-link:hover{color:var(--bcm-color-grey-7)}.bcm-breadcrumb .active{color:var(--bcm-color-grey-8)}.bcm-breadcrumb .active:hover{color:var(--bcm-color-grey-8)}.bcm-breadcrumb .is-link:hover{color:var(--bcm-color-prime-blue-6)}.bcm-breadcrumb .is-link:hover bcm-link,.bcm-breadcrumb .is-link:hover bcm-icon{color:var(--bcm-color-prime-blue-6)}.bcm-breadcrumb__dropdown-item{position:relative;display:inline-flex}.bcm-breadcrumb__dropdown-item summary{display:inline-flex;align-items:center;cursor:pointer}.bcm-breadcrumb__dropdown-item summary>span{display:inline-flex;align-items:center}.bcm-breadcrumb__dropdown-item summary::-webkit-details-marker{display:none}.bcm-breadcrumb__dropdown-item summary:focus{outline:none}.bcm-breadcrumb__dropdown-item summary.open bcm-link,.bcm-breadcrumb__dropdown-item summary.open bcm-icon{color:var(--bcm-color-prime-blue-6)}.bcm-breadcrumb__dropdown-item summary .down-icon{margin-left:4px}.bcm-breadcrumb__dropdown-submenu{position:absolute;min-width:140px;background-color:var(--bcm-color-grey-1);box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);margin-top:4px}.bcm-breadcrumb__dropdown-submenu .dropdown-item{display:flex;padding:4px 8px}.bcm-breadcrumb__dropdown-submenu .dropdown-item bcm-link{width:100%}";
|
|
@@ -14,16 +14,16 @@ require('./index-95ae50d0.js');
|
|
|
14
14
|
require('./types-cc4adee7.js');
|
|
15
15
|
require('./color-helper-dc98a2ca.js');
|
|
16
16
|
require('./datetime-helper-eaf4fadb.js');
|
|
17
|
-
require('./generate-
|
|
18
|
-
require('./number-helper-
|
|
19
|
-
require('./validators-
|
|
17
|
+
require('./generate-9d1bf6b3.js');
|
|
18
|
+
require('./number-helper-ae28b255.js');
|
|
19
|
+
require('./validators-3381bee2.js');
|
|
20
20
|
require('./element-dragger-a8562f82.js');
|
|
21
21
|
require('./types-7523fd99.js');
|
|
22
22
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
23
23
|
require('./colors-56282b00.js');
|
|
24
24
|
require('./utils-fc077139.js');
|
|
25
25
|
require('./colors-250d0982.js');
|
|
26
|
-
require('./package-
|
|
26
|
+
require('./package-6de220be.js');
|
|
27
27
|
|
|
28
28
|
const BcmCaption = class {
|
|
29
29
|
constructor(hostRef) {
|
|
@@ -9,14 +9,14 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
9
9
|
const index = require('./index-c591ecec.js');
|
|
10
10
|
const index$1 = require('./index-95ae50d0.js');
|
|
11
11
|
const colorHelper = require('./color-helper-dc98a2ca.js');
|
|
12
|
-
const generate = require('./generate-
|
|
12
|
+
const generate = require('./generate-9d1bf6b3.js');
|
|
13
13
|
const stringHelper = require('./string-helper-9cdfb273.js');
|
|
14
14
|
const slotTemplate = require('./slot-template-df7b5b59.js');
|
|
15
15
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
16
16
|
require('./colors-56282b00.js');
|
|
17
17
|
require('./utils-fc077139.js');
|
|
18
18
|
require('./colors-250d0982.js');
|
|
19
|
-
require('./package-
|
|
19
|
+
require('./package-6de220be.js');
|
|
20
20
|
require('./bcm-1d1fcf21.js');
|
|
21
21
|
|
|
22
22
|
const cardCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");@import url(\"https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap\"); .size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}*{box-sizing:border-box}.bcm-card{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:block;width:100%;background-color:var(--bcm-new-ds-color-white);border-radius:8px;box-shadow:0 1px 3px 0 rgba(17, 24, 38, 0.1);box-sizing:border-box}.bcm-card__header,.bcm-card__body,.bcm-card__footer{display:block;width:100%}.bcm-card__header{border-radius:8px 8px 0 0;padding:12px 24px;color:var(--bcm-new-ds-color-slate-700);font-weight:600}.bcm-card__body{padding:12px 24px}.bcm-card__footer{padding:12px 24px;border-radius:0 0 8px 8px}";
|
|
@@ -10,11 +10,11 @@ const index = require('./index-c591ecec.js');
|
|
|
10
10
|
const index$1 = require('./index-95ae50d0.js');
|
|
11
11
|
const isLoadDecorator = require('./is-load-decorator-15036f37.js');
|
|
12
12
|
const datetimeHelper = require('./datetime-helper-eaf4fadb.js');
|
|
13
|
-
const generate = require('./generate-
|
|
13
|
+
const generate = require('./generate-9d1bf6b3.js');
|
|
14
14
|
const bcm = require('./bcm-1d1fcf21.js');
|
|
15
15
|
const utils = require('./utils-fc077139.js');
|
|
16
16
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
17
|
-
require('./package-
|
|
17
|
+
require('./package-6de220be.js');
|
|
18
18
|
require('./colors-250d0982.js');
|
|
19
19
|
|
|
20
20
|
const datePickerCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");.size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}:host{display:inline-flex;width:100%;max-width:256px}:host(.full-width){max-width:100%}:host(.hidden){display:none}:host(.linked-component){display:none}";
|
|
@@ -11,13 +11,13 @@ const elementDragger = require('./element-dragger-a8562f82.js');
|
|
|
11
11
|
const index$1 = require('./index-95ae50d0.js');
|
|
12
12
|
const datetimeHelper = require('./datetime-helper-eaf4fadb.js');
|
|
13
13
|
const utils = require('./utils-fc077139.js');
|
|
14
|
-
const generate = require('./generate-
|
|
14
|
+
const generate = require('./generate-9d1bf6b3.js');
|
|
15
15
|
const bcm = require('./bcm-1d1fcf21.js');
|
|
16
16
|
const popoverPlacement = require('./popover-placement-02e6101b.js');
|
|
17
17
|
const labelTemplate = require('./label-template-fc301e0c.js');
|
|
18
18
|
const isLoadDecorator = require('./is-load-decorator-15036f37.js');
|
|
19
19
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
20
|
-
require('./package-
|
|
20
|
+
require('./package-6de220be.js');
|
|
21
21
|
require('./colors-250d0982.js');
|
|
22
22
|
require('./string-helper-9cdfb273.js');
|
|
23
23
|
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
8
|
|
|
9
9
|
const index = require('./index-c591ecec.js');
|
|
10
|
-
const generate = require('./generate-
|
|
11
|
-
require('./package-
|
|
10
|
+
const generate = require('./generate-9d1bf6b3.js');
|
|
11
|
+
require('./package-6de220be.js');
|
|
12
12
|
require('./colors-250d0982.js');
|
|
13
13
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
14
14
|
|
|
@@ -8,10 +8,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
8
8
|
|
|
9
9
|
const index = require('./index-c591ecec.js');
|
|
10
10
|
const isLoadDecorator = require('./is-load-decorator-15036f37.js');
|
|
11
|
-
const generate = require('./generate-
|
|
11
|
+
const generate = require('./generate-9d1bf6b3.js');
|
|
12
12
|
const stringHelper = require('./string-helper-9cdfb273.js');
|
|
13
13
|
const bcm = require('./bcm-1d1fcf21.js');
|
|
14
|
-
require('./package-
|
|
14
|
+
require('./package-6de220be.js');
|
|
15
15
|
require('./colors-250d0982.js');
|
|
16
16
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
17
17
|
|
|
@@ -9,12 +9,12 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
9
9
|
const index = require('./index-c591ecec.js');
|
|
10
10
|
const index$1 = require('./index-95ae50d0.js');
|
|
11
11
|
const isLoadDecorator = require('./is-load-decorator-15036f37.js');
|
|
12
|
-
const generate = require('./generate-
|
|
12
|
+
const generate = require('./generate-9d1bf6b3.js');
|
|
13
13
|
const bcm = require('./bcm-1d1fcf21.js');
|
|
14
14
|
const captionTemplate = require('./caption-template-f8a78504.js');
|
|
15
15
|
const input_style = require('./input.style-bee84fb0.js');
|
|
16
16
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
17
|
-
require('./package-
|
|
17
|
+
require('./package-6de220be.js');
|
|
18
18
|
require('./colors-250d0982.js');
|
|
19
19
|
require('./index-5279dea2.js');
|
|
20
20
|
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
8
|
|
|
9
9
|
const index = require('./index-c591ecec.js');
|
|
10
|
-
const generate = require('./generate-
|
|
10
|
+
const generate = require('./generate-9d1bf6b3.js');
|
|
11
11
|
const index$1 = require('./index-95ae50d0.js');
|
|
12
|
-
require('./package-
|
|
12
|
+
require('./package-6de220be.js');
|
|
13
13
|
require('./colors-250d0982.js');
|
|
14
14
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
15
15
|
|
|
@@ -9,10 +9,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
9
9
|
const index$1 = require('./index-c591ecec.js');
|
|
10
10
|
require('./color-helper-dc98a2ca.js');
|
|
11
11
|
require('./datetime-helper-eaf4fadb.js');
|
|
12
|
-
const generate = require('./generate-
|
|
13
|
-
require('./number-helper-
|
|
12
|
+
const generate = require('./generate-9d1bf6b3.js');
|
|
13
|
+
require('./number-helper-ae28b255.js');
|
|
14
14
|
require('./string-helper-9cdfb273.js');
|
|
15
|
-
require('./validators-
|
|
15
|
+
require('./validators-3381bee2.js');
|
|
16
16
|
require('./element-dragger-a8562f82.js');
|
|
17
17
|
const bcm = require('./bcm-1d1fcf21.js');
|
|
18
18
|
const captionTemplate = require('./caption-template-f8a78504.js');
|
|
@@ -24,7 +24,7 @@ require('./colors-56282b00.js');
|
|
|
24
24
|
require('./utils-fc077139.js');
|
|
25
25
|
require('./colors-250d0982.js');
|
|
26
26
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
27
|
-
require('./package-
|
|
27
|
+
require('./package-6de220be.js');
|
|
28
28
|
|
|
29
29
|
const inputDropdownStyle = index.ce({
|
|
30
30
|
slots: {
|
|
@@ -9,10 +9,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
9
9
|
const index = require('./index-c591ecec.js');
|
|
10
10
|
require('./color-helper-dc98a2ca.js');
|
|
11
11
|
require('./datetime-helper-eaf4fadb.js');
|
|
12
|
-
const generate = require('./generate-
|
|
13
|
-
require('./number-helper-
|
|
12
|
+
const generate = require('./generate-9d1bf6b3.js');
|
|
13
|
+
require('./number-helper-ae28b255.js');
|
|
14
14
|
require('./string-helper-9cdfb273.js');
|
|
15
|
-
require('./validators-
|
|
15
|
+
require('./validators-3381bee2.js');
|
|
16
16
|
require('./element-dragger-a8562f82.js');
|
|
17
17
|
require('./bcm-1d1fcf21.js');
|
|
18
18
|
const index$1 = require('./index-95ae50d0.js');
|
|
@@ -20,7 +20,7 @@ require('./colors-56282b00.js');
|
|
|
20
20
|
require('./utils-fc077139.js');
|
|
21
21
|
require('./colors-250d0982.js');
|
|
22
22
|
require('./_commonjsHelpers-ed84c3ca.js');
|
|
23
|
-
require('./package-
|
|
23
|
+
require('./package-6de220be.js');
|
|
24
24
|
|
|
25
25
|
const BcmModal2Footer = class {
|
|
26
26
|
constructor(hostRef) {
|