@db-ux/wc-core-components 3.1.17 → 3.1.19
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/CHANGELOG.md +50 -0
- package/README.md +10 -0
- package/agent/Accordion.md +23 -0
- package/agent/AccordionItem.md +29 -0
- package/agent/Badge.md +32 -0
- package/agent/Brand.md +13 -0
- package/agent/Button.md +47 -0
- package/agent/Card.md +23 -0
- package/agent/Checkbox.md +41 -0
- package/agent/CustomSelect.md +54 -0
- package/agent/Divider.md +21 -0
- package/agent/Drawer.md +71 -0
- package/agent/Header.md +29 -0
- package/agent/Icon.md +20 -0
- package/agent/Infotext.md +25 -0
- package/agent/Input.md +48 -0
- package/agent/Link.md +52 -0
- package/agent/Navigation.md +19 -0
- package/agent/NavigationItem.md +29 -0
- package/agent/Notification.md +38 -0
- package/agent/Page.md +27 -0
- package/agent/Popover.md +52 -0
- package/agent/Radio.md +28 -0
- package/agent/Section.md +21 -0
- package/agent/Select.md +62 -0
- package/agent/Stack.md +35 -0
- package/agent/Switch.md +44 -0
- package/agent/TabItem.md +25 -0
- package/agent/Tabs.md +61 -0
- package/agent/Tag.md +41 -0
- package/agent/Textarea.md +44 -0
- package/agent/Tooltip.md +37 -0
- package/agent/_instructions.md +31 -0
- package/dist/cjs/db-accordion-item.cjs.entry.js +1 -1
- package/dist/cjs/db-accordion.cjs.entry.js +1 -1
- package/dist/cjs/db-badge.cjs.entry.js +1 -1
- package/dist/cjs/db-brand.cjs.entry.js +1 -1
- package/dist/cjs/db-button.cjs.entry.js +1 -1
- package/dist/cjs/db-card.cjs.entry.js +1 -1
- package/dist/cjs/db-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/db-custom-select-dropdown_5.cjs.entry.js +1 -1
- package/dist/cjs/db-custom-select-form-field.cjs.entry.js +1 -1
- package/dist/cjs/db-custom-select.cjs.entry.js +1 -1
- package/dist/cjs/db-divider.cjs.entry.js +1 -1
- package/dist/cjs/db-drawer.cjs.entry.js +1 -1
- package/dist/cjs/db-header.cjs.entry.js +1 -1
- package/dist/cjs/db-icon.cjs.entry.js +1 -1
- package/dist/cjs/db-infotext.cjs.entry.js +1 -1
- package/dist/cjs/db-link.cjs.entry.js +1 -1
- package/dist/cjs/db-navigation-item.cjs.entry.js +1 -1
- package/dist/cjs/db-navigation.cjs.entry.js +1 -1
- package/dist/cjs/db-notification.cjs.entry.js +1 -1
- package/dist/cjs/db-page.cjs.entry.js +1 -1
- package/dist/cjs/db-popover.cjs.entry.js +1 -1
- package/dist/cjs/db-radio.cjs.entry.js +1 -1
- package/dist/cjs/db-section.cjs.entry.js +1 -1
- package/dist/cjs/db-select.cjs.entry.js +1 -1
- package/dist/cjs/db-stack.cjs.entry.js +1 -1
- package/dist/cjs/db-switch.cjs.entry.js +1 -1
- package/dist/cjs/db-tab-item_3.cjs.entry.js +1 -1
- package/dist/cjs/db-tabs.cjs.entry.js +17 -3
- package/dist/cjs/db-tabs.entry.cjs.js.map +1 -1
- package/dist/cjs/db-textarea.cjs.entry.js +1 -1
- package/dist/cjs/db-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/db-ux.cjs.js +3 -3
- package/dist/cjs/db-ux.cjs.js.map +1 -1
- package/dist/cjs/{index-C9Rhca83.js → index-BKsFzv8w.js} +39 -17
- package/dist/cjs/index-BKsFzv8w.js.map +1 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/accordion/accordion.js +12 -13
- package/dist/collection/components/accordion/accordion.js.map +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +14 -14
- package/dist/collection/components/badge/badge.js +16 -16
- package/dist/collection/components/brand/brand.js +12 -12
- package/dist/collection/components/button/button.js +36 -36
- package/dist/collection/components/card/card.js +10 -10
- package/dist/collection/components/checkbox/checkbox.js +38 -38
- package/dist/collection/components/custom-select/custom-select.js +82 -87
- package/dist/collection/components/custom-select/custom-select.js.map +1 -1
- package/dist/collection/components/custom-select-dropdown/custom-select-dropdown.js +5 -5
- package/dist/collection/components/custom-select-form-field/custom-select-form-field.js +4 -4
- package/dist/collection/components/custom-select-list/custom-select-list.js +8 -8
- package/dist/collection/components/custom-select-list-item/custom-select-list-item.js +26 -26
- package/dist/collection/components/divider/divider.js +12 -12
- package/dist/collection/components/drawer/drawer.js +24 -24
- package/dist/collection/components/header/header.js +12 -12
- package/dist/collection/components/icon/icon.js +12 -12
- package/dist/collection/components/infotext/infotext.js +14 -14
- package/dist/collection/components/input/input.js +94 -95
- package/dist/collection/components/input/input.js.map +1 -1
- package/dist/collection/components/link/link.js +28 -28
- package/dist/collection/components/navigation/navigation.js +4 -4
- package/dist/collection/components/navigation-item/navigation-item.js +24 -24
- package/dist/collection/components/notification/notification.js +32 -32
- package/dist/collection/components/page/page.js +12 -12
- package/dist/collection/components/popover/popover.js +18 -18
- package/dist/collection/components/radio/radio.js +24 -24
- package/dist/collection/components/section/section.js +8 -8
- package/dist/collection/components/select/select.js +46 -47
- package/dist/collection/components/select/select.js.map +1 -1
- package/dist/collection/components/stack/stack.js +16 -16
- package/dist/collection/components/switch/switch.js +34 -34
- package/dist/collection/components/tab-item/tab-item.js +28 -28
- package/dist/collection/components/tab-list/tab-list.js +4 -4
- package/dist/collection/components/tab-panel/tab-panel.js +6 -6
- package/dist/collection/components/tabs/model.js.map +1 -1
- package/dist/collection/components/tabs/tabs.js +40 -25
- package/dist/collection/components/tabs/tabs.js.map +1 -1
- package/dist/collection/components/tag/tag.js +24 -24
- package/dist/collection/components/textarea/textarea.js +66 -66
- package/dist/collection/components/tooltip/tooltip.js +18 -18
- package/dist/custom-elements.json +5 -0
- package/dist/db-ux/db-tabs.entry.esm.js.map +1 -1
- package/dist/db-ux/db-ux.esm.js +1 -1
- package/dist/db-ux/db-ux.esm.js.map +1 -1
- package/dist/db-ux/index.esm.js +1 -1
- package/dist/db-ux/index.esm.js.map +1 -1
- package/dist/db-ux/p-07a7eb33.entry.js +2 -0
- package/dist/db-ux/{p-8aee262b.entry.js → p-109fc276.entry.js} +2 -2
- package/dist/db-ux/{p-0f032718.entry.js → p-132ee89d.entry.js} +2 -2
- package/dist/db-ux/{p-8d5578c8.entry.js → p-1a7001bb.entry.js} +2 -2
- package/dist/db-ux/{p-9d814d7a.entry.js → p-1c50fd87.entry.js} +2 -2
- package/dist/db-ux/{p-f2455023.entry.js → p-1f490d67.entry.js} +2 -2
- package/dist/db-ux/{p-9b3c4d53.entry.js → p-26e115a8.entry.js} +2 -2
- package/dist/db-ux/p-2bc4be80.entry.js +2 -0
- package/dist/db-ux/p-2bc4be80.entry.js.map +1 -0
- package/dist/db-ux/{p-7781b021.entry.js → p-2c457e48.entry.js} +2 -2
- package/dist/db-ux/{p-dab91ef7.entry.js → p-31b7ea66.entry.js} +2 -2
- package/dist/db-ux/{p-ba53d150.entry.js → p-3390e528.entry.js} +2 -2
- package/dist/db-ux/{p-15203628.entry.js → p-364cc533.entry.js} +2 -2
- package/dist/db-ux/{p-5a727411.entry.js → p-43be6218.entry.js} +2 -2
- package/dist/db-ux/{p-5138e073.entry.js → p-53c419b0.entry.js} +2 -2
- package/dist/db-ux/{p-6839aee1.entry.js → p-56488bc3.entry.js} +2 -2
- package/dist/db-ux/p-69a7e5f9.entry.js +2 -0
- package/dist/db-ux/{p-daf5421b.entry.js → p-72bd1665.entry.js} +2 -2
- package/dist/db-ux/{p-97d43713.entry.js → p-75d3a947.entry.js} +2 -2
- package/dist/db-ux/{p-9d416e4d.entry.js → p-82083293.entry.js} +2 -2
- package/dist/db-ux/{p-d93d61bf.entry.js → p-90f21d44.entry.js} +2 -2
- package/dist/db-ux/{p-97249510.entry.js → p-950bf6ab.entry.js} +2 -2
- package/dist/db-ux/{p-af4b9154.entry.js → p-963fde68.entry.js} +2 -2
- package/dist/db-ux/p-Bxi-mtJ7.js +3 -0
- package/dist/db-ux/p-Bxi-mtJ7.js.map +1 -0
- package/dist/db-ux/p-a7a0c5a3.entry.js +2 -0
- package/dist/db-ux/{p-dc14db0e.entry.js.map → p-a7a0c5a3.entry.js.map} +1 -1
- package/dist/db-ux/{p-0cea77e9.entry.js → p-ad8ff0ae.entry.js} +2 -2
- package/dist/db-ux/{p-c3673bb2.entry.js → p-b3ccfc6a.entry.js} +2 -2
- package/dist/db-ux/{p-31d8532f.entry.js → p-c9b2b24e.entry.js} +2 -2
- package/dist/db-ux/{p-e80a85c6.entry.js → p-cd51d733.entry.js} +2 -2
- package/dist/db-ux/{p-97114cd9.entry.js → p-d0a2e1d4.entry.js} +2 -2
- package/dist/db-ux/{p-cad3a6ca.entry.js → p-da7e3ac7.entry.js} +2 -2
- package/dist/db-ux/{p-ec96cc5c.entry.js → p-fbf46ee6.entry.js} +2 -2
- package/dist/esm/db-accordion-item.entry.js +1 -1
- package/dist/esm/db-accordion.entry.js +1 -1
- package/dist/esm/db-badge.entry.js +1 -1
- package/dist/esm/db-brand.entry.js +1 -1
- package/dist/esm/db-button.entry.js +1 -1
- package/dist/esm/db-card.entry.js +1 -1
- package/dist/esm/db-checkbox.entry.js +1 -1
- package/dist/esm/db-custom-select-dropdown_5.entry.js +1 -1
- package/dist/esm/db-custom-select-form-field.entry.js +1 -1
- package/dist/esm/db-custom-select.entry.js +1 -1
- package/dist/esm/db-divider.entry.js +1 -1
- package/dist/esm/db-drawer.entry.js +1 -1
- package/dist/esm/db-header.entry.js +1 -1
- package/dist/esm/db-icon.entry.js +1 -1
- package/dist/esm/db-infotext.entry.js +1 -1
- package/dist/esm/db-link.entry.js +1 -1
- package/dist/esm/db-navigation-item.entry.js +1 -1
- package/dist/esm/db-navigation.entry.js +1 -1
- package/dist/esm/db-notification.entry.js +1 -1
- package/dist/esm/db-page.entry.js +1 -1
- package/dist/esm/db-popover.entry.js +1 -1
- package/dist/esm/db-radio.entry.js +1 -1
- package/dist/esm/db-section.entry.js +1 -1
- package/dist/esm/db-select.entry.js +1 -1
- package/dist/esm/db-stack.entry.js +1 -1
- package/dist/esm/db-switch.entry.js +1 -1
- package/dist/esm/db-tab-item_3.entry.js +1 -1
- package/dist/esm/db-tabs.entry.js +17 -3
- package/dist/esm/db-tabs.entry.js.map +1 -1
- package/dist/esm/db-textarea.entry.js +1 -1
- package/dist/esm/db-tooltip.entry.js +1 -1
- package/dist/esm/db-ux.js +4 -4
- package/dist/esm/db-ux.js.map +1 -1
- package/dist/esm/{index-DOqgruSb.js → index-Bxi-mtJ7.js} +39 -17
- package/dist/esm/index-Bxi-mtJ7.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/types/components/tabs/model.d.ts +1 -0
- package/dist/types/components/tabs/tabs.d.ts +2 -0
- package/dist/types/stencil-public-runtime.d.ts +16 -2
- package/dist/web-types.json +3 -2
- package/package.json +8 -5
- package/dist/cjs/index-C9Rhca83.js.map +0 -1
- package/dist/db-ux/p-7a6af508.entry.js +0 -2
- package/dist/db-ux/p-7a6af508.entry.js.map +0 -1
- package/dist/db-ux/p-DOqgruSb.js +0 -3
- package/dist/db-ux/p-DOqgruSb.js.map +0 -1
- package/dist/db-ux/p-cfd1fc80.entry.js +0 -2
- package/dist/db-ux/p-dc14db0e.entry.js +0 -2
- package/dist/db-ux/p-f1d86976.entry.js +0 -2
- package/dist/esm/index-DOqgruSb.js.map +0 -1
- /package/dist/db-ux/{p-cfd1fc80.entry.js.map → p-07a7eb33.entry.js.map} +0 -0
- /package/dist/db-ux/{p-8aee262b.entry.js.map → p-109fc276.entry.js.map} +0 -0
- /package/dist/db-ux/{p-0f032718.entry.js.map → p-132ee89d.entry.js.map} +0 -0
- /package/dist/db-ux/{p-8d5578c8.entry.js.map → p-1a7001bb.entry.js.map} +0 -0
- /package/dist/db-ux/{p-9d814d7a.entry.js.map → p-1c50fd87.entry.js.map} +0 -0
- /package/dist/db-ux/{p-f2455023.entry.js.map → p-1f490d67.entry.js.map} +0 -0
- /package/dist/db-ux/{p-9b3c4d53.entry.js.map → p-26e115a8.entry.js.map} +0 -0
- /package/dist/db-ux/{p-7781b021.entry.js.map → p-2c457e48.entry.js.map} +0 -0
- /package/dist/db-ux/{p-dab91ef7.entry.js.map → p-31b7ea66.entry.js.map} +0 -0
- /package/dist/db-ux/{p-ba53d150.entry.js.map → p-3390e528.entry.js.map} +0 -0
- /package/dist/db-ux/{p-15203628.entry.js.map → p-364cc533.entry.js.map} +0 -0
- /package/dist/db-ux/{p-5a727411.entry.js.map → p-43be6218.entry.js.map} +0 -0
- /package/dist/db-ux/{p-5138e073.entry.js.map → p-53c419b0.entry.js.map} +0 -0
- /package/dist/db-ux/{p-6839aee1.entry.js.map → p-56488bc3.entry.js.map} +0 -0
- /package/dist/db-ux/{p-f1d86976.entry.js.map → p-69a7e5f9.entry.js.map} +0 -0
- /package/dist/db-ux/{p-daf5421b.entry.js.map → p-72bd1665.entry.js.map} +0 -0
- /package/dist/db-ux/{p-97d43713.entry.js.map → p-75d3a947.entry.js.map} +0 -0
- /package/dist/db-ux/{p-9d416e4d.entry.js.map → p-82083293.entry.js.map} +0 -0
- /package/dist/db-ux/{p-d93d61bf.entry.js.map → p-90f21d44.entry.js.map} +0 -0
- /package/dist/db-ux/{p-97249510.entry.js.map → p-950bf6ab.entry.js.map} +0 -0
- /package/dist/db-ux/{p-af4b9154.entry.js.map → p-963fde68.entry.js.map} +0 -0
- /package/dist/db-ux/{p-0cea77e9.entry.js.map → p-ad8ff0ae.entry.js.map} +0 -0
- /package/dist/db-ux/{p-c3673bb2.entry.js.map → p-b3ccfc6a.entry.js.map} +0 -0
- /package/dist/db-ux/{p-31d8532f.entry.js.map → p-c9b2b24e.entry.js.map} +0 -0
- /package/dist/db-ux/{p-e80a85c6.entry.js.map → p-cd51d733.entry.js.map} +0 -0
- /package/dist/db-ux/{p-97114cd9.entry.js.map → p-d0a2e1d4.entry.js.map} +0 -0
- /package/dist/db-ux/{p-cad3a6ca.entry.js.map → p-da7e3ac7.entry.js.map} +0 -0
- /package/dist/db-ux/{p-ec96cc5c.entry.js.map → p-fbf46ee6.entry.js.map} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const NAMESPACE = 'db-ux';
|
|
4
|
-
const BUILD = /* db-ux */ { hydratedSelectorName: "hydrated", lazyLoad: true, shadowDom: false, slotRelocation: true, updatable: true};
|
|
4
|
+
const BUILD = /* db-ux */ { hydratedSelectorName: "hydrated", lazyLoad: true, propChangeCallback: true, shadowDom: false, slotRelocation: true, updatable: true};
|
|
5
5
|
|
|
6
6
|
/*
|
|
7
|
-
Stencil Client Platform v4.
|
|
7
|
+
Stencil Client Platform v4.38.0 | MIT Licensed | https://stenciljs.com
|
|
8
8
|
*/
|
|
9
9
|
var __defProp = Object.defineProperty;
|
|
10
10
|
var __export = (target, all) => {
|
|
@@ -29,13 +29,17 @@ var registerHost = (hostElement, cmpMeta) => {
|
|
|
29
29
|
$flags$: 0,
|
|
30
30
|
$hostElement$: hostElement,
|
|
31
31
|
$cmpMeta$: cmpMeta,
|
|
32
|
-
$instanceValues$: /* @__PURE__ */ new Map()
|
|
32
|
+
$instanceValues$: /* @__PURE__ */ new Map(),
|
|
33
|
+
$serializerValues$: /* @__PURE__ */ new Map()
|
|
33
34
|
};
|
|
34
35
|
{
|
|
35
36
|
hostRef.$onReadyPromise$ = new Promise((r) => hostRef.$onReadyResolve$ = r);
|
|
36
37
|
hostElement["s-p"] = [];
|
|
37
38
|
hostElement["s-rc"] = [];
|
|
38
39
|
}
|
|
40
|
+
{
|
|
41
|
+
hostRef.$fetchedCbList$ = [];
|
|
42
|
+
}
|
|
39
43
|
const ref = hostRef;
|
|
40
44
|
hostElement.__stencil__getHostRef = () => ref;
|
|
41
45
|
return ref;
|
|
@@ -1052,6 +1056,11 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
|
|
|
1052
1056
|
}
|
|
1053
1057
|
let maybePromise;
|
|
1054
1058
|
if (isInitialLoad) {
|
|
1059
|
+
{
|
|
1060
|
+
if (hostRef.$fetchedCbList$.length) {
|
|
1061
|
+
hostRef.$fetchedCbList$.forEach((cb) => cb(elm));
|
|
1062
|
+
}
|
|
1063
|
+
}
|
|
1055
1064
|
maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
|
|
1056
1065
|
} else {
|
|
1057
1066
|
maybePromise = safeCall(instance, "componentWillUpdate", void 0, elm);
|
|
@@ -1218,9 +1227,17 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
1218
1227
|
var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
1219
1228
|
var _a, _b;
|
|
1220
1229
|
const prototype = Cstr.prototype;
|
|
1221
|
-
if (cmpMeta.$members$ ||
|
|
1222
|
-
|
|
1223
|
-
cmpMeta.$watchers$
|
|
1230
|
+
if (cmpMeta.$members$ || BUILD.propChangeCallback) {
|
|
1231
|
+
{
|
|
1232
|
+
if (Cstr.watchers && !cmpMeta.$watchers$) {
|
|
1233
|
+
cmpMeta.$watchers$ = Cstr.watchers;
|
|
1234
|
+
}
|
|
1235
|
+
if (Cstr.deserializers && !cmpMeta.$deserializers$) {
|
|
1236
|
+
cmpMeta.$deserializers$ = Cstr.deserializers;
|
|
1237
|
+
}
|
|
1238
|
+
if (Cstr.serializers && !cmpMeta.$serializers$) {
|
|
1239
|
+
cmpMeta.$serializers$ = Cstr.serializers;
|
|
1240
|
+
}
|
|
1224
1241
|
}
|
|
1225
1242
|
const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
|
|
1226
1243
|
members.map(([memberName, [memberFlags]]) => {
|
|
@@ -1255,8 +1272,6 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1255
1272
|
const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
|
|
1256
1273
|
if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
|
|
1257
1274
|
newValue = ref.$instanceValues$.get(memberName);
|
|
1258
|
-
} else if (!ref.$instanceValues$.get(memberName) && currentValue) {
|
|
1259
|
-
ref.$instanceValues$.set(memberName, currentValue);
|
|
1260
1275
|
}
|
|
1261
1276
|
origSetter.apply(this, [
|
|
1262
1277
|
parsePropertyValue(
|
|
@@ -1271,7 +1286,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1271
1286
|
if ((flags & 1 /* isElementConstructor */) === 0 || (cmpMeta.$members$[memberName][0] & 4096 /* Setter */) === 0) {
|
|
1272
1287
|
setValue(this, memberName, newValue, cmpMeta);
|
|
1273
1288
|
if (flags & 1 /* isElementConstructor */ && !ref.$lazyInstance$) {
|
|
1274
|
-
ref.$
|
|
1289
|
+
ref.$fetchedCbList$.push(() => {
|
|
1275
1290
|
if (cmpMeta.$members$[memberName][0] & 4096 /* Setter */ && ref.$lazyInstance$[memberName] !== ref.$instanceValues$.get(memberName)) {
|
|
1276
1291
|
ref.$lazyInstance$[memberName] = newValue;
|
|
1277
1292
|
}
|
|
@@ -1292,7 +1307,9 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1292
1307
|
if (ref.$lazyInstance$) {
|
|
1293
1308
|
setterSetVal();
|
|
1294
1309
|
} else {
|
|
1295
|
-
ref.$
|
|
1310
|
+
ref.$fetchedCbList$.push(() => {
|
|
1311
|
+
setterSetVal();
|
|
1312
|
+
});
|
|
1296
1313
|
}
|
|
1297
1314
|
}
|
|
1298
1315
|
}
|
|
@@ -1305,14 +1322,15 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1305
1322
|
plt.jmp(() => {
|
|
1306
1323
|
var _a2;
|
|
1307
1324
|
const propName = attrNameToPropName.get(attrName);
|
|
1325
|
+
const hostRef = getHostRef(this);
|
|
1308
1326
|
if (this.hasOwnProperty(propName) && BUILD.lazyLoad) {
|
|
1309
1327
|
newValue = this[propName];
|
|
1310
1328
|
delete this[propName];
|
|
1311
|
-
}
|
|
1329
|
+
}
|
|
1330
|
+
if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
|
|
1312
1331
|
this[propName] == newValue) {
|
|
1313
1332
|
return;
|
|
1314
1333
|
} else if (propName == null) {
|
|
1315
|
-
const hostRef = getHostRef(this);
|
|
1316
1334
|
const flags2 = hostRef == null ? void 0 : hostRef.$flags$;
|
|
1317
1335
|
if (hostRef && flags2 && !(flags2 & 8 /* isConstructingInstance */) && flags2 & 128 /* isWatchReady */ && newValue !== oldValue) {
|
|
1318
1336
|
const instance = hostRef.$lazyInstance$ ;
|
|
@@ -1327,7 +1345,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1327
1345
|
}
|
|
1328
1346
|
const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
|
|
1329
1347
|
newValue = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
|
|
1330
|
-
if (newValue
|
|
1348
|
+
if (newValue != this[propName] && (!propDesc.get || !!propDesc.set)) {
|
|
1331
1349
|
this[propName] = newValue;
|
|
1332
1350
|
}
|
|
1333
1351
|
});
|
|
@@ -1368,6 +1386,8 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1368
1386
|
if (!Cstr.isProxied) {
|
|
1369
1387
|
{
|
|
1370
1388
|
cmpMeta.$watchers$ = Cstr.watchers;
|
|
1389
|
+
cmpMeta.$serializers$ = Cstr.serializers;
|
|
1390
|
+
cmpMeta.$deserializers$ = Cstr.deserializers;
|
|
1371
1391
|
}
|
|
1372
1392
|
proxyComponent(Cstr, cmpMeta, 2 /* proxyState */);
|
|
1373
1393
|
Cstr.isProxied = true;
|
|
@@ -1437,7 +1457,7 @@ var connectedCallback = (elm) => {
|
|
|
1437
1457
|
}
|
|
1438
1458
|
if (cmpMeta.$members$) {
|
|
1439
1459
|
Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {
|
|
1440
|
-
if (memberFlags & 31 /* Prop */ && elm.
|
|
1460
|
+
if (memberFlags & 31 /* Prop */ && memberName in elm && elm[memberName] !== Object.prototype[memberName]) {
|
|
1441
1461
|
const value = elm[memberName];
|
|
1442
1462
|
delete elm[memberName];
|
|
1443
1463
|
elm[memberName] = value;
|
|
@@ -1511,7 +1531,7 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1511
1531
|
let hasSlotRelocation = false;
|
|
1512
1532
|
lazyBundles.map((lazyBundle) => {
|
|
1513
1533
|
lazyBundle[1].map((compactMeta) => {
|
|
1514
|
-
var _a2;
|
|
1534
|
+
var _a2, _b, _c;
|
|
1515
1535
|
const cmpMeta = {
|
|
1516
1536
|
$flags$: compactMeta[0],
|
|
1517
1537
|
$tagName$: compactMeta[1],
|
|
@@ -1526,6 +1546,8 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1526
1546
|
}
|
|
1527
1547
|
{
|
|
1528
1548
|
cmpMeta.$watchers$ = (_a2 = compactMeta[4]) != null ? _a2 : {};
|
|
1549
|
+
cmpMeta.$serializers$ = (_b = compactMeta[5]) != null ? _b : {};
|
|
1550
|
+
cmpMeta.$deserializers$ = (_c = compactMeta[6]) != null ? _c : {};
|
|
1529
1551
|
}
|
|
1530
1552
|
const tagName = cmpMeta.$tagName$;
|
|
1531
1553
|
const HostElement = class extends HTMLElement {
|
|
@@ -1626,6 +1648,6 @@ exports.h = h;
|
|
|
1626
1648
|
exports.promiseResolve = promiseResolve;
|
|
1627
1649
|
exports.registerInstance = registerInstance;
|
|
1628
1650
|
exports.setNonce = setNonce;
|
|
1629
|
-
//# sourceMappingURL=index-
|
|
1651
|
+
//# sourceMappingURL=index-BKsFzv8w.js.map
|
|
1630
1652
|
|
|
1631
|
-
//# sourceMappingURL=index-
|
|
1653
|
+
//# sourceMappingURL=index-BKsFzv8w.js.map
|