bromcom-ui 2.8.1-rc.7 → 2.8.1-rc.9
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.esm.js +1 -1
- package/dist/bromcom-ui/{p-71d1cbb0.entry.js → p-00fd6de2.entry.js} +1 -1
- package/dist/bromcom-ui/{p-6142e665.entry.js → p-016a9d78.entry.js} +1 -1
- package/dist/bromcom-ui/{p-f0decd2c.entry.js → p-0372f13a.entry.js} +1 -1
- package/dist/bromcom-ui/p-037a40a6.entry.js +5 -0
- package/dist/bromcom-ui/{p-5e16dc0d.entry.js → p-09d1d69d.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ea231da5.entry.js → p-0a404cf9.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c9f7da49.entry.js → p-10d55ac5.entry.js} +1 -1
- package/dist/bromcom-ui/{p-dac5b02f.entry.js → p-125d13c0.entry.js} +1 -1
- package/dist/bromcom-ui/{p-3a9bd078.entry.js → p-1736eee9.entry.js} +1 -1
- package/dist/bromcom-ui/p-2053339a.entry.js +5 -0
- package/dist/bromcom-ui/p-28345f61.js +5 -0
- package/dist/bromcom-ui/{p-8014c999.entry.js → p-284542a6.entry.js} +1 -1
- package/dist/bromcom-ui/{p-b46319c6.entry.js → p-34efb8eb.entry.js} +1 -1
- package/dist/bromcom-ui/{p-7d1521d0.entry.js → p-3642f316.entry.js} +1 -1
- package/dist/bromcom-ui/p-3b3f7c54.entry.js +5 -0
- package/dist/bromcom-ui/{p-81f5c47a.entry.js → p-3c15cdb7.entry.js} +1 -1
- package/dist/bromcom-ui/{p-7db15a47.entry.js → p-40d258ce.entry.js} +1 -1
- package/dist/bromcom-ui/{p-0ccb5661.entry.js → p-494df97b.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1111b66f.entry.js → p-4cbc9da5.entry.js} +1 -1
- package/dist/bromcom-ui/{p-eb263e83.js → p-508580f7.js} +1 -1
- package/dist/bromcom-ui/{p-f064c29d.entry.js → p-585fbc98.entry.js} +1 -1
- package/dist/bromcom-ui/{p-a701d70b.entry.js → p-5de5cb0d.entry.js} +1 -1
- package/dist/bromcom-ui/{p-84ade15c.entry.js → p-6af5bc87.entry.js} +1 -1
- package/dist/bromcom-ui/{p-3a62dd08.entry.js → p-6b692c54.entry.js} +1 -1
- package/dist/bromcom-ui/{p-6a4f8e4c.entry.js → p-6cf8afd4.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ec9999ae.entry.js → p-6ea2108c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-b68ce4fa.entry.js → p-73f70b2f.entry.js} +1 -1
- package/dist/bromcom-ui/{p-70379604.entry.js → p-7aa855fc.entry.js} +1 -1
- package/dist/bromcom-ui/{p-099bdffd.entry.js → p-7b5ddef4.entry.js} +1 -1
- package/dist/bromcom-ui/{p-28616298.entry.js → p-8114163e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-95c1da48.entry.js → p-83bae50b.entry.js} +1 -1
- package/dist/bromcom-ui/{p-caa3f649.entry.js → p-88078128.entry.js} +2 -2
- package/dist/bromcom-ui/p-8aa77fd1.js +5 -0
- package/dist/bromcom-ui/{p-2bc7c6fd.entry.js → p-8c2bf4ad.entry.js} +1 -1
- package/dist/bromcom-ui/{p-9abb6abe.entry.js → p-90981da9.entry.js} +1 -1
- package/dist/bromcom-ui/{p-27449f4e.entry.js → p-92924b7e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-f80f3faa.entry.js → p-997c4fbd.entry.js} +1 -1
- package/dist/bromcom-ui/{p-247ba43c.entry.js → p-9b0855f6.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1277d746.js → p-a3453263.js} +1 -1
- package/dist/bromcom-ui/{p-224281ad.entry.js → p-a6f5fe0b.entry.js} +1 -1
- package/dist/bromcom-ui/{p-eadedc9d.entry.js → p-ab51aa2b.entry.js} +1 -1
- package/dist/bromcom-ui/{p-960562fe.js → p-b3584d64.js} +1 -1
- package/dist/bromcom-ui/{p-1705a810.entry.js → p-b94bdddf.entry.js} +1 -1
- package/dist/bromcom-ui/{p-b90c5be6.entry.js → p-bc7ccd4e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-bc622c0a.entry.js → p-bfb70c75.entry.js} +1 -1
- package/dist/bromcom-ui/{p-379ed4f7.entry.js → p-c5bd9dd7.entry.js} +1 -1
- package/dist/bromcom-ui/p-c818a4fc.entry.js +5 -0
- package/dist/bromcom-ui/{p-3afbdc3b.entry.js → p-c8c9d35e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-5e1ccb81.entry.js → p-cc45ea99.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d4582e3a.entry.js → p-d657a132.entry.js} +1 -1
- package/dist/bromcom-ui/{p-77a197bf.entry.js → p-daf2ed63.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c7af1847.entry.js → p-e17e1e3e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-0cf7b77c.entry.js → p-e28100e6.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c78c29f2.entry.js → p-e60380c6.entry.js} +1 -1
- package/dist/bromcom-ui/{p-8401a784.entry.js → p-ebc87fe9.entry.js} +1 -1
- package/dist/bromcom-ui/p-ed9bf8e9.js +5 -0
- package/dist/bromcom-ui/{p-4807f4c8.entry.js → p-ee75e899.entry.js} +1 -1
- package/dist/bromcom-ui/{p-089fcee9.entry.js → p-f8b03d4d.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c39213da.js → p-fe1532b5.js} +1 -1
- package/dist/cjs/bcm-accordion.cjs.entry.js +1 -1
- package/dist/cjs/bcm-alert.cjs.entry.js +1 -1
- package/dist/cjs/bcm-attendance.cjs.entry.js +1 -1
- package/dist/cjs/bcm-avatar_2.cjs.entry.js +3 -3
- package/dist/cjs/bcm-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/bcm-button-group.cjs.entry.js +1 -1
- package/dist/cjs/bcm-button_7.cjs.entry.js +4 -4
- package/dist/cjs/bcm-card.cjs.entry.js +1 -1
- package/dist/cjs/bcm-checkbox-lite_9.cjs.entry.js +1 -1
- package/dist/cjs/bcm-chip.cjs.entry.js +1 -1
- package/dist/cjs/bcm-collapse.cjs.entry.js +1 -1
- package/dist/cjs/bcm-color-input.cjs.entry.js +3 -3
- package/dist/cjs/bcm-colorful_2.cjs.entry.js +21 -10
- package/dist/cjs/bcm-content.cjs.entry.js +22 -0
- package/dist/cjs/bcm-date-picker.cjs.entry.js +1 -1
- package/dist/cjs/bcm-datetime-picker.cjs.entry.js +1 -1
- package/dist/cjs/bcm-default.cjs.entry.js +1 -1
- package/dist/cjs/bcm-drawer.cjs.entry.js +3 -3
- package/dist/cjs/bcm-dropdown.cjs.entry.js +3 -10
- package/dist/cjs/bcm-expansion-panel.cjs.entry.js +1 -1
- package/dist/cjs/bcm-form-2.cjs.entry.js +1 -1
- package/dist/cjs/bcm-input-custom.cjs.entry.js +1 -1
- package/dist/cjs/bcm-input.cjs.entry.js +5 -5
- package/dist/cjs/bcm-item.cjs.entry.js +1 -1
- package/dist/cjs/bcm-items.cjs.entry.js +1 -1
- package/dist/cjs/bcm-list.cjs.entry.js +4 -4
- package/dist/cjs/bcm-menu.cjs.entry.js +4 -4
- package/dist/cjs/bcm-modal-2-footer.cjs.entry.js +3 -3
- package/dist/cjs/bcm-modal-2-header.cjs.entry.js +3 -3
- package/dist/cjs/bcm-modal-2.cjs.entry.js +3 -3
- package/dist/cjs/bcm-modal.cjs.entry.js +1 -1
- package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +1 -1
- package/dist/cjs/bcm-popconfirm.cjs.entry.js +1 -1
- package/dist/cjs/bcm-popover.cjs.entry.js +3 -3
- package/dist/cjs/bcm-progress.cjs.entry.js +1 -1
- package/dist/cjs/bcm-radio-group.cjs.entry.js +3 -3
- package/dist/cjs/bcm-radio.cjs.entry.js +3 -3
- package/dist/cjs/bcm-range.cjs.entry.js +1 -1
- package/dist/cjs/bcm-rc-overflow_2.cjs.entry.js +5 -5
- package/dist/cjs/bcm-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/bcm-step.cjs.entry.js +2 -2
- package/dist/cjs/bcm-stepper.cjs.entry.js +4 -4
- package/dist/cjs/bcm-switch.cjs.entry.js +1 -1
- package/dist/cjs/bcm-tab-group.cjs.entry.js +3 -3
- package/dist/cjs/bcm-tab-item-header.cjs.entry.js +3 -3
- package/dist/cjs/bcm-tab-item.cjs.entry.js +3 -3
- package/dist/cjs/bcm-tag.cjs.entry.js +2 -2
- package/dist/cjs/bcm-textarea.cjs.entry.js +3 -3
- package/dist/cjs/bcm-time-picker.cjs.entry.js +1 -1
- package/dist/cjs/bcm-toast.cjs.entry.js +1 -1
- package/dist/cjs/bromcom-ui.cjs.js +1 -1
- package/dist/cjs/{generate-3b515be0.js → generate-cf48ed2d.js} +10 -1
- package/dist/cjs/{input-template-1b14f694.js → input-template-129e6e5b.js} +1 -1
- package/dist/cjs/{json-parse-decarator-1e0b27fc.js → json-parse-decarator-f0554ad2.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{number-helper-78bef435.js → number-helper-453e02ee.js} +1 -1
- package/dist/cjs/old-bcm-popover-box.cjs.entry.js +2 -2
- package/dist/cjs/old-bcm-popover.cjs.entry.js +1 -1
- package/dist/cjs/{stepper-states-a173b2f9.js → stepper-states-3082dce8.js} +1 -1
- package/dist/cjs/{tooltip-helper-cbdb9694.js → tooltip-helper-748b4ab6.js} +3 -3
- package/dist/cjs/{validators-d05e58ec.js → validators-2fcf98d3.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/molecules/dropdown/dropdown.js +1 -8
- package/dist/collection/components/molecules/input/input.css +0 -4
- package/dist/collection/components/molecules/linked/linked.js +17 -6
- package/dist/collection/components/molecules/search/search.css +0 -4
- package/dist/collection/components/molecules/textarea/textarea.css +0 -4
- package/dist/collection/components/other/content/content.js +15 -0
- package/dist/collection/components/third-parts/colorful/colorful.css +0 -4
- package/dist/collection/helper/generate.js +9 -0
- package/dist/components/bcm-content.d.ts +11 -0
- package/dist/components/bcm-content.js +35 -0
- package/dist/components/bcm-dropdown.js +1 -8
- package/dist/components/bcm-textarea.js +1 -1
- package/dist/components/colorful.js +1 -1
- package/dist/components/generate.js +10 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +1 -0
- package/dist/components/input.js +1 -1
- package/dist/components/linked.js +17 -6
- package/dist/components/search.js +1 -1
- package/dist/esm/bcm-accordion.entry.js +1 -1
- package/dist/esm/bcm-alert.entry.js +1 -1
- package/dist/esm/bcm-attendance.entry.js +1 -1
- package/dist/esm/bcm-avatar_2.entry.js +3 -3
- package/dist/esm/bcm-breadcrumb.entry.js +1 -1
- package/dist/esm/bcm-button-group.entry.js +1 -1
- package/dist/esm/bcm-button_7.entry.js +4 -4
- package/dist/esm/bcm-card.entry.js +1 -1
- package/dist/esm/bcm-checkbox-lite_9.entry.js +1 -1
- package/dist/esm/bcm-chip.entry.js +1 -1
- package/dist/esm/bcm-collapse.entry.js +1 -1
- package/dist/esm/bcm-color-input.entry.js +3 -3
- package/dist/esm/bcm-colorful_2.entry.js +21 -10
- package/dist/esm/bcm-content.entry.js +18 -0
- package/dist/esm/bcm-date-picker.entry.js +1 -1
- package/dist/esm/bcm-datetime-picker.entry.js +1 -1
- package/dist/esm/bcm-default.entry.js +1 -1
- package/dist/esm/bcm-drawer.entry.js +3 -3
- package/dist/esm/bcm-dropdown.entry.js +3 -10
- package/dist/esm/bcm-expansion-panel.entry.js +1 -1
- package/dist/esm/bcm-form-2.entry.js +1 -1
- package/dist/esm/bcm-input-custom.entry.js +1 -1
- package/dist/esm/bcm-input.entry.js +5 -5
- package/dist/esm/bcm-item.entry.js +1 -1
- package/dist/esm/bcm-items.entry.js +1 -1
- package/dist/esm/bcm-list.entry.js +4 -4
- package/dist/esm/bcm-menu.entry.js +4 -4
- package/dist/esm/bcm-modal-2-footer.entry.js +3 -3
- package/dist/esm/bcm-modal-2-header.entry.js +3 -3
- package/dist/esm/bcm-modal-2.entry.js +3 -3
- package/dist/esm/bcm-modal.entry.js +1 -1
- package/dist/esm/bcm-popconfirm-box.entry.js +1 -1
- package/dist/esm/bcm-popconfirm.entry.js +1 -1
- package/dist/esm/bcm-popover.entry.js +3 -3
- package/dist/esm/bcm-progress.entry.js +1 -1
- package/dist/esm/bcm-radio-group.entry.js +3 -3
- package/dist/esm/bcm-radio.entry.js +3 -3
- package/dist/esm/bcm-range.entry.js +1 -1
- package/dist/esm/bcm-rc-overflow_2.entry.js +5 -5
- package/dist/esm/bcm-skeleton.entry.js +1 -1
- package/dist/esm/bcm-step.entry.js +2 -2
- package/dist/esm/bcm-stepper.entry.js +4 -4
- package/dist/esm/bcm-switch.entry.js +1 -1
- package/dist/esm/bcm-tab-group.entry.js +3 -3
- package/dist/esm/bcm-tab-item-header.entry.js +3 -3
- package/dist/esm/bcm-tab-item.entry.js +3 -3
- package/dist/esm/bcm-tag.entry.js +2 -2
- package/dist/esm/bcm-textarea.entry.js +3 -3
- package/dist/esm/bcm-time-picker.entry.js +1 -1
- package/dist/esm/bcm-toast.entry.js +1 -1
- package/dist/esm/bromcom-ui.js +1 -1
- package/dist/esm/{generate-e10b1934.js → generate-03cf1f82.js} +10 -1
- package/dist/esm/{input-template-1623e33b.js → input-template-6137ed1b.js} +1 -1
- package/dist/esm/{json-parse-decarator-a189d280.js → json-parse-decarator-699aaeeb.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{number-helper-b716bb66.js → number-helper-61c91978.js} +1 -1
- package/dist/esm/old-bcm-popover-box.entry.js +2 -2
- package/dist/esm/old-bcm-popover.entry.js +1 -1
- package/dist/esm/{stepper-states-e3f05768.js → stepper-states-0fc18a9f.js} +1 -1
- package/dist/esm/{tooltip-helper-964c44e7.js → tooltip-helper-a06cb0a2.js} +3 -3
- package/dist/esm/{validators-4bd10aec.js → validators-c6a4a8ac.js} +1 -1
- package/dist/types/components/molecules/dropdown/dropdown.d.ts +0 -1
- package/dist/types/components/molecules/linked/linked.d.ts +2 -0
- package/dist/types/components/other/content/content.d.ts +6 -0
- package/dist/types/components.d.ts +13 -0
- package/package.json +1 -1
- package/dist/bromcom-ui/p-90cbe5f5.js +0 -5
- package/dist/bromcom-ui/p-9da02687.entry.js +0 -5
- package/dist/bromcom-ui/p-bde7d664.js +0 -5
- package/dist/bromcom-ui/p-bf3f15b8.entry.js +0 -5
- package/dist/bromcom-ui/p-f7e0e546.entry.js +0 -5
- package/dist/bromcom-ui/p-fc0e42e7.js +0 -5
|
@@ -11,8 +11,8 @@ require('./element-dragger-a8562f82.js');
|
|
|
11
11
|
const popoverPlacement = require('./popover-placement-3c8f3a72.js');
|
|
12
12
|
const floatingUi = require('./floating-ui-74eb26d6.js');
|
|
13
13
|
const index$1 = require('./index-fdbf5226.js');
|
|
14
|
-
const generate = require('./generate-
|
|
15
|
-
const numberHelper = require('./number-helper-
|
|
14
|
+
const generate = require('./generate-cf48ed2d.js');
|
|
15
|
+
const numberHelper = require('./number-helper-453e02ee.js');
|
|
16
16
|
const stringHelper = require('./string-helper-45cffee0.js');
|
|
17
17
|
require('./utils-fc077139.js');
|
|
18
18
|
require('./bcm-634604e3.js');
|
|
@@ -9,7 +9,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
9
9
|
const index = require('./index-ddfd6d8f.js');
|
|
10
10
|
const index$1 = require('./index-fdbf5226.js');
|
|
11
11
|
const bcm = require('./bcm-634604e3.js');
|
|
12
|
-
const generate = require('./generate-
|
|
12
|
+
const generate = require('./generate-cf48ed2d.js');
|
|
13
13
|
require('./_commonjsHelpers-bd20f4c0.js');
|
|
14
14
|
require('./colors-e1d142ad.js');
|
|
15
15
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
'use strict';
|
|
6
6
|
|
|
7
7
|
const index = require('./index-4506fcd7.js');
|
|
8
|
-
const generate = require('./generate-
|
|
8
|
+
const generate = require('./generate-cf48ed2d.js');
|
|
9
9
|
const index$1 = require('./index-ddfd6d8f.js');
|
|
10
10
|
|
|
11
11
|
const { state } = index.createStore({
|
|
@@ -10,9 +10,9 @@ const utils = require('./utils-fc077139.js');
|
|
|
10
10
|
const floatingUi = require('./floating-ui-74eb26d6.js');
|
|
11
11
|
const colorHelper = require('./color-helper-d6d2028b.js');
|
|
12
12
|
require('./datetime-helper-eaf4fadb.js');
|
|
13
|
-
const generate = require('./generate-
|
|
14
|
-
require('./number-helper-
|
|
15
|
-
require('./validators-
|
|
13
|
+
const generate = require('./generate-cf48ed2d.js');
|
|
14
|
+
require('./number-helper-453e02ee.js');
|
|
15
|
+
require('./validators-2fcf98d3.js');
|
|
16
16
|
const bcm = require('./bcm-634604e3.js');
|
|
17
17
|
|
|
18
18
|
class Tooltip {
|
|
@@ -60,6 +60,7 @@
|
|
|
60
60
|
"./components/organism/time-picker/time-picker.js",
|
|
61
61
|
"./components/other/attendance/attendance.js",
|
|
62
62
|
"./components/other/box/box.js",
|
|
63
|
+
"./components/other/content/content.js",
|
|
63
64
|
"./components/other/data-table/table.js",
|
|
64
65
|
"./components/other/default/default.js",
|
|
65
66
|
"./components/other/input-custom/input-custom.js",
|
|
@@ -69,13 +69,6 @@ export class BcmDropdown {
|
|
|
69
69
|
handleSlotItems({ detail }) {
|
|
70
70
|
this.data = detail;
|
|
71
71
|
}
|
|
72
|
-
componentDidLoad() {
|
|
73
|
-
var _a;
|
|
74
|
-
const bcmContent = this.el.querySelector('bcm-content');
|
|
75
|
-
if (bcmContent) {
|
|
76
|
-
(_a = document.getElementById(this.menuId)) === null || _a === void 0 ? void 0 : _a.appendChild(bcmContent);
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
72
|
setActiveAttribute(e) {
|
|
80
73
|
if (e.detail) {
|
|
81
74
|
this.bcmDropdownChange.emit(e.detail);
|
|
@@ -95,7 +88,7 @@ export class BcmDropdown {
|
|
|
95
88
|
'bcm-dropdown__icon--open': isOpen,
|
|
96
89
|
});
|
|
97
90
|
const dropdownIcon = (h("span", { class: iconClasses }, h("bcm-icon", { icon: this.dropdownIcon })));
|
|
98
|
-
return (h(Host, { class: hostClasses }, h("span", { hidden: true }, h("slot", null)), this.noStyle && h("slot", null), !this.noStyle && (h("bcm-button", Object.assign({ class: "main-button", id: `${this._id}-button` }, attributes, (icon && { icon }), (href && type === 'split' && { href }), (target && type === 'split' && { target }), (fullWidth && { fullWidth })), h("slot", null), type === 'dropdown' && dropdownIcon)), !this.noStyle && type === 'split' && (h("bcm-button", Object.assign({ id: `${this._id}-button-split`, class: "split-button" }, attributes), dropdownIcon)), h("bcm-linked", { id: `${this.menuId}`, "target-id": `${this._id}-button${type === 'split' ? '-split' : ''}`, placement: this.placement || (type === 'dropdown' ? 'bottom-start' : 'bottom-end'), "max-height": this.maxHeight, "min-height": this.minHeight, height: this.height, "on-bcm-open": e => { var _a; return ((_a = e === null || e === void 0 ? void 0 : e.target) === null || _a === void 0 ? void 0 : _a.id) == this.menuId && (this.isOpen = e.detail); } }, this.data && this.data.length > 0 && h("bcm-menu", { data: this.data, selectable: this.selectable, "on-bcm-click": e => this.bcmClick.emit(e.detail), "onBcm-menu-change": e => this.setActiveAttribute(e), gap: this.gap, dropdown: true }))));
|
|
91
|
+
return (h(Host, { class: hostClasses }, h("span", { hidden: true }, h("slot", null)), this.noStyle && h("slot", null), !this.noStyle && (h("bcm-button", Object.assign({ class: "main-button", id: `${this._id}-button` }, attributes, (icon && { icon }), (href && type === 'split' && { href }), (target && type === 'split' && { target }), (fullWidth && { fullWidth })), h("slot", null), type === 'dropdown' && dropdownIcon)), !this.noStyle && type === 'split' && (h("bcm-button", Object.assign({ id: `${this._id}-button-split`, class: "split-button" }, attributes), dropdownIcon)), h("bcm-linked", { id: `${this.menuId}`, "target-id": `${this._id}-button${type === 'split' ? '-split' : ''}`, placement: this.placement || (type === 'dropdown' ? 'bottom-start' : 'bottom-end'), "max-height": this.maxHeight, "min-height": this.minHeight, height: this.height, "on-bcm-open": e => { var _a; return ((_a = e === null || e === void 0 ? void 0 : e.target) === null || _a === void 0 ? void 0 : _a.id) == this.menuId && (this.isOpen = e.detail); } }, this.data && this.data.length > 0 && h("bcm-menu", { data: this.data, selectable: this.selectable, "on-bcm-click": e => this.bcmClick.emit(e.detail), "onBcm-menu-change": e => this.setActiveAttribute(e), gap: this.gap, dropdown: true }), h("slot", { name: "content" }))));
|
|
99
92
|
}
|
|
100
93
|
static get is() { return "bcm-dropdown"; }
|
|
101
94
|
static get originalStyleUrls() {
|
|
@@ -356,7 +356,6 @@
|
|
|
356
356
|
-moz-appearance: none;
|
|
357
357
|
appearance: none;
|
|
358
358
|
outline: none;
|
|
359
|
-
white-space: nowrap;
|
|
360
359
|
overflow: hidden;
|
|
361
360
|
text-overflow: ellipsis;
|
|
362
361
|
}
|
|
@@ -446,9 +445,6 @@
|
|
|
446
445
|
.bcm-input__container--large {
|
|
447
446
|
font-size: 16px;
|
|
448
447
|
}
|
|
449
|
-
.bcm-input__textarea .bcm-input-element {
|
|
450
|
-
white-space: normal;
|
|
451
|
-
}
|
|
452
448
|
.bcm-input__textarea.clearable .bcm-input-element {
|
|
453
449
|
padding-right: 24px;
|
|
454
450
|
}
|
|
@@ -45,11 +45,11 @@ export class BcmLinked {
|
|
|
45
45
|
}
|
|
46
46
|
calculatePosition() {
|
|
47
47
|
const el = this.el;
|
|
48
|
-
if (el && this.target()) {
|
|
48
|
+
if (el && this.target() && this.htmlContent) {
|
|
49
49
|
if (this.isOpen) {
|
|
50
50
|
FloatingUI({
|
|
51
51
|
ref: this.target(),
|
|
52
|
-
floating:
|
|
52
|
+
floating: this.htmlContent,
|
|
53
53
|
placement: this.placement,
|
|
54
54
|
offset: 4,
|
|
55
55
|
autoHidden: el.getAttribute("main-linked") === "true" ? false : true,
|
|
@@ -81,8 +81,18 @@ export class BcmLinked {
|
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
componentDidLoad() {
|
|
84
|
+
this.htmlContent = this.el.querySelector(".linked-content");
|
|
84
85
|
this.init();
|
|
85
|
-
|
|
86
|
+
this.updateBody();
|
|
87
|
+
}
|
|
88
|
+
updateBody() {
|
|
89
|
+
const bcmOverlayContainer = document.querySelector("#bcm-overlay-container");
|
|
90
|
+
if (this.isOpen) {
|
|
91
|
+
bcmOverlayContainer.appendChild(this.htmlContent);
|
|
92
|
+
}
|
|
93
|
+
else {
|
|
94
|
+
this.htmlContent.remove();
|
|
95
|
+
}
|
|
86
96
|
}
|
|
87
97
|
triggerWatch(newValue) {
|
|
88
98
|
if (newValue === Bcm.TriggerType.hover) {
|
|
@@ -90,6 +100,7 @@ export class BcmLinked {
|
|
|
90
100
|
}
|
|
91
101
|
}
|
|
92
102
|
watchIsOpen() {
|
|
103
|
+
this.updateBody();
|
|
93
104
|
this.bcmOpen.emit(this.isOpen);
|
|
94
105
|
}
|
|
95
106
|
onLinkedDataDismis() {
|
|
@@ -104,7 +115,7 @@ export class BcmLinked {
|
|
|
104
115
|
wait && (await delay(50));
|
|
105
116
|
const target = this.target();
|
|
106
117
|
if (target) {
|
|
107
|
-
document.body.appendChild(this.el);
|
|
118
|
+
// document.body.appendChild(this.el);
|
|
108
119
|
target.setAttribute("linked-is-open", "true");
|
|
109
120
|
this.isOpen = true;
|
|
110
121
|
this.calculatePosition();
|
|
@@ -134,7 +145,7 @@ export class BcmLinked {
|
|
|
134
145
|
if (this.trigger === Bcm.TriggerType.hover)
|
|
135
146
|
return;
|
|
136
147
|
const isTarget = Generate.findEventPath(e, this.target());
|
|
137
|
-
const isSelf = Generate.findEventPath(e, this.
|
|
148
|
+
const isSelf = Generate.findEventPath(e, this.htmlContent);
|
|
138
149
|
const isLinked = Generate.findEventPathWithNodeName(e, "BCM-LINKED");
|
|
139
150
|
if (!isTarget && !isSelf && !isLinked) {
|
|
140
151
|
this.hide();
|
|
@@ -183,7 +194,7 @@ export class BcmLinked {
|
|
|
183
194
|
}
|
|
184
195
|
render() {
|
|
185
196
|
const openStyle = this.isOpen ? { visibility: "visible", opacity: "1" } : { visibility: "hidden", opacity: "0" };
|
|
186
|
-
return (h(Host, { class: "tw-invisible tw-absolute tw-left-0 tw-top-0 tw-z-tooltip tw-block tw-overscroll-contain tw-scroll-smooth tw-rounded tw-bg-white tw-opacity-0 tw-shadow tw-transition-opacity tw-duration-100", style: Object.assign(Object.assign({}, openStyle), { overflow: "auto" }) }, h("slot", null)));
|
|
197
|
+
return (h(Host, { class: "tw-hidden" }, h("div", { class: "linked-content tw-invisible tw-absolute tw-left-0 tw-top-0 tw-z-tooltip tw-block tw-overscroll-contain tw-scroll-smooth tw-rounded tw-bg-white tw-opacity-0 tw-shadow tw-transition-opacity tw-duration-100", style: Object.assign(Object.assign({}, openStyle), { overflow: "auto" }) }, h("slot", null))));
|
|
187
198
|
}
|
|
188
199
|
static get is() { return "bcm-linked"; }
|
|
189
200
|
static get properties() {
|
|
@@ -356,7 +356,6 @@
|
|
|
356
356
|
-moz-appearance: none;
|
|
357
357
|
appearance: none;
|
|
358
358
|
outline: none;
|
|
359
|
-
white-space: nowrap;
|
|
360
359
|
overflow: hidden;
|
|
361
360
|
text-overflow: ellipsis;
|
|
362
361
|
}
|
|
@@ -446,9 +445,6 @@
|
|
|
446
445
|
.bcm-input__container--large {
|
|
447
446
|
font-size: 16px;
|
|
448
447
|
}
|
|
449
|
-
.bcm-input__textarea .bcm-input-element {
|
|
450
|
-
white-space: normal;
|
|
451
|
-
}
|
|
452
448
|
.bcm-input__textarea.clearable .bcm-input-element {
|
|
453
449
|
padding-right: 24px;
|
|
454
450
|
}
|
|
@@ -356,7 +356,6 @@
|
|
|
356
356
|
-moz-appearance: none;
|
|
357
357
|
appearance: none;
|
|
358
358
|
outline: none;
|
|
359
|
-
white-space: nowrap;
|
|
360
359
|
overflow: hidden;
|
|
361
360
|
text-overflow: ellipsis;
|
|
362
361
|
}
|
|
@@ -446,9 +445,6 @@
|
|
|
446
445
|
.bcm-input__container--large {
|
|
447
446
|
font-size: 16px;
|
|
448
447
|
}
|
|
449
|
-
.bcm-input__textarea .bcm-input-element {
|
|
450
|
-
white-space: normal;
|
|
451
|
-
}
|
|
452
448
|
.bcm-input__textarea.clearable .bcm-input-element {
|
|
453
449
|
padding-right: 24px;
|
|
454
450
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Stencil
|
|
3
|
+
* Copyright (c) Bromcom.
|
|
4
|
+
*/
|
|
5
|
+
import { Host, h } from "@stencil/core";
|
|
6
|
+
export class BcmContent {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.el.slot = "content";
|
|
9
|
+
}
|
|
10
|
+
render() {
|
|
11
|
+
return (h(Host, null, h("slot", null)));
|
|
12
|
+
}
|
|
13
|
+
static get is() { return "bcm-content"; }
|
|
14
|
+
static get elementRef() { return "el"; }
|
|
15
|
+
}
|
|
@@ -356,7 +356,6 @@
|
|
|
356
356
|
-moz-appearance: none;
|
|
357
357
|
appearance: none;
|
|
358
358
|
outline: none;
|
|
359
|
-
white-space: nowrap;
|
|
360
359
|
overflow: hidden;
|
|
361
360
|
text-overflow: ellipsis;
|
|
362
361
|
}
|
|
@@ -446,9 +445,6 @@
|
|
|
446
445
|
.bcm-input__container--large {
|
|
447
446
|
font-size: 16px;
|
|
448
447
|
}
|
|
449
|
-
.bcm-input__textarea .bcm-input-element {
|
|
450
|
-
white-space: normal;
|
|
451
|
-
}
|
|
452
448
|
.bcm-input__textarea.clearable .bcm-input-element {
|
|
453
449
|
padding-right: 24px;
|
|
454
450
|
}
|
|
@@ -23,6 +23,15 @@ if (isAllowedDomain()) {
|
|
|
23
23
|
body.classList.add(`bcm-theme-${theme}`);
|
|
24
24
|
}
|
|
25
25
|
})();
|
|
26
|
+
(function checkOverlayContainer() {
|
|
27
|
+
const body = document.querySelector("body");
|
|
28
|
+
let overlayContainer = document.querySelector("#bcm-overlay-container");
|
|
29
|
+
if (!overlayContainer) {
|
|
30
|
+
overlayContainer = document.createElement("div");
|
|
31
|
+
overlayContainer.id = "bcm-overlay-container";
|
|
32
|
+
body.appendChild(overlayContainer);
|
|
33
|
+
}
|
|
34
|
+
})();
|
|
26
35
|
export class Generate {
|
|
27
36
|
static getTwColor(color, variable = "--bcm-color-default") {
|
|
28
37
|
if (!color || !colors[color]) {
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface BcmContent extends Components.BcmContent, HTMLElement {}
|
|
4
|
+
export const BcmContent: {
|
|
5
|
+
prototype: BcmContent;
|
|
6
|
+
new (): BcmContent;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Stencil
|
|
3
|
+
* Copyright (c) Bromcom.
|
|
4
|
+
*/
|
|
5
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
6
|
+
|
|
7
|
+
const BcmContent$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
8
|
+
constructor() {
|
|
9
|
+
super();
|
|
10
|
+
this.__registerHost();
|
|
11
|
+
this.el.slot = "content";
|
|
12
|
+
}
|
|
13
|
+
render() {
|
|
14
|
+
return (h(Host, null, h("slot", null)));
|
|
15
|
+
}
|
|
16
|
+
get el() { return this; }
|
|
17
|
+
}, [4, "bcm-content"]);
|
|
18
|
+
function defineCustomElement$1() {
|
|
19
|
+
if (typeof customElements === "undefined") {
|
|
20
|
+
return;
|
|
21
|
+
}
|
|
22
|
+
const components = ["bcm-content"];
|
|
23
|
+
components.forEach(tagName => { switch (tagName) {
|
|
24
|
+
case "bcm-content":
|
|
25
|
+
if (!customElements.get(tagName)) {
|
|
26
|
+
customElements.define(tagName, BcmContent$1);
|
|
27
|
+
}
|
|
28
|
+
break;
|
|
29
|
+
} });
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
const BcmContent = BcmContent$1;
|
|
33
|
+
const defineCustomElement = defineCustomElement$1;
|
|
34
|
+
|
|
35
|
+
export { BcmContent, defineCustomElement };
|
|
@@ -80,13 +80,6 @@ const BcmDropdown$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
80
80
|
handleSlotItems({ detail }) {
|
|
81
81
|
this.data = detail;
|
|
82
82
|
}
|
|
83
|
-
componentDidLoad() {
|
|
84
|
-
var _a;
|
|
85
|
-
const bcmContent = this.el.querySelector('bcm-content');
|
|
86
|
-
if (bcmContent) {
|
|
87
|
-
(_a = document.getElementById(this.menuId)) === null || _a === void 0 ? void 0 : _a.appendChild(bcmContent);
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
83
|
setActiveAttribute(e) {
|
|
91
84
|
if (e.detail) {
|
|
92
85
|
this.bcmDropdownChange.emit(e.detail);
|
|
@@ -106,7 +99,7 @@ const BcmDropdown$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
106
99
|
'bcm-dropdown__icon--open': isOpen,
|
|
107
100
|
});
|
|
108
101
|
const dropdownIcon = (h("span", { class: iconClasses }, h("bcm-icon", { icon: this.dropdownIcon })));
|
|
109
|
-
return (h(Host, { class: hostClasses }, h("span", { hidden: true }, h("slot", null)), this.noStyle && h("slot", null), !this.noStyle && (h("bcm-button", Object.assign({ class: "main-button", id: `${this._id}-button` }, attributes, (icon && { icon }), (href && type === 'split' && { href }), (target && type === 'split' && { target }), (fullWidth && { fullWidth })), h("slot", null), type === 'dropdown' && dropdownIcon)), !this.noStyle && type === 'split' && (h("bcm-button", Object.assign({ id: `${this._id}-button-split`, class: "split-button" }, attributes), dropdownIcon)), h("bcm-linked", { id: `${this.menuId}`, "target-id": `${this._id}-button${type === 'split' ? '-split' : ''}`, placement: this.placement || (type === 'dropdown' ? 'bottom-start' : 'bottom-end'), "max-height": this.maxHeight, "min-height": this.minHeight, height: this.height, "on-bcm-open": e => { var _a; return ((_a = e === null || e === void 0 ? void 0 : e.target) === null || _a === void 0 ? void 0 : _a.id) == this.menuId && (this.isOpen = e.detail); } }, this.data && this.data.length > 0 && h("bcm-menu", { data: this.data, selectable: this.selectable, "on-bcm-click": e => this.bcmClick.emit(e.detail), "onBcm-menu-change": e => this.setActiveAttribute(e), gap: this.gap, dropdown: true }))));
|
|
102
|
+
return (h(Host, { class: hostClasses }, h("span", { hidden: true }, h("slot", null)), this.noStyle && h("slot", null), !this.noStyle && (h("bcm-button", Object.assign({ class: "main-button", id: `${this._id}-button` }, attributes, (icon && { icon }), (href && type === 'split' && { href }), (target && type === 'split' && { target }), (fullWidth && { fullWidth })), h("slot", null), type === 'dropdown' && dropdownIcon)), !this.noStyle && type === 'split' && (h("bcm-button", Object.assign({ id: `${this._id}-button-split`, class: "split-button" }, attributes), dropdownIcon)), h("bcm-linked", { id: `${this.menuId}`, "target-id": `${this._id}-button${type === 'split' ? '-split' : ''}`, placement: this.placement || (type === 'dropdown' ? 'bottom-start' : 'bottom-end'), "max-height": this.maxHeight, "min-height": this.minHeight, height: this.height, "on-bcm-open": e => { var _a; return ((_a = e === null || e === void 0 ? void 0 : e.target) === null || _a === void 0 ? void 0 : _a.id) == this.menuId && (this.isOpen = e.detail); } }, this.data && this.data.length > 0 && h("bcm-menu", { data: this.data, selectable: this.selectable, "on-bcm-click": e => this.bcmClick.emit(e.detail), "onBcm-menu-change": e => this.setActiveAttribute(e), gap: this.gap, dropdown: true }), h("slot", { name: "content" }))));
|
|
110
103
|
}
|
|
111
104
|
get el() { return this; }
|
|
112
105
|
static get watchers() { return {
|
|
@@ -24,7 +24,7 @@ var ResizeType;
|
|
|
24
24
|
ResizeType["inherit"] = "inherit";
|
|
25
25
|
})(ResizeType || (ResizeType = {}));
|
|
26
26
|
|
|
27
|
-
const textareaCss = "@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\"); @import url(\"https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap\"); @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-caption-area{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;font-size:12px;line-height:calc(12px + 8px);color:var(--bcm-new-ds-color-slate-400);display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between;flex-wrap:nowrap;margin-top:2px}.bcm-caption-area__text{color:var(--bcm-new-ds-color-slate-400)}.bcm-caption-area__text.default{color:var(--bcm-new-ds-color-slate-400)}.bcm-caption-area__text.info{color:var(--bcm-new-ds-color-blue-500)}.bcm-caption-area__text.success{color:var(--bcm-new-ds-color-emerald-500)}.bcm-caption-area__text.warning{color:var(--bcm-new-ds-color-amber-500)}.bcm-caption-area__text.error{color:var(--bcm-new-ds-color-red-500)}.bcm-caption-area__size-small{font-size:10px;line-height:calc(10px + 8px);min-height:calc(10px + 8px)}.bcm-caption-area__size-medium{font-size:12px;line-height:calc(12px + 8px);min-height:calc(12px + 8px)}.bcm-caption-area__size-large{font-size:14px;line-height:calc(14px + 8px);min-height:calc(14px + 8px)}*{box-sizing:border-box}.bcm-label{display:inline-flex;align-items:flex-start;grid-gap:2px}.bcm-label__text{margin-bottom:2px;font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:inline-block;color:var(--bcm-new-ds-color-slate-600)}.bcm-label__size-small{font-size:10px;line-height:calc(10px + 8px);min-height:calc(10px + 8px)}.bcm-label__size-medium{font-size:12px;line-height:calc(12px + 8px);min-height:calc(12px + 8px)}.bcm-label__size-large{font-size:14px;line-height:calc(14px + 8px);min-height:calc(14px + 8px)}.bcm-input[no-margin]{margin:0}.bcm-textarea[no-margin]{margin:0}.bcm-switch[no-margin]{margin:0}.bcm-checkbox[no-margin]{margin:0}.bcm-radio-group[no-margin]{margin:0}.bcm-checkbox-group[no-margin]{margin:0}.bcm-range[no-margin]{margin:0}.bcm-form[no-margin]{margin:0}.bcm-form-group[no-margin]{margin:0}.bcm-list[no-margin]{margin:0}.bcm-colorpicker[no-margin]{margin:0}.bcm-date-picker[no-margin]{margin:0}.bcm-time-picker[no-margin]{margin:0}.bcm-datetime-picker[no-margin]{margin:0}.bcm-select[no-margin]{margin:0}.bcm-listbox[no-margin]{margin:0}*{box-sizing:border-box}.bcm-input{display:inline-flex;flex-direction:column;width:100%;max-width:256px;margin-bottom:8px}.bcm-input.full-width{max-width:100%}.bcm-input.hidden{display:none}.bcm-input__container{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:flex;align-items:stretch;flex-direction:row;background-color:var(--bcm-new-ds-color-white);border:1px solid var(--bcm-new-ds-color-slate-300);border-radius:4px;box-sizing:border-box;cursor:text;padding:0 0 0 4px;position:relative;width:100%}.bcm-input__container.disabled{background-color:var(--bcm-new-ds-color-slate-50);cursor:not-allowed}.bcm-input__container.disabled .bcm-input-element{color:var(--bcm-new-ds-color-slate-500)}.bcm-input__container.readonly{background-color:var(--bcm-new-ds-color-slate-50);cursor:default}.bcm-input__container.readonly .bcm-input-element{color:var(--bcm-new-ds-color-slate-600)}.bcm-input__container:not(.disabled):hover .caret-container,.bcm-input__container:not(.disabled).focused .caret-container{opacity:1}.bcm-input__container:not(.disabled):hover .input-clear-button,.bcm-input__container:not(.disabled).focused .input-clear-button{opacity:1}.bcm-input__container:not(.disabled).focused{background-color:var(--bcm-new-ds-color-slate-50)}.bcm-input__container:not(.disabled):hover{border-color:var(--bcm-color-prime-blue-6)}.bcm-input__container.empty .input-clear-button{display:none}.bcm-input__container.invalid,.bcm-input__container.error{border-color:var(--bcm-new-ds-color-red-500)}.bcm-input__container .bcm-input-element{width:100%;color:var(--bcm-new-ds-color-slate-600);flex:1;border:none;background:transparent;box-shadow:unset;padding:0 4px;font-family:\"Inter\", sans-serif;cursor:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;
|
|
27
|
+
const textareaCss = "@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\"); @import url(\"https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap\"); @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-caption-area{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;font-size:12px;line-height:calc(12px + 8px);color:var(--bcm-new-ds-color-slate-400);display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between;flex-wrap:nowrap;margin-top:2px}.bcm-caption-area__text{color:var(--bcm-new-ds-color-slate-400)}.bcm-caption-area__text.default{color:var(--bcm-new-ds-color-slate-400)}.bcm-caption-area__text.info{color:var(--bcm-new-ds-color-blue-500)}.bcm-caption-area__text.success{color:var(--bcm-new-ds-color-emerald-500)}.bcm-caption-area__text.warning{color:var(--bcm-new-ds-color-amber-500)}.bcm-caption-area__text.error{color:var(--bcm-new-ds-color-red-500)}.bcm-caption-area__size-small{font-size:10px;line-height:calc(10px + 8px);min-height:calc(10px + 8px)}.bcm-caption-area__size-medium{font-size:12px;line-height:calc(12px + 8px);min-height:calc(12px + 8px)}.bcm-caption-area__size-large{font-size:14px;line-height:calc(14px + 8px);min-height:calc(14px + 8px)}*{box-sizing:border-box}.bcm-label{display:inline-flex;align-items:flex-start;grid-gap:2px}.bcm-label__text{margin-bottom:2px;font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:inline-block;color:var(--bcm-new-ds-color-slate-600)}.bcm-label__size-small{font-size:10px;line-height:calc(10px + 8px);min-height:calc(10px + 8px)}.bcm-label__size-medium{font-size:12px;line-height:calc(12px + 8px);min-height:calc(12px + 8px)}.bcm-label__size-large{font-size:14px;line-height:calc(14px + 8px);min-height:calc(14px + 8px)}.bcm-input[no-margin]{margin:0}.bcm-textarea[no-margin]{margin:0}.bcm-switch[no-margin]{margin:0}.bcm-checkbox[no-margin]{margin:0}.bcm-radio-group[no-margin]{margin:0}.bcm-checkbox-group[no-margin]{margin:0}.bcm-range[no-margin]{margin:0}.bcm-form[no-margin]{margin:0}.bcm-form-group[no-margin]{margin:0}.bcm-list[no-margin]{margin:0}.bcm-colorpicker[no-margin]{margin:0}.bcm-date-picker[no-margin]{margin:0}.bcm-time-picker[no-margin]{margin:0}.bcm-datetime-picker[no-margin]{margin:0}.bcm-select[no-margin]{margin:0}.bcm-listbox[no-margin]{margin:0}*{box-sizing:border-box}.bcm-input{display:inline-flex;flex-direction:column;width:100%;max-width:256px;margin-bottom:8px}.bcm-input.full-width{max-width:100%}.bcm-input.hidden{display:none}.bcm-input__container{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:flex;align-items:stretch;flex-direction:row;background-color:var(--bcm-new-ds-color-white);border:1px solid var(--bcm-new-ds-color-slate-300);border-radius:4px;box-sizing:border-box;cursor:text;padding:0 0 0 4px;position:relative;width:100%}.bcm-input__container.disabled{background-color:var(--bcm-new-ds-color-slate-50);cursor:not-allowed}.bcm-input__container.disabled .bcm-input-element{color:var(--bcm-new-ds-color-slate-500)}.bcm-input__container.readonly{background-color:var(--bcm-new-ds-color-slate-50);cursor:default}.bcm-input__container.readonly .bcm-input-element{color:var(--bcm-new-ds-color-slate-600)}.bcm-input__container:not(.disabled):hover .caret-container,.bcm-input__container:not(.disabled).focused .caret-container{opacity:1}.bcm-input__container:not(.disabled):hover .input-clear-button,.bcm-input__container:not(.disabled).focused .input-clear-button{opacity:1}.bcm-input__container:not(.disabled).focused{background-color:var(--bcm-new-ds-color-slate-50)}.bcm-input__container:not(.disabled):hover{border-color:var(--bcm-color-prime-blue-6)}.bcm-input__container.empty .input-clear-button{display:none}.bcm-input__container.invalid,.bcm-input__container.error{border-color:var(--bcm-new-ds-color-red-500)}.bcm-input__container .bcm-input-element{width:100%;color:var(--bcm-new-ds-color-slate-600);flex:1;border:none;background:transparent;box-shadow:unset;padding:0 4px;font-family:\"Inter\", sans-serif;cursor:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;overflow:hidden;text-overflow:ellipsis}.bcm-input__container .bcm-input-element::placeholder{font-family:\"Inter\", sans-serif;color:var(--bcm-new-ds-color-slate-300);user-select:none}.bcm-input__container .bcm-input-element::-webkit-search-decoration,.bcm-input__container .bcm-input-element::-webkit-search-cancel-button,.bcm-input__container .bcm-input-element::-webkit-search-results-button,.bcm-input__container .bcm-input-element::-webkit-search-results-decoration,.bcm-input__container .bcm-input-element::-webkit-calendar-picker-indicator,.bcm-input__container .bcm-input-element::-webkit-inner-spin-button,.bcm-input__container .bcm-input-element::-webkit-outer-spin-button{-webkit-appearance:none}.bcm-input__container .caret-container{width:30px;display:flex;flex-direction:column;justify-content:center;align-items:stretch;border-left:1px solid #D9D9D9;transition:0.2s opacity;user-select:none;box-sizing:border-box}.bcm-input__container .caret-container .bcm-input-caret{display:flex;align-items:center;justify-content:center;color:var(--bcm-color-grey-7);cursor:pointer;flex:1}.bcm-input__container .caret-container .bcm-input-caret bcm-icon{line-height:1}.bcm-input__container .caret-container .bcm-input-caret:hover{color:var(--bcm-color-prime-blue-6)}.bcm-input__container .caret-container .bcm-input-caret:active{background-color:var(--bcm-color-grey-3)}.bcm-input__container .caret-container .bcm-input-caret:last-child{border-top:1px solid #D9D9D9}.bcm-input__container .caret-container.disabled{background-color:var(--bcm-color-grey-3)}.bcm-input__container .caret-container.disabled .bcm-input-caret{cursor:not-allowed}.bcm-input__container .input-suffix-content{display:flex;align-items:center;justify-content:center}.bcm-input__container .input-prefix:not(:empty){padding-left:4px}.bcm-input__container .input-suffix:not(:empty){min-width:24px;padding-right:4px}.bcm-input__container .input-prefix:not(:empty),.bcm-input__container .input-suffix:not(:empty){display:flex;align-items:center;justify-content:center;cursor:default;color:#64748a}.bcm-input__container .input-prefix:not(:empty) .unit-prefix,.bcm-input__container .input-suffix:not(:empty) .unit-prefix{color:#64748a}.bcm-input__container .input-prefix-button:not(:empty),.bcm-input__container .input-suffix-button:not(:empty){cursor:pointer}.bcm-input__container .caret-container,.bcm-input__container .input-clear-button{opacity:0}.bcm-input__container--small{font-size:12px}.bcm-input__container--medium{font-size:14px}.bcm-input__container--large{font-size:16px}.bcm-input__textarea.clearable .bcm-input-element{padding-right:24px}.bcm-input__textarea .input-clear-button{position:absolute;top:4px;right:0}";
|
|
28
28
|
|
|
29
29
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
30
30
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -17198,7 +17198,7 @@ var lodash = createCommonjsModule(function (module, exports) {
|
|
|
17198
17198
|
}.call(commonjsGlobal));
|
|
17199
17199
|
});
|
|
17200
17200
|
|
|
17201
|
-
const colorfulCss = "@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\"); @import url(\"https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap\"); @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-caption-area{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;font-size:12px;line-height:calc(12px + 8px);color:var(--bcm-new-ds-color-slate-400);display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between;flex-wrap:nowrap;margin-top:2px}.bcm-caption-area__text{color:var(--bcm-new-ds-color-slate-400)}.bcm-caption-area__text.default{color:var(--bcm-new-ds-color-slate-400)}.bcm-caption-area__text.info{color:var(--bcm-new-ds-color-blue-500)}.bcm-caption-area__text.success{color:var(--bcm-new-ds-color-emerald-500)}.bcm-caption-area__text.warning{color:var(--bcm-new-ds-color-amber-500)}.bcm-caption-area__text.error{color:var(--bcm-new-ds-color-red-500)}.bcm-caption-area__size-small{font-size:10px;line-height:calc(10px + 8px);min-height:calc(10px + 8px)}.bcm-caption-area__size-medium{font-size:12px;line-height:calc(12px + 8px);min-height:calc(12px + 8px)}.bcm-caption-area__size-large{font-size:14px;line-height:calc(14px + 8px);min-height:calc(14px + 8px)}*{box-sizing:border-box}.bcm-label{display:inline-flex;align-items:flex-start;grid-gap:2px}.bcm-label__text{margin-bottom:2px;font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:inline-block;color:var(--bcm-new-ds-color-slate-600)}.bcm-label__size-small{font-size:10px;line-height:calc(10px + 8px);min-height:calc(10px + 8px)}.bcm-label__size-medium{font-size:12px;line-height:calc(12px + 8px);min-height:calc(12px + 8px)}.bcm-label__size-large{font-size:14px;line-height:calc(14px + 8px);min-height:calc(14px + 8px)}.bcm-input[no-margin]{margin:0}.bcm-textarea[no-margin]{margin:0}.bcm-switch[no-margin]{margin:0}.bcm-checkbox[no-margin]{margin:0}.bcm-radio-group[no-margin]{margin:0}.bcm-checkbox-group[no-margin]{margin:0}.bcm-range[no-margin]{margin:0}.bcm-form[no-margin]{margin:0}.bcm-form-group[no-margin]{margin:0}.bcm-list[no-margin]{margin:0}.bcm-colorpicker[no-margin]{margin:0}.bcm-date-picker[no-margin]{margin:0}.bcm-time-picker[no-margin]{margin:0}.bcm-datetime-picker[no-margin]{margin:0}.bcm-select[no-margin]{margin:0}.bcm-listbox[no-margin]{margin:0}*{box-sizing:border-box}.bcm-input{display:inline-flex;flex-direction:column;width:100%;max-width:256px;margin-bottom:8px}.bcm-input.full-width{max-width:100%}.bcm-input.hidden{display:none}.bcm-input__container{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:flex;align-items:stretch;flex-direction:row;background-color:var(--bcm-new-ds-color-white);border:1px solid var(--bcm-new-ds-color-slate-300);border-radius:4px;box-sizing:border-box;cursor:text;padding:0 0 0 4px;position:relative;width:100%}.bcm-input__container.disabled{background-color:var(--bcm-new-ds-color-slate-50);cursor:not-allowed}.bcm-input__container.disabled .bcm-input-element{color:var(--bcm-new-ds-color-slate-500)}.bcm-input__container.readonly{background-color:var(--bcm-new-ds-color-slate-50);cursor:default}.bcm-input__container.readonly .bcm-input-element{color:var(--bcm-new-ds-color-slate-600)}.bcm-input__container:not(.disabled):hover .caret-container,.bcm-input__container:not(.disabled).focused .caret-container{opacity:1}.bcm-input__container:not(.disabled):hover .input-clear-button,.bcm-input__container:not(.disabled).focused .input-clear-button{opacity:1}.bcm-input__container:not(.disabled).focused{background-color:var(--bcm-new-ds-color-slate-50)}.bcm-input__container:not(.disabled):hover{border-color:var(--bcm-color-prime-blue-6)}.bcm-input__container.empty .input-clear-button{display:none}.bcm-input__container.invalid,.bcm-input__container.error{border-color:var(--bcm-new-ds-color-red-500)}.bcm-input__container .bcm-input-element{width:100%;color:var(--bcm-new-ds-color-slate-600);flex:1;border:none;background:transparent;box-shadow:unset;padding:0 4px;font-family:\"Inter\", sans-serif;cursor:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;
|
|
17201
|
+
const colorfulCss = "@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\"); @import url(\"https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap\"); @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-caption-area{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;font-size:12px;line-height:calc(12px + 8px);color:var(--bcm-new-ds-color-slate-400);display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between;flex-wrap:nowrap;margin-top:2px}.bcm-caption-area__text{color:var(--bcm-new-ds-color-slate-400)}.bcm-caption-area__text.default{color:var(--bcm-new-ds-color-slate-400)}.bcm-caption-area__text.info{color:var(--bcm-new-ds-color-blue-500)}.bcm-caption-area__text.success{color:var(--bcm-new-ds-color-emerald-500)}.bcm-caption-area__text.warning{color:var(--bcm-new-ds-color-amber-500)}.bcm-caption-area__text.error{color:var(--bcm-new-ds-color-red-500)}.bcm-caption-area__size-small{font-size:10px;line-height:calc(10px + 8px);min-height:calc(10px + 8px)}.bcm-caption-area__size-medium{font-size:12px;line-height:calc(12px + 8px);min-height:calc(12px + 8px)}.bcm-caption-area__size-large{font-size:14px;line-height:calc(14px + 8px);min-height:calc(14px + 8px)}*{box-sizing:border-box}.bcm-label{display:inline-flex;align-items:flex-start;grid-gap:2px}.bcm-label__text{margin-bottom:2px;font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:inline-block;color:var(--bcm-new-ds-color-slate-600)}.bcm-label__size-small{font-size:10px;line-height:calc(10px + 8px);min-height:calc(10px + 8px)}.bcm-label__size-medium{font-size:12px;line-height:calc(12px + 8px);min-height:calc(12px + 8px)}.bcm-label__size-large{font-size:14px;line-height:calc(14px + 8px);min-height:calc(14px + 8px)}.bcm-input[no-margin]{margin:0}.bcm-textarea[no-margin]{margin:0}.bcm-switch[no-margin]{margin:0}.bcm-checkbox[no-margin]{margin:0}.bcm-radio-group[no-margin]{margin:0}.bcm-checkbox-group[no-margin]{margin:0}.bcm-range[no-margin]{margin:0}.bcm-form[no-margin]{margin:0}.bcm-form-group[no-margin]{margin:0}.bcm-list[no-margin]{margin:0}.bcm-colorpicker[no-margin]{margin:0}.bcm-date-picker[no-margin]{margin:0}.bcm-time-picker[no-margin]{margin:0}.bcm-datetime-picker[no-margin]{margin:0}.bcm-select[no-margin]{margin:0}.bcm-listbox[no-margin]{margin:0}*{box-sizing:border-box}.bcm-input{display:inline-flex;flex-direction:column;width:100%;max-width:256px;margin-bottom:8px}.bcm-input.full-width{max-width:100%}.bcm-input.hidden{display:none}.bcm-input__container{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:flex;align-items:stretch;flex-direction:row;background-color:var(--bcm-new-ds-color-white);border:1px solid var(--bcm-new-ds-color-slate-300);border-radius:4px;box-sizing:border-box;cursor:text;padding:0 0 0 4px;position:relative;width:100%}.bcm-input__container.disabled{background-color:var(--bcm-new-ds-color-slate-50);cursor:not-allowed}.bcm-input__container.disabled .bcm-input-element{color:var(--bcm-new-ds-color-slate-500)}.bcm-input__container.readonly{background-color:var(--bcm-new-ds-color-slate-50);cursor:default}.bcm-input__container.readonly .bcm-input-element{color:var(--bcm-new-ds-color-slate-600)}.bcm-input__container:not(.disabled):hover .caret-container,.bcm-input__container:not(.disabled).focused .caret-container{opacity:1}.bcm-input__container:not(.disabled):hover .input-clear-button,.bcm-input__container:not(.disabled).focused .input-clear-button{opacity:1}.bcm-input__container:not(.disabled).focused{background-color:var(--bcm-new-ds-color-slate-50)}.bcm-input__container:not(.disabled):hover{border-color:var(--bcm-color-prime-blue-6)}.bcm-input__container.empty .input-clear-button{display:none}.bcm-input__container.invalid,.bcm-input__container.error{border-color:var(--bcm-new-ds-color-red-500)}.bcm-input__container .bcm-input-element{width:100%;color:var(--bcm-new-ds-color-slate-600);flex:1;border:none;background:transparent;box-shadow:unset;padding:0 4px;font-family:\"Inter\", sans-serif;cursor:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;overflow:hidden;text-overflow:ellipsis}.bcm-input__container .bcm-input-element::placeholder{font-family:\"Inter\", sans-serif;color:var(--bcm-new-ds-color-slate-300);user-select:none}.bcm-input__container .bcm-input-element::-webkit-search-decoration,.bcm-input__container .bcm-input-element::-webkit-search-cancel-button,.bcm-input__container .bcm-input-element::-webkit-search-results-button,.bcm-input__container .bcm-input-element::-webkit-search-results-decoration,.bcm-input__container .bcm-input-element::-webkit-calendar-picker-indicator,.bcm-input__container .bcm-input-element::-webkit-inner-spin-button,.bcm-input__container .bcm-input-element::-webkit-outer-spin-button{-webkit-appearance:none}.bcm-input__container .caret-container{width:30px;display:flex;flex-direction:column;justify-content:center;align-items:stretch;border-left:1px solid #D9D9D9;transition:0.2s opacity;user-select:none;box-sizing:border-box}.bcm-input__container .caret-container .bcm-input-caret{display:flex;align-items:center;justify-content:center;color:var(--bcm-color-grey-7);cursor:pointer;flex:1}.bcm-input__container .caret-container .bcm-input-caret bcm-icon{line-height:1}.bcm-input__container .caret-container .bcm-input-caret:hover{color:var(--bcm-color-prime-blue-6)}.bcm-input__container .caret-container .bcm-input-caret:active{background-color:var(--bcm-color-grey-3)}.bcm-input__container .caret-container .bcm-input-caret:last-child{border-top:1px solid #D9D9D9}.bcm-input__container .caret-container.disabled{background-color:var(--bcm-color-grey-3)}.bcm-input__container .caret-container.disabled .bcm-input-caret{cursor:not-allowed}.bcm-input__container .input-suffix-content{display:flex;align-items:center;justify-content:center}.bcm-input__container .input-prefix:not(:empty){padding-left:4px}.bcm-input__container .input-suffix:not(:empty){min-width:24px;padding-right:4px}.bcm-input__container .input-prefix:not(:empty),.bcm-input__container .input-suffix:not(:empty){display:flex;align-items:center;justify-content:center;cursor:default;color:#64748a}.bcm-input__container .input-prefix:not(:empty) .unit-prefix,.bcm-input__container .input-suffix:not(:empty) .unit-prefix{color:#64748a}.bcm-input__container .input-prefix-button:not(:empty),.bcm-input__container .input-suffix-button:not(:empty){cursor:pointer}.bcm-input__container .caret-container,.bcm-input__container .input-clear-button{opacity:0}.bcm-input__container--small{font-size:12px}.bcm-input__container--medium{font-size:14px}.bcm-input__container--large{font-size:16px}.bcm-input__textarea.clearable .bcm-input-element{padding-right:24px}.bcm-input__textarea .input-clear-button{position:absolute;top:4px;right:0}bcm-colorful{display:flex;flex-direction:column;width:256px;padding:8px;background-color:#fff;border-radius:4px}bcm-colorful .react-colorful{width:100%;gap:4px}bcm-colorful .react-colorful__saturation{margin:0 0 4px 0;border-radius:2px;border-bottom:none}bcm-colorful .react-colorful__hue,bcm-colorful .react-colorful__alpha{height:20px;border-radius:2px}bcm-colorful .react-colorful__hue-pointer,bcm-colorful .react-colorful__alpha-pointer{width:15px;height:15px}bcm-colorful .react-colorful__saturation-pointer{width:20px;height:20px}";
|
|
17202
17202
|
|
|
17203
17203
|
const BcmColorful = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
17204
17204
|
constructor() {
|
|
@@ -25,7 +25,7 @@ var TypeProps;
|
|
|
25
25
|
TypeProps["basic"] = "basic";
|
|
26
26
|
})(TypeProps || (TypeProps = {}));
|
|
27
27
|
|
|
28
|
-
const version = "2.8.1-rc.
|
|
28
|
+
const version = "2.8.1-rc.9";
|
|
29
29
|
|
|
30
30
|
function snq(callback, defaultValue) {
|
|
31
31
|
try {
|
|
@@ -55,6 +55,15 @@ if (isAllowedDomain()) {
|
|
|
55
55
|
body.classList.add(`bcm-theme-${theme}`);
|
|
56
56
|
}
|
|
57
57
|
})();
|
|
58
|
+
(function checkOverlayContainer() {
|
|
59
|
+
const body = document.querySelector("body");
|
|
60
|
+
let overlayContainer = document.querySelector("#bcm-overlay-container");
|
|
61
|
+
if (!overlayContainer) {
|
|
62
|
+
overlayContainer = document.createElement("div");
|
|
63
|
+
overlayContainer.id = "bcm-overlay-container";
|
|
64
|
+
body.appendChild(overlayContainer);
|
|
65
|
+
}
|
|
66
|
+
})();
|
|
58
67
|
class Generate {
|
|
59
68
|
static getTwColor(color, variable = "--bcm-color-default") {
|
|
60
69
|
if (!color || !colors[color]) {
|
|
@@ -19,6 +19,7 @@ export { BcmCollapseGroup as BcmCollapseGroup } from '../types/components/other_
|
|
|
19
19
|
export { BcmColorInput as BcmColorInput } from '../types/components/molecules/color-input/color-input';
|
|
20
20
|
export { BcmColorful as BcmColorful } from '../types/components/third-parts/colorful/colorful';
|
|
21
21
|
export { BcmColorPicker as BcmColorpicker } from '../types/components/other_deprecated/colorpicker/colorpicker';
|
|
22
|
+
export { BcmContent as BcmContent } from '../types/components/other/content/content';
|
|
22
23
|
export { BcmDatePicker as BcmDatePicker } from '../types/components/organism/date-picker/date-picker';
|
|
23
24
|
export { BcmDatetimePicker as BcmDatetimePicker } from '../types/components/organism/datetime-picker/datetime-picker';
|
|
24
25
|
export { BcmDefault as BcmDefault } from '../types/components/other/default/default';
|
package/dist/components/index.js
CHANGED
|
@@ -23,6 +23,7 @@ export { BcmCollapseGroup, defineCustomElement as defineCustomElementBcmCollapse
|
|
|
23
23
|
export { BcmColorInput, defineCustomElement as defineCustomElementBcmColorInput } from './bcm-color-input.js';
|
|
24
24
|
export { BcmColorful, defineCustomElement as defineCustomElementBcmColorful } from './bcm-colorful.js';
|
|
25
25
|
export { BcmColorpicker, defineCustomElement as defineCustomElementBcmColorpicker } from './bcm-colorpicker.js';
|
|
26
|
+
export { BcmContent, defineCustomElement as defineCustomElementBcmContent } from './bcm-content.js';
|
|
26
27
|
export { BcmDatePicker, defineCustomElement as defineCustomElementBcmDatePicker } from './bcm-date-picker.js';
|
|
27
28
|
export { BcmDatetimePicker, defineCustomElement as defineCustomElementBcmDatetimePicker } from './bcm-datetime-picker.js';
|
|
28
29
|
export { BcmDefault, defineCustomElement as defineCustomElementBcmDefault } from './bcm-default.js';
|
package/dist/components/input.js
CHANGED
|
@@ -19,7 +19,7 @@ import { d as defineCustomElement$3 } from './label.js';
|
|
|
19
19
|
import { d as defineCustomElement$2 } from './linked.js';
|
|
20
20
|
import { d as defineCustomElement$1 } from './tooltip.js';
|
|
21
21
|
|
|
22
|
-
const inputCss = "@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\"); @import url(\"https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap\"); @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-caption-area{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;font-size:12px;line-height:calc(12px + 8px);color:var(--bcm-new-ds-color-slate-400);display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between;flex-wrap:nowrap;margin-top:2px}.bcm-caption-area__text{color:var(--bcm-new-ds-color-slate-400)}.bcm-caption-area__text.default{color:var(--bcm-new-ds-color-slate-400)}.bcm-caption-area__text.info{color:var(--bcm-new-ds-color-blue-500)}.bcm-caption-area__text.success{color:var(--bcm-new-ds-color-emerald-500)}.bcm-caption-area__text.warning{color:var(--bcm-new-ds-color-amber-500)}.bcm-caption-area__text.error{color:var(--bcm-new-ds-color-red-500)}.bcm-caption-area__size-small{font-size:10px;line-height:calc(10px + 8px);min-height:calc(10px + 8px)}.bcm-caption-area__size-medium{font-size:12px;line-height:calc(12px + 8px);min-height:calc(12px + 8px)}.bcm-caption-area__size-large{font-size:14px;line-height:calc(14px + 8px);min-height:calc(14px + 8px)}*{box-sizing:border-box}.bcm-label{display:inline-flex;align-items:flex-start;grid-gap:2px}.bcm-label__text{margin-bottom:2px;font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:inline-block;color:var(--bcm-new-ds-color-slate-600)}.bcm-label__size-small{font-size:10px;line-height:calc(10px + 8px);min-height:calc(10px + 8px)}.bcm-label__size-medium{font-size:12px;line-height:calc(12px + 8px);min-height:calc(12px + 8px)}.bcm-label__size-large{font-size:14px;line-height:calc(14px + 8px);min-height:calc(14px + 8px)}.bcm-input[no-margin]{margin:0}.bcm-textarea[no-margin]{margin:0}.bcm-switch[no-margin]{margin:0}.bcm-checkbox[no-margin]{margin:0}.bcm-radio-group[no-margin]{margin:0}.bcm-checkbox-group[no-margin]{margin:0}.bcm-range[no-margin]{margin:0}.bcm-form[no-margin]{margin:0}.bcm-form-group[no-margin]{margin:0}.bcm-list[no-margin]{margin:0}.bcm-colorpicker[no-margin]{margin:0}.bcm-date-picker[no-margin]{margin:0}.bcm-time-picker[no-margin]{margin:0}.bcm-datetime-picker[no-margin]{margin:0}.bcm-select[no-margin]{margin:0}.bcm-listbox[no-margin]{margin:0}*{box-sizing:border-box}.bcm-input{display:inline-flex;flex-direction:column;width:100%;max-width:256px;margin-bottom:8px}.bcm-input.full-width{max-width:100%}.bcm-input.hidden{display:none}.bcm-input__container{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:flex;align-items:stretch;flex-direction:row;background-color:var(--bcm-new-ds-color-white);border:1px solid var(--bcm-new-ds-color-slate-300);border-radius:4px;box-sizing:border-box;cursor:text;padding:0 0 0 4px;position:relative;width:100%}.bcm-input__container.disabled{background-color:var(--bcm-new-ds-color-slate-50);cursor:not-allowed}.bcm-input__container.disabled .bcm-input-element{color:var(--bcm-new-ds-color-slate-500)}.bcm-input__container.readonly{background-color:var(--bcm-new-ds-color-slate-50);cursor:default}.bcm-input__container.readonly .bcm-input-element{color:var(--bcm-new-ds-color-slate-600)}.bcm-input__container:not(.disabled):hover .caret-container,.bcm-input__container:not(.disabled).focused .caret-container{opacity:1}.bcm-input__container:not(.disabled):hover .input-clear-button,.bcm-input__container:not(.disabled).focused .input-clear-button{opacity:1}.bcm-input__container:not(.disabled).focused{background-color:var(--bcm-new-ds-color-slate-50)}.bcm-input__container:not(.disabled):hover{border-color:var(--bcm-color-prime-blue-6)}.bcm-input__container.empty .input-clear-button{display:none}.bcm-input__container.invalid,.bcm-input__container.error{border-color:var(--bcm-new-ds-color-red-500)}.bcm-input__container .bcm-input-element{width:100%;color:var(--bcm-new-ds-color-slate-600);flex:1;border:none;background:transparent;box-shadow:unset;padding:0 4px;font-family:\"Inter\", sans-serif;cursor:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;
|
|
22
|
+
const inputCss = "@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\"); @import url(\"https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap\"); @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-caption-area{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;font-size:12px;line-height:calc(12px + 8px);color:var(--bcm-new-ds-color-slate-400);display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between;flex-wrap:nowrap;margin-top:2px}.bcm-caption-area__text{color:var(--bcm-new-ds-color-slate-400)}.bcm-caption-area__text.default{color:var(--bcm-new-ds-color-slate-400)}.bcm-caption-area__text.info{color:var(--bcm-new-ds-color-blue-500)}.bcm-caption-area__text.success{color:var(--bcm-new-ds-color-emerald-500)}.bcm-caption-area__text.warning{color:var(--bcm-new-ds-color-amber-500)}.bcm-caption-area__text.error{color:var(--bcm-new-ds-color-red-500)}.bcm-caption-area__size-small{font-size:10px;line-height:calc(10px + 8px);min-height:calc(10px + 8px)}.bcm-caption-area__size-medium{font-size:12px;line-height:calc(12px + 8px);min-height:calc(12px + 8px)}.bcm-caption-area__size-large{font-size:14px;line-height:calc(14px + 8px);min-height:calc(14px + 8px)}*{box-sizing:border-box}.bcm-label{display:inline-flex;align-items:flex-start;grid-gap:2px}.bcm-label__text{margin-bottom:2px;font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:inline-block;color:var(--bcm-new-ds-color-slate-600)}.bcm-label__size-small{font-size:10px;line-height:calc(10px + 8px);min-height:calc(10px + 8px)}.bcm-label__size-medium{font-size:12px;line-height:calc(12px + 8px);min-height:calc(12px + 8px)}.bcm-label__size-large{font-size:14px;line-height:calc(14px + 8px);min-height:calc(14px + 8px)}.bcm-input[no-margin]{margin:0}.bcm-textarea[no-margin]{margin:0}.bcm-switch[no-margin]{margin:0}.bcm-checkbox[no-margin]{margin:0}.bcm-radio-group[no-margin]{margin:0}.bcm-checkbox-group[no-margin]{margin:0}.bcm-range[no-margin]{margin:0}.bcm-form[no-margin]{margin:0}.bcm-form-group[no-margin]{margin:0}.bcm-list[no-margin]{margin:0}.bcm-colorpicker[no-margin]{margin:0}.bcm-date-picker[no-margin]{margin:0}.bcm-time-picker[no-margin]{margin:0}.bcm-datetime-picker[no-margin]{margin:0}.bcm-select[no-margin]{margin:0}.bcm-listbox[no-margin]{margin:0}*{box-sizing:border-box}.bcm-input{display:inline-flex;flex-direction:column;width:100%;max-width:256px;margin-bottom:8px}.bcm-input.full-width{max-width:100%}.bcm-input.hidden{display:none}.bcm-input__container{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:flex;align-items:stretch;flex-direction:row;background-color:var(--bcm-new-ds-color-white);border:1px solid var(--bcm-new-ds-color-slate-300);border-radius:4px;box-sizing:border-box;cursor:text;padding:0 0 0 4px;position:relative;width:100%}.bcm-input__container.disabled{background-color:var(--bcm-new-ds-color-slate-50);cursor:not-allowed}.bcm-input__container.disabled .bcm-input-element{color:var(--bcm-new-ds-color-slate-500)}.bcm-input__container.readonly{background-color:var(--bcm-new-ds-color-slate-50);cursor:default}.bcm-input__container.readonly .bcm-input-element{color:var(--bcm-new-ds-color-slate-600)}.bcm-input__container:not(.disabled):hover .caret-container,.bcm-input__container:not(.disabled).focused .caret-container{opacity:1}.bcm-input__container:not(.disabled):hover .input-clear-button,.bcm-input__container:not(.disabled).focused .input-clear-button{opacity:1}.bcm-input__container:not(.disabled).focused{background-color:var(--bcm-new-ds-color-slate-50)}.bcm-input__container:not(.disabled):hover{border-color:var(--bcm-color-prime-blue-6)}.bcm-input__container.empty .input-clear-button{display:none}.bcm-input__container.invalid,.bcm-input__container.error{border-color:var(--bcm-new-ds-color-red-500)}.bcm-input__container .bcm-input-element{width:100%;color:var(--bcm-new-ds-color-slate-600);flex:1;border:none;background:transparent;box-shadow:unset;padding:0 4px;font-family:\"Inter\", sans-serif;cursor:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;overflow:hidden;text-overflow:ellipsis}.bcm-input__container .bcm-input-element::placeholder{font-family:\"Inter\", sans-serif;color:var(--bcm-new-ds-color-slate-300);user-select:none}.bcm-input__container .bcm-input-element::-webkit-search-decoration,.bcm-input__container .bcm-input-element::-webkit-search-cancel-button,.bcm-input__container .bcm-input-element::-webkit-search-results-button,.bcm-input__container .bcm-input-element::-webkit-search-results-decoration,.bcm-input__container .bcm-input-element::-webkit-calendar-picker-indicator,.bcm-input__container .bcm-input-element::-webkit-inner-spin-button,.bcm-input__container .bcm-input-element::-webkit-outer-spin-button{-webkit-appearance:none}.bcm-input__container .caret-container{width:30px;display:flex;flex-direction:column;justify-content:center;align-items:stretch;border-left:1px solid #D9D9D9;transition:0.2s opacity;user-select:none;box-sizing:border-box}.bcm-input__container .caret-container .bcm-input-caret{display:flex;align-items:center;justify-content:center;color:var(--bcm-color-grey-7);cursor:pointer;flex:1}.bcm-input__container .caret-container .bcm-input-caret bcm-icon{line-height:1}.bcm-input__container .caret-container .bcm-input-caret:hover{color:var(--bcm-color-prime-blue-6)}.bcm-input__container .caret-container .bcm-input-caret:active{background-color:var(--bcm-color-grey-3)}.bcm-input__container .caret-container .bcm-input-caret:last-child{border-top:1px solid #D9D9D9}.bcm-input__container .caret-container.disabled{background-color:var(--bcm-color-grey-3)}.bcm-input__container .caret-container.disabled .bcm-input-caret{cursor:not-allowed}.bcm-input__container .input-suffix-content{display:flex;align-items:center;justify-content:center}.bcm-input__container .input-prefix:not(:empty){padding-left:4px}.bcm-input__container .input-suffix:not(:empty){min-width:24px;padding-right:4px}.bcm-input__container .input-prefix:not(:empty),.bcm-input__container .input-suffix:not(:empty){display:flex;align-items:center;justify-content:center;cursor:default;color:#64748a}.bcm-input__container .input-prefix:not(:empty) .unit-prefix,.bcm-input__container .input-suffix:not(:empty) .unit-prefix{color:#64748a}.bcm-input__container .input-prefix-button:not(:empty),.bcm-input__container .input-suffix-button:not(:empty){cursor:pointer}.bcm-input__container .caret-container,.bcm-input__container .input-clear-button{opacity:0}.bcm-input__container--small{font-size:12px}.bcm-input__container--medium{font-size:14px}.bcm-input__container--large{font-size:16px}.bcm-input__textarea.clearable .bcm-input-element{padding-right:24px}.bcm-input__textarea .input-clear-button{position:absolute;top:4px;right:0}";
|
|
23
23
|
|
|
24
24
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
25
25
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -55,11 +55,11 @@ const BcmLinked = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
55
55
|
}
|
|
56
56
|
calculatePosition() {
|
|
57
57
|
const el = this.el;
|
|
58
|
-
if (el && this.target()) {
|
|
58
|
+
if (el && this.target() && this.htmlContent) {
|
|
59
59
|
if (this.isOpen) {
|
|
60
60
|
FloatingUI({
|
|
61
61
|
ref: this.target(),
|
|
62
|
-
floating:
|
|
62
|
+
floating: this.htmlContent,
|
|
63
63
|
placement: this.placement,
|
|
64
64
|
offset: 4,
|
|
65
65
|
autoHidden: el.getAttribute("main-linked") === "true" ? false : true,
|
|
@@ -91,8 +91,18 @@ const BcmLinked = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
93
|
componentDidLoad() {
|
|
94
|
+
this.htmlContent = this.el.querySelector(".linked-content");
|
|
94
95
|
this.init();
|
|
95
|
-
|
|
96
|
+
this.updateBody();
|
|
97
|
+
}
|
|
98
|
+
updateBody() {
|
|
99
|
+
const bcmOverlayContainer = document.querySelector("#bcm-overlay-container");
|
|
100
|
+
if (this.isOpen) {
|
|
101
|
+
bcmOverlayContainer.appendChild(this.htmlContent);
|
|
102
|
+
}
|
|
103
|
+
else {
|
|
104
|
+
this.htmlContent.remove();
|
|
105
|
+
}
|
|
96
106
|
}
|
|
97
107
|
triggerWatch(newValue) {
|
|
98
108
|
if (newValue === Bcm.TriggerType.hover) {
|
|
@@ -100,6 +110,7 @@ const BcmLinked = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
100
110
|
}
|
|
101
111
|
}
|
|
102
112
|
watchIsOpen() {
|
|
113
|
+
this.updateBody();
|
|
103
114
|
this.bcmOpen.emit(this.isOpen);
|
|
104
115
|
}
|
|
105
116
|
onLinkedDataDismis() {
|
|
@@ -114,7 +125,7 @@ const BcmLinked = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
114
125
|
wait && (await delay(50));
|
|
115
126
|
const target = this.target();
|
|
116
127
|
if (target) {
|
|
117
|
-
document.body.appendChild(this.el);
|
|
128
|
+
// document.body.appendChild(this.el);
|
|
118
129
|
target.setAttribute("linked-is-open", "true");
|
|
119
130
|
this.isOpen = true;
|
|
120
131
|
this.calculatePosition();
|
|
@@ -144,7 +155,7 @@ const BcmLinked = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
144
155
|
if (this.trigger === Bcm.TriggerType.hover)
|
|
145
156
|
return;
|
|
146
157
|
const isTarget = Generate.findEventPath(e, this.target());
|
|
147
|
-
const isSelf = Generate.findEventPath(e, this.
|
|
158
|
+
const isSelf = Generate.findEventPath(e, this.htmlContent);
|
|
148
159
|
const isLinked = Generate.findEventPathWithNodeName(e, "BCM-LINKED");
|
|
149
160
|
if (!isTarget && !isSelf && !isLinked) {
|
|
150
161
|
this.hide();
|
|
@@ -193,7 +204,7 @@ const BcmLinked = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
193
204
|
}
|
|
194
205
|
render() {
|
|
195
206
|
const openStyle = this.isOpen ? { visibility: "visible", opacity: "1" } : { visibility: "hidden", opacity: "0" };
|
|
196
|
-
return (h(Host, { class: "tw-invisible tw-absolute tw-left-0 tw-top-0 tw-z-tooltip tw-block tw-overscroll-contain tw-scroll-smooth tw-rounded tw-bg-white tw-opacity-0 tw-shadow tw-transition-opacity tw-duration-100", style: Object.assign(Object.assign({}, openStyle), { overflow: "auto" }) }, h("slot", null)));
|
|
207
|
+
return (h(Host, { class: "tw-hidden" }, h("div", { class: "linked-content tw-invisible tw-absolute tw-left-0 tw-top-0 tw-z-tooltip tw-block tw-overscroll-contain tw-scroll-smooth tw-rounded tw-bg-white tw-opacity-0 tw-shadow tw-transition-opacity tw-duration-100", style: Object.assign(Object.assign({}, openStyle), { overflow: "auto" }) }, h("slot", null))));
|
|
197
208
|
}
|
|
198
209
|
get el() { return this; }
|
|
199
210
|
static get watchers() { return {
|