@pine-ds/icons 8.10.0 → 8.11.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/cheatsheet.html +5 -5
- package/dist/cjs/{index-4513af51.js → index-01bc4624.js} +31 -14
- package/dist/cjs/index-01bc4624.js.map +1 -0
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/pds-icon.cjs.entry.js +2 -2
- package/dist/cjs/pds-icons.cjs.js +2 -2
- package/dist/cjs/pds-icons.cjs.js.map +1 -1
- package/dist/cjs/{utils-4a964891.js → utils-92d94933.js} +2 -2
- package/dist/cjs/{utils-4a964891.js.map → utils-92d94933.js.map} +1 -1
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/pds-icon/svg/user-star-filled.svg +1 -1
- package/dist/collection/components/pds-icon/svg/user-star.svg +1 -1
- package/dist/docs.json +3 -3
- package/dist/esm/{index-6000a95d.js → index-e65f4069.js} +31 -14
- package/dist/esm/index-e65f4069.js.map +1 -0
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +2 -2
- package/dist/esm/pds-icon.entry.js +2 -2
- package/dist/esm/pds-icons.js +3 -3
- package/dist/esm/pds-icons.js.map +1 -1
- package/dist/esm/{utils-40080bc9.js → utils-812c5f6b.js} +2 -2
- package/dist/esm/{utils-40080bc9.js.map → utils-812c5f6b.js.map} +1 -1
- package/dist/pds-icons/index.esm.js +1 -1
- package/dist/pds-icons/p-21d81506.js +2 -0
- package/dist/pds-icons/{p-daeec840.entry.js → p-aee47eab.entry.js} +2 -2
- package/dist/pds-icons/p-fd0315e5.js +3 -0
- package/dist/pds-icons/p-fd0315e5.js.map +1 -0
- package/dist/pds-icons/pds-icons.esm.js +1 -1
- package/dist/pds-icons/pds-icons.esm.js.map +1 -1
- package/dist/pds-icons/svg/user-star-filled.svg +1 -1
- package/dist/pds-icons/svg/user-star.svg +1 -1
- package/dist/pds-icons.json +1 -1
- package/dist/pds-icons.symbols.svg +3 -3
- package/dist/svg/user-star-filled.svg +1 -1
- package/dist/svg/user-star.svg +1 -1
- package/dist/types/stencil-public-runtime.d.ts +6 -0
- package/icons/index.d.ts +1 -1
- package/icons/index.js +3 -3
- package/icons/index.mjs +3 -3
- package/icons/package.json +1 -1
- package/package.json +5 -6
- package/dist/cjs/index-4513af51.js.map +0 -1
- package/dist/esm/index-6000a95d.js.map +0 -1
- package/dist/pds-icons/p-39904cba.js +0 -2
- package/dist/pds-icons/p-aa154542.js +0 -3
- package/dist/pds-icons/p-aa154542.js.map +0 -1
- /package/dist/pds-icons/{p-39904cba.js.map → p-21d81506.js.map} +0 -0
- /package/dist/pds-icons/{p-daeec840.entry.js.map → p-aee47eab.entry.js.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"pds-icons.cjs.js","mappings":";;;;;;;AAAA;AACA;AACA;AAKA,IAAI,YAAY,GAAG,MAAM;AAUzB,EAAE,MAAM,UAAU,GAAG,2MAAe,CAAC;AACrC,EAAE,MAAM,IAAI,GAAiE,EAAE,CAAC;AAChF,EAAE,IAAI,UAAU,KAAK,EAAE,EAAE;AACzB,IAAI,IAAI,CAAC,YAAY,GAAG,IAAI,GAAG,CAAC,GAAG,EAAE,UAAU,CAAC,CAAC,IAAI,CAAC;AACtD,GAAG;AACH,EAAE,OAAOA,oBAAc,CAAC,IAAI,CAAC,CAAC;AAC9B,CAAC;;ACnBD,YAAY,EAAE,CAAC,IAAI,CAAC,OAAO,OAAO,KAAK;AACvC,EAAE,MAAMC,wBAAa,EAAE,CAAC;AACxB,EAAE,OAAOC,mBAAa,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;AAC9D,CAAC,CAAC;;;;","names":["promiseResolve","globalScripts","bootstrapLazy"],"sources":["node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.
|
|
1
|
+
{"file":"pds-icons.cjs.js","mappings":";;;;;;;AAAA;AACA;AACA;AAKA,IAAI,YAAY,GAAG,MAAM;AAUzB,EAAE,MAAM,UAAU,GAAG,2MAAe,CAAC;AACrC,EAAE,MAAM,IAAI,GAAiE,EAAE,CAAC;AAChF,EAAE,IAAI,UAAU,KAAK,EAAE,EAAE;AACzB,IAAI,IAAI,CAAC,YAAY,GAAG,IAAI,GAAG,CAAC,GAAG,EAAE,UAAU,CAAC,CAAC,IAAI,CAAC;AACtD,GAAG;AACH,EAAE,OAAOA,oBAAc,CAAC,IAAI,CAAC,CAAC;AAC9B,CAAC;;ACnBD,YAAY,EAAE,CAAC,IAAI,CAAC,OAAO,OAAO,KAAK;AACvC,EAAE,MAAMC,wBAAa,EAAE,CAAC;AACxB,EAAE,OAAOC,mBAAa,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;AAC9D,CAAC,CAAC;;;;","names":["promiseResolve","globalScripts","bootstrapLazy"],"sources":["node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.22.2 | MIT Licensed | https://stenciljs.com\n */\n\n// src/client/client-patch-browser.ts\nimport { BUILD, NAMESPACE } from \"@stencil/core/internal/app-data\";\nimport { consoleDevInfo, doc, H, promiseResolve } from \"@stencil/core\";\nvar patchBrowser = () => {\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo(\"Running in development mode.\");\n }\n if (BUILD.cloneNodeFix) {\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts ? Array.from(doc.querySelectorAll(\"script\")).find(\n (s) => new RegExp(`/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) || s.getAttribute(\"data-stencil-namespace\") === NAMESPACE\n ) : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})[\"data-opts\"] || {} : {};\n if (importMeta !== \"\") {\n opts.resourcesUrl = new URL(\".\", importMeta).href;\n }\n return promiseResolve(opts);\n};\nvar patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function(deep) {\n if (this.nodeName === \"TEMPLATE\") {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport {\n patchBrowser\n};\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(async (options) => {\n await globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"version":3}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
require('./index-
|
|
3
|
+
require('./index-01bc4624.js');
|
|
4
4
|
|
|
5
5
|
let missingAssetPathWarning = false;
|
|
6
6
|
/**
|
|
@@ -137,4 +137,4 @@ exports.getUrl = getUrl;
|
|
|
137
137
|
exports.inheritAttributes = inheritAttributes;
|
|
138
138
|
exports.isStr = isStr;
|
|
139
139
|
|
|
140
|
-
//# sourceMappingURL=utils-
|
|
140
|
+
//# sourceMappingURL=utils-92d94933.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"utils-
|
|
1
|
+
{"file":"utils-92d94933.js","mappings":";;;;AAEA,IAAI,uBAAuB,GAAG,KAAK,CAAC;AAQpC;;;;;;;;;AASO,MAAM,YAAY,GAAG,CAAC,IAAY;;IACvC,MAAM,iBAAiB,GAAG,MAAA,QAAQ,CAAC,IAAI,CAAC,aAAa,CAAkB,4BAA4B,CAA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.ts","src/components/pds-icon/utils.ts"],"sourcesContent":["import { Build } from '@stencil/core';\n\nlet missingAssetPathWarning = false;\n\ndeclare global {\n interface Window {\n __PINE_ASSET_PATH__?: string\n }\n}\n\n/**\n *\n * Reads the component asset path config from meta tag or a global variable.\n * This is a temporary workaround until these issues have been addressed:\n *\n * https://github.com/ionic-team/stencil/issues/2826/\n * https://github.com/ionic-team/stencil/issues/3470\n * https://github.com/ionic-team/stencil-ds-output-targets/issues/186\n */\nexport const getAssetPath = (path: string) => {\n const metaPineAssetPath = document.head.querySelector<HTMLMetaElement>('meta[data-pine-asset-path]')?.dataset.pineAssetPath;\n\n // Get the asset path from the window object if available\n const windowAssetPath = window.__PINE_ASSET_PATH__;\n\n // Set the CDN Asset path using the latest version\n const cdnAssetPath = 'https://cdn.jsdelivr.net/npm/@pine-ds/icons/dist/pds-icons/';\n\n const assetBasePath = Build.isTesting ? '/dist/pds-icons' : metaPineAssetPath || windowAssetPath || cdnAssetPath || '/'\n\n // Display a warning if the assets are fetched from the CDN.\n if ( assetBasePath.startsWith('https://cdn.jsdelivr.net/npm/') && !missingAssetPathWarning ) {\n missingAssetPathWarning = true;\n console.warn(`\n Fetching Pine asssets from jsDelivr CDN.\\n\\n It's recommended that you bundle Pine Assets with your application and setting the path accordingly.\\n\\nFor more information you read the documentation: \\nhttps://pine-design-system.netlify.app/?path=/docs/resources-assets--docs\n `)\n }\n\n let assetPath = path;\n\n if ( path.startsWith ('./') ) {\n assetPath = path.substring(2);\n }\n\n if ( !assetBasePath.endsWith('/') ) {\n assetPath = '/' + assetPath;\n }\n\n return assetBasePath + assetPath;\n}\n\n\nexport {};\n","import { getAssetPath } from './assetPath';\n\nimport { PdsIcon } from './pds-icon';\n\nlet CACHED_MAP: Map<string, string>;\n\nexport const addIcons = (icons: { [name: string]: string; }) => {\n const map = getIconMap();\n Object.keys(icons).forEach(name => map.set(name, icons[name]));\n}\n\nexport const getIconMap = (): Map<string, string> => {\n if (typeof window === 'undefined') {\n return new Map();\n } else {\n if (!CACHED_MAP) {\n const win = window as any; // eslint-disable-line @typescript-eslint/no-explicit-any\n win.PdsIcons = win.PdsIcons || {};\n CACHED_MAP = win.PdsIcons.map = win.PdsIcons.map || new Map();\n }\n\n return CACHED_MAP;\n }\n}\n\nexport const getName = (\n iconName: string | undefined,\n icon: string | undefined\n ) => {\n\n if(!iconName && icon && !isSrc(icon)) {\n iconName = icon;\n }\n\n if (isStr(iconName)) {\n iconName = toLower(iconName);\n }\n\n if (!isStr(iconName) || iconName.trim() === '') {\n return null;\n }\n\n const invalidChars = iconName.replace(/[a-z]|-|\\d/gi,'');\n if (invalidChars != '') { return null; }\n\n return iconName;\n}\n\nconst getNamedUrl = (iconName: string) => {\n const url = getIconMap().get(iconName);\n if (url) {\n return url;\n }\n\n return getAssetPath(`svg/${iconName}.svg`);\n};\n\nexport const getSrc = (src: string | undefined) => {\n if (isStr(src)) {\n src = src.trim();\n\n if (isSrc(src)) {\n return src;\n }\n }\n\n return null;\n}\n\nexport const getUrl = (pdsIcon: PdsIcon) => {\n let url = getSrc(pdsIcon.src);\n if (url) {\n return url;\n }\n\n url = getName(pdsIcon.name, pdsIcon.icon);\n if (url) {\n return getNamedUrl(url);\n }\n\n if (pdsIcon.icon) {\n url = getSrc(pdsIcon.icon);\n\n if(url) {\n return url;\n }\n }\n\n return null;\n};\n\n\nexport const isSrc = (str: string) => str.length > 0 && /(\\/|\\.)/.test(str);\nexport const isStr = (val: any): val is string => typeof val === 'string'; // eslint-disable-line @typescript-eslint/no-explicit-any\nexport const toLower = (val: string) => val.toLowerCase();\n\n/**\n * Elements inside of web components sometimes need to inherit global attributes\n * set on the host. For example, the inner input in `ion-input` should inherit\n * the `title` attribute that developers set directly on `ion-input`. This\n * helper function should be called in componentWillLoad and assigned to a variable\n * that is later used in the render function.\n *\n * This does not need to be reactive as changing attributes on the host element\n * does not trigger a re-render.\n */\n export const inheritAttributes = (el: HTMLElement, attributes: string[] = []) => {\n const attributeObject: { [k: string]: any } = {}; // eslint-disable-line @typescript-eslint/no-explicit-any\n\n attributes.forEach(attr => {\n if (el.hasAttribute(attr)) {\n const value = el.getAttribute(attr);\n if (value !== null) {\n attributeObject[attr] = el.getAttribute(attr);\n }\n el.removeAttribute(attr);\n }\n });\n\n return attributeObject;\n}\n"],"version":3}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="pdsicon"><path d="
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="M5.427 4.444a5.5 5.5 0 1 0 9.146 6.112 5.5 5.5 0 0 0-9.146-6.112M6.75 14.5h4.82c.198.01.392.062.57.15.28.15.51.38.66.66.088.178.14.372.15.57v4.72a1.5 1.5 0 0 1-.15.57c-.15.28-.38.51-.66.66a1.5 1.5 0 0 1-.57.15H2.55a3 3 0 0 1-.35 0 1.51 1.51 0 0 1-1.22-1.22 3 3 0 0 1 0-.35 9.7 9.7 0 0 1 .08-1.78 5 5 0 0 1 4.05-4 9.7 9.7 0 0 1 1.64-.13m12.26.43a.53.53 0 0 0-.46 0 .5.5 0 0 0-.23.22 1 1 0 0 0-.11.21l-.77 1.55-1.69.26h-.23a.5.5 0 0 0-.28.15.52.52 0 0 0-.15.43.6.6 0 0 0 .14.29l.17.17 1.24 1.21-.29 1.71q-.006.12 0 .24a.57.57 0 0 0 .06.31.54.54 0 0 0 .34.32.6.6 0 0 0 .32 0l.21-.11 1.47-.89 1.54.8.21.11a.54.54 0 0 0 .69-.23.55.55 0 0 0 .05-.31q.006-.12 0-.24l-.29-1.71 1.24-1.21.16-.17a.46.46 0 0 0 .14-.29.52.52 0 0 0-.42-.58h-.23l-1.72-.26-.77-1.55a2 2 0 0 0-.11-.21.54.54 0 0 0-.23-.22"/></svg>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="pdsicon"><path d="
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="M1.293 21.707A1 1 0 0 0 3 21a10 10 0 0 1 .13-2.37 3 3 0 0 1 2-2 10 10 0 0 1 2.37-.13h4.55a1 1 0 0 0 0-2h-4.5a10.7 10.7 0 0 0-3 .21 5 5 0 0 0-3.33 3.34A10.2 10.2 0 0 0 1 21a1 1 0 0 0 .293.707m5.651-9.634A5.5 5.5 0 0 0 10 13a5.51 5.51 0 0 0 5.5-5.5 5.5 5.5 0 1 0-8.556 4.573M8.056 4.59a3.5 3.5 0 1 1 3.888 5.82 3.5 3.5 0 0 1-3.888-5.82M18.78 14.878a.5.5 0 0 1 .23.052.54.54 0 0 1 .23.22q.061.102.11.21l.77 1.55 1.72.26h.23a.52.52 0 0 1 .42.58.46.46 0 0 1-.14.29l-.16.17-1.24 1.21.29 1.71q.006.12 0 .24a.55.55 0 0 1-.05.31.54.54 0 0 1-.69.23l-.21-.11-1.54-.8-1.47.89-.21.11a.6.6 0 0 1-.32 0 .54.54 0 0 1-.34-.32.57.57 0 0 1-.06-.31 2 2 0 0 1 0-.24l.29-1.71-1.24-1.21-.17-.17a.6.6 0 0 1-.14-.29.52.52 0 0 1 .15-.43.5.5 0 0 1 .28-.15h.23l1.69-.26.77-1.55a1 1 0 0 1 .11-.21.5.5 0 0 1 .23-.22.5.5 0 0 1 .23-.053"/></svg>
|
package/dist/docs.json
CHANGED
|
@@ -2,7 +2,7 @@ const NAMESPACE = 'pds-icons';
|
|
|
2
2
|
const BUILD = /* pds-icons */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: false, 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: false, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, 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: false, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: false, propMutable: false, propNumber: false, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: false, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: true };
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
Stencil Client Platform v4.
|
|
5
|
+
Stencil Client Platform v4.22.2 | MIT Licensed | https://stenciljs.com
|
|
6
6
|
*/
|
|
7
7
|
var __defProp = Object.defineProperty;
|
|
8
8
|
var __export = (target, all) => {
|
|
@@ -310,17 +310,30 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
310
310
|
if (nonce != null) {
|
|
311
311
|
styleElm.setAttribute("nonce", nonce);
|
|
312
312
|
}
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
313
|
+
if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
|
|
314
|
+
if (styleContainerNode.nodeName === "HEAD") {
|
|
315
|
+
const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
|
|
316
|
+
const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
|
|
317
|
+
styleContainerNode.insertBefore(styleElm, referenceNode2);
|
|
318
|
+
} else if ("host" in styleContainerNode) {
|
|
319
|
+
if (supportsConstructableStylesheets) {
|
|
320
|
+
const stylesheet = new CSSStyleSheet();
|
|
321
|
+
stylesheet.replaceSync(style);
|
|
322
|
+
styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
|
|
323
|
+
} else {
|
|
324
|
+
const existingStyleContainer = styleContainerNode.querySelector("style");
|
|
325
|
+
if (existingStyleContainer) {
|
|
326
|
+
existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
|
|
327
|
+
} else {
|
|
328
|
+
styleContainerNode.prepend(styleElm);
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
} else {
|
|
332
|
+
styleContainerNode.append(styleElm);
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD") {
|
|
336
|
+
styleContainerNode.insertBefore(styleElm, null);
|
|
324
337
|
}
|
|
325
338
|
}
|
|
326
339
|
if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
|
|
@@ -413,7 +426,11 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
|
413
426
|
if (memberName === "list") {
|
|
414
427
|
isProp = false;
|
|
415
428
|
} else if (oldValue == null || elm[memberName] != n) {
|
|
416
|
-
elm
|
|
429
|
+
if (typeof elm.__lookupSetter__(memberName) === "function") {
|
|
430
|
+
elm[memberName] = n;
|
|
431
|
+
} else {
|
|
432
|
+
elm.setAttribute(memberName, n);
|
|
433
|
+
}
|
|
417
434
|
}
|
|
418
435
|
} else {
|
|
419
436
|
elm[memberName] = newValue;
|
|
@@ -1214,4 +1231,4 @@ var setNonce = (nonce) => plt.$nonce$ = nonce;
|
|
|
1214
1231
|
|
|
1215
1232
|
export { Host as H, bootstrapLazy as b, getElement as g, h, promiseResolve as p, registerInstance as r, setNonce as s };
|
|
1216
1233
|
|
|
1217
|
-
//# sourceMappingURL=index-
|
|
1234
|
+
//# sourceMappingURL=index-e65f4069.js.map
|