@syntify/office 0.1.20-beta.3 → 0.1.20-beta.4
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/office.css +1 -1
- package/dist/syntify-office.es.js +157 -157
- package/dist/syntify-office.umd.js +11 -11
- package/package.json +1 -1
|
@@ -48,7 +48,7 @@ const _g = /* @__PURE__ */ Vn({
|
|
|
48
48
|
for (const [G, M] of S)
|
|
49
49
|
u[G] = M;
|
|
50
50
|
return u;
|
|
51
|
-
},
|
|
51
|
+
}, t1 = /* @__PURE__ */ Fr(_g, [["__scopeId", "data-v-1d74c6dc"]]), yg = {}, mg = { class: "synt-office-layout-wrapper" };
|
|
52
52
|
function wg(p, S) {
|
|
53
53
|
return ut(), ht("div", mg, [
|
|
54
54
|
qt(p.$slots, "default", {}, void 0, !0)
|
|
@@ -177,7 +177,7 @@ const bg = /* @__PURE__ */ Fr(yg, [["render", wg], ["__scopeId", "data-v-5c72098
|
|
|
177
177
|
}, 8, ["icon", "label"]);
|
|
178
178
|
};
|
|
179
179
|
}
|
|
180
|
-
}),
|
|
180
|
+
}), e1 = /* @__PURE__ */ Fr(Tg, [["__scopeId", "data-v-b03396c3"]]);
|
|
181
181
|
function Ig(p) {
|
|
182
182
|
return p && p.__esModule && Object.prototype.hasOwnProperty.call(p, "default") ? p.default : p;
|
|
183
183
|
}
|
|
@@ -706,25 +706,25 @@ const Pg = {
|
|
|
706
706
|
], 64);
|
|
707
707
|
};
|
|
708
708
|
}
|
|
709
|
-
}), Gg =
|
|
709
|
+
}), Gg = ["id"], Yg = { id: "table-collection" }, Kg = { key: 0 }, Zg = ["onClick", "onContextmenu"], Jg = {
|
|
710
710
|
key: 0,
|
|
711
711
|
class: "synt-badge-tabel"
|
|
712
|
-
},
|
|
712
|
+
}, Xg = {
|
|
713
713
|
key: 1,
|
|
714
714
|
class: "synt-badge-tabel"
|
|
715
|
-
},
|
|
715
|
+
}, jg = {
|
|
716
716
|
key: 2,
|
|
717
717
|
class: "synt-badge-tabel"
|
|
718
|
-
},
|
|
718
|
+
}, Qg = {
|
|
719
719
|
key: 4,
|
|
720
720
|
class: "synt-badge-tabel"
|
|
721
|
-
},
|
|
721
|
+
}, t_ = { key: 0 }, e_ = {
|
|
722
722
|
key: 0,
|
|
723
723
|
class: "synt-loading"
|
|
724
|
-
},
|
|
724
|
+
}, n_ = {
|
|
725
725
|
key: 1,
|
|
726
726
|
class: "synt-table-empty"
|
|
727
|
-
},
|
|
727
|
+
}, r_ = { class: "synt-office-collection-table-footer" }, i_ = { class: "synt-office-collection-table-footer-start" }, o_ = { class: "synt-office-collection-table-footer-end" }, u_ = { class: "synt-office-collection-table-footer-meta" }, s_ = { class: "synt-office-collection-font-bold" }, a_ = { class: "synt-office-collection-font-bold" }, l_ = { class: "synt-office-collection-font-bold" }, f_ = { class: "synt-office-collection-paginate-wrapper" }, c_ = ["disabled"], h_ = ["disabled"], p_ = /* @__PURE__ */ Vn({
|
|
728
728
|
__name: "OfficeCollectionTable",
|
|
729
729
|
props: {
|
|
730
730
|
items: {},
|
|
@@ -792,13 +792,13 @@ const Pg = {
|
|
|
792
792
|
class: "synt-office-collection-table-wrapper"
|
|
793
793
|
}, [
|
|
794
794
|
qt(U.$slots, "default", {}, void 0, !0),
|
|
795
|
-
O("table",
|
|
795
|
+
O("table", Yg, [
|
|
796
796
|
O("thead", null, [
|
|
797
797
|
O("tr", null, [
|
|
798
798
|
X[6] || (X[6] = O("th", null, "No", -1)),
|
|
799
799
|
(ut(!0), ht(Yn, null, ao(U.model.collection.columns, (nt, ne) => (ut(), ht("th", { key: ne }, Pt(nt.name), 1))), 128)),
|
|
800
800
|
qt(U.$slots, "th", {}, void 0, !0),
|
|
801
|
-
(K = U.model.includes) != null && K.includes("delete") ? (ut(), ht("th",
|
|
801
|
+
(K = U.model.includes) != null && K.includes("delete") ? (ut(), ht("th", Kg, "Hapus")) : we("", !0)
|
|
802
802
|
])
|
|
803
803
|
]),
|
|
804
804
|
O("tbody", null, [
|
|
@@ -816,7 +816,7 @@ const Pg = {
|
|
|
816
816
|
(ut(!0), ht(Yn, null, ao(U.model.collection.columns, (rt, $t) => {
|
|
817
817
|
var Lt, Yt, at, I, E;
|
|
818
818
|
return ut(), ht("td", { key: $t }, [
|
|
819
|
-
rt.type == "currency" ? (ut(), ht("div",
|
|
819
|
+
rt.type == "currency" ? (ut(), ht("div", Jg, Pt(yn(Rg)(nt[rt.handle])), 1)) : rt.type == "date" ? (ut(), ht("div", Xg, Pt(yn(Ng)(nt[rt.handle])), 1)) : rt.type == "datetime" ? (ut(), ht("div", jg, Pt(yn(Fg)(nt[rt.handle])), 1)) : rt.type == "choice" ? (ut(), ht("div", {
|
|
820
820
|
key: 3,
|
|
821
821
|
class: Kn([
|
|
822
822
|
"synt-badge-tabel-color",
|
|
@@ -830,12 +830,12 @@ const Pg = {
|
|
|
830
830
|
color: ((I = rt.choices[nt[rt.handle]]) == null ? void 0 : I.textColor) ?? "black"
|
|
831
831
|
}
|
|
832
832
|
)
|
|
833
|
-
}, Pt(((E = rt.choices[nt[rt.handle]]) == null ? void 0 : E.name) ?? nt[rt.handle]), 7)) : (ut(), ht("div",
|
|
833
|
+
}, Pt(((E = rt.choices[nt[rt.handle]]) == null ? void 0 : E.name) ?? nt[rt.handle]), 7)) : (ut(), ht("div", Qg, Pt(nt[rt.handle]), 1))
|
|
834
834
|
]);
|
|
835
835
|
}), 128)),
|
|
836
836
|
qt(U.$slots, "td", { item: nt }, void 0, !0),
|
|
837
|
-
(kt = U.model.includes) != null && kt.includes("delete") ? (ut(), ht("td",
|
|
838
|
-
wn(yn(
|
|
837
|
+
(kt = U.model.includes) != null && kt.includes("delete") ? (ut(), ht("td", t_, [
|
|
838
|
+
wn(yn(qg), {
|
|
839
839
|
display: nt[U.model.info.display],
|
|
840
840
|
"onOn:delete": (rt) => U.$emit("on:delete", nt.id)
|
|
841
841
|
}, {
|
|
@@ -845,7 +845,7 @@ const Pg = {
|
|
|
845
845
|
_: 2
|
|
846
846
|
}, 1032, ["display", "onOn:delete"])
|
|
847
847
|
])) : we("", !0)
|
|
848
|
-
], 42,
|
|
848
|
+
], 42, Zg);
|
|
849
849
|
}), 128))
|
|
850
850
|
])
|
|
851
851
|
]),
|
|
@@ -883,15 +883,15 @@ const Pg = {
|
|
|
883
883
|
]),
|
|
884
884
|
_: 1
|
|
885
885
|
}),
|
|
886
|
-
U.isLoading ? (ut(), ht("div",
|
|
886
|
+
U.isLoading ? (ut(), ht("div", e_, X[11] || (X[11] = [
|
|
887
887
|
O("i", { class: "synt-loading-icon fa-solid fa-spinner" }, null, -1)
|
|
888
888
|
]))) : we("", !0),
|
|
889
|
-
!U.items.length && !U.isLoading ? (ut(), ht("div",
|
|
889
|
+
!U.items.length && !U.isLoading ? (ut(), ht("div", n_, X[12] || (X[12] = [
|
|
890
890
|
O("div", { class: "synt-table-empty-text" }, "Tidak ada data untuk ditampilkan", -1)
|
|
891
891
|
]))) : we("", !0)
|
|
892
|
-
], 8,
|
|
893
|
-
O("div",
|
|
894
|
-
O("div",
|
|
892
|
+
], 8, Gg),
|
|
893
|
+
O("div", r_, [
|
|
894
|
+
O("div", i_, [
|
|
895
895
|
X[14] || (X[14] = O("span", { class: "synt-office-collection-table-footer-tampilkan" }, "Tampilkan", -1)),
|
|
896
896
|
zn(O("select", {
|
|
897
897
|
"onUpdate:modelValue": X[3] || (X[3] = (nt) => U.query.limit = nt),
|
|
@@ -905,15 +905,15 @@ const Pg = {
|
|
|
905
905
|
[cg, U.query.limit]
|
|
906
906
|
])
|
|
907
907
|
]),
|
|
908
|
-
O("div",
|
|
909
|
-
O("div",
|
|
910
|
-
O("span",
|
|
908
|
+
O("div", o_, [
|
|
909
|
+
O("div", u_, [
|
|
910
|
+
O("span", s_, Pt(v()), 1),
|
|
911
911
|
X[15] || (X[15] = Hn(" - ")),
|
|
912
|
-
O("span",
|
|
912
|
+
O("span", a_, Pt(L()), 1),
|
|
913
913
|
X[16] || (X[16] = Hn(" dari ")),
|
|
914
|
-
O("span",
|
|
914
|
+
O("span", l_, Pt(U.meta.total), 1)
|
|
915
915
|
]),
|
|
916
|
-
O("div",
|
|
916
|
+
O("div", f_, [
|
|
917
917
|
O("button", {
|
|
918
918
|
type: "button",
|
|
919
919
|
class: "synt-office-collection-btn-paginate",
|
|
@@ -921,7 +921,7 @@ const Pg = {
|
|
|
921
921
|
disabled: !U.meta.hasPrev || U.isLoading
|
|
922
922
|
}, X[17] || (X[17] = [
|
|
923
923
|
O("i", { class: "fa-solid fa-angle-left" }, null, -1)
|
|
924
|
-
]), 8,
|
|
924
|
+
]), 8, c_),
|
|
925
925
|
O("button", {
|
|
926
926
|
type: "button",
|
|
927
927
|
class: "synt-office-collection-btn-paginate",
|
|
@@ -929,16 +929,16 @@ const Pg = {
|
|
|
929
929
|
disabled: !U.meta.hasNext || U.isLoading
|
|
930
930
|
}, X[18] || (X[18] = [
|
|
931
931
|
O("i", { class: "fa-solid fa-angle-right" }, null, -1)
|
|
932
|
-
]), 8,
|
|
932
|
+
]), 8, h_)
|
|
933
933
|
])
|
|
934
934
|
])
|
|
935
935
|
])
|
|
936
936
|
], 64);
|
|
937
937
|
};
|
|
938
938
|
}
|
|
939
|
-
}),
|
|
939
|
+
}), n1 = /* @__PURE__ */ Fr(p_, [["__scopeId", "data-v-4da3dc1c"]]);
|
|
940
940
|
var qs = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
941
|
-
function
|
|
941
|
+
function d_(p) {
|
|
942
942
|
return p && p.__esModule && Object.prototype.hasOwnProperty.call(p, "default") ? p.default : p;
|
|
943
943
|
}
|
|
944
944
|
var Hs = { exports: {} };
|
|
@@ -950,8 +950,8 @@ var Hs = { exports: {} };
|
|
|
950
950
|
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
951
951
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
952
952
|
*/
|
|
953
|
-
var
|
|
954
|
-
function
|
|
953
|
+
var v_ = Hs.exports, Zv;
|
|
954
|
+
function g_() {
|
|
955
955
|
return Zv || (Zv = 1, function(p, S) {
|
|
956
956
|
(function() {
|
|
957
957
|
var u, G = "4.17.21", M = 200, N = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", v = "Expected a function", L = "Invalid `variable` option passed into `_.template`", P = "__lodash_hash_undefined__", H = 500, tt = "__lodash_placeholder__", J = 1, It = 2, ft = 4, U = 1, X = 2, K = 1, nt = 2, ne = 4, St = 8, kt = 16, rt = 32, $t = 64, Lt = 128, Yt = 256, at = 512, I = 30, E = "...", Bt = 800, be = 16, T = 1, x = 2, w = 3, A = 1 / 0, m = 9007199254740991, R = 17976931348623157e292, W = NaN, Z = 4294967295, vt = Z - 1, wt = Z >>> 1, At = [
|
|
@@ -4611,11 +4611,11 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
4611
4611
|
}], Q.prototype.clone = Yl, Q.prototype.reverse = Kl, Q.prototype.value = Zl, o.prototype.at = Sh, o.prototype.chain = Ah, o.prototype.commit = Ch, o.prototype.next = Lh, o.prototype.plant = Th, o.prototype.reverse = Ih, o.prototype.toJSON = o.prototype.valueOf = o.prototype.value = Dh, o.prototype.first = o.prototype.head, Cn && (o.prototype[Cn] = Eh), o;
|
|
4612
4612
|
}, an = Al();
|
|
4613
4613
|
Ye ? ((Ye.exports = an)._ = an, ni._ = an) : Et._ = an;
|
|
4614
|
-
}).call(
|
|
4614
|
+
}).call(v_);
|
|
4615
4615
|
}(Hs, Hs.exports)), Hs.exports;
|
|
4616
4616
|
}
|
|
4617
|
-
var
|
|
4618
|
-
const lg = /* @__PURE__ */
|
|
4617
|
+
var __ = g_();
|
|
4618
|
+
const lg = /* @__PURE__ */ d_(__), y_ = { class: "synt-office-tabs synt-no-scrollbar" }, m_ = ["onClick"], w_ = { class: "synt-office-tabs-label" }, b_ = /* @__PURE__ */ Vn({
|
|
4619
4619
|
__name: "OfficeTabs",
|
|
4620
4620
|
setup(p) {
|
|
4621
4621
|
const S = Gt(null), u = Gt([]), G = (v, L) => {
|
|
@@ -4627,19 +4627,19 @@ const lg = /* @__PURE__ */ v_(y_), m_ = { class: "synt-office-tabs synt-no-scrol
|
|
|
4627
4627
|
S.value = v, u.value.forEach((L) => L.setActive(L.title === v));
|
|
4628
4628
|
};
|
|
4629
4629
|
return Hv("registerTab", G), Hv("unregisterTab", M), (v, L) => (ut(), ht(Yn, null, [
|
|
4630
|
-
O("div",
|
|
4630
|
+
O("div", y_, [
|
|
4631
4631
|
(ut(!0), ht(Yn, null, ao(u.value, (P) => (ut(), ht("button", {
|
|
4632
4632
|
key: P.title,
|
|
4633
4633
|
onClick: (H) => N(P.title),
|
|
4634
4634
|
class: Kn({ active: P.title === S.value })
|
|
4635
4635
|
}, [
|
|
4636
|
-
O("span",
|
|
4637
|
-
], 10,
|
|
4636
|
+
O("span", w_, Pt(yn(lg).capitalize(P.title)), 1)
|
|
4637
|
+
], 10, m_))), 128))
|
|
4638
4638
|
]),
|
|
4639
4639
|
qt(v.$slots, "default", {}, void 0, !0)
|
|
4640
4640
|
], 64));
|
|
4641
4641
|
}
|
|
4642
|
-
}),
|
|
4642
|
+
}), r1 = /* @__PURE__ */ Fr(b_, [["__scopeId", "data-v-cb6fcfc8"]]), x_ = { class: "synt-office-tab" }, O_ = /* @__PURE__ */ Vn({
|
|
4643
4643
|
__name: "OfficeTab",
|
|
4644
4644
|
props: {
|
|
4645
4645
|
title: {
|
|
@@ -4651,19 +4651,19 @@ const lg = /* @__PURE__ */ v_(y_), m_ = { class: "synt-office-tabs synt-no-scrol
|
|
|
4651
4651
|
const S = Gt(!1), u = Vv(
|
|
4652
4652
|
"registerTab"
|
|
4653
4653
|
), G = Vv("unregisterTab");
|
|
4654
|
-
return Vs(() => u == null ? void 0 : u(p.title, (M) => S.value = M)), hg(() => G == null ? void 0 : G(p.title)), (M, N) => zn((ut(), ht("div",
|
|
4654
|
+
return Vs(() => u == null ? void 0 : u(p.title, (M) => S.value = M)), hg(() => G == null ? void 0 : G(p.title)), (M, N) => zn((ut(), ht("div", x_, [
|
|
4655
4655
|
qt(M.$slots, "default", {}, void 0, !0)
|
|
4656
4656
|
], 512)), [
|
|
4657
4657
|
[lo, S.value]
|
|
4658
4658
|
]);
|
|
4659
4659
|
}
|
|
4660
|
-
}),
|
|
4660
|
+
}), i1 = /* @__PURE__ */ Fr(O_, [["__scopeId", "data-v-42b62811"]]), $_ = {
|
|
4661
4661
|
ref: "iconToggleRef",
|
|
4662
4662
|
class: "lux-office-single-text-sm fa-solid fa-arrow-left"
|
|
4663
|
-
},
|
|
4663
|
+
}, S_ = { key: 1 }, A_ = {
|
|
4664
4664
|
key: 0,
|
|
4665
4665
|
class: "lux-office-single-modal-delete-overlay"
|
|
4666
|
-
},
|
|
4666
|
+
}, C_ = { class: "lux-office-single-modal-delete-wrapper" }, L_ = { class: "lux-office-single-modal-content" }, E_ = { class: "lux-office-single-font-semibold" }, T_ = { class: "lux-office-single-modal-btn-wrapper" }, I_ = { class: "lux-office-single-content" }, D_ = /* @__PURE__ */ Vn({
|
|
4667
4667
|
__name: "OfficeSingle",
|
|
4668
4668
|
props: {
|
|
4669
4669
|
model: {},
|
|
@@ -4713,7 +4713,7 @@ const lg = /* @__PURE__ */ v_(y_), m_ = { class: "synt-office-tabs synt-no-scrol
|
|
|
4713
4713
|
class: "lux-office-single-btn-back"
|
|
4714
4714
|
}, {
|
|
4715
4715
|
default: ce(() => [
|
|
4716
|
-
O("i",
|
|
4716
|
+
O("i", $_, null, 512)
|
|
4717
4717
|
]),
|
|
4718
4718
|
_: 1
|
|
4719
4719
|
}, 8, ["to"])),
|
|
@@ -4756,7 +4756,7 @@ const lg = /* @__PURE__ */ v_(y_), m_ = { class: "synt-office-tabs synt-no-scrol
|
|
|
4756
4756
|
O("i", { class: "lux-office-single-dropdown-option-icon fa-regular fa-copy" }, null, -1),
|
|
4757
4757
|
O("span", null, "Duplicate", -1)
|
|
4758
4758
|
]))),
|
|
4759
|
-
!((rt = K.model.excludes) != null && rt.includes("delete")) && !(($t = K.model.excludes) != null && $t.includes("duplicate")) ? (ut(), ht("hr",
|
|
4759
|
+
!((rt = K.model.excludes) != null && rt.includes("delete")) && !(($t = K.model.excludes) != null && $t.includes("duplicate")) ? (ut(), ht("hr", S_)) : we("", !0),
|
|
4760
4760
|
(Lt = K.model.excludes) != null && Lt.includes("delete") ? we("", !0) : (ut(), ht("li", {
|
|
4761
4761
|
key: 2,
|
|
4762
4762
|
class: "lux-office-single-dropdown-option",
|
|
@@ -4777,21 +4777,21 @@ const lg = /* @__PURE__ */ v_(y_), m_ = { class: "synt-office-tabs synt-no-scrol
|
|
|
4777
4777
|
default: ce(() => [
|
|
4778
4778
|
wn(co, { name: "fade" }, {
|
|
4779
4779
|
default: ce(() => [
|
|
4780
|
-
H.value ? (ut(), ht("div",
|
|
4781
|
-
O("div",
|
|
4780
|
+
H.value ? (ut(), ht("div", A_, [
|
|
4781
|
+
O("div", C_, [
|
|
4782
4782
|
nt[5] || (nt[5] = O("div", { class: "lux-office-single-modal-header" }, [
|
|
4783
4783
|
O("div", { class: "lux-office-single-modal-header-icon-box" }, [
|
|
4784
4784
|
O("i", { class: "lux-office-single-icon-delete fa-solid fa-trash" })
|
|
4785
4785
|
]),
|
|
4786
4786
|
O("div", { class: "lux-office-single-font-semibold" }, "Delete Item")
|
|
4787
4787
|
], -1)),
|
|
4788
|
-
O("div",
|
|
4788
|
+
O("div", L_, [
|
|
4789
4789
|
O("p", null, [
|
|
4790
4790
|
nt[3] || (nt[3] = Hn(" Are you sure want to delete item ")),
|
|
4791
|
-
O("span",
|
|
4791
|
+
O("span", E_, Pt(K.values[K.model.info.display]), 1),
|
|
4792
4792
|
nt[4] || (nt[4] = Hn(" ? "))
|
|
4793
4793
|
]),
|
|
4794
|
-
O("div",
|
|
4794
|
+
O("div", T_, [
|
|
4795
4795
|
O("button", {
|
|
4796
4796
|
type: "button",
|
|
4797
4797
|
class: "lux-office-single-modal-cancel",
|
|
@@ -4809,7 +4809,7 @@ const lg = /* @__PURE__ */ v_(y_), m_ = { class: "synt-office-tabs synt-no-scrol
|
|
|
4809
4809
|
]),
|
|
4810
4810
|
_: 1
|
|
4811
4811
|
}),
|
|
4812
|
-
O("div",
|
|
4812
|
+
O("div", I_, [
|
|
4813
4813
|
qt(K.$slots, "default", {}, void 0, !0)
|
|
4814
4814
|
])
|
|
4815
4815
|
]),
|
|
@@ -4817,16 +4817,16 @@ const lg = /* @__PURE__ */ v_(y_), m_ = { class: "synt-office-tabs synt-no-scrol
|
|
|
4817
4817
|
}, 8, ["icon", "label"]);
|
|
4818
4818
|
};
|
|
4819
4819
|
}
|
|
4820
|
-
}),
|
|
4821
|
-
var
|
|
4820
|
+
}), o1 = /* @__PURE__ */ Fr(D_, [["__scopeId", "data-v-0ee2deb9"]]);
|
|
4821
|
+
var M_ = Object.defineProperty, R_ = Object.defineProperties, k_ = Object.getOwnPropertyDescriptors, Jv = Object.getOwnPropertySymbols, B_ = Object.prototype.hasOwnProperty, W_ = Object.prototype.propertyIsEnumerable, Xv = (p, S, u) => S in p ? M_(p, S, { enumerable: !0, configurable: !0, writable: !0, value: u }) : p[S] = u, fo = (p, S) => {
|
|
4822
4822
|
for (var u in S || (S = {}))
|
|
4823
|
-
|
|
4823
|
+
B_.call(S, u) && Xv(p, u, S[u]);
|
|
4824
4824
|
if (Jv)
|
|
4825
4825
|
for (var u of Jv(S))
|
|
4826
|
-
|
|
4826
|
+
W_.call(S, u) && Xv(p, u, S[u]);
|
|
4827
4827
|
return p;
|
|
4828
|
-
}, jv = (p, S) =>
|
|
4829
|
-
const
|
|
4828
|
+
}, jv = (p, S) => R_(p, k_(S));
|
|
4829
|
+
const N_ = {
|
|
4830
4830
|
props: {
|
|
4831
4831
|
autoscroll: {
|
|
4832
4832
|
type: Boolean,
|
|
@@ -4861,7 +4861,7 @@ const F_ = {
|
|
|
4861
4861
|
};
|
|
4862
4862
|
}
|
|
4863
4863
|
}
|
|
4864
|
-
},
|
|
4864
|
+
}, F_ = {
|
|
4865
4865
|
data() {
|
|
4866
4866
|
return {
|
|
4867
4867
|
typeAheadPointer: -1
|
|
@@ -4905,7 +4905,7 @@ const F_ = {
|
|
|
4905
4905
|
this.typeAheadPointer = this.selectedValue.length !== 0 ? this.filteredOptions.indexOf(this.selectedValue[this.selectedValue.length - 1]) : -1;
|
|
4906
4906
|
}
|
|
4907
4907
|
}
|
|
4908
|
-
},
|
|
4908
|
+
}, P_ = {
|
|
4909
4909
|
props: {
|
|
4910
4910
|
loading: {
|
|
4911
4911
|
type: Boolean,
|
|
@@ -4935,30 +4935,30 @@ const F_ = {
|
|
|
4935
4935
|
for (const [G, M] of S)
|
|
4936
4936
|
u[G] = M;
|
|
4937
4937
|
return u;
|
|
4938
|
-
},
|
|
4938
|
+
}, U_ = {}, z_ = {
|
|
4939
4939
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4940
4940
|
width: "10",
|
|
4941
4941
|
height: "10"
|
|
4942
|
-
},
|
|
4943
|
-
|
|
4942
|
+
}, H_ = /* @__PURE__ */ O("path", { d: "M6.895455 5l2.842897-2.842898c.348864-.348863.348864-.914488 0-1.263636L9.106534.261648c-.348864-.348864-.914489-.348864-1.263636 0L5 3.104545 2.157102.261648c-.348863-.348864-.914488-.348864-1.263636 0L.261648.893466c-.348864.348864-.348864.914489 0 1.263636L3.104545 5 .261648 7.842898c-.348864.348863-.348864.914488 0 1.263636l.631818.631818c.348864.348864.914773.348864 1.263636 0L5 6.895455l2.842898 2.842897c.348863.348864.914772.348864 1.263636 0l.631818-.631818c.348864-.348864.348864-.914489 0-1.263636L6.895455 5z" }, null, -1), V_ = [
|
|
4943
|
+
H_
|
|
4944
4944
|
];
|
|
4945
|
-
function
|
|
4946
|
-
return ut(), ht("svg",
|
|
4945
|
+
function q_(p, S) {
|
|
4946
|
+
return ut(), ht("svg", z_, V_);
|
|
4947
4947
|
}
|
|
4948
|
-
const
|
|
4948
|
+
const G_ = /* @__PURE__ */ zv(U_, [["render", q_]]), Y_ = {}, K_ = {
|
|
4949
4949
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4950
4950
|
width: "14",
|
|
4951
4951
|
height: "10"
|
|
4952
|
-
},
|
|
4953
|
-
|
|
4952
|
+
}, Z_ = /* @__PURE__ */ O("path", { d: "M9.211364 7.59931l4.48338-4.867229c.407008-.441854.407008-1.158247 0-1.60046l-.73712-.80023c-.407008-.441854-1.066904-.441854-1.474243 0L7 5.198617 2.51662.33139c-.407008-.441853-1.066904-.441853-1.474243 0l-.737121.80023c-.407008.441854-.407008 1.158248 0 1.600461l4.48338 4.867228L7 10l2.211364-2.40069z" }, null, -1), J_ = [
|
|
4953
|
+
Z_
|
|
4954
4954
|
];
|
|
4955
|
-
function
|
|
4956
|
-
return ut(), ht("svg",
|
|
4955
|
+
function X_(p, S) {
|
|
4956
|
+
return ut(), ht("svg", K_, J_);
|
|
4957
4957
|
}
|
|
4958
|
-
const
|
|
4959
|
-
Deselect:
|
|
4960
|
-
OpenIndicator:
|
|
4961
|
-
},
|
|
4958
|
+
const j_ = /* @__PURE__ */ zv(Y_, [["render", X_]]), Qv = {
|
|
4959
|
+
Deselect: G_,
|
|
4960
|
+
OpenIndicator: j_
|
|
4961
|
+
}, Q_ = {
|
|
4962
4962
|
mounted(p, { instance: S }) {
|
|
4963
4963
|
if (S.appendToBody) {
|
|
4964
4964
|
const {
|
|
@@ -4979,20 +4979,20 @@ const Q_ = /* @__PURE__ */ zv(K_, [["render", j_]]), Qv = {
|
|
|
4979
4979
|
S.appendToBody && (p.unbindPosition && typeof p.unbindPosition == "function" && p.unbindPosition(), p.parentNode && p.parentNode.removeChild(p));
|
|
4980
4980
|
}
|
|
4981
4981
|
};
|
|
4982
|
-
function
|
|
4982
|
+
function t0(p) {
|
|
4983
4983
|
const S = {};
|
|
4984
4984
|
return Object.keys(p).sort().forEach((u) => {
|
|
4985
4985
|
S[u] = p[u];
|
|
4986
4986
|
}), JSON.stringify(S);
|
|
4987
4987
|
}
|
|
4988
|
-
let
|
|
4989
|
-
function
|
|
4990
|
-
return ++
|
|
4988
|
+
let e0 = 0;
|
|
4989
|
+
function n0() {
|
|
4990
|
+
return ++e0;
|
|
4991
4991
|
}
|
|
4992
|
-
const
|
|
4992
|
+
const r0 = {
|
|
4993
4993
|
components: fo({}, Qv),
|
|
4994
|
-
directives: { appendToBody:
|
|
4995
|
-
mixins: [F_, P_
|
|
4994
|
+
directives: { appendToBody: Q_ },
|
|
4995
|
+
mixins: [N_, F_, P_],
|
|
4996
4996
|
compatConfig: {
|
|
4997
4997
|
MODE: 3
|
|
4998
4998
|
},
|
|
@@ -5090,7 +5090,7 @@ https://vue-select.org/api/props.html#getoptionlabel`) : p;
|
|
|
5090
5090
|
if (typeof p != "object")
|
|
5091
5091
|
return p;
|
|
5092
5092
|
try {
|
|
5093
|
-
return p.hasOwnProperty("id") ? p.id :
|
|
5093
|
+
return p.hasOwnProperty("id") ? p.id : t0(p);
|
|
5094
5094
|
} catch (S) {
|
|
5095
5095
|
return console.warn(`[vue-select warn]: Could not stringify this option to generate unique key. Please provide'getOptionKey' prop to return a unique key for each option.
|
|
5096
5096
|
https://vue-select.org/api/props.html#getoptionkey`, p, S);
|
|
@@ -5195,7 +5195,7 @@ https://vue-select.org/api/props.html#getoptionkey`, p, S);
|
|
|
5195
5195
|
},
|
|
5196
5196
|
uid: {
|
|
5197
5197
|
type: [String, Number],
|
|
5198
|
-
default: () =>
|
|
5198
|
+
default: () => n0()
|
|
5199
5199
|
}
|
|
5200
5200
|
},
|
|
5201
5201
|
data() {
|
|
@@ -5447,17 +5447,17 @@ https://vue-select.org/api/props.html#getoptionkey`, p, S);
|
|
|
5447
5447
|
return G[p.keyCode](p);
|
|
5448
5448
|
}
|
|
5449
5449
|
}
|
|
5450
|
-
},
|
|
5450
|
+
}, i0 = ["dir"], o0 = ["id", "aria-expanded", "aria-owns"], u0 = {
|
|
5451
5451
|
ref: "selectedOptions",
|
|
5452
5452
|
class: "vs__selected-options"
|
|
5453
|
-
},
|
|
5453
|
+
}, s0 = ["disabled", "title", "aria-label", "onClick"], a0 = {
|
|
5454
5454
|
ref: "actions",
|
|
5455
5455
|
class: "vs__actions"
|
|
5456
|
-
},
|
|
5456
|
+
}, l0 = ["disabled"], f0 = { class: "vs__spinner" }, c0 = ["id"], h0 = ["id", "aria-selected", "onMouseover", "onClick"], p0 = {
|
|
5457
5457
|
key: 0,
|
|
5458
5458
|
class: "vs__no-options"
|
|
5459
|
-
},
|
|
5460
|
-
function
|
|
5459
|
+
}, d0 = /* @__PURE__ */ Hn(" Sorry, no matching options. "), v0 = ["id"];
|
|
5460
|
+
function g0(p, S, u, G, M, N) {
|
|
5461
5461
|
const v = pg("append-to-body");
|
|
5462
5462
|
return ut(), ht("div", {
|
|
5463
5463
|
dir: u.dir,
|
|
@@ -5474,7 +5474,7 @@ function _0(p, S, u, G, M, N) {
|
|
|
5474
5474
|
"aria-label": "Search for option",
|
|
5475
5475
|
onMousedown: S[1] || (S[1] = (L) => N.toggleDropdown(L))
|
|
5476
5476
|
}, [
|
|
5477
|
-
O("div",
|
|
5477
|
+
O("div", u0, [
|
|
5478
5478
|
(ut(!0), ht(Yn, null, ao(N.selectedValue, (L, P) => qt(p.$slots, "selected-option-container", {
|
|
5479
5479
|
option: N.normalizeOptionForSlot(L),
|
|
5480
5480
|
deselect: N.deselect,
|
|
@@ -5500,14 +5500,14 @@ function _0(p, S, u, G, M, N) {
|
|
|
5500
5500
|
onClick: (H) => N.deselect(L)
|
|
5501
5501
|
}, [
|
|
5502
5502
|
(ut(), Nr(kv(N.childComponents.Deselect)))
|
|
5503
|
-
], 8,
|
|
5503
|
+
], 8, s0)) : we("", !0)
|
|
5504
5504
|
]))
|
|
5505
5505
|
])), 256)),
|
|
5506
5506
|
qt(p.$slots, "search", Un(qn(N.scope.search)), () => [
|
|
5507
5507
|
O("input", qv({ class: "vs__search" }, N.scope.search.attributes, dg(N.scope.search.events)), null, 16)
|
|
5508
5508
|
])
|
|
5509
5509
|
], 512),
|
|
5510
|
-
O("div",
|
|
5510
|
+
O("div", a0, [
|
|
5511
5511
|
zn(O("button", {
|
|
5512
5512
|
ref: "clearButton",
|
|
5513
5513
|
disabled: u.disabled,
|
|
@@ -5518,19 +5518,19 @@ function _0(p, S, u, G, M, N) {
|
|
|
5518
5518
|
onClick: S[0] || (S[0] = (...L) => N.clearSelection && N.clearSelection(...L))
|
|
5519
5519
|
}, [
|
|
5520
5520
|
(ut(), Nr(kv(N.childComponents.Deselect)))
|
|
5521
|
-
], 8,
|
|
5521
|
+
], 8, l0), [
|
|
5522
5522
|
[lo, N.showClearButton]
|
|
5523
5523
|
]),
|
|
5524
5524
|
qt(p.$slots, "open-indicator", Un(qn(N.scope.openIndicator)), () => [
|
|
5525
5525
|
u.noDrop ? we("", !0) : (ut(), Nr(kv(N.childComponents.OpenIndicator), Un(qv({ key: 0 }, N.scope.openIndicator.attributes)), null, 16))
|
|
5526
5526
|
]),
|
|
5527
5527
|
qt(p.$slots, "spinner", Un(qn(N.scope.spinner)), () => [
|
|
5528
|
-
zn(O("div",
|
|
5528
|
+
zn(O("div", f0, "Loading...", 512), [
|
|
5529
5529
|
[lo, p.mutableLoading]
|
|
5530
5530
|
])
|
|
5531
5531
|
])
|
|
5532
5532
|
], 512)
|
|
5533
|
-
], 40,
|
|
5533
|
+
], 40, o0),
|
|
5534
5534
|
wn(co, { name: u.transition }, {
|
|
5535
5535
|
default: ce(() => [
|
|
5536
5536
|
N.dropdownOpen ? zn((ut(), ht("ul", {
|
|
@@ -5561,28 +5561,28 @@ function _0(p, S, u, G, M, N) {
|
|
|
5561
5561
|
qt(p.$slots, "option", Un(qn(N.normalizeOptionForSlot(L))), () => [
|
|
5562
5562
|
Hn(Pt(u.getOptionLabel(L)), 1)
|
|
5563
5563
|
])
|
|
5564
|
-
], 42,
|
|
5565
|
-
N.filteredOptions.length === 0 ? (ut(), ht("li",
|
|
5564
|
+
], 42, h0))), 128)),
|
|
5565
|
+
N.filteredOptions.length === 0 ? (ut(), ht("li", p0, [
|
|
5566
5566
|
qt(p.$slots, "no-options", Un(qn(N.scope.noOptions)), () => [
|
|
5567
|
-
|
|
5567
|
+
d0
|
|
5568
5568
|
])
|
|
5569
5569
|
])) : we("", !0),
|
|
5570
5570
|
qt(p.$slots, "list-footer", Un(qn(N.scope.listFooter)))
|
|
5571
|
-
], 40,
|
|
5571
|
+
], 40, c0)), [
|
|
5572
5572
|
[v]
|
|
5573
5573
|
]) : (ut(), ht("ul", {
|
|
5574
5574
|
key: 1,
|
|
5575
5575
|
id: `vs${u.uid}__listbox`,
|
|
5576
5576
|
role: "listbox",
|
|
5577
5577
|
style: { display: "none", visibility: "hidden" }
|
|
5578
|
-
}, null, 8,
|
|
5578
|
+
}, null, 8, v0))
|
|
5579
5579
|
]),
|
|
5580
5580
|
_: 3
|
|
5581
5581
|
}, 8, ["name"]),
|
|
5582
5582
|
qt(p.$slots, "footer", Un(qn(N.scope.footer)))
|
|
5583
|
-
], 10,
|
|
5583
|
+
], 10, i0);
|
|
5584
5584
|
}
|
|
5585
|
-
const fg = /* @__PURE__ */ zv(
|
|
5585
|
+
const fg = /* @__PURE__ */ zv(r0, [["render", g0]]);
|
|
5586
5586
|
var Gs = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Ys = { exports: {} };
|
|
5587
5587
|
/**
|
|
5588
5588
|
* @license
|
|
@@ -5592,8 +5592,8 @@ var Gs = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
5592
5592
|
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
5593
5593
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
5594
5594
|
*/
|
|
5595
|
-
var
|
|
5596
|
-
function
|
|
5595
|
+
var _0 = Ys.exports, tg;
|
|
5596
|
+
function y0() {
|
|
5597
5597
|
return tg || (tg = 1, function(p, S) {
|
|
5598
5598
|
(function() {
|
|
5599
5599
|
var u, G = "4.17.21", M = 200, N = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", v = "Expected a function", L = "Invalid `variable` option passed into `_.template`", P = "__lodash_hash_undefined__", H = 500, tt = "__lodash_placeholder__", J = 1, It = 2, ft = 4, U = 1, X = 2, K = 1, nt = 2, ne = 4, St = 8, kt = 16, rt = 32, $t = 64, Lt = 128, Yt = 256, at = 512, I = 30, E = "...", Bt = 800, be = 16, T = 1, x = 2, w = 3, A = 1 / 0, m = 9007199254740991, R = 17976931348623157e292, W = NaN, Z = 4294967295, vt = Z - 1, wt = Z >>> 1, At = [
|
|
@@ -9253,10 +9253,10 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
9253
9253
|
}], Q.prototype.clone = Yl, Q.prototype.reverse = Kl, Q.prototype.value = Zl, o.prototype.at = Sh, o.prototype.chain = Ah, o.prototype.commit = Ch, o.prototype.next = Lh, o.prototype.plant = Th, o.prototype.reverse = Ih, o.prototype.toJSON = o.prototype.valueOf = o.prototype.value = Dh, o.prototype.first = o.prototype.head, Cn && (o.prototype[Cn] = Eh), o;
|
|
9254
9254
|
}, an = Al();
|
|
9255
9255
|
Ye ? ((Ye.exports = an)._ = an, ni._ = an) : Et._ = an;
|
|
9256
|
-
}).call(
|
|
9256
|
+
}).call(_0);
|
|
9257
9257
|
}(Ys, Ys.exports)), Ys.exports;
|
|
9258
9258
|
}
|
|
9259
|
-
|
|
9259
|
+
y0();
|
|
9260
9260
|
var Fv = { exports: {} };
|
|
9261
9261
|
/*!
|
|
9262
9262
|
* Toastify js 1.12.0
|
|
@@ -9265,12 +9265,12 @@ var Fv = { exports: {} };
|
|
|
9265
9265
|
*
|
|
9266
9266
|
* Copyright (C) 2018 Varun A P
|
|
9267
9267
|
*/
|
|
9268
|
-
var
|
|
9269
|
-
function
|
|
9268
|
+
var m0 = Fv.exports, eg;
|
|
9269
|
+
function w0() {
|
|
9270
9270
|
return eg || (eg = 1, function(p) {
|
|
9271
9271
|
(function(S, u) {
|
|
9272
9272
|
p.exports ? p.exports = u() : S.Toastify = u();
|
|
9273
|
-
})(
|
|
9273
|
+
})(m0, function(S) {
|
|
9274
9274
|
var u = function(v) {
|
|
9275
9275
|
return new u.lib.init(v);
|
|
9276
9276
|
}, G = "1.12.0";
|
|
@@ -9420,13 +9420,13 @@ function b0() {
|
|
|
9420
9420
|
});
|
|
9421
9421
|
}(Fv)), Fv.exports;
|
|
9422
9422
|
}
|
|
9423
|
-
|
|
9424
|
-
var Pv = { exports: {} },
|
|
9425
|
-
function
|
|
9423
|
+
w0();
|
|
9424
|
+
var Pv = { exports: {} }, b0 = Pv.exports, ng;
|
|
9425
|
+
function x0() {
|
|
9426
9426
|
return ng || (ng = 1, function(p, S) {
|
|
9427
9427
|
(function(u, G) {
|
|
9428
9428
|
p.exports = G();
|
|
9429
|
-
})(
|
|
9429
|
+
})(b0, function() {
|
|
9430
9430
|
var u = 1e3, G = 6e4, M = 36e5, N = "millisecond", v = "second", L = "minute", P = "hour", H = "day", tt = "week", J = "month", It = "quarter", ft = "year", U = "date", X = "Invalid Date", K = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, nt = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, ne = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(T) {
|
|
9431
9431
|
var x = ["th", "st", "nd", "rd"], w = T % 100;
|
|
9432
9432
|
return "[" + T + (x[(w - 20) % 10] || x[w] || x[0]) + "]";
|
|
@@ -9699,8 +9699,8 @@ function O0() {
|
|
|
9699
9699
|
});
|
|
9700
9700
|
}(Pv)), Pv.exports;
|
|
9701
9701
|
}
|
|
9702
|
-
|
|
9703
|
-
function
|
|
9702
|
+
x0();
|
|
9703
|
+
function O0(p) {
|
|
9704
9704
|
const [S, u, G] = p.relation.definition.split(":"), M = p.relation.api[u], N = Gt(!1), v = Gt([]), L = Gt({
|
|
9705
9705
|
limit: 99999,
|
|
9706
9706
|
page: 1
|
|
@@ -9730,13 +9730,13 @@ function $0(p) {
|
|
|
9730
9730
|
}
|
|
9731
9731
|
};
|
|
9732
9732
|
}
|
|
9733
|
-
const
|
|
9733
|
+
const $0 = { class: "synt-office-relation-wrapper" }, S0 = { class: "synt-office-relation-label" }, A0 = { class: "synt-office-relation-note" }, C0 = { class: "synt-office-relation-group-input-wrapper" }, L0 = { class: "synt-office-relation-input-wrapper" }, E0 = { class: "synt-office-relation-skeleton-wrapper" }, T0 = {
|
|
9734
9734
|
key: 0,
|
|
9735
9735
|
class: "danger-alert"
|
|
9736
|
-
},
|
|
9736
|
+
}, I0 = {
|
|
9737
9737
|
key: 0,
|
|
9738
9738
|
class: "synt-office-relation-modal-overlay"
|
|
9739
|
-
},
|
|
9739
|
+
}, D0 = { class: "synt-office-relation-modal-wrapper" }, M0 = { class: "synt-office-relation-modal-header-end" }, R0 = { class: "synt-office-relation-modal-option" }, k0 = { class: "synt-office-relation-modal-table-wrapper" }, B0 = { id: "table-relation-collection" }, W0 = ["checked"], N0 = { class: "synt-office-relation-modal-table-label" }, F0 = ["checked", "onChange"], P0 = { class: "synt-badge-tabel" }, U0 = { class: "synt-office-relation-modal-table-footer" }, z0 = { class: "synt-office-relation-modal-table-footer-end" }, H0 = { class: "synt-office-relation-font-bold" }, V0 = { class: "synt-office-relation-font-bold" }, u1 = /* @__PURE__ */ Vn({
|
|
9740
9740
|
__name: "OfficeRelation",
|
|
9741
9741
|
props: /* @__PURE__ */ Zs({
|
|
9742
9742
|
fields: {},
|
|
@@ -9750,7 +9750,7 @@ const S0 = { class: "synt-office-relation-wrapper" }, A0 = { class: "synt-office
|
|
|
9750
9750
|
}),
|
|
9751
9751
|
emits: /* @__PURE__ */ Zs(["update:selected", "fetch:filtered"], ["update:modelValue"]),
|
|
9752
9752
|
setup(p, { emit: S }) {
|
|
9753
|
-
const u = p, G = S, M = og(p, "modelValue"), { options: N, isLoading: v, fetchData: L } =
|
|
9753
|
+
const u = p, G = S, M = og(p, "modelValue"), { options: N, isLoading: v, fetchData: L } = O0({
|
|
9754
9754
|
relation: u.fields.relation
|
|
9755
9755
|
}), P = Gt(""), H = Gt(99999), tt = Gt(null), J = Gt(null), It = Gt(!1), ft = Gn(() => {
|
|
9756
9756
|
var I, E;
|
|
@@ -9822,12 +9822,12 @@ const S0 = { class: "synt-office-relation-wrapper" }, A0 = { class: "synt-office
|
|
|
9822
9822
|
}), (I, E) => {
|
|
9823
9823
|
var Bt, be, T, x, w, A;
|
|
9824
9824
|
return ut(), ht("div", null, [
|
|
9825
|
-
O("div",
|
|
9826
|
-
O("label",
|
|
9827
|
-
O("span",
|
|
9828
|
-
O("div",
|
|
9829
|
-
O("div",
|
|
9830
|
-
zn(O("div",
|
|
9825
|
+
O("div", $0, [
|
|
9826
|
+
O("label", S0, Pt((Bt = I.fields) == null ? void 0 : Bt.name), 1),
|
|
9827
|
+
O("span", A0, Pt((T = (be = I.fields) == null ? void 0 : be.options) == null ? void 0 : T.note), 1),
|
|
9828
|
+
O("div", C0, [
|
|
9829
|
+
O("div", L0, [
|
|
9830
|
+
zn(O("div", E0, E[3] || (E[3] = [
|
|
9831
9831
|
O("div", { class: "synt-office-relation-skeleton" }, [
|
|
9832
9832
|
O("div", { class: "synt-office-relation-content" })
|
|
9833
9833
|
], -1)
|
|
@@ -9879,20 +9879,20 @@ const S0 = { class: "synt-office-relation-wrapper" }, A0 = { class: "synt-office
|
|
|
9879
9879
|
O("i", { class: "synt-office-relation-btn-expands-icon fa-solid fa-up-right-and-down-left-from-center" }, null, -1)
|
|
9880
9880
|
]))) : we("", !0)
|
|
9881
9881
|
]),
|
|
9882
|
-
((A = I.error) == null ? void 0 : A.length) > 0 ? (ut(), ht("p",
|
|
9882
|
+
((A = I.error) == null ? void 0 : A.length) > 0 ? (ut(), ht("p", T0, "*" + Pt(I.error), 1)) : we("", !0)
|
|
9883
9883
|
]),
|
|
9884
9884
|
wn(co, { name: "fade" }, {
|
|
9885
9885
|
default: ce(() => {
|
|
9886
9886
|
var m;
|
|
9887
9887
|
return [
|
|
9888
|
-
It.value ? (ut(), ht("div",
|
|
9889
|
-
O("div",
|
|
9888
|
+
It.value ? (ut(), ht("div", I0, [
|
|
9889
|
+
O("div", D0, [
|
|
9890
9890
|
wn(yn(ug), {
|
|
9891
9891
|
label: I.fields.name,
|
|
9892
9892
|
icon: "fa-solid fa-table"
|
|
9893
9893
|
}, {
|
|
9894
9894
|
end: ce(() => [
|
|
9895
|
-
O("div",
|
|
9895
|
+
O("div", M0, [
|
|
9896
9896
|
O("button", {
|
|
9897
9897
|
type: "button",
|
|
9898
9898
|
class: "synt-office-relation-modal-btn-close",
|
|
@@ -9904,7 +9904,7 @@ const S0 = { class: "synt-office-relation-wrapper" }, A0 = { class: "synt-office
|
|
|
9904
9904
|
]),
|
|
9905
9905
|
_: 1
|
|
9906
9906
|
}, 8, ["label"]),
|
|
9907
|
-
O("div",
|
|
9907
|
+
O("div", R0, [
|
|
9908
9908
|
zn(O("input", {
|
|
9909
9909
|
"onUpdate:modelValue": E[1] || (E[1] = (R) => P.value = R),
|
|
9910
9910
|
type: "search",
|
|
@@ -9922,8 +9922,8 @@ const S0 = { class: "synt-office-relation-wrapper" }, A0 = { class: "synt-office
|
|
|
9922
9922
|
]))
|
|
9923
9923
|
]),
|
|
9924
9924
|
qt(I.$slots, "default"),
|
|
9925
|
-
O("div",
|
|
9926
|
-
O("table",
|
|
9925
|
+
O("div", k0, [
|
|
9926
|
+
O("table", B0, [
|
|
9927
9927
|
O("thead", null, [
|
|
9928
9928
|
O("tr", null, [
|
|
9929
9929
|
O("th", null, [
|
|
@@ -9932,9 +9932,9 @@ const S0 = { class: "synt-office-relation-wrapper" }, A0 = { class: "synt-office
|
|
|
9932
9932
|
class: "synt-office-relation-modal-table-checkbox",
|
|
9933
9933
|
checked: $t.value,
|
|
9934
9934
|
onChange: Lt
|
|
9935
|
-
}, null, 40,
|
|
9935
|
+
}, null, 40, W0)
|
|
9936
9936
|
]),
|
|
9937
|
-
O("th",
|
|
9937
|
+
O("th", N0, Pt((m = I.fields) == null ? void 0 : m.name), 1)
|
|
9938
9938
|
])
|
|
9939
9939
|
]),
|
|
9940
9940
|
O("tbody", null, [
|
|
@@ -9949,23 +9949,23 @@ const S0 = { class: "synt-office-relation-wrapper" }, A0 = { class: "synt-office
|
|
|
9949
9949
|
class: "synt-office-relation-modal-table-checkbox",
|
|
9950
9950
|
checked: Array.isArray(M.value) && M.value.includes(R.id),
|
|
9951
9951
|
onChange: (vt) => rt(R.id)
|
|
9952
|
-
}, null, 40,
|
|
9952
|
+
}, null, 40, F0)
|
|
9953
9953
|
]),
|
|
9954
9954
|
O("td", null, [
|
|
9955
|
-
O("div",
|
|
9955
|
+
O("div", P0, Pt(R[(Z = (W = I.fields) == null ? void 0 : W.relation) == null ? void 0 : Z.display]), 1)
|
|
9956
9956
|
])
|
|
9957
9957
|
]);
|
|
9958
9958
|
}), 128))
|
|
9959
9959
|
])
|
|
9960
9960
|
])
|
|
9961
9961
|
]),
|
|
9962
|
-
O("div",
|
|
9963
|
-
O("div",
|
|
9962
|
+
O("div", U0, [
|
|
9963
|
+
O("div", z0, [
|
|
9964
9964
|
E[8] || (E[8] = O("span", { class: "synt-office-relation-font-bold" }, Pt(1), -1)),
|
|
9965
9965
|
E[9] || (E[9] = Hn(" - ")),
|
|
9966
|
-
O("span",
|
|
9966
|
+
O("span", H0, Pt(U.value.length), 1),
|
|
9967
9967
|
E[10] || (E[10] = Hn(" dari ")),
|
|
9968
|
-
O("span",
|
|
9968
|
+
O("span", V0, Pt(U.value.length), 1)
|
|
9969
9969
|
])
|
|
9970
9970
|
])
|
|
9971
9971
|
])
|
|
@@ -9977,10 +9977,10 @@ const S0 = { class: "synt-office-relation-wrapper" }, A0 = { class: "synt-office
|
|
|
9977
9977
|
]);
|
|
9978
9978
|
};
|
|
9979
9979
|
}
|
|
9980
|
-
}),
|
|
9980
|
+
}), q0 = { class: "lux-office-relation-wrapper" }, G0 = { class: "lux-office-relation-label" }, Y0 = { class: "lux-office-relation-note" }, K0 = { class: "lux-office-relation-group-input-wrapper" }, Z0 = { class: "lux-office-relation-input-wrapper" }, J0 = { class: "lux-office-relation-skeleton-wrapper" }, X0 = {
|
|
9981
9981
|
key: 0,
|
|
9982
9982
|
class: "danger-alert"
|
|
9983
|
-
}, rg = 20,
|
|
9983
|
+
}, rg = 20, s1 = /* @__PURE__ */ Vn({
|
|
9984
9984
|
__name: "LuxtRelation",
|
|
9985
9985
|
props: /* @__PURE__ */ Zs({
|
|
9986
9986
|
fields: {},
|
|
@@ -10054,12 +10054,12 @@ const S0 = { class: "synt-office-relation-wrapper" }, A0 = { class: "synt-office
|
|
|
10054
10054
|
(at = tt.value) == null || at.disconnect();
|
|
10055
10055
|
}), (at, I) => {
|
|
10056
10056
|
var E, Bt, be, T, x, w;
|
|
10057
|
-
return ut(), ht("div",
|
|
10058
|
-
O("label",
|
|
10059
|
-
O("span",
|
|
10060
|
-
O("div",
|
|
10061
|
-
O("div",
|
|
10062
|
-
zn(O("div",
|
|
10057
|
+
return ut(), ht("div", q0, [
|
|
10058
|
+
O("label", G0, Pt((E = at.fields) == null ? void 0 : E.name), 1),
|
|
10059
|
+
O("span", Y0, Pt((be = (Bt = at.fields) == null ? void 0 : Bt.options) == null ? void 0 : be.note), 1),
|
|
10060
|
+
O("div", K0, [
|
|
10061
|
+
O("div", Z0, [
|
|
10062
|
+
zn(O("div", J0, I[2] || (I[2] = [
|
|
10063
10063
|
O("div", { class: "lux-office-relation-skeleton" }, [
|
|
10064
10064
|
O("div", { class: "lux-office-relation-content" })
|
|
10065
10065
|
], -1)
|
|
@@ -10105,22 +10105,22 @@ const S0 = { class: "synt-office-relation-wrapper" }, A0 = { class: "synt-office
|
|
|
10105
10105
|
}, 8, ["modelValue", "class", "options", "reduce", "label", "disabled"])
|
|
10106
10106
|
])
|
|
10107
10107
|
]),
|
|
10108
|
-
at.error && ((w = at.error) == null ? void 0 : w.length) > 0 ? (ut(), ht("p",
|
|
10108
|
+
at.error && ((w = at.error) == null ? void 0 : w.length) > 0 ? (ut(), ht("p", X0, "*" + Pt(at.error), 1)) : we("", !0)
|
|
10109
10109
|
]);
|
|
10110
10110
|
};
|
|
10111
10111
|
}
|
|
10112
10112
|
});
|
|
10113
10113
|
export {
|
|
10114
|
-
|
|
10115
|
-
|
|
10116
|
-
|
|
10117
|
-
|
|
10114
|
+
s1 as LuxtRelation,
|
|
10115
|
+
qg as OfficeButtonDelete,
|
|
10116
|
+
e1 as OfficeCollection,
|
|
10117
|
+
n1 as OfficeCollectionTable,
|
|
10118
10118
|
ug as OfficeHeader,
|
|
10119
10119
|
sg as OfficeLayout,
|
|
10120
10120
|
bg as OfficeLayoutWrapper,
|
|
10121
|
-
|
|
10122
|
-
|
|
10123
|
-
|
|
10124
|
-
|
|
10125
|
-
|
|
10121
|
+
t1 as OfficeLink,
|
|
10122
|
+
u1 as OfficeRelation,
|
|
10123
|
+
o1 as OfficeSingle,
|
|
10124
|
+
i1 as OfficeTab,
|
|
10125
|
+
r1 as OfficeTabs
|
|
10126
10126
|
};
|