@alegendstale/holly-components 4.0.6 → 4.0.7
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/custom-elements.json +1028 -1028
- package/package.json +3 -2
package/custom-elements.json
CHANGED
|
@@ -23,56 +23,6 @@
|
|
|
23
23
|
}
|
|
24
24
|
]
|
|
25
25
|
},
|
|
26
|
-
{
|
|
27
|
-
"kind": "javascript-module",
|
|
28
|
-
"path": "dist/decorators/condCustomElement.js",
|
|
29
|
-
"declarations": [
|
|
30
|
-
{
|
|
31
|
-
"kind": "function",
|
|
32
|
-
"name": "o",
|
|
33
|
-
"parameters": [
|
|
34
|
-
{
|
|
35
|
-
"name": "t"
|
|
36
|
-
}
|
|
37
|
-
]
|
|
38
|
-
}
|
|
39
|
-
],
|
|
40
|
-
"exports": [
|
|
41
|
-
{
|
|
42
|
-
"kind": "js",
|
|
43
|
-
"name": "condCustomElement",
|
|
44
|
-
"declaration": {
|
|
45
|
-
"name": "o",
|
|
46
|
-
"module": "dist/decorators/condCustomElement.js"
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
]
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
"kind": "javascript-module",
|
|
53
|
-
"path": "dist/decorators/ExposeParts.js",
|
|
54
|
-
"declarations": [
|
|
55
|
-
{
|
|
56
|
-
"kind": "function",
|
|
57
|
-
"name": "l",
|
|
58
|
-
"parameters": [
|
|
59
|
-
{
|
|
60
|
-
"name": "o"
|
|
61
|
-
}
|
|
62
|
-
]
|
|
63
|
-
}
|
|
64
|
-
],
|
|
65
|
-
"exports": [
|
|
66
|
-
{
|
|
67
|
-
"kind": "js",
|
|
68
|
-
"name": "exposeParts",
|
|
69
|
-
"declaration": {
|
|
70
|
-
"name": "l",
|
|
71
|
-
"module": "dist/decorators/ExposeParts.js"
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
]
|
|
75
|
-
},
|
|
76
26
|
{
|
|
77
27
|
"kind": "javascript-module",
|
|
78
28
|
"path": "dist/controllers/ResponsiveController.js",
|
|
@@ -174,6 +124,56 @@
|
|
|
174
124
|
}
|
|
175
125
|
]
|
|
176
126
|
},
|
|
127
|
+
{
|
|
128
|
+
"kind": "javascript-module",
|
|
129
|
+
"path": "dist/decorators/condCustomElement.js",
|
|
130
|
+
"declarations": [
|
|
131
|
+
{
|
|
132
|
+
"kind": "function",
|
|
133
|
+
"name": "o",
|
|
134
|
+
"parameters": [
|
|
135
|
+
{
|
|
136
|
+
"name": "t"
|
|
137
|
+
}
|
|
138
|
+
]
|
|
139
|
+
}
|
|
140
|
+
],
|
|
141
|
+
"exports": [
|
|
142
|
+
{
|
|
143
|
+
"kind": "js",
|
|
144
|
+
"name": "condCustomElement",
|
|
145
|
+
"declaration": {
|
|
146
|
+
"name": "o",
|
|
147
|
+
"module": "dist/decorators/condCustomElement.js"
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
]
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"kind": "javascript-module",
|
|
154
|
+
"path": "dist/decorators/ExposeParts.js",
|
|
155
|
+
"declarations": [
|
|
156
|
+
{
|
|
157
|
+
"kind": "function",
|
|
158
|
+
"name": "l",
|
|
159
|
+
"parameters": [
|
|
160
|
+
{
|
|
161
|
+
"name": "o"
|
|
162
|
+
}
|
|
163
|
+
]
|
|
164
|
+
}
|
|
165
|
+
],
|
|
166
|
+
"exports": [
|
|
167
|
+
{
|
|
168
|
+
"kind": "js",
|
|
169
|
+
"name": "exposeParts",
|
|
170
|
+
"declaration": {
|
|
171
|
+
"name": "l",
|
|
172
|
+
"module": "dist/decorators/ExposeParts.js"
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
]
|
|
176
|
+
},
|
|
177
177
|
{
|
|
178
178
|
"kind": "javascript-module",
|
|
179
179
|
"path": "dist/events/events.js",
|
|
@@ -1715,6 +1715,132 @@
|
|
|
1715
1715
|
}
|
|
1716
1716
|
]
|
|
1717
1717
|
},
|
|
1718
|
+
{
|
|
1719
|
+
"kind": "javascript-module",
|
|
1720
|
+
"path": "dist/components/canvas/canvas-base.js",
|
|
1721
|
+
"declarations": [
|
|
1722
|
+
{
|
|
1723
|
+
"kind": "variable",
|
|
1724
|
+
"name": "o",
|
|
1725
|
+
"default": "class extends u { render() { return x` <canvas @click=${(e) => this.dispatchEvent(new CustomEvent(\"select\", { detail: this.getCanvasHex(e.clientX, e.clientY) }))} @pointermove=${(e) => { e.isPrimary && this.dispatchEvent(new CustomEvent(\"move\", { detail: { x: e.clientX, y: e.clientY } })); }} ${h((e) => { e instanceof HTMLCanvasElement && (this.context = e.getContext(\"2d\", { willReadFrequently: !0, alpha: !0 })); })} > </canvas> `; } /** Retrieves the hex from the mouse position. */ getCanvasHex(l, e) { const a = this.canvas.getBoundingClientRect(); let n = l - a.left, t = e - a.top, [s, r, c, p] = this.context.getImageData(n, t, 1, 1).data; const i = Math.round(p / 255 * 100); return i !== 255 ? v([s, r, c, i]).hex() : v([s, r, c]).hex(); } }"
|
|
1726
|
+
}
|
|
1727
|
+
],
|
|
1728
|
+
"exports": [
|
|
1729
|
+
{
|
|
1730
|
+
"kind": "js",
|
|
1731
|
+
"name": "CanvasBase",
|
|
1732
|
+
"declaration": {
|
|
1733
|
+
"name": "o",
|
|
1734
|
+
"module": "dist/components/canvas/canvas-base.js"
|
|
1735
|
+
}
|
|
1736
|
+
}
|
|
1737
|
+
]
|
|
1738
|
+
},
|
|
1739
|
+
{
|
|
1740
|
+
"kind": "javascript-module",
|
|
1741
|
+
"path": "dist/components/canvas/canvas-gradient.js",
|
|
1742
|
+
"declarations": [
|
|
1743
|
+
{
|
|
1744
|
+
"kind": "variable",
|
|
1745
|
+
"name": "i",
|
|
1746
|
+
"default": "class extends d { constructor() { super(...arguments), this.colors = [], this.height = 0, this.width = 0, this.direction = h.Column; } updated(r) { super.updated(r), this.createGradient(this.colors, this.height, this.width, this.direction); } /** Creates a new gradient canvas */ createGradient(r, e, o, s) { if (!this.context) return; this.canvas.height = e, this.canvas.width = o; let t = s === h.Column ? this.context.createLinearGradient(0, 0, o, 0) : this.context.createLinearGradient(0, 0, 0, e), n = []; for (const [a, l] of r.entries()) u(l) && (t.addColorStop(a / (r.length - 1), l), n.push(l)); if (n.length <= 1) throw new Error(\"There are not enough valid color stops to create the gradient.\"); this.context.fillStyle = t || \"#000\", this.context.fillRect(0, 0, o, e), this.canvas.classList.add(\"gradient\"), this.canvas.style.setProperty(\"--palette-column-flex-basis\", (e / r.length / 2).toString() + \"px\"); } }"
|
|
1747
|
+
}
|
|
1748
|
+
],
|
|
1749
|
+
"exports": [
|
|
1750
|
+
{
|
|
1751
|
+
"kind": "js",
|
|
1752
|
+
"name": "CanvasGradient",
|
|
1753
|
+
"declaration": {
|
|
1754
|
+
"name": "i",
|
|
1755
|
+
"module": "dist/components/canvas/canvas-gradient.js"
|
|
1756
|
+
}
|
|
1757
|
+
}
|
|
1758
|
+
]
|
|
1759
|
+
},
|
|
1760
|
+
{
|
|
1761
|
+
"kind": "javascript-module",
|
|
1762
|
+
"path": "dist/components/canvas/canvas-image.js",
|
|
1763
|
+
"declarations": [
|
|
1764
|
+
{
|
|
1765
|
+
"kind": "variable",
|
|
1766
|
+
"name": "r",
|
|
1767
|
+
"default": "class extends c { constructor() { super(...arguments), this.imageURL = \"\", this.smoothing = !1, this.width = 0, this.height = 0, this.status = \"idle\"; } updated(t) { super.updated(t), t.has(\"imageURL\") ? this.status = this.imageURL ? \"loading\" : \"idle\" : (t.has(\"width\") || t.has(\"height\")) && this.status === \"success\" && this._performDraw(); } get updateComplete() { return (async () => { if (await super.updateComplete, this.status === \"loading\" && await new Promise((a) => { this.addEventListener(\"canvas-ready\", a, { once: !0 }); }), this.status === \"error\") throw new Error(`canvas-image failed to load ${this.imageURL}`); return !0; })(); } render() { return l` ${super.render()} <img src=${this.imageURL} crossorigin='anonymous' @load=${() => this._performDraw()} @error=${() => this._handleLoadError()} > `; } /** * Updates & loads the canvas image. * Attempts to preserve aspect ratio based on width. */ _performDraw() { const t = this.image; if (!t || !this.context) return; const a = t.naturalHeight / t.naturalWidth; let e = this.width, s = e * a; s > this.height && (e = this.height / a, s = this.height), this.canvas.width = e, this.canvas.height = s, this.context.imageSmoothingEnabled = this.smoothing, this.context.drawImage(t, 0, 0, e, s), this.status = \"success\", this.dispatchEvent(new CustomEvent(\"canvas-ready\")); } /** @internal Handle errors when the image fails to load. */ _handleLoadError() { this.status = this.imageURL === \"\" ? \"idle\" : \"error\", this.dispatchEvent(new CustomEvent(\"canvas-ready\")); } /** * Gets the most frequent colors in an image. * @param numColors Number of colors to return * @param quality Artificially reduce number of pixels (higher = less accurate but faster) * @returns Most frequent colors */ async getPalette(t = 7, a = 10) { const e = t <= 7 ? t : t + 1; await this.updateComplete; const s = await this.createPixelArray(a); if (!s) return null; const i = w(s, e); return i ? i.palette() : []; } /** * Creates an array of pixels from the image. * Inspired by colorthief * @param quality Artificially reduce number of pixels (higher = less accurate but faster) * @returns Array of pixels */ async createPixelArray(t) { await this.updateComplete; const a = [], e = (await this.getImageData())?.data; if (!e) return null; const s = this.height * this.width; for (let i = 0; i < s; i += t) { const o = i * 4, [n, m, u, g] = [e[o + 0], e[o + 1], e[o + 2], e[o + 3]]; (typeof g > \"u\" || g >= 125) && (n > 250 && m > 250 && u > 250 || a.push([n, m, u])); } return a; } /** Gets the image data from the canvas. */ async getImageData(t = 0, a = 0) { try { return await this.updateComplete, this.context.getImageData(t, a, this.canvas.width, this.canvas.height); } catch { throw new Error(\"Failed to get image data.\"); } } }"
|
|
1768
|
+
}
|
|
1769
|
+
],
|
|
1770
|
+
"exports": [
|
|
1771
|
+
{
|
|
1772
|
+
"kind": "js",
|
|
1773
|
+
"name": "CanvasImage",
|
|
1774
|
+
"declaration": {
|
|
1775
|
+
"name": "r",
|
|
1776
|
+
"module": "dist/components/canvas/canvas-image.js"
|
|
1777
|
+
}
|
|
1778
|
+
}
|
|
1779
|
+
]
|
|
1780
|
+
},
|
|
1781
|
+
{
|
|
1782
|
+
"kind": "javascript-module",
|
|
1783
|
+
"path": "dist/components/canvas/canvas-image.styles.js",
|
|
1784
|
+
"declarations": [
|
|
1785
|
+
{
|
|
1786
|
+
"kind": "variable",
|
|
1787
|
+
"name": "e",
|
|
1788
|
+
"default": "s` :host { display: block; } :host([data-status='error']) { width: 100px; height: 100px; border: 2px solid red; } /* Hide when width hasn't been set */ canvas:not([width]) { display: none; } img { display: none; } `"
|
|
1789
|
+
}
|
|
1790
|
+
],
|
|
1791
|
+
"exports": [
|
|
1792
|
+
{
|
|
1793
|
+
"kind": "js",
|
|
1794
|
+
"name": "default",
|
|
1795
|
+
"declaration": {
|
|
1796
|
+
"name": "e",
|
|
1797
|
+
"module": "dist/components/canvas/canvas-image.styles.js"
|
|
1798
|
+
}
|
|
1799
|
+
}
|
|
1800
|
+
]
|
|
1801
|
+
},
|
|
1802
|
+
{
|
|
1803
|
+
"kind": "javascript-module",
|
|
1804
|
+
"path": "dist/components/carousel-scroller/carousel-scroller.js",
|
|
1805
|
+
"declarations": [
|
|
1806
|
+
{
|
|
1807
|
+
"kind": "variable",
|
|
1808
|
+
"name": "o",
|
|
1809
|
+
"default": "class extends c { constructor() { super(...arguments), this.slotChildren = [], this._currentSlide = 0, this.debouncers = /* @__PURE__ */ new WeakMap(); } render() { return d` <div class=\"container\"> <button @click=${this.scrollToPrevSlide}><</button> <button @click=${this.scrollToNextSlide}>></button> <div> <slot @slotchange=${this.slotChange} @slots-loaded=${(e) => this.slotChildren = e.detail} > </slot> </div> </div> `; } /** Gets the current slide. * @returns HTMLElement */ getCurrentSlide() { return this.slotChildren[this._currentSlide - 1]; } /** Scrolls to the slide before the current slide. */ scrollToPrevSlide() { this._currentSlide = this._currentSlide === 0 ? this._currentSlide = this.slotChildren.length - 1 : this._currentSlide - 1, this.slotChildren.at(this._currentSlide)?.scrollIntoView({ behavior: \"smooth\", block: \"nearest\" }); } /** Scrolls to the slide after the current slide. */ scrollToNextSlide() { this._currentSlide = this._currentSlide === this.slotChildren.length - 1 ? 0 : this._currentSlide + 1, this.slotChildren.at(this._currentSlide)?.scrollIntoView({ behavior: \"smooth\", block: \"nearest\" }); } /** @internal */ slotChange() { const e = Array.from( this.slotEl.assignedElements().map((l) => l) ); clearTimeout(this.debouncers.get(this.slotEl)); const s = setTimeout( () => this.dispatchEvent(new CustomEvent(\"slots-loaded\", { detail: e })), 100 ); this.debouncers.set(this.slotEl, s); } }"
|
|
1810
|
+
}
|
|
1811
|
+
],
|
|
1812
|
+
"exports": [
|
|
1813
|
+
{
|
|
1814
|
+
"kind": "js",
|
|
1815
|
+
"name": "CarouselScroller",
|
|
1816
|
+
"declaration": {
|
|
1817
|
+
"name": "o",
|
|
1818
|
+
"module": "dist/components/carousel-scroller/carousel-scroller.js"
|
|
1819
|
+
}
|
|
1820
|
+
}
|
|
1821
|
+
]
|
|
1822
|
+
},
|
|
1823
|
+
{
|
|
1824
|
+
"kind": "javascript-module",
|
|
1825
|
+
"path": "dist/components/carousel-scroller/carousel-scroller.styles.js",
|
|
1826
|
+
"declarations": [
|
|
1827
|
+
{
|
|
1828
|
+
"kind": "variable",
|
|
1829
|
+
"name": "o",
|
|
1830
|
+
"default": "r` :host { --padding: 40px; --margin: 80px; } .container { width: 600px; height: 400px; margin: 20px; border-radius: 20px; overflow: hidden; position: relative; & > button { position: absolute; width: var(--padding); height: calc(var(--padding) * 2); z-index: 1; background-color: #00000080; border: none; bottom: calc(50% - var(--padding)); font-size: 32px; &:hover { background-color: #6352b880; } &:nth-child(1) { left: 0; border-top-right-radius: 314px; border-bottom-right-radius: 314px; } &:nth-child(2) { right: 0; border-top-left-radius: 314px; border-bottom-left-radius: 314px; } } & > div { display: flex; overflow-x: scroll; position: relative; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 var(--padding); } ::slotted(*) { display: flex; flex-direction: column; justify-content: center; min-height: calc(400px - var(--margin)); min-width: calc(600px - var(--margin)); max-height: calc(400px - var(--margin)); max-width: calc(600px - var(--margin)); background: white; scroll-snap-align: center; padding: calc(var(--margin) / 2); } } `"
|
|
1831
|
+
}
|
|
1832
|
+
],
|
|
1833
|
+
"exports": [
|
|
1834
|
+
{
|
|
1835
|
+
"kind": "js",
|
|
1836
|
+
"name": "default",
|
|
1837
|
+
"declaration": {
|
|
1838
|
+
"name": "o",
|
|
1839
|
+
"module": "dist/components/carousel-scroller/carousel-scroller.styles.js"
|
|
1840
|
+
}
|
|
1841
|
+
}
|
|
1842
|
+
]
|
|
1843
|
+
},
|
|
1718
1844
|
{
|
|
1719
1845
|
"kind": "javascript-module",
|
|
1720
1846
|
"path": "dist/components/color-palette/color-palette-utils.js",
|
|
@@ -1925,133 +2051,49 @@
|
|
|
1925
2051
|
},
|
|
1926
2052
|
{
|
|
1927
2053
|
"kind": "javascript-module",
|
|
1928
|
-
"path": "dist/components/
|
|
2054
|
+
"path": "dist/components/draw-svg/draw-svg.js",
|
|
1929
2055
|
"declarations": [
|
|
1930
2056
|
{
|
|
1931
2057
|
"kind": "variable",
|
|
1932
|
-
"name": "
|
|
1933
|
-
"default": "class extends
|
|
2058
|
+
"name": "n",
|
|
2059
|
+
"default": "class extends a { constructor() { super(...arguments), this.isIntersecting = !1, this.intersectionObserver = new IntersectionObserver(([s]) => { this.isIntersecting = s.isIntersecting, this.dispatchEvent(new CustomEvent(\"intersection\", { detail: s.isIntersecting })); }); } svgClasses() { return super.svgClasses(), { animation: this.isIntersecting }; } connectedCallback() { super.connectedCallback(), this.intersectionObserver.observe(this); } disconnectedCallback() { super.disconnectedCallback(), this.intersectionObserver.disconnect(); } }"
|
|
1934
2060
|
}
|
|
1935
2061
|
],
|
|
1936
2062
|
"exports": [
|
|
1937
2063
|
{
|
|
1938
2064
|
"kind": "js",
|
|
1939
|
-
"name": "
|
|
2065
|
+
"name": "DrawSvg",
|
|
1940
2066
|
"declaration": {
|
|
1941
|
-
"name": "
|
|
1942
|
-
"module": "dist/components/
|
|
2067
|
+
"name": "n",
|
|
2068
|
+
"module": "dist/components/draw-svg/draw-svg.js"
|
|
1943
2069
|
}
|
|
1944
2070
|
}
|
|
1945
2071
|
]
|
|
1946
2072
|
},
|
|
1947
2073
|
{
|
|
1948
2074
|
"kind": "javascript-module",
|
|
1949
|
-
"path": "dist/components/
|
|
2075
|
+
"path": "dist/components/draw-svg/draw-svg.styles.js",
|
|
1950
2076
|
"declarations": [
|
|
1951
2077
|
{
|
|
1952
2078
|
"kind": "variable",
|
|
1953
|
-
"name": "
|
|
1954
|
-
"default": "
|
|
2079
|
+
"name": "e",
|
|
2080
|
+
"default": "t` :host { stroke: white; fill: white; } /* Override responsive-svg path fill */ :host(:not([svgColors])) path { fill: transparent; } path { stroke-width: 2; stroke-dasharray: 1000; stroke-dashoffset: 1000; } .animation { path { animation: textAnimation 2s ease-in-out 1 forwards; will-change: fill, stroke-width, stroke-dashoffset; } } @keyframes textAnimation { 0% { stroke-dashoffset: 1000; } 60% { fill: transparent; } 100% { fill: inherit; stroke-dashoffset: 0; stroke-width: 1; } } `"
|
|
1955
2081
|
}
|
|
1956
2082
|
],
|
|
1957
2083
|
"exports": [
|
|
1958
2084
|
{
|
|
1959
2085
|
"kind": "js",
|
|
1960
|
-
"name": "
|
|
2086
|
+
"name": "default",
|
|
1961
2087
|
"declaration": {
|
|
1962
|
-
"name": "
|
|
1963
|
-
"module": "dist/components/
|
|
2088
|
+
"name": "e",
|
|
2089
|
+
"module": "dist/components/draw-svg/draw-svg.styles.js"
|
|
1964
2090
|
}
|
|
1965
2091
|
}
|
|
1966
2092
|
]
|
|
1967
2093
|
},
|
|
1968
2094
|
{
|
|
1969
2095
|
"kind": "javascript-module",
|
|
1970
|
-
"path": "dist/components/
|
|
1971
|
-
"declarations": [
|
|
1972
|
-
{
|
|
1973
|
-
"kind": "variable",
|
|
1974
|
-
"name": "r",
|
|
1975
|
-
"default": "class extends c { constructor() { super(...arguments), this.imageURL = \"\", this.smoothing = !1, this.width = 0, this.height = 0, this.status = \"idle\"; } updated(t) { super.updated(t), t.has(\"imageURL\") ? this.status = this.imageURL ? \"loading\" : \"idle\" : (t.has(\"width\") || t.has(\"height\")) && this.status === \"success\" && this._performDraw(); } get updateComplete() { return (async () => { if (await super.updateComplete, this.status === \"loading\" && await new Promise((a) => { this.addEventListener(\"canvas-ready\", a, { once: !0 }); }), this.status === \"error\") throw new Error(`canvas-image failed to load ${this.imageURL}`); return !0; })(); } render() { return l` ${super.render()} <img src=${this.imageURL} crossorigin='anonymous' @load=${() => this._performDraw()} @error=${() => this._handleLoadError()} > `; } /** * Updates & loads the canvas image. * Attempts to preserve aspect ratio based on width. */ _performDraw() { const t = this.image; if (!t || !this.context) return; const a = t.naturalHeight / t.naturalWidth; let e = this.width, s = e * a; s > this.height && (e = this.height / a, s = this.height), this.canvas.width = e, this.canvas.height = s, this.context.imageSmoothingEnabled = this.smoothing, this.context.drawImage(t, 0, 0, e, s), this.status = \"success\", this.dispatchEvent(new CustomEvent(\"canvas-ready\")); } /** @internal Handle errors when the image fails to load. */ _handleLoadError() { this.status = this.imageURL === \"\" ? \"idle\" : \"error\", this.dispatchEvent(new CustomEvent(\"canvas-ready\")); } /** * Gets the most frequent colors in an image. * @param numColors Number of colors to return * @param quality Artificially reduce number of pixels (higher = less accurate but faster) * @returns Most frequent colors */ async getPalette(t = 7, a = 10) { const e = t <= 7 ? t : t + 1; await this.updateComplete; const s = await this.createPixelArray(a); if (!s) return null; const i = w(s, e); return i ? i.palette() : []; } /** * Creates an array of pixels from the image. * Inspired by colorthief * @param quality Artificially reduce number of pixels (higher = less accurate but faster) * @returns Array of pixels */ async createPixelArray(t) { await this.updateComplete; const a = [], e = (await this.getImageData())?.data; if (!e) return null; const s = this.height * this.width; for (let i = 0; i < s; i += t) { const o = i * 4, [n, m, u, g] = [e[o + 0], e[o + 1], e[o + 2], e[o + 3]]; (typeof g > \"u\" || g >= 125) && (n > 250 && m > 250 && u > 250 || a.push([n, m, u])); } return a; } /** Gets the image data from the canvas. */ async getImageData(t = 0, a = 0) { try { return await this.updateComplete, this.context.getImageData(t, a, this.canvas.width, this.canvas.height); } catch { throw new Error(\"Failed to get image data.\"); } } }"
|
|
1976
|
-
}
|
|
1977
|
-
],
|
|
1978
|
-
"exports": [
|
|
1979
|
-
{
|
|
1980
|
-
"kind": "js",
|
|
1981
|
-
"name": "CanvasImage",
|
|
1982
|
-
"declaration": {
|
|
1983
|
-
"name": "r",
|
|
1984
|
-
"module": "dist/components/canvas/canvas-image.js"
|
|
1985
|
-
}
|
|
1986
|
-
}
|
|
1987
|
-
]
|
|
1988
|
-
},
|
|
1989
|
-
{
|
|
1990
|
-
"kind": "javascript-module",
|
|
1991
|
-
"path": "dist/components/canvas/canvas-image.styles.js",
|
|
1992
|
-
"declarations": [
|
|
1993
|
-
{
|
|
1994
|
-
"kind": "variable",
|
|
1995
|
-
"name": "e",
|
|
1996
|
-
"default": "s` :host { display: block; } :host([data-status='error']) { width: 100px; height: 100px; border: 2px solid red; } /* Hide when width hasn't been set */ canvas:not([width]) { display: none; } img { display: none; } `"
|
|
1997
|
-
}
|
|
1998
|
-
],
|
|
1999
|
-
"exports": [
|
|
2000
|
-
{
|
|
2001
|
-
"kind": "js",
|
|
2002
|
-
"name": "default",
|
|
2003
|
-
"declaration": {
|
|
2004
|
-
"name": "e",
|
|
2005
|
-
"module": "dist/components/canvas/canvas-image.styles.js"
|
|
2006
|
-
}
|
|
2007
|
-
}
|
|
2008
|
-
]
|
|
2009
|
-
},
|
|
2010
|
-
{
|
|
2011
|
-
"kind": "javascript-module",
|
|
2012
|
-
"path": "dist/components/carousel-scroller/carousel-scroller.js",
|
|
2013
|
-
"declarations": [
|
|
2014
|
-
{
|
|
2015
|
-
"kind": "variable",
|
|
2016
|
-
"name": "o",
|
|
2017
|
-
"default": "class extends c { constructor() { super(...arguments), this.slotChildren = [], this._currentSlide = 0, this.debouncers = /* @__PURE__ */ new WeakMap(); } render() { return d` <div class=\"container\"> <button @click=${this.scrollToPrevSlide}><</button> <button @click=${this.scrollToNextSlide}>></button> <div> <slot @slotchange=${this.slotChange} @slots-loaded=${(e) => this.slotChildren = e.detail} > </slot> </div> </div> `; } /** Gets the current slide. * @returns HTMLElement */ getCurrentSlide() { return this.slotChildren[this._currentSlide - 1]; } /** Scrolls to the slide before the current slide. */ scrollToPrevSlide() { this._currentSlide = this._currentSlide === 0 ? this._currentSlide = this.slotChildren.length - 1 : this._currentSlide - 1, this.slotChildren.at(this._currentSlide)?.scrollIntoView({ behavior: \"smooth\", block: \"nearest\" }); } /** Scrolls to the slide after the current slide. */ scrollToNextSlide() { this._currentSlide = this._currentSlide === this.slotChildren.length - 1 ? 0 : this._currentSlide + 1, this.slotChildren.at(this._currentSlide)?.scrollIntoView({ behavior: \"smooth\", block: \"nearest\" }); } /** @internal */ slotChange() { const e = Array.from( this.slotEl.assignedElements().map((l) => l) ); clearTimeout(this.debouncers.get(this.slotEl)); const s = setTimeout( () => this.dispatchEvent(new CustomEvent(\"slots-loaded\", { detail: e })), 100 ); this.debouncers.set(this.slotEl, s); } }"
|
|
2018
|
-
}
|
|
2019
|
-
],
|
|
2020
|
-
"exports": [
|
|
2021
|
-
{
|
|
2022
|
-
"kind": "js",
|
|
2023
|
-
"name": "CarouselScroller",
|
|
2024
|
-
"declaration": {
|
|
2025
|
-
"name": "o",
|
|
2026
|
-
"module": "dist/components/carousel-scroller/carousel-scroller.js"
|
|
2027
|
-
}
|
|
2028
|
-
}
|
|
2029
|
-
]
|
|
2030
|
-
},
|
|
2031
|
-
{
|
|
2032
|
-
"kind": "javascript-module",
|
|
2033
|
-
"path": "dist/components/carousel-scroller/carousel-scroller.styles.js",
|
|
2034
|
-
"declarations": [
|
|
2035
|
-
{
|
|
2036
|
-
"kind": "variable",
|
|
2037
|
-
"name": "o",
|
|
2038
|
-
"default": "r` :host { --padding: 40px; --margin: 80px; } .container { width: 600px; height: 400px; margin: 20px; border-radius: 20px; overflow: hidden; position: relative; & > button { position: absolute; width: var(--padding); height: calc(var(--padding) * 2); z-index: 1; background-color: #00000080; border: none; bottom: calc(50% - var(--padding)); font-size: 32px; &:hover { background-color: #6352b880; } &:nth-child(1) { left: 0; border-top-right-radius: 314px; border-bottom-right-radius: 314px; } &:nth-child(2) { right: 0; border-top-left-radius: 314px; border-bottom-left-radius: 314px; } } & > div { display: flex; overflow-x: scroll; position: relative; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 var(--padding); } ::slotted(*) { display: flex; flex-direction: column; justify-content: center; min-height: calc(400px - var(--margin)); min-width: calc(600px - var(--margin)); max-height: calc(400px - var(--margin)); max-width: calc(600px - var(--margin)); background: white; scroll-snap-align: center; padding: calc(var(--margin) / 2); } } `"
|
|
2039
|
-
}
|
|
2040
|
-
],
|
|
2041
|
-
"exports": [
|
|
2042
|
-
{
|
|
2043
|
-
"kind": "js",
|
|
2044
|
-
"name": "default",
|
|
2045
|
-
"declaration": {
|
|
2046
|
-
"name": "o",
|
|
2047
|
-
"module": "dist/components/carousel-scroller/carousel-scroller.styles.js"
|
|
2048
|
-
}
|
|
2049
|
-
}
|
|
2050
|
-
]
|
|
2051
|
-
},
|
|
2052
|
-
{
|
|
2053
|
-
"kind": "javascript-module",
|
|
2054
|
-
"path": "dist/components/responsive-svg/responsive-svg.js",
|
|
2096
|
+
"path": "dist/components/responsive-svg/responsive-svg.js",
|
|
2055
2097
|
"declarations": [
|
|
2056
2098
|
{
|
|
2057
2099
|
"kind": "variable",
|
|
@@ -2197,48 +2239,6 @@
|
|
|
2197
2239
|
}
|
|
2198
2240
|
]
|
|
2199
2241
|
},
|
|
2200
|
-
{
|
|
2201
|
-
"kind": "javascript-module",
|
|
2202
|
-
"path": "dist/components/draw-svg/draw-svg.js",
|
|
2203
|
-
"declarations": [
|
|
2204
|
-
{
|
|
2205
|
-
"kind": "variable",
|
|
2206
|
-
"name": "n",
|
|
2207
|
-
"default": "class extends a { constructor() { super(...arguments), this.isIntersecting = !1, this.intersectionObserver = new IntersectionObserver(([s]) => { this.isIntersecting = s.isIntersecting, this.dispatchEvent(new CustomEvent(\"intersection\", { detail: s.isIntersecting })); }); } svgClasses() { return super.svgClasses(), { animation: this.isIntersecting }; } connectedCallback() { super.connectedCallback(), this.intersectionObserver.observe(this); } disconnectedCallback() { super.disconnectedCallback(), this.intersectionObserver.disconnect(); } }"
|
|
2208
|
-
}
|
|
2209
|
-
],
|
|
2210
|
-
"exports": [
|
|
2211
|
-
{
|
|
2212
|
-
"kind": "js",
|
|
2213
|
-
"name": "DrawSvg",
|
|
2214
|
-
"declaration": {
|
|
2215
|
-
"name": "n",
|
|
2216
|
-
"module": "dist/components/draw-svg/draw-svg.js"
|
|
2217
|
-
}
|
|
2218
|
-
}
|
|
2219
|
-
]
|
|
2220
|
-
},
|
|
2221
|
-
{
|
|
2222
|
-
"kind": "javascript-module",
|
|
2223
|
-
"path": "dist/components/draw-svg/draw-svg.styles.js",
|
|
2224
|
-
"declarations": [
|
|
2225
|
-
{
|
|
2226
|
-
"kind": "variable",
|
|
2227
|
-
"name": "e",
|
|
2228
|
-
"default": "t` :host { stroke: white; fill: white; } /* Override responsive-svg path fill */ :host(:not([svgColors])) path { fill: transparent; } path { stroke-width: 2; stroke-dasharray: 1000; stroke-dashoffset: 1000; } .animation { path { animation: textAnimation 2s ease-in-out 1 forwards; will-change: fill, stroke-width, stroke-dashoffset; } } @keyframes textAnimation { 0% { stroke-dashoffset: 1000; } 60% { fill: transparent; } 100% { fill: inherit; stroke-dashoffset: 0; stroke-width: 1; } } `"
|
|
2229
|
-
}
|
|
2230
|
-
],
|
|
2231
|
-
"exports": [
|
|
2232
|
-
{
|
|
2233
|
-
"kind": "js",
|
|
2234
|
-
"name": "default",
|
|
2235
|
-
"declaration": {
|
|
2236
|
-
"name": "e",
|
|
2237
|
-
"module": "dist/components/draw-svg/draw-svg.styles.js"
|
|
2238
|
-
}
|
|
2239
|
-
}
|
|
2240
|
-
]
|
|
2241
|
-
},
|
|
2242
2242
|
{
|
|
2243
2243
|
"kind": "javascript-module",
|
|
2244
2244
|
"path": "src/components/absolute-container/absolute-container.styles.ts",
|
|
@@ -3448,6 +3448,124 @@
|
|
|
3448
3448
|
}
|
|
3449
3449
|
]
|
|
3450
3450
|
},
|
|
3451
|
+
{
|
|
3452
|
+
"kind": "javascript-module",
|
|
3453
|
+
"path": "src/components/carousel-scroller/carousel-scroller.styles.ts",
|
|
3454
|
+
"declarations": [],
|
|
3455
|
+
"exports": [
|
|
3456
|
+
{
|
|
3457
|
+
"kind": "js",
|
|
3458
|
+
"name": "default",
|
|
3459
|
+
"declaration": {
|
|
3460
|
+
"module": "src/components/carousel-scroller/carousel-scroller.styles.ts"
|
|
3461
|
+
}
|
|
3462
|
+
}
|
|
3463
|
+
]
|
|
3464
|
+
},
|
|
3465
|
+
{
|
|
3466
|
+
"kind": "javascript-module",
|
|
3467
|
+
"path": "src/components/carousel-scroller/carousel-scroller.ts",
|
|
3468
|
+
"declarations": [
|
|
3469
|
+
{
|
|
3470
|
+
"kind": "class",
|
|
3471
|
+
"description": "A carousel which can have any number of slides, and rotates circularly.",
|
|
3472
|
+
"name": "CarouselScroller",
|
|
3473
|
+
"cssProperties": [
|
|
3474
|
+
{
|
|
3475
|
+
"type": {
|
|
3476
|
+
"text": "<length>"
|
|
3477
|
+
},
|
|
3478
|
+
"description": "The size of the scroller padding.",
|
|
3479
|
+
"name": "--padding"
|
|
3480
|
+
},
|
|
3481
|
+
{
|
|
3482
|
+
"type": {
|
|
3483
|
+
"text": "<length>"
|
|
3484
|
+
},
|
|
3485
|
+
"description": "The size of the scroller margin.",
|
|
3486
|
+
"name": "--margin"
|
|
3487
|
+
}
|
|
3488
|
+
],
|
|
3489
|
+
"members": [
|
|
3490
|
+
{
|
|
3491
|
+
"kind": "field",
|
|
3492
|
+
"name": "slotEl",
|
|
3493
|
+
"type": {
|
|
3494
|
+
"text": "HTMLSlotElement"
|
|
3495
|
+
},
|
|
3496
|
+
"privacy": "protected",
|
|
3497
|
+
"description": "The items that will be used as slides."
|
|
3498
|
+
},
|
|
3499
|
+
{
|
|
3500
|
+
"kind": "field",
|
|
3501
|
+
"name": "slotChildren",
|
|
3502
|
+
"type": {
|
|
3503
|
+
"text": "HTMLElement[]"
|
|
3504
|
+
},
|
|
3505
|
+
"privacy": "protected",
|
|
3506
|
+
"default": "[]",
|
|
3507
|
+
"description": "The slides being used."
|
|
3508
|
+
},
|
|
3509
|
+
{
|
|
3510
|
+
"kind": "method",
|
|
3511
|
+
"name": "getCurrentSlide",
|
|
3512
|
+
"privacy": "public",
|
|
3513
|
+
"description": "Gets the current slide.",
|
|
3514
|
+
"return": {
|
|
3515
|
+
"type": {
|
|
3516
|
+
"text": ""
|
|
3517
|
+
}
|
|
3518
|
+
}
|
|
3519
|
+
},
|
|
3520
|
+
{
|
|
3521
|
+
"kind": "method",
|
|
3522
|
+
"name": "scrollToPrevSlide",
|
|
3523
|
+
"privacy": "public",
|
|
3524
|
+
"description": "Scrolls to the slide before the current slide."
|
|
3525
|
+
},
|
|
3526
|
+
{
|
|
3527
|
+
"kind": "method",
|
|
3528
|
+
"name": "scrollToNextSlide",
|
|
3529
|
+
"privacy": "public",
|
|
3530
|
+
"description": "Scrolls to the slide after the current slide."
|
|
3531
|
+
}
|
|
3532
|
+
],
|
|
3533
|
+
"events": [
|
|
3534
|
+
{
|
|
3535
|
+
"name": "slots-loaded",
|
|
3536
|
+
"type": {
|
|
3537
|
+
"text": "HTMLElement[]"
|
|
3538
|
+
},
|
|
3539
|
+
"description": "Emits when the slots have fully loaded."
|
|
3540
|
+
}
|
|
3541
|
+
],
|
|
3542
|
+
"superclass": {
|
|
3543
|
+
"name": "LitElement",
|
|
3544
|
+
"package": "lit"
|
|
3545
|
+
},
|
|
3546
|
+
"tagName": "carousel-scroller",
|
|
3547
|
+
"customElement": true
|
|
3548
|
+
}
|
|
3549
|
+
],
|
|
3550
|
+
"exports": [
|
|
3551
|
+
{
|
|
3552
|
+
"kind": "js",
|
|
3553
|
+
"name": "CarouselScroller",
|
|
3554
|
+
"declaration": {
|
|
3555
|
+
"name": "CarouselScroller",
|
|
3556
|
+
"module": "src/components/carousel-scroller/carousel-scroller.ts"
|
|
3557
|
+
}
|
|
3558
|
+
},
|
|
3559
|
+
{
|
|
3560
|
+
"kind": "custom-element-definition",
|
|
3561
|
+
"name": "carousel-scroller",
|
|
3562
|
+
"declaration": {
|
|
3563
|
+
"name": "CarouselScroller",
|
|
3564
|
+
"module": "src/components/carousel-scroller/carousel-scroller.ts"
|
|
3565
|
+
}
|
|
3566
|
+
}
|
|
3567
|
+
]
|
|
3568
|
+
},
|
|
3451
3569
|
{
|
|
3452
3570
|
"kind": "javascript-module",
|
|
3453
3571
|
"path": "src/components/color-palette/color-palette-utils.ts",
|
|
@@ -4391,139 +4509,21 @@
|
|
|
4391
4509
|
},
|
|
4392
4510
|
{
|
|
4393
4511
|
"kind": "javascript-module",
|
|
4394
|
-
"path": "src/components/
|
|
4512
|
+
"path": "src/components/responsive-svg/responsive-svg.styles.ts",
|
|
4395
4513
|
"declarations": [],
|
|
4396
4514
|
"exports": [
|
|
4397
4515
|
{
|
|
4398
4516
|
"kind": "js",
|
|
4399
4517
|
"name": "default",
|
|
4400
4518
|
"declaration": {
|
|
4401
|
-
"module": "src/components/
|
|
4519
|
+
"module": "src/components/responsive-svg/responsive-svg.styles.ts"
|
|
4402
4520
|
}
|
|
4403
4521
|
}
|
|
4404
4522
|
]
|
|
4405
4523
|
},
|
|
4406
4524
|
{
|
|
4407
4525
|
"kind": "javascript-module",
|
|
4408
|
-
"path": "src/components/
|
|
4409
|
-
"declarations": [
|
|
4410
|
-
{
|
|
4411
|
-
"kind": "class",
|
|
4412
|
-
"description": "A carousel which can have any number of slides, and rotates circularly.",
|
|
4413
|
-
"name": "CarouselScroller",
|
|
4414
|
-
"cssProperties": [
|
|
4415
|
-
{
|
|
4416
|
-
"type": {
|
|
4417
|
-
"text": "<length>"
|
|
4418
|
-
},
|
|
4419
|
-
"description": "The size of the scroller padding.",
|
|
4420
|
-
"name": "--padding"
|
|
4421
|
-
},
|
|
4422
|
-
{
|
|
4423
|
-
"type": {
|
|
4424
|
-
"text": "<length>"
|
|
4425
|
-
},
|
|
4426
|
-
"description": "The size of the scroller margin.",
|
|
4427
|
-
"name": "--margin"
|
|
4428
|
-
}
|
|
4429
|
-
],
|
|
4430
|
-
"members": [
|
|
4431
|
-
{
|
|
4432
|
-
"kind": "field",
|
|
4433
|
-
"name": "slotEl",
|
|
4434
|
-
"type": {
|
|
4435
|
-
"text": "HTMLSlotElement"
|
|
4436
|
-
},
|
|
4437
|
-
"privacy": "protected",
|
|
4438
|
-
"description": "The items that will be used as slides."
|
|
4439
|
-
},
|
|
4440
|
-
{
|
|
4441
|
-
"kind": "field",
|
|
4442
|
-
"name": "slotChildren",
|
|
4443
|
-
"type": {
|
|
4444
|
-
"text": "HTMLElement[]"
|
|
4445
|
-
},
|
|
4446
|
-
"privacy": "protected",
|
|
4447
|
-
"default": "[]",
|
|
4448
|
-
"description": "The slides being used."
|
|
4449
|
-
},
|
|
4450
|
-
{
|
|
4451
|
-
"kind": "method",
|
|
4452
|
-
"name": "getCurrentSlide",
|
|
4453
|
-
"privacy": "public",
|
|
4454
|
-
"description": "Gets the current slide.",
|
|
4455
|
-
"return": {
|
|
4456
|
-
"type": {
|
|
4457
|
-
"text": ""
|
|
4458
|
-
}
|
|
4459
|
-
}
|
|
4460
|
-
},
|
|
4461
|
-
{
|
|
4462
|
-
"kind": "method",
|
|
4463
|
-
"name": "scrollToPrevSlide",
|
|
4464
|
-
"privacy": "public",
|
|
4465
|
-
"description": "Scrolls to the slide before the current slide."
|
|
4466
|
-
},
|
|
4467
|
-
{
|
|
4468
|
-
"kind": "method",
|
|
4469
|
-
"name": "scrollToNextSlide",
|
|
4470
|
-
"privacy": "public",
|
|
4471
|
-
"description": "Scrolls to the slide after the current slide."
|
|
4472
|
-
}
|
|
4473
|
-
],
|
|
4474
|
-
"events": [
|
|
4475
|
-
{
|
|
4476
|
-
"name": "slots-loaded",
|
|
4477
|
-
"type": {
|
|
4478
|
-
"text": "HTMLElement[]"
|
|
4479
|
-
},
|
|
4480
|
-
"description": "Emits when the slots have fully loaded."
|
|
4481
|
-
}
|
|
4482
|
-
],
|
|
4483
|
-
"superclass": {
|
|
4484
|
-
"name": "LitElement",
|
|
4485
|
-
"package": "lit"
|
|
4486
|
-
},
|
|
4487
|
-
"tagName": "carousel-scroller",
|
|
4488
|
-
"customElement": true
|
|
4489
|
-
}
|
|
4490
|
-
],
|
|
4491
|
-
"exports": [
|
|
4492
|
-
{
|
|
4493
|
-
"kind": "js",
|
|
4494
|
-
"name": "CarouselScroller",
|
|
4495
|
-
"declaration": {
|
|
4496
|
-
"name": "CarouselScroller",
|
|
4497
|
-
"module": "src/components/carousel-scroller/carousel-scroller.ts"
|
|
4498
|
-
}
|
|
4499
|
-
},
|
|
4500
|
-
{
|
|
4501
|
-
"kind": "custom-element-definition",
|
|
4502
|
-
"name": "carousel-scroller",
|
|
4503
|
-
"declaration": {
|
|
4504
|
-
"name": "CarouselScroller",
|
|
4505
|
-
"module": "src/components/carousel-scroller/carousel-scroller.ts"
|
|
4506
|
-
}
|
|
4507
|
-
}
|
|
4508
|
-
]
|
|
4509
|
-
},
|
|
4510
|
-
{
|
|
4511
|
-
"kind": "javascript-module",
|
|
4512
|
-
"path": "src/components/responsive-svg/responsive-svg.styles.ts",
|
|
4513
|
-
"declarations": [],
|
|
4514
|
-
"exports": [
|
|
4515
|
-
{
|
|
4516
|
-
"kind": "js",
|
|
4517
|
-
"name": "default",
|
|
4518
|
-
"declaration": {
|
|
4519
|
-
"module": "src/components/responsive-svg/responsive-svg.styles.ts"
|
|
4520
|
-
}
|
|
4521
|
-
}
|
|
4522
|
-
]
|
|
4523
|
-
},
|
|
4524
|
-
{
|
|
4525
|
-
"kind": "javascript-module",
|
|
4526
|
-
"path": "src/components/responsive-svg/responsive-svg.ts",
|
|
4526
|
+
"path": "src/components/responsive-svg/responsive-svg.ts",
|
|
4527
4527
|
"declarations": [
|
|
4528
4528
|
{
|
|
4529
4529
|
"kind": "variable",
|
|
@@ -5117,6 +5117,90 @@
|
|
|
5117
5117
|
}
|
|
5118
5118
|
]
|
|
5119
5119
|
},
|
|
5120
|
+
{
|
|
5121
|
+
"kind": "javascript-module",
|
|
5122
|
+
"path": "dist/components/color-palette/item/color-palette-item-edit.js",
|
|
5123
|
+
"declarations": [
|
|
5124
|
+
{
|
|
5125
|
+
"kind": "variable",
|
|
5126
|
+
"name": "s",
|
|
5127
|
+
"default": "class extends n { constructor() { super(...arguments), this.stabilizeWhileEditing = !1, this._storedAlias = \"\"; } /** Renders the content. */ content() { return p` <input value=${this.alias || this.color} @pointerdown=${(t) => { t.target instanceof HTMLInputElement && (t.stopPropagation(), this._storedAlias = t.target.value, t.target.value = \"\", t.target.focus()); }} @contextmenu=${(t) => { t.target instanceof HTMLInputElement && (t.stopPropagation(), t.preventDefault(), t.target.value = this.color.toUpperCase(), this.alias = \"\", t.target.blur()); }} @keypress=${(t) => { t.target instanceof HTMLInputElement && t.key === \"Enter\" && t.target.blur(); }} @focusout=${(t) => { t.target instanceof HTMLInputElement && (t.target.value.trim() === \"\" ? t.target.value = this._storedAlias : t.target.value !== this.color && (this.alias = t.target.value), this.dispatchEvent(new CustomEvent(\"alias\", { detail: this.alias }))); }} > <button id='trash' title='Remove' @click=${(t) => this.dispatchEvent(new Event(\"trash\", t))} > ${c(h)} </button> `; } }"
|
|
5128
|
+
}
|
|
5129
|
+
],
|
|
5130
|
+
"exports": [
|
|
5131
|
+
{
|
|
5132
|
+
"kind": "js",
|
|
5133
|
+
"name": "ColorPaletteItemEdit",
|
|
5134
|
+
"declaration": {
|
|
5135
|
+
"name": "s",
|
|
5136
|
+
"module": "dist/components/color-palette/item/color-palette-item-edit.js"
|
|
5137
|
+
}
|
|
5138
|
+
}
|
|
5139
|
+
]
|
|
5140
|
+
},
|
|
5141
|
+
{
|
|
5142
|
+
"kind": "javascript-module",
|
|
5143
|
+
"path": "dist/components/color-palette/item/color-palette-item-edit.styles.js",
|
|
5144
|
+
"declarations": [
|
|
5145
|
+
{
|
|
5146
|
+
"kind": "variable",
|
|
5147
|
+
"name": "e",
|
|
5148
|
+
"default": "o` :host([stabilizeWhileEditing]:hover) { flex-basis: 0 !important; } :host(:not([stabilizeWhileEditing])) #container { display: none; } :host(:not([stabilizeWhileEditing]):hover) #container { display: flex; } #container { input { color: var(--palette-item-color); font-size: var(--palette-item-font-size); font-weight: bold; user-select: none; border: none; background-color: transparent; field-sizing: content; min-width: 2rem; max-width: 5rem; cursor: pointer; text-align: center; } /* Color Trash Button */ #trash { background-color: var(--palette-item-background-color); color: var(--palette-item-color); box-shadow: rgba(0, 0, 0, 0.35) 0px -50px 20px -28px inset; cursor: pointer; border: none; border-radius: 5px; padding: 4px 12px; &:hover { background-color: rgb(75, 75, 75); } svg { width: 18px; height: 18px; } } } `"
|
|
5149
|
+
}
|
|
5150
|
+
],
|
|
5151
|
+
"exports": [
|
|
5152
|
+
{
|
|
5153
|
+
"kind": "js",
|
|
5154
|
+
"name": "default",
|
|
5155
|
+
"declaration": {
|
|
5156
|
+
"name": "e",
|
|
5157
|
+
"module": "dist/components/color-palette/item/color-palette-item-edit.styles.js"
|
|
5158
|
+
}
|
|
5159
|
+
}
|
|
5160
|
+
]
|
|
5161
|
+
},
|
|
5162
|
+
{
|
|
5163
|
+
"kind": "javascript-module",
|
|
5164
|
+
"path": "dist/components/color-palette/item/color-palette-item.js",
|
|
5165
|
+
"declarations": [
|
|
5166
|
+
{
|
|
5167
|
+
"kind": "variable",
|
|
5168
|
+
"name": "t",
|
|
5169
|
+
"default": "class extends d { constructor() { super(...arguments), this.color = \"\", this.alias = \"\", this.aliasMode = c.aliasMode, this.direction = c.direction, this.editMode = !1, this.height = c.height, this.preventHover = !1, this.hideText = !1, this.colorCount = 0; } render() { return this.style.setProperty(\"--palette-item-background-color\", this.color), this.style.setProperty(\"--palette-item-color\", f(this.color)), this.style.setProperty(\"--palette-item-font-size\", `${g(this.colorCount)}px`), p` <div id='container' @click=${(i) => this.dispatchEvent(new Event(\"select\", i))} > ${this.content()} </div> `; } /** Renders the content */ content() { const i = this.aliasMode === u.Both || this.alias == null || this.alias.trim() === \"\"; return p` ${i ? p`<span id='text'>${this.color.trim().toUpperCase()}</span>` : y} ${this.alias !== \"\" ? p` <span id=\"alias\">${this.alias}</span> ` : y} `; } }"
|
|
5170
|
+
}
|
|
5171
|
+
],
|
|
5172
|
+
"exports": [
|
|
5173
|
+
{
|
|
5174
|
+
"kind": "js",
|
|
5175
|
+
"name": "ColorPaletteItem",
|
|
5176
|
+
"declaration": {
|
|
5177
|
+
"name": "t",
|
|
5178
|
+
"module": "dist/components/color-palette/item/color-palette-item.js"
|
|
5179
|
+
}
|
|
5180
|
+
}
|
|
5181
|
+
]
|
|
5182
|
+
},
|
|
5183
|
+
{
|
|
5184
|
+
"kind": "javascript-module",
|
|
5185
|
+
"path": "dist/components/color-palette/item/color-palette-item.styles.js",
|
|
5186
|
+
"declarations": [
|
|
5187
|
+
{
|
|
5188
|
+
"kind": "variable",
|
|
5189
|
+
"name": "o",
|
|
5190
|
+
"default": "e` :host { --palette-item-background-color: #000000; --palette-item-color: #ffffff; --palette-item-font-size: 16px; display: flex; flex: 1; transition: all 0.1s ease-in-out; background-color: var(--palette-item-background-color); color: var(--palette-item-color); } /* Animation Size */ :host(:not([preventHover]):hover) { flex-basis: var(--palette-column-flex-basis); } :host([direction='column']:not([preventHover]):hover) { flex-basis: 80px; } /* Hover States */ :host(:not([preventHover])) #container > span { display: none; } :host(:not([preventHover]):hover) #container > span { display: block; } :host([hideText]) #container > span { display: none; } :host([hideText]:hover) #container > span { display: none; } /* Container Directions */ :host([direction='column']) > #container { display: flex; flex-direction: column; justify-content: center; } :host([direction='row']) > #container { display: flex; justify-content: center; } :host([direction='row'][editMode]) > #container { display: grid; grid-template-columns: 1fr 1fr; } #container { flex: 1; gap: 3%; *:first-child { justify-self: flex-end; align-self: center; } *:last-child { justify-self: flex-start; align-self: center; } span { display: block; text-align: center; font-size: 100%; font-weight: bold; user-select: none; } } `"
|
|
5191
|
+
}
|
|
5192
|
+
],
|
|
5193
|
+
"exports": [
|
|
5194
|
+
{
|
|
5195
|
+
"kind": "js",
|
|
5196
|
+
"name": "default",
|
|
5197
|
+
"declaration": {
|
|
5198
|
+
"name": "o",
|
|
5199
|
+
"module": "dist/components/color-palette/item/color-palette-item.styles.js"
|
|
5200
|
+
}
|
|
5201
|
+
}
|
|
5202
|
+
]
|
|
5203
|
+
},
|
|
5120
5204
|
{
|
|
5121
5205
|
"kind": "javascript-module",
|
|
5122
5206
|
"path": "dist/components/color-palette/menu/color-palette-menu.js",
|
|
@@ -5203,68 +5287,261 @@
|
|
|
5203
5287
|
},
|
|
5204
5288
|
{
|
|
5205
5289
|
"kind": "javascript-module",
|
|
5206
|
-
"path": "
|
|
5290
|
+
"path": "src/components/color-palette/component/color-palette-component.styles.ts",
|
|
5291
|
+
"declarations": [],
|
|
5292
|
+
"exports": [
|
|
5293
|
+
{
|
|
5294
|
+
"kind": "js",
|
|
5295
|
+
"name": "default",
|
|
5296
|
+
"declaration": {
|
|
5297
|
+
"module": "src/components/color-palette/component/color-palette-component.styles.ts"
|
|
5298
|
+
}
|
|
5299
|
+
}
|
|
5300
|
+
]
|
|
5301
|
+
},
|
|
5302
|
+
{
|
|
5303
|
+
"kind": "javascript-module",
|
|
5304
|
+
"path": "src/components/color-palette/component/color-palette-component.ts",
|
|
5207
5305
|
"declarations": [
|
|
5208
5306
|
{
|
|
5209
5307
|
"kind": "class",
|
|
5210
|
-
"description": "",
|
|
5211
|
-
"name": "
|
|
5308
|
+
"description": "color-palette components combined.",
|
|
5309
|
+
"name": "ColorPaletteComponent",
|
|
5212
5310
|
"members": [
|
|
5213
5311
|
{
|
|
5214
5312
|
"kind": "field",
|
|
5215
|
-
"name": "
|
|
5216
|
-
"description": "Get the names of all properties currently being observed.",
|
|
5313
|
+
"name": "_menuWrapper",
|
|
5217
5314
|
"type": {
|
|
5218
|
-
"text": "
|
|
5315
|
+
"text": "AbsoluteContainer"
|
|
5219
5316
|
},
|
|
5220
|
-
"
|
|
5317
|
+
"privacy": "private"
|
|
5221
5318
|
},
|
|
5222
5319
|
{
|
|
5223
5320
|
"kind": "field",
|
|
5224
|
-
"name": "
|
|
5225
|
-
"description": "The element being observed.",
|
|
5321
|
+
"name": "_editorWrapper",
|
|
5226
5322
|
"type": {
|
|
5227
|
-
"text": "
|
|
5323
|
+
"text": "AbsoluteContainer"
|
|
5228
5324
|
},
|
|
5229
|
-
"
|
|
5325
|
+
"privacy": "private"
|
|
5230
5326
|
},
|
|
5231
5327
|
{
|
|
5232
5328
|
"kind": "field",
|
|
5233
|
-
"name": "
|
|
5234
|
-
"description": "The callback to call when the element's style changes.",
|
|
5329
|
+
"name": "_menuSheet",
|
|
5235
5330
|
"type": {
|
|
5236
|
-
"text": "
|
|
5331
|
+
"text": "BottomSheet"
|
|
5237
5332
|
},
|
|
5238
|
-
"
|
|
5333
|
+
"privacy": "private"
|
|
5239
5334
|
},
|
|
5240
5335
|
{
|
|
5241
5336
|
"kind": "field",
|
|
5242
|
-
"name": "
|
|
5243
|
-
"description": "The observer options.",
|
|
5337
|
+
"name": "_menu",
|
|
5244
5338
|
"type": {
|
|
5245
|
-
"text": "
|
|
5339
|
+
"text": "ColorPaletteMenu"
|
|
5246
5340
|
},
|
|
5247
|
-
"
|
|
5341
|
+
"privacy": "private"
|
|
5248
5342
|
},
|
|
5249
5343
|
{
|
|
5250
5344
|
"kind": "field",
|
|
5251
|
-
"name": "
|
|
5252
|
-
"privacy": "private",
|
|
5345
|
+
"name": "_editor",
|
|
5253
5346
|
"type": {
|
|
5254
|
-
"text": "
|
|
5347
|
+
"text": "ColorPaletteEditor"
|
|
5255
5348
|
},
|
|
5256
|
-
"
|
|
5257
|
-
"description": "Whether the observer has been initialized."
|
|
5258
|
-
},
|
|
5259
|
-
{
|
|
5260
|
-
"kind": "method",
|
|
5261
|
-
"name": "#s",
|
|
5262
|
-
"privacy": "private",
|
|
5263
|
-
"description": "Called the first time observe() is called to initialize the target."
|
|
5349
|
+
"privacy": "private"
|
|
5264
5350
|
},
|
|
5265
5351
|
{
|
|
5266
|
-
"kind": "
|
|
5267
|
-
"name": "
|
|
5352
|
+
"kind": "field",
|
|
5353
|
+
"name": "colors",
|
|
5354
|
+
"type": {
|
|
5355
|
+
"text": "string[]"
|
|
5356
|
+
},
|
|
5357
|
+
"privacy": "public",
|
|
5358
|
+
"default": "[]",
|
|
5359
|
+
"description": "The palette colors.",
|
|
5360
|
+
"attribute": "colors"
|
|
5361
|
+
},
|
|
5362
|
+
{
|
|
5363
|
+
"kind": "field",
|
|
5364
|
+
"name": "settings",
|
|
5365
|
+
"type": {
|
|
5366
|
+
"text": "PaletteSettings"
|
|
5367
|
+
},
|
|
5368
|
+
"privacy": "public",
|
|
5369
|
+
"default": "{ height: defaultSettings.height, width: defaultSettings.width, direction: defaultSettings.direction, gradient: defaultSettings.gradient, preventHover: defaultSettings.preventHover, hideText: defaultSettings.hideText, override: defaultSettings.override, aliases: [] }",
|
|
5370
|
+
"description": "The palette settings.",
|
|
5371
|
+
"attribute": "settings"
|
|
5372
|
+
},
|
|
5373
|
+
{
|
|
5374
|
+
"kind": "field",
|
|
5375
|
+
"name": "editMode",
|
|
5376
|
+
"type": {
|
|
5377
|
+
"text": "boolean"
|
|
5378
|
+
},
|
|
5379
|
+
"privacy": "public",
|
|
5380
|
+
"default": "false",
|
|
5381
|
+
"description": "Whether the palette is in edit mode.",
|
|
5382
|
+
"attribute": "editMode"
|
|
5383
|
+
},
|
|
5384
|
+
{
|
|
5385
|
+
"kind": "field",
|
|
5386
|
+
"name": "responsiveController",
|
|
5387
|
+
"privacy": "protected",
|
|
5388
|
+
"default": "new ResponsiveController(this, '1400px')"
|
|
5389
|
+
},
|
|
5390
|
+
{
|
|
5391
|
+
"kind": "field",
|
|
5392
|
+
"name": "isMobile",
|
|
5393
|
+
"description": "Whether the screen is mobile sized.",
|
|
5394
|
+
"readonly": true
|
|
5395
|
+
},
|
|
5396
|
+
{
|
|
5397
|
+
"kind": "method",
|
|
5398
|
+
"name": "handlePaletteChange",
|
|
5399
|
+
"parameters": [
|
|
5400
|
+
{
|
|
5401
|
+
"name": "{ detail: { colors } }",
|
|
5402
|
+
"type": {
|
|
5403
|
+
"text": "PaletteChangeEvent"
|
|
5404
|
+
}
|
|
5405
|
+
}
|
|
5406
|
+
]
|
|
5407
|
+
},
|
|
5408
|
+
{
|
|
5409
|
+
"kind": "method",
|
|
5410
|
+
"name": "handleEditMode",
|
|
5411
|
+
"parameters": [
|
|
5412
|
+
{
|
|
5413
|
+
"name": "{ detail: editMode }",
|
|
5414
|
+
"type": {
|
|
5415
|
+
"text": "CustomEvent<boolean>"
|
|
5416
|
+
}
|
|
5417
|
+
}
|
|
5418
|
+
]
|
|
5419
|
+
},
|
|
5420
|
+
{
|
|
5421
|
+
"kind": "method",
|
|
5422
|
+
"name": "handleOpenEditor"
|
|
5423
|
+
}
|
|
5424
|
+
],
|
|
5425
|
+
"attributes": [
|
|
5426
|
+
{
|
|
5427
|
+
"name": "colors",
|
|
5428
|
+
"type": {
|
|
5429
|
+
"text": "string[]"
|
|
5430
|
+
},
|
|
5431
|
+
"default": "[]",
|
|
5432
|
+
"description": "The palette colors.",
|
|
5433
|
+
"fieldName": "colors"
|
|
5434
|
+
},
|
|
5435
|
+
{
|
|
5436
|
+
"name": "settings",
|
|
5437
|
+
"type": {
|
|
5438
|
+
"text": "PaletteSettings"
|
|
5439
|
+
},
|
|
5440
|
+
"default": "{ height: defaultSettings.height, width: defaultSettings.width, direction: defaultSettings.direction, gradient: defaultSettings.gradient, preventHover: defaultSettings.preventHover, hideText: defaultSettings.hideText, override: defaultSettings.override, aliases: [] }",
|
|
5441
|
+
"description": "The palette settings.",
|
|
5442
|
+
"fieldName": "settings"
|
|
5443
|
+
},
|
|
5444
|
+
{
|
|
5445
|
+
"name": "editMode",
|
|
5446
|
+
"type": {
|
|
5447
|
+
"text": "boolean"
|
|
5448
|
+
},
|
|
5449
|
+
"default": "false",
|
|
5450
|
+
"description": "Whether the palette is in edit mode.",
|
|
5451
|
+
"fieldName": "editMode"
|
|
5452
|
+
}
|
|
5453
|
+
],
|
|
5454
|
+
"superclass": {
|
|
5455
|
+
"name": "LitElement",
|
|
5456
|
+
"package": "lit"
|
|
5457
|
+
},
|
|
5458
|
+
"tagName": "color-palette-component",
|
|
5459
|
+
"customElement": true
|
|
5460
|
+
}
|
|
5461
|
+
],
|
|
5462
|
+
"exports": [
|
|
5463
|
+
{
|
|
5464
|
+
"kind": "js",
|
|
5465
|
+
"name": "ColorPaletteComponent",
|
|
5466
|
+
"declaration": {
|
|
5467
|
+
"name": "ColorPaletteComponent",
|
|
5468
|
+
"module": "src/components/color-palette/component/color-palette-component.ts"
|
|
5469
|
+
}
|
|
5470
|
+
},
|
|
5471
|
+
{
|
|
5472
|
+
"kind": "custom-element-definition",
|
|
5473
|
+
"name": "color-palette-component",
|
|
5474
|
+
"declaration": {
|
|
5475
|
+
"name": "ColorPaletteComponent",
|
|
5476
|
+
"module": "src/components/color-palette/component/color-palette-component.ts"
|
|
5477
|
+
}
|
|
5478
|
+
}
|
|
5479
|
+
]
|
|
5480
|
+
},
|
|
5481
|
+
{
|
|
5482
|
+
"kind": "javascript-module",
|
|
5483
|
+
"path": "dist/node_modules/style-observer/src/element-style-observer.js",
|
|
5484
|
+
"declarations": [
|
|
5485
|
+
{
|
|
5486
|
+
"kind": "class",
|
|
5487
|
+
"description": "",
|
|
5488
|
+
"name": "O",
|
|
5489
|
+
"members": [
|
|
5490
|
+
{
|
|
5491
|
+
"kind": "field",
|
|
5492
|
+
"name": "propertyNames",
|
|
5493
|
+
"description": "Get the names of all properties currently being observed.",
|
|
5494
|
+
"type": {
|
|
5495
|
+
"text": "string[]"
|
|
5496
|
+
},
|
|
5497
|
+
"readonly": true
|
|
5498
|
+
},
|
|
5499
|
+
{
|
|
5500
|
+
"kind": "field",
|
|
5501
|
+
"name": "target",
|
|
5502
|
+
"description": "The element being observed.",
|
|
5503
|
+
"type": {
|
|
5504
|
+
"text": "Element"
|
|
5505
|
+
},
|
|
5506
|
+
"default": "t"
|
|
5507
|
+
},
|
|
5508
|
+
{
|
|
5509
|
+
"kind": "field",
|
|
5510
|
+
"name": "callback",
|
|
5511
|
+
"description": "The callback to call when the element's style changes.",
|
|
5512
|
+
"type": {
|
|
5513
|
+
"text": "StyleObserverCallback"
|
|
5514
|
+
},
|
|
5515
|
+
"default": "r"
|
|
5516
|
+
},
|
|
5517
|
+
{
|
|
5518
|
+
"kind": "field",
|
|
5519
|
+
"name": "options",
|
|
5520
|
+
"description": "The observer options.",
|
|
5521
|
+
"type": {
|
|
5522
|
+
"text": "StyleObserverOptions"
|
|
5523
|
+
},
|
|
5524
|
+
"default": "{ properties: [], ...s }"
|
|
5525
|
+
},
|
|
5526
|
+
{
|
|
5527
|
+
"kind": "field",
|
|
5528
|
+
"name": "#t",
|
|
5529
|
+
"privacy": "private",
|
|
5530
|
+
"type": {
|
|
5531
|
+
"text": "boolean"
|
|
5532
|
+
},
|
|
5533
|
+
"default": "!1",
|
|
5534
|
+
"description": "Whether the observer has been initialized."
|
|
5535
|
+
},
|
|
5536
|
+
{
|
|
5537
|
+
"kind": "method",
|
|
5538
|
+
"name": "#s",
|
|
5539
|
+
"privacy": "private",
|
|
5540
|
+
"description": "Called the first time observe() is called to initialize the target."
|
|
5541
|
+
},
|
|
5542
|
+
{
|
|
5543
|
+
"kind": "method",
|
|
5544
|
+
"name": "resolveOptions",
|
|
5268
5545
|
"parameters": [
|
|
5269
5546
|
{
|
|
5270
5547
|
"name": "t"
|
|
@@ -5809,298 +6086,21 @@
|
|
|
5809
6086
|
},
|
|
5810
6087
|
{
|
|
5811
6088
|
"kind": "javascript-module",
|
|
5812
|
-
"path": "
|
|
5813
|
-
"declarations": [
|
|
5814
|
-
{
|
|
5815
|
-
"kind": "variable",
|
|
5816
|
-
"name": "s",
|
|
5817
|
-
"default": "class extends n { constructor() { super(...arguments), this.stabilizeWhileEditing = !1, this._storedAlias = \"\"; } /** Renders the content. */ content() { return p` <input value=${this.alias || this.color} @pointerdown=${(t) => { t.target instanceof HTMLInputElement && (t.stopPropagation(), this._storedAlias = t.target.value, t.target.value = \"\", t.target.focus()); }} @contextmenu=${(t) => { t.target instanceof HTMLInputElement && (t.stopPropagation(), t.preventDefault(), t.target.value = this.color.toUpperCase(), this.alias = \"\", t.target.blur()); }} @keypress=${(t) => { t.target instanceof HTMLInputElement && t.key === \"Enter\" && t.target.blur(); }} @focusout=${(t) => { t.target instanceof HTMLInputElement && (t.target.value.trim() === \"\" ? t.target.value = this._storedAlias : t.target.value !== this.color && (this.alias = t.target.value), this.dispatchEvent(new CustomEvent(\"alias\", { detail: this.alias }))); }} > <button id='trash' title='Remove' @click=${(t) => this.dispatchEvent(new Event(\"trash\", t))} > ${c(h)} </button> `; } }"
|
|
5818
|
-
}
|
|
5819
|
-
],
|
|
5820
|
-
"exports": [
|
|
5821
|
-
{
|
|
5822
|
-
"kind": "js",
|
|
5823
|
-
"name": "ColorPaletteItemEdit",
|
|
5824
|
-
"declaration": {
|
|
5825
|
-
"name": "s",
|
|
5826
|
-
"module": "dist/components/color-palette/item/color-palette-item-edit.js"
|
|
5827
|
-
}
|
|
5828
|
-
}
|
|
5829
|
-
]
|
|
5830
|
-
},
|
|
5831
|
-
{
|
|
5832
|
-
"kind": "javascript-module",
|
|
5833
|
-
"path": "dist/components/color-palette/item/color-palette-item-edit.styles.js",
|
|
5834
|
-
"declarations": [
|
|
5835
|
-
{
|
|
5836
|
-
"kind": "variable",
|
|
5837
|
-
"name": "e",
|
|
5838
|
-
"default": "o` :host([stabilizeWhileEditing]:hover) { flex-basis: 0 !important; } :host(:not([stabilizeWhileEditing])) #container { display: none; } :host(:not([stabilizeWhileEditing]):hover) #container { display: flex; } #container { input { color: var(--palette-item-color); font-size: var(--palette-item-font-size); font-weight: bold; user-select: none; border: none; background-color: transparent; field-sizing: content; min-width: 2rem; max-width: 5rem; cursor: pointer; text-align: center; } /* Color Trash Button */ #trash { background-color: var(--palette-item-background-color); color: var(--palette-item-color); box-shadow: rgba(0, 0, 0, 0.35) 0px -50px 20px -28px inset; cursor: pointer; border: none; border-radius: 5px; padding: 4px 12px; &:hover { background-color: rgb(75, 75, 75); } svg { width: 18px; height: 18px; } } } `"
|
|
5839
|
-
}
|
|
5840
|
-
],
|
|
6089
|
+
"path": "src/components/color-palette/editor/color-palette-editor.styles.ts",
|
|
6090
|
+
"declarations": [],
|
|
5841
6091
|
"exports": [
|
|
5842
6092
|
{
|
|
5843
6093
|
"kind": "js",
|
|
5844
6094
|
"name": "default",
|
|
5845
6095
|
"declaration": {
|
|
5846
|
-
"
|
|
5847
|
-
"module": "dist/components/color-palette/item/color-palette-item-edit.styles.js"
|
|
5848
|
-
}
|
|
5849
|
-
}
|
|
5850
|
-
]
|
|
5851
|
-
},
|
|
5852
|
-
{
|
|
5853
|
-
"kind": "javascript-module",
|
|
5854
|
-
"path": "dist/components/color-palette/item/color-palette-item.js",
|
|
5855
|
-
"declarations": [
|
|
5856
|
-
{
|
|
5857
|
-
"kind": "variable",
|
|
5858
|
-
"name": "t",
|
|
5859
|
-
"default": "class extends d { constructor() { super(...arguments), this.color = \"\", this.alias = \"\", this.aliasMode = c.aliasMode, this.direction = c.direction, this.editMode = !1, this.height = c.height, this.preventHover = !1, this.hideText = !1, this.colorCount = 0; } render() { return this.style.setProperty(\"--palette-item-background-color\", this.color), this.style.setProperty(\"--palette-item-color\", f(this.color)), this.style.setProperty(\"--palette-item-font-size\", `${g(this.colorCount)}px`), p` <div id='container' @click=${(i) => this.dispatchEvent(new Event(\"select\", i))} > ${this.content()} </div> `; } /** Renders the content */ content() { const i = this.aliasMode === u.Both || this.alias == null || this.alias.trim() === \"\"; return p` ${i ? p`<span id='text'>${this.color.trim().toUpperCase()}</span>` : y} ${this.alias !== \"\" ? p` <span id=\"alias\">${this.alias}</span> ` : y} `; } }"
|
|
5860
|
-
}
|
|
5861
|
-
],
|
|
5862
|
-
"exports": [
|
|
5863
|
-
{
|
|
5864
|
-
"kind": "js",
|
|
5865
|
-
"name": "ColorPaletteItem",
|
|
5866
|
-
"declaration": {
|
|
5867
|
-
"name": "t",
|
|
5868
|
-
"module": "dist/components/color-palette/item/color-palette-item.js"
|
|
6096
|
+
"module": "src/components/color-palette/editor/color-palette-editor.styles.ts"
|
|
5869
6097
|
}
|
|
5870
6098
|
}
|
|
5871
6099
|
]
|
|
5872
6100
|
},
|
|
5873
6101
|
{
|
|
5874
6102
|
"kind": "javascript-module",
|
|
5875
|
-
"path": "
|
|
5876
|
-
"declarations": [
|
|
5877
|
-
{
|
|
5878
|
-
"kind": "variable",
|
|
5879
|
-
"name": "o",
|
|
5880
|
-
"default": "e` :host { --palette-item-background-color: #000000; --palette-item-color: #ffffff; --palette-item-font-size: 16px; display: flex; flex: 1; transition: all 0.1s ease-in-out; background-color: var(--palette-item-background-color); color: var(--palette-item-color); } /* Animation Size */ :host(:not([preventHover]):hover) { flex-basis: var(--palette-column-flex-basis); } :host([direction='column']:not([preventHover]):hover) { flex-basis: 80px; } /* Hover States */ :host(:not([preventHover])) #container > span { display: none; } :host(:not([preventHover]):hover) #container > span { display: block; } :host([hideText]) #container > span { display: none; } :host([hideText]:hover) #container > span { display: none; } /* Container Directions */ :host([direction='column']) > #container { display: flex; flex-direction: column; justify-content: center; } :host([direction='row']) > #container { display: flex; justify-content: center; } :host([direction='row'][editMode]) > #container { display: grid; grid-template-columns: 1fr 1fr; } #container { flex: 1; gap: 3%; *:first-child { justify-self: flex-end; align-self: center; } *:last-child { justify-self: flex-start; align-self: center; } span { display: block; text-align: center; font-size: 100%; font-weight: bold; user-select: none; } } `"
|
|
5881
|
-
}
|
|
5882
|
-
],
|
|
5883
|
-
"exports": [
|
|
5884
|
-
{
|
|
5885
|
-
"kind": "js",
|
|
5886
|
-
"name": "default",
|
|
5887
|
-
"declaration": {
|
|
5888
|
-
"name": "o",
|
|
5889
|
-
"module": "dist/components/color-palette/item/color-palette-item.styles.js"
|
|
5890
|
-
}
|
|
5891
|
-
}
|
|
5892
|
-
]
|
|
5893
|
-
},
|
|
5894
|
-
{
|
|
5895
|
-
"kind": "javascript-module",
|
|
5896
|
-
"path": "src/components/color-palette/component/color-palette-component.styles.ts",
|
|
5897
|
-
"declarations": [],
|
|
5898
|
-
"exports": [
|
|
5899
|
-
{
|
|
5900
|
-
"kind": "js",
|
|
5901
|
-
"name": "default",
|
|
5902
|
-
"declaration": {
|
|
5903
|
-
"module": "src/components/color-palette/component/color-palette-component.styles.ts"
|
|
5904
|
-
}
|
|
5905
|
-
}
|
|
5906
|
-
]
|
|
5907
|
-
},
|
|
5908
|
-
{
|
|
5909
|
-
"kind": "javascript-module",
|
|
5910
|
-
"path": "src/components/color-palette/component/color-palette-component.ts",
|
|
5911
|
-
"declarations": [
|
|
5912
|
-
{
|
|
5913
|
-
"kind": "class",
|
|
5914
|
-
"description": "color-palette components combined.",
|
|
5915
|
-
"name": "ColorPaletteComponent",
|
|
5916
|
-
"members": [
|
|
5917
|
-
{
|
|
5918
|
-
"kind": "field",
|
|
5919
|
-
"name": "_menuWrapper",
|
|
5920
|
-
"type": {
|
|
5921
|
-
"text": "AbsoluteContainer"
|
|
5922
|
-
},
|
|
5923
|
-
"privacy": "private"
|
|
5924
|
-
},
|
|
5925
|
-
{
|
|
5926
|
-
"kind": "field",
|
|
5927
|
-
"name": "_editorWrapper",
|
|
5928
|
-
"type": {
|
|
5929
|
-
"text": "AbsoluteContainer"
|
|
5930
|
-
},
|
|
5931
|
-
"privacy": "private"
|
|
5932
|
-
},
|
|
5933
|
-
{
|
|
5934
|
-
"kind": "field",
|
|
5935
|
-
"name": "_menuSheet",
|
|
5936
|
-
"type": {
|
|
5937
|
-
"text": "BottomSheet"
|
|
5938
|
-
},
|
|
5939
|
-
"privacy": "private"
|
|
5940
|
-
},
|
|
5941
|
-
{
|
|
5942
|
-
"kind": "field",
|
|
5943
|
-
"name": "_menu",
|
|
5944
|
-
"type": {
|
|
5945
|
-
"text": "ColorPaletteMenu"
|
|
5946
|
-
},
|
|
5947
|
-
"privacy": "private"
|
|
5948
|
-
},
|
|
5949
|
-
{
|
|
5950
|
-
"kind": "field",
|
|
5951
|
-
"name": "_editor",
|
|
5952
|
-
"type": {
|
|
5953
|
-
"text": "ColorPaletteEditor"
|
|
5954
|
-
},
|
|
5955
|
-
"privacy": "private"
|
|
5956
|
-
},
|
|
5957
|
-
{
|
|
5958
|
-
"kind": "field",
|
|
5959
|
-
"name": "colors",
|
|
5960
|
-
"type": {
|
|
5961
|
-
"text": "string[]"
|
|
5962
|
-
},
|
|
5963
|
-
"privacy": "public",
|
|
5964
|
-
"default": "[]",
|
|
5965
|
-
"description": "The palette colors.",
|
|
5966
|
-
"attribute": "colors"
|
|
5967
|
-
},
|
|
5968
|
-
{
|
|
5969
|
-
"kind": "field",
|
|
5970
|
-
"name": "settings",
|
|
5971
|
-
"type": {
|
|
5972
|
-
"text": "PaletteSettings"
|
|
5973
|
-
},
|
|
5974
|
-
"privacy": "public",
|
|
5975
|
-
"default": "{ height: defaultSettings.height, width: defaultSettings.width, direction: defaultSettings.direction, gradient: defaultSettings.gradient, preventHover: defaultSettings.preventHover, hideText: defaultSettings.hideText, override: defaultSettings.override, aliases: [] }",
|
|
5976
|
-
"description": "The palette settings.",
|
|
5977
|
-
"attribute": "settings"
|
|
5978
|
-
},
|
|
5979
|
-
{
|
|
5980
|
-
"kind": "field",
|
|
5981
|
-
"name": "editMode",
|
|
5982
|
-
"type": {
|
|
5983
|
-
"text": "boolean"
|
|
5984
|
-
},
|
|
5985
|
-
"privacy": "public",
|
|
5986
|
-
"default": "false",
|
|
5987
|
-
"description": "Whether the palette is in edit mode.",
|
|
5988
|
-
"attribute": "editMode"
|
|
5989
|
-
},
|
|
5990
|
-
{
|
|
5991
|
-
"kind": "field",
|
|
5992
|
-
"name": "responsiveController",
|
|
5993
|
-
"privacy": "protected",
|
|
5994
|
-
"default": "new ResponsiveController(this, '1400px')"
|
|
5995
|
-
},
|
|
5996
|
-
{
|
|
5997
|
-
"kind": "field",
|
|
5998
|
-
"name": "isMobile",
|
|
5999
|
-
"description": "Whether the screen is mobile sized.",
|
|
6000
|
-
"readonly": true
|
|
6001
|
-
},
|
|
6002
|
-
{
|
|
6003
|
-
"kind": "method",
|
|
6004
|
-
"name": "handlePaletteChange",
|
|
6005
|
-
"parameters": [
|
|
6006
|
-
{
|
|
6007
|
-
"name": "{ detail: { colors } }",
|
|
6008
|
-
"type": {
|
|
6009
|
-
"text": "PaletteChangeEvent"
|
|
6010
|
-
}
|
|
6011
|
-
}
|
|
6012
|
-
]
|
|
6013
|
-
},
|
|
6014
|
-
{
|
|
6015
|
-
"kind": "method",
|
|
6016
|
-
"name": "handleEditMode",
|
|
6017
|
-
"parameters": [
|
|
6018
|
-
{
|
|
6019
|
-
"name": "{ detail: editMode }",
|
|
6020
|
-
"type": {
|
|
6021
|
-
"text": "CustomEvent<boolean>"
|
|
6022
|
-
}
|
|
6023
|
-
}
|
|
6024
|
-
]
|
|
6025
|
-
},
|
|
6026
|
-
{
|
|
6027
|
-
"kind": "method",
|
|
6028
|
-
"name": "handleOpenEditor"
|
|
6029
|
-
}
|
|
6030
|
-
],
|
|
6031
|
-
"attributes": [
|
|
6032
|
-
{
|
|
6033
|
-
"name": "colors",
|
|
6034
|
-
"type": {
|
|
6035
|
-
"text": "string[]"
|
|
6036
|
-
},
|
|
6037
|
-
"default": "[]",
|
|
6038
|
-
"description": "The palette colors.",
|
|
6039
|
-
"fieldName": "colors"
|
|
6040
|
-
},
|
|
6041
|
-
{
|
|
6042
|
-
"name": "settings",
|
|
6043
|
-
"type": {
|
|
6044
|
-
"text": "PaletteSettings"
|
|
6045
|
-
},
|
|
6046
|
-
"default": "{ height: defaultSettings.height, width: defaultSettings.width, direction: defaultSettings.direction, gradient: defaultSettings.gradient, preventHover: defaultSettings.preventHover, hideText: defaultSettings.hideText, override: defaultSettings.override, aliases: [] }",
|
|
6047
|
-
"description": "The palette settings.",
|
|
6048
|
-
"fieldName": "settings"
|
|
6049
|
-
},
|
|
6050
|
-
{
|
|
6051
|
-
"name": "editMode",
|
|
6052
|
-
"type": {
|
|
6053
|
-
"text": "boolean"
|
|
6054
|
-
},
|
|
6055
|
-
"default": "false",
|
|
6056
|
-
"description": "Whether the palette is in edit mode.",
|
|
6057
|
-
"fieldName": "editMode"
|
|
6058
|
-
}
|
|
6059
|
-
],
|
|
6060
|
-
"superclass": {
|
|
6061
|
-
"name": "LitElement",
|
|
6062
|
-
"package": "lit"
|
|
6063
|
-
},
|
|
6064
|
-
"tagName": "color-palette-component",
|
|
6065
|
-
"customElement": true
|
|
6066
|
-
}
|
|
6067
|
-
],
|
|
6068
|
-
"exports": [
|
|
6069
|
-
{
|
|
6070
|
-
"kind": "js",
|
|
6071
|
-
"name": "ColorPaletteComponent",
|
|
6072
|
-
"declaration": {
|
|
6073
|
-
"name": "ColorPaletteComponent",
|
|
6074
|
-
"module": "src/components/color-palette/component/color-palette-component.ts"
|
|
6075
|
-
}
|
|
6076
|
-
},
|
|
6077
|
-
{
|
|
6078
|
-
"kind": "custom-element-definition",
|
|
6079
|
-
"name": "color-palette-component",
|
|
6080
|
-
"declaration": {
|
|
6081
|
-
"name": "ColorPaletteComponent",
|
|
6082
|
-
"module": "src/components/color-palette/component/color-palette-component.ts"
|
|
6083
|
-
}
|
|
6084
|
-
}
|
|
6085
|
-
]
|
|
6086
|
-
},
|
|
6087
|
-
{
|
|
6088
|
-
"kind": "javascript-module",
|
|
6089
|
-
"path": "src/components/color-palette/editor/color-palette-editor.styles.ts",
|
|
6090
|
-
"declarations": [],
|
|
6091
|
-
"exports": [
|
|
6092
|
-
{
|
|
6093
|
-
"kind": "js",
|
|
6094
|
-
"name": "default",
|
|
6095
|
-
"declaration": {
|
|
6096
|
-
"module": "src/components/color-palette/editor/color-palette-editor.styles.ts"
|
|
6097
|
-
}
|
|
6098
|
-
}
|
|
6099
|
-
]
|
|
6100
|
-
},
|
|
6101
|
-
{
|
|
6102
|
-
"kind": "javascript-module",
|
|
6103
|
-
"path": "src/components/color-palette/editor/color-palette-editor.ts",
|
|
6103
|
+
"path": "src/components/color-palette/editor/color-palette-editor.ts",
|
|
6104
6104
|
"declarations": [
|
|
6105
6105
|
{
|
|
6106
6106
|
"kind": "class",
|
|
@@ -7317,231 +7317,372 @@
|
|
|
7317
7317
|
},
|
|
7318
7318
|
{
|
|
7319
7319
|
"kind": "javascript-module",
|
|
7320
|
-
"path": "
|
|
7320
|
+
"path": "src/components/color-palette/editor/options/picker-generate.ts",
|
|
7321
7321
|
"declarations": [
|
|
7322
7322
|
{
|
|
7323
|
-
"kind": "
|
|
7324
|
-
"
|
|
7325
|
-
"
|
|
7323
|
+
"kind": "class",
|
|
7324
|
+
"description": "Generates new colors upon user request for color-palette-editor.",
|
|
7325
|
+
"name": "PickerGenerate",
|
|
7326
|
+
"members": [
|
|
7326
7327
|
{
|
|
7327
|
-
"
|
|
7328
|
+
"kind": "field",
|
|
7329
|
+
"name": "settings",
|
|
7330
|
+
"type": {
|
|
7331
|
+
"text": "PaletteSettings"
|
|
7332
|
+
},
|
|
7333
|
+
"privacy": "public",
|
|
7334
|
+
"default": "{ height: defaultSettings.height, width: defaultSettings.width, direction: defaultSettings.direction, gradient: defaultSettings.gradient, preventHover: defaultSettings.preventHover, hideText: defaultSettings.hideText, override: defaultSettings.override, aliases: [] }",
|
|
7335
|
+
"description": "The palette settings to be edited.",
|
|
7336
|
+
"attribute": "settings"
|
|
7328
7337
|
},
|
|
7329
7338
|
{
|
|
7330
|
-
"
|
|
7331
|
-
"
|
|
7332
|
-
|
|
7333
|
-
|
|
7334
|
-
|
|
7335
|
-
|
|
7336
|
-
|
|
7337
|
-
|
|
7338
|
-
|
|
7339
|
-
|
|
7340
|
-
|
|
7341
|
-
|
|
7342
|
-
|
|
7343
|
-
|
|
7344
|
-
|
|
7339
|
+
"kind": "field",
|
|
7340
|
+
"name": "combination",
|
|
7341
|
+
"type": {
|
|
7342
|
+
"text": "Combination"
|
|
7343
|
+
},
|
|
7344
|
+
"privacy": "public",
|
|
7345
|
+
"description": "The color theory combination used when generating colors.",
|
|
7346
|
+
"attribute": "combination"
|
|
7347
|
+
},
|
|
7348
|
+
{
|
|
7349
|
+
"kind": "field",
|
|
7350
|
+
"name": "baseColor",
|
|
7351
|
+
"type": {
|
|
7352
|
+
"text": "ReturnType<typeof colorsea> | undefined"
|
|
7353
|
+
},
|
|
7354
|
+
"privacy": "public",
|
|
7355
|
+
"description": "The base color used when generating colors.",
|
|
7356
|
+
"attribute": "baseColor"
|
|
7357
|
+
}
|
|
7358
|
+
],
|
|
7359
|
+
"events": [
|
|
7360
|
+
{
|
|
7361
|
+
"type": {
|
|
7362
|
+
"text": "PaletteChangeEvent"
|
|
7363
|
+
}
|
|
7364
|
+
},
|
|
7365
|
+
{
|
|
7366
|
+
"description": "Emitted when new colors have been generated.",
|
|
7367
|
+
"name": "palette-change"
|
|
7368
|
+
}
|
|
7369
|
+
],
|
|
7370
|
+
"attributes": [
|
|
7371
|
+
{
|
|
7372
|
+
"name": "settings",
|
|
7373
|
+
"type": {
|
|
7374
|
+
"text": "PaletteSettings"
|
|
7375
|
+
},
|
|
7376
|
+
"default": "{ height: defaultSettings.height, width: defaultSettings.width, direction: defaultSettings.direction, gradient: defaultSettings.gradient, preventHover: defaultSettings.preventHover, hideText: defaultSettings.hideText, override: defaultSettings.override, aliases: [] }",
|
|
7377
|
+
"description": "The palette settings to be edited.",
|
|
7378
|
+
"fieldName": "settings"
|
|
7379
|
+
},
|
|
7380
|
+
{
|
|
7381
|
+
"name": "combination",
|
|
7382
|
+
"type": {
|
|
7383
|
+
"text": "Combination"
|
|
7384
|
+
},
|
|
7385
|
+
"description": "The color theory combination used when generating colors.",
|
|
7386
|
+
"fieldName": "combination"
|
|
7387
|
+
},
|
|
7388
|
+
{
|
|
7389
|
+
"name": "baseColor",
|
|
7390
|
+
"type": {
|
|
7391
|
+
"text": "ReturnType<typeof colorsea> | undefined"
|
|
7392
|
+
},
|
|
7393
|
+
"description": "The base color used when generating colors.",
|
|
7394
|
+
"fieldName": "baseColor"
|
|
7395
|
+
}
|
|
7396
|
+
],
|
|
7397
|
+
"superclass": {
|
|
7398
|
+
"name": "LitElement",
|
|
7399
|
+
"package": "lit"
|
|
7400
|
+
},
|
|
7401
|
+
"tagName": "picker-generate",
|
|
7402
|
+
"customElement": true
|
|
7403
|
+
}
|
|
7404
|
+
],
|
|
7405
|
+
"exports": [
|
|
7406
|
+
{
|
|
7407
|
+
"kind": "js",
|
|
7408
|
+
"name": "PickerGenerate",
|
|
7409
|
+
"declaration": {
|
|
7410
|
+
"name": "PickerGenerate",
|
|
7411
|
+
"module": "src/components/color-palette/editor/options/picker-generate.ts"
|
|
7412
|
+
}
|
|
7413
|
+
},
|
|
7414
|
+
{
|
|
7415
|
+
"kind": "custom-element-definition",
|
|
7416
|
+
"name": "picker-generate",
|
|
7417
|
+
"declaration": {
|
|
7418
|
+
"name": "PickerGenerate",
|
|
7419
|
+
"module": "src/components/color-palette/editor/options/picker-generate.ts"
|
|
7420
|
+
}
|
|
7421
|
+
}
|
|
7345
7422
|
]
|
|
7346
7423
|
},
|
|
7347
7424
|
{
|
|
7348
7425
|
"kind": "javascript-module",
|
|
7349
|
-
"path": "
|
|
7426
|
+
"path": "src/components/color-palette/editor/options/picker-image.ts",
|
|
7350
7427
|
"declarations": [
|
|
7351
7428
|
{
|
|
7352
7429
|
"kind": "class",
|
|
7353
|
-
"description": "",
|
|
7354
|
-
"name": "
|
|
7430
|
+
"description": "Lets users choose an image to take colors from for color-palette-editor.",
|
|
7431
|
+
"name": "PickerImage",
|
|
7355
7432
|
"members": [
|
|
7356
7433
|
{
|
|
7357
7434
|
"kind": "field",
|
|
7358
|
-
"name": "
|
|
7435
|
+
"name": "_canvas",
|
|
7436
|
+
"type": {
|
|
7437
|
+
"text": "CanvasImage"
|
|
7438
|
+
},
|
|
7359
7439
|
"privacy": "private"
|
|
7360
7440
|
},
|
|
7361
7441
|
{
|
|
7362
7442
|
"kind": "field",
|
|
7363
|
-
"name": "
|
|
7443
|
+
"name": "_tooltip",
|
|
7444
|
+
"type": {
|
|
7445
|
+
"text": "ToolTip"
|
|
7446
|
+
},
|
|
7364
7447
|
"privacy": "private"
|
|
7365
7448
|
},
|
|
7366
7449
|
{
|
|
7367
7450
|
"kind": "field",
|
|
7368
|
-
"name": "
|
|
7369
|
-
"
|
|
7370
|
-
|
|
7451
|
+
"name": "_urlInput",
|
|
7452
|
+
"type": {
|
|
7453
|
+
"text": "HTMLInputElement"
|
|
7454
|
+
},
|
|
7455
|
+
"privacy": "private"
|
|
7371
7456
|
},
|
|
7372
7457
|
{
|
|
7373
7458
|
"kind": "field",
|
|
7374
|
-
"name": "
|
|
7375
|
-
"
|
|
7376
|
-
|
|
7459
|
+
"name": "_fileInput",
|
|
7460
|
+
"type": {
|
|
7461
|
+
"text": "HTMLInputElement"
|
|
7462
|
+
},
|
|
7463
|
+
"privacy": "private"
|
|
7377
7464
|
},
|
|
7378
7465
|
{
|
|
7379
7466
|
"kind": "field",
|
|
7380
|
-
"name": "
|
|
7467
|
+
"name": "width",
|
|
7381
7468
|
"type": {
|
|
7382
|
-
"text": "
|
|
7469
|
+
"text": "number"
|
|
7383
7470
|
},
|
|
7384
|
-
"
|
|
7385
|
-
"default": "
|
|
7471
|
+
"privacy": "public",
|
|
7472
|
+
"default": "0",
|
|
7473
|
+
"description": "The width of the canvas.",
|
|
7474
|
+
"attribute": "width"
|
|
7386
7475
|
},
|
|
7387
7476
|
{
|
|
7388
|
-
"kind": "
|
|
7389
|
-
"name": "
|
|
7390
|
-
"
|
|
7477
|
+
"kind": "field",
|
|
7478
|
+
"name": "height",
|
|
7479
|
+
"type": {
|
|
7480
|
+
"text": "number"
|
|
7481
|
+
},
|
|
7482
|
+
"privacy": "public",
|
|
7483
|
+
"default": "0",
|
|
7484
|
+
"description": "The height of the canvas.",
|
|
7485
|
+
"attribute": "height"
|
|
7391
7486
|
},
|
|
7392
7487
|
{
|
|
7393
7488
|
"kind": "field",
|
|
7394
|
-
"name": "
|
|
7395
|
-
"
|
|
7489
|
+
"name": "_fileURL",
|
|
7490
|
+
"type": {
|
|
7491
|
+
"text": "string"
|
|
7492
|
+
},
|
|
7493
|
+
"privacy": "private",
|
|
7494
|
+
"default": "''",
|
|
7495
|
+
"description": "The user input file URL (if there is one)."
|
|
7396
7496
|
},
|
|
7397
7497
|
{
|
|
7398
7498
|
"kind": "field",
|
|
7399
|
-
"name": "
|
|
7499
|
+
"name": "_count",
|
|
7500
|
+
"type": {
|
|
7501
|
+
"text": "number"
|
|
7502
|
+
},
|
|
7503
|
+
"privacy": "private",
|
|
7504
|
+
"default": "8",
|
|
7505
|
+
"description": "The number of colors the retrieve from the image."
|
|
7400
7506
|
},
|
|
7401
7507
|
{
|
|
7402
|
-
"kind": "
|
|
7403
|
-
"name": "
|
|
7404
|
-
"
|
|
7508
|
+
"kind": "method",
|
|
7509
|
+
"name": "_onFileChange",
|
|
7510
|
+
"privacy": "private",
|
|
7511
|
+
"parameters": [
|
|
7512
|
+
{
|
|
7513
|
+
"name": "e",
|
|
7514
|
+
"type": {
|
|
7515
|
+
"text": "Event"
|
|
7516
|
+
}
|
|
7517
|
+
}
|
|
7518
|
+
]
|
|
7405
7519
|
},
|
|
7406
7520
|
{
|
|
7407
|
-
"kind": "
|
|
7408
|
-
"
|
|
7521
|
+
"kind": "method",
|
|
7522
|
+
"name": "_updatePalette",
|
|
7523
|
+
"privacy": "private"
|
|
7409
7524
|
}
|
|
7410
|
-
]
|
|
7525
|
+
],
|
|
7526
|
+
"events": [
|
|
7527
|
+
{
|
|
7528
|
+
"name": "select",
|
|
7529
|
+
"type": {
|
|
7530
|
+
"text": "CustomEvent"
|
|
7531
|
+
},
|
|
7532
|
+
"description": "Emitted when a color on the canvas has been selected."
|
|
7533
|
+
},
|
|
7534
|
+
{
|
|
7535
|
+
"type": {
|
|
7536
|
+
"text": "PaletteChangeEvent"
|
|
7537
|
+
}
|
|
7538
|
+
},
|
|
7539
|
+
{
|
|
7540
|
+
"description": "Emitted when new colors have been chosen.",
|
|
7541
|
+
"name": "palette-change"
|
|
7542
|
+
}
|
|
7543
|
+
],
|
|
7544
|
+
"attributes": [
|
|
7545
|
+
{
|
|
7546
|
+
"name": "width",
|
|
7547
|
+
"type": {
|
|
7548
|
+
"text": "number"
|
|
7549
|
+
},
|
|
7550
|
+
"default": "0",
|
|
7551
|
+
"description": "The width of the canvas.",
|
|
7552
|
+
"fieldName": "width"
|
|
7553
|
+
},
|
|
7554
|
+
{
|
|
7555
|
+
"name": "height",
|
|
7556
|
+
"type": {
|
|
7557
|
+
"text": "number"
|
|
7558
|
+
},
|
|
7559
|
+
"default": "0",
|
|
7560
|
+
"description": "The height of the canvas.",
|
|
7561
|
+
"fieldName": "height"
|
|
7562
|
+
}
|
|
7563
|
+
],
|
|
7564
|
+
"superclass": {
|
|
7565
|
+
"name": "LitElement",
|
|
7566
|
+
"package": "lit"
|
|
7567
|
+
},
|
|
7568
|
+
"tagName": "picker-image",
|
|
7569
|
+
"customElement": true
|
|
7411
7570
|
}
|
|
7412
7571
|
],
|
|
7413
7572
|
"exports": [
|
|
7414
7573
|
{
|
|
7415
7574
|
"kind": "js",
|
|
7416
|
-
"name": "
|
|
7575
|
+
"name": "PickerImage",
|
|
7417
7576
|
"declaration": {
|
|
7418
|
-
"name": "
|
|
7419
|
-
"module": "
|
|
7577
|
+
"name": "PickerImage",
|
|
7578
|
+
"module": "src/components/color-palette/editor/options/picker-image.ts"
|
|
7579
|
+
}
|
|
7580
|
+
},
|
|
7581
|
+
{
|
|
7582
|
+
"kind": "custom-element-definition",
|
|
7583
|
+
"name": "picker-image",
|
|
7584
|
+
"declaration": {
|
|
7585
|
+
"name": "PickerImage",
|
|
7586
|
+
"module": "src/components/color-palette/editor/options/picker-image.ts"
|
|
7420
7587
|
}
|
|
7421
7588
|
}
|
|
7422
7589
|
]
|
|
7423
7590
|
},
|
|
7424
7591
|
{
|
|
7425
7592
|
"kind": "javascript-module",
|
|
7426
|
-
"path": "
|
|
7593
|
+
"path": "src/components/color-palette/editor/options/picker-manual.ts",
|
|
7427
7594
|
"declarations": [
|
|
7428
7595
|
{
|
|
7429
|
-
"kind": "
|
|
7430
|
-
"
|
|
7431
|
-
"
|
|
7432
|
-
|
|
7433
|
-
|
|
7434
|
-
},
|
|
7435
|
-
{
|
|
7436
|
-
"name": "n",
|
|
7437
|
-
"default": "{}"
|
|
7438
|
-
},
|
|
7596
|
+
"kind": "class",
|
|
7597
|
+
"description": "Allows users to manually choose colors for color-palette-editor.",
|
|
7598
|
+
"name": "PickerManual",
|
|
7599
|
+
"members": [],
|
|
7600
|
+
"events": [
|
|
7439
7601
|
{
|
|
7440
|
-
"name": "
|
|
7441
|
-
"
|
|
7602
|
+
"name": "change",
|
|
7603
|
+
"type": {
|
|
7604
|
+
"text": "string"
|
|
7605
|
+
},
|
|
7606
|
+
"description": "Emitted when a new color has been selected."
|
|
7442
7607
|
}
|
|
7443
|
-
]
|
|
7608
|
+
],
|
|
7609
|
+
"superclass": {
|
|
7610
|
+
"name": "LitElement",
|
|
7611
|
+
"package": "lit"
|
|
7612
|
+
},
|
|
7613
|
+
"tagName": "picker-manual",
|
|
7614
|
+
"customElement": true
|
|
7444
7615
|
}
|
|
7445
7616
|
],
|
|
7446
7617
|
"exports": [
|
|
7447
7618
|
{
|
|
7448
7619
|
"kind": "js",
|
|
7449
|
-
"name": "
|
|
7620
|
+
"name": "PickerManual",
|
|
7450
7621
|
"declaration": {
|
|
7451
|
-
"name": "
|
|
7452
|
-
"module": "
|
|
7622
|
+
"name": "PickerManual",
|
|
7623
|
+
"module": "src/components/color-palette/editor/options/picker-manual.ts"
|
|
7453
7624
|
}
|
|
7454
|
-
}
|
|
7455
|
-
]
|
|
7456
|
-
},
|
|
7457
|
-
{
|
|
7458
|
-
"kind": "javascript-module",
|
|
7459
|
-
"path": "dist/node_modules/style-observer/src/util/is-registered-property.js",
|
|
7460
|
-
"declarations": [
|
|
7461
|
-
{
|
|
7462
|
-
"kind": "function",
|
|
7463
|
-
"name": "n",
|
|
7464
|
-
"parameters": [
|
|
7465
|
-
{
|
|
7466
|
-
"name": "t"
|
|
7467
|
-
},
|
|
7468
|
-
{
|
|
7469
|
-
"name": "l",
|
|
7470
|
-
"default": "globalThis.document"
|
|
7471
|
-
}
|
|
7472
|
-
]
|
|
7473
|
-
}
|
|
7474
|
-
],
|
|
7475
|
-
"exports": [
|
|
7625
|
+
},
|
|
7476
7626
|
{
|
|
7477
|
-
"kind": "
|
|
7478
|
-
"name": "
|
|
7627
|
+
"kind": "custom-element-definition",
|
|
7628
|
+
"name": "picker-manual",
|
|
7479
7629
|
"declaration": {
|
|
7480
|
-
"name": "
|
|
7481
|
-
"module": "
|
|
7630
|
+
"name": "PickerManual",
|
|
7631
|
+
"module": "src/components/color-palette/editor/options/picker-manual.ts"
|
|
7482
7632
|
}
|
|
7483
7633
|
}
|
|
7484
7634
|
]
|
|
7485
7635
|
},
|
|
7486
7636
|
{
|
|
7487
7637
|
"kind": "javascript-module",
|
|
7488
|
-
"path": "
|
|
7638
|
+
"path": "src/components/color-palette/editor/options/picker-url.ts",
|
|
7489
7639
|
"declarations": [
|
|
7490
7640
|
{
|
|
7491
7641
|
"kind": "class",
|
|
7492
|
-
"description": "",
|
|
7493
|
-
"name": "
|
|
7642
|
+
"description": "Selects colors from a user provided URL for color-palette-editor.",
|
|
7643
|
+
"name": "PickerUrl",
|
|
7494
7644
|
"members": [
|
|
7495
7645
|
{
|
|
7496
|
-
"kind": "
|
|
7497
|
-
"name": "
|
|
7498
|
-
"
|
|
7499
|
-
|
|
7500
|
-
|
|
7501
|
-
|
|
7502
|
-
|
|
7503
|
-
|
|
7504
|
-
|
|
7505
|
-
]
|
|
7506
|
-
},
|
|
7507
|
-
{
|
|
7508
|
-
"kind": "method",
|
|
7509
|
-
"name": "add",
|
|
7510
|
-
"parameters": [
|
|
7511
|
-
{
|
|
7512
|
-
"name": "e"
|
|
7513
|
-
},
|
|
7514
|
-
{
|
|
7515
|
-
"name": "s"
|
|
7516
|
-
}
|
|
7517
|
-
]
|
|
7518
|
-
},
|
|
7646
|
+
"kind": "field",
|
|
7647
|
+
"name": "_input",
|
|
7648
|
+
"type": {
|
|
7649
|
+
"text": "HTMLInputElement"
|
|
7650
|
+
},
|
|
7651
|
+
"privacy": "private"
|
|
7652
|
+
}
|
|
7653
|
+
],
|
|
7654
|
+
"events": [
|
|
7519
7655
|
{
|
|
7520
|
-
"
|
|
7521
|
-
"
|
|
7522
|
-
|
|
7523
|
-
|
|
7524
|
-
|
|
7525
|
-
},
|
|
7526
|
-
{
|
|
7527
|
-
"name": "s"
|
|
7528
|
-
}
|
|
7529
|
-
]
|
|
7656
|
+
"name": "change",
|
|
7657
|
+
"type": {
|
|
7658
|
+
"text": "string[]"
|
|
7659
|
+
},
|
|
7660
|
+
"description": "Emits the colors gathered from the URL."
|
|
7530
7661
|
}
|
|
7531
7662
|
],
|
|
7532
7663
|
"superclass": {
|
|
7533
|
-
"name": "
|
|
7534
|
-
"
|
|
7535
|
-
}
|
|
7664
|
+
"name": "LitElement",
|
|
7665
|
+
"package": "lit"
|
|
7666
|
+
},
|
|
7667
|
+
"tagName": "picker-url",
|
|
7668
|
+
"customElement": true
|
|
7536
7669
|
}
|
|
7537
7670
|
],
|
|
7538
7671
|
"exports": [
|
|
7539
7672
|
{
|
|
7540
7673
|
"kind": "js",
|
|
7541
|
-
"name": "
|
|
7674
|
+
"name": "PickerUrl",
|
|
7542
7675
|
"declaration": {
|
|
7543
|
-
"name": "
|
|
7544
|
-
"module": "
|
|
7676
|
+
"name": "PickerUrl",
|
|
7677
|
+
"module": "src/components/color-palette/editor/options/picker-url.ts"
|
|
7678
|
+
}
|
|
7679
|
+
},
|
|
7680
|
+
{
|
|
7681
|
+
"kind": "custom-element-definition",
|
|
7682
|
+
"name": "picker-url",
|
|
7683
|
+
"declaration": {
|
|
7684
|
+
"name": "PickerUrl",
|
|
7685
|
+
"module": "src/components/color-palette/editor/options/picker-url.ts"
|
|
7545
7686
|
}
|
|
7546
7687
|
}
|
|
7547
7688
|
]
|
|
@@ -7632,372 +7773,231 @@
|
|
|
7632
7773
|
},
|
|
7633
7774
|
{
|
|
7634
7775
|
"kind": "javascript-module",
|
|
7635
|
-
"path": "
|
|
7776
|
+
"path": "dist/node_modules/style-observer/src/util/adopt-css.js",
|
|
7636
7777
|
"declarations": [
|
|
7637
7778
|
{
|
|
7638
|
-
"kind": "
|
|
7639
|
-
"
|
|
7640
|
-
"
|
|
7641
|
-
"members": [
|
|
7642
|
-
{
|
|
7643
|
-
"kind": "field",
|
|
7644
|
-
"name": "settings",
|
|
7645
|
-
"type": {
|
|
7646
|
-
"text": "PaletteSettings"
|
|
7647
|
-
},
|
|
7648
|
-
"privacy": "public",
|
|
7649
|
-
"default": "{ height: defaultSettings.height, width: defaultSettings.width, direction: defaultSettings.direction, gradient: defaultSettings.gradient, preventHover: defaultSettings.preventHover, hideText: defaultSettings.hideText, override: defaultSettings.override, aliases: [] }",
|
|
7650
|
-
"description": "The palette settings to be edited.",
|
|
7651
|
-
"attribute": "settings"
|
|
7652
|
-
},
|
|
7653
|
-
{
|
|
7654
|
-
"kind": "field",
|
|
7655
|
-
"name": "combination",
|
|
7656
|
-
"type": {
|
|
7657
|
-
"text": "Combination"
|
|
7658
|
-
},
|
|
7659
|
-
"privacy": "public",
|
|
7660
|
-
"description": "The color theory combination used when generating colors.",
|
|
7661
|
-
"attribute": "combination"
|
|
7662
|
-
},
|
|
7663
|
-
{
|
|
7664
|
-
"kind": "field",
|
|
7665
|
-
"name": "baseColor",
|
|
7666
|
-
"type": {
|
|
7667
|
-
"text": "ReturnType<typeof colorsea> | undefined"
|
|
7668
|
-
},
|
|
7669
|
-
"privacy": "public",
|
|
7670
|
-
"description": "The base color used when generating colors.",
|
|
7671
|
-
"attribute": "baseColor"
|
|
7672
|
-
}
|
|
7673
|
-
],
|
|
7674
|
-
"events": [
|
|
7675
|
-
{
|
|
7676
|
-
"type": {
|
|
7677
|
-
"text": "PaletteChangeEvent"
|
|
7678
|
-
}
|
|
7679
|
-
},
|
|
7680
|
-
{
|
|
7681
|
-
"description": "Emitted when new colors have been generated.",
|
|
7682
|
-
"name": "palette-change"
|
|
7683
|
-
}
|
|
7684
|
-
],
|
|
7685
|
-
"attributes": [
|
|
7686
|
-
{
|
|
7687
|
-
"name": "settings",
|
|
7688
|
-
"type": {
|
|
7689
|
-
"text": "PaletteSettings"
|
|
7690
|
-
},
|
|
7691
|
-
"default": "{ height: defaultSettings.height, width: defaultSettings.width, direction: defaultSettings.direction, gradient: defaultSettings.gradient, preventHover: defaultSettings.preventHover, hideText: defaultSettings.hideText, override: defaultSettings.override, aliases: [] }",
|
|
7692
|
-
"description": "The palette settings to be edited.",
|
|
7693
|
-
"fieldName": "settings"
|
|
7694
|
-
},
|
|
7779
|
+
"kind": "function",
|
|
7780
|
+
"name": "n",
|
|
7781
|
+
"parameters": [
|
|
7695
7782
|
{
|
|
7696
|
-
"name": "
|
|
7697
|
-
"type": {
|
|
7698
|
-
"text": "Combination"
|
|
7699
|
-
},
|
|
7700
|
-
"description": "The color theory combination used when generating colors.",
|
|
7701
|
-
"fieldName": "combination"
|
|
7783
|
+
"name": "l"
|
|
7702
7784
|
},
|
|
7703
7785
|
{
|
|
7704
|
-
"name": "
|
|
7705
|
-
"
|
|
7706
|
-
"text": "ReturnType<typeof colorsea> | undefined"
|
|
7707
|
-
},
|
|
7708
|
-
"description": "The base color used when generating colors.",
|
|
7709
|
-
"fieldName": "baseColor"
|
|
7786
|
+
"name": "e",
|
|
7787
|
+
"default": "globalThis.document"
|
|
7710
7788
|
}
|
|
7711
|
-
]
|
|
7712
|
-
"superclass": {
|
|
7713
|
-
"name": "LitElement",
|
|
7714
|
-
"package": "lit"
|
|
7715
|
-
},
|
|
7716
|
-
"tagName": "picker-generate",
|
|
7717
|
-
"customElement": true
|
|
7789
|
+
]
|
|
7718
7790
|
}
|
|
7719
7791
|
],
|
|
7720
7792
|
"exports": [
|
|
7721
7793
|
{
|
|
7722
7794
|
"kind": "js",
|
|
7723
|
-
"name": "
|
|
7724
|
-
"declaration": {
|
|
7725
|
-
"name": "PickerGenerate",
|
|
7726
|
-
"module": "src/components/color-palette/editor/options/picker-generate.ts"
|
|
7727
|
-
}
|
|
7728
|
-
},
|
|
7729
|
-
{
|
|
7730
|
-
"kind": "custom-element-definition",
|
|
7731
|
-
"name": "picker-generate",
|
|
7795
|
+
"name": "default",
|
|
7732
7796
|
"declaration": {
|
|
7733
|
-
"name": "
|
|
7734
|
-
"module": "
|
|
7797
|
+
"name": "n",
|
|
7798
|
+
"module": "dist/node_modules/style-observer/src/util/adopt-css.js"
|
|
7735
7799
|
}
|
|
7736
7800
|
}
|
|
7737
7801
|
]
|
|
7738
7802
|
},
|
|
7739
7803
|
{
|
|
7740
7804
|
"kind": "javascript-module",
|
|
7741
|
-
"path": "
|
|
7805
|
+
"path": "dist/node_modules/style-observer/src/util/Bug.js",
|
|
7742
7806
|
"declarations": [
|
|
7743
7807
|
{
|
|
7744
7808
|
"kind": "class",
|
|
7745
|
-
"description": "
|
|
7746
|
-
"name": "
|
|
7809
|
+
"description": "",
|
|
7810
|
+
"name": "t",
|
|
7747
7811
|
"members": [
|
|
7748
7812
|
{
|
|
7749
7813
|
"kind": "field",
|
|
7750
|
-
"name": "
|
|
7751
|
-
"type": {
|
|
7752
|
-
"text": "CanvasImage"
|
|
7753
|
-
},
|
|
7754
|
-
"privacy": "private"
|
|
7755
|
-
},
|
|
7756
|
-
{
|
|
7757
|
-
"kind": "field",
|
|
7758
|
-
"name": "_tooltip",
|
|
7759
|
-
"type": {
|
|
7760
|
-
"text": "ToolTip"
|
|
7761
|
-
},
|
|
7762
|
-
"privacy": "private"
|
|
7763
|
-
},
|
|
7764
|
-
{
|
|
7765
|
-
"kind": "field",
|
|
7766
|
-
"name": "_urlInput",
|
|
7767
|
-
"type": {
|
|
7768
|
-
"text": "HTMLInputElement"
|
|
7769
|
-
},
|
|
7770
|
-
"privacy": "private"
|
|
7771
|
-
},
|
|
7772
|
-
{
|
|
7773
|
-
"kind": "field",
|
|
7774
|
-
"name": "_fileInput",
|
|
7775
|
-
"type": {
|
|
7776
|
-
"text": "HTMLInputElement"
|
|
7777
|
-
},
|
|
7814
|
+
"name": "#t",
|
|
7778
7815
|
"privacy": "private"
|
|
7779
7816
|
},
|
|
7780
7817
|
{
|
|
7781
|
-
"kind": "field",
|
|
7782
|
-
"name": "
|
|
7783
|
-
"
|
|
7784
|
-
"text": "number"
|
|
7785
|
-
},
|
|
7786
|
-
"privacy": "public",
|
|
7787
|
-
"default": "0",
|
|
7788
|
-
"description": "The width of the canvas.",
|
|
7789
|
-
"attribute": "width"
|
|
7818
|
+
"kind": "field",
|
|
7819
|
+
"name": "#e",
|
|
7820
|
+
"privacy": "private"
|
|
7790
7821
|
},
|
|
7791
7822
|
{
|
|
7792
7823
|
"kind": "field",
|
|
7793
|
-
"name": "
|
|
7794
|
-
"
|
|
7795
|
-
|
|
7796
|
-
},
|
|
7797
|
-
"privacy": "public",
|
|
7798
|
-
"default": "0",
|
|
7799
|
-
"description": "The height of the canvas.",
|
|
7800
|
-
"attribute": "height"
|
|
7824
|
+
"name": "valuePending",
|
|
7825
|
+
"description": "Get whether the bug is present or not, or a promise that will resolve to this value when detection is complete.",
|
|
7826
|
+
"readonly": true
|
|
7801
7827
|
},
|
|
7802
7828
|
{
|
|
7803
7829
|
"kind": "field",
|
|
7804
|
-
"name": "
|
|
7805
|
-
"
|
|
7806
|
-
|
|
7807
|
-
},
|
|
7808
|
-
"privacy": "private",
|
|
7809
|
-
"default": "''",
|
|
7810
|
-
"description": "The user input file URL (if there is one)."
|
|
7830
|
+
"name": "value",
|
|
7831
|
+
"description": "Synchronously get either whether the bug is present (if already detected or detection is sync)\nor kick off detection and return the initial value if detection is async",
|
|
7832
|
+
"readonly": true
|
|
7811
7833
|
},
|
|
7812
7834
|
{
|
|
7813
7835
|
"kind": "field",
|
|
7814
|
-
"name": "
|
|
7836
|
+
"name": "all",
|
|
7815
7837
|
"type": {
|
|
7816
|
-
"text": "
|
|
7838
|
+
"text": "object"
|
|
7817
7839
|
},
|
|
7818
|
-
"
|
|
7819
|
-
"default": "
|
|
7820
|
-
"description": "The number of colors the retrieve from the image."
|
|
7840
|
+
"static": true,
|
|
7841
|
+
"default": "{}"
|
|
7821
7842
|
},
|
|
7822
7843
|
{
|
|
7823
7844
|
"kind": "method",
|
|
7824
|
-
"name": "
|
|
7825
|
-
"
|
|
7826
|
-
"parameters": [
|
|
7827
|
-
{
|
|
7828
|
-
"name": "e",
|
|
7829
|
-
"type": {
|
|
7830
|
-
"text": "Event"
|
|
7831
|
-
}
|
|
7832
|
-
}
|
|
7833
|
-
]
|
|
7845
|
+
"name": "detectAll",
|
|
7846
|
+
"static": true
|
|
7834
7847
|
},
|
|
7835
7848
|
{
|
|
7836
|
-
"kind": "
|
|
7837
|
-
"name": "
|
|
7838
|
-
"
|
|
7839
|
-
}
|
|
7840
|
-
],
|
|
7841
|
-
"events": [
|
|
7842
|
-
{
|
|
7843
|
-
"name": "select",
|
|
7844
|
-
"type": {
|
|
7845
|
-
"text": "CustomEvent"
|
|
7846
|
-
},
|
|
7847
|
-
"description": "Emitted when a color on the canvas has been selected."
|
|
7849
|
+
"kind": "field",
|
|
7850
|
+
"name": "name",
|
|
7851
|
+
"default": "e"
|
|
7848
7852
|
},
|
|
7849
7853
|
{
|
|
7850
|
-
"
|
|
7851
|
-
|
|
7852
|
-
}
|
|
7854
|
+
"kind": "field",
|
|
7855
|
+
"name": "initialValue"
|
|
7853
7856
|
},
|
|
7854
7857
|
{
|
|
7855
|
-
"
|
|
7856
|
-
"name": "
|
|
7857
|
-
|
|
7858
|
-
],
|
|
7859
|
-
"attributes": [
|
|
7860
|
-
{
|
|
7861
|
-
"name": "width",
|
|
7862
|
-
"type": {
|
|
7863
|
-
"text": "number"
|
|
7864
|
-
},
|
|
7865
|
-
"default": "0",
|
|
7866
|
-
"description": "The width of the canvas.",
|
|
7867
|
-
"fieldName": "width"
|
|
7858
|
+
"kind": "field",
|
|
7859
|
+
"name": "detect",
|
|
7860
|
+
"default": "s"
|
|
7868
7861
|
},
|
|
7869
7862
|
{
|
|
7870
|
-
"
|
|
7871
|
-
"
|
|
7872
|
-
"text": "number"
|
|
7873
|
-
},
|
|
7874
|
-
"default": "0",
|
|
7875
|
-
"description": "The height of the canvas.",
|
|
7876
|
-
"fieldName": "height"
|
|
7863
|
+
"kind": "field",
|
|
7864
|
+
"default": "this"
|
|
7877
7865
|
}
|
|
7878
|
-
]
|
|
7879
|
-
"superclass": {
|
|
7880
|
-
"name": "LitElement",
|
|
7881
|
-
"package": "lit"
|
|
7882
|
-
},
|
|
7883
|
-
"tagName": "picker-image",
|
|
7884
|
-
"customElement": true
|
|
7866
|
+
]
|
|
7885
7867
|
}
|
|
7886
7868
|
],
|
|
7887
7869
|
"exports": [
|
|
7888
7870
|
{
|
|
7889
7871
|
"kind": "js",
|
|
7890
|
-
"name": "
|
|
7891
|
-
"declaration": {
|
|
7892
|
-
"name": "PickerImage",
|
|
7893
|
-
"module": "src/components/color-palette/editor/options/picker-image.ts"
|
|
7894
|
-
}
|
|
7895
|
-
},
|
|
7896
|
-
{
|
|
7897
|
-
"kind": "custom-element-definition",
|
|
7898
|
-
"name": "picker-image",
|
|
7872
|
+
"name": "default",
|
|
7899
7873
|
"declaration": {
|
|
7900
|
-
"name": "
|
|
7901
|
-
"module": "
|
|
7874
|
+
"name": "t",
|
|
7875
|
+
"module": "dist/node_modules/style-observer/src/util/Bug.js"
|
|
7902
7876
|
}
|
|
7903
7877
|
}
|
|
7904
7878
|
]
|
|
7905
7879
|
},
|
|
7906
7880
|
{
|
|
7907
7881
|
"kind": "javascript-module",
|
|
7908
|
-
"path": "
|
|
7882
|
+
"path": "dist/node_modules/style-observer/src/util/gentle-register-property.js",
|
|
7909
7883
|
"declarations": [
|
|
7910
7884
|
{
|
|
7911
|
-
"kind": "
|
|
7912
|
-
"
|
|
7913
|
-
"
|
|
7914
|
-
"members": [],
|
|
7915
|
-
"events": [
|
|
7885
|
+
"kind": "function",
|
|
7886
|
+
"name": "f",
|
|
7887
|
+
"parameters": [
|
|
7916
7888
|
{
|
|
7917
|
-
"name": "
|
|
7918
|
-
|
|
7919
|
-
|
|
7920
|
-
|
|
7921
|
-
"
|
|
7889
|
+
"name": "t"
|
|
7890
|
+
},
|
|
7891
|
+
{
|
|
7892
|
+
"name": "n",
|
|
7893
|
+
"default": "{}"
|
|
7894
|
+
},
|
|
7895
|
+
{
|
|
7896
|
+
"name": "r",
|
|
7897
|
+
"default": "globalThis.document"
|
|
7922
7898
|
}
|
|
7923
|
-
]
|
|
7924
|
-
"superclass": {
|
|
7925
|
-
"name": "LitElement",
|
|
7926
|
-
"package": "lit"
|
|
7927
|
-
},
|
|
7928
|
-
"tagName": "picker-manual",
|
|
7929
|
-
"customElement": true
|
|
7899
|
+
]
|
|
7930
7900
|
}
|
|
7931
7901
|
],
|
|
7932
7902
|
"exports": [
|
|
7933
7903
|
{
|
|
7934
7904
|
"kind": "js",
|
|
7935
|
-
"name": "
|
|
7905
|
+
"name": "default",
|
|
7936
7906
|
"declaration": {
|
|
7937
|
-
"name": "
|
|
7938
|
-
"module": "
|
|
7907
|
+
"name": "f",
|
|
7908
|
+
"module": "dist/node_modules/style-observer/src/util/gentle-register-property.js"
|
|
7939
7909
|
}
|
|
7940
|
-
}
|
|
7910
|
+
}
|
|
7911
|
+
]
|
|
7912
|
+
},
|
|
7913
|
+
{
|
|
7914
|
+
"kind": "javascript-module",
|
|
7915
|
+
"path": "dist/node_modules/style-observer/src/util/is-registered-property.js",
|
|
7916
|
+
"declarations": [
|
|
7941
7917
|
{
|
|
7942
|
-
"kind": "
|
|
7943
|
-
"name": "
|
|
7918
|
+
"kind": "function",
|
|
7919
|
+
"name": "n",
|
|
7920
|
+
"parameters": [
|
|
7921
|
+
{
|
|
7922
|
+
"name": "t"
|
|
7923
|
+
},
|
|
7924
|
+
{
|
|
7925
|
+
"name": "l",
|
|
7926
|
+
"default": "globalThis.document"
|
|
7927
|
+
}
|
|
7928
|
+
]
|
|
7929
|
+
}
|
|
7930
|
+
],
|
|
7931
|
+
"exports": [
|
|
7932
|
+
{
|
|
7933
|
+
"kind": "js",
|
|
7934
|
+
"name": "default",
|
|
7944
7935
|
"declaration": {
|
|
7945
|
-
"name": "
|
|
7946
|
-
"module": "
|
|
7936
|
+
"name": "n",
|
|
7937
|
+
"module": "dist/node_modules/style-observer/src/util/is-registered-property.js"
|
|
7947
7938
|
}
|
|
7948
7939
|
}
|
|
7949
7940
|
]
|
|
7950
7941
|
},
|
|
7951
7942
|
{
|
|
7952
7943
|
"kind": "javascript-module",
|
|
7953
|
-
"path": "
|
|
7944
|
+
"path": "dist/node_modules/style-observer/src/util/MultiWeakMap.js",
|
|
7954
7945
|
"declarations": [
|
|
7955
7946
|
{
|
|
7956
7947
|
"kind": "class",
|
|
7957
|
-
"description": "
|
|
7958
|
-
"name": "
|
|
7948
|
+
"description": "",
|
|
7949
|
+
"name": "r",
|
|
7959
7950
|
"members": [
|
|
7960
7951
|
{
|
|
7961
|
-
"kind": "
|
|
7962
|
-
"name": "
|
|
7963
|
-
"
|
|
7964
|
-
|
|
7965
|
-
|
|
7966
|
-
|
|
7967
|
-
|
|
7968
|
-
|
|
7969
|
-
|
|
7952
|
+
"kind": "method",
|
|
7953
|
+
"name": "has",
|
|
7954
|
+
"parameters": [
|
|
7955
|
+
{
|
|
7956
|
+
"name": "e"
|
|
7957
|
+
},
|
|
7958
|
+
{
|
|
7959
|
+
"name": "s"
|
|
7960
|
+
}
|
|
7961
|
+
]
|
|
7962
|
+
},
|
|
7970
7963
|
{
|
|
7971
|
-
"
|
|
7972
|
-
"
|
|
7973
|
-
|
|
7974
|
-
|
|
7975
|
-
|
|
7964
|
+
"kind": "method",
|
|
7965
|
+
"name": "add",
|
|
7966
|
+
"parameters": [
|
|
7967
|
+
{
|
|
7968
|
+
"name": "e"
|
|
7969
|
+
},
|
|
7970
|
+
{
|
|
7971
|
+
"name": "s"
|
|
7972
|
+
}
|
|
7973
|
+
]
|
|
7974
|
+
},
|
|
7975
|
+
{
|
|
7976
|
+
"kind": "method",
|
|
7977
|
+
"name": "delete",
|
|
7978
|
+
"parameters": [
|
|
7979
|
+
{
|
|
7980
|
+
"name": "e"
|
|
7981
|
+
},
|
|
7982
|
+
{
|
|
7983
|
+
"name": "s"
|
|
7984
|
+
}
|
|
7985
|
+
]
|
|
7976
7986
|
}
|
|
7977
7987
|
],
|
|
7978
7988
|
"superclass": {
|
|
7979
|
-
"name": "
|
|
7980
|
-
"
|
|
7981
|
-
}
|
|
7982
|
-
"tagName": "picker-url",
|
|
7983
|
-
"customElement": true
|
|
7989
|
+
"name": "WeakMap",
|
|
7990
|
+
"module": "dist/node_modules/style-observer/src/util/MultiWeakMap.js"
|
|
7991
|
+
}
|
|
7984
7992
|
}
|
|
7985
7993
|
],
|
|
7986
7994
|
"exports": [
|
|
7987
7995
|
{
|
|
7988
7996
|
"kind": "js",
|
|
7989
|
-
"name": "
|
|
7990
|
-
"declaration": {
|
|
7991
|
-
"name": "PickerUrl",
|
|
7992
|
-
"module": "src/components/color-palette/editor/options/picker-url.ts"
|
|
7993
|
-
}
|
|
7994
|
-
},
|
|
7995
|
-
{
|
|
7996
|
-
"kind": "custom-element-definition",
|
|
7997
|
-
"name": "picker-url",
|
|
7997
|
+
"name": "default",
|
|
7998
7998
|
"declaration": {
|
|
7999
|
-
"name": "
|
|
8000
|
-
"module": "
|
|
7999
|
+
"name": "r",
|
|
8000
|
+
"module": "dist/node_modules/style-observer/src/util/MultiWeakMap.js"
|
|
8001
8001
|
}
|
|
8002
8002
|
}
|
|
8003
8003
|
]
|