@orchidui/core 1.8.1-5 → 1.8.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.
Files changed (94) hide show
  1. package/dist/DataDisplay/CustomerCard/OcCustomerCard.js +2 -2
  2. package/dist/DataDisplay/FloatContent/OcFloatContent.js +1 -1
  3. package/dist/DataDisplay/InfoCard/OcInfoCard.js +1 -1
  4. package/dist/DataDisplay/ListDetail/OcListDetail.js +1 -1
  5. package/dist/DataDisplay/ListItem/OcListItem.js +1 -1
  6. package/dist/DataDisplay/OnboardingListItem/OcOnboardingListItem.js +1 -1
  7. package/dist/DataDisplay/Overview/OcOverview.js +1 -1
  8. package/dist/DataDisplay/Pagination/OcPagination.js +1 -1
  9. package/dist/DataDisplay/Table/OcTable.js +1 -1
  10. package/dist/DataDisplay/TransferSummary/OcTransferSummary.js +1 -1
  11. package/dist/Disclosure/Accordion/OcAccordion.js +1 -1
  12. package/dist/Disclosure/OnboardingAccordion/OnboardingAccordion.js +1 -1
  13. package/dist/Disclosure/Steps/OcSteps.js +1 -1
  14. package/dist/Disclosure/Tabs/Tabs.js +1 -1
  15. package/dist/Disclosure/Variants/OcVariants.js +1 -1
  16. package/dist/Elements/AdditionalContent/OcAdditionalContent.js +1 -1
  17. package/dist/Elements/AuthenticationOption/AuthenticationOption.js +1 -1
  18. package/dist/Elements/Box/OcBox.js +1 -1
  19. package/dist/Elements/EmptyPage/OcEmptyPage.js +1 -1
  20. package/dist/Elements/FeatureOverviewCard/OcFeatureOverviewCard.js +1 -1
  21. package/dist/Elements/Header/OcHeader.js +1 -1
  22. package/dist/Elements/PageTitle/OcPageTitle.js +1 -1
  23. package/dist/Elements/SandboxBanner/OcSandboxBanner.js +1 -1
  24. package/dist/Elements/Sidebar/OcSidebar.js +2 -2
  25. package/dist/Elements/SubSidebar/OcSubSidebar.js +1 -1
  26. package/dist/Elements/VerificationOption/OcVerificationOption.js +1 -1
  27. package/dist/Feedback/Banner/OcBanner.js +1 -1
  28. package/dist/Feedback/Chip/OcChip.js +1 -1
  29. package/dist/Feedback/ShareIcon/OcShareIcon.js +1 -1
  30. package/dist/Feedback/Snackbar/OcSnackbar.js +1 -1
  31. package/dist/Form/BaseInput/OcBaseInput.js +1 -1
  32. package/dist/Form/Button/OcButton.js +1 -1
  33. package/dist/Form/Calendar/OcCalendar.js +2 -2
  34. package/dist/Form/CardInput/OcCardInput.js +1 -1
  35. package/dist/Form/Checkbox/OcCheckbox.js +2 -2
  36. package/dist/Form/CheckboxesGroup/OcCheckboxesGroup.js +1 -1
  37. package/dist/Form/Criteria/OcCriteria.js +1 -1
  38. package/dist/Form/Cropper/OcCropper.js +1 -1
  39. package/dist/Form/DatePicker/OcDatePicker.js +1 -1
  40. package/dist/Form/EmojiPicker/OcEmojiPicker.js +1 -1
  41. package/dist/Form/Input/OcInput.js +1 -1
  42. package/dist/Form/LinkInput/OcLinkInput.js +2 -2
  43. package/dist/Form/MultipleUploadFile/OcMultipleUploadFile.js +1 -1
  44. package/dist/Form/NumberInput/OcNumberInput.js +1 -1
  45. package/dist/Form/PhoneInput/OcPhoneInput.js +2 -2
  46. package/dist/Form/Radio/OcRadio.js +1 -1
  47. package/dist/Form/RadioGroup/OcRadioGroup.js +1 -1
  48. package/dist/Form/RangeInput/OcRangeInput.js +1 -1
  49. package/dist/Form/SectionItem/OcSectionItem.js +2 -2
  50. package/dist/Form/Select/OcSelect.js +1 -1
  51. package/dist/Form/SelectOptions/OcSelectOptions.js +2 -2
  52. package/dist/Form/SingleFileUpload/OcSingleFileUpload.js +1 -1
  53. package/dist/Form/Slider/OcSlider.js +1 -1
  54. package/dist/Form/TextArea/OcTextArea.js +2 -2
  55. package/dist/Form/Toggle/OcToggle.js +1 -1
  56. package/dist/Form/index.js +8 -8
  57. package/dist/FormBuilder/OcFormBuilder.js +1 -1
  58. package/dist/MediaAndIcons/Icon/OcIcon.js +1 -1
  59. package/dist/OcAccountSetupProgress-BVZMpCH1.js +54 -0
  60. package/dist/{OcComplexCalendar-BinW4hUS.js → OcComplexCalendar-CNh4w5-8.js} +1 -1
  61. package/dist/{OcComplexDatePicker-B3Dt8jiI.js → OcComplexDatePicker-CPGf6KY8.js} +1 -1
  62. package/dist/OcCropper-GuSoQNTZ.js +244 -0
  63. package/dist/OcDataTable-Bav6QpT4.js +586 -0
  64. package/dist/{OcDraggable-CA_BCbpl.js → OcDraggable-CZT2mJvO.js} +5 -4
  65. package/dist/{OcDraggableList-Dhvy3hNi.js → OcDraggableList-BV7BnryL.js} +2 -2
  66. package/dist/{OcEmojiPicker-KMCTpPvH.js → OcEmojiPicker-BBveu2YN.js} +1 -1
  67. package/dist/{OcFilterForm-W2PLi7Uq.js → OcFilterForm-CF_qfZwF.js} +8 -8
  68. package/dist/OcFilterSearch-CAz5iOWf.js +117 -0
  69. package/dist/{OcFilterSearchFor-CTgeJQ6e.js → OcFilterSearchFor-2biwJt7C.js} +3 -3
  70. package/dist/{OcIcon-CJgBICxh.js → OcIcon-CSpRxnwd.js} +7 -7
  71. package/dist/{OcModalCropper-Cqs3URT3.js → OcModalCropper-5BgWOMg_.js} +21 -18
  72. package/dist/{OcPopper-D0VfWOBI.js → OcPopper-Bc96YXbS.js} +16 -15
  73. package/dist/{OcTimePicker-BeMZblA7.js → OcTimePicker-QnKM5wvk.js} +1 -1
  74. package/dist/OcToggle-Cp5dJ5LN.js +58 -0
  75. package/dist/Overlay/ConfirmationModal/OcConfirmationModal.js +1 -1
  76. package/dist/Overlay/CopyTooltip/OcCopyTooltip.js +1 -1
  77. package/dist/Overlay/Dropdown/OcDropdown.js +1 -1
  78. package/dist/Overlay/Modal/OcModal.js +1 -1
  79. package/dist/Overlay/Popper/OcPopper.js +1 -1
  80. package/dist/Overlay/SupportMenu/OcSupportMenu.js +1 -1
  81. package/dist/Overlay/Tooltip/OcTooltip.js +1 -1
  82. package/dist/Overlay/Whitelist/OcWhiteList.js +1 -1
  83. package/dist/{SubPlanCard-JwnWA0Bs.js → SubPlanCard-Caah6Zfy.js} +2 -2
  84. package/dist/{ThumbnailSection-DSaRzEcS.js → ThumbnailSection-mq6-n2bo.js} +1 -1
  85. package/dist/{ThumbnailTheme-BNYrb5PL.js → ThumbnailTheme-BY2_xOPf.js} +2 -2
  86. package/dist/{index-BfpnwrGw.js → index-DlZuf29d.js} +2979 -2855
  87. package/dist/index.js +4 -4
  88. package/dist/style.css +1 -1
  89. package/package.json +1 -1
  90. package/dist/OcAccountSetupProgress-BNdZGCC5.js +0 -46
  91. package/dist/OcCropper-DuSgG8Xj.js +0 -229
  92. package/dist/OcDataTable-CIXFbLmD.js +0 -578
  93. package/dist/OcFilterSearch-B6fNZbQr.js +0 -69
  94. package/dist/OcToggle-bIJaLDMZ.js +0 -53
@@ -1,5 +1,5 @@
1
- import { ref as r, computed as c, onMounted as B, openBlock as O, createElementBlock as k, renderSlot as w, createElementVNode as f, createVNode as u, unref as i } from "vue";
2
- import { w as $, B as m } from "./index-BfpnwrGw.js";
1
+ import { ref as r, computed as u, onMounted as B, openBlock as O, createElementBlock as k, renderSlot as $, createElementVNode as f, createVNode as c, unref as i } from "vue";
2
+ import { u as w, B as m } from "./index-DlZuf29d.js";
3
3
  const C = { class: "flex w-[326px] flex-col gap-y-5" }, A = { class: "max-h-[500px] overflow-y-auto p-5" }, E = { class: "flex gap-x-5 px-5 pb-5" }, N = {
4
4
  __name: "OcFilterForm",
5
5
  props: {
@@ -29,10 +29,10 @@ const C = { class: "flex w-[326px] flex-col gap-y-5" }, A = { class: "max-h-[500
29
29
  typeof e.name == "object" ? e.name.forEach((o, h) => {
30
30
  a.value[o.key] = l[h];
31
31
  }) : a.value[e.name] = l, b(e.name);
32
- }, g = c(() => Object.values(a.value).length > 0), F = c(() => {
32
+ }, g = u(() => Object.values(a.value).length > 0), F = u(() => {
33
33
  var e, l;
34
34
  return ((l = (e = s.actions) == null ? void 0 : e.applyButton) == null ? void 0 : l.label) || "Apply";
35
- }), j = c(() => {
35
+ }), j = u(() => {
36
36
  var e, l;
37
37
  return ((l = (e = s.actions) == null ? void 0 : e.cancelButton) == null ? void 0 : l.label) || "Cancel";
38
38
  });
@@ -43,14 +43,14 @@ const C = { class: "flex w-[326px] flex-col gap-y-5" }, A = { class: "max-h-[500
43
43
  d("applyFilter", a.value), d("filter-fields-changed", n.value), n.value = [];
44
44
  };
45
45
  return (e, l) => (O(), k("div", C, [
46
- w(e.$slots, "default", {
46
+ $(e.$slots, "default", {
47
47
  errors: p.value,
48
48
  values: a.value,
49
49
  jsonForm: t.jsonForm,
50
50
  updateForm: v
51
51
  }, () => [
52
52
  f("div", A, [
53
- u(i($), {
53
+ c(i(w), {
54
54
  id: `filter-form-${t.id}`,
55
55
  class: "grid gap-5",
56
56
  errors: p.value,
@@ -62,13 +62,13 @@ const C = { class: "flex w-[326px] flex-col gap-y-5" }, A = { class: "max-h-[500
62
62
  ])
63
63
  ]),
64
64
  f("div", E, [
65
- u(i(m), {
65
+ c(i(m), {
66
66
  class: "w-full",
67
67
  variant: "secondary",
68
68
  label: j.value,
69
69
  onClick: l[0] || (l[0] = (o) => e.$emit("cancel"))
70
70
  }, null, 8, ["label"]),
71
- u(i(m), {
71
+ c(i(m), {
72
72
  class: "w-full",
73
73
  "is-disabled": !g.value,
74
74
  label: F.value,
@@ -0,0 +1,117 @@
1
+ import { ref as c, computed as B, openBlock as s, createElementBlock as u, Fragment as x, createElementVNode as i, normalizeClass as O, createVNode as m, unref as r, withKeys as K, createSlots as N, withCtx as v, renderList as Q, createBlock as f, toDisplayString as z, createCommentVNode as S, nextTick as D } from "vue";
2
+ import { d as E, ay as F, az as I, B as w } from "./index-DlZuf29d.js";
3
+ import { _ as U } from "./OcIcon-CSpRxnwd.js";
4
+ const j = { class: "flex gap-x-4" }, q = { class: "flex gap-x-2 items-center pl-2 text-oc-text-400 font-medium text-sm" }, A = { class: "p-2 flex flex-col" }, J = {
5
+ __name: "OcFilterSearch",
6
+ props: {
7
+ isSearchOnly: Boolean,
8
+ searchOptions: Array,
9
+ selectedOption: String
10
+ },
11
+ emits: {
12
+ addQuery: [],
13
+ toggle: [],
14
+ "change-search-key": []
15
+ },
16
+ setup(t, { emit: C }) {
17
+ const h = C, y = t, l = c(!1), o = c(""), d = c(!1), p = c(), V = async () => {
18
+ l.value = !0, h("toggle", l), await D(), p.value.focus();
19
+ }, $ = B(() => y.searchOptions.find((n) => n.value === y.selectedOption)), b = (n) => {
20
+ h("change-search-key", n), d.value = !1;
21
+ };
22
+ return (n, a) => {
23
+ var g, k;
24
+ return s(), u(x, null, [
25
+ i("div", {
26
+ class: O(["w-full", l.value || t.isSearchOnly ? "" : "absolute max-w-0 overflow-hidden"])
27
+ }, [
28
+ i("div", j, [
29
+ m(r(E), {
30
+ ref_key: "searchInput",
31
+ ref: p,
32
+ modelValue: o.value,
33
+ "onUpdate:modelValue": a[1] || (a[1] = (e) => o.value = e),
34
+ placeholder: "Search something here",
35
+ class: "md:min-w-[310px]",
36
+ icon: (g = t.searchOptions) != null && g.length ? "" : "search",
37
+ onKeyup: a[2] || (a[2] = K(
38
+ () => {
39
+ n.$emit("addQuery", o.value);
40
+ },
41
+ ["enter"]
42
+ ))
43
+ }, N({ _: 2 }, [
44
+ (k = t.searchOptions) != null && k.length ? {
45
+ name: "trailing",
46
+ fn: v(() => [
47
+ m(r(F), {
48
+ modelValue: d.value,
49
+ "onUpdate:modelValue": a[0] || (a[0] = (e) => d.value = e),
50
+ distance: 12,
51
+ skidding: -8
52
+ }, {
53
+ menu: v(() => [
54
+ i("div", A, [
55
+ (s(!0), u(x, null, Q(t.searchOptions, (e) => (s(), f(r(I), {
56
+ key: e.value,
57
+ class: "text-sm",
58
+ text: e.label,
59
+ active: e.value === t.selectedOption,
60
+ onClick: (L) => b(e.value)
61
+ }, null, 8, ["text", "active", "onClick"]))), 128))
62
+ ])
63
+ ]),
64
+ default: v(() => {
65
+ var e;
66
+ return [
67
+ i("div", q, [
68
+ i("span", null, z((e = $.value) == null ? void 0 : e.label), 1),
69
+ m(r(U), {
70
+ name: "chevron-down",
71
+ width: "14",
72
+ height: "14"
73
+ })
74
+ ])
75
+ ];
76
+ }),
77
+ _: 1
78
+ }, 8, ["modelValue"])
79
+ ]),
80
+ key: "0"
81
+ } : void 0
82
+ ]), 1032, ["modelValue", "icon"]),
83
+ t.isSearchOnly ? (s(), f(r(w), {
84
+ key: 0,
85
+ label: "Search",
86
+ variant: "secondary",
87
+ class: "shrink-0",
88
+ onClick: a[3] || (a[3] = () => {
89
+ n.$emit("addQuery", o.value), o.value = "";
90
+ })
91
+ })) : (s(), u("span", {
92
+ key: 1,
93
+ class: "py-3 text-base cursor-pointer flex normal-case items-center font-medium text-oc-text-400",
94
+ onClick: a[4] || (a[4] = () => {
95
+ l.value = !1, n.$emit("toggle", l.value), o.value = "";
96
+ })
97
+ }, " Clear "))
98
+ ])
99
+ ], 2),
100
+ t.isSearchOnly ? S("", !0) : (s(), u("div", {
101
+ key: 0,
102
+ class: O(l.value ? "max-w-0 overflow-hidden" : "")
103
+ }, [
104
+ l.value ? S("", !0) : (s(), f(r(w), {
105
+ key: 0,
106
+ variant: "secondary",
107
+ "left-icon": "search",
108
+ onClick: V
109
+ }))
110
+ ], 2))
111
+ ], 64);
112
+ };
113
+ }
114
+ };
115
+ export {
116
+ J as default
117
+ };
@@ -1,6 +1,6 @@
1
1
  import { computed as k, openBlock as a, createBlock as m, unref as n, withCtx as x, createElementVNode as f, createElementBlock as v, Fragment as b, renderList as p, createVNode as F, createCommentVNode as $ } from "vue";
2
- import { N as y, at as i } from "./index-BfpnwrGw.js";
3
- const N = { class: "flex gap-1 items-center normal-case flex-wrap" }, R = {
2
+ import { M as y, at as i } from "./index-DlZuf29d.js";
3
+ const C = { class: "flex gap-1 items-center normal-case flex-wrap" }, R = {
4
4
  __name: "OcFilterSearchFor",
5
5
  props: {
6
6
  filters: Object,
@@ -34,7 +34,7 @@ const N = { class: "flex gap-1 items-center normal-case flex-wrap" }, R = {
34
34
  class: "!w-full !justify-start !bg-oc-bg-light"
35
35
  }, {
36
36
  default: x(() => [
37
- f("div", N, [
37
+ f("div", C, [
38
38
  l[1] || (l[1] = f("span", { class: "pr-2 text-sm font-medium text-oc-text" }, "Search for:", -1)),
39
39
  (a(!0), v(b, null, p(s.queries, (e) => (a(), m(n(i), {
40
40
  key: e,
@@ -1,5 +1,5 @@
1
- import { ref as w, onMounted as h, watch as a, openBlock as d, createElementBlock as l } from "vue";
2
- const u = ["width", "height", "viewBox"], g = {
1
+ import { ref as w, onMounted as h, watch as a, openBlock as d, createElementBlock as u } from "vue";
2
+ const l = ["width", "height", "viewBox"], f = {
3
3
  __name: "OcIcon",
4
4
  props: {
5
5
  path: {
@@ -11,11 +11,11 @@ const u = ["width", "height", "viewBox"], g = {
11
11
  required: !0
12
12
  },
13
13
  width: {
14
- type: String,
14
+ type: [String, Number],
15
15
  default: "24"
16
16
  },
17
17
  height: {
18
- type: String,
18
+ type: [String, Number],
19
19
  default: "24"
20
20
  }
21
21
  },
@@ -48,16 +48,16 @@ const u = ["width", "height", "viewBox"], g = {
48
48
  () => {
49
49
  r();
50
50
  }
51
- ), (n, e) => (d(), l("svg", {
51
+ ), (n, e) => (d(), u("svg", {
52
52
  ref_key: "iconRef",
53
53
  ref: o,
54
54
  width: `${t.width}px`,
55
55
  height: `${t.height}px`,
56
56
  viewBox: `0 0 ${t.width} ${t.height}`,
57
57
  xmlns: "http://www.w3.org/2000/svg"
58
- }, null, 8, u));
58
+ }, null, 8, l));
59
59
  }
60
60
  };
61
61
  export {
62
- g as _
62
+ f as _
63
63
  };
@@ -1,7 +1,7 @@
1
- import { ref as n, openBlock as r, createBlock as f, unref as p, withCtx as g, createVNode as v } from "vue";
2
- import { aA as d } from "./index-BfpnwrGw.js";
3
- import x from "./OcCropper-DuSgG8Xj.js";
4
- const S = {
1
+ import { ref as e, openBlock as v, createBlock as d, unref as l, withCtx as x, createVNode as O } from "vue";
2
+ import { aA as b } from "./index-DlZuf29d.js";
3
+ import k from "./OcCropper-GuSoQNTZ.js";
4
+ const h = {
5
5
  __name: "OcModalCropper",
6
6
  props: {
7
7
  inputOptions: Array,
@@ -11,30 +11,33 @@ const S = {
11
11
  },
12
12
  emits: ["changeImage", "close", "update:input-options"],
13
13
  setup(t, { emit: s }) {
14
- const l = t, o = s;
15
- n(), n();
16
- const m = {
14
+ const c = t, o = s, p = e();
15
+ e();
16
+ const r = {
17
17
  onClick: () => o("close")
18
- }, i = n(), a = n(l.link), c = n({
18
+ }, i = e(), a = e(c.link), m = e({
19
19
  label: "Save",
20
20
  onClick: () => {
21
- a.value && o("update:input-options", a.value), i.value ? o("changeImage", i.value) : o("close");
21
+ a.value && o("update:input-options", a.value), i.value ? o("changeImage", i.value, p.value) : o("close");
22
22
  }
23
- });
24
- return (O, e) => (r(), f(p(d), {
23
+ }), g = (u, n) => {
24
+ i.value = u, p.value = n;
25
+ };
26
+ return (u, n) => (v(), d(l(b), {
27
+ id: "modal-cropper-overlay-wrapper",
25
28
  title: "Edit Image",
26
29
  "is-close-icon": "",
27
- "cancel-button-props": m,
28
- "confirm-button-props": c.value
30
+ "cancel-button-props": r,
31
+ "confirm-button-props": m.value
29
32
  }, {
30
- default: g(() => [
31
- v(p(x), {
33
+ default: x(() => [
34
+ O(l(k), {
32
35
  "input-options": t.inputOptions,
33
36
  "input-option-values": t.inputOptionValues,
34
37
  img: t.img,
35
38
  "max-size": t.maxSize,
36
- onChangeImage: e[0] || (e[0] = (u) => i.value = u),
37
- "onUpdate:inputOptions": e[1] || (e[1] = (u) => a.value = u)
39
+ onChangeImage: g,
40
+ "onUpdate:inputOptions": n[0] || (n[0] = (f) => a.value = f)
38
41
  }, null, 8, ["input-options", "input-option-values", "img", "max-size"])
39
42
  ]),
40
43
  _: 1
@@ -42,5 +45,5 @@ const S = {
42
45
  }
43
46
  };
44
47
  export {
45
- S as default
48
+ h as default
46
49
  };
@@ -37,8 +37,8 @@ const S = { class: "flex w-[inherit]" }, P = {
37
37
  default: !1
38
38
  }
39
39
  },
40
- setup(o, { expose: u }) {
41
- const a = n(), r = n(), t = n(), e = o, l = () => ({
40
+ setup(r, { expose: u }) {
41
+ const a = n(), s = n(), o = n(), e = r, l = () => ({
42
42
  placement: e.placement,
43
43
  modifiers: [
44
44
  {
@@ -53,40 +53,41 @@ const S = { class: "flex w-[inherit]" }, P = {
53
53
  }
54
54
  ],
55
55
  ...e.popperOptions || []
56
- }), f = (p) => {
57
- var s;
58
- return p && ((s = r.value) == null ? void 0 : s.contains(p));
56
+ }), f = (t) => {
57
+ var p;
58
+ return t && ((p = s.value) == null ? void 0 : p.contains(t));
59
59
  };
60
60
  return m(() => {
61
- t.value = B(a.value, r.value, l()), setTimeout(() => t.value.update(), 50);
61
+ o.value = B(a.value, s.value, l()), setTimeout(() => o.value.update(), 150);
62
62
  }), y(
63
63
  () => [e.popperOptions, e.placement, e.distance, e.skidding],
64
64
  () => {
65
- t.value.setOptions(l()), t.value.update();
65
+ var t, p;
66
+ (t = o.value) == null || t.setOptions(l()), (p = o.value) == null || p.update();
66
67
  },
67
68
  { deep: !0 }
68
69
  ), u({
69
- popperInstance: t,
70
+ popperInstance: o,
70
71
  checkElementIsInsidePopper: f
71
- }), (p, s) => (i(), b("div", S, [
72
+ }), (t, p) => (i(), b("div", S, [
72
73
  c("div", {
73
74
  ref_key: "reference",
74
75
  ref: a,
75
76
  class: "w-[inherit] flex"
76
77
  }, [
77
- d(p.$slots, "default")
78
+ d(t.$slots, "default")
78
79
  ], 512),
79
80
  (i(), v(k, {
80
81
  to: "body",
81
- disabled: !o.isAttachToBody
82
+ disabled: !r.isAttachToBody
82
83
  }, [
83
84
  c("div", {
84
85
  ref_key: "popper",
85
- ref: r,
86
- class: O([o.popperClass, "z-[1007]"]),
87
- style: h(o.popperStyle)
86
+ ref: s,
87
+ class: O([r.popperClass, "z-[1007]"]),
88
+ style: h(r.popperStyle)
88
89
  }, [
89
- d(p.$slots, "popper")
90
+ d(t.$slots, "popper")
90
91
  ], 6)
91
92
  ], 8, ["disabled"]))
92
93
  ]));
@@ -1,5 +1,5 @@
1
1
  import { ref as n, watch as g, openBlock as m, createBlock as s, unref as o, withCtx as p, createCommentVNode as v, createVNode as y } from "vue";
2
- import { ay as S, aI as h, e as D } from "./index-BfpnwrGw.js";
2
+ import { ay as S, aI as h, d as D } from "./index-DlZuf29d.js";
3
3
  import c from "dayjs";
4
4
  const w = {
5
5
  __name: "OcTimePicker",
@@ -0,0 +1,58 @@
1
+ import { computed as s, openBlock as i, createElementBlock as r, createElementVNode as l, normalizeClass as o, toDisplayString as b, createCommentVNode as f } from "vue";
2
+ import { _ as m } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
+ const g = { class: "inline-flex items-center gap-3 h-fit" }, h = ["value", "checked"], p = `absolute top-0 left-0 border border-transparent hover:bg-oc-primary-300 hover:border-oc-primary-500 bg-oc-primary-100 rounded-full cursor-pointer transition-all duration-300
4
+ before:transition-all before:duration-300 before:absolute before:rounded-full before:bg-oc-bg-light`, x = {
5
+ __name: "OcToggle",
6
+ props: {
7
+ modelValue: Boolean,
8
+ disabled: Boolean,
9
+ size: {
10
+ type: String,
11
+ default: "default"
12
+ },
13
+ label: String
14
+ },
15
+ emits: {
16
+ "update:modelValue": []
17
+ },
18
+ setup(e, { emit: c }) {
19
+ const t = e, d = c, a = () => {
20
+ t.disabled || d("update:modelValue", !t.modelValue);
21
+ }, n = s(() => ({
22
+ default: "w-[42px] h-7",
23
+ small: "w-[26px] h-[15px]"
24
+ })), u = s(() => ({
25
+ default: "before:w-6 before:h-6 before:top-px before:left-px",
26
+ small: " before:w-4 before:h-4 before:top-[0.5px] before:left-[0.5px]"
27
+ }));
28
+ return (v, V) => (i(), r("div", g, [
29
+ l("label", {
30
+ class: o(["toggle-switch relative inline-block", [n.value[e.size], e.size, e.disabled ? "pointer-events-none" : ""]])
31
+ }, [
32
+ l("input", {
33
+ class: o(["toggle-input hidden", {
34
+ "is-checked": e.modelValue
35
+ }]),
36
+ value: e.modelValue,
37
+ checked: e.modelValue,
38
+ type: "checkbox",
39
+ onChange: a
40
+ }, null, 42, h),
41
+ l("span", {
42
+ class: o(["toggle-label", [p, n.value[e.size], u.value[e.size], {
43
+ "toggle-on-focus": !e.disabled && !e.modelValue,
44
+ "!bg-oc-accent-1-100 before:bg-oc-accent-1-50": e.disabled
45
+ }]])
46
+ }, null, 2)
47
+ ], 2),
48
+ e.label ? (i(), r("div", {
49
+ key: 0,
50
+ class: "text-sm cursor-pointer",
51
+ onClick: a
52
+ }, b(e.label), 1)) : f("", !0)
53
+ ]));
54
+ }
55
+ }, z = /* @__PURE__ */ m(x, [["__scopeId", "data-v-23da89d0"]]);
56
+ export {
57
+ z as T
58
+ };
@@ -1,4 +1,4 @@
1
- import { aw as r } from "../../index-BfpnwrGw.js";
1
+ import { aw as r } from "../../index-DlZuf29d.js";
2
2
  export {
3
3
  r as ConfirmationModal
4
4
  };
@@ -1,4 +1,4 @@
1
- import { ax as a } from "../../index-BfpnwrGw.js";
1
+ import { ax as a } from "../../index-DlZuf29d.js";
2
2
  export {
3
3
  a as CopyTooltip
4
4
  };
@@ -1,4 +1,4 @@
1
- import { ay as r, az as p } from "../../index-BfpnwrGw.js";
1
+ import { ay as r, az as p } from "../../index-DlZuf29d.js";
2
2
  export {
3
3
  r as Dropdown,
4
4
  p as DropdownItem
@@ -1,4 +1,4 @@
1
- import { aA as d, aB as e } from "../../index-BfpnwrGw.js";
1
+ import { aA as d, aB as e } from "../../index-DlZuf29d.js";
2
2
  export {
3
3
  d as Modal,
4
4
  e as OcModalPage
@@ -1,4 +1,4 @@
1
- import { _ as r } from "../../OcPopper-D0VfWOBI.js";
1
+ import { _ as r } from "../../OcPopper-Bc96YXbS.js";
2
2
  export {
3
3
  r as Popper
4
4
  };
@@ -1,4 +1,4 @@
1
- import { aC as r } from "../../index-BfpnwrGw.js";
1
+ import { aC as r } from "../../index-DlZuf29d.js";
2
2
  export {
3
3
  r as SupportMenu
4
4
  };
@@ -1,4 +1,4 @@
1
- import { aD as p } from "../../index-BfpnwrGw.js";
1
+ import { aD as p } from "../../index-DlZuf29d.js";
2
2
  export {
3
3
  p as Tooltip
4
4
  };
@@ -1,4 +1,4 @@
1
- import { aE as e } from "../../index-BfpnwrGw.js";
1
+ import { aE as e } from "../../index-DlZuf29d.js";
2
2
  export {
3
3
  e as WhiteList
4
4
  };
@@ -1,7 +1,7 @@
1
1
  import { computed as l, openBlock as a, createElementBlock as o, normalizeClass as d, createElementVNode as e, toDisplayString as r, createBlock as x, unref as u, createCommentVNode as m, createTextVNode as v, Fragment as T, renderList as k, createVNode as P } from "vue";
2
- import { at as _, B as w } from "./index-BfpnwrGw.js";
2
+ import { at as _, B as w } from "./index-DlZuf29d.js";
3
3
  import { _ as C } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
- import { _ as F } from "./OcIcon-CJgBICxh.js";
4
+ import { _ as F } from "./OcIcon-CSpRxnwd.js";
5
5
  const B = { class: "z-10 flex flex-col gap-4 p-9 relative" }, E = { class: "flex items-center gap-4" }, A = { class: "font-medium text-xl" }, N = { class: "flex gap-3 items-center mb-5" }, S = { class: "flex items-start gap-2" }, V = { class: "text-[24px] font-medium tracking-tighter" }, q = { class: "text-[40px] leading-none font-medium" }, z = { key: 0 }, $ = {
6
6
  __name: "SubPlanCard",
7
7
  props: {
@@ -1,5 +1,5 @@
1
1
  import { openBlock as a, createElementBlock as d, createElementVNode as t, createVNode as o, unref as i, toDisplayString as r } from "vue";
2
- import { B as n } from "./index-BfpnwrGw.js";
2
+ import { B as n } from "./index-DlZuf29d.js";
3
3
  const m = { class: "flex flex-col" }, u = { class: "w-full relative group" }, f = { class: "w-full h-full bg-black/25 absolute top-0 left-0 hidden group-hover:flex rounded-lg" }, v = { class: "w-full px-6 gap-3 m-auto flex" }, b = ["src", "alt"], g = { class: "mt-4 text-md text-center" }, x = {
4
4
  __name: "ThumbnailSection",
5
5
  props: {
@@ -1,6 +1,6 @@
1
1
  import { openBlock as i, createElementBlock as s, normalizeClass as f, createElementVNode as l, Fragment as g, createVNode as n, unref as a, createTextVNode as r, toDisplayString as h, createBlock as u, withCtx as c, createCommentVNode as b } from "vue";
2
- import { B as d, at as v } from "./index-BfpnwrGw.js";
3
- import { _ as k } from "./OcIcon-CJgBICxh.js";
2
+ import { B as d, at as v } from "./index-DlZuf29d.js";
3
+ import { _ as k } from "./OcIcon-CSpRxnwd.js";
4
4
  const x = { class: "w-full relative group" }, y = {
5
5
  key: 0,
6
6
  class: "m-auto"