@aitronos/freddy-plugins 0.4.32 → 0.4.33
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/CHANGELOG.md +15 -0
- package/dist/freddy-plugins.css +1 -1
- package/dist/index.cjs +23 -23
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.js +241 -236
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4930,16 +4930,16 @@ const eC = [
|
|
|
4930
4930
|
}
|
|
4931
4931
|
}), cC = ["disabled", "aria-disabled", "aria-label"], uC = {
|
|
4932
4932
|
key: 0,
|
|
4933
|
-
class: "button-label"
|
|
4933
|
+
class: "freddy-plugins-button-label"
|
|
4934
4934
|
}, dC = {
|
|
4935
4935
|
key: 1,
|
|
4936
|
-
class: "button-label"
|
|
4936
|
+
class: "freddy-plugins-button-label"
|
|
4937
4937
|
}, _C = ["disabled", "aria-disabled", "aria-label"], pC = {
|
|
4938
4938
|
key: 0,
|
|
4939
|
-
class: "button-label"
|
|
4939
|
+
class: "freddy-plugins-button-label"
|
|
4940
4940
|
}, mC = {
|
|
4941
4941
|
key: 1,
|
|
4942
|
-
class: "button-label"
|
|
4942
|
+
class: "freddy-plugins-button-label"
|
|
4943
4943
|
}, gC = /* @__PURE__ */ j({
|
|
4944
4944
|
__name: "BaseButton",
|
|
4945
4945
|
props: {
|
|
@@ -5005,16 +5005,16 @@ const eC = [
|
|
|
5005
5005
|
IconText: Ie(() => Promise.resolve().then(() => zr)),
|
|
5006
5006
|
IconLink04: Ie(() => Promise.resolve().then(() => kr))
|
|
5007
5007
|
}, o = F(() => n.leftIcon && r[n.leftIcon] || null), a = F(() => n.rightIcon && r[n.rightIcon] || null), s = e, i = P(!1), c = F(() => [
|
|
5008
|
-
"base-button",
|
|
5009
|
-
`base-button--${n.size}`,
|
|
5010
|
-
`base-button--${n.hierarchy}`,
|
|
5008
|
+
"freddy-plugins-base-button",
|
|
5009
|
+
`freddy-plugins-base-button--${n.size}`,
|
|
5010
|
+
`freddy-plugins-base-button--${n.hierarchy}`,
|
|
5011
5011
|
{
|
|
5012
|
-
"base-button--disabled": n.disabled,
|
|
5013
|
-
"base-button--loading": n.loading,
|
|
5014
|
-
"base-button--icon-only": n.iconOnly,
|
|
5015
|
-
"base-button--error": n.errorState,
|
|
5016
|
-
"base-button--hover": i.value && !n.disabled && !n.loading,
|
|
5017
|
-
"base-button--focused": n.state === "focused"
|
|
5012
|
+
"freddy-plugins-base-button--disabled": n.disabled,
|
|
5013
|
+
"freddy-plugins-base-button--loading": n.loading,
|
|
5014
|
+
"freddy-plugins-base-button--icon-only": n.iconOnly,
|
|
5015
|
+
"freddy-plugins-base-button--error": n.errorState,
|
|
5016
|
+
"freddy-plugins-base-button--hover": i.value && !n.disabled && !n.loading,
|
|
5017
|
+
"freddy-plugins-base-button--focused": n.state === "focused"
|
|
5018
5018
|
}
|
|
5019
5019
|
]), u = (m) => {
|
|
5020
5020
|
!n.disabled && !n.loading && s("click", m);
|
|
@@ -5045,25 +5045,25 @@ const eC = [
|
|
|
5045
5045
|
}, [
|
|
5046
5046
|
m.loading ? (p(), g(ue, { key: 0 }, [
|
|
5047
5047
|
C[0] || (C[0] = l("span", {
|
|
5048
|
-
class: "button-spinner",
|
|
5048
|
+
class: "freddy-plugins-button-spinner",
|
|
5049
5049
|
"aria-hidden": "true"
|
|
5050
5050
|
}, null, -1)),
|
|
5051
5051
|
m.loadingText || m.label ? (p(), g("span", uC, D(m.loadingText || m.label), 1)) : B("", !0)
|
|
5052
5052
|
], 64)) : m.iconOnly ? (p(), re(We(o.value), {
|
|
5053
5053
|
key: 1,
|
|
5054
|
-
class: q(["button-icon button-icon-center", `button-icon--${m.size}`]),
|
|
5054
|
+
class: q(["freddy-plugins-button-icon freddy-plugins-button-icon-center", `freddy-plugins-button-icon--${m.size}`]),
|
|
5055
5055
|
"aria-hidden": "true"
|
|
5056
5056
|
}, null, 8, ["class"])) : (p(), g(ue, { key: 2 }, [
|
|
5057
5057
|
m.leftIcon ? (p(), re(We(o.value), {
|
|
5058
5058
|
key: 0,
|
|
5059
|
-
class: q(["button-icon button-icon-left", `button-icon--${m.size}`]),
|
|
5059
|
+
class: q(["freddy-plugins-button-icon freddy-plugins-button-icon-left", `freddy-plugins-button-icon--${m.size}`]),
|
|
5060
5060
|
"aria-hidden": "true",
|
|
5061
5061
|
onClick: Ue(d, ["stop"])
|
|
5062
5062
|
}, null, 8, ["class"])) : B("", !0),
|
|
5063
5063
|
m.label ? (p(), g("span", dC, D(m.label), 1)) : B("", !0),
|
|
5064
5064
|
m.rightIcon ? (p(), re(We(a.value), {
|
|
5065
5065
|
key: 2,
|
|
5066
|
-
class: q(["button-icon button-icon-right", `button-icon--${m.size}`]),
|
|
5066
|
+
class: q(["freddy-plugins-button-icon freddy-plugins-button-icon-right", `freddy-plugins-button-icon--${m.size}`]),
|
|
5067
5067
|
"aria-hidden": "true",
|
|
5068
5068
|
onClick: Ue(_, ["stop"])
|
|
5069
5069
|
}, null, 8, ["class"])) : B("", !0)
|
|
@@ -5084,55 +5084,55 @@ const eC = [
|
|
|
5084
5084
|
}, [
|
|
5085
5085
|
m.loading ? (p(), g(ue, { key: 0 }, [
|
|
5086
5086
|
C[1] || (C[1] = l("span", {
|
|
5087
|
-
class: "button-spinner",
|
|
5087
|
+
class: "freddy-plugins-button-spinner",
|
|
5088
5088
|
"aria-hidden": "true"
|
|
5089
5089
|
}, null, -1)),
|
|
5090
5090
|
m.loadingText || m.label ? (p(), g("span", pC, D(m.loadingText || m.label), 1)) : B("", !0)
|
|
5091
5091
|
], 64)) : m.iconOnly ? (p(), re(We(o.value), {
|
|
5092
5092
|
key: 1,
|
|
5093
|
-
class: q(["button-icon button-icon-center", `button-icon--${m.size}`]),
|
|
5093
|
+
class: q(["freddy-plugins-button-icon freddy-plugins-button-icon-center", `freddy-plugins-button-icon--${m.size}`]),
|
|
5094
5094
|
"aria-hidden": "true"
|
|
5095
5095
|
}, null, 8, ["class"])) : (p(), g(ue, { key: 2 }, [
|
|
5096
5096
|
m.leftIcon ? (p(), re(We(o.value), {
|
|
5097
5097
|
key: 0,
|
|
5098
|
-
class: q(["button-icon button-icon-left", `button-icon--${m.size}`]),
|
|
5098
|
+
class: q(["freddy-plugins-button-icon freddy-plugins-button-icon-left", `freddy-plugins-button-icon--${m.size}`]),
|
|
5099
5099
|
"aria-hidden": "true",
|
|
5100
5100
|
onClick: Ue(d, ["stop"])
|
|
5101
5101
|
}, null, 8, ["class"])) : B("", !0),
|
|
5102
5102
|
m.label ? (p(), g("span", mC, D(m.label), 1)) : B("", !0),
|
|
5103
5103
|
m.rightIcon ? (p(), re(We(a.value), {
|
|
5104
5104
|
key: 2,
|
|
5105
|
-
class: q(["button-icon button-icon-right", `button-icon--${m.size}`]),
|
|
5105
|
+
class: q(["freddy-plugins-button-icon freddy-plugins-button-icon-right", `freddy-plugins-button-icon--${m.size}`]),
|
|
5106
5106
|
"aria-hidden": "true",
|
|
5107
5107
|
onClick: Ue(_, ["stop"])
|
|
5108
5108
|
}, null, 8, ["class"])) : B("", !0)
|
|
5109
5109
|
], 64))
|
|
5110
5110
|
], 42, _C));
|
|
5111
5111
|
}
|
|
5112
|
-
}), Jt = /* @__PURE__ */ x(gC, [["__scopeId", "data-v-
|
|
5112
|
+
}), Jt = /* @__PURE__ */ x(gC, [["__scopeId", "data-v-a7d06f1b"]]), fC = {
|
|
5113
5113
|
key: 0,
|
|
5114
|
-
class: "api-loading"
|
|
5114
|
+
class: "freddy-plugins-api-loading"
|
|
5115
5115
|
}, EC = {
|
|
5116
5116
|
key: 0,
|
|
5117
|
-
class: "loading-text"
|
|
5117
|
+
class: "freddy-plugins-loading-text"
|
|
5118
5118
|
}, SC = {
|
|
5119
5119
|
key: 1,
|
|
5120
|
-
class: "api-error"
|
|
5121
|
-
}, bC = { class: "error-content" }, hC = {
|
|
5120
|
+
class: "freddy-plugins-api-error"
|
|
5121
|
+
}, bC = { class: "freddy-plugins-error-content" }, hC = {
|
|
5122
5122
|
key: 0,
|
|
5123
|
-
class: "error-title"
|
|
5124
|
-
}, CC = { class: "error-message" }, vC = {
|
|
5123
|
+
class: "freddy-plugins-error-title"
|
|
5124
|
+
}, CC = { class: "freddy-plugins-error-message" }, vC = {
|
|
5125
5125
|
key: 2,
|
|
5126
|
-
class: "api-success"
|
|
5127
|
-
}, TC = { class: "success-content" }, yC = {
|
|
5126
|
+
class: "freddy-plugins-api-success"
|
|
5127
|
+
}, TC = { class: "freddy-plugins-success-content" }, yC = {
|
|
5128
5128
|
key: 0,
|
|
5129
|
-
class: "success-title"
|
|
5129
|
+
class: "freddy-plugins-success-title"
|
|
5130
5130
|
}, AC = {
|
|
5131
5131
|
key: 1,
|
|
5132
|
-
class: "success-message"
|
|
5132
|
+
class: "freddy-plugins-success-message"
|
|
5133
5133
|
}, RC = {
|
|
5134
5134
|
key: 3,
|
|
5135
|
-
class: "api-content"
|
|
5135
|
+
class: "freddy-plugins-api-content"
|
|
5136
5136
|
}, zL = /* @__PURE__ */ j({
|
|
5137
5137
|
__name: "ApiInteraction",
|
|
5138
5138
|
props: {
|
|
@@ -5156,12 +5156,12 @@ const eC = [
|
|
|
5156
5156
|
emits: ["success", "error", "loading", "complete"],
|
|
5157
5157
|
setup(t, { expose: e, emit: n }) {
|
|
5158
5158
|
const { currentProject: r, currentColorMode: o } = Oe(), a = t, s = n, i = P(!1), c = P(null), u = P(!1), d = P(null), _ = F(() => [
|
|
5159
|
-
`api-interaction--${a.size}`,
|
|
5160
|
-
`api-interaction--${a.variant}`,
|
|
5159
|
+
`freddy-plugins-api-interaction--${a.size}`,
|
|
5160
|
+
`freddy-plugins-api-interaction--${a.variant}`,
|
|
5161
5161
|
{
|
|
5162
|
-
"api-interaction--loading": i.value,
|
|
5163
|
-
"api-interaction--error": c.value,
|
|
5164
|
-
"api-interaction--success": u.value
|
|
5162
|
+
"freddy-plugins-api-interaction--loading": i.value,
|
|
5163
|
+
"freddy-plugins-api-interaction--error": c.value,
|
|
5164
|
+
"freddy-plugins-api-interaction--success": u.value
|
|
5165
5165
|
}
|
|
5166
5166
|
]), f = F(() => {
|
|
5167
5167
|
switch (a.size) {
|
|
@@ -5215,13 +5215,13 @@ const eC = [
|
|
|
5215
5215
|
success: F(() => u.value),
|
|
5216
5216
|
data: F(() => d.value)
|
|
5217
5217
|
}), (C, y) => (p(), g("div", {
|
|
5218
|
-
class: q(["api-interaction", _.value])
|
|
5218
|
+
class: q(["freddy-plugins-api-interaction", _.value])
|
|
5219
5219
|
}, [
|
|
5220
5220
|
i.value ? (p(), g("div", fC, [
|
|
5221
5221
|
H(Rg, { size: f.value }, null, 8, ["size"]),
|
|
5222
5222
|
C.loadingText ? (p(), g("span", EC, D(C.loadingText), 1)) : B("", !0)
|
|
5223
5223
|
])) : c.value ? (p(), g("div", SC, [
|
|
5224
|
-
H(gl, { class: "error-icon" }),
|
|
5224
|
+
H(gl, { class: "freddy-plugins-error-icon" }),
|
|
5225
5225
|
l("div", bC, [
|
|
5226
5226
|
C.errorTitle ? (p(), g("h4", hC, D(C.errorTitle), 1)) : B("", !0),
|
|
5227
5227
|
l("p", CC, D(c.value), 1),
|
|
@@ -5238,7 +5238,7 @@ const eC = [
|
|
|
5238
5238
|
})) : B("", !0)
|
|
5239
5239
|
])
|
|
5240
5240
|
])) : u.value && C.showSuccess ? (p(), g("div", vC, [
|
|
5241
|
-
H(Sl, { class: "success-icon" }),
|
|
5241
|
+
H(Sl, { class: "freddy-plugins-success-icon" }),
|
|
5242
5242
|
l("div", TC, [
|
|
5243
5243
|
C.successTitle ? (p(), g("h4", yC, D(C.successTitle), 1)) : B("", !0),
|
|
5244
5244
|
C.successMessage ? (p(), g("p", AC, D(C.successMessage), 1)) : B("", !0)
|
|
@@ -6350,7 +6350,7 @@ const eC = [
|
|
|
6350
6350
|
}
|
|
6351
6351
|
}), Zv = ["disabled", "aria-label", "onClick"], jv = {
|
|
6352
6352
|
key: 0,
|
|
6353
|
-
class: "social-button-label"
|
|
6353
|
+
class: "freddy-plugins-social-button-label"
|
|
6354
6354
|
}, Xv = /* @__PURE__ */ j({
|
|
6355
6355
|
__name: "SocialButtons",
|
|
6356
6356
|
props: {
|
|
@@ -6488,21 +6488,21 @@ const eC = [
|
|
|
6488
6488
|
}
|
|
6489
6489
|
}
|
|
6490
6490
|
}, a = F(() => [
|
|
6491
|
-
"social-buttons",
|
|
6492
|
-
`social-buttons--${n.layout}`,
|
|
6493
|
-
`social-buttons--${n.size}`,
|
|
6491
|
+
"freddy-plugins-social-buttons",
|
|
6492
|
+
`freddy-plugins-social-buttons--${n.layout}`,
|
|
6493
|
+
`freddy-plugins-social-buttons--${n.size}`,
|
|
6494
6494
|
{
|
|
6495
|
-
"social-buttons--disabled": n.disabled
|
|
6495
|
+
"freddy-plugins-social-buttons--disabled": n.disabled
|
|
6496
6496
|
},
|
|
6497
6497
|
n.class
|
|
6498
6498
|
]), s = (d) => o[d].icon, i = (d) => o[d].label, c = (d) => [
|
|
6499
|
-
"social-button",
|
|
6500
|
-
`social-button--${n.variant}`,
|
|
6501
|
-
`social-button--${n.size}`,
|
|
6502
|
-
`social-button--${d}`,
|
|
6499
|
+
"freddy-plugins-social-button",
|
|
6500
|
+
`freddy-plugins-social-button--${n.variant}`,
|
|
6501
|
+
`freddy-plugins-social-button--${n.size}`,
|
|
6502
|
+
`freddy-plugins-social-button--${d}`,
|
|
6503
6503
|
{
|
|
6504
|
-
"social-button--disabled": n.disabled,
|
|
6505
|
-
"social-button--icon-only": n.iconOnly
|
|
6504
|
+
"freddy-plugins-social-button--disabled": n.disabled,
|
|
6505
|
+
"freddy-plugins-social-button--icon-only": n.iconOnly
|
|
6506
6506
|
}
|
|
6507
6507
|
], u = (d, _) => {
|
|
6508
6508
|
n.disabled || r("click", d, _);
|
|
@@ -6520,14 +6520,14 @@ const eC = [
|
|
|
6520
6520
|
onClick: (E) => u(f, E)
|
|
6521
6521
|
}, [
|
|
6522
6522
|
(p(), re(We(s(f)), {
|
|
6523
|
-
class: "social-button-icon",
|
|
6523
|
+
class: "freddy-plugins-social-button-icon",
|
|
6524
6524
|
"aria-hidden": "true"
|
|
6525
6525
|
})),
|
|
6526
6526
|
d.iconOnly ? B("", !0) : (p(), g("span", jv, D(i(f)), 1))
|
|
6527
6527
|
], 10, Zv))), 128))
|
|
6528
6528
|
], 6));
|
|
6529
6529
|
}
|
|
6530
|
-
}), JL = /* @__PURE__ */ x(Xv, [["__scopeId", "data-v-
|
|
6530
|
+
}), JL = /* @__PURE__ */ x(Xv, [["__scopeId", "data-v-1e2ffcbd"]]), Jv = ["innerHTML", "aria-label"], Xn = /* @__PURE__ */ j({
|
|
6531
6531
|
__name: "Text",
|
|
6532
6532
|
props: {
|
|
6533
6533
|
text: {},
|
|
@@ -6785,10 +6785,10 @@ const eC = [
|
|
|
6785
6785
|
i.stopPropagation(), o.disabled || a("update:modelValue", !o.modelValue);
|
|
6786
6786
|
}
|
|
6787
6787
|
return (i, c) => (p(), g("button", {
|
|
6788
|
-
class: q(["switch", {
|
|
6789
|
-
"switch--on": i.modelValue,
|
|
6790
|
-
"switch--disabled": i.disabled,
|
|
6791
|
-
[`switch--${i.size}`]: !0
|
|
6788
|
+
class: q(["freddy-plugins-switch", {
|
|
6789
|
+
"freddy-plugins-switch--on": i.modelValue,
|
|
6790
|
+
"freddy-plugins-switch--disabled": i.disabled,
|
|
6791
|
+
[`freddy-plugins-switch--${i.size}`]: !0
|
|
6792
6792
|
}]),
|
|
6793
6793
|
"aria-checked": i.modelValue,
|
|
6794
6794
|
role: "switch",
|
|
@@ -6800,19 +6800,19 @@ const eC = [
|
|
|
6800
6800
|
],
|
|
6801
6801
|
disabled: i.disabled
|
|
6802
6802
|
}, [...c[0] || (c[0] = [
|
|
6803
|
-
l("span", { class: "switch__track" }, null, -1),
|
|
6804
|
-
l("span", { class: "switch__thumb" }, null, -1)
|
|
6803
|
+
l("span", { class: "freddy-plugins-switch__track" }, null, -1),
|
|
6804
|
+
l("span", { class: "freddy-plugins-switch__thumb" }, null, -1)
|
|
6805
6805
|
])], 42, uT));
|
|
6806
6806
|
}
|
|
6807
6807
|
}), _T = {
|
|
6808
6808
|
key: 0,
|
|
6809
|
-
class: "dropdown-search-bar"
|
|
6810
|
-
}, pT = ["placeholder"], mT = { class: "dropdown-options" }, gT = ["onClick"], fT = { class: "dropdown-option-label" }, ET = {
|
|
6809
|
+
class: "freddy-plugins-dropdown-search-bar"
|
|
6810
|
+
}, pT = ["placeholder"], mT = { class: "freddy-plugins-dropdown-options" }, gT = ["onClick"], fT = { class: "freddy-plugins-dropdown-option-label" }, ET = {
|
|
6811
6811
|
key: 1,
|
|
6812
|
-
class: "dropdown-option-shortcut"
|
|
6812
|
+
class: "freddy-plugins-dropdown-option-shortcut"
|
|
6813
6813
|
}, ST = {
|
|
6814
6814
|
key: 0,
|
|
6815
|
-
class: "dropdown-no-options"
|
|
6815
|
+
class: "freddy-plugins-dropdown-no-options"
|
|
6816
6816
|
}, Zs = /* @__PURE__ */ j({
|
|
6817
6817
|
__name: "Dropdown",
|
|
6818
6818
|
props: {
|
|
@@ -6872,19 +6872,19 @@ const eC = [
|
|
|
6872
6872
|
);
|
|
6873
6873
|
h !== -1 && (i.value[h].checked = v), r("toggle", { ...b, checked: v });
|
|
6874
6874
|
}, R = (b) => {
|
|
6875
|
-
b.target.closest(".dropdown-wrapper") || f();
|
|
6875
|
+
b.target.closest(".freddy-plugins-dropdown-wrapper") || f();
|
|
6876
6876
|
};
|
|
6877
6877
|
return Fe(o, (b) => {
|
|
6878
6878
|
b ? setTimeout(() => {
|
|
6879
6879
|
document.addEventListener("click", R);
|
|
6880
6880
|
}, 0) : document.removeEventListener("click", R);
|
|
6881
6881
|
}), (b, v) => (p(), g("div", {
|
|
6882
|
-
class: "dropdown-wrapper",
|
|
6882
|
+
class: "freddy-plugins-dropdown-wrapper",
|
|
6883
6883
|
onKeydown: Ge(f, ["esc"]),
|
|
6884
6884
|
tabindex: "0"
|
|
6885
6885
|
}, [
|
|
6886
6886
|
H(Jt, {
|
|
6887
|
-
class: "dropdown-trigger",
|
|
6887
|
+
class: "freddy-plugins-dropdown-trigger",
|
|
6888
6888
|
label: u.value,
|
|
6889
6889
|
iconOnly: b.iconOnly,
|
|
6890
6890
|
rightIcon: b.chevronRight && b.showIcon ? d.value : void 0,
|
|
@@ -6905,13 +6905,16 @@ const eC = [
|
|
|
6905
6905
|
}, 8, ["label", "iconOnly", "rightIcon", "leftIcon", "size", "aria-expanded"]),
|
|
6906
6906
|
o.value ? (p(), g("div", {
|
|
6907
6907
|
key: 0,
|
|
6908
|
-
class: q(["dropdown-menu", {
|
|
6908
|
+
class: q(["freddy-plugins-dropdown-menu", {
|
|
6909
|
+
"freddy-plugins-dropdown-menu--up": b.openUp,
|
|
6910
|
+
"freddy-plugins-dropdown-menu--down": !b.openUp
|
|
6911
|
+
}])
|
|
6909
6912
|
}, [
|
|
6910
6913
|
b.searchable ? (p(), g("div", _T, [
|
|
6911
6914
|
M(l("input", {
|
|
6912
6915
|
"onUpdate:modelValue": v[0] || (v[0] = (h) => a.value = h),
|
|
6913
6916
|
type: "text",
|
|
6914
|
-
class: "dropdown-search-input",
|
|
6917
|
+
class: "freddy-plugins-dropdown-search-input",
|
|
6915
6918
|
placeholder: b.searchPlaceholder
|
|
6916
6919
|
}, null, 8, pT), [
|
|
6917
6920
|
[ht, a.value]
|
|
@@ -6920,19 +6923,21 @@ const eC = [
|
|
|
6920
6923
|
l("ul", mT, [
|
|
6921
6924
|
(p(!0), g(ue, null, _e(E.value, (h) => (p(), g("li", {
|
|
6922
6925
|
key: h.value,
|
|
6923
|
-
class: q(["dropdown-option", {
|
|
6926
|
+
class: q(["freddy-plugins-dropdown-option", {
|
|
6927
|
+
"freddy-plugins-dropdown-option--toggle": h.type === "toggle"
|
|
6928
|
+
}]),
|
|
6924
6929
|
onClick: (T) => m(h)
|
|
6925
6930
|
}, [
|
|
6926
6931
|
l("span", fT, [
|
|
6927
6932
|
!b.optionIconRight && h.icon ? (p(), re(We(h.icon), {
|
|
6928
6933
|
key: 0,
|
|
6929
|
-
class: "dropdown-option-icon"
|
|
6934
|
+
class: "freddy-plugins-dropdown-option-icon"
|
|
6930
6935
|
})) : B("", !0),
|
|
6931
6936
|
l("span", null, D(h.label), 1),
|
|
6932
6937
|
b.showShortcut && h.shortcut ? (p(), g("span", ET, D(h.shortcut), 1)) : B("", !0),
|
|
6933
6938
|
b.optionIconRight && h.icon ? (p(), re(We(h.icon), {
|
|
6934
6939
|
key: 2,
|
|
6935
|
-
class: "dropdown-option-icon dropdown-option-icon--right"
|
|
6940
|
+
class: "freddy-plugins-dropdown-option-icon freddy-plugins-dropdown-option-icon--right"
|
|
6936
6941
|
})) : B("", !0)
|
|
6937
6942
|
]),
|
|
6938
6943
|
h.type === "toggle" ? (p(), re(dT, {
|
|
@@ -63483,13 +63488,13 @@ This should give you a solid foundation for building **maintainable**, **type-sa
|
|
|
63483
63488
|
]);
|
|
63484
63489
|
};
|
|
63485
63490
|
}
|
|
63486
|
-
}), JO = { class: "color-dashboard" }, eN = { class: "stats-grid" }, tN = { class: "stat-card" }, nN = { class: "stat-number" }, rN = { class: "stat-card" }, oN = { class: "stat-number" }, aN = { class: "stat-card" }, iN = { class: "stat-number" }, sN = { class: "brands-container" }, lN = { class: "brand-header" }, cN = { class: "brand-title" }, uN = { class: "brand-info" }, dN = { class: "brand-stat" }, _N = { class: "brand-stat-value" }, pN = { class: "brand-stat" }, mN = { class: "brand-stat-value" }, gN = { class: "modes-container" }, fN = { class: "mode-header" }, EN = { class: "mode-title" }, SN = { class: "mode-id" }, bN = { class: "color-categories" }, hN = { class: "category-section" }, CN = { class: "category-count" }, vN = { class: "category-content" }, TN = { class: "color-grid" }, yN = ["onClick"], AN = { class: "color-info" }, RN = { class: "color-name" }, IN = { class: "color-value" }, ON = { class: "category-section" }, NN = { class: "category-count" }, DN = { class: "category-content" }, xN = { class: "color-grid" }, wN = ["onClick"], MN = { class: "color-info" }, kN = { class: "color-name" }, LN = { class: "color-value" }, PN = { class: "category-section" }, FN = { class: "category-count" }, BN = { class: "category-content" }, UN = { class: "color-grid" }, GN = ["onClick"], YN = { class: "color-info" }, VN = { class: "color-name" }, HN = { class: "color-value" }, qN = {
|
|
63491
|
+
}), JO = { class: "freddy-plugins-color-dashboard" }, eN = { class: "freddy-plugins-stats-grid" }, tN = { class: "freddy-plugins-stat-card" }, nN = { class: "freddy-plugins-stat-number" }, rN = { class: "freddy-plugins-stat-card" }, oN = { class: "freddy-plugins-stat-number" }, aN = { class: "freddy-plugins-stat-card" }, iN = { class: "freddy-plugins-stat-number" }, sN = { class: "freddy-plugins-brands-container" }, lN = { class: "freddy-plugins-brand-header" }, cN = { class: "freddy-plugins-brand-title" }, uN = { class: "freddy-plugins-brand-info" }, dN = { class: "freddy-plugins-brand-stat" }, _N = { class: "freddy-plugins-brand-stat-value" }, pN = { class: "freddy-plugins-brand-stat" }, mN = { class: "freddy-plugins-brand-stat-value" }, gN = { class: "freddy-plugins-modes-container" }, fN = { class: "freddy-plugins-mode-header" }, EN = { class: "freddy-plugins-mode-title" }, SN = { class: "freddy-plugins-mode-id" }, bN = { class: "freddy-plugins-color-categories" }, hN = { class: "freddy-plugins-category-section" }, CN = { class: "freddy-plugins-category-count" }, vN = { class: "freddy-plugins-category-content" }, TN = { class: "freddy-plugins-color-grid" }, yN = ["onClick"], AN = { class: "freddy-plugins-color-info" }, RN = { class: "freddy-plugins-color-name" }, IN = { class: "freddy-plugins-color-value" }, ON = { class: "freddy-plugins-category-section" }, NN = { class: "freddy-plugins-category-count" }, DN = { class: "freddy-plugins-category-content" }, xN = { class: "freddy-plugins-color-grid" }, wN = ["onClick"], MN = { class: "freddy-plugins-color-info" }, kN = { class: "freddy-plugins-color-name" }, LN = { class: "freddy-plugins-color-value" }, PN = { class: "freddy-plugins-category-section" }, FN = { class: "freddy-plugins-category-count" }, BN = { class: "freddy-plugins-category-content" }, UN = { class: "freddy-plugins-color-grid" }, GN = ["onClick"], YN = { class: "freddy-plugins-color-info" }, VN = { class: "freddy-plugins-color-name" }, HN = { class: "freddy-plugins-color-value" }, qN = {
|
|
63487
63492
|
key: 0,
|
|
63488
|
-
class: "category-section"
|
|
63489
|
-
}, zN = { class: "category-count" }, $N = { class: "category-content" }, WN = { class: "color-grid" }, KN = ["onClick"], QN = { class: "color-info" }, ZN = { class: "color-name" }, jN = { class: "color-value" }, XN = {
|
|
63493
|
+
class: "freddy-plugins-category-section"
|
|
63494
|
+
}, zN = { class: "freddy-plugins-category-count" }, $N = { class: "freddy-plugins-category-content" }, WN = { class: "freddy-plugins-color-grid" }, KN = ["onClick"], QN = { class: "freddy-plugins-color-info" }, ZN = { class: "freddy-plugins-color-name" }, jN = { class: "freddy-plugins-color-value" }, XN = {
|
|
63490
63495
|
key: 1,
|
|
63491
|
-
class: "category-section"
|
|
63492
|
-
}, JN = { class: "category-count" }, eD = { class: "category-content" }, tD = { class: "color-grid" }, nD = ["onClick"], rD = { class: "color-info" }, oD = { class: "color-name" }, aD = { class: "color-value" }, r2 = /* @__PURE__ */ j({
|
|
63496
|
+
class: "freddy-plugins-category-section"
|
|
63497
|
+
}, JN = { class: "freddy-plugins-category-count" }, eD = { class: "freddy-plugins-category-content" }, tD = { class: "freddy-plugins-color-grid" }, nD = ["onClick"], rD = { class: "freddy-plugins-color-info" }, oD = { class: "freddy-plugins-color-name" }, aD = { class: "freddy-plugins-color-value" }, r2 = /* @__PURE__ */ j({
|
|
63493
63498
|
__name: "ConfigurationDashboard",
|
|
63494
63499
|
setup(t) {
|
|
63495
63500
|
const { configuration: e } = Oe(), n = F(() => {
|
|
@@ -63504,7 +63509,7 @@ This should give you a solid foundation for building **maintainable**, **type-sa
|
|
|
63504
63509
|
return u.colorModes.reduce((d, _) => d + _.textColors.colors.length + _.backgroundColor.colors.length + _.borderColor.colors.length + _.foregroundColors.colors.length + _.utilityColors.colors.length, 0);
|
|
63505
63510
|
}
|
|
63506
63511
|
function i(u) {
|
|
63507
|
-
const d = u.target, _ = d.querySelector(".category-toggle"), f = d.nextElementSibling;
|
|
63512
|
+
const d = u.target, _ = d.querySelector(".freddy-plugins-category-toggle"), f = d.nextElementSibling;
|
|
63508
63513
|
f.classList.contains("expanded") ? (f.classList.remove("expanded"), _.classList.remove("expanded"), _.textContent = "▶") : (f.classList.add("expanded"), _.classList.add("expanded"), _.textContent = "▼");
|
|
63509
63514
|
}
|
|
63510
63515
|
function c(u) {
|
|
@@ -63512,38 +63517,38 @@ This should give you a solid foundation for building **maintainable**, **type-sa
|
|
|
63512
63517
|
});
|
|
63513
63518
|
}
|
|
63514
63519
|
return (u, d) => (p(), g("div", JO, [
|
|
63515
|
-
d[20] || (d[20] = l("div", { class: "dashboard-header" }, [
|
|
63520
|
+
d[20] || (d[20] = l("div", { class: "freddy-plugins-dashboard-header" }, [
|
|
63516
63521
|
l("h1", null, "🎨 Color Dashboard"),
|
|
63517
63522
|
l("p", null, "Comprehensive view of all colors from the theme configuration")
|
|
63518
63523
|
], -1)),
|
|
63519
63524
|
l("div", eN, [
|
|
63520
63525
|
l("div", tN, [
|
|
63521
63526
|
l("div", nN, D(r.value), 1),
|
|
63522
|
-
d[0] || (d[0] = l("div", { class: "stat-label" }, "Brands", -1))
|
|
63527
|
+
d[0] || (d[0] = l("div", { class: "freddy-plugins-stat-label" }, "Brands", -1))
|
|
63523
63528
|
]),
|
|
63524
63529
|
l("div", rN, [
|
|
63525
63530
|
l("div", oN, D(o.value), 1),
|
|
63526
|
-
d[1] || (d[1] = l("div", { class: "stat-label" }, "Color Modes", -1))
|
|
63531
|
+
d[1] || (d[1] = l("div", { class: "freddy-plugins-stat-label" }, "Color Modes", -1))
|
|
63527
63532
|
]),
|
|
63528
63533
|
l("div", aN, [
|
|
63529
63534
|
l("div", iN, D(a.value), 1),
|
|
63530
|
-
d[2] || (d[2] = l("div", { class: "stat-label" }, "Total Colors", -1))
|
|
63535
|
+
d[2] || (d[2] = l("div", { class: "freddy-plugins-stat-label" }, "Total Colors", -1))
|
|
63531
63536
|
])
|
|
63532
63537
|
]),
|
|
63533
63538
|
l("div", sN, [
|
|
63534
63539
|
(p(!0), g(ue, null, _e(n.value, (_) => (p(), g("div", {
|
|
63535
63540
|
key: _.id,
|
|
63536
|
-
class: "brand-section"
|
|
63541
|
+
class: "freddy-plugins-brand-section"
|
|
63537
63542
|
}, [
|
|
63538
63543
|
l("div", lN, [
|
|
63539
63544
|
l("div", cN, D(_.name), 1),
|
|
63540
63545
|
l("div", uN, [
|
|
63541
63546
|
l("div", dN, [
|
|
63542
|
-
d[3] || (d[3] = l("div", { class: "brand-stat-label" }, "Color Modes", -1)),
|
|
63547
|
+
d[3] || (d[3] = l("div", { class: "freddy-plugins-brand-stat-label" }, "Color Modes", -1)),
|
|
63543
63548
|
l("div", _N, D(_.colorModes.length), 1)
|
|
63544
63549
|
]),
|
|
63545
63550
|
l("div", pN, [
|
|
63546
|
-
d[4] || (d[4] = l("div", { class: "brand-stat-label" }, "Total Colors", -1)),
|
|
63551
|
+
d[4] || (d[4] = l("div", { class: "freddy-plugins-brand-stat-label" }, "Total Colors", -1)),
|
|
63547
63552
|
l("div", mN, D(s(_)), 1)
|
|
63548
63553
|
])
|
|
63549
63554
|
])
|
|
@@ -63551,7 +63556,7 @@ This should give you a solid foundation for building **maintainable**, **type-sa
|
|
|
63551
63556
|
l("div", gN, [
|
|
63552
63557
|
(p(!0), g(ue, null, _e(_.colorModes, (f) => (p(), g("div", {
|
|
63553
63558
|
key: f.id,
|
|
63554
|
-
class: "mode-card"
|
|
63559
|
+
class: "freddy-plugins-mode-card"
|
|
63555
63560
|
}, [
|
|
63556
63561
|
l("div", fN, [
|
|
63557
63562
|
l("div", EN, D(f.name), 1),
|
|
@@ -63560,10 +63565,10 @@ This should give you a solid foundation for building **maintainable**, **type-sa
|
|
|
63560
63565
|
l("div", bN, [
|
|
63561
63566
|
l("div", hN, [
|
|
63562
63567
|
l("div", {
|
|
63563
|
-
class: "category-title",
|
|
63568
|
+
class: "freddy-plugins-category-title",
|
|
63564
63569
|
onClick: i
|
|
63565
63570
|
}, [
|
|
63566
|
-
d[5] || (d[5] = l("span", { class: "category-toggle" }, "▶", -1)),
|
|
63571
|
+
d[5] || (d[5] = l("span", { class: "freddy-plugins-category-toggle" }, "▶", -1)),
|
|
63567
63572
|
d[6] || (d[6] = me(" 📝 Text Colors ", -1)),
|
|
63568
63573
|
l("span", CN, D(f.textColors.colors.length), 1)
|
|
63569
63574
|
]),
|
|
@@ -63571,14 +63576,14 @@ This should give you a solid foundation for building **maintainable**, **type-sa
|
|
|
63571
63576
|
l("div", TN, [
|
|
63572
63577
|
(p(!0), g(ue, null, _e(f.textColors.colors, (E) => (p(), g("div", {
|
|
63573
63578
|
key: E.id,
|
|
63574
|
-
class: "color-item"
|
|
63579
|
+
class: "freddy-plugins-color-item"
|
|
63575
63580
|
}, [
|
|
63576
63581
|
l("div", {
|
|
63577
|
-
class: "color-preview",
|
|
63582
|
+
class: "freddy-plugins-color-preview",
|
|
63578
63583
|
style: Ye({ backgroundColor: E.value }),
|
|
63579
63584
|
onClick: (m) => c(E.value)
|
|
63580
63585
|
}, [...d[7] || (d[7] = [
|
|
63581
|
-
l("div", { class: "color-overlay" }, "Click to Copy", -1)
|
|
63586
|
+
l("div", { class: "freddy-plugins-color-overlay" }, "Click to Copy", -1)
|
|
63582
63587
|
])], 12, yN),
|
|
63583
63588
|
l("div", AN, [
|
|
63584
63589
|
l("div", RN, D(E.name), 1),
|
|
@@ -63590,10 +63595,10 @@ This should give you a solid foundation for building **maintainable**, **type-sa
|
|
|
63590
63595
|
]),
|
|
63591
63596
|
l("div", ON, [
|
|
63592
63597
|
l("div", {
|
|
63593
|
-
class: "category-title",
|
|
63598
|
+
class: "freddy-plugins-category-title",
|
|
63594
63599
|
onClick: i
|
|
63595
63600
|
}, [
|
|
63596
|
-
d[8] || (d[8] = l("span", { class: "category-toggle" }, "▶", -1)),
|
|
63601
|
+
d[8] || (d[8] = l("span", { class: "freddy-plugins-category-toggle" }, "▶", -1)),
|
|
63597
63602
|
d[9] || (d[9] = me(" 🎨 Background Colors ", -1)),
|
|
63598
63603
|
l("span", NN, D(f.backgroundColor.colors.length), 1)
|
|
63599
63604
|
]),
|
|
@@ -63601,14 +63606,14 @@ This should give you a solid foundation for building **maintainable**, **type-sa
|
|
|
63601
63606
|
l("div", xN, [
|
|
63602
63607
|
(p(!0), g(ue, null, _e(f.backgroundColor.colors, (E) => (p(), g("div", {
|
|
63603
63608
|
key: E.id,
|
|
63604
|
-
class: "color-item"
|
|
63609
|
+
class: "freddy-plugins-color-item"
|
|
63605
63610
|
}, [
|
|
63606
63611
|
l("div", {
|
|
63607
|
-
class: "color-preview",
|
|
63612
|
+
class: "freddy-plugins-color-preview",
|
|
63608
63613
|
style: Ye({ backgroundColor: E.value }),
|
|
63609
63614
|
onClick: (m) => c(E.value)
|
|
63610
63615
|
}, [...d[10] || (d[10] = [
|
|
63611
|
-
l("div", { class: "color-overlay" }, "Click to Copy", -1)
|
|
63616
|
+
l("div", { class: "freddy-plugins-color-overlay" }, "Click to Copy", -1)
|
|
63612
63617
|
])], 12, wN),
|
|
63613
63618
|
l("div", MN, [
|
|
63614
63619
|
l("div", kN, D(E.name), 1),
|
|
@@ -63620,10 +63625,10 @@ This should give you a solid foundation for building **maintainable**, **type-sa
|
|
|
63620
63625
|
]),
|
|
63621
63626
|
l("div", PN, [
|
|
63622
63627
|
l("div", {
|
|
63623
|
-
class: "category-title",
|
|
63628
|
+
class: "freddy-plugins-category-title",
|
|
63624
63629
|
onClick: i
|
|
63625
63630
|
}, [
|
|
63626
|
-
d[11] || (d[11] = l("span", { class: "category-toggle" }, "▶", -1)),
|
|
63631
|
+
d[11] || (d[11] = l("span", { class: "freddy-plugins-category-toggle" }, "▶", -1)),
|
|
63627
63632
|
d[12] || (d[12] = me(" 🔲 Border Colors ", -1)),
|
|
63628
63633
|
l("span", FN, D(f.borderColor.colors.length), 1)
|
|
63629
63634
|
]),
|
|
@@ -63631,14 +63636,14 @@ This should give you a solid foundation for building **maintainable**, **type-sa
|
|
|
63631
63636
|
l("div", UN, [
|
|
63632
63637
|
(p(!0), g(ue, null, _e(f.borderColor.colors, (E) => (p(), g("div", {
|
|
63633
63638
|
key: E.id,
|
|
63634
|
-
class: "color-item"
|
|
63639
|
+
class: "freddy-plugins-color-item"
|
|
63635
63640
|
}, [
|
|
63636
63641
|
l("div", {
|
|
63637
|
-
class: "color-preview",
|
|
63642
|
+
class: "freddy-plugins-color-preview",
|
|
63638
63643
|
style: Ye({ backgroundColor: E.value }),
|
|
63639
63644
|
onClick: (m) => c(E.value)
|
|
63640
63645
|
}, [...d[13] || (d[13] = [
|
|
63641
|
-
l("div", { class: "color-overlay" }, "Click to Copy", -1)
|
|
63646
|
+
l("div", { class: "freddy-plugins-color-overlay" }, "Click to Copy", -1)
|
|
63642
63647
|
])], 12, GN),
|
|
63643
63648
|
l("div", YN, [
|
|
63644
63649
|
l("div", VN, D(E.name), 1),
|
|
@@ -63650,10 +63655,10 @@ This should give you a solid foundation for building **maintainable**, **type-sa
|
|
|
63650
63655
|
]),
|
|
63651
63656
|
f.foregroundColors.colors.length > 0 ? (p(), g("div", qN, [
|
|
63652
63657
|
l("div", {
|
|
63653
|
-
class: "category-title",
|
|
63658
|
+
class: "freddy-plugins-category-title",
|
|
63654
63659
|
onClick: i
|
|
63655
63660
|
}, [
|
|
63656
|
-
d[14] || (d[14] = l("span", { class: "category-toggle" }, "▶", -1)),
|
|
63661
|
+
d[14] || (d[14] = l("span", { class: "freddy-plugins-category-toggle" }, "▶", -1)),
|
|
63657
63662
|
d[15] || (d[15] = me(" 🎯 Foreground Colors ", -1)),
|
|
63658
63663
|
l("span", zN, D(f.foregroundColors.colors.length), 1)
|
|
63659
63664
|
]),
|
|
@@ -63661,14 +63666,14 @@ This should give you a solid foundation for building **maintainable**, **type-sa
|
|
|
63661
63666
|
l("div", WN, [
|
|
63662
63667
|
(p(!0), g(ue, null, _e(f.foregroundColors.colors, (E) => (p(), g("div", {
|
|
63663
63668
|
key: E.id,
|
|
63664
|
-
class: "color-item"
|
|
63669
|
+
class: "freddy-plugins-color-item"
|
|
63665
63670
|
}, [
|
|
63666
63671
|
l("div", {
|
|
63667
|
-
class: "color-preview",
|
|
63672
|
+
class: "freddy-plugins-color-preview",
|
|
63668
63673
|
style: Ye({ backgroundColor: E.value }),
|
|
63669
63674
|
onClick: (m) => c(E.value)
|
|
63670
63675
|
}, [...d[16] || (d[16] = [
|
|
63671
|
-
l("div", { class: "color-overlay" }, "Click to Copy", -1)
|
|
63676
|
+
l("div", { class: "freddy-plugins-color-overlay" }, "Click to Copy", -1)
|
|
63672
63677
|
])], 12, KN),
|
|
63673
63678
|
l("div", QN, [
|
|
63674
63679
|
l("div", ZN, D(E.name), 1),
|
|
@@ -63680,10 +63685,10 @@ This should give you a solid foundation for building **maintainable**, **type-sa
|
|
|
63680
63685
|
])) : B("", !0),
|
|
63681
63686
|
f.utilityColors.colors.length > 0 ? (p(), g("div", XN, [
|
|
63682
63687
|
l("div", {
|
|
63683
|
-
class: "category-title",
|
|
63688
|
+
class: "freddy-plugins-category-title",
|
|
63684
63689
|
onClick: i
|
|
63685
63690
|
}, [
|
|
63686
|
-
d[17] || (d[17] = l("span", { class: "category-toggle" }, "▶", -1)),
|
|
63691
|
+
d[17] || (d[17] = l("span", { class: "freddy-plugins-category-toggle" }, "▶", -1)),
|
|
63687
63692
|
d[18] || (d[18] = me(" 🔧 Utility Colors ", -1)),
|
|
63688
63693
|
l("span", JN, D(f.utilityColors.colors.length), 1)
|
|
63689
63694
|
]),
|
|
@@ -63691,14 +63696,14 @@ This should give you a solid foundation for building **maintainable**, **type-sa
|
|
|
63691
63696
|
l("div", tD, [
|
|
63692
63697
|
(p(!0), g(ue, null, _e(f.utilityColors.colors, (E) => (p(), g("div", {
|
|
63693
63698
|
key: E.id,
|
|
63694
|
-
class: "color-item"
|
|
63699
|
+
class: "freddy-plugins-color-item"
|
|
63695
63700
|
}, [
|
|
63696
63701
|
l("div", {
|
|
63697
|
-
class: "color-preview",
|
|
63702
|
+
class: "freddy-plugins-color-preview",
|
|
63698
63703
|
style: Ye({ backgroundColor: E.value }),
|
|
63699
63704
|
onClick: (m) => c(E.value)
|
|
63700
63705
|
}, [...d[19] || (d[19] = [
|
|
63701
|
-
l("div", { class: "color-overlay" }, "Click to Copy", -1)
|
|
63706
|
+
l("div", { class: "freddy-plugins-color-overlay" }, "Click to Copy", -1)
|
|
63702
63707
|
])], 12, nD),
|
|
63703
63708
|
l("div", rD, [
|
|
63704
63709
|
l("div", oD, D(E.name), 1),
|
|
@@ -63717,10 +63722,10 @@ This should give you a solid foundation for building **maintainable**, **type-sa
|
|
|
63717
63722
|
}
|
|
63718
63723
|
}), iD = ["aria-checked", "aria-disabled", "aria-label"], sD = ["checked", "disabled"], lD = {
|
|
63719
63724
|
key: 0,
|
|
63720
|
-
class: "checkbox-dash"
|
|
63725
|
+
class: "freddy-plugins-checkbox-dash"
|
|
63721
63726
|
}, cD = {
|
|
63722
63727
|
key: 1,
|
|
63723
|
-
class: "checkbox-icon",
|
|
63728
|
+
class: "freddy-plugins-checkbox-icon",
|
|
63724
63729
|
viewBox: "0 0 12 12",
|
|
63725
63730
|
fill: "none",
|
|
63726
63731
|
xmlns: "http://www.w3.org/2000/svg"
|
|
@@ -63741,11 +63746,11 @@ This should give you a solid foundation for building **maintainable**, **type-sa
|
|
|
63741
63746
|
o.disabled || a("update:isChecked", c.checked);
|
|
63742
63747
|
}
|
|
63743
63748
|
return (i, c) => (p(), g("label", {
|
|
63744
|
-
class: q(["base-checkbox", {
|
|
63745
|
-
checked: i.isChecked && !i.blueCheckbox,
|
|
63746
|
-
"checked-blue": i.isChecked && i.blueCheckbox,
|
|
63747
|
-
"not-checked": !i.isChecked,
|
|
63748
|
-
"is-disabled": i.disabled
|
|
63749
|
+
class: q(["freddy-plugins-base-checkbox", {
|
|
63750
|
+
"freddy-plugins-checked": i.isChecked && !i.blueCheckbox,
|
|
63751
|
+
"freddy-plugins-checked-blue": i.isChecked && i.blueCheckbox,
|
|
63752
|
+
"freddy-plugins-not-checked": !i.isChecked,
|
|
63753
|
+
"freddy-plugins-is-disabled": i.disabled
|
|
63749
63754
|
}]),
|
|
63750
63755
|
"aria-checked": i.isChecked,
|
|
63751
63756
|
"aria-disabled": i.disabled,
|
|
@@ -63755,7 +63760,7 @@ This should give you a solid foundation for building **maintainable**, **type-sa
|
|
|
63755
63760
|
l("input", {
|
|
63756
63761
|
id: "checkbox-input",
|
|
63757
63762
|
type: "checkbox",
|
|
63758
|
-
class: "checkbox-input",
|
|
63763
|
+
class: "freddy-plugins-checkbox-input",
|
|
63759
63764
|
checked: i.isChecked,
|
|
63760
63765
|
disabled: i.disabled,
|
|
63761
63766
|
onChange: s
|
|
@@ -65706,9 +65711,9 @@ const tr = new mD(
|
|
|
65706
65711
|
])
|
|
65707
65712
|
], 2));
|
|
65708
65713
|
}
|
|
65709
|
-
}), Ux = { class: "input-field-wrapper" }, Gx = ["for"], Yx = {
|
|
65714
|
+
}), Ux = { class: "freddy-plugins-input-field-wrapper" }, Gx = ["for"], Yx = {
|
|
65710
65715
|
key: 0,
|
|
65711
|
-
class: "required-asterisk"
|
|
65716
|
+
class: "freddy-plugins-required-asterisk"
|
|
65712
65717
|
}, Vx = /* @__PURE__ */ j({
|
|
65713
65718
|
__name: "BaseInput",
|
|
65714
65719
|
props: {
|
|
@@ -65726,13 +65731,13 @@ const tr = new mD(
|
|
|
65726
65731
|
const r = t, o = n, a = F(
|
|
65727
65732
|
() => `input-${Math.random().toString(36).substr(2, 9)}`
|
|
65728
65733
|
), s = F(() => ({
|
|
65729
|
-
[`input-field-container--${r.size}`]: !0,
|
|
65730
|
-
[`input-field-container--${r.colorStyle}`]: !0,
|
|
65731
|
-
"input-field-container--destructive": r.destructive || r.state === "error",
|
|
65732
|
-
"input-field-container--focused": r.state === "focused",
|
|
65733
|
-
"input-field-container--disabled": r.state === "disabled",
|
|
65734
|
-
"input-field-container--loading": r.state === "loading",
|
|
65735
|
-
"input-field-container--success": r.state === "success"
|
|
65734
|
+
[`freddy-plugins-input-field-container--${r.size}`]: !0,
|
|
65735
|
+
[`freddy-plugins-input-field-container--${r.colorStyle}`]: !0,
|
|
65736
|
+
"freddy-plugins-input-field-container--destructive": r.destructive || r.state === "error",
|
|
65737
|
+
"freddy-plugins-input-field-container--focused": r.state === "focused",
|
|
65738
|
+
"freddy-plugins-input-field-container--disabled": r.state === "disabled",
|
|
65739
|
+
"freddy-plugins-input-field-container--loading": r.state === "loading",
|
|
65740
|
+
"freddy-plugins-input-field-container--success": r.state === "success"
|
|
65736
65741
|
})), i = () => {
|
|
65737
65742
|
r.state !== "disabled" && o("focus", new FocusEvent("focus"));
|
|
65738
65743
|
};
|
|
@@ -65744,24 +65749,24 @@ const tr = new mD(
|
|
|
65744
65749
|
c.label ? (p(), g("label", {
|
|
65745
65750
|
key: 0,
|
|
65746
65751
|
for: a.value,
|
|
65747
|
-
class: q(["input-field-label", `input-field-label--${c.colorStyle}`])
|
|
65752
|
+
class: q(["freddy-plugins-input-field-label", `freddy-plugins-input-field-label--${c.colorStyle}`])
|
|
65748
65753
|
}, [
|
|
65749
65754
|
me(D(c.label) + " ", 1),
|
|
65750
65755
|
c.required ? (p(), g("span", Yx, "*")) : B("", !0)
|
|
65751
65756
|
], 10, Gx)) : B("", !0),
|
|
65752
65757
|
l("div", {
|
|
65753
|
-
class: q(["input-field-container", s.value]),
|
|
65758
|
+
class: q(["freddy-plugins-input-field-container", s.value]),
|
|
65754
65759
|
onClick: i
|
|
65755
65760
|
}, [
|
|
65756
65761
|
nt(c.$slots, "default", {}, void 0, !0)
|
|
65757
65762
|
], 2),
|
|
65758
65763
|
c.hintText ? (p(), g("p", {
|
|
65759
65764
|
key: 1,
|
|
65760
|
-
class: q(["input-hint-text", `input-hint-text--${c.colorStyle}`])
|
|
65765
|
+
class: q(["freddy-plugins-input-hint-text", `freddy-plugins-input-hint-text--${c.colorStyle}`])
|
|
65761
65766
|
}, D(c.hintText), 3)) : B("", !0)
|
|
65762
65767
|
]));
|
|
65763
65768
|
}
|
|
65764
|
-
}), Wu = /* @__PURE__ */ x(Vx, [["__scopeId", "data-v-
|
|
65769
|
+
}), Wu = /* @__PURE__ */ x(Vx, [["__scopeId", "data-v-bb114a19"]]), i2 = (t, e, n) => {
|
|
65765
65770
|
const r = t[e];
|
|
65766
65771
|
return r ? typeof r == "function" ? r() : Promise.resolve(r) : new Promise((o, a) => {
|
|
65767
65772
|
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(
|
|
@@ -65846,13 +65851,13 @@ const tr = new mD(
|
|
|
65846
65851
|
return 19;
|
|
65847
65852
|
}
|
|
65848
65853
|
}), m = F(() => ({
|
|
65849
|
-
[`input-field--${r.size}`]: !0,
|
|
65850
|
-
[`input-field--${r.colorStyle}`]: !0,
|
|
65851
|
-
"input-field--destructive": r.destructive,
|
|
65852
|
-
"input-field--focused": r.state === "focused",
|
|
65853
|
-
"input-field--disabled": r.state === "disabled",
|
|
65854
|
-
"input-field--with-leading": r.showCardIcon && u.value !== "unknown",
|
|
65855
|
-
"input-field--with-trailing": !!f.value
|
|
65854
|
+
[`freddy-plugins-input-field--${r.size}`]: !0,
|
|
65855
|
+
[`freddy-plugins-input-field--${r.colorStyle}`]: !0,
|
|
65856
|
+
"freddy-plugins-input-field--destructive": r.destructive,
|
|
65857
|
+
"freddy-plugins-input-field--focused": r.state === "focused",
|
|
65858
|
+
"freddy-plugins-input-field--disabled": r.state === "disabled",
|
|
65859
|
+
"freddy-plugins-input-field--with-leading": r.showCardIcon && u.value !== "unknown",
|
|
65860
|
+
"freddy-plugins-input-field--with-trailing": !!f.value
|
|
65856
65861
|
})), C = (A) => {
|
|
65857
65862
|
const O = A.replace(/\D/g, "");
|
|
65858
65863
|
return /^4/.test(O) ? "visa" : /^5[1-5]/.test(O) || /^2[2-7]/.test(O) ? "mastercard" : /^3[47]/.test(O) ? "amex" : /^6/.test(O) ? "discover" : "unknown";
|
|
@@ -65905,12 +65910,12 @@ const tr = new mD(
|
|
|
65905
65910
|
return [
|
|
65906
65911
|
A.showCardIcon && u.value !== "unknown" ? (p(), g("div", {
|
|
65907
65912
|
key: 0,
|
|
65908
|
-
class: q(["card-type-icon", `card-type-icon--${A.colorStyle}`])
|
|
65913
|
+
class: q(["freddy-plugins-card-type-icon", `freddy-plugins-card-type-icon--${A.colorStyle}`])
|
|
65909
65914
|
}, [
|
|
65910
65915
|
l("img", {
|
|
65911
65916
|
src: R(u.value),
|
|
65912
65917
|
alt: `${u.value} card`,
|
|
65913
|
-
class: "card-icon-image"
|
|
65918
|
+
class: "freddy-plugins-card-icon-image"
|
|
65914
65919
|
}, null, 8, Hx)
|
|
65915
65920
|
], 2)) : B("", !0),
|
|
65916
65921
|
M(l("input", {
|
|
@@ -65924,7 +65929,7 @@ const tr = new mD(
|
|
|
65924
65929
|
disabled: A.disabled,
|
|
65925
65930
|
readonly: A.readonly,
|
|
65926
65931
|
maxlength: E.value,
|
|
65927
|
-
class: q(["input-field card-input-field", m.value]),
|
|
65932
|
+
class: q(["freddy-plugins-input-field freddy-plugins-card-input-field", m.value]),
|
|
65928
65933
|
onInput: b,
|
|
65929
65934
|
onKeydown: v,
|
|
65930
65935
|
onFocus: h,
|
|
@@ -65934,7 +65939,7 @@ const tr = new mD(
|
|
|
65934
65939
|
]),
|
|
65935
65940
|
f.value ? (p(), re(We(f.value), {
|
|
65936
65941
|
key: 1,
|
|
65937
|
-
class: q(["input-trailing-icon", `input-trailing-icon--${A.colorStyle}`]),
|
|
65942
|
+
class: q(["freddy-plugins-input-trailing-icon", `freddy-plugins-input-trailing-icon--${A.colorStyle}`]),
|
|
65938
65943
|
onClick: S
|
|
65939
65944
|
}, null, 8, ["class"])) : B("", !0)
|
|
65940
65945
|
];
|
|
@@ -65942,7 +65947,7 @@ const tr = new mD(
|
|
|
65942
65947
|
_: 1
|
|
65943
65948
|
}, 16));
|
|
65944
65949
|
}
|
|
65945
|
-
}), $x = /* @__PURE__ */ x(zx, [["__scopeId", "data-v-
|
|
65950
|
+
}), $x = /* @__PURE__ */ x(zx, [["__scopeId", "data-v-3a6797a1"]]), Wx = ["id", "type", "placeholder", "disabled", "readonly"], Kx = /* @__PURE__ */ j({
|
|
65946
65951
|
__name: "DefaultInput",
|
|
65947
65952
|
props: {
|
|
65948
65953
|
placeholder: { default: "" },
|
|
@@ -65975,13 +65980,13 @@ const tr = new mD(
|
|
|
65975
65980
|
})), u = (h) => h ? typeof h == "object" ? h : typeof h == "string" ? Ie(
|
|
65976
65981
|
() => i2(/* @__PURE__ */ Object.assign({ "../../icons/IconAddFileSystem.vue": () => Promise.resolve().then(() => nl), "../../icons/IconAddPeople.vue": () => Promise.resolve().then(() => rl), "../../icons/IconAitronos.vue": () => Promise.resolve().then(() => ol), "../../icons/IconApple.vue": () => Promise.resolve().then(() => il), "../../icons/IconApplePay.vue": () => Promise.resolve().then(() => sl), "../../icons/IconArrowDown.vue": () => Promise.resolve().then(() => _r), "../../icons/IconArrowLeft.vue": () => Promise.resolve().then(() => pr), "../../icons/IconArrowUp.vue": () => Promise.resolve().then(() => mr), "../../icons/IconBadgeCheck.vue": () => Promise.resolve().then(() => cl), "../../icons/IconBroom.vue": () => Promise.resolve().then(() => ul), "../../icons/IconBuildings.vue": () => Promise.resolve().then(() => dl), "../../icons/IconCalendarWithTickInside.vue": () => Promise.resolve().then(() => _l), "../../icons/IconCallNotAllowed.vue": () => Promise.resolve().then(() => pl), "../../icons/IconCardPay.vue": () => Promise.resolve().then(() => ml), "../../icons/IconCaution.vue": () => Promise.resolve().then(() => fl), "../../icons/IconChangeLog.vue": () => Promise.resolve().then(() => El), "../../icons/IconCheckCircleFill.vue": () => Promise.resolve().then(() => bl), "../../icons/IconCheckInCircle.vue": () => Promise.resolve().then(() => hl), "../../icons/IconCheckRounded.vue": () => Promise.resolve().then(() => Cl), "../../icons/IconChevronDown.vue": () => Promise.resolve().then(() => gr), "../../icons/IconChevronLeft.vue": () => Promise.resolve().then(() => fr), "../../icons/IconChevronRight.vue": () => Promise.resolve().then(() => Er), "../../icons/IconChevronUp.vue": () => Promise.resolve().then(() => br), "../../icons/IconCircledCheck.vue": () => Promise.resolve().then(() => vl), "../../icons/IconClock.vue": () => Promise.resolve().then(() => Tl), "../../icons/IconClosedEnvelope.vue": () => Promise.resolve().then(() => yl), "../../icons/IconCloudUpload.vue": () => Promise.resolve().then(() => Al), "../../icons/IconConnectorConfluence.vue": () => Promise.resolve().then(() => Rl), "../../icons/IconConnectorFigma.vue": () => Promise.resolve().then(() => Il), "../../icons/IconConnectorFreshDesk.vue": () => Promise.resolve().then(() => Ol), "../../icons/IconConnectorGitHub.vue": () => Promise.resolve().then(() => Nl), "../../icons/IconConnectorJira.vue": () => Promise.resolve().then(() => Dl), "../../icons/IconConnectorLinear.vue": () => Promise.resolve().then(() => xl), "../../icons/IconConnectorNotion.vue": () => Promise.resolve().then(() => wl), "../../icons/IconConnectorSlack.vue": () => Promise.resolve().then(() => Ml), "../../icons/IconConnectorZapier.vue": () => Promise.resolve().then(() => kl), "../../icons/IconCopy.vue": () => Promise.resolve().then(() => hr), "../../icons/IconCross.vue": () => Promise.resolve().then(() => Cr), "../../icons/IconCrossCircleFill.vue": () => Promise.resolve().then(() => Ll), "../../icons/IconCrossInCircle.vue": () => Promise.resolve().then(() => Pl), "../../icons/IconCurrentTick.vue": () => Promise.resolve().then(() => Fl), "../../icons/IconDataUpload.vue": () => Promise.resolve().then(() => Ul), "../../icons/IconDelete.vue": () => Promise.resolve().then(() => vr), "../../icons/IconDeleteFillRed.vue": () => Promise.resolve().then(() => Yl), "../../icons/IconDisabledAlert.vue": () => Promise.resolve().then(() => Vl), "../../icons/IconDocumentation.vue": () => Promise.resolve().then(() => Hl), "../../icons/IconDownload.vue": () => Promise.resolve().then(() => Tr), "../../icons/IconDribbble.vue": () => Promise.resolve().then(() => zl), "../../icons/IconDropdownArrow.vue": () => Promise.resolve().then(() => $l), "../../icons/IconEdit.vue": () => Promise.resolve().then(() => yr), "../../icons/IconEditLinePath.vue": () => Promise.resolve().then(() => Kl), "../../icons/IconEllipse.vue": () => Promise.resolve().then(() => Fu), "../../icons/IconExcelThumbnail.vue": () => Promise.resolve().then(() => Zl), "../../icons/IconEye.vue": () => Promise.resolve().then(() => Rr), "../../icons/IconFacebook.vue": () => Promise.resolve().then(() => Jl), "../../icons/IconFigma.vue": () => Promise.resolve().then(() => tc), "../../icons/IconFile.vue": () => Promise.resolve().then(() => Or), "../../icons/IconFileSystem.vue": () => Promise.resolve().then(() => rc), "../../icons/IconFileUpload.vue": () => Promise.resolve().then(() => oc), "../../icons/IconFilter.vue": () => Promise.resolve().then(() => Nr), "../../icons/IconFolder.vue": () => Promise.resolve().then(() => xr), "../../icons/IconFreddyHub.vue": () => Promise.resolve().then(() => ic), "../../icons/IconFreddyHubLogo.vue": () => Promise.resolve().then(() => sc), "../../icons/IconFreddyHubNewLogo.vue": () => Promise.resolve().then(() => lc), "../../icons/IconFreddyHubTitle.vue": () => Promise.resolve().then(() => cc), "../../icons/IconFreddySmall.vue": () => Promise.resolve().then(() => dc), "../../icons/IconGlobExpand.vue": () => Promise.resolve().then(() => _c), "../../icons/IconGoogle.vue": () => Promise.resolve().then(() => mc), "../../icons/IconHollowCircle.vue": () => Promise.resolve().then(() => gc), "../../icons/IconHome.vue": () => Promise.resolve().then(() => wr), "../../icons/IconInfoRounded.vue": () => Promise.resolve().then(() => fc), "../../icons/IconInvalidInvoice.vue": () => Promise.resolve().then(() => Ec), "../../icons/IconInvoice.vue": () => Promise.resolve().then(() => Sc), "../../icons/IconInvoiceSwitch.vue": () => Promise.resolve().then(() => bc), "../../icons/IconLapTableBottom.vue": () => Promise.resolve().then(() => hc), "../../icons/IconLense.vue": () => Promise.resolve().then(() => Cc), "../../icons/IconLightCross.vue": () => Promise.resolve().then(() => vc), "../../icons/IconLink04.vue": () => Promise.resolve().then(() => kr), "../../icons/IconLoadingError.vue": () => Promise.resolve().then(() => Tc), "../../icons/IconLoadingOrg.vue": () => Promise.resolve().then(() => yc), "../../icons/IconLocationWithCircleIn.vue": () => Promise.resolve().then(() => Ac), "../../icons/IconLock.vue": () => Promise.resolve().then(() => Lr), "../../icons/IconMarketPlace.vue": () => Promise.resolve().then(() => Ic), "../../icons/IconMaximize.vue": () => Promise.resolve().then(() => Nc), "../../icons/IconMicrophone.vue": () => Promise.resolve().then(() => Dc), "../../icons/IconMutedMicrophone.vue": () => Promise.resolve().then(() => xc), "../../icons/IconNewNotification.vue": () => Promise.resolve().then(() => wc), "../../icons/IconNewTab.vue": () => Promise.resolve().then(() => kc), "../../icons/IconNotification.vue": () => Promise.resolve().then(() => Lc), "../../icons/IconOpenBook.vue": () => Promise.resolve().then(() => Pc), "../../icons/IconPaperAirPlane.vue": () => Promise.resolve().then(() => Bc), "../../icons/IconPauseCircle.vue": () => Promise.resolve().then(() => Uc), "../../icons/IconPdfThumbnail.vue": () => Promise.resolve().then(() => Gc), "../../icons/IconPenEdit.vue": () => Promise.resolve().then(() => Yc), "../../icons/IconPencil.vue": () => Promise.resolve().then(() => Vc), "../../icons/IconPeopleHub.vue": () => Promise.resolve().then(() => Hc), "../../icons/IconPersonCircle.vue": () => Promise.resolve().then(() => qc), "../../icons/IconPits.vue": () => Promise.resolve().then(() => zc), "../../icons/IconPlay.vue": () => Promise.resolve().then(() => $c), "../../icons/IconPlus.vue": () => Promise.resolve().then(() => Pr), "../../icons/IconPolygonDown.vue": () => Promise.resolve().then(() => Kc), "../../icons/IconPresentation.vue": () => Promise.resolve().then(() => Qc), "../../icons/IconProgressBase.vue": () => Promise.resolve().then(() => Zc), "../../icons/IconProgressComplete.vue": () => Promise.resolve().then(() => jc), "../../icons/IconProgressGoing.vue": () => Promise.resolve().then(() => Xc), "../../icons/IconPurpose.vue": () => Promise.resolve().then(() => Jc), "../../icons/IconPurseCircleFill.vue": () => Promise.resolve().then(() => eu), "../../icons/IconQuestion.vue": () => Promise.resolve().then(() => tu), "../../icons/IconRadio.vue": () => Promise.resolve().then(() => nu), "../../icons/IconRadioFill.vue": () => Promise.resolve().then(() => ru), "../../icons/IconRefresh.vue": () => Promise.resolve().then(() => Fr), "../../icons/IconRevertedTraingle.vue": () => Promise.resolve().then(() => iu), "../../icons/IconRobotScreen.vue": () => Promise.resolve().then(() => su), "../../icons/IconRoundTick.vue": () => Promise.resolve().then(() => lu), "../../icons/IconSearch.vue": () => Promise.resolve().then(() => Gr), "../../icons/IconSectionHide.vue": () => Promise.resolve().then(() => uu), "../../icons/IconSend.vue": () => Promise.resolve().then(() => Yr), "../../icons/IconSettings.vue": () => Promise.resolve().then(() => Vr), "../../icons/IconSettingsBold.vue": () => Promise.resolve().then(() => _u), "../../icons/IconSize.vue": () => Promise.resolve().then(() => pu), "../../icons/IconSortIdle.vue": () => Promise.resolve().then(() => mu), "../../icons/IconSparkle.vue": () => Promise.resolve().then(() => gu), "../../icons/IconSpotlio.vue": () => Promise.resolve().then(() => fu), "../../icons/IconStar.vue": () => Promise.resolve().then(() => qr), "../../icons/IconStatistics.vue": () => Promise.resolve().then(() => Su), "../../icons/IconStopChat.vue": () => Promise.resolve().then(() => bu), "../../icons/IconStreamLineHub.vue": () => Promise.resolve().then(() => hu), "../../icons/IconStreamLineHubNewLogo.vue": () => Promise.resolve().then(() => Cu), "../../icons/IconSun.vue": () => Promise.resolve().then(() => vu), "../../icons/IconSwap.vue": () => Promise.resolve().then(() => Tu), "../../icons/IconText.vue": () => Promise.resolve().then(() => zr), "../../icons/IconTextThumbnail.vue": () => Promise.resolve().then(() => Au), "../../icons/IconThinDocument.vue": () => Promise.resolve().then(() => Ru), "../../icons/IconThinFile.vue": () => Promise.resolve().then(() => Iu), "../../icons/IconThumbsDown.vue": () => Promise.resolve().then(() => Nu), "../../icons/IconTick.vue": () => Promise.resolve().then(() => $r), "../../icons/IconUser.vue": () => Promise.resolve().then(() => Wr), "../../icons/IconVerticalDots.vue": () => Promise.resolve().then(() => Du), "../../icons/IconVideoCamera.vue": () => Promise.resolve().then(() => xu), "../../icons/IconWarningOctal.vue": () => Promise.resolve().then(() => wu), "../../icons/IconX.vue": () => Promise.resolve().then(() => ku), "../../icons/IconZip.vue": () => Promise.resolve().then(() => Lu) }), `../../icons/${h}.vue`, 4).catch(() => ({ template: "<div></div>" }))
|
|
65977
65982
|
) : null : null, d = F(() => u(r.leadingIcon)), _ = F(() => u(r.trailingIcon)), f = F(() => ({
|
|
65978
|
-
[`input-field--${r.size}`]: !0,
|
|
65979
|
-
[`input-field--${r.colorStyle}`]: !0,
|
|
65980
|
-
"input-field--destructive": r.destructive,
|
|
65981
|
-
"input-field--focused": r.state === "focused",
|
|
65982
|
-
"input-field--disabled": r.state === "disabled",
|
|
65983
|
-
"input-field--with-leading": !!d.value,
|
|
65984
|
-
"input-field--with-trailing": !!_.value
|
|
65983
|
+
[`freddy-plugins-input-field--${r.size}`]: !0,
|
|
65984
|
+
[`freddy-plugins-input-field--${r.colorStyle}`]: !0,
|
|
65985
|
+
"freddy-plugins-input-field--destructive": r.destructive,
|
|
65986
|
+
"freddy-plugins-input-field--focused": r.state === "focused",
|
|
65987
|
+
"freddy-plugins-input-field--disabled": r.state === "disabled",
|
|
65988
|
+
"freddy-plugins-input-field--with-leading": !!d.value,
|
|
65989
|
+
"freddy-plugins-input-field--with-trailing": !!_.value
|
|
65985
65990
|
})), E = (h) => {
|
|
65986
65991
|
const T = h.target;
|
|
65987
65992
|
i.value = T.value, o("update:modelValue", T.value), o("input", T.value);
|
|
@@ -66016,7 +66021,7 @@ const tr = new mD(
|
|
|
66016
66021
|
return [
|
|
66017
66022
|
d.value ? (p(), re(We(d.value), {
|
|
66018
66023
|
key: 0,
|
|
66019
|
-
class: q(["input-leading-icon", `input-leading-icon--${h.colorStyle}`]),
|
|
66024
|
+
class: q(["freddy-plugins-input-leading-icon", `freddy-plugins-input-leading-icon--${h.colorStyle}`]),
|
|
66020
66025
|
onClick: R
|
|
66021
66026
|
}, null, 8, ["class"])) : B("", !0),
|
|
66022
66027
|
M(l("input", {
|
|
@@ -66028,7 +66033,7 @@ const tr = new mD(
|
|
|
66028
66033
|
placeholder: h.placeholder,
|
|
66029
66034
|
disabled: h.disabled,
|
|
66030
66035
|
readonly: h.readonly,
|
|
66031
|
-
class: q(["input-field", f.value]),
|
|
66036
|
+
class: q(["freddy-plugins-input-field", f.value]),
|
|
66032
66037
|
onInput: E,
|
|
66033
66038
|
onFocus: m,
|
|
66034
66039
|
onBlur: C,
|
|
@@ -66043,13 +66048,13 @@ const tr = new mD(
|
|
|
66043
66048
|
}, {
|
|
66044
66049
|
default: Pe(() => [
|
|
66045
66050
|
(p(), re(We(_.value), {
|
|
66046
|
-
class: q(["input-trailing-icon", `input-trailing-icon--${h.colorStyle}`])
|
|
66051
|
+
class: q(["freddy-plugins-input-trailing-icon", `freddy-plugins-input-trailing-icon--${h.colorStyle}`])
|
|
66047
66052
|
}, null, 8, ["class"]))
|
|
66048
66053
|
]),
|
|
66049
66054
|
_: 1
|
|
66050
66055
|
}, 8, ["text"])) : _.value ? (p(), re(We(_.value), {
|
|
66051
66056
|
key: 2,
|
|
66052
|
-
class: q(["input-trailing-icon", `input-trailing-icon--${h.colorStyle}`]),
|
|
66057
|
+
class: q(["freddy-plugins-input-trailing-icon", `freddy-plugins-input-trailing-icon--${h.colorStyle}`]),
|
|
66053
66058
|
onClick: b
|
|
66054
66059
|
}, null, 8, ["class"])) : B("", !0)
|
|
66055
66060
|
];
|
|
@@ -66057,9 +66062,9 @@ const tr = new mD(
|
|
|
66057
66062
|
_: 1
|
|
66058
66063
|
}, 16));
|
|
66059
66064
|
}
|
|
66060
|
-
}), Qx = /* @__PURE__ */ x(Kx, [["__scopeId", "data-v-
|
|
66065
|
+
}), Qx = /* @__PURE__ */ x(Kx, [["__scopeId", "data-v-e865b202"]]), Zx = { class: "freddy-plugins-figma-dropdown-text" }, jx = ["onClick"], Xx = { class: "freddy-plugins-country-flag" }, Jx = { class: "freddy-plugins-country-name" }, ew = { class: "freddy-plugins-country-dial-code" }, tw = ["id", "placeholder", "disabled", "readonly"], nw = {
|
|
66061
66066
|
key: 0,
|
|
66062
|
-
class: "figma-help-icon"
|
|
66067
|
+
class: "freddy-plugins-figma-help-icon"
|
|
66063
66068
|
}, rw = /* @__PURE__ */ j({
|
|
66064
66069
|
__name: "PhoneInput",
|
|
66065
66070
|
props: {
|
|
@@ -66156,7 +66161,7 @@ const tr = new mD(
|
|
|
66156
66161
|
var T;
|
|
66157
66162
|
(T = a.value) == null || T.focus();
|
|
66158
66163
|
}, h = (T) => {
|
|
66159
|
-
T.target.closest(".input-field-container") || (c.value = !1);
|
|
66164
|
+
T.target.closest(".freddy-plugins-input-field-container") || (c.value = !1);
|
|
66160
66165
|
};
|
|
66161
66166
|
return Fe(
|
|
66162
66167
|
() => r.countryCode,
|
|
@@ -66184,19 +66189,19 @@ const tr = new mD(
|
|
|
66184
66189
|
var I;
|
|
66185
66190
|
return [
|
|
66186
66191
|
l("div", {
|
|
66187
|
-
class: q(["figma-dropdown", `figma-dropdown--${T.colorStyle}`]),
|
|
66192
|
+
class: q(["freddy-plugins-figma-dropdown", `freddy-plugins-figma-dropdown--${T.colorStyle}`]),
|
|
66188
66193
|
onClick: m
|
|
66189
66194
|
}, [
|
|
66190
66195
|
l("span", Zx, D(E.value.code), 1),
|
|
66191
|
-
H(G(jt), { class: "figma-dropdown-icon" })
|
|
66196
|
+
H(G(jt), { class: "freddy-plugins-figma-dropdown-icon" })
|
|
66192
66197
|
], 2),
|
|
66193
66198
|
c.value ? (p(), g("div", {
|
|
66194
66199
|
key: 0,
|
|
66195
|
-
class: q(["country-options-dropdown", `country-options-dropdown--${T.colorStyle}`])
|
|
66200
|
+
class: q(["freddy-plugins-country-options-dropdown", `freddy-plugins-country-options-dropdown--${T.colorStyle}`])
|
|
66196
66201
|
}, [
|
|
66197
66202
|
(p(!0), g(ue, null, _e(f.value, (A) => (p(), g("div", {
|
|
66198
66203
|
key: A.code,
|
|
66199
|
-
class: q(["country-option", `country-option--${T.colorStyle}`]),
|
|
66204
|
+
class: q(["freddy-plugins-country-option", `freddy-plugins-country-option--${T.colorStyle}`]),
|
|
66200
66205
|
onClick: (O) => C(A)
|
|
66201
66206
|
}, [
|
|
66202
66207
|
l("span", Xx, D(A.flag), 1),
|
|
@@ -66205,7 +66210,7 @@ const tr = new mD(
|
|
|
66205
66210
|
], 10, jx))), 128))
|
|
66206
66211
|
], 2)) : B("", !0),
|
|
66207
66212
|
l("div", {
|
|
66208
|
-
class: q(["figma-text-input", `figma-text-input--${T.colorStyle}`])
|
|
66213
|
+
class: q(["freddy-plugins-figma-text-input", `freddy-plugins-figma-text-input--${T.colorStyle}`])
|
|
66209
66214
|
}, [
|
|
66210
66215
|
M(l("input", {
|
|
66211
66216
|
id: (I = s.value) == null ? void 0 : I.inputId,
|
|
@@ -66216,7 +66221,7 @@ const tr = new mD(
|
|
|
66216
66221
|
placeholder: T.placeholder,
|
|
66217
66222
|
disabled: T.disabled,
|
|
66218
66223
|
readonly: T.readonly,
|
|
66219
|
-
class: "figma-phone-input",
|
|
66224
|
+
class: "freddy-plugins-figma-phone-input",
|
|
66220
66225
|
onInput: y,
|
|
66221
66226
|
onFocus: R,
|
|
66222
66227
|
onBlur: b
|
|
@@ -66230,12 +66235,12 @@ const tr = new mD(
|
|
|
66230
66235
|
placement: "top"
|
|
66231
66236
|
}, {
|
|
66232
66237
|
default: Pe(() => [
|
|
66233
|
-
H(G(un), { class: "figma-help-icon-svg" })
|
|
66238
|
+
H(G(un), { class: "freddy-plugins-figma-help-icon-svg" })
|
|
66234
66239
|
]),
|
|
66235
66240
|
_: 1
|
|
66236
66241
|
}, 8, ["text"])) : (p(), re(G(un), {
|
|
66237
66242
|
key: 1,
|
|
66238
|
-
class: "figma-help-icon-svg"
|
|
66243
|
+
class: "freddy-plugins-figma-help-icon-svg"
|
|
66239
66244
|
}))
|
|
66240
66245
|
])) : B("", !0)
|
|
66241
66246
|
], 2)
|
|
@@ -66244,7 +66249,7 @@ const tr = new mD(
|
|
|
66244
66249
|
_: 1
|
|
66245
66250
|
}, 16));
|
|
66246
66251
|
}
|
|
66247
|
-
}), ow = /* @__PURE__ */ x(rw, [["__scopeId", "data-v-
|
|
66252
|
+
}), ow = /* @__PURE__ */ x(rw, [["__scopeId", "data-v-20d005c2"]]), aw = /* @__PURE__ */ j({
|
|
66248
66253
|
__name: "InputField",
|
|
66249
66254
|
props: {
|
|
66250
66255
|
size: { default: "md" },
|
|
@@ -66416,7 +66421,7 @@ const tr = new mD(
|
|
|
66416
66421
|
}, sw = {
|
|
66417
66422
|
key: 0,
|
|
66418
66423
|
class: "fixed z-[9998] top-0 left-0 w-full h-full bg-modalBackgroundBlur flex justify-center items-center"
|
|
66419
|
-
}, lw = { class: "flex justify-center items-center" }, cw = { class: "modal-header" }, uw = { class: "modal-body" }, dw = { class: "modal-footer" };
|
|
66424
|
+
}, lw = { class: "flex justify-center items-center" }, cw = { class: "freddy-plugins-modal-header" }, uw = { class: "freddy-plugins-modal-body" }, dw = { class: "freddy-plugins-modal-footer" };
|
|
66420
66425
|
function _w(t, e, n, r, o, a) {
|
|
66421
66426
|
return p(), re(Fn, { name: "modal" }, {
|
|
66422
66427
|
default: Pe(() => [
|
|
@@ -66425,7 +66430,7 @@ function _w(t, e, n, r, o, a) {
|
|
|
66425
66430
|
l("div", {
|
|
66426
66431
|
class: q({
|
|
66427
66432
|
"p-8 bg-background rounded-[2.5rem] overflow-hidden text-white": n.largeModel,
|
|
66428
|
-
"modal-container-large": n.largeModel
|
|
66433
|
+
"freddy-plugins-modal-container-large": n.largeModel
|
|
66429
66434
|
})
|
|
66430
66435
|
}, [
|
|
66431
66436
|
l("div", cw, [
|
|
@@ -66910,7 +66915,7 @@ const pw = /* @__PURE__ */ x(iw, [["render", _w]]), lP = /* @__PURE__ */ j({
|
|
|
66910
66915
|
})
|
|
66911
66916
|
], 2));
|
|
66912
66917
|
}
|
|
66913
|
-
}), Fw = { class: "freddy-modal-header" }, Bw = { class: "freddy-modal-body" }, dP = /* @__PURE__ */ j({
|
|
66918
|
+
}), Fw = { class: "freddy-plugins-modal-header" }, Bw = { class: "freddy-plugins-modal-body" }, dP = /* @__PURE__ */ j({
|
|
66914
66919
|
__name: "ModalOverlay",
|
|
66915
66920
|
props: {
|
|
66916
66921
|
modalTitle: {},
|
|
@@ -66927,23 +66932,23 @@ const pw = /* @__PURE__ */ x(iw, [["render", _w]]), lP = /* @__PURE__ */ j({
|
|
|
66927
66932
|
return (c, u) => (p(), g("div", {
|
|
66928
66933
|
role: "dialog",
|
|
66929
66934
|
"aria-modal": "true",
|
|
66930
|
-
class: "freddy-modal-overlay",
|
|
66935
|
+
class: "freddy-plugins-modal-overlay",
|
|
66931
66936
|
onClick: i
|
|
66932
66937
|
}, [
|
|
66933
66938
|
l("div", {
|
|
66934
|
-
class: "freddy-modal-content",
|
|
66939
|
+
class: "freddy-plugins-modal-content",
|
|
66935
66940
|
onClick: u[0] || (u[0] = Ue(() => {
|
|
66936
66941
|
}, ["stop"]))
|
|
66937
66942
|
}, [
|
|
66938
66943
|
l("header", Fw, [
|
|
66939
66944
|
l("h2", {
|
|
66940
|
-
class: q(["freddy-modal-title", c.headerClass])
|
|
66945
|
+
class: q(["freddy-plugins-modal-title", c.headerClass])
|
|
66941
66946
|
}, D(c.modalTitle), 3),
|
|
66942
66947
|
l("button", {
|
|
66943
|
-
class: "freddy-modal-close",
|
|
66948
|
+
class: "freddy-plugins-modal-close",
|
|
66944
66949
|
onClick: s
|
|
66945
66950
|
}, [
|
|
66946
|
-
H(Mr, { class: "freddy-modal-close-icon" })
|
|
66951
|
+
H(Mr, { class: "freddy-plugins-modal-close-icon" })
|
|
66947
66952
|
])
|
|
66948
66953
|
]),
|
|
66949
66954
|
l("div", Bw, [
|
|
@@ -67270,18 +67275,18 @@ const pw = /* @__PURE__ */ x(iw, [["render", _w]]), lP = /* @__PURE__ */ j({
|
|
|
67270
67275
|
])
|
|
67271
67276
|
])) : B("", !0);
|
|
67272
67277
|
}
|
|
67273
|
-
}), dM = { class: "slider-container" }, _M = {
|
|
67278
|
+
}), dM = { class: "freddy-plugins-slider-container" }, _M = {
|
|
67274
67279
|
key: 0,
|
|
67275
|
-
class: "slider-header"
|
|
67280
|
+
class: "freddy-plugins-slider-header"
|
|
67276
67281
|
}, pM = {
|
|
67277
67282
|
key: 0,
|
|
67278
|
-
class: "slider-label-section"
|
|
67279
|
-
}, mM = { class: "slider-label" }, gM = {
|
|
67283
|
+
class: "freddy-plugins-slider-label-section"
|
|
67284
|
+
}, mM = { class: "freddy-plugins-slider-label" }, gM = {
|
|
67280
67285
|
key: 1,
|
|
67281
|
-
class: "slider-value-badge"
|
|
67286
|
+
class: "freddy-plugins-slider-value-badge"
|
|
67282
67287
|
}, fM = ["tabindex", "aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-disabled", "aria-label"], EM = {
|
|
67283
67288
|
key: 1,
|
|
67284
|
-
class: "slider-hint"
|
|
67289
|
+
class: "freddy-plugins-slider-hint"
|
|
67285
67290
|
}, SM = /* @__PURE__ */ j({
|
|
67286
67291
|
__name: "Slider",
|
|
67287
67292
|
props: {
|
|
@@ -67381,7 +67386,7 @@ const pw = /* @__PURE__ */ x(iw, [["render", _w]]), lP = /* @__PURE__ */ j({
|
|
|
67381
67386
|
placement: b.tooltipPlacement
|
|
67382
67387
|
}, {
|
|
67383
67388
|
default: Pe(() => [
|
|
67384
|
-
H($t, { class: "slider-tooltip-icon" })
|
|
67389
|
+
H($t, { class: "freddy-plugins-slider-tooltip-icon" })
|
|
67385
67390
|
]),
|
|
67386
67391
|
_: 1
|
|
67387
67392
|
}, 8, ["text", "placement"])) : B("", !0)
|
|
@@ -67389,7 +67394,7 @@ const pw = /* @__PURE__ */ x(iw, [["render", _w]]), lP = /* @__PURE__ */ j({
|
|
|
67389
67394
|
b.showValue ? (p(), g("div", gM, D(c.value), 1)) : B("", !0)
|
|
67390
67395
|
])) : B("", !0),
|
|
67391
67396
|
l("div", {
|
|
67392
|
-
class: q(["slider-track-container", { "slider-disabled": b.disabled }]),
|
|
67397
|
+
class: q(["freddy-plugins-slider-track-container", { "freddy-plugins-slider-disabled": b.disabled }]),
|
|
67393
67398
|
onClick: y,
|
|
67394
67399
|
onKeydown: R,
|
|
67395
67400
|
tabindex: b.disabled ? -1 : 0,
|
|
@@ -67403,16 +67408,16 @@ const pw = /* @__PURE__ */ x(iw, [["render", _w]]), lP = /* @__PURE__ */ j({
|
|
|
67403
67408
|
l("div", {
|
|
67404
67409
|
ref_key: "sliderTrack",
|
|
67405
67410
|
ref: i,
|
|
67406
|
-
class: "slider-track-background"
|
|
67411
|
+
class: "freddy-plugins-slider-track-background"
|
|
67407
67412
|
}, null, 512),
|
|
67408
67413
|
l("div", {
|
|
67409
|
-
class: "slider-track-progress",
|
|
67414
|
+
class: "freddy-plugins-slider-track-progress",
|
|
67410
67415
|
style: Ye({ width: u.value + "%" })
|
|
67411
67416
|
}, null, 4),
|
|
67412
67417
|
l("div", {
|
|
67413
|
-
class: q(["slider-thumb", {
|
|
67414
|
-
"slider-thumb-dragging": s.value,
|
|
67415
|
-
"slider-thumb-disabled": b.disabled
|
|
67418
|
+
class: q(["freddy-plugins-slider-thumb", {
|
|
67419
|
+
"freddy-plugins-slider-thumb-dragging": s.value,
|
|
67420
|
+
"freddy-plugins-slider-thumb-disabled": b.disabled
|
|
67416
67421
|
}]),
|
|
67417
67422
|
style: Ye({ left: d.value + "%" }),
|
|
67418
67423
|
onMousedown: m,
|
|
@@ -67422,7 +67427,7 @@ const pw = /* @__PURE__ */ x(iw, [["render", _w]]), lP = /* @__PURE__ */ j({
|
|
|
67422
67427
|
b.hint ? (p(), g("p", EM, D(b.hint), 1)) : B("", !0)
|
|
67423
67428
|
]));
|
|
67424
67429
|
}
|
|
67425
|
-
}), fP = /* @__PURE__ */ x(SM, [["__scopeId", "data-v-
|
|
67430
|
+
}), fP = /* @__PURE__ */ x(SM, [["__scopeId", "data-v-2b73014b"]]), bM = { class: "freddy-plugins-snackbar-content" }, hM = { class: "freddy-plugins-snackbar-left" }, CM = { class: "freddy-plugins-snackbar-text" }, vM = ["innerHTML"], TM = ["innerHTML"], yM = ["onClick"], EP = /* @__PURE__ */ j({
|
|
67426
67431
|
__name: "SnackBar",
|
|
67427
67432
|
setup(t) {
|
|
67428
67433
|
const { currentProject: e, currentColorMode: n } = Oe(), { snackQueue: r } = f3(), o = (i) => {
|
|
@@ -67451,54 +67456,54 @@ const pw = /* @__PURE__ */ x(iw, [["render", _w]]), lP = /* @__PURE__ */ j({
|
|
|
67451
67456
|
r.value.splice(i, 1);
|
|
67452
67457
|
};
|
|
67453
67458
|
return (i, c) => (p(), g("div", {
|
|
67454
|
-
class: q(["freddy-
|
|
67459
|
+
class: q(["freddy-plugins-snackbar-container", `freddy-plugins-snackbar-container--${a.value}`])
|
|
67455
67460
|
}, [
|
|
67456
67461
|
(p(!0), g(ue, null, _e(G(r), (u, d) => (p(), g("div", {
|
|
67457
67462
|
key: d,
|
|
67458
|
-
class: q(["freddy-
|
|
67463
|
+
class: q(["freddy-plugins-snackbar", `freddy-plugins-snackbar--${u.toastType}`])
|
|
67459
67464
|
}, [
|
|
67460
67465
|
l("div", bM, [
|
|
67461
67466
|
l("div", hM, [
|
|
67462
67467
|
(p(), re(We(o(u.toastType)), {
|
|
67463
|
-
class: q(["freddy-
|
|
67464
|
-
u.toastType === "info" && "freddy-
|
|
67465
|
-
u.toastType === "danger" && "freddy-
|
|
67466
|
-
u.toastType === "success" && "freddy-
|
|
67468
|
+
class: q(["freddy-plugins-snackbar-icon", [
|
|
67469
|
+
u.toastType === "info" && "freddy-plugins-snackbar-icon--info",
|
|
67470
|
+
u.toastType === "danger" && "freddy-plugins-snackbar-icon--danger",
|
|
67471
|
+
u.toastType === "success" && "freddy-plugins-snackbar-icon--success"
|
|
67467
67472
|
]])
|
|
67468
67473
|
}, null, 8, ["class"])),
|
|
67469
67474
|
l("div", CM, [
|
|
67470
67475
|
l("p", {
|
|
67471
|
-
class: "freddy-
|
|
67476
|
+
class: "freddy-plugins-snackbar-title",
|
|
67472
67477
|
innerHTML: u.title
|
|
67473
67478
|
}, null, 8, vM),
|
|
67474
67479
|
l("p", {
|
|
67475
|
-
class: "freddy-
|
|
67480
|
+
class: "freddy-plugins-snackbar-message",
|
|
67476
67481
|
innerHTML: u.message
|
|
67477
67482
|
}, null, 8, TM)
|
|
67478
67483
|
])
|
|
67479
67484
|
]),
|
|
67480
67485
|
l("button", {
|
|
67481
|
-
class: "freddy-
|
|
67486
|
+
class: "freddy-plugins-snackbar-close-btn",
|
|
67482
67487
|
onClick: (_) => s(d)
|
|
67483
67488
|
}, [
|
|
67484
|
-
H(Mr, { class: "freddy-
|
|
67489
|
+
H(Mr, { class: "freddy-plugins-snackbar-close-icon" })
|
|
67485
67490
|
], 8, yM)
|
|
67486
67491
|
])
|
|
67487
67492
|
], 2))), 128))
|
|
67488
67493
|
], 2));
|
|
67489
67494
|
}
|
|
67490
|
-
}), AM = { class: "switch-slot__header" }, RM = {
|
|
67495
|
+
}), AM = { class: "freddy-plugins-switch-slot__header" }, RM = {
|
|
67491
67496
|
key: 0,
|
|
67492
|
-
class: "switch-slot__label-section"
|
|
67497
|
+
class: "freddy-plugins-switch-slot__label-section"
|
|
67493
67498
|
}, IM = {
|
|
67494
67499
|
key: 0,
|
|
67495
|
-
class: "switch-slot__label"
|
|
67500
|
+
class: "freddy-plugins-switch-slot__label"
|
|
67496
67501
|
}, OM = ["aria-checked", "tabindex", "onKeydown", "disabled"], NM = {
|
|
67497
67502
|
key: 0,
|
|
67498
|
-
class: "switch-slot__content"
|
|
67503
|
+
class: "freddy-plugins-switch-slot__content"
|
|
67499
67504
|
}, DM = {
|
|
67500
67505
|
key: 1,
|
|
67501
|
-
class: "switch-slot__hint"
|
|
67506
|
+
class: "freddy-plugins-switch-slot__hint"
|
|
67502
67507
|
}, xM = /* @__PURE__ */ j({
|
|
67503
67508
|
__name: "SwitchSlot",
|
|
67504
67509
|
props: {
|
|
@@ -67517,9 +67522,9 @@ const pw = /* @__PURE__ */ x(iw, [["render", _w]]), lP = /* @__PURE__ */ j({
|
|
|
67517
67522
|
i.stopPropagation(), o.disabled || a("update:modelValue", !o.modelValue);
|
|
67518
67523
|
};
|
|
67519
67524
|
return (i, c) => (p(), g("div", {
|
|
67520
|
-
class: q(["switch-slot", {
|
|
67521
|
-
"switch-slot--bordered": i.variant === "bordered",
|
|
67522
|
-
"switch-slot--disabled": i.disabled
|
|
67525
|
+
class: q(["freddy-plugins-switch-slot", {
|
|
67526
|
+
"freddy-plugins-switch-slot--bordered": i.variant === "bordered",
|
|
67527
|
+
"freddy-plugins-switch-slot--disabled": i.disabled
|
|
67523
67528
|
}])
|
|
67524
67529
|
}, [
|
|
67525
67530
|
l("div", AM, [
|
|
@@ -67531,13 +67536,13 @@ const pw = /* @__PURE__ */ x(iw, [["render", _w]]), lP = /* @__PURE__ */ j({
|
|
|
67531
67536
|
placement: i.tooltipPlacement
|
|
67532
67537
|
}, {
|
|
67533
67538
|
default: Pe(() => [
|
|
67534
|
-
H($t, { class: "switch-slot__tooltip-icon" })
|
|
67539
|
+
H($t, { class: "freddy-plugins-switch-slot__tooltip-icon" })
|
|
67535
67540
|
]),
|
|
67536
67541
|
_: 1
|
|
67537
67542
|
}, 8, ["text", "placement"])) : B("", !0)
|
|
67538
67543
|
])) : B("", !0),
|
|
67539
67544
|
l("button", {
|
|
67540
|
-
class: q(["switch-slot__switch", { "switch-slot__switch--on": i.modelValue }]),
|
|
67545
|
+
class: q(["freddy-plugins-switch-slot__switch", { "freddy-plugins-switch-slot__switch--on": i.modelValue }]),
|
|
67541
67546
|
"aria-checked": i.modelValue,
|
|
67542
67547
|
role: "switch",
|
|
67543
67548
|
tabindex: i.disabled ? -1 : 0,
|
|
@@ -67548,8 +67553,8 @@ const pw = /* @__PURE__ */ x(iw, [["render", _w]]), lP = /* @__PURE__ */ j({
|
|
|
67548
67553
|
],
|
|
67549
67554
|
disabled: i.disabled
|
|
67550
67555
|
}, [...c[0] || (c[0] = [
|
|
67551
|
-
l("span", { class: "switch-slot__track" }, null, -1),
|
|
67552
|
-
l("span", { class: "switch-slot__thumb" }, null, -1)
|
|
67556
|
+
l("span", { class: "freddy-plugins-switch-slot__track" }, null, -1),
|
|
67557
|
+
l("span", { class: "freddy-plugins-switch-slot__thumb" }, null, -1)
|
|
67553
67558
|
])], 42, OM)
|
|
67554
67559
|
]),
|
|
67555
67560
|
i.showSlotContent ? (p(), g("div", NM, [
|
|
@@ -67558,7 +67563,7 @@ const pw = /* @__PURE__ */ x(iw, [["render", _w]]), lP = /* @__PURE__ */ j({
|
|
|
67558
67563
|
i.hint ? (p(), g("p", DM, D(i.hint), 1)) : B("", !0)
|
|
67559
67564
|
], 2));
|
|
67560
67565
|
}
|
|
67561
|
-
}), SP = /* @__PURE__ */ x(xM, [["__scopeId", "data-v-
|
|
67566
|
+
}), SP = /* @__PURE__ */ x(xM, [["__scopeId", "data-v-a5f9fecf"]]), wM = { class: "theme-switcher" }, MM = { class: "theme-switcher-header" }, kM = { class: "header-content" }, LM = { class: "header-right" }, PM = ["title"], FM = { class: "status-text" }, BM = {
|
|
67562
67567
|
key: 0,
|
|
67563
67568
|
class: "loading-container"
|
|
67564
67569
|
}, UM = {
|
|
@@ -67911,21 +67916,21 @@ const pw = /* @__PURE__ */ x(iw, [["render", _w]]), lP = /* @__PURE__ */ j({
|
|
|
67911
67916
|
]);
|
|
67912
67917
|
};
|
|
67913
67918
|
}
|
|
67914
|
-
}), Zk = { class: "themable" }, jk = {
|
|
67919
|
+
}), Zk = { class: "freddy-plugins-themable" }, jk = {
|
|
67915
67920
|
key: 0,
|
|
67916
|
-
class: "status-indicator"
|
|
67917
|
-
}, Xk = { class: "status-content" }, Jk = { key: 0 }, eL = { key: 1 }, tL = { class: "tab-navigation" }, nL = ["onClick"], rL = { class: "tab-icon" }, oL = { class: "tab-label" }, aL = { class: "tab-content" }, iL = {
|
|
67921
|
+
class: "freddy-plugins-status-indicator"
|
|
67922
|
+
}, Xk = { class: "freddy-plugins-status-content" }, Jk = { key: 0 }, eL = { key: 1 }, tL = { class: "freddy-plugins-tab-navigation" }, nL = ["onClick"], rL = { class: "freddy-plugins-tab-icon" }, oL = { class: "freddy-plugins-tab-label" }, aL = { class: "freddy-plugins-tab-content" }, iL = {
|
|
67918
67923
|
key: 0,
|
|
67919
|
-
class: "tab-panel"
|
|
67924
|
+
class: "freddy-plugins-tab-panel"
|
|
67920
67925
|
}, sL = {
|
|
67921
67926
|
key: 1,
|
|
67922
|
-
class: "tab-panel"
|
|
67927
|
+
class: "freddy-plugins-tab-panel"
|
|
67923
67928
|
}, lL = {
|
|
67924
67929
|
key: 2,
|
|
67925
|
-
class: "tab-panel"
|
|
67930
|
+
class: "freddy-plugins-tab-panel"
|
|
67926
67931
|
}, cL = {
|
|
67927
67932
|
key: 3,
|
|
67928
|
-
class: "tab-panel"
|
|
67933
|
+
class: "freddy-plugins-tab-panel"
|
|
67929
67934
|
}, bP = /* @__PURE__ */ j({
|
|
67930
67935
|
__name: "Themable",
|
|
67931
67936
|
setup(t) {
|
|
@@ -67958,7 +67963,7 @@ const pw = /* @__PURE__ */ x(iw, [["render", _w]]), lP = /* @__PURE__ */ j({
|
|
|
67958
67963
|
n.value = "Error: " + (c instanceof Error ? c.message : "Unknown error");
|
|
67959
67964
|
}
|
|
67960
67965
|
}), (c, u) => (p(), g("div", Zk, [
|
|
67961
|
-
u[4] || (u[4] = l("div", { class: "themable-header" }, [
|
|
67966
|
+
u[4] || (u[4] = l("div", { class: "freddy-plugins-themable-header" }, [
|
|
67962
67967
|
l("h1", null, "Themable Design System"),
|
|
67963
67968
|
l("p", null, "Comprehensive tools for managing and comparing design system configurations")
|
|
67964
67969
|
], -1)),
|
|
@@ -67973,7 +67978,7 @@ const pw = /* @__PURE__ */ x(iw, [["render", _w]]), lP = /* @__PURE__ */ j({
|
|
|
67973
67978
|
(p(), g(ue, null, _e(i, (d) => l("button", {
|
|
67974
67979
|
key: d.id,
|
|
67975
67980
|
onClick: (_) => e.value = d.id,
|
|
67976
|
-
class: q(["tab-button", { active: e.value === d.id }])
|
|
67981
|
+
class: q(["freddy-plugins-tab-button", { "freddy-plugins-active": e.value === d.id }])
|
|
67977
67982
|
}, [
|
|
67978
67983
|
l("span", rL, D(d.icon), 1),
|
|
67979
67984
|
l("span", oL, D(d.label), 1)
|
|
@@ -67981,28 +67986,28 @@ const pw = /* @__PURE__ */ x(iw, [["render", _w]]), lP = /* @__PURE__ */ j({
|
|
|
67981
67986
|
]),
|
|
67982
67987
|
l("div", aL, [
|
|
67983
67988
|
e.value === "overview" ? (p(), g("div", iL, [
|
|
67984
|
-
u[0] || (u[0] = l("div", { class: "panel-header" }, [
|
|
67989
|
+
u[0] || (u[0] = l("div", { class: "freddy-plugins-panel-header" }, [
|
|
67985
67990
|
l("h2", null, "Overview Dashboard"),
|
|
67986
67991
|
l("p", null, "View all color configurations, fonts, and corner radius for all brands and color modes")
|
|
67987
67992
|
], -1)),
|
|
67988
67993
|
H(r2)
|
|
67989
67994
|
])) : B("", !0),
|
|
67990
67995
|
e.value === "comparison" ? (p(), g("div", sL, [
|
|
67991
|
-
u[1] || (u[1] = l("div", { class: "panel-header" }, [
|
|
67996
|
+
u[1] || (u[1] = l("div", { class: "freddy-plugins-panel-header" }, [
|
|
67992
67997
|
l("h2", null, "Color Comparison"),
|
|
67993
67998
|
l("p", null, "Compare colors across different brands and color modes")
|
|
67994
67999
|
], -1)),
|
|
67995
68000
|
H(CO)
|
|
67996
68001
|
])) : B("", !0),
|
|
67997
68002
|
e.value === "tests" ? (p(), g("div", lL, [
|
|
67998
|
-
u[2] || (u[2] = l("div", { class: "panel-header" }, [
|
|
68003
|
+
u[2] || (u[2] = l("div", { class: "freddy-plugins-panel-header" }, [
|
|
67999
68004
|
l("h2", null, "Color Tests"),
|
|
68000
68005
|
l("p", null, "Validate that applied CSS variables match the configuration for the selected brand and mode.")
|
|
68001
68006
|
], -1)),
|
|
68002
68007
|
H(XO)
|
|
68003
68008
|
])) : B("", !0),
|
|
68004
68009
|
e.value === "switcher" ? (p(), g("div", cL, [
|
|
68005
|
-
u[3] || (u[3] = l("div", { class: "panel-header" }, [
|
|
68010
|
+
u[3] || (u[3] = l("div", { class: "freddy-plugins-panel-header" }, [
|
|
68006
68011
|
l("h2", null, "Theme Switcher"),
|
|
68007
68012
|
l("p", null, "Switch between different brands and color modes to customize your design system")
|
|
68008
68013
|
], -1)),
|
|
@@ -68011,24 +68016,24 @@ const pw = /* @__PURE__ */ x(iw, [["render", _w]]), lP = /* @__PURE__ */ j({
|
|
|
68011
68016
|
])
|
|
68012
68017
|
]));
|
|
68013
68018
|
}
|
|
68014
|
-
}), uL = { class: "themable-overview-dashboard" }, hP = /* @__PURE__ */ j({
|
|
68019
|
+
}), uL = { class: "freddy-plugins-themable-overview-dashboard" }, hP = /* @__PURE__ */ j({
|
|
68015
68020
|
__name: "ThemableOverviewDashboard",
|
|
68016
68021
|
setup(t) {
|
|
68017
68022
|
return (e, n) => (p(), g("div", uL, [
|
|
68018
|
-
n[0] || (n[0] = l("div", { class: "dashboard-header" }, [
|
|
68023
|
+
n[0] || (n[0] = l("div", { class: "freddy-plugins-dashboard-header" }, [
|
|
68019
68024
|
l("h1", null, "Themable Overview Dashboard"),
|
|
68020
|
-
l("p", null, "View all color configurations, fonts, and corner radius for all brands and color modes")
|
|
68025
|
+
l("p", null, " View all color configurations, fonts, and corner radius for all brands and color modes ")
|
|
68021
68026
|
], -1)),
|
|
68022
68027
|
H(r2)
|
|
68023
68028
|
]));
|
|
68024
68029
|
}
|
|
68025
|
-
}), dL = { class: "toast-wrapper" }, _L = { class: "toast-icon-wrapper" }, pL = { class: "toast-message" }, mL = ["onClick"], CP = /* @__PURE__ */ j({
|
|
68030
|
+
}), dL = { class: "freddy-plugins-toast-wrapper" }, _L = { class: "freddy-plugins-toast-icon-wrapper" }, pL = { class: "freddy-plugins-toast-message" }, mL = ["onClick"], CP = /* @__PURE__ */ j({
|
|
68026
68031
|
__name: "ToastMessage",
|
|
68027
68032
|
setup(t) {
|
|
68028
68033
|
const { toastQueue: e } = im(), n = {
|
|
68029
|
-
success: "toast-success",
|
|
68030
|
-
danger: "toast-danger",
|
|
68031
|
-
info: "toast-info"
|
|
68034
|
+
success: "freddy-plugins-toast-success",
|
|
68035
|
+
danger: "freddy-plugins-toast-danger",
|
|
68036
|
+
info: "freddy-plugins-toast-info"
|
|
68032
68037
|
}, r = (s) => n[s], o = (s) => {
|
|
68033
68038
|
switch (s) {
|
|
68034
68039
|
case "success":
|
|
@@ -68046,17 +68051,17 @@ const pw = /* @__PURE__ */ x(iw, [["render", _w]]), lP = /* @__PURE__ */ j({
|
|
|
68046
68051
|
return (s, i) => (p(), g("div", dL, [
|
|
68047
68052
|
(p(!0), g(ue, null, _e(G(e), (c, u) => (p(), g("div", {
|
|
68048
68053
|
key: u,
|
|
68049
|
-
class: q(["toast-item", r(c.toastType)])
|
|
68054
|
+
class: q(["freddy-plugins-toast-item", r(c.toastType)])
|
|
68050
68055
|
}, [
|
|
68051
68056
|
l("div", _L, [
|
|
68052
|
-
(p(), re(We(o(c.toastType)), { class: "toast-icon" }))
|
|
68057
|
+
(p(), re(We(o(c.toastType)), { class: "freddy-plugins-toast-icon" }))
|
|
68053
68058
|
]),
|
|
68054
68059
|
l("span", pL, D(c.message), 1),
|
|
68055
68060
|
l("button", {
|
|
68056
|
-
class: "toast-close-button",
|
|
68061
|
+
class: "freddy-plugins-toast-close-button",
|
|
68057
68062
|
onClick: (d) => a(u)
|
|
68058
68063
|
}, [
|
|
68059
|
-
H(G(bt), { class: "toast-close-icon" })
|
|
68064
|
+
H(G(bt), { class: "freddy-plugins-toast-close-icon" })
|
|
68060
68065
|
], 8, mL)
|
|
68061
68066
|
], 2))), 128))
|
|
68062
68067
|
]));
|