@everymatrix/general-registration 1.55.0 → 1.56.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/checkbox-group-input_13.cjs.entry.js +24696 -24629
- package/dist/cjs/general-registration.cjs.js +2 -2
- package/dist/cjs/{index-e11c50f2.js → index-f710b430.js} +181 -78
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/general-registration/general-registration.js +48 -19
- package/dist/esm/checkbox-group-input_13.entry.js +24696 -24629
- package/dist/esm/general-registration.js +3 -3
- package/dist/esm/{index-a3724f84.js → index-e30ca6ba.js} +181 -78
- package/dist/esm/loader.js +2 -2
- package/dist/general-registration/general-registration.esm.js +1 -1
- package/dist/general-registration/p-0d63ba5e.js +2 -0
- package/dist/general-registration/p-5f37e4ba.entry.js +4466 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/stencil.config.d.ts +2 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/stencil.config.dev.d.ts +2 -0
- package/package.json +1 -1
- package/dist/general-registration/p-0095c1dc.js +0 -2
- package/dist/general-registration/p-3dbf370c.entry.js +0 -5910
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/stencil.config.d.ts +0 -2
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/stencil.config.dev.d.ts +0 -2
- /package/dist/types/Users/{maria.bumbar/Desktop → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-input/src/utils/types.d.ts +0 -0
- /package/dist/types/Users/{maria.bumbar/Desktop → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/general-registration/.stencil/tools/plugins/index.d.ts +0 -0
- /package/dist/types/Users/{maria.bumbar/Desktop → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/general-registration/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
- /package/dist/types/Users/{maria.bumbar/Desktop → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/general-registration/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
- /package/dist/types/Users/{maria.bumbar/Desktop → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/general-registration/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-e30ca6ba.js';
|
|
2
|
+
export { s as setNonce } from './index-e30ca6ba.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
4
4
|
|
|
5
5
|
/*
|
|
6
|
-
Stencil Client Patch Browser v4.
|
|
6
|
+
Stencil Client Patch Browser v4.26.0 | MIT Licensed | https://stenciljs.com
|
|
7
7
|
*/
|
|
8
8
|
var patchBrowser = () => {
|
|
9
9
|
const importMeta = import.meta.url;
|
|
@@ -1,17 +1,25 @@
|
|
|
1
1
|
const NAMESPACE = 'general-registration';
|
|
2
|
-
const BUILD = /* general-registration */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: true, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: true, hostListenerTargetDocument: true, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: false, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: false, vdomText: true, vdomXlink: false, watchCallback: true };
|
|
2
|
+
const BUILD = /* general-registration */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: true, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: true, hostListenerTargetDocument: true, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, modernPropertyDecls: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: false, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: false, vdomText: true, vdomXlink: false, watchCallback: true };
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
Stencil Client Platform v4.
|
|
5
|
+
Stencil Client Platform v4.26.0 | MIT Licensed | https://stenciljs.com
|
|
6
6
|
*/
|
|
7
7
|
var __defProp = Object.defineProperty;
|
|
8
8
|
var __export = (target, all) => {
|
|
9
9
|
for (var name in all)
|
|
10
10
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
11
|
};
|
|
12
|
+
|
|
13
|
+
// src/utils/constants.ts
|
|
14
|
+
var SVG_NS = "http://www.w3.org/2000/svg";
|
|
15
|
+
var HTML_NS = "http://www.w3.org/1999/xhtml";
|
|
16
|
+
|
|
17
|
+
// src/client/client-host-ref.ts
|
|
12
18
|
var hostRefs = /* @__PURE__ */ new WeakMap();
|
|
13
19
|
var getHostRef = (ref) => hostRefs.get(ref);
|
|
14
|
-
var registerInstance = (lazyInstance, hostRef) =>
|
|
20
|
+
var registerInstance = (lazyInstance, hostRef) => {
|
|
21
|
+
hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
|
|
22
|
+
};
|
|
15
23
|
var registerHost = (hostElement, cmpMeta) => {
|
|
16
24
|
const hostRef = {
|
|
17
25
|
$flags$: 0,
|
|
@@ -24,7 +32,8 @@ var registerHost = (hostElement, cmpMeta) => {
|
|
|
24
32
|
hostElement["s-p"] = [];
|
|
25
33
|
hostElement["s-rc"] = [];
|
|
26
34
|
}
|
|
27
|
-
|
|
35
|
+
const ref = hostRefs.set(hostElement, hostRef);
|
|
36
|
+
return ref;
|
|
28
37
|
};
|
|
29
38
|
var isMemberInElement = (elm, memberName) => memberName in elm;
|
|
30
39
|
var consoleError = (e, el) => (0, console.error)(e, el);
|
|
@@ -61,16 +70,22 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
61
70
|
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
62
71
|
/* webpackMode: "lazy" */
|
|
63
72
|
`./${bundleId}.entry.js${""}`
|
|
64
|
-
).then(
|
|
65
|
-
{
|
|
66
|
-
|
|
73
|
+
).then(
|
|
74
|
+
(importedModule) => {
|
|
75
|
+
{
|
|
76
|
+
cmpModules.set(bundleId, importedModule);
|
|
77
|
+
}
|
|
78
|
+
return importedModule[exportName];
|
|
79
|
+
},
|
|
80
|
+
(e) => {
|
|
81
|
+
consoleError(e, hostRef.$hostElement$);
|
|
67
82
|
}
|
|
68
|
-
|
|
69
|
-
}, consoleError);
|
|
83
|
+
);
|
|
70
84
|
};
|
|
71
85
|
|
|
72
86
|
// src/client/client-style.ts
|
|
73
87
|
var styles = /* @__PURE__ */ new Map();
|
|
88
|
+
var HYDRATED_STYLE_ID = "sty-id";
|
|
74
89
|
var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
|
|
75
90
|
var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
|
|
76
91
|
var win = typeof window !== "undefined" ? window : {};
|
|
@@ -144,14 +159,6 @@ var flush = () => {
|
|
|
144
159
|
};
|
|
145
160
|
var nextTick = (cb) => promiseResolve().then(cb);
|
|
146
161
|
var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
|
|
147
|
-
|
|
148
|
-
// src/utils/constants.ts
|
|
149
|
-
var EMPTY_OBJ = {};
|
|
150
|
-
var SVG_NS = "http://www.w3.org/2000/svg";
|
|
151
|
-
var HTML_NS = "http://www.w3.org/1999/xhtml";
|
|
152
|
-
|
|
153
|
-
// src/utils/helpers.ts
|
|
154
|
-
var isDef = (v) => v != null;
|
|
155
162
|
var isComplexType = (o) => {
|
|
156
163
|
o = typeof o;
|
|
157
164
|
return o === "object" || o === "function";
|
|
@@ -352,7 +359,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
352
359
|
}
|
|
353
360
|
if (!appliedStyles.has(scopeId2)) {
|
|
354
361
|
{
|
|
355
|
-
styleElm = doc.createElement("style");
|
|
362
|
+
styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) || doc.createElement("style");
|
|
356
363
|
styleElm.innerHTML = style;
|
|
357
364
|
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
|
|
358
365
|
if (nonce != null) {
|
|
@@ -362,7 +369,10 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
362
369
|
if (styleContainerNode.nodeName === "HEAD") {
|
|
363
370
|
const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
|
|
364
371
|
const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
|
|
365
|
-
styleContainerNode.insertBefore(
|
|
372
|
+
styleContainerNode.insertBefore(
|
|
373
|
+
styleElm,
|
|
374
|
+
(referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
|
|
375
|
+
);
|
|
366
376
|
} else if ("host" in styleContainerNode) {
|
|
367
377
|
if (supportsConstructableStylesheets) {
|
|
368
378
|
const stylesheet = new CSSStyleSheet();
|
|
@@ -380,7 +390,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
380
390
|
styleContainerNode.append(styleElm);
|
|
381
391
|
}
|
|
382
392
|
}
|
|
383
|
-
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */
|
|
393
|
+
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
384
394
|
styleContainerNode.insertBefore(styleElm, null);
|
|
385
395
|
}
|
|
386
396
|
}
|
|
@@ -405,23 +415,25 @@ var attachStyles = (hostRef) => {
|
|
|
405
415
|
const scopeId2 = addStyle(
|
|
406
416
|
elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
|
|
407
417
|
cmpMeta);
|
|
408
|
-
if (flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */) {
|
|
418
|
+
if ((flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */ || flags & 128 /* shadowNeedsScopedCss */)) {
|
|
409
419
|
elm["s-sc"] = scopeId2;
|
|
410
420
|
elm.classList.add(scopeId2 + "-h");
|
|
411
421
|
}
|
|
412
422
|
endAttachStyles();
|
|
413
423
|
};
|
|
414
424
|
var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
|
|
415
|
-
var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
425
|
+
var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
|
|
416
426
|
if (oldValue !== newValue) {
|
|
417
427
|
let isProp = isMemberInElement(elm, memberName);
|
|
418
428
|
let ln = memberName.toLowerCase();
|
|
419
429
|
if (memberName === "class") {
|
|
420
430
|
const classList = elm.classList;
|
|
421
431
|
const oldClasses = parseClassList(oldValue);
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
432
|
+
let newClasses = parseClassList(newValue);
|
|
433
|
+
{
|
|
434
|
+
classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
|
|
435
|
+
classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
|
|
436
|
+
}
|
|
425
437
|
} else if (memberName === "key") ; else if (memberName === "ref") {
|
|
426
438
|
if (newValue) {
|
|
427
439
|
newValue(elm);
|
|
@@ -459,7 +471,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
|
459
471
|
elm.setAttribute(memberName, n);
|
|
460
472
|
}
|
|
461
473
|
}
|
|
462
|
-
} else {
|
|
474
|
+
} else if (elm[memberName] !== newValue) {
|
|
463
475
|
elm[memberName] = newValue;
|
|
464
476
|
}
|
|
465
477
|
} catch (e) {
|
|
@@ -481,24 +493,44 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
|
481
493
|
}
|
|
482
494
|
};
|
|
483
495
|
var parseClassListRegex = /\s/;
|
|
484
|
-
var parseClassList = (value) =>
|
|
496
|
+
var parseClassList = (value) => {
|
|
497
|
+
if (typeof value === "object" && value && "baseVal" in value) {
|
|
498
|
+
value = value.baseVal;
|
|
499
|
+
}
|
|
500
|
+
if (!value || typeof value !== "string") {
|
|
501
|
+
return [];
|
|
502
|
+
}
|
|
503
|
+
return value.split(parseClassListRegex);
|
|
504
|
+
};
|
|
485
505
|
var CAPTURE_EVENT_SUFFIX = "Capture";
|
|
486
506
|
var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
|
|
487
507
|
|
|
488
508
|
// src/runtime/vdom/update-element.ts
|
|
489
|
-
var updateElement = (oldVnode, newVnode, isSvgMode2) => {
|
|
509
|
+
var updateElement = (oldVnode, newVnode, isSvgMode2, isInitialRender) => {
|
|
490
510
|
const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
|
|
491
|
-
const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ ||
|
|
492
|
-
const newVnodeAttrs = newVnode.$attrs$ ||
|
|
511
|
+
const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || {};
|
|
512
|
+
const newVnodeAttrs = newVnode.$attrs$ || {};
|
|
493
513
|
{
|
|
494
514
|
for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
|
|
495
515
|
if (!(memberName in newVnodeAttrs)) {
|
|
496
|
-
setAccessor(
|
|
516
|
+
setAccessor(
|
|
517
|
+
elm,
|
|
518
|
+
memberName,
|
|
519
|
+
oldVnodeAttrs[memberName],
|
|
520
|
+
void 0,
|
|
521
|
+
isSvgMode2,
|
|
522
|
+
newVnode.$flags$);
|
|
497
523
|
}
|
|
498
524
|
}
|
|
499
525
|
}
|
|
500
526
|
for (const memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
|
|
501
|
-
setAccessor(
|
|
527
|
+
setAccessor(
|
|
528
|
+
elm,
|
|
529
|
+
memberName,
|
|
530
|
+
oldVnodeAttrs[memberName],
|
|
531
|
+
newVnodeAttrs[memberName],
|
|
532
|
+
isSvgMode2,
|
|
533
|
+
newVnode.$flags$);
|
|
502
534
|
}
|
|
503
535
|
};
|
|
504
536
|
function sortedAttrNames(attrNames) {
|
|
@@ -510,13 +542,10 @@ function sortedAttrNames(attrNames) {
|
|
|
510
542
|
attrNames
|
|
511
543
|
);
|
|
512
544
|
}
|
|
513
|
-
|
|
514
|
-
// src/runtime/vdom/vdom-render.ts
|
|
515
|
-
var scopeId;
|
|
516
545
|
var hostTagName;
|
|
517
546
|
var useNativeShadowDom = false;
|
|
518
547
|
var isSvgMode = false;
|
|
519
|
-
var createElm = (oldParentVNode, newParentVNode, childIndex
|
|
548
|
+
var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
520
549
|
const newVNode2 = newParentVNode.$children$[childIndex];
|
|
521
550
|
let i2 = 0;
|
|
522
551
|
let elm;
|
|
@@ -537,11 +566,6 @@ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
537
566
|
{
|
|
538
567
|
updateElement(null, newVNode2, isSvgMode);
|
|
539
568
|
}
|
|
540
|
-
const rootNode = elm.getRootNode();
|
|
541
|
-
const isElementWithinShadowRoot = !rootNode.querySelector("body");
|
|
542
|
-
if (!isElementWithinShadowRoot && BUILD.scoped && isDef(scopeId) && elm["s-si"] !== scopeId) {
|
|
543
|
-
elm.classList.add(elm["s-si"] = scopeId);
|
|
544
|
-
}
|
|
545
569
|
if (newVNode2.$children$) {
|
|
546
570
|
for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
|
|
547
571
|
childNode = createElm(oldParentVNode, newVNode2, i2);
|
|
@@ -678,6 +702,9 @@ var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
|
|
|
678
702
|
if (!isInitialRender) {
|
|
679
703
|
return leftVNode.$key$ === rightVNode.$key$;
|
|
680
704
|
}
|
|
705
|
+
if (isInitialRender && !leftVNode.$key$ && rightVNode.$key$) {
|
|
706
|
+
leftVNode.$key$ = rightVNode.$key$;
|
|
707
|
+
}
|
|
681
708
|
return true;
|
|
682
709
|
}
|
|
683
710
|
return false;
|
|
@@ -724,8 +751,9 @@ var nullifyVNodeRefs = (vNode) => {
|
|
|
724
751
|
}
|
|
725
752
|
};
|
|
726
753
|
var insertBefore = (parent, newNode, reference) => {
|
|
727
|
-
|
|
728
|
-
|
|
754
|
+
{
|
|
755
|
+
return parent == null ? void 0 : parent.insertBefore(newNode, reference);
|
|
756
|
+
}
|
|
729
757
|
};
|
|
730
758
|
var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
731
759
|
const hostElm = hostRef.$hostElement$;
|
|
@@ -750,17 +778,21 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
750
778
|
rootVnode.$flags$ |= 4 /* isHost */;
|
|
751
779
|
hostRef.$vnode$ = rootVnode;
|
|
752
780
|
rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
|
|
753
|
-
|
|
754
|
-
scopeId = hostElm["s-sc"];
|
|
755
|
-
}
|
|
756
|
-
useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;
|
|
781
|
+
useNativeShadowDom = !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && !(cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */);
|
|
757
782
|
patch(oldVNode, rootVnode, isInitialLoad);
|
|
758
783
|
};
|
|
759
784
|
|
|
760
785
|
// src/runtime/update-component.ts
|
|
761
786
|
var attachToAncestor = (hostRef, ancestorComponent) => {
|
|
762
787
|
if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent["s-p"]) {
|
|
763
|
-
ancestorComponent["s-p"].push(
|
|
788
|
+
const index = ancestorComponent["s-p"].push(
|
|
789
|
+
new Promise(
|
|
790
|
+
(r) => hostRef.$onRenderResolve$ = () => {
|
|
791
|
+
ancestorComponent["s-p"].splice(index - 1, 1);
|
|
792
|
+
r();
|
|
793
|
+
}
|
|
794
|
+
)
|
|
795
|
+
);
|
|
764
796
|
}
|
|
765
797
|
};
|
|
766
798
|
var scheduleUpdate = (hostRef, isInitialLoad) => {
|
|
@@ -789,12 +821,12 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
|
|
|
789
821
|
{
|
|
790
822
|
hostRef.$flags$ |= 256 /* isListenReady */;
|
|
791
823
|
if (hostRef.$queuedListeners$) {
|
|
792
|
-
hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event));
|
|
824
|
+
hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event, elm));
|
|
793
825
|
hostRef.$queuedListeners$ = void 0;
|
|
794
826
|
}
|
|
795
827
|
}
|
|
796
828
|
{
|
|
797
|
-
maybePromise = safeCall(instance, "componentWillLoad");
|
|
829
|
+
maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
|
|
798
830
|
}
|
|
799
831
|
}
|
|
800
832
|
endSchedule();
|
|
@@ -863,7 +895,7 @@ var postUpdateComponent = (hostRef) => {
|
|
|
863
895
|
const instance = hostRef.$lazyInstance$ ;
|
|
864
896
|
const ancestorComponent = hostRef.$ancestorComponent$;
|
|
865
897
|
{
|
|
866
|
-
safeCall(instance, "componentDidRender");
|
|
898
|
+
safeCall(instance, "componentDidRender", void 0, elm);
|
|
867
899
|
}
|
|
868
900
|
if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
|
|
869
901
|
hostRef.$flags$ |= 64 /* hasLoadedComponent */;
|
|
@@ -871,7 +903,7 @@ var postUpdateComponent = (hostRef) => {
|
|
|
871
903
|
addHydratedFlag(elm);
|
|
872
904
|
}
|
|
873
905
|
{
|
|
874
|
-
safeCall(instance, "componentDidLoad");
|
|
906
|
+
safeCall(instance, "componentDidLoad", void 0, elm);
|
|
875
907
|
}
|
|
876
908
|
endPostUpdate();
|
|
877
909
|
{
|
|
@@ -895,17 +927,14 @@ var postUpdateComponent = (hostRef) => {
|
|
|
895
927
|
}
|
|
896
928
|
};
|
|
897
929
|
var appDidLoad = (who) => {
|
|
898
|
-
{
|
|
899
|
-
addHydratedFlag(doc.documentElement);
|
|
900
|
-
}
|
|
901
930
|
nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
|
|
902
931
|
};
|
|
903
|
-
var safeCall = (instance, method, arg) => {
|
|
932
|
+
var safeCall = (instance, method, arg, elm) => {
|
|
904
933
|
if (instance && instance[method]) {
|
|
905
934
|
try {
|
|
906
935
|
return instance[method](arg);
|
|
907
936
|
} catch (e) {
|
|
908
|
-
consoleError(e);
|
|
937
|
+
consoleError(e, elm);
|
|
909
938
|
}
|
|
910
939
|
}
|
|
911
940
|
return void 0;
|
|
@@ -964,15 +993,68 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
964
993
|
const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
|
|
965
994
|
members.map(([memberName, [memberFlags]]) => {
|
|
966
995
|
if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
|
|
996
|
+
const { get: origGetter, set: origSetter } = Object.getOwnPropertyDescriptor(prototype, memberName) || {};
|
|
997
|
+
if (origGetter) cmpMeta.$members$[memberName][0] |= 2048 /* Getter */;
|
|
998
|
+
if (origSetter) cmpMeta.$members$[memberName][0] |= 4096 /* Setter */;
|
|
999
|
+
if (flags & 1 /* isElementConstructor */ || !origGetter) {
|
|
1000
|
+
Object.defineProperty(prototype, memberName, {
|
|
1001
|
+
get() {
|
|
1002
|
+
{
|
|
1003
|
+
if ((cmpMeta.$members$[memberName][0] & 2048 /* Getter */) === 0) {
|
|
1004
|
+
return getValue(this, memberName);
|
|
1005
|
+
}
|
|
1006
|
+
const ref = getHostRef(this);
|
|
1007
|
+
const instance = ref ? ref.$lazyInstance$ : prototype;
|
|
1008
|
+
if (!instance) return;
|
|
1009
|
+
return instance[memberName];
|
|
1010
|
+
}
|
|
1011
|
+
},
|
|
1012
|
+
configurable: true,
|
|
1013
|
+
enumerable: true
|
|
1014
|
+
});
|
|
1015
|
+
}
|
|
967
1016
|
Object.defineProperty(prototype, memberName, {
|
|
968
|
-
get() {
|
|
969
|
-
return getValue(this, memberName);
|
|
970
|
-
},
|
|
971
1017
|
set(newValue) {
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
1018
|
+
const ref = getHostRef(this);
|
|
1019
|
+
if (origSetter) {
|
|
1020
|
+
const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
|
|
1021
|
+
if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
|
|
1022
|
+
newValue = ref.$instanceValues$.get(memberName);
|
|
1023
|
+
} else if (!ref.$instanceValues$.get(memberName) && currentValue) {
|
|
1024
|
+
ref.$instanceValues$.set(memberName, currentValue);
|
|
1025
|
+
}
|
|
1026
|
+
origSetter.apply(this, [parsePropertyValue(newValue, memberFlags)]);
|
|
1027
|
+
newValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
|
|
1028
|
+
setValue(this, memberName, newValue, cmpMeta);
|
|
1029
|
+
return;
|
|
1030
|
+
}
|
|
1031
|
+
{
|
|
1032
|
+
if ((flags & 1 /* isElementConstructor */) === 0 || (cmpMeta.$members$[memberName][0] & 4096 /* Setter */) === 0) {
|
|
1033
|
+
setValue(this, memberName, newValue, cmpMeta);
|
|
1034
|
+
if (flags & 1 /* isElementConstructor */ && !ref.$lazyInstance$) {
|
|
1035
|
+
ref.$onReadyPromise$.then(() => {
|
|
1036
|
+
if (cmpMeta.$members$[memberName][0] & 4096 /* Setter */ && ref.$lazyInstance$[memberName] !== ref.$instanceValues$.get(memberName)) {
|
|
1037
|
+
ref.$lazyInstance$[memberName] = newValue;
|
|
1038
|
+
}
|
|
1039
|
+
});
|
|
1040
|
+
}
|
|
1041
|
+
return;
|
|
1042
|
+
}
|
|
1043
|
+
const setterSetVal = () => {
|
|
1044
|
+
const currentValue = ref.$lazyInstance$[memberName];
|
|
1045
|
+
if (!ref.$instanceValues$.get(memberName) && currentValue) {
|
|
1046
|
+
ref.$instanceValues$.set(memberName, currentValue);
|
|
1047
|
+
}
|
|
1048
|
+
ref.$lazyInstance$[memberName] = parsePropertyValue(newValue, memberFlags);
|
|
1049
|
+
setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
|
|
1050
|
+
};
|
|
1051
|
+
if (ref.$lazyInstance$) {
|
|
1052
|
+
setterSetVal();
|
|
1053
|
+
} else {
|
|
1054
|
+
ref.$onReadyPromise$.then(() => setterSetVal());
|
|
1055
|
+
}
|
|
1056
|
+
}
|
|
1057
|
+
}
|
|
976
1058
|
});
|
|
977
1059
|
}
|
|
978
1060
|
});
|
|
@@ -982,7 +1064,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
982
1064
|
plt.jmp(() => {
|
|
983
1065
|
var _a2;
|
|
984
1066
|
const propName = attrNameToPropName.get(attrName);
|
|
985
|
-
if (this.hasOwnProperty(propName)) {
|
|
1067
|
+
if (this.hasOwnProperty(propName) && BUILD.lazyLoad) {
|
|
986
1068
|
newValue = this[propName];
|
|
987
1069
|
delete this[propName];
|
|
988
1070
|
} else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
|
|
@@ -1002,7 +1084,11 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1002
1084
|
}
|
|
1003
1085
|
return;
|
|
1004
1086
|
}
|
|
1005
|
-
|
|
1087
|
+
const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
|
|
1088
|
+
newValue = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
|
|
1089
|
+
if (newValue !== this[propName] && (!propDesc.get || !!propDesc.set)) {
|
|
1090
|
+
this[propName] = newValue;
|
|
1091
|
+
}
|
|
1006
1092
|
});
|
|
1007
1093
|
};
|
|
1008
1094
|
Cstr.observedAttributes = Array.from(
|
|
@@ -1031,7 +1117,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1031
1117
|
hostRef.$flags$ |= 32 /* hasInitializedComponent */;
|
|
1032
1118
|
const bundleId = cmpMeta.$lazyBundleId$;
|
|
1033
1119
|
if (bundleId) {
|
|
1034
|
-
const CstrImport = loadModule(cmpMeta);
|
|
1120
|
+
const CstrImport = loadModule(cmpMeta, hostRef);
|
|
1035
1121
|
if (CstrImport && "then" in CstrImport) {
|
|
1036
1122
|
const endLoad = uniqueTime();
|
|
1037
1123
|
Cstr = await CstrImport;
|
|
@@ -1056,7 +1142,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1056
1142
|
try {
|
|
1057
1143
|
new Cstr(hostRef);
|
|
1058
1144
|
} catch (e) {
|
|
1059
|
-
consoleError(e);
|
|
1145
|
+
consoleError(e, elm);
|
|
1060
1146
|
}
|
|
1061
1147
|
{
|
|
1062
1148
|
hostRef.$flags$ &= ~8 /* isConstructingInstance */;
|
|
@@ -1065,7 +1151,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1065
1151
|
hostRef.$flags$ |= 128 /* isWatchReady */;
|
|
1066
1152
|
}
|
|
1067
1153
|
endNewInstance();
|
|
1068
|
-
fireConnectedCallback(hostRef.$lazyInstance
|
|
1154
|
+
fireConnectedCallback(hostRef.$lazyInstance$, elm);
|
|
1069
1155
|
} else {
|
|
1070
1156
|
Cstr = elm.constructor;
|
|
1071
1157
|
const cmpTag = elm.localName;
|
|
@@ -1092,9 +1178,9 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1092
1178
|
schedule();
|
|
1093
1179
|
}
|
|
1094
1180
|
};
|
|
1095
|
-
var fireConnectedCallback = (instance) => {
|
|
1181
|
+
var fireConnectedCallback = (instance, elm) => {
|
|
1096
1182
|
{
|
|
1097
|
-
safeCall(instance, "connectedCallback");
|
|
1183
|
+
safeCall(instance, "connectedCallback", void 0, elm);
|
|
1098
1184
|
}
|
|
1099
1185
|
};
|
|
1100
1186
|
|
|
@@ -1130,17 +1216,17 @@ var connectedCallback = (elm) => {
|
|
|
1130
1216
|
} else {
|
|
1131
1217
|
addHostEventListeners(elm, hostRef, cmpMeta.$listeners$);
|
|
1132
1218
|
if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
|
|
1133
|
-
fireConnectedCallback(hostRef.$lazyInstance
|
|
1219
|
+
fireConnectedCallback(hostRef.$lazyInstance$, elm);
|
|
1134
1220
|
} else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
|
|
1135
|
-
hostRef.$onReadyPromise$.then(() => fireConnectedCallback(hostRef.$lazyInstance
|
|
1221
|
+
hostRef.$onReadyPromise$.then(() => fireConnectedCallback(hostRef.$lazyInstance$, elm));
|
|
1136
1222
|
}
|
|
1137
1223
|
}
|
|
1138
1224
|
endConnected();
|
|
1139
1225
|
}
|
|
1140
1226
|
};
|
|
1141
|
-
var disconnectInstance = (instance) => {
|
|
1227
|
+
var disconnectInstance = (instance, elm) => {
|
|
1142
1228
|
{
|
|
1143
|
-
safeCall(instance, "disconnectedCallback");
|
|
1229
|
+
safeCall(instance, "disconnectedCallback", void 0, elm || instance);
|
|
1144
1230
|
}
|
|
1145
1231
|
};
|
|
1146
1232
|
var disconnectedCallback = async (elm) => {
|
|
@@ -1153,11 +1239,17 @@ var disconnectedCallback = async (elm) => {
|
|
|
1153
1239
|
}
|
|
1154
1240
|
}
|
|
1155
1241
|
if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
|
|
1156
|
-
disconnectInstance(hostRef.$lazyInstance
|
|
1242
|
+
disconnectInstance(hostRef.$lazyInstance$, elm);
|
|
1157
1243
|
} else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
|
|
1158
|
-
hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance
|
|
1244
|
+
hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance$, elm));
|
|
1159
1245
|
}
|
|
1160
1246
|
}
|
|
1247
|
+
if (rootAppliedStyles.has(elm)) {
|
|
1248
|
+
rootAppliedStyles.delete(elm);
|
|
1249
|
+
}
|
|
1250
|
+
if (elm.shadowRoot && rootAppliedStyles.has(elm.shadowRoot)) {
|
|
1251
|
+
rootAppliedStyles.delete(elm.shadowRoot);
|
|
1252
|
+
}
|
|
1161
1253
|
};
|
|
1162
1254
|
|
|
1163
1255
|
// src/runtime/bootstrap-lazy.ts
|
|
@@ -1242,6 +1334,17 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1242
1334
|
}
|
|
1243
1335
|
disconnectedCallback() {
|
|
1244
1336
|
plt.jmp(() => disconnectedCallback(this));
|
|
1337
|
+
plt.raf(() => {
|
|
1338
|
+
var _a3;
|
|
1339
|
+
const hostRef = getHostRef(this);
|
|
1340
|
+
const i2 = deferredConnectedCallbacks.findIndex((host) => host === this);
|
|
1341
|
+
if (i2 > -1) {
|
|
1342
|
+
deferredConnectedCallbacks.splice(i2, 1);
|
|
1343
|
+
}
|
|
1344
|
+
if (((_a3 = hostRef == null ? void 0 : hostRef.$vnode$) == null ? void 0 : _a3.$elm$) instanceof Node && !hostRef.$vnode$.$elm$.isConnected) {
|
|
1345
|
+
delete hostRef.$vnode$.$elm$;
|
|
1346
|
+
}
|
|
1347
|
+
});
|
|
1245
1348
|
}
|
|
1246
1349
|
componentOnReady() {
|
|
1247
1350
|
return getHostRef(this).$onReadyPromise$;
|
|
@@ -1305,7 +1408,7 @@ var hostListenerProxy = (hostRef, methodName) => (ev) => {
|
|
|
1305
1408
|
}
|
|
1306
1409
|
}
|
|
1307
1410
|
} catch (e) {
|
|
1308
|
-
consoleError(e);
|
|
1411
|
+
consoleError(e, hostRef.$hostElement$);
|
|
1309
1412
|
}
|
|
1310
1413
|
};
|
|
1311
1414
|
var getHostListenerTarget = (elm, flags) => {
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { b as bootstrapLazy } from './index-e30ca6ba.js';
|
|
2
|
+
export { s as setNonce } from './index-e30ca6ba.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
4
4
|
|
|
5
5
|
const defineCustomElements = async (win, options) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as l}from"./p-
|
|
1
|
+
import{p as e,b as l}from"./p-0d63ba5e.js";export{s as setNonce}from"./p-0d63ba5e.js";import{g as i}from"./p-e1255160.js";(()=>{const l=import.meta.url,i={};return""!==l&&(i.resourcesUrl=new URL(".",l).href),e(i)})().then((async e=>(await i(),l([["p-5f37e4ba",[[1,"general-registration",{endpoint:[513],language:[513],clientStyling:[1537,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],dateFormat:[513,"date-format"],buttonInsideForm:[516,"button-inside-form"],btag:[513],emitOnClick:[516,"emit-on-click"],errorMessage:[32],isFormValid:[32],isConsentValid:[32],isConsentReady:[32],isLoading:[32],isLoadingPOST:[32],registrationStep:[32],forms:[32],limitStylingAppends:[32],autofilled:[32]},[[0,"sendValidityState","checkInputsValidityHandler"],[0,"sendInputValue","getInputsValueHandler"],[8,"message","messageHandler"]],{registrationStep:["sendStep"],clientStyling:["handleStylingChange"],clientStylingUrl:["handleStylingUrlChange"],forms:["setFormValidity"],btag:["addBtag"]}],[1,"general-input",{type:[513],name:[513],displayName:[513,"display-name"],placeholder:[513],action:[513],validation:[16],options:[520],language:[513],autofilled:[516],tooltip:[513],defaultValue:[520,"default-value"],emitValue:[516,"emit-value"],isDuplicateInput:[516,"is-duplicate-input"],clientStyling:[520,"client-styling"],dateFormat:[513,"date-format"],translationUrl:[513,"translation-url"],emitOnClick:[516,"emit-on-click"]}],[1,"toggle-checkbox-input",{name:[513],displayName:[513,"display-name"],defaultValue:[513,"default-value"],options:[16],autofilled:[516],tooltip:[513],validation:[16],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32],showFields:[32]},[[4,"click","handleClickOutside"]]],[1,"checkbox-group-input",{name:[513],displayName:[513,"display-name"],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],options:[16],validation:[16],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32],selectedValues:[32]},[[4,"click","handleClickOutside"]],{isValid:["validityChanged"],selectedValues:["setValue"],emitValue:["emitValueHandler"]}],[1,"checkbox-input",{name:[513],displayName:[513,"display-name"],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],validation:[16],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"]],{isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"date-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],validation:[16],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],dateFormat:[513,"date-format"],emitOnClick:[516,"emit-on-click"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"]],{isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"email-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],validation:[16],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],language:[513],emitValue:[516,"emit-value"],isDuplicateInput:[516,"is-duplicate-input"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"],[16,"sendInputValue","valueChangedHandler"]],{isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"number-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],validation:[16],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"]],{isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"password-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],validation:[16],language:[513],emitValue:[516,"emit-value"],isDuplicateInput:[516,"is-duplicate-input"],clientStyling:[513,"client-styling"],isValid:[32],errorMessage:[32],limitStylingAppends:[32],showTooltip:[32],passwordComplexity:[32],showPopup:[32],value:[32]},[[16,"sendOriginalValidityState","originalValidityChangedHandler"],[16,"sendInputValue","valueChangedHandler"],[4,"click","handleClickOutside"]],{isValid:["validityChanged"],value:["valueChanged"],emitValue:["emitValueHandler"]}],[1,"radio-input",{name:[513],displayName:[513,"display-name"],optionsGroup:[16],validation:[16],tooltip:[513],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"]],{isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"select-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],action:[513],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],options:[16],validation:[16],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"]],{isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"tel-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],showLabels:[516,"show-labels"],action:[513],validation:[16],defaultValue:[520,"default-value"],autofilled:[516],tooltip:[513],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],isValid:[32],errorMessage:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"]],{isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"text-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],validation:[16],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],language:[513],checkValidity:[516,"check-validity"],emitValue:[516,"emit-value"],isDuplicateInput:[516,"is-duplicate-input"],clientStyling:[513,"client-styling"],isValid:[32],errorMessage:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"],[16,"sendInputValue","valueChangedHandler"]],{isValid:["validityChanged"],emitValue:["emitValueHandler"]}]]]],e))));
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var e=Object.defineProperty,t=new WeakMap,n=e=>t.get(e),o=(e,n)=>{t.set(n.t=e,n)},l=(e,t)=>t in e,s=(e,t)=>(0,console.error)(e,t),i=new Map,r=new Map,c="slot-fb{display:contents}slot-fb[hidden]{display:none}",u="undefined"!=typeof window?window:{},a=u.document||{head:{}},f={o:0,l:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,o)=>e.addEventListener(t,n,o),rel:(e,t,n,o)=>e.removeEventListener(t,n,o),ce:(e,t)=>new CustomEvent(e,t)},h=e=>Promise.resolve(e),d=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),p=!1,m=[],v=[],y=(e,t)=>n=>{e.push(n),p||(p=!0,t&&4&f.o?$(w):f.raf(w))},b=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){s(e)}e.length=0},w=()=>{b(m),b(v),(p=m.length>0)&&f.raf(w)},$=e=>h().then(e),g=y(v,!0),S=e=>"object"==(e=typeof e)||"function"===e;function j(e){var t,n,o;return null!=(o=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}((t,n)=>{for(var o in n)e(t,o,{get:n[o],enumerable:!0})})({},{err:()=>k,map:()=>C,ok:()=>O,unwrap:()=>M,unwrapErr:()=>x});var O=e=>({isOk:!0,isErr:!1,value:e}),k=e=>({isOk:!1,isErr:!0,value:e});function C(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>O(e))):O(n)}if(e.isErr)return k(e.value);throw"should never get here"}var E,M=e=>{if(e.isOk)return e.value;throw e.value},x=e=>{if(e.isErr)return e.value;throw e.value},P=(e,t,...n)=>{let o=null,l=null,s=!1,i=!1;const r=[],c=t=>{for(let n=0;n<t.length;n++)o=t[n],Array.isArray(o)?c(o):null!=o&&"boolean"!=typeof o&&((s="function"!=typeof e&&!S(o))&&(o+=""),s&&i?r[r.length-1].i+=o:r.push(s?R(null,o):o),i=s)};if(c(n),t){t.key&&(l=t.key);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}const u=R(e,null);return u.u=t,r.length>0&&(u.h=r),u.p=l,u},R=(e,t)=>({o:0,m:e,i:t,v:null,h:null,u:null,p:null}),A={},D=(e,t)=>null==e||S(e)?e:4&t?"false"!==e&&(""===e||!!e):1&t?e+"":e,H=e=>n(e).$hostElement$,L=(e,t,n)=>{const o=H(e);return{emit:e=>N(o,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},N=(e,t,n)=>{const o=f.ce(t,n);return e.dispatchEvent(o),o},T=new WeakMap,U=e=>"sc-"+e.$,W=(e,t,n,o,s,i)=>{if(n!==o){let r=l(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,l=V(n);let s=V(o);t.remove(...l.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!l.includes(e))))}else if("key"===t);else if("ref"===t)o&&o(e);else if(r||"o"!==t[0]||"n"!==t[1]){const l=S(o);if((r||l&&null!==o)&&!s)try{if(e.tagName.includes("-"))e[t]!==o&&(e[t]=o);else{const l=null==o?"":o;"list"===t?r=!1:null!=n&&e[t]==l||("function"==typeof e.__lookupSetter__(t)?e[t]=l:e.setAttribute(t,l))}}catch(e){}null==o||!1===o?!1===o&&""!==e.getAttribute(t)||e.removeAttribute(t):(!r||4&i||s)&&!l&&e.setAttribute(t,o=!0===o?"":o)}else if(t="-"===t[2]?t.slice(3):l(u,c)?c.slice(2):c[2]+t.slice(3),n||o){const l=t.endsWith(q);t=t.replace(G,""),n&&f.rel(e,t,n,l),o&&f.ael(e,t,o,l)}}},F=/\s/,V=e=>("object"==typeof e&&e&&"baseVal"in e&&(e=e.baseVal),e&&"string"==typeof e?e.split(F):[]),q="Capture",G=RegExp(q+"$"),_=(e,t,n)=>{const o=11===t.v.nodeType&&t.v.host?t.v.host:t.v,l=e&&e.u||{},s=t.u||{};for(const e of z(Object.keys(l)))e in s||W(o,e,l[e],void 0,n,t.o);for(const e of z(Object.keys(s)))W(o,e,l[e],s[e],n,t.o)};function z(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var B=!1,I=!1,J=(e,t,n)=>{const o=t.h[n];let l,s,i=0;if(null!==o.i)l=o.v=a.createTextNode(o.i);else{if(I||(I="svg"===o.m),l=o.v=a.createElementNS(I?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o.m),I&&"foreignObject"===o.m&&(I=!1),_(null,o,I),o.h)for(i=0;i<o.h.length;++i)s=J(e,o,i),s&&l.appendChild(s);"svg"===o.m?I=!1:"foreignObject"===l.tagName&&(I=!0)}return l["s-hn"]=E,l},K=(e,t,n,o,l,s)=>{let i,r=e;for(r.shadowRoot&&r.tagName===E&&(r=r.shadowRoot);l<=s;++l)o[l]&&(i=J(null,n,l),i&&(o[l].v=i,ee(r,i,t)))},Q=(e,t,n)=>{for(let o=t;o<=n;++o){const t=e[o];if(t){const e=t.v;Z(t),e&&e.remove()}}},X=(e,t,n=!1)=>e.m===t.m&&(n?(n&&!e.p&&t.p&&(e.p=t.p),!0):e.p===t.p),Y=(e,t,n=!1)=>{const o=t.v=e.v,l=e.h,s=t.h,i=t.m,r=t.i;null===r?(I="svg"===i||"foreignObject"!==i&&I,("slot"!==i||B)&&_(e,t,I),null!==l&&null!==s?((e,t,n,o,l=!1)=>{let s,i,r=0,c=0,u=0,a=0,f=t.length-1,h=t[0],d=t[f],p=o.length-1,m=o[0],v=o[p];for(;r<=f&&c<=p;)if(null==h)h=t[++r];else if(null==d)d=t[--f];else if(null==m)m=o[++c];else if(null==v)v=o[--p];else if(X(h,m,l))Y(h,m,l),h=t[++r],m=o[++c];else if(X(d,v,l))Y(d,v,l),d=t[--f],v=o[--p];else if(X(h,v,l))Y(h,v,l),ee(e,h.v,d.v.nextSibling),h=t[++r],v=o[--p];else if(X(d,m,l))Y(d,m,l),ee(e,d.v,h.v),d=t[--f],m=o[++c];else{for(u=-1,a=r;a<=f;++a)if(t[a]&&null!==t[a].p&&t[a].p===m.p){u=a;break}u>=0?(i=t[u],i.m!==m.m?s=J(t&&t[c],n,u):(Y(i,m,l),t[u]=void 0,s=i.v),m=o[++c]):(s=J(t&&t[c],n,c),m=o[++c]),s&&ee(h.v.parentNode,s,h.v)}r>f?K(e,null==o[p+1]?null:o[p+1].v,n,o,c,p):c>p&&Q(t,r,f)})(o,l,t,s,n):null!==s?(null!==e.i&&(o.textContent=""),K(o,null,t,s,0,s.length-1)):!n&&null!==l&&Q(l,0,l.length-1),I&&"svg"===i&&(I=!1)):e.i!==r&&(o.data=r)},Z=e=>{e.u&&e.u.ref&&e.u.ref(null),e.h&&e.h.map(Z)},ee=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),te=(e,t)=>{if(t&&!e.S&&t["s-p"]){const n=t["s-p"].push(new Promise((o=>e.S=()=>{t["s-p"].splice(n-1,1),o()})))}},ne=(e,t)=>{if(e.o|=16,!(4&e.o))return te(e,e.j),g((()=>oe(e,t)));e.o|=512},oe=(e,t)=>{const n=e.$hostElement$,o=e.t;if(!o)throw Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return t&&(e.o|=256,e.O&&(e.O.map((([e,t])=>ae(o,e,t,n))),e.O=void 0),l=ae(o,"componentWillLoad",void 0,n)),le(l,(()=>ie(e,o,t)))},le=(e,t)=>se(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),se=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,ie=async(e,t,n)=>{var o;const l=e.$hostElement$,s=l["s-rc"];n&&(e=>{const t=e.k,n=e.$hostElement$,o=t.o,l=((e,t)=>{var n;const o=U(t),l=r.get(o);if(e=11===e.nodeType?e:a,l)if("string"==typeof l){let s,i=T.get(e=e.head||e);if(i||T.set(e,i=new Set),!i.has(o)){{s=document.querySelector(`[sty-id="${o}"]`)||a.createElement("style"),s.innerHTML=l;const i=null!=(n=f.C)?n:j(a);if(null!=i&&s.setAttribute("nonce",i),!(1&t.o))if("HEAD"===e.nodeName){const t=e.querySelectorAll("link[rel=preconnect]"),n=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(s,(null==n?void 0:n.parentNode)===e?n:null)}else if("host"in e)if(d){const t=new CSSStyleSheet;t.replaceSync(l),e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}else{const t=e.querySelector("style");t?t.innerHTML=l+t.innerHTML:e.prepend(s)}else e.append(s);1&t.o&&e.insertBefore(s,null)}4&t.o&&(s.innerHTML+=c),i&&i.add(o)}}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return o})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);(10&o&&2&o||128&o)&&(n["s-sc"]=l,n.classList.add(l+"-h"))})(e);re(e,t,l,n),s&&(s.map((e=>e())),l["s-rc"]=void 0);{const t=null!=(o=l["s-p"])?o:[],n=()=>ce(e);0===t.length?n():(Promise.all(t).then(n),e.o|=4,t.length=0)}},re=(e,t,n,o)=>{try{t=t.render(),e.o&=-17,e.o|=2,((e,t,n=!1)=>{const o=e.$hostElement$,l=e.k,s=e.M||R(null,null),i=(e=>e&&e.m===A)(t)?t:P(null,null,t);if(E=o.tagName,l.P&&(i.u=i.u||{},l.P.map((([e,t])=>i.u[t]=o[e]))),n&&i.u)for(const e of Object.keys(i.u))o.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(i.u[e]=o[e]);i.m=null,i.o|=4,e.M=i,i.v=s.v=o.shadowRoot||o,B=!(!(1&l.o)||128&l.o),Y(s,i,n)})(e,t,o)}catch(t){s(t,e.$hostElement$)}return null},ce=e=>{const t=e.$hostElement$,n=e.t,o=e.j;ae(n,"componentDidRender",void 0,t),64&e.o||(e.o|=64,fe(t),ae(n,"componentDidLoad",void 0,t),e.R(t),o||ue()),e.S&&(e.S(),e.S=void 0),512&e.o&&$((()=>ne(e,!1))),e.o&=-517},ue=()=>{$((()=>N(u,"appload",{detail:{namespace:"general-registration"}})))},ae=(e,t,n,o)=>{if(e&&e[t])try{return e[t](n)}catch(e){s(e,o)}},fe=e=>e.classList.add("hydrated"),he=(e,t,o,l)=>{const i=n(e);if(!i)throw Error(`Couldn't find host element for "${l.$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const r=i.$hostElement$,c=i.A.get(t),u=i.o,a=i.t;if(o=D(o,l.D[t][0]),(!(8&u)||void 0===c)&&o!==c&&(!Number.isNaN(c)||!Number.isNaN(o))&&(i.A.set(t,o),a)){if(l.H&&128&u){const e=l.H[t];e&&e.map((e=>{try{a[e](o,c,t)}catch(e){s(e,r)}}))}2==(18&u)&&ne(i,!1)}},de=(e,t,o)=>{var l,s;const i=e.prototype;if(t.D||t.H||e.watchers){e.watchers&&!t.H&&(t.H=e.watchers);const r=Object.entries(null!=(l=t.D)?l:{});if(r.map((([e,[l]])=>{if(31&l||2&o&&32&l){const{get:s,set:r}=Object.getOwnPropertyDescriptor(i,e)||{};s&&(t.D[e][0]|=2048),r&&(t.D[e][0]|=4096),(1&o||!s)&&Object.defineProperty(i,e,{get(){{if(!(2048&t.D[e][0]))return((e,t)=>n(this).A.get(t))(0,e);const o=n(this),l=o?o.t:i;if(!l)return;return l[e]}},configurable:!0,enumerable:!0}),Object.defineProperty(i,e,{set(s){const i=n(this);if(r){const n=32&l?this[e]:i.$hostElement$[e];return void 0===n&&i.A.get(e)?s=i.A.get(e):!i.A.get(e)&&n&&i.A.set(e,n),r.call(this,D(s,l)),void he(this,e,s=32&l?this[e]:i.$hostElement$[e],t)}{if(!(1&o&&4096&t.D[e][0]))return he(this,e,s,t),void(1&o&&!i.t&&i.L.then((()=>{4096&t.D[e][0]&&i.t[e]!==i.A.get(e)&&(i.t[e]=s)})));const n=()=>{const n=i.t[e];!i.A.get(e)&&n&&i.A.set(e,n),i.t[e]=D(s,l),he(this,e,i.t[e],t)};i.t?n():i.L.then((()=>n()))}}})}})),1&o){const o=new Map;i.attributeChangedCallback=function(e,l,s){f.jmp((()=>{var r;const c=o.get(e);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(i.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const o=n(this),i=null==o?void 0:o.o;if(i&&!(8&i)&&128&i&&s!==l){const n=o.t,i=null==(r=t.H)?void 0:r[e];null==i||i.forEach((t=>{null!=n[t]&&n[t].call(n,s,l,e)}))}return}}const u=Object.getOwnPropertyDescriptor(i,c);(s=(null!==s||"boolean"!=typeof this[c])&&s)===this[c]||u.get&&!u.set||(this[c]=s)}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=t.H)?s:{}),...r.filter((([e,t])=>15&t[0])).map((([e,n])=>{var l;const s=n[1]||e;return o.set(s,e),512&n[0]&&(null==(l=t.P)||l.push([e,s])),s}))]))}}return e},pe=(e,t)=>{ae(e,"connectedCallback",void 0,t)},me=(e,t)=>{ae(e,"disconnectedCallback",void 0,t||e)},ve=(e,o={})=>{var l;const h=[],p=o.exclude||[],m=u.customElements,v=a.head,y=v.querySelector("meta[charset]"),b=a.createElement("style"),w=[];let $,g=!0;Object.assign(f,o),f.l=new URL(o.resourcesUrl||"./",a.baseURI).href;let S=!1;if(e.map((e=>{e[1].map((o=>{var l;const c={o:o[0],$:o[1],D:o[2],N:o[3]};4&c.o&&(S=!0),c.D=o[2],c.N=o[3],c.P=[],c.H=null!=(l=o[4])?l:{};const u=c.$,a=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,((e,n)=>{const o={o:0,$hostElement$:e,k:n,A:new Map};o.L=new Promise((e=>o.R=e)),e["s-p"]=[],e["s-rc"]=[],t.set(e,o)})(e=this,c),1&c.o)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${c.$}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else e.attachShadow({mode:"open"})}connectedCallback(){const e=n(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,ye(this,e,c.N)),$&&(clearTimeout($),$=null),g?w.push(this):f.jmp((()=>(e=>{if(!(1&f.o)){const t=n(e),o=t.k,l=()=>{};if(1&t.o)ye(e,t,o.N),(null==t?void 0:t.t)?pe(t.t,e):(null==t?void 0:t.L)&&t.L.then((()=>pe(t.t,e)));else{t.o|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){te(t,t.j=n);break}}o.D&&Object.entries(o.D).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n)=>{let o;if(!(32&t.o)){if(t.o|=32,n.T){const l=((e,t)=>{const n=e.$.replace(/-/g,"_"),o=e.T;if(!o)return;const l=i.get(o);return l?l[n]:import(`./${o}.entry.js`).then((e=>(i.set(o,e),e[n])),(e=>{s(e,t.$hostElement$)}))
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n,t);if(l&&"then"in l){const e=()=>{};o=await l,e()}else o=l;if(!o)throw Error(`Constructor for "${n.$}#${t.U}" was not found`);o.isProxied||(n.H=o.watchers,de(o,n,2),o.isProxied=!0);const r=()=>{};t.o|=8;try{new o(t)}catch(t){s(t,e)}t.o&=-9,t.o|=128,r(),pe(t.t,e)}else o=e.constructor,customElements.whenDefined(e.localName).then((()=>t.o|=128));if(o&&o.style){let e;"string"==typeof o.style&&(e=o.style);const t=U(n);if(!r.has(t)){const o=()=>{};((e,t,n)=>{let o=r.get(e);d&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=t:o.replaceSync(t)):o=t,r.set(e,o)})(t,e,!!(1&n.o)),o()}}}const l=t.j,c=()=>ne(t,!0);l&&l["s-rc"]?l["s-rc"].push(c):c()})(e,t,o)}l()}})(this)))}disconnectedCallback(){f.jmp((()=>(async e=>{if(!(1&f.o)){const t=n(e);t.W&&(t.W.map((e=>e())),t.W=void 0),(null==t?void 0:t.t)?me(t.t,e):(null==t?void 0:t.L)&&t.L.then((()=>me(t.t,e)))}T.has(e)&&T.delete(e),e.shadowRoot&&T.has(e.shadowRoot)&&T.delete(e.shadowRoot)})(this))),f.raf((()=>{var e;const t=n(this),o=w.findIndex((e=>e===this));o>-1&&w.splice(o,1),(null==(e=null==t?void 0:t.M)?void 0:e.v)instanceof Node&&!t.M.v.isConnected&&delete t.M.v}))}componentOnReady(){return n(this).L}};c.T=e[0],p.includes(u)||m.get(u)||(h.push(u),m.define(u,de(a,c,1)))}))})),h.length>0&&(S&&(b.textContent+=c),b.textContent+=h.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",b.innerHTML.length)){b.setAttribute("data-styles","");const e=null!=(l=f.C)?l:j(a);null!=e&&b.setAttribute("nonce",e),v.insertBefore(b,y?y.nextSibling:v.firstChild)}g=!1,w.length?w.map((e=>e.connectedCallback())):f.jmp((()=>$=setTimeout(ue,30)))},ye=(e,t,n)=>{n&&n.map((([n,o,l])=>{const s=we(e,n),i=be(t,l),r=$e(n);f.ael(s,o,i,r),(t.W=t.W||[]).push((()=>f.rel(s,o,i,r)))}))},be=(e,t)=>n=>{var o;try{256&e.o?null==(o=e.t)||o[t](n):(e.O=e.O||[]).push([t,n])}catch(t){s(t,e.$hostElement$)}},we=(e,t)=>4&t?a:8&t?u:16&t?a.body:e,$e=e=>({passive:!!(1&e),capture:!!(2&e)}),ge=e=>f.C=e;export{A as H,ve as b,L as c,H as g,P as h,h as p,o as r,ge as s}
|