@gurpinderjitsingh/recipe-ui 0.1.4 → 0.1.5
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/app-modal_7.cjs.entry.js +3 -7
- package/dist/cjs/app-toast.cjs.entry.js +1 -1
- package/dist/cjs/{index-0Jp0srDV.js → index-CRcwY0Fb.js} +6 -416
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/recipe-ui.cjs.js +2 -2
- package/dist/collection/components/app-modal/app-modal.css +8 -41
- package/dist/collection/components/app-modal/app-modal.js +2 -5
- package/dist/components/app-modal.js +1 -1
- package/dist/components/app-toast.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/meal-plan-day.js +1 -1
- package/dist/components/{p-DzNqfLiF.js → p-B4H61SFd.js} +1 -1
- package/dist/components/p-BJU3HdRm.js +1 -0
- package/dist/components/{p-iruuKwXb.js → p-BRKGu69u.js} +1 -1
- package/dist/components/{p-BjeRE-Yp.js → p-BZBToMAv.js} +1 -1
- package/dist/components/{p-CwBR8qrC.js → p-BekLK-Pb.js} +1 -1
- package/dist/components/{p-C300pX48.js → p-COHQTgKC.js} +1 -1
- package/dist/components/p-Dp1sKtrN.js +1 -0
- package/dist/components/{p-Cn-9hkL0.js → p-DsyQvPDo.js} +1 -1
- package/dist/components/{p-D4_zWccP.js → p-kbrkhGSm.js} +1 -1
- package/dist/components/recipe-card.js +1 -1
- package/dist/components/recipe-filter-bar.js +1 -1
- package/dist/components/recipe-form.js +1 -1
- package/dist/components/recipe-rating.js +1 -1
- package/dist/components/recipe-search-bar.js +1 -1
- package/dist/esm/app-modal_7.entry.js +3 -7
- package/dist/esm/app-toast.entry.js +1 -1
- package/dist/esm/{index-Cq6PCsWh.js → index-CrZUP9M-.js} +6 -416
- package/dist/esm/index.js +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/recipe-ui.js +3 -3
- package/dist/recipe-ui/index.esm.js +1 -1
- package/dist/recipe-ui/{p-6add6efb.entry.js → p-697b1175.entry.js} +1 -1
- package/dist/recipe-ui/{p-47428346.entry.js → p-6ef28048.entry.js} +1 -1
- package/dist/recipe-ui/p-CrZUP9M-.js +3 -0
- package/dist/recipe-ui/recipe-ui.esm.js +1 -1
- package/package.json +1 -1
- package/dist/components/p-BioNY75Q.js +0 -1
- package/dist/components/p-q8BcbM65.js +0 -1
- package/dist/recipe-ui/p-Cq6PCsWh.js +0 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-CRcwY0Fb.js');
|
|
4
4
|
|
|
5
5
|
const recipeCardCss = () => `:host{display:block;font-family:system-ui, sans-serif}.card{border:1px solid #e5e5e5;border-radius:12px;overflow:hidden;cursor:pointer;background:#fff;transition:box-shadow 0.15s ease, transform 0.15s ease}.card:hover{box-shadow:0 4px 16px rgba(0, 0, 0, 0.08);transform:translateY(-2px)}.image-wrap{position:relative;aspect-ratio:4 / 3;background:#f2f2f2}.image-wrap img{width:100%;height:100%;object-fit:cover;display:block}.placeholder{width:100%;height:100%;background:linear-gradient(135deg, #eee, #ddd)}.fav-btn{position:absolute;top:8px;right:8px;border:none;background:rgba(255, 255, 255, 0.9);border-radius:50%;width:32px;height:32px;font-size:16px;cursor:pointer;color:#f5a623}.fav-btn.active{color:#ff6b35}.body{padding:12px 14px}h3{margin:0 0 4px;font-size:15px;line-height:1.3}.category{font-size:12px;color:#777;text-transform:uppercase;letter-spacing:0.03em}.actions{margin-top:8px}`;
|
|
6
6
|
|
|
@@ -207,7 +207,7 @@ const MealPlanDay = class {
|
|
|
207
207
|
};
|
|
208
208
|
MealPlanDay.style = mealPlanDayCss();
|
|
209
209
|
|
|
210
|
-
const appModalCss = () => `:host{font-family:system-ui, sans-serif}.overlay{position:fixed;inset:0;background:rgba(0, 0, 0, 0.45);display:flex;align-items:center;justify-content:center;z-index:1000}.dialog{
|
|
210
|
+
const appModalCss = () => `:host{font-family:system-ui, sans-serif}.overlay{position:fixed;inset:0;background:rgba(0, 0, 0, 0.45);display:flex;align-items:center;justify-content:center;z-index:1000}.dialog{background:#fff;border-radius:12px;min-width:320px;max-width:90vw;max-height:85vh;overflow-y:auto;padding:20px;box-shadow:0 10px 40px rgba(0,0,0,0.2)}.header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.header h2{margin:0;font-size:18px}.close-btn{border:none;background:none;font-size:16px;cursor:pointer;color:#666}`;
|
|
211
211
|
|
|
212
212
|
const AppModal = class {
|
|
213
213
|
constructor(hostRef) {
|
|
@@ -219,11 +219,7 @@ const AppModal = class {
|
|
|
219
219
|
render() {
|
|
220
220
|
if (!this.open)
|
|
221
221
|
return null;
|
|
222
|
-
return (index.h("div", { class: "overlay", onClick: (e) => {
|
|
223
|
-
if (e.target === e.currentTarget) {
|
|
224
|
-
this.close.emit();
|
|
225
|
-
}
|
|
226
|
-
} }, index.h("div", { class: "dialog", onClick: (e) => e.stopPropagation() }, index.h("div", { class: "header" }, index.h("h2", null, this.modalTitle), index.h("button", { class: "close-btn", onClick: () => this.close.emit(), "aria-label": "Close" }, "\u2715")), index.h("div", { class: "body" }, index.h("slot", null)))));
|
|
222
|
+
return (index.h("div", { class: "overlay", onClick: () => this.close.emit() }, index.h("div", { class: "dialog", onClick: (e) => e.stopPropagation() }, index.h("div", { class: "header" }, index.h("h2", null, this.modalTitle), index.h("button", { class: "close-btn", onClick: () => this.close.emit(), "aria-label": "Close" }, "\u2715")), index.h("div", { class: "body" }, index.h("slot", null)))));
|
|
227
223
|
}
|
|
228
224
|
};
|
|
229
225
|
AppModal.style = appModalCss();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-CRcwY0Fb.js');
|
|
4
4
|
|
|
5
5
|
const appToastCss = () => `:host{font-family:system-ui, sans-serif;display:block}.toast{display:flex;align-items:center;gap:10px;padding:10px 16px;border-radius:8px;color:#fff;font-size:14px;box-shadow:0 4px 12px rgba(0,0,0,0.15)}.toast.success{background:#2ecc71}.toast.error{background:#e74c3c}.toast.info{background:#3498db}button{border:none;background:none;color:inherit;cursor:pointer;margin-left:auto}`;
|
|
6
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const NAMESPACE = 'recipe-ui';
|
|
4
|
-
const BUILD = /* recipe-ui */ { hotModuleReplacement: false, hydratedSelectorName: "hydrated", lazyLoad: true, propChangeCallback: true,
|
|
4
|
+
const BUILD = /* recipe-ui */ { hotModuleReplacement: false, hydratedSelectorName: "hydrated", lazyLoad: true, propChangeCallback: true, state: true, updatable: true};
|
|
5
5
|
|
|
6
6
|
/*
|
|
7
7
|
Stencil Client Platform v4.44.0 | MIT Licensed | https://stenciljs.com
|
|
@@ -217,125 +217,6 @@ function createShadowRoot(cmpMeta) {
|
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
219
|
}
|
|
220
|
-
var updateFallbackSlotVisibility = (elm) => {
|
|
221
|
-
const childNodes = internalCall(elm, "childNodes");
|
|
222
|
-
if (elm.tagName && elm.tagName.includes("-") && elm["s-cr"] && elm.tagName !== "SLOT-FB") {
|
|
223
|
-
getHostSlotNodes(childNodes, elm.tagName).forEach((slotNode) => {
|
|
224
|
-
if (slotNode.nodeType === 1 /* ElementNode */ && slotNode.tagName === "SLOT-FB") {
|
|
225
|
-
if (getSlotChildSiblings(slotNode, getSlotName(slotNode), false).length) {
|
|
226
|
-
slotNode.hidden = true;
|
|
227
|
-
} else {
|
|
228
|
-
slotNode.hidden = false;
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
});
|
|
232
|
-
}
|
|
233
|
-
let i2 = 0;
|
|
234
|
-
for (i2 = 0; i2 < childNodes.length; i2++) {
|
|
235
|
-
const childNode = childNodes[i2];
|
|
236
|
-
if (childNode.nodeType === 1 /* ElementNode */ && internalCall(childNode, "childNodes").length) {
|
|
237
|
-
updateFallbackSlotVisibility(childNode);
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
};
|
|
241
|
-
var getSlottedChildNodes = (childNodes) => {
|
|
242
|
-
const result = [];
|
|
243
|
-
for (let i2 = 0; i2 < childNodes.length; i2++) {
|
|
244
|
-
const slottedNode = childNodes[i2]["s-nr"] || void 0;
|
|
245
|
-
if (slottedNode && slottedNode.isConnected) {
|
|
246
|
-
result.push(slottedNode);
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
return result;
|
|
250
|
-
};
|
|
251
|
-
function getHostSlotNodes(childNodes, hostName, slotName) {
|
|
252
|
-
let i2 = 0;
|
|
253
|
-
let slottedNodes = [];
|
|
254
|
-
let childNode;
|
|
255
|
-
for (; i2 < childNodes.length; i2++) {
|
|
256
|
-
childNode = childNodes[i2];
|
|
257
|
-
if (childNode["s-sr"] && (!hostName || childNode["s-hn"] === hostName) && (slotName === void 0 || getSlotName(childNode) === slotName)) {
|
|
258
|
-
slottedNodes.push(childNode);
|
|
259
|
-
if (typeof slotName !== "undefined") return slottedNodes;
|
|
260
|
-
}
|
|
261
|
-
slottedNodes = [...slottedNodes, ...getHostSlotNodes(internalCall(childNode, "childNodes"), hostName, slotName)];
|
|
262
|
-
}
|
|
263
|
-
return slottedNodes;
|
|
264
|
-
}
|
|
265
|
-
var getSlotChildSiblings = (slot, slotName, includeSlot = true) => {
|
|
266
|
-
const childNodes = [];
|
|
267
|
-
if (includeSlot && slot["s-sr"] || !slot["s-sr"]) childNodes.push(slot);
|
|
268
|
-
let node = slot;
|
|
269
|
-
while (node = node.nextSibling) {
|
|
270
|
-
if (getSlotName(node) === slotName && (includeSlot || !node["s-sr"])) childNodes.push(node);
|
|
271
|
-
}
|
|
272
|
-
return childNodes;
|
|
273
|
-
};
|
|
274
|
-
var isNodeLocatedInSlot = (nodeToRelocate, slotName) => {
|
|
275
|
-
if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
|
|
276
|
-
if (nodeToRelocate.getAttribute("slot") === null && slotName === "") {
|
|
277
|
-
return true;
|
|
278
|
-
}
|
|
279
|
-
if (nodeToRelocate.getAttribute("slot") === slotName) {
|
|
280
|
-
return true;
|
|
281
|
-
}
|
|
282
|
-
return false;
|
|
283
|
-
}
|
|
284
|
-
if (nodeToRelocate["s-sn"] === slotName) {
|
|
285
|
-
return true;
|
|
286
|
-
}
|
|
287
|
-
return slotName === "";
|
|
288
|
-
};
|
|
289
|
-
var getSlotName = (node) => typeof node["s-sn"] === "string" ? node["s-sn"] : node.nodeType === 1 && node.getAttribute("slot") || void 0;
|
|
290
|
-
function patchSlotNode(node) {
|
|
291
|
-
if (node.assignedElements || node.assignedNodes || !node["s-sr"]) return;
|
|
292
|
-
const assignedFactory = (elementsOnly) => (function(opts) {
|
|
293
|
-
const toReturn = [];
|
|
294
|
-
const slotName = this["s-sn"];
|
|
295
|
-
if (opts == null ? void 0 : opts.flatten) {
|
|
296
|
-
console.error(`
|
|
297
|
-
Flattening is not supported for Stencil non-shadow slots.
|
|
298
|
-
You can use \`.childNodes\` to nested slot fallback content.
|
|
299
|
-
If you have a particular use case, please open an issue on the Stencil repo.
|
|
300
|
-
`);
|
|
301
|
-
}
|
|
302
|
-
const parent = this["s-cr"].parentElement;
|
|
303
|
-
const slottedNodes = parent.__childNodes ? parent.childNodes : getSlottedChildNodes(parent.childNodes);
|
|
304
|
-
slottedNodes.forEach((n) => {
|
|
305
|
-
if (slotName === getSlotName(n)) {
|
|
306
|
-
toReturn.push(n);
|
|
307
|
-
}
|
|
308
|
-
});
|
|
309
|
-
if (elementsOnly) {
|
|
310
|
-
return toReturn.filter((n) => n.nodeType === 1 /* ElementNode */);
|
|
311
|
-
}
|
|
312
|
-
return toReturn;
|
|
313
|
-
}).bind(node);
|
|
314
|
-
node.assignedElements = assignedFactory(true);
|
|
315
|
-
node.assignedNodes = assignedFactory(false);
|
|
316
|
-
}
|
|
317
|
-
function dispatchSlotChangeEvent(elm) {
|
|
318
|
-
elm.dispatchEvent(new CustomEvent("slotchange", { bubbles: false, cancelable: false, composed: false }));
|
|
319
|
-
}
|
|
320
|
-
function findSlotFromSlottedNode(slottedNode, parentHost) {
|
|
321
|
-
var _a;
|
|
322
|
-
parentHost = parentHost || ((_a = slottedNode["s-ol"]) == null ? void 0 : _a.parentElement);
|
|
323
|
-
if (!parentHost) return { slotNode: null, slotName: "" };
|
|
324
|
-
const slotName = slottedNode["s-sn"] = getSlotName(slottedNode) || "";
|
|
325
|
-
const childNodes = internalCall(parentHost, "childNodes");
|
|
326
|
-
const slotNode = getHostSlotNodes(childNodes, parentHost.tagName, slotName)[0];
|
|
327
|
-
return { slotNode, slotName };
|
|
328
|
-
}
|
|
329
|
-
function internalCall(node, method) {
|
|
330
|
-
if ("__" + method in node) {
|
|
331
|
-
const toReturn = node["__" + method];
|
|
332
|
-
if (typeof toReturn !== "function") return toReturn;
|
|
333
|
-
return toReturn.bind(node);
|
|
334
|
-
} else {
|
|
335
|
-
if (typeof node[method] !== "function") return node[method];
|
|
336
|
-
return node[method].bind(node);
|
|
337
|
-
}
|
|
338
|
-
}
|
|
339
220
|
var createTime = (fnName, tagName = "") => {
|
|
340
221
|
{
|
|
341
222
|
return () => {
|
|
@@ -490,7 +371,6 @@ var h = (nodeName, vnodeData, ...children) => {
|
|
|
490
371
|
}
|
|
491
372
|
let child = null;
|
|
492
373
|
let key = null;
|
|
493
|
-
let slotName = null;
|
|
494
374
|
let simple = false;
|
|
495
375
|
let lastSimple = false;
|
|
496
376
|
const vNodeChildren = [];
|
|
@@ -522,9 +402,6 @@ var h = (nodeName, vnodeData, ...children) => {
|
|
|
522
402
|
if (vnodeData.key) {
|
|
523
403
|
key = vnodeData.key;
|
|
524
404
|
}
|
|
525
|
-
if (vnodeData.name) {
|
|
526
|
-
slotName = vnodeData.name;
|
|
527
|
-
}
|
|
528
405
|
{
|
|
529
406
|
const classData = vnodeData.className || vnodeData.class;
|
|
530
407
|
if (classData) {
|
|
@@ -540,9 +417,6 @@ var h = (nodeName, vnodeData, ...children) => {
|
|
|
540
417
|
{
|
|
541
418
|
vnode.$key$ = key;
|
|
542
419
|
}
|
|
543
|
-
{
|
|
544
|
-
vnode.$name$ = slotName;
|
|
545
|
-
}
|
|
546
420
|
return vnode;
|
|
547
421
|
};
|
|
548
422
|
var newVNode = (tag, text) => {
|
|
@@ -560,9 +434,6 @@ var newVNode = (tag, text) => {
|
|
|
560
434
|
{
|
|
561
435
|
vnode.$key$ = null;
|
|
562
436
|
}
|
|
563
|
-
{
|
|
564
|
-
vnode.$name$ = null;
|
|
565
|
-
}
|
|
566
437
|
return vnode;
|
|
567
438
|
};
|
|
568
439
|
var Host = {};
|
|
@@ -782,47 +653,22 @@ function sortedAttrNames(attrNames) {
|
|
|
782
653
|
attrNames
|
|
783
654
|
);
|
|
784
655
|
}
|
|
785
|
-
var contentRef;
|
|
786
656
|
var hostTagName;
|
|
787
657
|
var useNativeShadowDom = false;
|
|
788
|
-
var checkSlotFallbackVisibility = false;
|
|
789
|
-
var checkSlotRelocate = false;
|
|
790
658
|
var isSvgMode = false;
|
|
791
659
|
var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
792
|
-
var _a;
|
|
793
660
|
const newVNode2 = newParentVNode.$children$[childIndex];
|
|
794
661
|
let i2 = 0;
|
|
795
662
|
let elm;
|
|
796
663
|
let childNode;
|
|
797
|
-
let oldVNode;
|
|
798
|
-
if (!useNativeShadowDom) {
|
|
799
|
-
checkSlotRelocate = true;
|
|
800
|
-
if (newVNode2.$tag$ === "slot") {
|
|
801
|
-
newVNode2.$flags$ |= newVNode2.$children$ ? (
|
|
802
|
-
// slot element has fallback content
|
|
803
|
-
// still create an element that "mocks" the slot element
|
|
804
|
-
2 /* isSlotFallback */
|
|
805
|
-
) : (
|
|
806
|
-
// slot element does not have fallback content
|
|
807
|
-
// create an html comment we'll use to always reference
|
|
808
|
-
// where actual slot content should sit next to
|
|
809
|
-
1 /* isSlotReference */
|
|
810
|
-
);
|
|
811
|
-
}
|
|
812
|
-
}
|
|
813
664
|
if (newVNode2.$text$ != null) {
|
|
814
665
|
elm = newVNode2.$elm$ = win.document.createTextNode(newVNode2.$text$);
|
|
815
|
-
} else if (newVNode2.$flags$ & 1 /* isSlotReference */) {
|
|
816
|
-
elm = newVNode2.$elm$ = win.document.createTextNode("");
|
|
817
|
-
{
|
|
818
|
-
updateElement(null, newVNode2, isSvgMode);
|
|
819
|
-
}
|
|
820
666
|
} else {
|
|
821
667
|
if (!win.document) {
|
|
822
668
|
throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");
|
|
823
669
|
}
|
|
824
670
|
elm = newVNode2.$elm$ = win.document.createElement(
|
|
825
|
-
|
|
671
|
+
newVNode2.$tag$
|
|
826
672
|
);
|
|
827
673
|
{
|
|
828
674
|
updateElement(null, newVNode2, isSvgMode);
|
|
@@ -838,19 +684,6 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
|
838
684
|
}
|
|
839
685
|
}
|
|
840
686
|
elm["s-hn"] = hostTagName;
|
|
841
|
-
{
|
|
842
|
-
if (newVNode2.$flags$ & (2 /* isSlotFallback */ | 1 /* isSlotReference */)) {
|
|
843
|
-
elm["s-sr"] = true;
|
|
844
|
-
elm["s-cr"] = contentRef;
|
|
845
|
-
elm["s-sn"] = newVNode2.$name$ || "";
|
|
846
|
-
elm["s-rf"] = (_a = newVNode2.$attrs$) == null ? void 0 : _a.ref;
|
|
847
|
-
patchSlotNode(elm);
|
|
848
|
-
oldVNode = oldParentVNode && oldParentVNode.$children$ && oldParentVNode.$children$[childIndex];
|
|
849
|
-
if (oldVNode && oldVNode.$tag$ === newVNode2.$tag$ && oldParentVNode.$elm$) {
|
|
850
|
-
relocateToHostRoot(oldParentVNode.$elm$);
|
|
851
|
-
}
|
|
852
|
-
}
|
|
853
|
-
}
|
|
854
687
|
return elm;
|
|
855
688
|
};
|
|
856
689
|
var relocateToHostRoot = (parentElm) => {
|
|
@@ -867,40 +700,13 @@ var relocateToHostRoot = (parentElm) => {
|
|
|
867
700
|
if (childNode["s-sh"] != null) {
|
|
868
701
|
insertBefore(host, childNode, contentRefNode != null ? contentRefNode : null);
|
|
869
702
|
childNode["s-sh"] = void 0;
|
|
870
|
-
checkSlotRelocate = true;
|
|
871
703
|
}
|
|
872
704
|
}
|
|
873
705
|
}
|
|
874
706
|
plt.$flags$ &= -2 /* isTmpDisconnected */;
|
|
875
707
|
};
|
|
876
|
-
var putBackInOriginalLocation = (parentElm, recursive) => {
|
|
877
|
-
plt.$flags$ |= 1 /* isTmpDisconnected */;
|
|
878
|
-
const oldSlotChildNodes = Array.from(parentElm.__childNodes || parentElm.childNodes);
|
|
879
|
-
if (parentElm["s-sr"]) {
|
|
880
|
-
let node = parentElm;
|
|
881
|
-
while (node = node.nextSibling) {
|
|
882
|
-
if (node && node["s-sn"] === parentElm["s-sn"] && node["s-sh"] === hostTagName) {
|
|
883
|
-
oldSlotChildNodes.push(node);
|
|
884
|
-
}
|
|
885
|
-
}
|
|
886
|
-
}
|
|
887
|
-
for (let i2 = oldSlotChildNodes.length - 1; i2 >= 0; i2--) {
|
|
888
|
-
const childNode = oldSlotChildNodes[i2];
|
|
889
|
-
if (childNode["s-hn"] !== hostTagName && childNode["s-ol"]) {
|
|
890
|
-
insertBefore(referenceNode(childNode).parentNode, childNode, referenceNode(childNode));
|
|
891
|
-
childNode["s-ol"].remove();
|
|
892
|
-
childNode["s-ol"] = void 0;
|
|
893
|
-
childNode["s-sh"] = void 0;
|
|
894
|
-
checkSlotRelocate = true;
|
|
895
|
-
}
|
|
896
|
-
if (recursive) {
|
|
897
|
-
putBackInOriginalLocation(childNode, recursive);
|
|
898
|
-
}
|
|
899
|
-
}
|
|
900
|
-
plt.$flags$ &= -2 /* isTmpDisconnected */;
|
|
901
|
-
};
|
|
902
708
|
var addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
|
|
903
|
-
let containerElm = parentElm
|
|
709
|
+
let containerElm = parentElm;
|
|
904
710
|
let childNode;
|
|
905
711
|
if (containerElm.shadowRoot && containerElm.tagName === hostTagName) {
|
|
906
712
|
containerElm = containerElm.shadowRoot;
|
|
@@ -913,7 +719,7 @@ var addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
|
|
|
913
719
|
childNode = createElm(null, parentVNode, startIdx);
|
|
914
720
|
if (childNode) {
|
|
915
721
|
vnodes[startIdx].$elm$ = childNode;
|
|
916
|
-
insertBefore(containerElm, childNode,
|
|
722
|
+
insertBefore(containerElm, childNode, before);
|
|
917
723
|
}
|
|
918
724
|
}
|
|
919
725
|
}
|
|
@@ -924,14 +730,6 @@ var removeVnodes = (vnodes, startIdx, endIdx) => {
|
|
|
924
730
|
if (vnode) {
|
|
925
731
|
const elm = vnode.$elm$;
|
|
926
732
|
if (elm) {
|
|
927
|
-
{
|
|
928
|
-
checkSlotFallbackVisibility = true;
|
|
929
|
-
if (elm["s-ol"]) {
|
|
930
|
-
elm["s-ol"].remove();
|
|
931
|
-
} else {
|
|
932
|
-
putBackInOriginalLocation(elm, true);
|
|
933
|
-
}
|
|
934
|
-
}
|
|
935
733
|
elm.remove();
|
|
936
734
|
}
|
|
937
735
|
}
|
|
@@ -969,17 +767,11 @@ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = fals
|
|
|
969
767
|
oldEndVnode = oldCh[--oldEndIdx];
|
|
970
768
|
newEndVnode = newCh[--newEndIdx];
|
|
971
769
|
} else if (isSameVnode(oldStartVnode, newEndVnode, isInitialRender)) {
|
|
972
|
-
if ((oldStartVnode.$tag$ === "slot" || newEndVnode.$tag$ === "slot")) {
|
|
973
|
-
putBackInOriginalLocation(oldStartVnode.$elm$.parentNode, false);
|
|
974
|
-
}
|
|
975
770
|
patch(oldStartVnode, newEndVnode, isInitialRender);
|
|
976
771
|
insertBefore(containerElm, oldStartVnode.$elm$, oldEndVnode.$elm$.nextSibling);
|
|
977
772
|
oldStartVnode = oldCh[++oldStartIdx];
|
|
978
773
|
newEndVnode = newCh[--newEndIdx];
|
|
979
774
|
} else if (isSameVnode(oldEndVnode, newStartVnode, isInitialRender)) {
|
|
980
|
-
if ((oldStartVnode.$tag$ === "slot" || newEndVnode.$tag$ === "slot")) {
|
|
981
|
-
putBackInOriginalLocation(oldEndVnode.$elm$.parentNode, false);
|
|
982
|
-
}
|
|
983
775
|
patch(oldEndVnode, newStartVnode, isInitialRender);
|
|
984
776
|
insertBefore(containerElm, oldEndVnode.$elm$, oldStartVnode.$elm$);
|
|
985
777
|
oldEndVnode = oldCh[--oldEndIdx];
|
|
@@ -1010,11 +802,7 @@ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = fals
|
|
|
1010
802
|
}
|
|
1011
803
|
if (node) {
|
|
1012
804
|
{
|
|
1013
|
-
insertBefore(
|
|
1014
|
-
referenceNode(oldStartVnode.$elm$).parentNode,
|
|
1015
|
-
node,
|
|
1016
|
-
referenceNode(oldStartVnode.$elm$)
|
|
1017
|
-
);
|
|
805
|
+
insertBefore(oldStartVnode.$elm$.parentNode, node, oldStartVnode.$elm$);
|
|
1018
806
|
}
|
|
1019
807
|
}
|
|
1020
808
|
}
|
|
@@ -1034,9 +822,6 @@ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = fals
|
|
|
1034
822
|
};
|
|
1035
823
|
var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
|
|
1036
824
|
if (leftVNode.$tag$ === rightVNode.$tag$) {
|
|
1037
|
-
if (leftVNode.$tag$ === "slot") {
|
|
1038
|
-
return leftVNode.$name$ === rightVNode.$name$;
|
|
1039
|
-
}
|
|
1040
825
|
if (!isInitialRender) {
|
|
1041
826
|
return leftVNode.$key$ === rightVNode.$key$;
|
|
1042
827
|
}
|
|
@@ -1047,14 +832,12 @@ var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
|
|
|
1047
832
|
}
|
|
1048
833
|
return false;
|
|
1049
834
|
};
|
|
1050
|
-
var referenceNode = (node) => node && node["s-ol"] || node;
|
|
1051
835
|
var patch = (oldVNode, newVNode2, isInitialRender = false) => {
|
|
1052
836
|
const elm = newVNode2.$elm$ = oldVNode.$elm$;
|
|
1053
837
|
const oldChildren = oldVNode.$children$;
|
|
1054
838
|
const newChildren = newVNode2.$children$;
|
|
1055
839
|
const tag = newVNode2.$tag$;
|
|
1056
840
|
const text = newVNode2.$text$;
|
|
1057
|
-
let defaultHolder;
|
|
1058
841
|
if (text == null) {
|
|
1059
842
|
{
|
|
1060
843
|
if (tag === "slot" && !useNativeShadowDom) {
|
|
@@ -1078,74 +861,11 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
|
|
|
1078
861
|
) {
|
|
1079
862
|
removeVnodes(oldChildren, 0, oldChildren.length - 1);
|
|
1080
863
|
} else ;
|
|
1081
|
-
} else if ((defaultHolder = elm["s-cr"])) {
|
|
1082
|
-
defaultHolder.parentNode.textContent = text;
|
|
1083
864
|
} else if (oldVNode.$text$ !== text) {
|
|
1084
865
|
elm.data = text;
|
|
1085
866
|
}
|
|
1086
867
|
};
|
|
1087
|
-
var relocateNodes = [];
|
|
1088
|
-
var markSlotContentForRelocation = (elm) => {
|
|
1089
|
-
let node;
|
|
1090
|
-
let hostContentNodes;
|
|
1091
|
-
let j;
|
|
1092
|
-
const children = elm.__childNodes || elm.childNodes;
|
|
1093
|
-
for (const childNode of children) {
|
|
1094
|
-
if (childNode["s-sr"] && (node = childNode["s-cr"]) && node.parentNode) {
|
|
1095
|
-
hostContentNodes = node.parentNode.__childNodes || node.parentNode.childNodes;
|
|
1096
|
-
const slotName = childNode["s-sn"];
|
|
1097
|
-
for (j = hostContentNodes.length - 1; j >= 0; j--) {
|
|
1098
|
-
node = hostContentNodes[j];
|
|
1099
|
-
if (!node["s-cn"] && !node["s-nr"] && node["s-hn"] !== childNode["s-hn"] && // let an exact named-slot match override a stale default-slot claim. Skip this for
|
|
1100
|
-
// `slotName === ''` itself - a matched default node's cached `s-sn` is `''` too, which
|
|
1101
|
-
// would trivially "match" on every re-render and force pointless re-insertion.
|
|
1102
|
-
(!node["s-sh"] || node["s-sh"] !== childNode["s-hn"] || slotName !== "" && getSlotName(node) === slotName)) {
|
|
1103
|
-
if (isNodeLocatedInSlot(node, slotName)) {
|
|
1104
|
-
let relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
|
|
1105
|
-
checkSlotFallbackVisibility = true;
|
|
1106
|
-
node["s-sn"] = node["s-sn"] || slotName;
|
|
1107
|
-
if (relocateNodeData) {
|
|
1108
|
-
relocateNodeData.$nodeToRelocate$["s-sh"] = childNode["s-hn"];
|
|
1109
|
-
relocateNodeData.$slotRefNode$ = childNode;
|
|
1110
|
-
} else {
|
|
1111
|
-
node["s-sh"] = childNode["s-hn"];
|
|
1112
|
-
relocateNodes.push({
|
|
1113
|
-
$slotRefNode$: childNode,
|
|
1114
|
-
$nodeToRelocate$: node
|
|
1115
|
-
});
|
|
1116
|
-
}
|
|
1117
|
-
if (node["s-sr"]) {
|
|
1118
|
-
relocateNodes.map((relocateNode) => {
|
|
1119
|
-
if (isNodeLocatedInSlot(relocateNode.$nodeToRelocate$, node["s-sn"])) {
|
|
1120
|
-
relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
|
|
1121
|
-
if (relocateNodeData && !relocateNode.$slotRefNode$) {
|
|
1122
|
-
relocateNode.$slotRefNode$ = relocateNodeData.$slotRefNode$;
|
|
1123
|
-
}
|
|
1124
|
-
}
|
|
1125
|
-
});
|
|
1126
|
-
}
|
|
1127
|
-
} else if (!relocateNodes.some((r) => r.$nodeToRelocate$ === node)) {
|
|
1128
|
-
relocateNodes.push({
|
|
1129
|
-
$nodeToRelocate$: node
|
|
1130
|
-
});
|
|
1131
|
-
}
|
|
1132
|
-
}
|
|
1133
|
-
}
|
|
1134
|
-
}
|
|
1135
|
-
if (childNode.nodeType === 1 /* ElementNode */) {
|
|
1136
|
-
markSlotContentForRelocation(childNode);
|
|
1137
|
-
}
|
|
1138
|
-
}
|
|
1139
|
-
};
|
|
1140
868
|
var insertBefore = (parent, newNode, reference, isInitialLoad) => {
|
|
1141
|
-
{
|
|
1142
|
-
if (typeof newNode["s-sn"] === "string") {
|
|
1143
|
-
parent.insertBefore(newNode, reference);
|
|
1144
|
-
const { slotNode } = findSlotFromSlottedNode(newNode);
|
|
1145
|
-
if (slotNode && !isInitialLoad) dispatchSlotChangeEvent(slotNode);
|
|
1146
|
-
return newNode;
|
|
1147
|
-
}
|
|
1148
|
-
}
|
|
1149
869
|
if (parent.__insertBefore) {
|
|
1150
870
|
return parent.__insertBefore(newNode, reference);
|
|
1151
871
|
} else {
|
|
@@ -1153,7 +873,6 @@ var insertBefore = (parent, newNode, reference, isInitialLoad) => {
|
|
|
1153
873
|
}
|
|
1154
874
|
};
|
|
1155
875
|
var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
1156
|
-
var _a, _b, _c, _d, _e;
|
|
1157
876
|
const hostElm = hostRef.$hostElement$;
|
|
1158
877
|
const cmpMeta = hostRef.$cmpMeta$;
|
|
1159
878
|
const oldVNode = hostRef.$vnode$ || newVNode(null, null);
|
|
@@ -1172,106 +891,7 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
1172
891
|
hostRef.$vnode$ = rootVnode;
|
|
1173
892
|
rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
|
|
1174
893
|
useNativeShadowDom = !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && !(cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */);
|
|
1175
|
-
{
|
|
1176
|
-
contentRef = hostElm["s-cr"];
|
|
1177
|
-
checkSlotFallbackVisibility = false;
|
|
1178
|
-
}
|
|
1179
894
|
patch(oldVNode, rootVnode, isInitialLoad);
|
|
1180
|
-
{
|
|
1181
|
-
plt.$flags$ |= 1 /* isTmpDisconnected */;
|
|
1182
|
-
if (checkSlotRelocate) {
|
|
1183
|
-
markSlotContentForRelocation(rootVnode.$elm$);
|
|
1184
|
-
for (const relocateData of relocateNodes) {
|
|
1185
|
-
const nodeToRelocate = relocateData.$nodeToRelocate$;
|
|
1186
|
-
if (!nodeToRelocate["s-ol"] && win.document) {
|
|
1187
|
-
const orgLocationNode = win.document.createTextNode("");
|
|
1188
|
-
orgLocationNode["s-nr"] = nodeToRelocate;
|
|
1189
|
-
insertBefore(
|
|
1190
|
-
nodeToRelocate.parentNode,
|
|
1191
|
-
nodeToRelocate["s-ol"] = orgLocationNode,
|
|
1192
|
-
nodeToRelocate,
|
|
1193
|
-
isInitialLoad
|
|
1194
|
-
);
|
|
1195
|
-
}
|
|
1196
|
-
}
|
|
1197
|
-
for (const relocateData of relocateNodes) {
|
|
1198
|
-
const nodeToRelocate = relocateData.$nodeToRelocate$;
|
|
1199
|
-
const slotRefNode = relocateData.$slotRefNode$;
|
|
1200
|
-
if (nodeToRelocate.nodeType === 1 /* ElementNode */ && isInitialLoad) {
|
|
1201
|
-
nodeToRelocate["s-ih"] = (_a = nodeToRelocate.hidden) != null ? _a : false;
|
|
1202
|
-
}
|
|
1203
|
-
if (slotRefNode) {
|
|
1204
|
-
const parentNodeRef = slotRefNode.parentNode;
|
|
1205
|
-
let insertBeforeNode = slotRefNode.nextSibling;
|
|
1206
|
-
if (insertBeforeNode && insertBeforeNode.nodeType === 1 /* ElementNode */) {
|
|
1207
|
-
let orgLocationNode = (_b = nodeToRelocate["s-ol"]) == null ? void 0 : _b.previousSibling;
|
|
1208
|
-
while (orgLocationNode) {
|
|
1209
|
-
let refNode = (_c = orgLocationNode["s-nr"]) != null ? _c : null;
|
|
1210
|
-
if (refNode && refNode["s-sn"] === nodeToRelocate["s-sn"] && parentNodeRef === (refNode.__parentNode || refNode.parentNode)) {
|
|
1211
|
-
refNode = refNode.nextSibling;
|
|
1212
|
-
while (refNode === nodeToRelocate || (refNode == null ? void 0 : refNode["s-sr"])) {
|
|
1213
|
-
refNode = refNode == null ? void 0 : refNode.nextSibling;
|
|
1214
|
-
}
|
|
1215
|
-
if (!refNode || !refNode["s-nr"]) {
|
|
1216
|
-
insertBeforeNode = refNode;
|
|
1217
|
-
break;
|
|
1218
|
-
}
|
|
1219
|
-
}
|
|
1220
|
-
orgLocationNode = orgLocationNode.previousSibling;
|
|
1221
|
-
}
|
|
1222
|
-
}
|
|
1223
|
-
const parent = nodeToRelocate.__parentNode || nodeToRelocate.parentNode;
|
|
1224
|
-
const nextSibling = nodeToRelocate.__nextSibling || nodeToRelocate.nextSibling;
|
|
1225
|
-
if (!insertBeforeNode && parentNodeRef !== parent || nextSibling !== insertBeforeNode) {
|
|
1226
|
-
if (nodeToRelocate !== insertBeforeNode) {
|
|
1227
|
-
insertBefore(parentNodeRef, nodeToRelocate, insertBeforeNode, isInitialLoad);
|
|
1228
|
-
if (nodeToRelocate.nodeType === 8 /* CommentNode */ && nodeToRelocate.nodeValue.startsWith("s-nt-")) {
|
|
1229
|
-
const textNode = win.document.createTextNode(nodeToRelocate.nodeValue.replace(/^s-nt-/, ""));
|
|
1230
|
-
textNode["s-hn"] = nodeToRelocate["s-hn"];
|
|
1231
|
-
textNode["s-sn"] = nodeToRelocate["s-sn"];
|
|
1232
|
-
textNode["s-sh"] = nodeToRelocate["s-sh"];
|
|
1233
|
-
textNode["s-sr"] = nodeToRelocate["s-sr"];
|
|
1234
|
-
textNode["s-ol"] = nodeToRelocate["s-ol"];
|
|
1235
|
-
textNode["s-ol"]["s-nr"] = textNode;
|
|
1236
|
-
insertBefore(nodeToRelocate.parentNode, textNode, nodeToRelocate, isInitialLoad);
|
|
1237
|
-
nodeToRelocate.parentNode.removeChild(nodeToRelocate);
|
|
1238
|
-
}
|
|
1239
|
-
if (nodeToRelocate.nodeType === 1 /* ElementNode */ && nodeToRelocate.tagName !== "SLOT-FB") {
|
|
1240
|
-
nodeToRelocate.hidden = (_d = nodeToRelocate["s-ih"]) != null ? _d : false;
|
|
1241
|
-
}
|
|
1242
|
-
}
|
|
1243
|
-
}
|
|
1244
|
-
nodeToRelocate && typeof slotRefNode["s-rf"] === "function" && slotRefNode["s-rf"](slotRefNode);
|
|
1245
|
-
} else if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
|
|
1246
|
-
nodeToRelocate.hidden = true;
|
|
1247
|
-
}
|
|
1248
|
-
}
|
|
1249
|
-
}
|
|
1250
|
-
if (checkSlotFallbackVisibility) {
|
|
1251
|
-
updateFallbackSlotVisibility(rootVnode.$elm$);
|
|
1252
|
-
}
|
|
1253
|
-
plt.$flags$ &= -2 /* isTmpDisconnected */;
|
|
1254
|
-
relocateNodes.length = 0;
|
|
1255
|
-
}
|
|
1256
|
-
if (!useNativeShadowDom && !(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && hostElm["s-cr"]) {
|
|
1257
|
-
const children = rootVnode.$elm$.__childNodes || rootVnode.$elm$.childNodes;
|
|
1258
|
-
for (const childNode of children) {
|
|
1259
|
-
if (childNode["s-hn"] !== hostTagName && !childNode["s-sh"]) {
|
|
1260
|
-
if (isInitialLoad && childNode["s-ih"] == null) {
|
|
1261
|
-
childNode["s-ih"] = (_e = childNode.hidden) != null ? _e : false;
|
|
1262
|
-
}
|
|
1263
|
-
if (childNode.nodeType === 1 /* ElementNode */) {
|
|
1264
|
-
childNode.hidden = true;
|
|
1265
|
-
} else if (childNode.nodeType === 3 /* TextNode */ && !!childNode.nodeValue.trim()) {
|
|
1266
|
-
const textCommentNode = win.document.createComment("s-nt-" + childNode.nodeValue);
|
|
1267
|
-
textCommentNode["s-sn"] = childNode["s-sn"];
|
|
1268
|
-
insertBefore(childNode.parentNode, textCommentNode, childNode, isInitialLoad);
|
|
1269
|
-
childNode.parentNode.removeChild(childNode);
|
|
1270
|
-
}
|
|
1271
|
-
}
|
|
1272
|
-
}
|
|
1273
|
-
}
|
|
1274
|
-
contentRef = void 0;
|
|
1275
895
|
};
|
|
1276
896
|
|
|
1277
897
|
// src/runtime/update-component.ts
|
|
@@ -1317,10 +937,6 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
|
|
|
1317
937
|
let maybePromise;
|
|
1318
938
|
if (isInitialLoad) {
|
|
1319
939
|
{
|
|
1320
|
-
if (hostRef.$deferredConnectedCallback$) {
|
|
1321
|
-
hostRef.$deferredConnectedCallback$ = false;
|
|
1322
|
-
safeCall(instance, "connectedCallback", void 0, elm);
|
|
1323
|
-
}
|
|
1324
940
|
if (hostRef.$fetchedCbList$.length) {
|
|
1325
941
|
hostRef.$fetchedCbList$.forEach((cb) => cb(elm));
|
|
1326
942
|
}
|
|
@@ -1699,11 +1315,8 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1699
1315
|
hostRef.$flags$ |= 128 /* isWatchReady */;
|
|
1700
1316
|
}
|
|
1701
1317
|
endNewInstance();
|
|
1702
|
-
|
|
1703
|
-
if (!needsDeferredCallback) {
|
|
1318
|
+
{
|
|
1704
1319
|
fireConnectedCallback(hostRef.$lazyInstance$, elm);
|
|
1705
|
-
} else {
|
|
1706
|
-
hostRef.$deferredConnectedCallback$ = true;
|
|
1707
1320
|
}
|
|
1708
1321
|
} else {
|
|
1709
1322
|
Cstr = elm.constructor;
|
|
@@ -1758,12 +1371,6 @@ var connectedCallback = (elm) => {
|
|
|
1758
1371
|
const endConnected = createTime("connectedCallback", cmpMeta.$tagName$);
|
|
1759
1372
|
if (!(hostRef.$flags$ & 1 /* hasConnected */)) {
|
|
1760
1373
|
hostRef.$flags$ |= 1 /* hasConnected */;
|
|
1761
|
-
{
|
|
1762
|
-
if (// TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
|
|
1763
|
-
cmpMeta.$flags$ & (4 /* hasSlotRelocation */ | 8 /* needsShadowDomShim */)) {
|
|
1764
|
-
setContentReference(elm);
|
|
1765
|
-
}
|
|
1766
|
-
}
|
|
1767
1374
|
{
|
|
1768
1375
|
let ancestorComponent = elm;
|
|
1769
1376
|
while (ancestorComponent = ancestorComponent.parentNode || ancestorComponent.host) {
|
|
@@ -1797,16 +1404,6 @@ var connectedCallback = (elm) => {
|
|
|
1797
1404
|
endConnected();
|
|
1798
1405
|
}
|
|
1799
1406
|
};
|
|
1800
|
-
var setContentReference = (elm) => {
|
|
1801
|
-
if (!win.document) {
|
|
1802
|
-
return;
|
|
1803
|
-
}
|
|
1804
|
-
const contentRefElm = elm["s-cr"] = win.document.createComment(
|
|
1805
|
-
""
|
|
1806
|
-
);
|
|
1807
|
-
contentRefElm["s-cn"] = true;
|
|
1808
|
-
insertBefore(elm, contentRefElm, elm.firstChild);
|
|
1809
|
-
};
|
|
1810
1407
|
var disconnectInstance = (instance, elm) => {
|
|
1811
1408
|
{
|
|
1812
1409
|
safeCall(instance, "disconnectedCallback", void 0, elm || instance);
|
|
@@ -1848,7 +1445,6 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1848
1445
|
let isBootstrapping = true;
|
|
1849
1446
|
Object.assign(plt, options);
|
|
1850
1447
|
plt.$resourcesUrl$ = new URL(options.resourcesUrl || "./", win.document.baseURI).href;
|
|
1851
|
-
let hasSlotRelocation = false;
|
|
1852
1448
|
lazyBundles.map((lazyBundle) => {
|
|
1853
1449
|
lazyBundle[1].map((compactMeta) => {
|
|
1854
1450
|
var _a2, _b;
|
|
@@ -1858,9 +1454,6 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1858
1454
|
$members$: compactMeta[2],
|
|
1859
1455
|
$listeners$: compactMeta[3]
|
|
1860
1456
|
};
|
|
1861
|
-
if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
|
|
1862
|
-
hasSlotRelocation = true;
|
|
1863
|
-
}
|
|
1864
1457
|
{
|
|
1865
1458
|
cmpMeta.$members$ = compactMeta[2];
|
|
1866
1459
|
}
|
|
@@ -1944,9 +1537,6 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1944
1537
|
});
|
|
1945
1538
|
});
|
|
1946
1539
|
if (cmpTags.length > 0) {
|
|
1947
|
-
if (hasSlotRelocation) {
|
|
1948
|
-
dataStyles.textContent += SLOT_FB_CSS;
|
|
1949
|
-
}
|
|
1950
1540
|
{
|
|
1951
1541
|
dataStyles.textContent += cmpTags.sort() + HYDRATED_CSS;
|
|
1952
1542
|
}
|
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var appModal_mealPlanDay_recipeCard_recipeFilterBar_recipeForm_recipeRating_recipeSearchBar_entry = require('./app-modal.meal-plan-day.recipe-card.recipe-filter-bar.recipe-form.recipe-rating.recipe-search-bar.entry.cjs.js');
|
|
4
4
|
var appToast_entry = require('./app-toast.entry.cjs.js');
|
|
5
|
-
require('./index-
|
|
5
|
+
require('./index-CRcwY0Fb.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|