@swisspost/design-system-components 7.2.0 → 7.2.1
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/{index-0fc0bf5f.js → index-49177437.js} +232 -214
- package/dist/cjs/index.cjs.js +16 -16
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-b133ab48.js → package-198f981b.js} +1 -1
- package/dist/cjs/{post-accordion-a079c21b.js → post-accordion-f81a31b2.js} +2 -2
- package/dist/cjs/{post-accordion-item-30c6ec06.js → post-accordion-item-994583fc.js} +2 -2
- package/dist/cjs/post-accordion-item.cjs.entry.js +3 -3
- package/dist/cjs/post-accordion.cjs.entry.js +3 -3
- package/dist/cjs/{post-alert-b5cfc4c6.js → post-alert-b160762a.js} +3 -3
- package/dist/cjs/post-alert.cjs.entry.js +3 -3
- package/dist/cjs/{post-card-control-80ff0fbb.js → post-card-control-5f309278.js} +2 -2
- package/dist/cjs/post-card-control.cjs.entry.js +3 -3
- package/dist/cjs/{post-collapsible-9bcaf6f1.js → post-collapsible-bf63b152.js} +2 -2
- package/dist/cjs/post-collapsible.cjs.entry.js +3 -3
- package/dist/cjs/post-components.cjs.js +2 -2
- package/dist/cjs/{post-icon-87e7972e.js → post-icon-e5af0dff.js} +2 -2
- package/dist/cjs/post-icon.cjs.entry.js +3 -3
- package/dist/cjs/{post-popover-0a73553e.js → post-popover-bb1cf2dc.js} +2 -2
- package/dist/cjs/post-popover.cjs.entry.js +3 -3
- package/dist/cjs/{post-popovercontainer-a1df1705.js → post-popovercontainer-814f2053.js} +31 -22
- package/dist/cjs/post-popovercontainer.cjs.entry.js +3 -3
- package/dist/cjs/{post-rating-2337c023.js → post-rating-7e29df2c.js} +2 -2
- package/dist/cjs/post-rating.cjs.entry.js +3 -3
- package/dist/cjs/{post-tab-header-ac4137cb.js → post-tab-header-1d896a9b.js} +2 -2
- package/dist/cjs/post-tab-header.cjs.entry.js +3 -3
- package/dist/cjs/{post-tab-panel-307eacef.js → post-tab-panel-47481b1e.js} +2 -2
- package/dist/cjs/post-tab-panel.cjs.entry.js +3 -3
- package/dist/cjs/{post-tabs-92435b40.js → post-tabs-35d27649.js} +3 -3
- package/dist/cjs/post-tabs.cjs.entry.js +3 -3
- package/dist/cjs/{post-tag-0237216a.js → post-tag-27049429.js} +2 -2
- package/dist/cjs/post-tag.cjs.entry.js +3 -3
- package/dist/cjs/{post-tooltip-7fcd3f15.js → post-tooltip-95c1e078.js} +2 -2
- package/dist/cjs/post-tooltip.cjs.entry.js +3 -3
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/post-alert/post-alert.js +1 -1
- package/dist/collection/components/post-popover/post-popover.js +1 -1
- package/dist/collection/components/post-popovercontainer/post-popovercontainer.js +1 -1
- package/dist/collection/components/post-tabs/post-tabs.js +3 -1
- package/dist/collection/components/post-tooltip/post-tooltip.js +1 -1
- package/dist/components/package.js +1 -1
- package/dist/components/post-alert2.js +1 -1
- package/dist/components/post-popovercontainer2.js +29 -20
- package/dist/components/post-tabs2.js +1 -1
- package/dist/docs.json +25 -8
- package/dist/esm/{index-d9331ff3.js → index-b40b8259.js} +232 -214
- package/dist/esm/index.js +16 -16
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{package-37b02bc3.js → package-baed1bbc.js} +1 -1
- package/dist/esm/{post-accordion-7eaa090e.js → post-accordion-63757789.js} +2 -2
- package/dist/esm/{post-accordion-item-d5466ca0.js → post-accordion-item-ff713ffa.js} +2 -2
- package/dist/esm/post-accordion-item.entry.js +3 -3
- package/dist/esm/post-accordion.entry.js +3 -3
- package/dist/esm/{post-alert-5bc0d11c.js → post-alert-90030a07.js} +3 -3
- package/dist/esm/post-alert.entry.js +3 -3
- package/dist/esm/{post-card-control-d64be740.js → post-card-control-a77d7957.js} +2 -2
- package/dist/esm/post-card-control.entry.js +3 -3
- package/dist/esm/{post-collapsible-0bb7ca9a.js → post-collapsible-2fd13f4e.js} +2 -2
- package/dist/esm/post-collapsible.entry.js +3 -3
- package/dist/esm/post-components.js +3 -3
- package/dist/esm/{post-icon-8d59faf7.js → post-icon-725a0fba.js} +2 -2
- package/dist/esm/post-icon.entry.js +3 -3
- package/dist/esm/{post-popover-0ebc24f5.js → post-popover-23ed2cdf.js} +2 -2
- package/dist/esm/post-popover.entry.js +3 -3
- package/dist/esm/{post-popovercontainer-5c0ba050.js → post-popovercontainer-f5625d65.js} +31 -22
- package/dist/esm/post-popovercontainer.entry.js +3 -3
- package/dist/esm/{post-rating-40195437.js → post-rating-0bfc12ec.js} +2 -2
- package/dist/esm/post-rating.entry.js +3 -3
- package/dist/esm/{post-tab-header-ff165ebb.js → post-tab-header-5be0820b.js} +2 -2
- package/dist/esm/post-tab-header.entry.js +3 -3
- package/dist/esm/{post-tab-panel-d40b9704.js → post-tab-panel-a2a06c2d.js} +2 -2
- package/dist/esm/post-tab-panel.entry.js +3 -3
- package/dist/esm/{post-tabs-6ee5542b.js → post-tabs-c1cf60cd.js} +3 -3
- package/dist/esm/post-tabs.entry.js +3 -3
- package/dist/esm/{post-tag-e76f88e5.js → post-tag-1158169f.js} +2 -2
- package/dist/esm/post-tag.entry.js +3 -3
- package/dist/esm/{post-tooltip-990b8b2b.js → post-tooltip-966fde7a.js} +2 -2
- package/dist/esm/post-tooltip.entry.js +3 -3
- package/dist/post-components/index.esm.js +1 -1
- package/dist/post-components/p-09c9ec65.entry.js +1 -0
- package/dist/post-components/p-105f8fe5.entry.js +1 -0
- package/dist/post-components/{p-287f66b9.js → p-11e13d7d.js} +1 -1
- package/dist/post-components/p-1d351eda.js +2 -0
- package/dist/post-components/p-408e8d5c.entry.js +1 -0
- package/dist/post-components/{p-ee12644d.js → p-40cbd3a9.js} +1 -1
- package/dist/post-components/p-418e4351.entry.js +1 -0
- package/dist/post-components/{p-aef9ee8b.js → p-41bd4480.js} +1 -1
- package/dist/post-components/{p-3ce051c9.js → p-4f16eac0.js} +1 -1
- package/dist/post-components/{p-deb19ca0.js → p-6fa5a17d.js} +1 -1
- package/dist/post-components/p-803678de.entry.js +1 -0
- package/dist/post-components/p-8ba9721a.entry.js +1 -0
- package/dist/post-components/p-92636363.js +1 -0
- package/dist/post-components/p-9ac48e84.entry.js +1 -0
- package/dist/post-components/p-9c5b9e7c.entry.js +1 -0
- package/dist/post-components/{p-f86b2ea1.js → p-9c842093.js} +1 -1
- package/dist/post-components/{p-3f2c54ad.js → p-b3a7e242.js} +1 -1
- package/dist/post-components/p-b5f6a7b5.entry.js +1 -0
- package/dist/post-components/p-b675a470.entry.js +1 -0
- package/dist/post-components/p-ba275788.entry.js +1 -0
- package/dist/post-components/p-c2906b17.js +1 -0
- package/dist/post-components/{p-0637689e.js → p-c3e6894d.js} +1 -1
- package/dist/post-components/{p-d6e0e495.js → p-cbca927d.js} +1 -1
- package/dist/post-components/p-ce4fff0a.js +1 -0
- package/dist/post-components/p-daf27e9c.entry.js +1 -0
- package/dist/post-components/{p-69bd634e.js → p-f11cb5ab.js} +1 -1
- package/dist/post-components/p-f4b64493.entry.js +1 -0
- package/dist/post-components/p-f665b245.entry.js +1 -0
- package/dist/post-components/p-f80d0c5f.js +1 -0
- package/dist/post-components/p-fa1125d9.js +1 -0
- package/dist/post-components/post-components.esm.js +1 -1
- package/dist/types/components/post-tabs/post-tabs.d.ts +2 -0
- package/dist/types/stencil-public-runtime.d.ts +0 -2
- package/loader/index.d.ts +3 -0
- package/package.json +9 -9
- package/dist/collection/index.spec.js +0 -27
- package/dist/post-components/p-0ba99d76.entry.js +0 -1
- package/dist/post-components/p-0e97fb19.entry.js +0 -1
- package/dist/post-components/p-19ee1efc.entry.js +0 -1
- package/dist/post-components/p-23e7f6e3.entry.js +0 -1
- package/dist/post-components/p-305ab60c.js +0 -1
- package/dist/post-components/p-62229794.entry.js +0 -1
- package/dist/post-components/p-7dc73c43.entry.js +0 -1
- package/dist/post-components/p-7e59cbd2.js +0 -1
- package/dist/post-components/p-8559d3c0.entry.js +0 -1
- package/dist/post-components/p-941e5ef0.js +0 -1
- package/dist/post-components/p-95003bde.entry.js +0 -1
- package/dist/post-components/p-a1da0539.js +0 -1
- package/dist/post-components/p-a5d9115f.entry.js +0 -1
- package/dist/post-components/p-a9aa57f0.entry.js +0 -1
- package/dist/post-components/p-c21da8cb.js +0 -1
- package/dist/post-components/p-c655db7c.entry.js +0 -1
- package/dist/post-components/p-ca2ff4bb.entry.js +0 -1
- package/dist/post-components/p-d2eafe06.entry.js +0 -1
- package/dist/post-components/p-d9eab6d9.js +0 -2
- package/dist/post-components/p-ff0b0a9a.entry.js +0 -1
|
@@ -2,13 +2,209 @@ const NAMESPACE = 'post-components';
|
|
|
2
2
|
const BUILD = /* post-components */ { 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: true, cmpWillUpdate: false, connectedCallback: true, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: true, hasRenderFn: true, hostListener: true, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, 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: true, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: false, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: false, watchCallback: true };
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
Stencil Client Platform v4.
|
|
5
|
+
Stencil Client Platform v4.19.1 | 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
|
+
var hostRefs = /* @__PURE__ */ new WeakMap();
|
|
13
|
+
var getHostRef = (ref) => hostRefs.get(ref);
|
|
14
|
+
var registerInstance = (lazyInstance, hostRef) => hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
|
|
15
|
+
var registerHost = (hostElement, cmpMeta) => {
|
|
16
|
+
const hostRef = {
|
|
17
|
+
$flags$: 0,
|
|
18
|
+
$hostElement$: hostElement,
|
|
19
|
+
$cmpMeta$: cmpMeta,
|
|
20
|
+
$instanceValues$: /* @__PURE__ */ new Map()
|
|
21
|
+
};
|
|
22
|
+
{
|
|
23
|
+
hostRef.$onInstancePromise$ = new Promise((r) => hostRef.$onInstanceResolve$ = r);
|
|
24
|
+
}
|
|
25
|
+
{
|
|
26
|
+
hostRef.$onReadyPromise$ = new Promise((r) => hostRef.$onReadyResolve$ = r);
|
|
27
|
+
hostElement["s-p"] = [];
|
|
28
|
+
hostElement["s-rc"] = [];
|
|
29
|
+
}
|
|
30
|
+
return hostRefs.set(hostElement, hostRef);
|
|
31
|
+
};
|
|
32
|
+
var isMemberInElement = (elm, memberName) => memberName in elm;
|
|
33
|
+
var consoleError = (e, el) => (0, console.error)(e, el);
|
|
34
|
+
|
|
35
|
+
// src/client/client-load-module.ts
|
|
36
|
+
var cmpModules = /* @__PURE__ */ new Map();
|
|
37
|
+
var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
38
|
+
const exportName = cmpMeta.$tagName$.replace(/-/g, "_");
|
|
39
|
+
const bundleId = cmpMeta.$lazyBundleId$;
|
|
40
|
+
if (!bundleId) {
|
|
41
|
+
return void 0;
|
|
42
|
+
}
|
|
43
|
+
const module = cmpModules.get(bundleId) ;
|
|
44
|
+
if (module) {
|
|
45
|
+
return module[exportName];
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
if (!hmrVersionId || !BUILD.hotModuleReplacement) {
|
|
49
|
+
const processMod = importedModule => {
|
|
50
|
+
cmpModules.set(bundleId, importedModule);
|
|
51
|
+
return importedModule[exportName];
|
|
52
|
+
}
|
|
53
|
+
switch(bundleId) {
|
|
54
|
+
|
|
55
|
+
case 'post-accordion':
|
|
56
|
+
return import(
|
|
57
|
+
/* webpackMode: "lazy" */
|
|
58
|
+
'./post-accordion.entry.js').then(processMod, consoleError);
|
|
59
|
+
case 'post-accordion-item':
|
|
60
|
+
return import(
|
|
61
|
+
/* webpackMode: "lazy" */
|
|
62
|
+
'./post-accordion-item.entry.js').then(processMod, consoleError);
|
|
63
|
+
case 'post-alert':
|
|
64
|
+
return import(
|
|
65
|
+
/* webpackMode: "lazy" */
|
|
66
|
+
'./post-alert.entry.js').then(processMod, consoleError);
|
|
67
|
+
case 'post-card-control':
|
|
68
|
+
return import(
|
|
69
|
+
/* webpackMode: "lazy" */
|
|
70
|
+
'./post-card-control.entry.js').then(processMod, consoleError);
|
|
71
|
+
case 'post-popover':
|
|
72
|
+
return import(
|
|
73
|
+
/* webpackMode: "lazy" */
|
|
74
|
+
'./post-popover.entry.js').then(processMod, consoleError);
|
|
75
|
+
case 'post-rating':
|
|
76
|
+
return import(
|
|
77
|
+
/* webpackMode: "lazy" */
|
|
78
|
+
'./post-rating.entry.js').then(processMod, consoleError);
|
|
79
|
+
case 'post-tab-header':
|
|
80
|
+
return import(
|
|
81
|
+
/* webpackMode: "lazy" */
|
|
82
|
+
'./post-tab-header.entry.js').then(processMod, consoleError);
|
|
83
|
+
case 'post-tab-panel':
|
|
84
|
+
return import(
|
|
85
|
+
/* webpackMode: "lazy" */
|
|
86
|
+
'./post-tab-panel.entry.js').then(processMod, consoleError);
|
|
87
|
+
case 'post-tabs':
|
|
88
|
+
return import(
|
|
89
|
+
/* webpackMode: "lazy" */
|
|
90
|
+
'./post-tabs.entry.js').then(processMod, consoleError);
|
|
91
|
+
case 'post-tag':
|
|
92
|
+
return import(
|
|
93
|
+
/* webpackMode: "lazy" */
|
|
94
|
+
'./post-tag.entry.js').then(processMod, consoleError);
|
|
95
|
+
case 'post-tooltip':
|
|
96
|
+
return import(
|
|
97
|
+
/* webpackMode: "lazy" */
|
|
98
|
+
'./post-tooltip.entry.js').then(processMod, consoleError);
|
|
99
|
+
case 'post-collapsible':
|
|
100
|
+
return import(
|
|
101
|
+
/* webpackMode: "lazy" */
|
|
102
|
+
'./post-collapsible.entry.js').then(processMod, consoleError);
|
|
103
|
+
case 'post-popovercontainer':
|
|
104
|
+
return import(
|
|
105
|
+
/* webpackMode: "lazy" */
|
|
106
|
+
'./post-popovercontainer.entry.js').then(processMod, consoleError);
|
|
107
|
+
case 'post-icon':
|
|
108
|
+
return import(
|
|
109
|
+
/* webpackMode: "lazy" */
|
|
110
|
+
'./post-icon.entry.js').then(processMod, consoleError);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
return import(
|
|
114
|
+
/* @vite-ignore */
|
|
115
|
+
/* webpackInclude: /\.entry\.js$/ */
|
|
116
|
+
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
117
|
+
/* webpackMode: "lazy" */
|
|
118
|
+
`./${bundleId}.entry.js${""}`
|
|
119
|
+
).then((importedModule) => {
|
|
120
|
+
{
|
|
121
|
+
cmpModules.set(bundleId, importedModule);
|
|
122
|
+
}
|
|
123
|
+
return importedModule[exportName];
|
|
124
|
+
}, consoleError);
|
|
125
|
+
};
|
|
126
|
+
|
|
127
|
+
// src/client/client-style.ts
|
|
128
|
+
var styles = /* @__PURE__ */ new Map();
|
|
129
|
+
var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
|
|
130
|
+
var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
|
|
131
|
+
var FORM_ASSOCIATED_CUSTOM_ELEMENT_CALLBACKS = [
|
|
132
|
+
"formAssociatedCallback",
|
|
133
|
+
"formResetCallback",
|
|
134
|
+
"formDisabledCallback",
|
|
135
|
+
"formStateRestoreCallback"
|
|
136
|
+
];
|
|
137
|
+
var win = typeof window !== "undefined" ? window : {};
|
|
138
|
+
var doc = win.document || { head: {} };
|
|
139
|
+
var plt = {
|
|
140
|
+
$flags$: 0,
|
|
141
|
+
$resourcesUrl$: "",
|
|
142
|
+
jmp: (h2) => h2(),
|
|
143
|
+
raf: (h2) => requestAnimationFrame(h2),
|
|
144
|
+
ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
|
|
145
|
+
rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
|
|
146
|
+
ce: (eventName, opts) => new CustomEvent(eventName, opts)
|
|
147
|
+
};
|
|
148
|
+
var supportsListenerOptions = /* @__PURE__ */ (() => {
|
|
149
|
+
let supportsListenerOptions2 = false;
|
|
150
|
+
try {
|
|
151
|
+
doc.addEventListener(
|
|
152
|
+
"e",
|
|
153
|
+
null,
|
|
154
|
+
Object.defineProperty({}, "passive", {
|
|
155
|
+
get() {
|
|
156
|
+
supportsListenerOptions2 = true;
|
|
157
|
+
}
|
|
158
|
+
})
|
|
159
|
+
);
|
|
160
|
+
} catch (e) {
|
|
161
|
+
}
|
|
162
|
+
return supportsListenerOptions2;
|
|
163
|
+
})();
|
|
164
|
+
var promiseResolve = (v) => Promise.resolve(v);
|
|
165
|
+
var supportsConstructableStylesheets = /* @__PURE__ */ (() => {
|
|
166
|
+
try {
|
|
167
|
+
new CSSStyleSheet();
|
|
168
|
+
return typeof new CSSStyleSheet().replaceSync === "function";
|
|
169
|
+
} catch (e) {
|
|
170
|
+
}
|
|
171
|
+
return false;
|
|
172
|
+
})() ;
|
|
173
|
+
var queuePending = false;
|
|
174
|
+
var queueDomReads = [];
|
|
175
|
+
var queueDomWrites = [];
|
|
176
|
+
var queueTask = (queue, write) => (cb) => {
|
|
177
|
+
queue.push(cb);
|
|
178
|
+
if (!queuePending) {
|
|
179
|
+
queuePending = true;
|
|
180
|
+
if (write && plt.$flags$ & 4 /* queueSync */) {
|
|
181
|
+
nextTick(flush);
|
|
182
|
+
} else {
|
|
183
|
+
plt.raf(flush);
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
};
|
|
187
|
+
var consume = (queue) => {
|
|
188
|
+
for (let i2 = 0; i2 < queue.length; i2++) {
|
|
189
|
+
try {
|
|
190
|
+
queue[i2](performance.now());
|
|
191
|
+
} catch (e) {
|
|
192
|
+
consoleError(e);
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
queue.length = 0;
|
|
196
|
+
};
|
|
197
|
+
var flush = () => {
|
|
198
|
+
consume(queueDomReads);
|
|
199
|
+
{
|
|
200
|
+
consume(queueDomWrites);
|
|
201
|
+
if (queuePending = queueDomReads.length > 0) {
|
|
202
|
+
plt.raf(flush);
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
};
|
|
206
|
+
var nextTick = (cb) => promiseResolve().then(cb);
|
|
207
|
+
var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
|
|
12
208
|
|
|
13
209
|
// src/utils/constants.ts
|
|
14
210
|
var EMPTY_OBJ = {};
|
|
@@ -88,14 +284,6 @@ var uniqueTime = (key, measureText) => {
|
|
|
88
284
|
};
|
|
89
285
|
}
|
|
90
286
|
};
|
|
91
|
-
var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
|
|
92
|
-
var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
|
|
93
|
-
var FORM_ASSOCIATED_CUSTOM_ELEMENT_CALLBACKS = [
|
|
94
|
-
"formAssociatedCallback",
|
|
95
|
-
"formResetCallback",
|
|
96
|
-
"formDisabledCallback",
|
|
97
|
-
"formStateRestoreCallback"
|
|
98
|
-
];
|
|
99
287
|
var h = (nodeName, vnodeData, ...children) => {
|
|
100
288
|
let child = null;
|
|
101
289
|
let key = null;
|
|
@@ -250,12 +438,13 @@ var registerStyle = (scopeId2, cssText, allowCS) => {
|
|
|
250
438
|
};
|
|
251
439
|
var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
252
440
|
var _a;
|
|
441
|
+
const styleContainerDocument = styleContainerNode;
|
|
253
442
|
const scopeId2 = getScopeId(cmpMeta);
|
|
254
443
|
const style = styles.get(scopeId2);
|
|
255
444
|
styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : doc;
|
|
256
445
|
if (style) {
|
|
257
446
|
if (typeof style === "string") {
|
|
258
|
-
styleContainerNode =
|
|
447
|
+
styleContainerNode = styleContainerDocument.head || styleContainerNode;
|
|
259
448
|
let appliedStyles = rootAppliedStyles.get(styleContainerNode);
|
|
260
449
|
let styleElm;
|
|
261
450
|
if (!appliedStyles) {
|
|
@@ -278,8 +467,8 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
278
467
|
appliedStyles.add(scopeId2);
|
|
279
468
|
}
|
|
280
469
|
}
|
|
281
|
-
} else if (!
|
|
282
|
-
|
|
470
|
+
} else if (!styleContainerDocument.adoptedStyleSheets.includes(style)) {
|
|
471
|
+
styleContainerDocument.adoptedStyleSheets = [...styleContainerDocument.adoptedStyleSheets, style];
|
|
283
472
|
}
|
|
284
473
|
}
|
|
285
474
|
return scopeId2;
|
|
@@ -429,7 +618,7 @@ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
429
618
|
elm = newVNode2.$elm$ = doc.createTextNode(newVNode2.$text$);
|
|
430
619
|
} else {
|
|
431
620
|
elm = newVNode2.$elm$ = doc.createElement(
|
|
432
|
-
newVNode2.$tag$
|
|
621
|
+
!useNativeShadowDom && BUILD.slotRelocation && newVNode2.$flags$ & 2 /* isSlotFallback */ ? "slot-fb" : newVNode2.$tag$
|
|
433
622
|
);
|
|
434
623
|
{
|
|
435
624
|
updateElement(null, newVNode2, isSvgMode);
|
|
@@ -676,7 +865,10 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
|
|
|
676
865
|
endSchedule();
|
|
677
866
|
return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
|
|
678
867
|
};
|
|
679
|
-
var enqueue = (maybePromise, fn) => isPromisey(maybePromise) ? maybePromise.then(fn)
|
|
868
|
+
var enqueue = (maybePromise, fn) => isPromisey(maybePromise) ? maybePromise.then(fn).catch((err2) => {
|
|
869
|
+
console.error(err2);
|
|
870
|
+
fn();
|
|
871
|
+
}) : fn();
|
|
680
872
|
var isPromisey = (maybePromise) => maybePromise instanceof Promise || maybePromise && maybePromise.then && typeof maybePromise.then === "function";
|
|
681
873
|
var updateComponent = async (hostRef, instance, isInitialLoad) => {
|
|
682
874
|
var _a;
|
|
@@ -831,7 +1023,7 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
831
1023
|
|
|
832
1024
|
// src/runtime/proxy-component.ts
|
|
833
1025
|
var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
834
|
-
var _a;
|
|
1026
|
+
var _a, _b;
|
|
835
1027
|
const prototype = Cstr.prototype;
|
|
836
1028
|
if (cmpMeta.$flags$ & 64 /* formAssociated */ && flags & 1 /* isElementConstructor */) {
|
|
837
1029
|
FORM_ASSOCIATED_CUSTOM_ELEMENT_CALLBACKS.forEach(
|
|
@@ -852,11 +1044,11 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
852
1044
|
})
|
|
853
1045
|
);
|
|
854
1046
|
}
|
|
855
|
-
if (cmpMeta.$members$) {
|
|
856
|
-
if (Cstr.watchers) {
|
|
1047
|
+
if (cmpMeta.$members$ || (cmpMeta.$watchers$ || Cstr.watchers)) {
|
|
1048
|
+
if (Cstr.watchers && !cmpMeta.$watchers$) {
|
|
857
1049
|
cmpMeta.$watchers$ = Cstr.watchers;
|
|
858
1050
|
}
|
|
859
|
-
const members = Object.entries(cmpMeta.$members$);
|
|
1051
|
+
const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
|
|
860
1052
|
members.map(([memberName, [memberFlags]]) => {
|
|
861
1053
|
if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
|
|
862
1054
|
Object.defineProperty(prototype, memberName, {
|
|
@@ -912,7 +1104,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
912
1104
|
};
|
|
913
1105
|
Cstr.observedAttributes = Array.from(
|
|
914
1106
|
/* @__PURE__ */ new Set([
|
|
915
|
-
...Object.keys((
|
|
1107
|
+
...Object.keys((_b = cmpMeta.$watchers$) != null ? _b : {}),
|
|
916
1108
|
...members.filter(([_, m]) => m[0] & 15 /* HasAttribute */).map(([propName, m]) => {
|
|
917
1109
|
const attrName = m[1] || propName;
|
|
918
1110
|
attrNameToPropName.set(attrName, propName);
|
|
@@ -973,7 +1165,10 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
973
1165
|
customElements.whenDefined(cmpTag).then(() => hostRef.$flags$ |= 128 /* isWatchReady */);
|
|
974
1166
|
}
|
|
975
1167
|
if (Cstr && Cstr.style) {
|
|
976
|
-
let style
|
|
1168
|
+
let style;
|
|
1169
|
+
if (typeof Cstr.style === "string") {
|
|
1170
|
+
style = Cstr.style;
|
|
1171
|
+
}
|
|
977
1172
|
const scopeId2 = getScopeId(cmpMeta);
|
|
978
1173
|
if (!styles.has(scopeId2)) {
|
|
979
1174
|
const endRegisterStyles = createTime("registerStyles", cmpMeta.$tagName$);
|
|
@@ -1100,17 +1295,31 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1100
1295
|
// StencilLazyHost
|
|
1101
1296
|
constructor(self) {
|
|
1102
1297
|
super(self);
|
|
1298
|
+
this.hasRegisteredEventListeners = false;
|
|
1103
1299
|
self = this;
|
|
1104
1300
|
registerHost(self, cmpMeta);
|
|
1105
1301
|
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
1106
1302
|
{
|
|
1107
|
-
{
|
|
1108
|
-
|
|
1303
|
+
if (!self.shadowRoot) {
|
|
1304
|
+
{
|
|
1305
|
+
self.attachShadow({ mode: "open" });
|
|
1306
|
+
}
|
|
1307
|
+
} else {
|
|
1308
|
+
if (self.shadowRoot.mode !== "open") {
|
|
1309
|
+
throw new Error(
|
|
1310
|
+
`Unable to re-use existing shadow root for ${cmpMeta.$tagName$}! Mode is set to ${self.shadowRoot.mode} but Stencil only supports open shadow roots.`
|
|
1311
|
+
);
|
|
1312
|
+
}
|
|
1109
1313
|
}
|
|
1110
1314
|
}
|
|
1111
1315
|
}
|
|
1112
1316
|
}
|
|
1113
1317
|
connectedCallback() {
|
|
1318
|
+
const hostRef = getHostRef(this);
|
|
1319
|
+
if (!this.hasRegisteredEventListeners) {
|
|
1320
|
+
this.hasRegisteredEventListeners = true;
|
|
1321
|
+
addHostEventListeners(this, hostRef, cmpMeta.$listeners$);
|
|
1322
|
+
}
|
|
1114
1323
|
if (appLoadFallback) {
|
|
1115
1324
|
clearTimeout(appLoadFallback);
|
|
1116
1325
|
appLoadFallback = null;
|
|
@@ -1146,7 +1355,7 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1146
1355
|
dataStyles.textContent += SLOT_FB_CSS;
|
|
1147
1356
|
}
|
|
1148
1357
|
{
|
|
1149
|
-
dataStyles.textContent += cmpTags + HYDRATED_CSS;
|
|
1358
|
+
dataStyles.textContent += cmpTags.sort() + HYDRATED_CSS;
|
|
1150
1359
|
}
|
|
1151
1360
|
if (dataStyles.innerHTML.length) {
|
|
1152
1361
|
dataStyles.setAttribute("data-styles", "");
|
|
@@ -1200,195 +1409,4 @@ var hostListenerOpts = (flags) => supportsListenerOptions ? {
|
|
|
1200
1409
|
// src/runtime/nonce.ts
|
|
1201
1410
|
var setNonce = (nonce) => plt.$nonce$ = nonce;
|
|
1202
1411
|
|
|
1203
|
-
// src/client/client-host-ref.ts
|
|
1204
|
-
var hostRefs = /* @__PURE__ */ new WeakMap();
|
|
1205
|
-
var getHostRef = (ref) => hostRefs.get(ref);
|
|
1206
|
-
var registerInstance = (lazyInstance, hostRef) => hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
|
|
1207
|
-
var registerHost = (hostElement, cmpMeta) => {
|
|
1208
|
-
const hostRef = {
|
|
1209
|
-
$flags$: 0,
|
|
1210
|
-
$hostElement$: hostElement,
|
|
1211
|
-
$cmpMeta$: cmpMeta,
|
|
1212
|
-
$instanceValues$: /* @__PURE__ */ new Map()
|
|
1213
|
-
};
|
|
1214
|
-
{
|
|
1215
|
-
hostRef.$onInstancePromise$ = new Promise((r) => hostRef.$onInstanceResolve$ = r);
|
|
1216
|
-
}
|
|
1217
|
-
{
|
|
1218
|
-
hostRef.$onReadyPromise$ = new Promise((r) => hostRef.$onReadyResolve$ = r);
|
|
1219
|
-
hostElement["s-p"] = [];
|
|
1220
|
-
hostElement["s-rc"] = [];
|
|
1221
|
-
}
|
|
1222
|
-
addHostEventListeners(hostElement, hostRef, cmpMeta.$listeners$);
|
|
1223
|
-
return hostRefs.set(hostElement, hostRef);
|
|
1224
|
-
};
|
|
1225
|
-
var isMemberInElement = (elm, memberName) => memberName in elm;
|
|
1226
|
-
var consoleError = (e, el) => (0, console.error)(e, el);
|
|
1227
|
-
|
|
1228
|
-
// src/client/client-load-module.ts
|
|
1229
|
-
var cmpModules = /* @__PURE__ */ new Map();
|
|
1230
|
-
var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
1231
|
-
const exportName = cmpMeta.$tagName$.replace(/-/g, "_");
|
|
1232
|
-
const bundleId = cmpMeta.$lazyBundleId$;
|
|
1233
|
-
if (!bundleId) {
|
|
1234
|
-
return void 0;
|
|
1235
|
-
}
|
|
1236
|
-
const module = cmpModules.get(bundleId) ;
|
|
1237
|
-
if (module) {
|
|
1238
|
-
return module[exportName];
|
|
1239
|
-
}
|
|
1240
|
-
|
|
1241
|
-
if (!hmrVersionId || !BUILD.hotModuleReplacement) {
|
|
1242
|
-
const processMod = importedModule => {
|
|
1243
|
-
cmpModules.set(bundleId, importedModule);
|
|
1244
|
-
return importedModule[exportName];
|
|
1245
|
-
}
|
|
1246
|
-
switch(bundleId) {
|
|
1247
|
-
|
|
1248
|
-
case 'post-accordion':
|
|
1249
|
-
return import(
|
|
1250
|
-
/* webpackMode: "lazy" */
|
|
1251
|
-
'./post-accordion.entry.js').then(processMod, consoleError);
|
|
1252
|
-
case 'post-accordion-item':
|
|
1253
|
-
return import(
|
|
1254
|
-
/* webpackMode: "lazy" */
|
|
1255
|
-
'./post-accordion-item.entry.js').then(processMod, consoleError);
|
|
1256
|
-
case 'post-alert':
|
|
1257
|
-
return import(
|
|
1258
|
-
/* webpackMode: "lazy" */
|
|
1259
|
-
'./post-alert.entry.js').then(processMod, consoleError);
|
|
1260
|
-
case 'post-card-control':
|
|
1261
|
-
return import(
|
|
1262
|
-
/* webpackMode: "lazy" */
|
|
1263
|
-
'./post-card-control.entry.js').then(processMod, consoleError);
|
|
1264
|
-
case 'post-popover':
|
|
1265
|
-
return import(
|
|
1266
|
-
/* webpackMode: "lazy" */
|
|
1267
|
-
'./post-popover.entry.js').then(processMod, consoleError);
|
|
1268
|
-
case 'post-rating':
|
|
1269
|
-
return import(
|
|
1270
|
-
/* webpackMode: "lazy" */
|
|
1271
|
-
'./post-rating.entry.js').then(processMod, consoleError);
|
|
1272
|
-
case 'post-tab-header':
|
|
1273
|
-
return import(
|
|
1274
|
-
/* webpackMode: "lazy" */
|
|
1275
|
-
'./post-tab-header.entry.js').then(processMod, consoleError);
|
|
1276
|
-
case 'post-tab-panel':
|
|
1277
|
-
return import(
|
|
1278
|
-
/* webpackMode: "lazy" */
|
|
1279
|
-
'./post-tab-panel.entry.js').then(processMod, consoleError);
|
|
1280
|
-
case 'post-tabs':
|
|
1281
|
-
return import(
|
|
1282
|
-
/* webpackMode: "lazy" */
|
|
1283
|
-
'./post-tabs.entry.js').then(processMod, consoleError);
|
|
1284
|
-
case 'post-tag':
|
|
1285
|
-
return import(
|
|
1286
|
-
/* webpackMode: "lazy" */
|
|
1287
|
-
'./post-tag.entry.js').then(processMod, consoleError);
|
|
1288
|
-
case 'post-tooltip':
|
|
1289
|
-
return import(
|
|
1290
|
-
/* webpackMode: "lazy" */
|
|
1291
|
-
'./post-tooltip.entry.js').then(processMod, consoleError);
|
|
1292
|
-
case 'post-collapsible':
|
|
1293
|
-
return import(
|
|
1294
|
-
/* webpackMode: "lazy" */
|
|
1295
|
-
'./post-collapsible.entry.js').then(processMod, consoleError);
|
|
1296
|
-
case 'post-popovercontainer':
|
|
1297
|
-
return import(
|
|
1298
|
-
/* webpackMode: "lazy" */
|
|
1299
|
-
'./post-popovercontainer.entry.js').then(processMod, consoleError);
|
|
1300
|
-
case 'post-icon':
|
|
1301
|
-
return import(
|
|
1302
|
-
/* webpackMode: "lazy" */
|
|
1303
|
-
'./post-icon.entry.js').then(processMod, consoleError);
|
|
1304
|
-
}
|
|
1305
|
-
}
|
|
1306
|
-
return import(
|
|
1307
|
-
/* @vite-ignore */
|
|
1308
|
-
/* webpackInclude: /\.entry\.js$/ */
|
|
1309
|
-
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
1310
|
-
/* webpackMode: "lazy" */
|
|
1311
|
-
`./${bundleId}.entry.js${""}`
|
|
1312
|
-
).then((importedModule) => {
|
|
1313
|
-
{
|
|
1314
|
-
cmpModules.set(bundleId, importedModule);
|
|
1315
|
-
}
|
|
1316
|
-
return importedModule[exportName];
|
|
1317
|
-
}, consoleError);
|
|
1318
|
-
};
|
|
1319
|
-
|
|
1320
|
-
// src/client/client-style.ts
|
|
1321
|
-
var styles = /* @__PURE__ */ new Map();
|
|
1322
|
-
var win = typeof window !== "undefined" ? window : {};
|
|
1323
|
-
var doc = win.document || { head: {} };
|
|
1324
|
-
var plt = {
|
|
1325
|
-
$flags$: 0,
|
|
1326
|
-
$resourcesUrl$: "",
|
|
1327
|
-
jmp: (h2) => h2(),
|
|
1328
|
-
raf: (h2) => requestAnimationFrame(h2),
|
|
1329
|
-
ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
|
|
1330
|
-
rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
|
|
1331
|
-
ce: (eventName, opts) => new CustomEvent(eventName, opts)
|
|
1332
|
-
};
|
|
1333
|
-
var supportsListenerOptions = /* @__PURE__ */ (() => {
|
|
1334
|
-
let supportsListenerOptions2 = false;
|
|
1335
|
-
try {
|
|
1336
|
-
doc.addEventListener(
|
|
1337
|
-
"e",
|
|
1338
|
-
null,
|
|
1339
|
-
Object.defineProperty({}, "passive", {
|
|
1340
|
-
get() {
|
|
1341
|
-
supportsListenerOptions2 = true;
|
|
1342
|
-
}
|
|
1343
|
-
})
|
|
1344
|
-
);
|
|
1345
|
-
} catch (e) {
|
|
1346
|
-
}
|
|
1347
|
-
return supportsListenerOptions2;
|
|
1348
|
-
})();
|
|
1349
|
-
var promiseResolve = (v) => Promise.resolve(v);
|
|
1350
|
-
var supportsConstructableStylesheets = /* @__PURE__ */ (() => {
|
|
1351
|
-
try {
|
|
1352
|
-
new CSSStyleSheet();
|
|
1353
|
-
return typeof new CSSStyleSheet().replaceSync === "function";
|
|
1354
|
-
} catch (e) {
|
|
1355
|
-
}
|
|
1356
|
-
return false;
|
|
1357
|
-
})() ;
|
|
1358
|
-
var queuePending = false;
|
|
1359
|
-
var queueDomReads = [];
|
|
1360
|
-
var queueDomWrites = [];
|
|
1361
|
-
var queueTask = (queue, write) => (cb) => {
|
|
1362
|
-
queue.push(cb);
|
|
1363
|
-
if (!queuePending) {
|
|
1364
|
-
queuePending = true;
|
|
1365
|
-
if (write && plt.$flags$ & 4 /* queueSync */) {
|
|
1366
|
-
nextTick(flush);
|
|
1367
|
-
} else {
|
|
1368
|
-
plt.raf(flush);
|
|
1369
|
-
}
|
|
1370
|
-
}
|
|
1371
|
-
};
|
|
1372
|
-
var consume = (queue) => {
|
|
1373
|
-
for (let i2 = 0; i2 < queue.length; i2++) {
|
|
1374
|
-
try {
|
|
1375
|
-
queue[i2](performance.now());
|
|
1376
|
-
} catch (e) {
|
|
1377
|
-
consoleError(e);
|
|
1378
|
-
}
|
|
1379
|
-
}
|
|
1380
|
-
queue.length = 0;
|
|
1381
|
-
};
|
|
1382
|
-
var flush = () => {
|
|
1383
|
-
consume(queueDomReads);
|
|
1384
|
-
{
|
|
1385
|
-
consume(queueDomWrites);
|
|
1386
|
-
if (queuePending = queueDomReads.length > 0) {
|
|
1387
|
-
plt.raf(flush);
|
|
1388
|
-
}
|
|
1389
|
-
}
|
|
1390
|
-
};
|
|
1391
|
-
var nextTick = (cb) => promiseResolve().then(cb);
|
|
1392
|
-
var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
|
|
1393
|
-
|
|
1394
1412
|
export { Host as H, bootstrapLazy as b, createEvent as c, getElement as g, h, promiseResolve as p, registerInstance as r, setNonce as s };
|
package/dist/esm/index.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
export { P as PostAccordion } from './post-accordion-
|
|
2
|
-
export { P as PostAccordionItem } from './post-accordion-item-
|
|
3
|
-
export { P as PostAlert } from './post-alert-
|
|
4
|
-
export { P as PostCardControl } from './post-card-control-
|
|
5
|
-
export { P as PostCollapsible } from './post-collapsible-
|
|
6
|
-
export { P as PostIcon } from './post-icon-
|
|
7
|
-
export { P as PostPopover } from './post-popover-
|
|
8
|
-
export { P as PostPopovercontainer } from './post-popovercontainer-
|
|
9
|
-
export { P as PostRating } from './post-rating-
|
|
10
|
-
export { P as PostTabs } from './post-tabs-
|
|
11
|
-
export { P as PostTabHeader } from './post-tab-header-
|
|
12
|
-
export { P as PostTabPanel } from './post-tab-panel-
|
|
13
|
-
export { P as PostTooltip } from './post-tooltip-
|
|
14
|
-
export { P as PostTag } from './post-tag-
|
|
15
|
-
import './index-
|
|
16
|
-
import './package-
|
|
1
|
+
export { P as PostAccordion } from './post-accordion-63757789.js';
|
|
2
|
+
export { P as PostAccordionItem } from './post-accordion-item-ff713ffa.js';
|
|
3
|
+
export { P as PostAlert } from './post-alert-90030a07.js';
|
|
4
|
+
export { P as PostCardControl } from './post-card-control-a77d7957.js';
|
|
5
|
+
export { P as PostCollapsible } from './post-collapsible-2fd13f4e.js';
|
|
6
|
+
export { P as PostIcon } from './post-icon-725a0fba.js';
|
|
7
|
+
export { P as PostPopover } from './post-popover-23ed2cdf.js';
|
|
8
|
+
export { P as PostPopovercontainer } from './post-popovercontainer-f5625d65.js';
|
|
9
|
+
export { P as PostRating } from './post-rating-0bfc12ec.js';
|
|
10
|
+
export { P as PostTabs } from './post-tabs-c1cf60cd.js';
|
|
11
|
+
export { P as PostTabHeader } from './post-tab-header-5be0820b.js';
|
|
12
|
+
export { P as PostTabPanel } from './post-tab-panel-a2a06c2d.js';
|
|
13
|
+
export { P as PostTooltip } from './post-tooltip-966fde7a.js';
|
|
14
|
+
export { P as PostTag } from './post-tag-1158169f.js';
|
|
15
|
+
import './index-b40b8259.js';
|
|
16
|
+
import './package-baed1bbc.js';
|
|
17
17
|
import './heading-levels-5b7b4349.js';
|
|
18
18
|
import './check-one-of-6b3ef8eb.js';
|
|
19
19
|
import './index-d1eba94c.js';
|
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-b40b8259.js';
|
|
2
|
+
export { s as setNonce } from './index-b40b8259.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
4
4
|
|
|
5
5
|
const defineCustomElements = async (win, options) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
2
|
-
import { v as version } from './package-
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-b40b8259.js';
|
|
2
|
+
import { v as version } from './package-baed1bbc.js';
|
|
3
3
|
import { H as HEADING_LEVELS } from './heading-levels-5b7b4349.js';
|
|
4
4
|
import { c as checkOneOf } from './check-one-of-6b3ef8eb.js';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
2
|
-
import { v as version } from './package-
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-b40b8259.js';
|
|
2
|
+
import { v as version } from './package-baed1bbc.js';
|
|
3
3
|
import { H as HEADING_LEVELS } from './heading-levels-5b7b4349.js';
|
|
4
4
|
import { c as checkEmptyOrOneOf } from './index-d1eba94c.js';
|
|
5
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { P as post_accordion_item } from './post-accordion-item-
|
|
2
|
-
import './index-
|
|
3
|
-
import './package-
|
|
1
|
+
export { P as post_accordion_item } from './post-accordion-item-ff713ffa.js';
|
|
2
|
+
import './index-b40b8259.js';
|
|
3
|
+
import './package-baed1bbc.js';
|
|
4
4
|
import './heading-levels-5b7b4349.js';
|
|
5
5
|
import './index-d1eba94c.js';
|
|
6
6
|
import './constants-8d548297.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { P as post_accordion } from './post-accordion-
|
|
2
|
-
import './index-
|
|
3
|
-
import './package-
|
|
1
|
+
export { P as post_accordion } from './post-accordion-63757789.js';
|
|
2
|
+
import './index-b40b8259.js';
|
|
3
|
+
import './package-baed1bbc.js';
|
|
4
4
|
import './heading-levels-5b7b4349.js';
|
|
5
5
|
import './check-one-of-6b3ef8eb.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
2
|
-
import { v as version } from './package-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-b40b8259.js';
|
|
2
|
+
import { v as version } from './package-baed1bbc.js';
|
|
3
3
|
import { f as fadeOut } from './fade-7fd71785.js';
|
|
4
4
|
import { a as checkType, b as checkEmptyOrPattern, c as checkEmptyOrOneOf } from './index-d1eba94c.js';
|
|
5
5
|
import { c as checkNonEmpty } from './check-non-empty-58bd6b17.js';
|
|
@@ -80,7 +80,7 @@ const PostAlert = class {
|
|
|
80
80
|
h("div", { key: `${this.alertId}-content`, class: "alert-content" }, defaultAlertContent),
|
|
81
81
|
h("div", { key: `${this.alertId}-buttons`, class: "alert-buttons" }, h("slot", { key: 'ab1785ac06297249f1af9b4eb1afaab0551ba5e1', name: "actions" })),
|
|
82
82
|
];
|
|
83
|
-
return (h(Host, { key: '5f0d259c805770fc4a5693c0dc0ad6ef5b7a1336', "data-version": version }, h("div", { key: '
|
|
83
|
+
return (h(Host, { key: '5f0d259c805770fc4a5693c0dc0ad6ef5b7a1336', "data-version": version }, h("div", { key: '9756d0e5bbae845643d552269f713742c701cae3', role: "alert", class: this.classes, part: this.classes }, this.dismissible && (h("button", { key: '81d8d57791d68b370e5a3e6876b9adbec9e91ae4', class: "btn-close", onClick: this.onDismissButtonClick }, h("span", { key: '7ac06e6e769bbcc40788fd94cfc3a9b8de586ccf', class: "visually-hidden" }, this.dismissLabel))), this.icon && this.icon !== 'none' && (h("post-icon", { key: `${this.alertId}-icon`, name: this.icon })), this.hasActions ? actionAlertContent : defaultAlertContent)));
|
|
84
84
|
}
|
|
85
85
|
get host() { return getElement(this); }
|
|
86
86
|
static get watchers() { return {
|