@aitronos/freddy-plugins 0.1.52 → 0.1.53
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 +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +11 -1
- package/dist/index.js +45 -46
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -632,14 +632,17 @@ export declare const Pagination: DefineComponent<ExtractPropTypes< {
|
|
|
632
632
|
totalItems: {
|
|
633
633
|
type: NumberConstructor;
|
|
634
634
|
required: true;
|
|
635
|
+
default: number;
|
|
635
636
|
};
|
|
636
637
|
itemsPerPage: {
|
|
637
638
|
type: NumberConstructor;
|
|
638
639
|
required: true;
|
|
640
|
+
default: number;
|
|
639
641
|
};
|
|
640
642
|
currentPage: {
|
|
641
643
|
type: NumberConstructor;
|
|
642
644
|
required: true;
|
|
645
|
+
default: number;
|
|
643
646
|
};
|
|
644
647
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
645
648
|
"update:currentPage": (...args: any[]) => void;
|
|
@@ -647,18 +650,25 @@ required: true;
|
|
|
647
650
|
totalItems: {
|
|
648
651
|
type: NumberConstructor;
|
|
649
652
|
required: true;
|
|
653
|
+
default: number;
|
|
650
654
|
};
|
|
651
655
|
itemsPerPage: {
|
|
652
656
|
type: NumberConstructor;
|
|
653
657
|
required: true;
|
|
658
|
+
default: number;
|
|
654
659
|
};
|
|
655
660
|
currentPage: {
|
|
656
661
|
type: NumberConstructor;
|
|
657
662
|
required: true;
|
|
663
|
+
default: number;
|
|
658
664
|
};
|
|
659
665
|
}>> & Readonly<{
|
|
660
666
|
"onUpdate:currentPage"?: ((...args: any[]) => any) | undefined;
|
|
661
|
-
}>, {
|
|
667
|
+
}>, {
|
|
668
|
+
totalItems: number;
|
|
669
|
+
itemsPerPage: number;
|
|
670
|
+
currentPage: number;
|
|
671
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
662
672
|
|
|
663
673
|
/**
|
|
664
674
|
* Converts a date to a human-readable format (e.g., "12 Dec 2023 at 12:34").
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
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;gap:8px}.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-43248c4a{0%{opacity:0;transform:translate(100%)}to{opacity:1;transform:translate(0)}}.freddy-plugin-snackbar-container[data-v-43248c4a]{position:fixed;right:1.25rem;bottom:.5rem;padding-bottom:17px;z-index:50}.freddy-plugin-snackbar-container--side70[data-v-43248c4a]{width:78%}.freddy-plugin-snackbar-container--half[data-v-43248c4a]{width:50%}.freddy-plugin-snackbar-container--full[data-v-43248c4a]{width:100%;padding-left:2.5rem}.freddy-plugin-snackbar[data-v-43248c4a]{margin-top:.75rem;padding:1rem;border-radius:1.5rem;background-color:#031525;animation:fade-in-right-43248c4a .5s ease-out}.freddy-plugin-snackbar--info[data-v-43248c4a]{border:2px solid #ffffff;box-shadow:0 0 0 1px #fff}.freddy-plugin-snackbar--danger[data-v-43248c4a]{border:2px solid #f79009;box-shadow:0 0 0 1px #f79009}.freddy-plugin-snackbar--success[data-v-43248c4a]{border:2px solid #12b76a;box-shadow:0 0 0 1px #12b76a}.freddy-plugin-snackbar-content[data-v-43248c4a]{display:flex;justify-content:space-between;align-items:center;position:relative}.freddy-plugin-snackbar-left[data-v-43248c4a]{display:flex;gap:1rem}.freddy-plugin-snackbar-icon[data-v-43248c4a]{height:16px;width:16px;stroke-width:2;color:#fff;border-radius:9999px;padding:.25rem;border:4px solid transparent;box-sizing:content-box}.freddy-plugin-snackbar-icon--info[data-v-43248c4a]{border-color:#fff3;background-color:#ffffff17}.freddy-plugin-snackbar-icon--danger[data-v-43248c4a]{border-color:#f79009;background-color:#fdb022}.freddy-plugin-snackbar-icon--success[data-v-43248c4a]{border-color:#12b76a;background-color:#68c57c}.freddy-plugin-snackbar-text[data-v-43248c4a]{display:flex;flex-direction:column;gap:.375rem;color:#fff}.freddy-plugin-snackbar-title[data-v-43248c4a]{font-size:.875rem;font-weight:600;margin:0;color:#fff}.freddy-plugin-snackbar-message[data-v-43248c4a]{font-size:.875rem;font-weight:500;line-height:normal;margin:0;color:#fff}.freddy-plugin-snackbar-close-btn[data-v-43248c4a]{position:absolute;right:.5rem;top:0;background:none;border:none;cursor:pointer}.freddy-plugin-snackbar-close-icon[data-v-43248c4a]{height:10px;width:10px;stroke-width:1.67;color:#fff}.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)}}.fade-enter-active[data-v-3062e578],.fade-leave-active[data-v-3062e578]{transition:opacity .15s ease-in-out}.fade-enter-from[data-v-3062e578],.fade-leave-to[data-v-3062e578]{opacity:0}.tooltip-container[data-v-3062e578]{padding:6px 10px;font-size:.875rem;border-radius:4px;box-shadow:0 4px 10px #0000001a;white-space:nowrap}.tooltip-default[data-v-3062e578]{background:#000;color:#fff}.tooltip-custom[data-v-3062e578]{background:#fff;color:#000;border:1px solid #ccc}.tooltip-arrow[data-v-3062e578]{position:absolute;width:8px;height:8px;background:inherit;transform:rotate(45deg)}.arrow-top[data-v-3062e578]{bottom:-4px;left:50%;transform:translate(-50%) rotate(45deg)}.arrow-bottom[data-v-3062e578]{top:-4px;left:50%;transform:translate(-50%) rotate(45deg)}.arrow-left[data-v-3062e578]{right:-4px;top:50%;transform:translateY(-50%) rotate(45deg)}.arrow-right[data-v-3062e578]{left:-4px;top:50%;transform:translateY(-50%) rotate(45deg)}")),document.head.appendChild(e)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}})();
|
|
2
|
-
import { defineComponent as g, createBlock as B, openBlock as s, Transition as H, withCtx as V, createElementBlock as r, createCommentVNode as G, createElementVNode as o, normalizeClass as x, renderSlot as m, createStaticVNode as u, ref as M, computed as E, createVNode as v, toDisplayString as w, createApp as _, h as P, unref as k, withModifiers as W, Fragment as Z, renderList as D, useAttrs as q, withDirectives as $, vModelText as t1, resolveDynamicComponent as
|
|
2
|
+
import { defineComponent as g, createBlock as B, openBlock as s, Transition as H, withCtx as V, createElementBlock as r, createCommentVNode as G, createElementVNode as o, normalizeClass as x, renderSlot as m, createStaticVNode as u, ref as M, computed as E, createVNode as v, toDisplayString as w, createApp as _, h as P, unref as k, withModifiers as W, Fragment as Z, renderList as D, useAttrs as q, withDirectives as $, vModelText as t1, resolveDynamicComponent as N, createTextVNode as R, onMounted as e1, onUnmounted as o1, Teleport as s1, nextTick as r1 } from "vue";
|
|
3
3
|
const n1 = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "fixed z-[9998] top-0 left-0 w-full h-full bg-modalBackgroundBlur flex justify-center items-center"
|
|
@@ -224,14 +224,14 @@ function P1(e, t) {
|
|
|
224
224
|
}, null, -1)
|
|
225
225
|
]));
|
|
226
226
|
}
|
|
227
|
-
const h7 = /* @__PURE__ */ n(Y1, [["render", P1]]),
|
|
227
|
+
const h7 = /* @__PURE__ */ n(Y1, [["render", P1]]), N1 = {}, R1 = {
|
|
228
228
|
viewBox: "0 0 20 20",
|
|
229
229
|
class: "stroke-2",
|
|
230
230
|
fill: "none",
|
|
231
231
|
xmlns: "http://www.w3.org/2000/svg"
|
|
232
232
|
};
|
|
233
233
|
function z1(e, t) {
|
|
234
|
-
return s(), r("svg",
|
|
234
|
+
return s(), r("svg", R1, t[0] || (t[0] = [
|
|
235
235
|
o("path", {
|
|
236
236
|
d: "M5 7.5L10 12.5L15 7.5",
|
|
237
237
|
stroke: "currentColor",
|
|
@@ -240,7 +240,7 @@ function z1(e, t) {
|
|
|
240
240
|
}, null, -1)
|
|
241
241
|
]));
|
|
242
242
|
}
|
|
243
|
-
const g7 = /* @__PURE__ */ n(
|
|
243
|
+
const g7 = /* @__PURE__ */ n(N1, [["render", z1]]), K1 = {}, X1 = {
|
|
244
244
|
class: "self-center stroke-2",
|
|
245
245
|
viewBox: "0 0 20 21",
|
|
246
246
|
fill: "none",
|
|
@@ -456,14 +456,14 @@ function P2(e, t) {
|
|
|
456
456
|
}, null, -1)
|
|
457
457
|
]));
|
|
458
458
|
}
|
|
459
|
-
const O = /* @__PURE__ */ n(Y2, [["render", P2]]),
|
|
459
|
+
const O = /* @__PURE__ */ n(Y2, [["render", P2]]), N2 = {}, R2 = {
|
|
460
460
|
class: "stroke-1-25",
|
|
461
461
|
viewBox: "0 0 16 16",
|
|
462
462
|
fill: "none",
|
|
463
463
|
xmlns: "http://www.w3.org/2000/svg"
|
|
464
464
|
};
|
|
465
465
|
function z2(e, t) {
|
|
466
|
-
return s(), r("svg",
|
|
466
|
+
return s(), r("svg", R2, t[0] || (t[0] = [
|
|
467
467
|
o("rect", {
|
|
468
468
|
width: "16",
|
|
469
469
|
height: "16",
|
|
@@ -478,7 +478,7 @@ function z2(e, t) {
|
|
|
478
478
|
}, null, -1)
|
|
479
479
|
]));
|
|
480
480
|
}
|
|
481
|
-
const D7 = /* @__PURE__ */ n(
|
|
481
|
+
const D7 = /* @__PURE__ */ n(N2, [["render", z2]]), K2 = {}, X2 = {
|
|
482
482
|
viewBox: "0 0 16 17",
|
|
483
483
|
fill: "none",
|
|
484
484
|
xmlns: "http://www.w3.org/2000/svg"
|
|
@@ -653,7 +653,7 @@ function P7(e) {
|
|
|
653
653
|
year: "numeric"
|
|
654
654
|
});
|
|
655
655
|
}
|
|
656
|
-
function
|
|
656
|
+
function N7(e, t) {
|
|
657
657
|
if (!e || e === "0001-01-01T00:00:00")
|
|
658
658
|
if (t)
|
|
659
659
|
e = t;
|
|
@@ -679,7 +679,7 @@ function R7(e, t) {
|
|
|
679
679
|
function w0(e, t) {
|
|
680
680
|
return new Date(t, e, 0).getDate();
|
|
681
681
|
}
|
|
682
|
-
const m0 = "Feb", Q = 2023,
|
|
682
|
+
const m0 = "Feb", Q = 2023, R7 = w0(
|
|
683
683
|
(/* @__PURE__ */ new Date(`${m0} 1, ${Q}`)).getMonth() + 1,
|
|
684
684
|
Q
|
|
685
685
|
), z7 = (e, t, i) => {
|
|
@@ -981,7 +981,7 @@ const l9 = /* @__PURE__ */ n(T0, [["render", Y0]]), _0 = {}, P0 = {
|
|
|
981
981
|
fill: "none",
|
|
982
982
|
xmlns: "http://www.w3.org/2000/svg"
|
|
983
983
|
};
|
|
984
|
-
function
|
|
984
|
+
function N0(e, t) {
|
|
985
985
|
return s(), r("svg", P0, t[0] || (t[0] = [
|
|
986
986
|
o("path", {
|
|
987
987
|
d: "M17.5 4.16406C17.5 5.54477 14.1421 6.66406 10 6.66406C5.85786 6.66406 2.5 5.54477 2.5 4.16406M17.5 4.16406C17.5 2.78335 14.1421 1.66406 10 1.66406C5.85786 1.66406 2.5 2.78335 2.5 4.16406M17.5 4.16406V15.8307C17.5 17.2141 14.1667 18.3307 10 18.3307C5.83333 18.3307 2.5 17.2141 2.5 15.8307V4.16406M17.5 9.9974C17.5 11.3807 14.1667 12.4974 10 12.4974C5.83333 12.4974 2.5 11.3807 2.5 9.9974",
|
|
@@ -991,7 +991,7 @@ function R0(e, t) {
|
|
|
991
991
|
}, null, -1)
|
|
992
992
|
]));
|
|
993
993
|
}
|
|
994
|
-
const a9 = /* @__PURE__ */ n(_0, [["render",
|
|
994
|
+
const a9 = /* @__PURE__ */ n(_0, [["render", N0]]), R0 = {}, z0 = {
|
|
995
995
|
class: "stroke-2",
|
|
996
996
|
xmlns: "http://www.w3.org/2000/svg",
|
|
997
997
|
viewBox: "0 0 36 36",
|
|
@@ -1005,7 +1005,7 @@ function K0(e, t) {
|
|
|
1005
1005
|
}, null, -1)
|
|
1006
1006
|
]));
|
|
1007
1007
|
}
|
|
1008
|
-
const p9 = /* @__PURE__ */ n(
|
|
1008
|
+
const p9 = /* @__PURE__ */ n(R0, [["render", K0]]), X0 = {}, W0 = {
|
|
1009
1009
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1010
1010
|
fill: "none",
|
|
1011
1011
|
viewBox: "0 0 24 25"
|
|
@@ -1238,7 +1238,7 @@ const v9 = /* @__PURE__ */ n(T3, [["render", Y3]]), _3 = {}, P3 = {
|
|
|
1238
1238
|
viewBox: "0 0 24 25",
|
|
1239
1239
|
fill: "none"
|
|
1240
1240
|
};
|
|
1241
|
-
function
|
|
1241
|
+
function N3(e, t) {
|
|
1242
1242
|
return s(), r("svg", P3, t[0] || (t[0] = [
|
|
1243
1243
|
o("path", {
|
|
1244
1244
|
d: "M9.35493 21.5C10.0601 22.1224 10.9863 22.5 12.0008 22.5C13.0152 22.5 13.9414 22.1224 14.6466 21.5M18.0008 8.5C18.0008 6.9087 17.3686 5.38258 16.2434 4.25736C15.1182 3.13214 13.5921 2.5 12.0008 2.5C10.4095 2.5 8.88333 3.13214 7.75811 4.25736C6.63289 5.38258 6.00075 6.9087 6.00075 8.5C6.00075 11.5902 5.22122 13.706 4.35042 15.1054C3.61588 16.2859 3.24861 16.8761 3.26208 17.0408C3.27699 17.2231 3.31561 17.2926 3.46253 17.4016C3.59521 17.5 4.19334 17.5 5.38961 17.5H18.6119C19.8082 17.5 20.4063 17.5 20.539 17.4016C20.6859 17.2926 20.7245 17.2231 20.7394 17.0408C20.7529 16.8761 20.3856 16.2859 19.6511 15.1054C18.7803 13.706 18.0008 11.5902 18.0008 8.5Z",
|
|
@@ -1248,7 +1248,7 @@ function R3(e, t) {
|
|
|
1248
1248
|
}, null, -1)
|
|
1249
1249
|
]));
|
|
1250
1250
|
}
|
|
1251
|
-
const S9 = /* @__PURE__ */ n(_3, [["render",
|
|
1251
|
+
const S9 = /* @__PURE__ */ n(_3, [["render", N3]]), R3 = {}, z3 = {
|
|
1252
1252
|
class: "stroke-2",
|
|
1253
1253
|
viewBox: "0 0 24 25",
|
|
1254
1254
|
fill: "none",
|
|
@@ -1264,7 +1264,7 @@ function K3(e, t) {
|
|
|
1264
1264
|
}, null, -1)
|
|
1265
1265
|
]));
|
|
1266
1266
|
}
|
|
1267
|
-
const U9 = /* @__PURE__ */ n(
|
|
1267
|
+
const U9 = /* @__PURE__ */ n(R3, [["render", K3]]), X3 = {}, W3 = {
|
|
1268
1268
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1269
1269
|
viewBox: "0 0 22 21",
|
|
1270
1270
|
fill: "none"
|
|
@@ -1584,9 +1584,9 @@ function _5(e, t) {
|
|
|
1584
1584
|
], -1)
|
|
1585
1585
|
]));
|
|
1586
1586
|
}
|
|
1587
|
-
const _9 = /* @__PURE__ */ n(j5, [["render", _5]]), P5 = {},
|
|
1588
|
-
function
|
|
1589
|
-
return s(), r("div",
|
|
1587
|
+
const _9 = /* @__PURE__ */ n(j5, [["render", _5]]), P5 = {}, N5 = { class: "icon-radio" };
|
|
1588
|
+
function R5(e, t) {
|
|
1589
|
+
return s(), r("div", N5, t[0] || (t[0] = [
|
|
1590
1590
|
o("svg", {
|
|
1591
1591
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1592
1592
|
viewBox: "0 0 14 15",
|
|
@@ -1601,7 +1601,7 @@ function N5(e, t) {
|
|
|
1601
1601
|
], -1)
|
|
1602
1602
|
]));
|
|
1603
1603
|
}
|
|
1604
|
-
const P9 = /* @__PURE__ */ n(P5, [["render",
|
|
1604
|
+
const P9 = /* @__PURE__ */ n(P5, [["render", R5]]), z5 = {}, K5 = { class: "icon-radio-fill" };
|
|
1605
1605
|
function X5(e, t) {
|
|
1606
1606
|
return s(), r("div", K5, t[0] || (t[0] = [
|
|
1607
1607
|
o("svg", {
|
|
@@ -1618,13 +1618,13 @@ function X5(e, t) {
|
|
|
1618
1618
|
], -1)
|
|
1619
1619
|
]));
|
|
1620
1620
|
}
|
|
1621
|
-
const
|
|
1621
|
+
const N9 = /* @__PURE__ */ n(z5, [["render", X5]]), W5 = {}, q5 = { class: "icon-robot-screen" };
|
|
1622
1622
|
function $5(e, t) {
|
|
1623
1623
|
return s(), r("div", q5, t[0] || (t[0] = [
|
|
1624
1624
|
u('<svg class="stroke-1-25" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12.2554 3.59422H7.74542C6.64447 3.59422 5.5886 4.03151 4.81004 4.80992C4.03148 5.58833 3.59397 6.6441 3.59375 7.74505V12.2551C3.59375 13.3561 4.03116 14.4121 4.80975 15.1907C5.58833 15.9693 6.64433 16.4067 7.74542 16.4067H12.2554C13.3565 16.4067 14.4125 15.9693 15.1911 15.1907C15.9697 14.4121 16.4071 13.3561 16.4071 12.2551V7.74505C16.4071 6.64396 15.9697 5.58797 15.1911 4.80938C14.4125 4.03079 13.3565 3.59338 12.2554 3.59338V3.59422Z" stroke="currentColor"></path><path d="M16.339 12.99H17.6881C17.9147 12.99 18.1319 12.9 18.2921 12.7399C18.4523 12.5797 18.5423 12.3624 18.5423 12.1359V7.86503C18.5423 7.63849 18.4523 7.42123 18.2921 7.26104C18.1319 7.10086 17.9147 7.01086 17.6881 7.01086H16.3381M3.66315 12.99H2.31315C2.20098 12.99 2.08991 12.9679 1.98628 12.925C1.88264 12.8821 1.78848 12.8192 1.70916 12.7399C1.62985 12.6605 1.56693 12.5664 1.524 12.4627C1.48108 12.3591 1.45898 12.248 1.45898 12.1359V7.86503C1.45898 7.63849 1.54898 7.42123 1.70916 7.26104C1.86935 7.10086 2.08661 7.01086 2.31315 7.01086H3.66315" stroke="currentColor"></path><path d="M2.30469 7.0109V3.59424M17.688 7.0109L17.6797 3.59424" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M11.2558 6.42004H8.74409C8.1276 6.42026 7.53645 6.66532 7.1006 7.10132C6.66476 7.53731 6.41992 8.12856 6.41992 8.74504V11.2559C6.42014 11.8724 6.66519 12.4635 7.10119 12.8994C7.53719 13.3352 8.12844 13.58 8.74492 13.58H11.2558C11.8722 13.5798 12.4634 13.3348 12.8992 12.8988C13.3351 12.4628 13.5799 11.8715 13.5799 11.255V8.74421C13.5797 8.12773 13.3346 7.53657 12.8987 7.10073C12.4627 6.66488 11.8714 6.42004 11.2549 6.42004H11.2558Z" stroke="currentColor"></path></svg>', 1)
|
|
1625
1625
|
]));
|
|
1626
1626
|
}
|
|
1627
|
-
const
|
|
1627
|
+
const R9 = /* @__PURE__ */ n(W5, [["render", $5]]), t4 = {}, e4 = { class: "py-1" };
|
|
1628
1628
|
function o4(e, t) {
|
|
1629
1629
|
return s(), r("div", e4, t[0] || (t[0] = [
|
|
1630
1630
|
u('<svg class="stroke-2" viewBox="0 0 17 17" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_36270_12661)"><path d="M15.5827 7.84978V8.50145C15.5818 10.0289 15.0872 11.5152 14.1726 12.7386C13.2581 13.962 11.9725 14.857 10.5077 15.29C9.04295 15.7231 7.47741 15.6711 6.0446 15.1418C4.61179 14.6124 3.38848 13.6341 2.55711 12.3527C1.72575 11.0713 1.33087 9.5555 1.43137 8.03134C1.53187 6.50718 2.12237 5.05635 3.1148 3.89521C4.10722 2.73407 5.44841 1.92485 6.93832 1.58822C8.42823 1.25159 9.98704 1.40561 11.3823 2.02728M15.5827 2.83073L8.49935 9.92115L6.37435 7.79615" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path></g><defs><clipPath id="clip0_36270_12661"><rect width="17" height="17" fill="white"></rect></clipPath></defs></svg>', 1)
|
|
@@ -1849,14 +1849,14 @@ function _4(e, t) {
|
|
|
1849
1849
|
}, null, -1)
|
|
1850
1850
|
]));
|
|
1851
1851
|
}
|
|
1852
|
-
const lt = /* @__PURE__ */ n(j4, [["render", _4]]), P4 = {},
|
|
1852
|
+
const lt = /* @__PURE__ */ n(j4, [["render", _4]]), P4 = {}, N4 = {
|
|
1853
1853
|
viewBox: "0 0 33 40",
|
|
1854
1854
|
fill: "none",
|
|
1855
1855
|
class: "stroke-1",
|
|
1856
1856
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1857
1857
|
};
|
|
1858
|
-
function
|
|
1859
|
-
return s(), r("svg",
|
|
1858
|
+
function R4(e, t) {
|
|
1859
|
+
return s(), r("svg", N4, t[0] || (t[0] = [
|
|
1860
1860
|
o("path", {
|
|
1861
1861
|
d: "M1.25 4C1.25 2.20508 2.70508 0.75 4.5 0.75H20.5C20.6212 0.75 20.7375 0.798159 20.8232 0.883885L31.6161 11.6768C31.7018 11.7625 31.75 11.8788 31.75 12V36C31.75 37.7949 30.2949 39.25 28.5 39.25H4.5C2.70507 39.25 1.25 37.7949 1.25 36V4Z",
|
|
1862
1862
|
stroke: "currentColor"
|
|
@@ -1867,7 +1867,7 @@ function N4(e, t) {
|
|
|
1867
1867
|
}, null, -1)
|
|
1868
1868
|
]));
|
|
1869
1869
|
}
|
|
1870
|
-
const at = /* @__PURE__ */ n(P4, [["render",
|
|
1870
|
+
const at = /* @__PURE__ */ n(P4, [["render", R4]]), z4 = {}, K4 = {
|
|
1871
1871
|
class: "stroke-1-25",
|
|
1872
1872
|
viewBox: "0 0 33 40",
|
|
1873
1873
|
fill: "none",
|
|
@@ -2192,20 +2192,19 @@ const Ct = /* @__PURE__ */ n(A6, [["render", C6]]), u6 = { class: "fixed z-[9998
|
|
|
2192
2192
|
]));
|
|
2193
2193
|
}
|
|
2194
2194
|
}), H6 = {
|
|
2195
|
+
key: 0,
|
|
2195
2196
|
class: "freddy-pagination-nav",
|
|
2196
2197
|
"aria-label": "Pagination"
|
|
2197
2198
|
}, V6 = ["disabled"], b6 = { class: "freddy-pagination-dynamic-container" }, J6 = ["onClick", "disabled"], Q6 = ["disabled"], xt = /* @__PURE__ */ g({
|
|
2198
2199
|
__name: "Pagination",
|
|
2199
2200
|
props: {
|
|
2200
|
-
totalItems: { type: Number, required: !0 },
|
|
2201
|
-
itemsPerPage: { type: Number, required: !0 },
|
|
2202
|
-
currentPage: { type: Number, required: !0 }
|
|
2201
|
+
totalItems: { type: Number, required: !0, default: 0 },
|
|
2202
|
+
itemsPerPage: { type: Number, required: !0, default: 10 },
|
|
2203
|
+
currentPage: { type: Number, required: !0, default: 1 }
|
|
2203
2204
|
},
|
|
2204
2205
|
emits: ["update:currentPage"],
|
|
2205
2206
|
setup(e, { emit: t }) {
|
|
2206
|
-
const i = e, l = t, p = E(
|
|
2207
|
-
() => Math.ceil(i.totalItems / i.itemsPerPage)
|
|
2208
|
-
), a = E(() => {
|
|
2207
|
+
const i = e, l = t, p = E(() => !i.totalItems || isNaN(i.totalItems) ? 0 : Math.ceil(i.totalItems / i.itemsPerPage)), a = E(() => {
|
|
2209
2208
|
const d = [], A = p.value, f = i.currentPage;
|
|
2210
2209
|
if (A <= 7)
|
|
2211
2210
|
for (let C = 1; C <= A; C++)
|
|
@@ -2221,7 +2220,7 @@ const Ct = /* @__PURE__ */ n(A6, [["render", C6]]), u6 = { class: "fixed z-[9998
|
|
|
2221
2220
|
function c(d) {
|
|
2222
2221
|
d === "..." || d === i.currentPage || typeof d == "number" && d >= 1 && d <= p.value && l("update:currentPage", d);
|
|
2223
2222
|
}
|
|
2224
|
-
return (d, A) => (s(), r("nav", H6, [
|
|
2223
|
+
return (d, A) => p.value > 0 ? (s(), r("nav", H6, [
|
|
2225
2224
|
o("button", {
|
|
2226
2225
|
class: x(["freddy-pagination-end-button", { "freddy-pagination-hover-enabled": e.currentPage !== 1 }]),
|
|
2227
2226
|
onClick: A[0] || (A[0] = (f) => c(e.currentPage - 1)),
|
|
@@ -2229,7 +2228,7 @@ const Ct = /* @__PURE__ */ n(A6, [["render", C6]]), u6 = { class: "fixed z-[9998
|
|
|
2229
2228
|
}, " Previous ", 10, V6),
|
|
2230
2229
|
o("div", b6, [
|
|
2231
2230
|
(s(!0), r(Z, null, D(a.value, (f) => (s(), r("button", {
|
|
2232
|
-
key: f,
|
|
2231
|
+
key: String(f),
|
|
2233
2232
|
class: x(["freddy-pagination-number-button", { active: f === e.currentPage }]),
|
|
2234
2233
|
onClick: (C) => c(f),
|
|
2235
2234
|
disabled: f === "..." || f === e.currentPage
|
|
@@ -2239,10 +2238,10 @@ const Ct = /* @__PURE__ */ n(A6, [["render", C6]]), u6 = { class: "fixed z-[9998
|
|
|
2239
2238
|
"freddy-pagination-hover-enabled": e.currentPage !== p.value
|
|
2240
2239
|
}]),
|
|
2241
2240
|
onClick: A[1] || (A[1] = (f) => c(e.currentPage + 1)),
|
|
2242
|
-
disabled: e.currentPage === p.value
|
|
2241
|
+
disabled: e.currentPage === p.value || p.value === 0
|
|
2243
2242
|
}, " Next ", 10, Q6)
|
|
2244
2243
|
])
|
|
2245
|
-
]));
|
|
2244
|
+
])) : G("", !0);
|
|
2246
2245
|
}
|
|
2247
2246
|
}), T6 = /* @__PURE__ */ g({
|
|
2248
2247
|
__name: "Spinner",
|
|
@@ -2300,7 +2299,7 @@ const Ct = /* @__PURE__ */ n(A6, [["render", C6]]), u6 = { class: "fixed z-[9998
|
|
|
2300
2299
|
})) : G("", !0)
|
|
2301
2300
|
], 2));
|
|
2302
2301
|
}
|
|
2303
|
-
}), Y6 = { class: "freddy-plugin-snackbar-content" }, _6 = { class: "freddy-plugin-snackbar-left" }, P6 = { class: "freddy-plugin-snackbar-text" },
|
|
2302
|
+
}), Y6 = { class: "freddy-plugin-snackbar-content" }, _6 = { class: "freddy-plugin-snackbar-left" }, P6 = { class: "freddy-plugin-snackbar-text" }, N6 = ["innerHTML"], R6 = ["innerHTML"], z6 = ["onClick"], K6 = /* @__PURE__ */ g({
|
|
2304
2303
|
__name: "SnackBar",
|
|
2305
2304
|
setup(e) {
|
|
2306
2305
|
const { snackQueue: t } = B0(), i = (a) => {
|
|
@@ -2337,7 +2336,7 @@ const Ct = /* @__PURE__ */ n(A6, [["render", C6]]), u6 = { class: "fixed z-[9998
|
|
|
2337
2336
|
}, [
|
|
2338
2337
|
o("div", Y6, [
|
|
2339
2338
|
o("div", _6, [
|
|
2340
|
-
(s(), B(
|
|
2339
|
+
(s(), B(N(i(d.toastType)), {
|
|
2341
2340
|
class: x(["freddy-plugin-snackbar-icon", [
|
|
2342
2341
|
d.toastType === "info" && "freddy-plugin-snackbar-icon--info",
|
|
2343
2342
|
d.toastType === "danger" && "freddy-plugin-snackbar-icon--danger",
|
|
@@ -2348,11 +2347,11 @@ const Ct = /* @__PURE__ */ n(A6, [["render", C6]]), u6 = { class: "fixed z-[9998
|
|
|
2348
2347
|
o("p", {
|
|
2349
2348
|
class: "freddy-plugin-snackbar-title",
|
|
2350
2349
|
innerHTML: d.title
|
|
2351
|
-
}, null, 8,
|
|
2350
|
+
}, null, 8, N6),
|
|
2352
2351
|
o("p", {
|
|
2353
2352
|
class: "freddy-plugin-snackbar-message",
|
|
2354
2353
|
innerHTML: d.message
|
|
2355
|
-
}, null, 8,
|
|
2354
|
+
}, null, 8, R6)
|
|
2356
2355
|
])
|
|
2357
2356
|
]),
|
|
2358
2357
|
o("button", {
|
|
@@ -2382,7 +2381,7 @@ const Ct = /* @__PURE__ */ n(A6, [["render", C6]]), u6 = { class: "fixed z-[9998
|
|
|
2382
2381
|
key: f,
|
|
2383
2382
|
onClick: (C) => a(A)
|
|
2384
2383
|
}, [
|
|
2385
|
-
|
|
2384
|
+
R(w(A.title) + " ", 1),
|
|
2386
2385
|
o("span", {
|
|
2387
2386
|
class: x({ "freddy-plugin-active-tab": p.value === A.id })
|
|
2388
2387
|
}, null, 2)
|
|
@@ -2416,7 +2415,7 @@ const Ct = /* @__PURE__ */ n(A6, [["render", C6]]), u6 = { class: "fixed z-[9998
|
|
|
2416
2415
|
class: x(["toast-item", l(A.toastType)])
|
|
2417
2416
|
}, [
|
|
2418
2417
|
o("div", $6, [
|
|
2419
|
-
(s(), B(
|
|
2418
|
+
(s(), B(N(p(A.toastType)), { class: "toast-icon" }))
|
|
2420
2419
|
]),
|
|
2421
2420
|
o("span", t7, w(A.message), 1),
|
|
2422
2421
|
o("button", {
|
|
@@ -2504,7 +2503,7 @@ const Ct = /* @__PURE__ */ n(A6, [["render", C6]]), u6 = { class: "fixed z-[9998
|
|
|
2504
2503
|
]])
|
|
2505
2504
|
}, [
|
|
2506
2505
|
m(C.$slots, "tooltip", {}, () => [
|
|
2507
|
-
|
|
2506
|
+
R(w(e.text), 1)
|
|
2508
2507
|
], !0),
|
|
2509
2508
|
o("span", {
|
|
2510
2509
|
class: x(["tooltip-arrow", `arrow-${t.placement}`])
|
|
@@ -2603,8 +2602,8 @@ export {
|
|
|
2603
2602
|
Y9 as IconPurseCircleFill,
|
|
2604
2603
|
_9 as IconQuestion,
|
|
2605
2604
|
P9 as IconRadio,
|
|
2606
|
-
|
|
2607
|
-
|
|
2605
|
+
N9 as IconRadioFill,
|
|
2606
|
+
R9 as IconRobotScreen,
|
|
2608
2607
|
z9 as IconRoundTick,
|
|
2609
2608
|
i4 as IconSearch,
|
|
2610
2609
|
K9 as IconSend,
|
|
@@ -2640,7 +2639,7 @@ export {
|
|
|
2640
2639
|
Q7 as calculatePercentage,
|
|
2641
2640
|
s9 as cloneDeepSafe,
|
|
2642
2641
|
$7 as copyToClipboard,
|
|
2643
|
-
|
|
2642
|
+
R7 as daysInMonth,
|
|
2644
2643
|
o9 as debounce,
|
|
2645
2644
|
j as deepEqual,
|
|
2646
2645
|
I as defaultImageSrc,
|
|
@@ -2648,7 +2647,7 @@ export {
|
|
|
2648
2647
|
T7 as fillMissingDays,
|
|
2649
2648
|
P7 as formatDate,
|
|
2650
2649
|
Y7 as formatDateToLocaleString,
|
|
2651
|
-
|
|
2650
|
+
N7 as formatLastUsedDate,
|
|
2652
2651
|
j7 as getDatesForMonth,
|
|
2653
2652
|
w0 as getDaysInMonth,
|
|
2654
2653
|
K7 as getFileNameFromUrl,
|