crmbonus-component-wake 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. package/LICENSE +21 -0
  2. package/dist/components/app-modal.d.ts +11 -0
  3. package/dist/components/index.d.ts +33 -0
  4. package/dist/components/my-component.d.ts +11 -0
  5. package/dist/crmbonus-component-wake/app-globals-0f993ce5.js +5 -0
  6. package/dist/crmbonus-component-wake/app-globals-0f993ce5.js.map +1 -0
  7. package/dist/crmbonus-component-wake/app-modal.entry.js +23 -0
  8. package/dist/crmbonus-component-wake/app-modal.entry.js.map +1 -0
  9. package/dist/crmbonus-component-wake/assets/logo.svg +18 -0
  10. package/dist/crmbonus-component-wake/crmbonus-component-wake.esm.js +49 -0
  11. package/dist/crmbonus-component-wake/crmbonus-component-wake.esm.js.map +1 -0
  12. package/dist/crmbonus-component-wake/index-2aa8671b.js +3039 -0
  13. package/dist/crmbonus-component-wake/index-2aa8671b.js.map +1 -0
  14. package/dist/crmbonus-component-wake/index-5f62d39b.js +3039 -0
  15. package/dist/crmbonus-component-wake/index-5f62d39b.js.map +1 -0
  16. package/dist/crmbonus-component-wake/index-f123357e.js +3039 -0
  17. package/dist/crmbonus-component-wake/index-f123357e.js.map +1 -0
  18. package/dist/crmbonus-component-wake/index-fc5d9bd5.js +3039 -0
  19. package/dist/crmbonus-component-wake/index-fc5d9bd5.js.map +1 -0
  20. package/dist/crmbonus-component-wake/index.esm.js +17 -0
  21. package/dist/crmbonus-component-wake/index.esm.js.map +1 -0
  22. package/dist/crmbonus-component-wake/my-component.entry.js +21 -0
  23. package/dist/crmbonus-component-wake/my-component.entry.js.map +1 -0
  24. package/dist/crmbonus-component-wake/shadow-css-7ad5caf8.js +334 -0
  25. package/dist/crmbonus-component-wake/shadow-css-7ad5caf8.js.map +1 -0
  26. package/dist/crmbonus-component-wake/utils-11fcde98.js +7 -0
  27. package/dist/crmbonus-component-wake/utils-11fcde98.js.map +1 -0
  28. package/dist/types/components/modal/app-modal.d.ts +8 -0
  29. package/dist/types/components/my-component/my-component.d.ts +4 -0
  30. package/dist/types/components.d.ts +70 -0
  31. package/dist/types/index.d.ts +11 -0
  32. package/dist/types/stencil-public-runtime.d.ts +1680 -0
  33. package/dist/types/utils/utils.d.ts +1 -0
  34. package/package.json +50 -0
  35. package/readme.md +115 -0
@@ -0,0 +1,17 @@
1
+ function format(first, middle, last) {
2
+ return (first || '') + (middle ? ` ${middle}` : '') + (last ? ` ${last}` : '');
3
+ }
4
+
5
+ /**
6
+ * @fileoverview entry point for your component library
7
+ *
8
+ * This is the entry point for your component library. Use this file to export utilities,
9
+ * constants or data structure that accompany your components.
10
+ *
11
+ * DO NOT use this file to export your components. Instead, use the recommended approaches
12
+ * to consume components of this package as outlined in the `README.md`.
13
+ */
14
+
15
+ export { format };
16
+
17
+ //# sourceMappingURL=index.esm.js.map
@@ -0,0 +1 @@
1
+ {"file":"index.esm.js","mappings":"SAAgB,MAAM,CAAC,KAAc,EAAE,MAAe,EAAE,IAAa;IACnE,OAAO,CAAC,KAAK,IAAI,EAAE,KAAK,MAAM,GAAG,IAAI,MAAM,EAAE,GAAG,EAAE,CAAC,IAAI,IAAI,GAAG,IAAI,IAAI,EAAE,GAAG,EAAE,CAAC,CAAC;AACjF;;ACFA;;;;;;;;;;;;","names":[],"sources":["src/utils/utils.ts","src/index.ts"],"sourcesContent":["export function format(first?: string, middle?: string, last?: string): string {\n return (first || '') + (middle ? ` ${middle}` : '') + (last ? ` ${last}` : '');\n}\n","/**\n * @fileoverview entry point for your component library\n *\n * This is the entry point for your component library. Use this file to export utilities,\n * constants or data structure that accompany your components.\n *\n * DO NOT use this file to export your components. Instead, use the recommended approaches\n * to consume components of this package as outlined in the `README.md`.\n */\n\nexport { format } from './utils/utils';\nexport type * from './components.d.ts';\n"],"version":3}
@@ -0,0 +1,21 @@
1
+ import { r as registerInstance, h } from './index-2aa8671b.js';
2
+
3
+ const logoSvg = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC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DAyQzU4MiA0NC4wMDAyIDU3Ny4zIDQ3LjEwMDIgNTc3LjMgNTEuODAwMkM1NzcuMyA1NS4zMDAyIDU3OS45IDU4LjgwMDIgNTg3LjcgNjAuMDAwMkw2MDAuMiA2Mi4wMDAyQzYxMC4zIDYzLjgwMDIgNjIwLjIgNjguMjAwMiA2MjAuMiA4MS4yMDAyQzYyMC4yIDk1LjMwMDIgNjA3LjkgMTAyLjUgNTkxLjEgMTAyLjVDNTc1LjMgMTAyLjUgNTYxLjkgOTYuMzAwMiA1NjAuMiA3OC43MDAyTDU3My44IDc4LjgwMDJDNTc1LjMgODcuMDAwMiA1ODEuNCA5MC41MDAyIDU5MS41IDkwLjUwMDJaIiBmaWxsPSJjdXJyZW50Q29sb3IiPjwvcGF0aD4KPGRlZnM+CjxsaW5lYXJHcmFkaWVudCBpZD0icGFpbnQwX2xpbmVhcl8xNjI5XzE4OCIgeDE9IjYzNi44MzMiIHkxPSI5Ny44MjYxIiB4Mj0iNzEzLjQ2IiB5Mj0iMjYuNjU4MiIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPgo8c3RvcCBzdG9wLWNvbG9yPSIjRjdBODMwIj48L3N0b3A+CjxzdG9wIG9mZnNldD0iMC42MzUzIiBzdG9wLWNvbG9yPSIjRjA4MzM2Ij48L3N0b3A+CjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0VBNTM0NiI+PC9zdG9wPgo8L2xpbmVhckdyYWRpZW50Pgo8L2RlZnM+Cjwvc3ZnPg==';
4
+
5
+ const myComponentCss = ":host{display:block}.container-button{max-width:136px;cursor:pointer}";
6
+
7
+ const MyComponent = class {
8
+ constructor(hostRef) {
9
+ registerInstance(this, hostRef);
10
+ this.showModal = false;
11
+ }
12
+ render() {
13
+ return (h("div", { key: 'b6045a4118a11aa78a3f8084809f2cec9b61c3a2', class: "container-button" }, h("img", { key: 'a252399e02eb2c9ccc96ccbed8123b4d36659f41', src: logoSvg, onClick: () => (this.showModal = true) }), h("app-modal", { key: '7bbd4f04574f7c53697e0cbe0489cf0382c931b8', isOpen: this.showModal, modalTitle: "T\u00EDtulo do Modal", onModalClosed: () => (this.showModal = false) }, h("p", { key: '383718b8c528a3699d412d07c5a35f413b3fedaa' }, "Conte\u00FAdo do modal aqui."))));
14
+ }
15
+ static get assetsDirs() { return ["assets"]; }
16
+ };
17
+ MyComponent.style = myComponentCss;
18
+
19
+ export { MyComponent as my_component };
20
+
21
+ //# sourceMappingURL=my-component.entry.js.map
@@ -0,0 +1 @@
1
+ {"file":"my-component.entry.esm.js","mappings":";;AAAA,MAAM,OAAO,GAAG,w9JAAw9J;;ACAx+J,MAAM,cAAc,GAAG,uEAAuE;;MCSjF,WAAW;;;yBACQ,KAAK;;IAEnC,MAAM;QACJ,QACE,4DAAK,KAAK,EAAC,kBAAkB,IAC3B,4DAAK,GAAG,EAAEA,OAAI,EAAE,OAAO,EAAE,OAAO,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,GAAI,EAC1D,kEACE,MAAM,EAAE,IAAI,CAAC,SAAS,EACtB,UAAU,EAAC,sBAAiB,EAC5B,aAAa,EAAE,OAAO,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC,IAE7C,2FAA8B,CACpB,CACR,EACP;KACF;;;;;;;","names":["logo"],"sources":["src/components/my-component/assets/svg/logo.svg","src/components/my-component/my-component.css?tag=my-component&encapsulation=shadow","src/components/my-component/my-component.tsx"],"sourcesContent":["<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\" viewBox=\"0 0 703 103\" fill=\"none\" preserveAspectRatio=\"xMidYMid meet\" aria-hidden=\"true\" role=\"img\">\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M689.2 57.5004L647.1 99.6004L637.3 89.8004L679.4 47.7004H636V33.9004H695C696.9 33.9004 698.5 34.5004 699.7 35.5004C700 35.7004 700.2 35.9004 700.4 36.1004C700.6 36.3004 700.8 36.5004 700.9 36.7004V36.8004V36.9004C702 38.1004 702.7 39.8004 702.7 41.8004V43.6004V67.0004V100.7H688.9V80.8004V57.5004H689.2Z\" fill=\"url(#paint0_linear_1629_188)\"></path>\n<path d=\"M52.7 76.4998H67.7C65.3 91.7998 51.9 102.5 35.2 102.5C15.2 102.5 0 87.2998 0 67.3998C0 47.6998 15.2 32.2998 35.2 32.2998C51.9 32.2998 65.3 42.8998 67.7 58.2998H52.7C50.9 50.7998 44.2 45.6998 35.2 45.6998C22.9 45.6998 14.8 55.3998 14.8 67.3998C14.8 79.4998 22.9 89.0998 35.2 89.0998C44.2 89.1998 50.9 84.0998 52.7 76.4998Z\" fill=\"currentColor\"></path>\n<path d=\"M117.2 32.7002V46.6002C106.6 47.0002 98.5002 51.0002 92.5002 58.8002V100.8H77.7002V34.1002H92.5002V43.2002C98.6002 36.5002 107 32.7002 117.2 32.7002Z\" fill=\"currentColor\"></path>\n<path d=\"M237.4 62.5997V100.8H222.8V62.5997C222.8 50.7997 216.6 45.6997 207 45.6997C200.5 45.6997 194.2 48.0997 189.3 54.7997C189.7 56.8997 189.9 59.2997 189.9 61.7997V100.8H175.2V61.7997C175.2 49.9997 169 45.7997 160.3 45.7997C153.3 45.7997 147.1 48.5997 142.3 55.2997V100.9H127.5V34.1997H142.3V39.8997C147.3 35.3997 153.2 32.4997 162 32.4997C171.5 32.4997 179.2 35.7997 184.1 42.1997C190.6 35.7997 198.2 32.4997 207.9 32.4997C225.5 32.3997 237.4 42.8997 237.4 62.5997Z\" fill=\"currentColor\"></path>\n<path d=\"M320 67.3C320 86.9 304.8 102.5 286.1 102.5C277.6 102.5 270.3 99.9 264.8 95.5V100.8H250V0H264.8V39.2C270.3 34.9 277.6 32.4 286.1 32.4C304.8 32.4 320 48 320 67.3ZM305.2 67.3C305.2 55.5 296.3 45.7 283.9 45.7C276.5 45.7 269.7 48.1 264.7 55.1V79.7C269.7 86.7 276.5 89.2 283.9 89.2C296.3 89.2 305.2 79.2 305.2 67.3Z\" fill=\"currentColor\"></path>\n<path d=\"M399.2 67.5004C399.2 87.9004 384.4 102.6 363.7 102.6C343 102.6 328.2 87.9004 328.2 67.5004C328.2 47.1004 343 32.4004 363.7 32.4004C384.4 32.4004 399.2 47.0004 399.2 67.5004ZM384.4 67.5004C384.4 54.9004 375.7 45.8004 363.7 45.8004C351.7 45.8004 343 54.9004 343 67.5004C343 80.0004 351.7 89.2004 363.7 89.2004C375.7 89.2004 384.4 79.9004 384.4 67.5004Z\" fill=\"currentColor\"></path>\n<path d=\"M474.3 63.5997V100.8H459.5V64.4996C459.5 52.2996 453 45.7997 442.2 45.7997C435.8 45.7997 428.9 49.2996 423.6 55.8996V100.9H408.8V34.1996H423.6V40.1996C429.4 35.1996 436.7 32.4996 445.2 32.4996C462.5 32.3996 474.3 44.2997 474.3 63.5997Z\" fill=\"currentColor\"></path>\n<path d=\"M550.4 34.0996V100.8H535.8V94.2996C530 99.5996 522.7 102.5 514.1 102.5C496.8 102.5 485.1 90.1996 485.1 70.9996V34.0996H499.7V70.1996C499.7 82.3996 506.4 89.1996 517 89.1996C523.5 89.1996 530.3 85.4996 535.7 78.6996V34.0996H550.4Z\" fill=\"currentColor\"></path>\n<path d=\"M591.5 90.5002C600.2 90.5002 606.1 87.7002 606.1 82.4002C606.1 78.4002 602.8 75.6002 597.2 74.6002L582.4 72.0002C572.2 70.3002 562.7 65.2002 562.7 53.1002C562.7 40.2002 573.9 32.2002 590.5 32.2002C603.4 32.2002 618.3 36.6002 619.7 54.1002H606.1C605.4 46.9002 599 44.0002 590.5 44.0002C582 44.0002 577.3 47.1002 577.3 51.8002C577.3 55.3002 579.9 58.8002 587.7 60.0002L600.2 62.0002C610.3 63.8002 620.2 68.2002 620.2 81.2002C620.2 95.3002 607.9 102.5 591.1 102.5C575.3 102.5 561.9 96.3002 560.2 78.7002L573.8 78.8002C575.3 87.0002 581.4 90.5002 591.5 90.5002Z\" fill=\"currentColor\"></path>\n<defs>\n<linearGradient id=\"paint0_linear_1629_188\" x1=\"636.833\" y1=\"97.8261\" x2=\"713.46\" y2=\"26.6582\" gradientUnits=\"userSpaceOnUse\">\n<stop stop-color=\"#F7A830\"></stop>\n<stop offset=\"0.6353\" stop-color=\"#F08336\"></stop>\n<stop offset=\"1\" stop-color=\"#EA5346\"></stop>\n</linearGradient>\n</defs>\n</svg>",":host {\n display: block;\n}\n\n.container-button {\n max-width: 136px;\n cursor: pointer;\n}","import { Component, State, h } from '@stencil/core';\nimport logo from './assets/svg/logo.svg';\n\n@Component({\n tag: 'my-component',\n styleUrl: 'my-component.css',\n shadow: true,\n assetsDirs: ['assets']\n})\nexport class MyComponent {\n @State() showModal: boolean = false;\n\n render() {\n return (\n <div class=\"container-button\">\n <img src={logo} onClick={() => (this.showModal = true)} />\n <app-modal\n isOpen={this.showModal}\n modalTitle=\"Título do Modal\"\n onModalClosed={() => (this.showModal = false)}\n >\n <p>Conteúdo do modal aqui.</p>\n </app-modal>\n </div>\n )\n }\n}\n"],"version":3}
@@ -0,0 +1,334 @@
1
+ // src/utils/regular-expression.ts
2
+ var escapeRegExpSpecialCharacters = (text) => {
3
+ return text.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
4
+ };
5
+
6
+ // src/utils/shadow-css.ts
7
+ /**
8
+ * @license
9
+ * Copyright Google Inc. All Rights Reserved.
10
+ *
11
+ * Use of this source code is governed by an MIT-style license that can be
12
+ * found in the LICENSE file at https://angular.io/license
13
+ *
14
+ * This file is a port of shadowCSS from `webcomponents.js` to TypeScript.
15
+ * https://github.com/webcomponents/webcomponentsjs/blob/4efecd7e0e/src/ShadowCSS/ShadowCSS.js
16
+ * https://github.com/angular/angular/blob/master/packages/compiler/src/shadow_css.ts
17
+ */
18
+ var safeSelector = (selector) => {
19
+ const placeholders = [];
20
+ let index = 0;
21
+ selector = selector.replace(/(\[[^\]]*\])/g, (_, keep) => {
22
+ const replaceBy = `__ph-${index}__`;
23
+ placeholders.push(keep);
24
+ index++;
25
+ return replaceBy;
26
+ });
27
+ const content = selector.replace(/(:nth-[-\w]+)(\([^)]+\))/g, (_, pseudo, exp) => {
28
+ const replaceBy = `__ph-${index}__`;
29
+ placeholders.push(exp);
30
+ index++;
31
+ return pseudo + replaceBy;
32
+ });
33
+ const ss = {
34
+ content,
35
+ placeholders
36
+ };
37
+ return ss;
38
+ };
39
+ var restoreSafeSelector = (placeholders, content) => {
40
+ return content.replace(/__ph-(\d+)__/g, (_, index) => placeholders[+index]);
41
+ };
42
+ var _polyfillHost = "-shadowcsshost";
43
+ var _polyfillSlotted = "-shadowcssslotted";
44
+ var _polyfillHostContext = "-shadowcsscontext";
45
+ var _parenSuffix = ")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)";
46
+ var _cssColonHostRe = new RegExp("(" + _polyfillHost + _parenSuffix, "gim");
47
+ var _cssColonHostContextRe = new RegExp("(" + _polyfillHostContext + _parenSuffix, "gim");
48
+ var _cssColonSlottedRe = new RegExp("(" + _polyfillSlotted + _parenSuffix, "gim");
49
+ var _polyfillHostNoCombinator = _polyfillHost + "-no-combinator";
50
+ var _polyfillHostNoCombinatorRe = /-shadowcsshost-no-combinator([^\s]*)/;
51
+ var _shadowDOMSelectorsRe = [/::shadow/g, /::content/g];
52
+ var _selectorReSuffix = "([>\\s~+[.,{:][\\s\\S]*)?$";
53
+ var _polyfillHostRe = /-shadowcsshost/gim;
54
+ var createSupportsRuleRe = (selector) => new RegExp(`((?<!(^@supports(.*)))|(?<={.*))(${selector}\\b)`, "gim");
55
+ var _colonSlottedRe = createSupportsRuleRe("::slotted");
56
+ var _colonHostRe = createSupportsRuleRe(":host");
57
+ var _colonHostContextRe = createSupportsRuleRe(":host-context");
58
+ var _commentRe = /\/\*\s*[\s\S]*?\*\//g;
59
+ var stripComments = (input) => {
60
+ return input.replace(_commentRe, "");
61
+ };
62
+ var _commentWithHashRe = /\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g;
63
+ var extractCommentsWithHash = (input) => {
64
+ return input.match(_commentWithHashRe) || [];
65
+ };
66
+ var _ruleRe = /(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g;
67
+ var _curlyRe = /([{}])/g;
68
+ var _selectorPartsRe = /(^.*?[^\\])??((:+)(.*)|$)/;
69
+ var OPEN_CURLY = "{";
70
+ var CLOSE_CURLY = "}";
71
+ var BLOCK_PLACEHOLDER = "%BLOCK%";
72
+ var processRules = (input, ruleCallback) => {
73
+ const inputWithEscapedBlocks = escapeBlocks(input);
74
+ let nextBlockIndex = 0;
75
+ return inputWithEscapedBlocks.escapedString.replace(_ruleRe, (...m) => {
76
+ const selector = m[2];
77
+ let content = "";
78
+ let suffix = m[4];
79
+ let contentPrefix = "";
80
+ if (suffix && suffix.startsWith("{" + BLOCK_PLACEHOLDER)) {
81
+ content = inputWithEscapedBlocks.blocks[nextBlockIndex++];
82
+ suffix = suffix.substring(BLOCK_PLACEHOLDER.length + 1);
83
+ contentPrefix = "{";
84
+ }
85
+ const cssRule = {
86
+ selector,
87
+ content
88
+ };
89
+ const rule = ruleCallback(cssRule);
90
+ return `${m[1]}${rule.selector}${m[3]}${contentPrefix}${rule.content}${suffix}`;
91
+ });
92
+ };
93
+ var escapeBlocks = (input) => {
94
+ const inputParts = input.split(_curlyRe);
95
+ const resultParts = [];
96
+ const escapedBlocks = [];
97
+ let bracketCount = 0;
98
+ let currentBlockParts = [];
99
+ for (let partIndex = 0; partIndex < inputParts.length; partIndex++) {
100
+ const part = inputParts[partIndex];
101
+ if (part === CLOSE_CURLY) {
102
+ bracketCount--;
103
+ }
104
+ if (bracketCount > 0) {
105
+ currentBlockParts.push(part);
106
+ } else {
107
+ if (currentBlockParts.length > 0) {
108
+ escapedBlocks.push(currentBlockParts.join(""));
109
+ resultParts.push(BLOCK_PLACEHOLDER);
110
+ currentBlockParts = [];
111
+ }
112
+ resultParts.push(part);
113
+ }
114
+ if (part === OPEN_CURLY) {
115
+ bracketCount++;
116
+ }
117
+ }
118
+ if (currentBlockParts.length > 0) {
119
+ escapedBlocks.push(currentBlockParts.join(""));
120
+ resultParts.push(BLOCK_PLACEHOLDER);
121
+ }
122
+ const strEscapedBlocks = {
123
+ escapedString: resultParts.join(""),
124
+ blocks: escapedBlocks
125
+ };
126
+ return strEscapedBlocks;
127
+ };
128
+ var insertPolyfillHostInCssText = (cssText) => {
129
+ cssText = cssText.replace(_colonHostContextRe, `$1${_polyfillHostContext}`).replace(_colonHostRe, `$1${_polyfillHost}`).replace(_colonSlottedRe, `$1${_polyfillSlotted}`);
130
+ return cssText;
131
+ };
132
+ var convertColonRule = (cssText, regExp, partReplacer) => {
133
+ return cssText.replace(regExp, (...m) => {
134
+ if (m[2]) {
135
+ const parts = m[2].split(",");
136
+ const r = [];
137
+ for (let i = 0; i < parts.length; i++) {
138
+ const p = parts[i].trim();
139
+ if (!p) break;
140
+ r.push(partReplacer(_polyfillHostNoCombinator, p, m[3]));
141
+ }
142
+ return r.join(",");
143
+ } else {
144
+ return _polyfillHostNoCombinator + m[3];
145
+ }
146
+ });
147
+ };
148
+ var colonHostPartReplacer = (host, part, suffix) => {
149
+ return host + part.replace(_polyfillHost, "") + suffix;
150
+ };
151
+ var convertColonHost = (cssText) => {
152
+ return convertColonRule(cssText, _cssColonHostRe, colonHostPartReplacer);
153
+ };
154
+ var colonHostContextPartReplacer = (host, part, suffix) => {
155
+ if (part.indexOf(_polyfillHost) > -1) {
156
+ return colonHostPartReplacer(host, part, suffix);
157
+ } else {
158
+ return host + part + suffix + ", " + part + " " + host + suffix;
159
+ }
160
+ };
161
+ var convertColonSlotted = (cssText, slotScopeId) => {
162
+ const slotClass = "." + slotScopeId + " > ";
163
+ const selectors = [];
164
+ cssText = cssText.replace(_cssColonSlottedRe, (...m) => {
165
+ if (m[2]) {
166
+ const compound = m[2].trim();
167
+ const suffix = m[3];
168
+ const slottedSelector = slotClass + compound + suffix;
169
+ let prefixSelector = "";
170
+ for (let i = m[4] - 1; i >= 0; i--) {
171
+ const char = m[5][i];
172
+ if (char === "}" || char === ",") {
173
+ break;
174
+ }
175
+ prefixSelector = char + prefixSelector;
176
+ }
177
+ const orgSelector = (prefixSelector + slottedSelector).trim();
178
+ const addedSelector = `${prefixSelector.trimEnd()}${slottedSelector.trim()}`.trim();
179
+ if (orgSelector !== addedSelector) {
180
+ const updatedSelector = `${addedSelector}, ${orgSelector}`;
181
+ selectors.push({
182
+ orgSelector,
183
+ updatedSelector
184
+ });
185
+ }
186
+ return slottedSelector;
187
+ } else {
188
+ return _polyfillHostNoCombinator + m[3];
189
+ }
190
+ });
191
+ return {
192
+ selectors,
193
+ cssText
194
+ };
195
+ };
196
+ var convertColonHostContext = (cssText) => {
197
+ return convertColonRule(cssText, _cssColonHostContextRe, colonHostContextPartReplacer);
198
+ };
199
+ var convertShadowDOMSelectors = (cssText) => {
200
+ return _shadowDOMSelectorsRe.reduce((result, pattern) => result.replace(pattern, " "), cssText);
201
+ };
202
+ var makeScopeMatcher = (scopeSelector2) => {
203
+ const lre = /\[/g;
204
+ const rre = /\]/g;
205
+ scopeSelector2 = scopeSelector2.replace(lre, "\\[").replace(rre, "\\]");
206
+ return new RegExp("^(" + scopeSelector2 + ")" + _selectorReSuffix, "m");
207
+ };
208
+ var selectorNeedsScoping = (selector, scopeSelector2) => {
209
+ const re = makeScopeMatcher(scopeSelector2);
210
+ return !re.test(selector);
211
+ };
212
+ var injectScopingSelector = (selector, scopingSelector) => {
213
+ return selector.replace(_selectorPartsRe, (_, before = "", _colonGroup, colon = "", after = "") => {
214
+ return before + scopingSelector + colon + after;
215
+ });
216
+ };
217
+ var applySimpleSelectorScope = (selector, scopeSelector2, hostSelector) => {
218
+ _polyfillHostRe.lastIndex = 0;
219
+ if (_polyfillHostRe.test(selector)) {
220
+ const replaceBy = `.${hostSelector}`;
221
+ return selector.replace(_polyfillHostNoCombinatorRe, (_, selector2) => injectScopingSelector(selector2, replaceBy)).replace(_polyfillHostRe, replaceBy + " ");
222
+ }
223
+ return scopeSelector2 + " " + selector;
224
+ };
225
+ var applyStrictSelectorScope = (selector, scopeSelector2, hostSelector) => {
226
+ const isRe = /\[is=([^\]]*)\]/g;
227
+ scopeSelector2 = scopeSelector2.replace(isRe, (_, ...parts) => parts[0]);
228
+ const className = "." + scopeSelector2;
229
+ const _scopeSelectorPart = (p) => {
230
+ let scopedP = p.trim();
231
+ if (!scopedP) {
232
+ return "";
233
+ }
234
+ if (p.indexOf(_polyfillHostNoCombinator) > -1) {
235
+ scopedP = applySimpleSelectorScope(p, scopeSelector2, hostSelector);
236
+ } else {
237
+ const t = p.replace(_polyfillHostRe, "");
238
+ if (t.length > 0) {
239
+ scopedP = injectScopingSelector(t, className);
240
+ }
241
+ }
242
+ return scopedP;
243
+ };
244
+ const safeContent = safeSelector(selector);
245
+ selector = safeContent.content;
246
+ let scopedSelector = "";
247
+ let startIndex = 0;
248
+ let res;
249
+ const sep = /( |>|\+|~(?!=))\s*/g;
250
+ const hasHost = selector.indexOf(_polyfillHostNoCombinator) > -1;
251
+ let shouldScope = !hasHost;
252
+ while ((res = sep.exec(selector)) !== null) {
253
+ const separator = res[1];
254
+ const part2 = selector.slice(startIndex, res.index).trim();
255
+ shouldScope = shouldScope || part2.indexOf(_polyfillHostNoCombinator) > -1;
256
+ const scopedPart = shouldScope ? _scopeSelectorPart(part2) : part2;
257
+ scopedSelector += `${scopedPart} ${separator} `;
258
+ startIndex = sep.lastIndex;
259
+ }
260
+ const part = selector.substring(startIndex);
261
+ shouldScope = shouldScope || part.indexOf(_polyfillHostNoCombinator) > -1;
262
+ scopedSelector += shouldScope ? _scopeSelectorPart(part) : part;
263
+ return restoreSafeSelector(safeContent.placeholders, scopedSelector);
264
+ };
265
+ var scopeSelector = (selector, scopeSelectorText, hostSelector, slotSelector) => {
266
+ return selector.split(",").map((shallowPart) => {
267
+ if (slotSelector && shallowPart.indexOf("." + slotSelector) > -1) {
268
+ return shallowPart.trim();
269
+ }
270
+ if (selectorNeedsScoping(shallowPart, scopeSelectorText)) {
271
+ return applyStrictSelectorScope(shallowPart, scopeSelectorText, hostSelector).trim();
272
+ } else {
273
+ return shallowPart.trim();
274
+ }
275
+ }).join(", ");
276
+ };
277
+ var scopeSelectors = (cssText, scopeSelectorText, hostSelector, slotSelector) => {
278
+ return processRules(cssText, (rule) => {
279
+ let selector = rule.selector;
280
+ let content = rule.content;
281
+ if (rule.selector[0] !== "@") {
282
+ selector = scopeSelector(rule.selector, scopeSelectorText, hostSelector, slotSelector);
283
+ } else if (rule.selector.startsWith("@media") || rule.selector.startsWith("@supports") || rule.selector.startsWith("@page") || rule.selector.startsWith("@document")) {
284
+ content = scopeSelectors(rule.content, scopeSelectorText, hostSelector, slotSelector);
285
+ }
286
+ const cssRule = {
287
+ selector: selector.replace(/\s{2,}/g, " ").trim(),
288
+ content
289
+ };
290
+ return cssRule;
291
+ });
292
+ };
293
+ var scopeCssText = (cssText, scopeId, hostScopeId, slotScopeId) => {
294
+ cssText = insertPolyfillHostInCssText(cssText);
295
+ cssText = convertColonHost(cssText);
296
+ cssText = convertColonHostContext(cssText);
297
+ const slotted = convertColonSlotted(cssText, slotScopeId);
298
+ cssText = slotted.cssText;
299
+ cssText = convertShadowDOMSelectors(cssText);
300
+ if (scopeId) {
301
+ cssText = scopeSelectors(cssText, scopeId, hostScopeId, slotScopeId);
302
+ }
303
+ cssText = replaceShadowCssHost(cssText, hostScopeId);
304
+ cssText = cssText.replace(/>\s*\*\s+([^{, ]+)/gm, " $1 ");
305
+ return {
306
+ cssText: cssText.trim(),
307
+ // We need to replace the shadow CSS host string in each of these selectors since we created
308
+ // them prior to the replacement happening in the components CSS text.
309
+ slottedSelectors: slotted.selectors.map((ref) => ({
310
+ orgSelector: replaceShadowCssHost(ref.orgSelector, hostScopeId),
311
+ updatedSelector: replaceShadowCssHost(ref.updatedSelector, hostScopeId)
312
+ }))
313
+ };
314
+ };
315
+ var replaceShadowCssHost = (cssText, hostScopeId) => {
316
+ return cssText.replace(/-shadowcsshost-no-combinator/g, `.${hostScopeId}`);
317
+ };
318
+ var scopeCss = (cssText, scopeId) => {
319
+ const hostScopeId = scopeId + "-h";
320
+ const slotScopeId = scopeId + "-s";
321
+ const commentsWithHash = extractCommentsWithHash(cssText);
322
+ cssText = stripComments(cssText);
323
+ const scoped = scopeCssText(cssText, scopeId, hostScopeId, slotScopeId);
324
+ cssText = [scoped.cssText, ...commentsWithHash].join("\n");
325
+ scoped.slottedSelectors.forEach((slottedSelector) => {
326
+ const regex = new RegExp(escapeRegExpSpecialCharacters(slottedSelector.orgSelector), "g");
327
+ cssText = cssText.replace(regex, slottedSelector.updatedSelector);
328
+ });
329
+ return cssText;
330
+ };
331
+
332
+ export { scopeCss };
333
+
334
+ //# sourceMappingURL=shadow-css-7ad5caf8.js.map
@@ -0,0 +1 @@
1
+ {"file":"shadow-css-7ad5caf8.js","mappings":"AAAA;AACA,IAAI,6BAA6B,GAAG,CAAC,IAAI,KAAK;AAC9C,EAAE,OAAO,IAAI,CAAC,OAAO,CAAC,qBAAqB,EAAE,MAAM,CAAC,CAAC;AACrD,CAAC,CAAC;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,YAAY,GAAG,CAAC,QAAQ,KAAK;AACjC,EAAE,MAAM,YAAY,GAAG,EAAE,CAAC;AAC1B,EAAE,IAAI,KAAK,GAAG,CAAC,CAAC;AAChB,EAAE,QAAQ,GAAG,QAAQ,CAAC,OAAO,CAAC,eAAe,EAAE,CAAC,CAAC,EAAE,IAAI,KAAK;AAC5D,IAAI,MAAM,SAAS,GAAG,CAAC,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,CAAC;AACxC,IAAI,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC5B,IAAI,KAAK,EAAE,CAAC;AACZ,IAAI,OAAO,SAAS,CAAC;AACrB,GAAG,CAAC,CAAC;AACL,EAAE,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,2BAA2B,EAAE,CAAC,CAAC,EAAE,MAAM,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CAAC;AAC9F,IAAI,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,KAAK,EAAE,eAAe,CAAC,eAAe,CAAC,CAAC;AACtE,GAAG,CAAC,CAAC;AACL,EAAE,OAAO,OAAO,CAAC;AACjB;;;;","names":[],"sources":["node_modules/@stencil/core/internal/client/shadow-css.js"],"sourcesContent":["// src/utils/regular-expression.ts\nvar escapeRegExpSpecialCharacters = (text) => {\n return text.replace(/[.*+?^${}()|[\\]\\\\]/g, \"\\\\$&\");\n};\n\n// src/utils/shadow-css.ts\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n *\n * This file is a port of shadowCSS from `webcomponents.js` to TypeScript.\n * https://github.com/webcomponents/webcomponentsjs/blob/4efecd7e0e/src/ShadowCSS/ShadowCSS.js\n * https://github.com/angular/angular/blob/master/packages/compiler/src/shadow_css.ts\n */\nvar safeSelector = (selector) => {\n const placeholders = [];\n let index = 0;\n selector = selector.replace(/(\\[[^\\]]*\\])/g, (_, keep) => {\n const replaceBy = `__ph-${index}__`;\n placeholders.push(keep);\n index++;\n return replaceBy;\n });\n const content = selector.replace(/(:nth-[-\\w]+)(\\([^)]+\\))/g, (_, pseudo, exp) => {\n const replaceBy = `__ph-${index}__`;\n placeholders.push(exp);\n index++;\n return pseudo + replaceBy;\n });\n const ss = {\n content,\n placeholders\n };\n return ss;\n};\nvar restoreSafeSelector = (placeholders, content) => {\n return content.replace(/__ph-(\\d+)__/g, (_, index) => placeholders[+index]);\n};\nvar _polyfillHost = \"-shadowcsshost\";\nvar _polyfillSlotted = \"-shadowcssslotted\";\nvar _polyfillHostContext = \"-shadowcsscontext\";\nvar _parenSuffix = \")(?:\\\\(((?:\\\\([^)(]*\\\\)|[^)(]*)+?)\\\\))?([^,{]*)\";\nvar _cssColonHostRe = new RegExp(\"(\" + _polyfillHost + _parenSuffix, \"gim\");\nvar _cssColonHostContextRe = new RegExp(\"(\" + _polyfillHostContext + _parenSuffix, \"gim\");\nvar _cssColonSlottedRe = new RegExp(\"(\" + _polyfillSlotted + _parenSuffix, \"gim\");\nvar _polyfillHostNoCombinator = _polyfillHost + \"-no-combinator\";\nvar _polyfillHostNoCombinatorRe = /-shadowcsshost-no-combinator([^\\s]*)/;\nvar _shadowDOMSelectorsRe = [/::shadow/g, /::content/g];\nvar _selectorReSuffix = \"([>\\\\s~+[.,{:][\\\\s\\\\S]*)?$\";\nvar _polyfillHostRe = /-shadowcsshost/gim;\nvar createSupportsRuleRe = (selector) => new RegExp(`((?<!(^@supports(.*)))|(?<={.*))(${selector}\\\\b)`, \"gim\");\nvar _colonSlottedRe = createSupportsRuleRe(\"::slotted\");\nvar _colonHostRe = createSupportsRuleRe(\":host\");\nvar _colonHostContextRe = createSupportsRuleRe(\":host-context\");\nvar _commentRe = /\\/\\*\\s*[\\s\\S]*?\\*\\//g;\nvar stripComments = (input) => {\n return input.replace(_commentRe, \"\");\n};\nvar _commentWithHashRe = /\\/\\*\\s*#\\s*source(Mapping)?URL=[\\s\\S]+?\\*\\//g;\nvar extractCommentsWithHash = (input) => {\n return input.match(_commentWithHashRe) || [];\n};\nvar _ruleRe = /(\\s*)([^;\\{\\}]+?)(\\s*)((?:{%BLOCK%}?\\s*;?)|(?:\\s*;))/g;\nvar _curlyRe = /([{}])/g;\nvar _selectorPartsRe = /(^.*?[^\\\\])??((:+)(.*)|$)/;\nvar OPEN_CURLY = \"{\";\nvar CLOSE_CURLY = \"}\";\nvar BLOCK_PLACEHOLDER = \"%BLOCK%\";\nvar processRules = (input, ruleCallback) => {\n const inputWithEscapedBlocks = escapeBlocks(input);\n let nextBlockIndex = 0;\n return inputWithEscapedBlocks.escapedString.replace(_ruleRe, (...m) => {\n const selector = m[2];\n let content = \"\";\n let suffix = m[4];\n let contentPrefix = \"\";\n if (suffix && suffix.startsWith(\"{\" + BLOCK_PLACEHOLDER)) {\n content = inputWithEscapedBlocks.blocks[nextBlockIndex++];\n suffix = suffix.substring(BLOCK_PLACEHOLDER.length + 1);\n contentPrefix = \"{\";\n }\n const cssRule = {\n selector,\n content\n };\n const rule = ruleCallback(cssRule);\n return `${m[1]}${rule.selector}${m[3]}${contentPrefix}${rule.content}${suffix}`;\n });\n};\nvar escapeBlocks = (input) => {\n const inputParts = input.split(_curlyRe);\n const resultParts = [];\n const escapedBlocks = [];\n let bracketCount = 0;\n let currentBlockParts = [];\n for (let partIndex = 0; partIndex < inputParts.length; partIndex++) {\n const part = inputParts[partIndex];\n if (part === CLOSE_CURLY) {\n bracketCount--;\n }\n if (bracketCount > 0) {\n currentBlockParts.push(part);\n } else {\n if (currentBlockParts.length > 0) {\n escapedBlocks.push(currentBlockParts.join(\"\"));\n resultParts.push(BLOCK_PLACEHOLDER);\n currentBlockParts = [];\n }\n resultParts.push(part);\n }\n if (part === OPEN_CURLY) {\n bracketCount++;\n }\n }\n if (currentBlockParts.length > 0) {\n escapedBlocks.push(currentBlockParts.join(\"\"));\n resultParts.push(BLOCK_PLACEHOLDER);\n }\n const strEscapedBlocks = {\n escapedString: resultParts.join(\"\"),\n blocks: escapedBlocks\n };\n return strEscapedBlocks;\n};\nvar insertPolyfillHostInCssText = (cssText) => {\n cssText = cssText.replace(_colonHostContextRe, `$1${_polyfillHostContext}`).replace(_colonHostRe, `$1${_polyfillHost}`).replace(_colonSlottedRe, `$1${_polyfillSlotted}`);\n return cssText;\n};\nvar convertColonRule = (cssText, regExp, partReplacer) => {\n return cssText.replace(regExp, (...m) => {\n if (m[2]) {\n const parts = m[2].split(\",\");\n const r = [];\n for (let i = 0; i < parts.length; i++) {\n const p = parts[i].trim();\n if (!p) break;\n r.push(partReplacer(_polyfillHostNoCombinator, p, m[3]));\n }\n return r.join(\",\");\n } else {\n return _polyfillHostNoCombinator + m[3];\n }\n });\n};\nvar colonHostPartReplacer = (host, part, suffix) => {\n return host + part.replace(_polyfillHost, \"\") + suffix;\n};\nvar convertColonHost = (cssText) => {\n return convertColonRule(cssText, _cssColonHostRe, colonHostPartReplacer);\n};\nvar colonHostContextPartReplacer = (host, part, suffix) => {\n if (part.indexOf(_polyfillHost) > -1) {\n return colonHostPartReplacer(host, part, suffix);\n } else {\n return host + part + suffix + \", \" + part + \" \" + host + suffix;\n }\n};\nvar convertColonSlotted = (cssText, slotScopeId) => {\n const slotClass = \".\" + slotScopeId + \" > \";\n const selectors = [];\n cssText = cssText.replace(_cssColonSlottedRe, (...m) => {\n if (m[2]) {\n const compound = m[2].trim();\n const suffix = m[3];\n const slottedSelector = slotClass + compound + suffix;\n let prefixSelector = \"\";\n for (let i = m[4] - 1; i >= 0; i--) {\n const char = m[5][i];\n if (char === \"}\" || char === \",\") {\n break;\n }\n prefixSelector = char + prefixSelector;\n }\n const orgSelector = (prefixSelector + slottedSelector).trim();\n const addedSelector = `${prefixSelector.trimEnd()}${slottedSelector.trim()}`.trim();\n if (orgSelector !== addedSelector) {\n const updatedSelector = `${addedSelector}, ${orgSelector}`;\n selectors.push({\n orgSelector,\n updatedSelector\n });\n }\n return slottedSelector;\n } else {\n return _polyfillHostNoCombinator + m[3];\n }\n });\n return {\n selectors,\n cssText\n };\n};\nvar convertColonHostContext = (cssText) => {\n return convertColonRule(cssText, _cssColonHostContextRe, colonHostContextPartReplacer);\n};\nvar convertShadowDOMSelectors = (cssText) => {\n return _shadowDOMSelectorsRe.reduce((result, pattern) => result.replace(pattern, \" \"), cssText);\n};\nvar makeScopeMatcher = (scopeSelector2) => {\n const lre = /\\[/g;\n const rre = /\\]/g;\n scopeSelector2 = scopeSelector2.replace(lre, \"\\\\[\").replace(rre, \"\\\\]\");\n return new RegExp(\"^(\" + scopeSelector2 + \")\" + _selectorReSuffix, \"m\");\n};\nvar selectorNeedsScoping = (selector, scopeSelector2) => {\n const re = makeScopeMatcher(scopeSelector2);\n return !re.test(selector);\n};\nvar injectScopingSelector = (selector, scopingSelector) => {\n return selector.replace(_selectorPartsRe, (_, before = \"\", _colonGroup, colon = \"\", after = \"\") => {\n return before + scopingSelector + colon + after;\n });\n};\nvar applySimpleSelectorScope = (selector, scopeSelector2, hostSelector) => {\n _polyfillHostRe.lastIndex = 0;\n if (_polyfillHostRe.test(selector)) {\n const replaceBy = `.${hostSelector}`;\n return selector.replace(_polyfillHostNoCombinatorRe, (_, selector2) => injectScopingSelector(selector2, replaceBy)).replace(_polyfillHostRe, replaceBy + \" \");\n }\n return scopeSelector2 + \" \" + selector;\n};\nvar applyStrictSelectorScope = (selector, scopeSelector2, hostSelector) => {\n const isRe = /\\[is=([^\\]]*)\\]/g;\n scopeSelector2 = scopeSelector2.replace(isRe, (_, ...parts) => parts[0]);\n const className = \".\" + scopeSelector2;\n const _scopeSelectorPart = (p) => {\n let scopedP = p.trim();\n if (!scopedP) {\n return \"\";\n }\n if (p.indexOf(_polyfillHostNoCombinator) > -1) {\n scopedP = applySimpleSelectorScope(p, scopeSelector2, hostSelector);\n } else {\n const t = p.replace(_polyfillHostRe, \"\");\n if (t.length > 0) {\n scopedP = injectScopingSelector(t, className);\n }\n }\n return scopedP;\n };\n const safeContent = safeSelector(selector);\n selector = safeContent.content;\n let scopedSelector = \"\";\n let startIndex = 0;\n let res;\n const sep = /( |>|\\+|~(?!=))\\s*/g;\n const hasHost = selector.indexOf(_polyfillHostNoCombinator) > -1;\n let shouldScope = !hasHost;\n while ((res = sep.exec(selector)) !== null) {\n const separator = res[1];\n const part2 = selector.slice(startIndex, res.index).trim();\n shouldScope = shouldScope || part2.indexOf(_polyfillHostNoCombinator) > -1;\n const scopedPart = shouldScope ? _scopeSelectorPart(part2) : part2;\n scopedSelector += `${scopedPart} ${separator} `;\n startIndex = sep.lastIndex;\n }\n const part = selector.substring(startIndex);\n shouldScope = shouldScope || part.indexOf(_polyfillHostNoCombinator) > -1;\n scopedSelector += shouldScope ? _scopeSelectorPart(part) : part;\n return restoreSafeSelector(safeContent.placeholders, scopedSelector);\n};\nvar scopeSelector = (selector, scopeSelectorText, hostSelector, slotSelector) => {\n return selector.split(\",\").map((shallowPart) => {\n if (slotSelector && shallowPart.indexOf(\".\" + slotSelector) > -1) {\n return shallowPart.trim();\n }\n if (selectorNeedsScoping(shallowPart, scopeSelectorText)) {\n return applyStrictSelectorScope(shallowPart, scopeSelectorText, hostSelector).trim();\n } else {\n return shallowPart.trim();\n }\n }).join(\", \");\n};\nvar scopeSelectors = (cssText, scopeSelectorText, hostSelector, slotSelector) => {\n return processRules(cssText, (rule) => {\n let selector = rule.selector;\n let content = rule.content;\n if (rule.selector[0] !== \"@\") {\n selector = scopeSelector(rule.selector, scopeSelectorText, hostSelector, slotSelector);\n } else if (rule.selector.startsWith(\"@media\") || rule.selector.startsWith(\"@supports\") || rule.selector.startsWith(\"@page\") || rule.selector.startsWith(\"@document\")) {\n content = scopeSelectors(rule.content, scopeSelectorText, hostSelector, slotSelector);\n }\n const cssRule = {\n selector: selector.replace(/\\s{2,}/g, \" \").trim(),\n content\n };\n return cssRule;\n });\n};\nvar scopeCssText = (cssText, scopeId, hostScopeId, slotScopeId) => {\n cssText = insertPolyfillHostInCssText(cssText);\n cssText = convertColonHost(cssText);\n cssText = convertColonHostContext(cssText);\n const slotted = convertColonSlotted(cssText, slotScopeId);\n cssText = slotted.cssText;\n cssText = convertShadowDOMSelectors(cssText);\n if (scopeId) {\n cssText = scopeSelectors(cssText, scopeId, hostScopeId, slotScopeId);\n }\n cssText = replaceShadowCssHost(cssText, hostScopeId);\n cssText = cssText.replace(/>\\s*\\*\\s+([^{, ]+)/gm, \" $1 \");\n return {\n cssText: cssText.trim(),\n // We need to replace the shadow CSS host string in each of these selectors since we created\n // them prior to the replacement happening in the components CSS text.\n slottedSelectors: slotted.selectors.map((ref) => ({\n orgSelector: replaceShadowCssHost(ref.orgSelector, hostScopeId),\n updatedSelector: replaceShadowCssHost(ref.updatedSelector, hostScopeId)\n }))\n };\n};\nvar replaceShadowCssHost = (cssText, hostScopeId) => {\n return cssText.replace(/-shadowcsshost-no-combinator/g, `.${hostScopeId}`);\n};\nvar scopeCss = (cssText, scopeId) => {\n const hostScopeId = scopeId + \"-h\";\n const slotScopeId = scopeId + \"-s\";\n const commentsWithHash = extractCommentsWithHash(cssText);\n cssText = stripComments(cssText);\n const scoped = scopeCssText(cssText, scopeId, hostScopeId, slotScopeId);\n cssText = [scoped.cssText, ...commentsWithHash].join(\"\\n\");\n scoped.slottedSelectors.forEach((slottedSelector) => {\n const regex = new RegExp(escapeRegExpSpecialCharacters(slottedSelector.orgSelector), \"g\");\n cssText = cssText.replace(regex, slottedSelector.updatedSelector);\n });\n return cssText;\n};\nexport {\n scopeCss\n};\n"],"version":3}
@@ -0,0 +1,7 @@
1
+ function format(first, middle, last) {
2
+ return (first || '') + (middle ? ` ${middle}` : '') + (last ? ` ${last}` : '');
3
+ }
4
+
5
+ export { format as f };
6
+
7
+ //# sourceMappingURL=utils-11fcde98.js.map
@@ -0,0 +1 @@
1
+ {"file":"utils-11fcde98.js","mappings":"SAAgB,MAAM,CAAC,KAAc,EAAE,MAAe,EAAE,IAAa;IACnE,OAAO,CAAC,KAAK,IAAI,EAAE,KAAK,MAAM,GAAG,IAAI,MAAM,EAAE,GAAG,EAAE,CAAC,IAAI,IAAI,GAAG,IAAI,IAAI,EAAE,GAAG,EAAE,CAAC,CAAC;AACjF;;;;","names":[],"sources":["src/utils/utils.ts"],"sourcesContent":["export function format(first?: string, middle?: string, last?: string): string {\n return (first || '') + (middle ? ` ${middle}` : '') + (last ? ` ${last}` : '');\n}\n"],"version":3}
@@ -0,0 +1,8 @@
1
+ import { EventEmitter } from "../../stencil-public-runtime";
2
+ export declare class AppModal {
3
+ isOpen: boolean;
4
+ modalTitle: string;
5
+ modalClosed: EventEmitter<void>;
6
+ private closeModal;
7
+ render(): any;
8
+ }
@@ -0,0 +1,4 @@
1
+ export declare class MyComponent {
2
+ showModal: boolean;
3
+ render(): any;
4
+ }
@@ -0,0 +1,70 @@
1
+ /* eslint-disable */
2
+ /* tslint:disable */
3
+ /**
4
+ * This is an autogenerated file created by the Stencil compiler.
5
+ * It contains typing information for all components that exist in this project.
6
+ */
7
+ import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
+ export namespace Components {
9
+ interface AppModal {
10
+ "isOpen": boolean;
11
+ "modalTitle": string;
12
+ }
13
+ interface MyComponent {
14
+ }
15
+ }
16
+ export interface AppModalCustomEvent<T> extends CustomEvent<T> {
17
+ detail: T;
18
+ target: HTMLAppModalElement;
19
+ }
20
+ declare global {
21
+ interface HTMLAppModalElementEventMap {
22
+ "modalClosed": void;
23
+ }
24
+ interface HTMLAppModalElement extends Components.AppModal, HTMLStencilElement {
25
+ addEventListener<K extends keyof HTMLAppModalElementEventMap>(type: K, listener: (this: HTMLAppModalElement, ev: AppModalCustomEvent<HTMLAppModalElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
26
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
27
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
28
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
29
+ removeEventListener<K extends keyof HTMLAppModalElementEventMap>(type: K, listener: (this: HTMLAppModalElement, ev: AppModalCustomEvent<HTMLAppModalElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
30
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
31
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
32
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
33
+ }
34
+ var HTMLAppModalElement: {
35
+ prototype: HTMLAppModalElement;
36
+ new (): HTMLAppModalElement;
37
+ };
38
+ interface HTMLMyComponentElement extends Components.MyComponent, HTMLStencilElement {
39
+ }
40
+ var HTMLMyComponentElement: {
41
+ prototype: HTMLMyComponentElement;
42
+ new (): HTMLMyComponentElement;
43
+ };
44
+ interface HTMLElementTagNameMap {
45
+ "app-modal": HTMLAppModalElement;
46
+ "my-component": HTMLMyComponentElement;
47
+ }
48
+ }
49
+ declare namespace LocalJSX {
50
+ interface AppModal {
51
+ "isOpen"?: boolean;
52
+ "modalTitle"?: string;
53
+ "onModalClosed"?: (event: AppModalCustomEvent<void>) => void;
54
+ }
55
+ interface MyComponent {
56
+ }
57
+ interface IntrinsicElements {
58
+ "app-modal": AppModal;
59
+ "my-component": MyComponent;
60
+ }
61
+ }
62
+ export { LocalJSX as JSX };
63
+ declare module "@stencil/core" {
64
+ export namespace JSX {
65
+ interface IntrinsicElements {
66
+ "app-modal": LocalJSX.AppModal & JSXBase.HTMLAttributes<HTMLAppModalElement>;
67
+ "my-component": LocalJSX.MyComponent & JSXBase.HTMLAttributes<HTMLMyComponentElement>;
68
+ }
69
+ }
70
+ }
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @fileoverview entry point for your component library
3
+ *
4
+ * This is the entry point for your component library. Use this file to export utilities,
5
+ * constants or data structure that accompany your components.
6
+ *
7
+ * DO NOT use this file to export your components. Instead, use the recommended approaches
8
+ * to consume components of this package as outlined in the `README.md`.
9
+ */
10
+ export { format } from './utils/utils';
11
+ export type * from './components.d.ts';