@aitronos/freddy-plugins 0.1.41 → 0.1.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +15 -13
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".icon-linear,.icon-slack,.icon-zapier{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;font-size:14px;color:#b1a8a8}.freddy-plugins-user-avatar-base[data-v-720c99ab]{width:100px;height:20px;object-fit:cover}.icon-lense{font-size:14px;color:#fff6}.icon-person-circle{display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:10px;font-size:16px;color:#e8e2e0}.icon-person-circle:hover{color:#fff;cursor:pointer}.icon-polygon-down[data-v-26e89062]{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;font-size:14px;color:#b1a8a8}.icon-polygon-down[data-v-26e89062] :hover{color:#fff;cursor:pointer}.icon-progress-base,.icon-progress-complete,.icon-progress-going,.icon-radio,.icon-radio-fill,.icon-robot-screen{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;font-size:14px;color:#b1a8a8}.icon-robot-screen:hover{color:#fff;cursor:pointer}svg[data-v-302f30e0]{stroke:#cbd6e3}.icon-send[data-v-f415bf35]{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;font-size:14px;color:#b1a8a8}.icon-send[data-v-f415bf35]:hover{cursor:pointer}.base-checkbox[data-v-
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".icon-linear,.icon-slack,.icon-zapier{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;font-size:14px;color:#b1a8a8}.freddy-plugins-user-avatar-base[data-v-720c99ab]{width:100px;height:20px;object-fit:cover}.icon-lense{font-size:14px;color:#fff6}.icon-person-circle{display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:10px;font-size:16px;color:#e8e2e0}.icon-person-circle:hover{color:#fff;cursor:pointer}.icon-polygon-down[data-v-26e89062]{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;font-size:14px;color:#b1a8a8}.icon-polygon-down[data-v-26e89062] :hover{color:#fff;cursor:pointer}.icon-progress-base,.icon-progress-complete,.icon-progress-going,.icon-radio,.icon-radio-fill,.icon-robot-screen{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;font-size:14px;color:#b1a8a8}.icon-robot-screen:hover{color:#fff;cursor:pointer}svg[data-v-302f30e0]{stroke:#cbd6e3}.icon-send[data-v-f415bf35]{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;font-size:14px;color:#b1a8a8}.icon-send[data-v-f415bf35]:hover{cursor:pointer}.base-checkbox[data-v-ba9cd543]{position:relative;display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:4px;border:1px solid currentColor;cursor:pointer;transition:background-color .15s ease-in-out,border-color .15s ease-in-out;-webkit-user-select:none;user-select:none}.checked[data-v-ba9cd543]{background-color:#fff;border-color:transparent}.checked-blue[data-v-ba9cd543]{background-color:#7ba8ef;border-color:transparent}.not-checked[data-v-ba9cd543]{background-color:transparent;border-color:currentColor}.checkbox-input[data-v-ba9cd543]{position:absolute;opacity:0;pointer-events:none}.checkbox-dash[data-v-ba9cd543]{width:8px;height:2px;background-color:#fff;border-radius:1px}.checkbox-icon[data-v-ba9cd543]{width:16px;height:16px;pointer-events:none}.is-disabled[data-v-ba9cd543]{opacity:.5;cursor:not-allowed}.freddy-modal-overlay{position:fixed;top:0;left:0;z-index:9998;width:100%;height:100%;background:#0f172acc;display:flex;justify-content:center;align-items:center}.freddy-modal-wrapper{display:flex;justify-content:center;align-items:center}.freddy-modal-container{background-color:#0f172a;padding:2rem;border-radius:2.5rem;overflow:hidden;color:#fff}.freddy-modal-large{width:90%;max-width:900px}@media (max-width: 1280px){.freddy-modal-large{max-width:900px}}@media (max-width: 1024px){.freddy-modal-large{max-width:900px}}@media (max-width: 768px){.freddy-modal-large{max-width:730px}}@media (max-width: 640px){.freddy-modal-large{max-width:500px}}@media (max-width: 480px){.freddy-modal-large{width:auto;max-width:90%}}.freddy-modal-header,.freddy-modal-body,.freddy-modal-footer{margin-bottom:1rem}.modal-enter-active,.modal-leave-active{transition:opacity .3s}.modal-enter,.modal-leave-to{opacity:0}.freddy-modal-overlay{position:fixed;top:0;left:0;width:100vw;height:100vh;display:flex;align-items:center;justify-content:center;background-color:#031525c4;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1000;overflow:auto}.freddy-modal-content{background-color:#031525;border-radius:40px;box-shadow:0 0 10px 2px #ffffff40;padding:30px;position:relative;margin:auto;min-width:370px;max-width:90%;width:auto}.freddy-modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.freddy-modal-title{font-size:29px;line-height:35px;font-weight:600;margin:0}.freddy-modal-close{background:none;border:none;font-size:35px;font-weight:400;color:#fff;padding:0;line-height:1;cursor:pointer}.freddy-modal-close-icon{width:16px;height:16px;stroke-width:2px}.freddy-pagination-nav{width:100%;display:flex;gap:.25rem;justify-content:space-between}.freddy-pagination-number-button{display:flex;align-items:center;justify-content:center;border-radius:4px;color:#6b7280;cursor:pointer;padding:.5rem .75rem;height:auto;background:transparent;border:none;transition:background-color .2s,color .2s}.freddy-pagination-number-button.active,.freddy-pagination-number-button.bg-white{background-color:#ffffff1a;color:#fff}.freddy-pagination-dynamic-container{display:flex;gap:.25rem}.freddy-pagination-end-button{margin-left:16px;display:flex;align-items:center;justify-content:center;padding:0 1rem;height:2.5rem;margin-inline-start:0;line-height:1.25rem;color:#6b7280;background-color:#031525;border:1px solid rgba(255,255,255,.2);border-radius:.5rem;cursor:pointer;transition:background-color .2s,color .2s}.freddy-pagination-hover-enabled:hover{background-color:#ffffff1a;color:#cbd6e3;cursor:pointer}.freddy-plugin-spinner{width:20px;height:20px;border:2px solid #f3f3f3;border-top-color:transparent;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.freddy-search-wrapper{display:flex;box-sizing:border-box;align-items:flex-start;gap:.5rem;height:37px;width:100%;border:1px solid #333741;padding-left:.875rem;padding-right:.875rem;border-radius:.5rem;cursor:text}.freddy-search-icon{flex-shrink:0;width:1.25rem;height:1.25rem;align-self:center;stroke:#fff6}.freddy-search-input{flex:1 1 auto;width:100%;font-size:14px;font-weight:500;line-height:16px;background:transparent;border:none;outline:none;color:#cbd6e3;align-self:center}.freddy-search-input::placeholder{color:#fff6;opacity:.7}.freddy-search-spinner{width:21px!important;align-self:center}@keyframes fade-in-right-779b8d26{0%{opacity:0;transform:translate(100%)}to{opacity:1;transform:translate(0)}}.freddy-plugin-snackbar-container[data-v-779b8d26]{position:fixed;right:1.25rem;bottom:.5rem;padding-bottom:17px;z-index:50}.freddy-plugin-snackbar-container--side70[data-v-779b8d26]{width:78%}.freddy-plugin-snackbar-container--half[data-v-779b8d26]{width:50%}.freddy-plugin-snackbar-container--full[data-v-779b8d26]{width:100%;padding-left:2.5rem}.freddy-plugin-snackbar[data-v-779b8d26]{border:2px solid #ffffff;margin-top:.75rem;padding:1rem;border-radius:1.5rem;background-color:#031525;animation:fade-in-right-779b8d26 .5s ease-out}.freddy-plugin-snackbar-content[data-v-779b8d26]{display:flex;justify-content:space-between;align-items:center;position:relative}.freddy-plugin-snackbar-left[data-v-779b8d26]{display:flex;gap:1rem}.freddy-plugin-snackbar-icon[data-v-779b8d26]{margin-top:.5rem;height:2rem;width:2rem;stroke-width:2;border-radius:9999px;padding:.25rem;border:4px solid transparent}.freddy-plugin-snackbar-icon--info[data-v-779b8d26]{border-color:#fff3;background-color:#ffffff17}.freddy-plugin-snackbar-icon--danger[data-v-779b8d26]{border-color:#f79009;background-color:#fdb022}.freddy-plugin-snackbar-text[data-v-779b8d26]{display:flex;flex-direction:column;gap:.375rem}.freddy-plugin-snackbar-title[data-v-779b8d26]{font-size:.875rem;font-weight:600;margin:0}.freddy-plugin-snackbar-message[data-v-779b8d26]{font-size:.875rem;font-weight:500;line-height:normal;margin:0}.freddy-plugin-snackbar-close-btn[data-v-779b8d26]{position:absolute;right:.5rem;top:0;background:none;border:none;cursor:pointer}.freddy-plugin-snackbar-close-icon[data-v-779b8d26]{height:1rem;width:1rem}.freddy-plugin-nav-bar{display:flex;width:100%;gap:24px;border-bottom:1px solid rgba(255,255,255,.09);padding-right:10px;font-family:Inter,sans-serif;font-size:.875rem;font-weight:600}.freddy-plugin-menu-button{all:unset;display:flex;flex-direction:column;padding-top:8px;cursor:pointer}.freddy-plugin-active-tab{width:100%;background-color:#fff;height:2px;border-top-left-radius:.375rem;border-top-right-radius:.375rem}.toast-wrapper[data-v-a89a07b6]{position:fixed;right:10px;bottom:10px;display:flex;flex-direction:column;gap:.5rem}.toast-item[data-v-a89a07b6]{display:flex;align-items:center;padding:.625rem;gap:.625rem;border-radius:10px;box-shadow:0 1px 3px #0000001a;animation:fadeIn-a89a07b6 .3s ease}.toast-success[data-v-a89a07b6]{background-color:#099250;--toast-icon-color: #099250}.toast-danger[data-v-a89a07b6]{background-color:#e71d41;--toast-icon-color: #e71d41}.toast-info[data-v-a89a07b6]{background-color:#3182ce;--toast-icon-color: #3182ce}.toast-icon-wrapper[data-v-a89a07b6]{width:1.25rem;height:1.25rem;background-color:#fff;border-radius:9999px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.toast-icon[data-v-a89a07b6]{width:100%;height:100%;padding:.25rem;color:var(--toast-icon-color)}.toast-message[data-v-a89a07b6]{min-width:16rem;max-width:420px;flex:1 1 auto;font-size:1rem;font-weight:500;color:#fff}.toast-close-button[data-v-a89a07b6]{width:1rem;height:1rem;background:transparent;border:none;display:flex;align-items:center;justify-content:center;flex-shrink:0}.toast-close-icon[data-v-a89a07b6]{width:100%;height:100%;padding:.125rem;color:#fff}@keyframes fadeIn-a89a07b6{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}")),document.head.appendChild(e)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
|
|
2
2
|
import { defineComponent as h, createBlock as B, openBlock as s, Transition as b, withCtx as J, createElementBlock as r, createCommentVNode as G, createElementVNode as e, normalizeClass as g, renderSlot as M, createStaticVNode as C, ref as w, computed as S, createVNode as k, toDisplayString as x, createApp as Q, h as j, unref as y, withModifiers as z, Fragment as Z, renderList as F, withDirectives as K, vModelText as X, resolveDynamicComponent as T, createTextVNode as W } from "vue";
|
|
3
3
|
const q = {
|
|
4
4
|
key: 0,
|
|
@@ -2072,6 +2072,7 @@ const s8 = /* @__PURE__ */ n(e6, [["render", r6]]), n6 = { class: "fixed z-[9998
|
|
|
2072
2072
|
role: "checkbox"
|
|
2073
2073
|
}, [
|
|
2074
2074
|
e("input", {
|
|
2075
|
+
id: "checkbox-input",
|
|
2075
2076
|
type: "checkbox",
|
|
2076
2077
|
class: "checkbox-input",
|
|
2077
2078
|
checked: a.isChecked,
|
|
@@ -2089,7 +2090,7 @@ const s8 = /* @__PURE__ */ n(e6, [["render", r6]]), n6 = { class: "fixed z-[9998
|
|
|
2089
2090
|
])) : G("", !0)
|
|
2090
2091
|
], 10, f6));
|
|
2091
2092
|
}
|
|
2092
|
-
}), r8 = /* @__PURE__ */ n(x6, [["__scopeId", "data-v-
|
|
2093
|
+
}), r8 = /* @__PURE__ */ n(x6, [["__scopeId", "data-v-ba9cd543"]]), M6 = {
|
|
2093
2094
|
key: 0,
|
|
2094
2095
|
class: "freddy-modal-overlay"
|
|
2095
2096
|
}, w6 = { class: "freddy-modal-wrapper" }, B6 = { class: "freddy-modal-header" }, m6 = { class: "freddy-modal-body" }, y6 = { class: "freddy-modal-footer" }, n8 = /* @__PURE__ */ h({
|
|
@@ -2266,6 +2267,7 @@ const s8 = /* @__PURE__ */ n(e6, [["render", r6]]), n6 = { class: "fixed z-[9998
|
|
|
2266
2267
|
k(y(X5), { class: "freddy-search-icon" }),
|
|
2267
2268
|
K(e("input", {
|
|
2268
2269
|
type: "text",
|
|
2270
|
+
id: "search-input",
|
|
2269
2271
|
class: "freddy-search-input",
|
|
2270
2272
|
ref_key: "searchInput",
|
|
2271
2273
|
ref: l,
|
|
@@ -2281,7 +2283,7 @@ const s8 = /* @__PURE__ */ n(e6, [["render", r6]]), n6 = { class: "fixed z-[9998
|
|
|
2281
2283
|
})) : G("", !0)
|
|
2282
2284
|
], 512));
|
|
2283
2285
|
}
|
|
2284
|
-
}), L6 = { class: "freddy-plugin-
|
|
2286
|
+
}), L6 = { class: "freddy-plugin-snackbar-content" }, I6 = { class: "freddy-plugin-snackbar-left" }, O6 = { class: "freddy-plugin-snackbar-text" }, H6 = ["innerHTML"], V6 = ["innerHTML"], b6 = ["onClick"], J6 = /* @__PURE__ */ h({
|
|
2285
2287
|
__name: "SnackBar",
|
|
2286
2288
|
setup(o) {
|
|
2287
2289
|
const { snackQueue: t } = A0(), i = (a) => {
|
|
@@ -2310,42 +2312,42 @@ const s8 = /* @__PURE__ */ n(e6, [["render", r6]]), n6 = { class: "fixed z-[9998
|
|
|
2310
2312
|
t.value.splice(a, 1);
|
|
2311
2313
|
};
|
|
2312
2314
|
return (a, c) => (s(), r("div", {
|
|
2313
|
-
class: g(["freddy-plugin-
|
|
2315
|
+
class: g(["freddy-plugin-snackbar-container", `freddy-plugin-snackbar-container--${l.value}`])
|
|
2314
2316
|
}, [
|
|
2315
2317
|
(s(!0), r(Z, null, F(y(t), (A, d) => (s(), r("div", {
|
|
2316
2318
|
key: d,
|
|
2317
|
-
class: "freddy-plugin-
|
|
2319
|
+
class: "freddy-plugin-snackbar"
|
|
2318
2320
|
}, [
|
|
2319
2321
|
e("div", L6, [
|
|
2320
2322
|
e("div", I6, [
|
|
2321
2323
|
(s(), B(T(i(A.toastType)), {
|
|
2322
|
-
class: g(["freddy-plugin-
|
|
2323
|
-
A.toastType === "info" && "freddy-plugin-
|
|
2324
|
-
A.toastType === "danger" && "freddy-plugin-
|
|
2324
|
+
class: g(["freddy-plugin-snackbar-icon", [
|
|
2325
|
+
A.toastType === "info" && "freddy-plugin-snackbar-icon--info",
|
|
2326
|
+
A.toastType === "danger" && "freddy-plugin-snackbar-icon--danger"
|
|
2325
2327
|
]])
|
|
2326
2328
|
}, null, 8, ["class"])),
|
|
2327
2329
|
e("div", O6, [
|
|
2328
2330
|
e("p", {
|
|
2329
|
-
class: "freddy-plugin-
|
|
2331
|
+
class: "freddy-plugin-snackbar-title",
|
|
2330
2332
|
innerHTML: A.title
|
|
2331
2333
|
}, null, 8, H6),
|
|
2332
2334
|
e("p", {
|
|
2333
|
-
class: "freddy-plugin-
|
|
2335
|
+
class: "freddy-plugin-snackbar-message",
|
|
2334
2336
|
innerHTML: A.message
|
|
2335
2337
|
}, null, 8, V6)
|
|
2336
2338
|
])
|
|
2337
2339
|
]),
|
|
2338
2340
|
e("button", {
|
|
2339
|
-
class: "freddy-plugin-
|
|
2341
|
+
class: "freddy-plugin-snackbar-close-btn",
|
|
2340
2342
|
onClick: (f) => p(d)
|
|
2341
2343
|
}, [
|
|
2342
|
-
k(Y, { class: "freddy-plugin-
|
|
2344
|
+
k(Y, { class: "freddy-plugin-snackbar-close-icon" })
|
|
2343
2345
|
], 8, b6)
|
|
2344
2346
|
])
|
|
2345
2347
|
]))), 128))
|
|
2346
2348
|
], 2));
|
|
2347
2349
|
}
|
|
2348
|
-
}), p8 = /* @__PURE__ */ n(J6, [["__scopeId", "data-v-
|
|
2350
|
+
}), p8 = /* @__PURE__ */ n(J6, [["__scopeId", "data-v-779b8d26"]]), Q6 = { class: "freddy-plugin-nav-bar" }, j6 = ["onClick"], c8 = /* @__PURE__ */ h({
|
|
2349
2351
|
__name: "TabList",
|
|
2350
2352
|
props: {
|
|
2351
2353
|
tabList: {},
|