@orchidui/core 0.4.0 → 0.6.0

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 (155) hide show
  1. package/dist/DataDisplay/CustomerCard/OcCustomerCard.js +1 -1
  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 +3 -3
  6. package/dist/DataDisplay/OnboardingListItem/OcOnboardingListItem.js +1 -1
  7. package/dist/DataDisplay/Overview/OcOverview.js +4 -5
  8. package/dist/DataDisplay/Pagination/OcPagination.js +1 -1
  9. package/dist/DataDisplay/Table/OcTable.js +4 -4
  10. package/dist/DataDisplay/TransferSummary/OcTransferSummary.js +1 -1
  11. package/dist/DataTable/utils/editColumnsUtils.js +29 -0
  12. package/dist/Disclosure/Accordion/OcAccordion.js +1 -1
  13. package/dist/Disclosure/OnboardingAccordion/OnboardingAccordion.js +1 -1
  14. package/dist/Disclosure/Steps/OcSteps.js +3 -3
  15. package/dist/Disclosure/Tabs/Tabs.js +1 -1
  16. package/dist/Disclosure/Variants/OcVariants.js +1 -1
  17. package/dist/Elements/AdditionalContent/OcAdditionalContent.js +2 -2
  18. package/dist/Elements/AuthenticationOption/AuthenticationOption.js +2 -2
  19. package/dist/Elements/Box/OcBox.js +2 -2
  20. package/dist/Elements/EmptyPage/OcEmptyPage.js +1 -1
  21. package/dist/Elements/FeatureOverviewCard/OcFeatureOverviewCard.js +1 -1
  22. package/dist/Elements/Header/OcHeader.js +3 -3
  23. package/dist/Elements/PageTitle/OcPageTitle.js +3 -4
  24. package/dist/Elements/SandboxBanner/OcSandboxBanner.js +1 -1
  25. package/dist/Elements/Sidebar/OcSidebar.js +1 -1
  26. package/dist/Elements/Skeleton/OcSkeleton.js +1 -1
  27. package/dist/Elements/SubSidebar/OcSubSidebar.js +1 -1
  28. package/dist/Elements/VerificationOption/OcVerificationOption.js +2 -2
  29. package/dist/Feedback/Banner/OcBanner.js +1 -1
  30. package/dist/Feedback/Chip/OcChip.js +2 -2
  31. package/dist/Feedback/ShareIcon/OcShareIcon.js +2 -2
  32. package/dist/Feedback/Snackbar/OcSnackbar.js +1 -1
  33. package/dist/Form/BaseInput/OcBaseInput.js +1 -1
  34. package/dist/Form/Button/OcButton.js +1 -1
  35. package/dist/Form/Calendar/OcCalendar.js +2 -2
  36. package/dist/Form/CardInput/OcCardInput.js +1 -1
  37. package/dist/Form/Checkbox/OcCheckbox.js +1 -1
  38. package/dist/Form/CheckboxesGroup/OcCheckboxesGroup.js +1 -1
  39. package/dist/Form/Criteria/OcCriteria.js +1 -1
  40. package/dist/Form/Cropper/OcCropper.js +1 -1
  41. package/dist/Form/DatePicker/OcDatePicker.js +1 -1
  42. package/dist/Form/EmojiPicker/OcEmojiPicker.js +2 -2
  43. package/dist/Form/Input/OcInput.js +3 -4
  44. package/dist/Form/LinkInput/OcLinkInput.js +1 -1
  45. package/dist/Form/MultipleUploadFile/OcMultipleUploadFile.js +1 -1
  46. package/dist/Form/NumberInput/OcNumberInput.js +1 -1
  47. package/dist/Form/PhoneInput/OcPhoneInput.js +1 -1
  48. package/dist/Form/Radio/OcRadio.js +1 -1
  49. package/dist/Form/RadioGroup/OcRadioGroup.js +1 -1
  50. package/dist/Form/RangeInput/OcRangeInput.js +1 -1
  51. package/dist/Form/SectionItem/OcSectionItem.js +2 -2
  52. package/dist/Form/Select/OcSelect.js +4 -5
  53. package/dist/Form/SelectOptions/OcSelectOptions.js +2 -2
  54. package/dist/Form/SingleFileUpload/OcSingleFileUpload.js +1 -1
  55. package/dist/Form/Slider/OcSlider.js +1 -1
  56. package/dist/Form/TextArea/OcTextArea.js +2 -2
  57. package/dist/Form/Toggle/OcToggle.js +1 -1
  58. package/dist/Form/index.js +24 -47
  59. package/dist/FormBuilder/OcFormBuilder.js +1 -1
  60. package/dist/{OcComplexCalendar-x-_kg9Yk.js → OcComplexCalendar-Boa7mNFU.js} +18 -25
  61. package/dist/OcComplexDatePicker-BydI4VSR.js +93 -0
  62. package/dist/{OcCropper-31Y_S1Ne.js → OcCropper-7E2i6ayU.js} +38 -49
  63. package/dist/OcDataTable-CsCGrRx7.js +561 -0
  64. package/dist/{OcDraggable-BjhGJmpM.js → OcDraggable-CA_BCbpl.js} +7 -8
  65. package/dist/{Draggable.js → OcDraggableList-BUu5SgoA.js} +40 -50
  66. package/dist/{OcEmojiPicker-BXm-_OGK.js → OcEmojiPicker-DYYK7OB3.js} +28 -38
  67. package/dist/OcFilterForm-7ehuJUMp.js +83 -0
  68. package/dist/OcFilterSearch-B4AZsLBn.js +69 -0
  69. package/dist/OcFilterSearchFor-DfwJG-5N.js +67 -0
  70. package/dist/OcModalCropper-Z4jlnFc5.js +46 -0
  71. package/dist/{OcSkeleton-BdPTmGh0.js → OcSkeleton-CvdpGSQR.js} +2 -3
  72. package/dist/{OcSlider-Bsi-ckbP.js → OcSlider-DW9x8eas.js} +10 -11
  73. package/dist/{OcTimePicker-B61MCi0D.js → OcTimePicker-D9fPU8_m.js} +22 -33
  74. package/dist/{OcTimePopup-zQFKCZLk.js → OcTimePopup-CXGhaOev.js} +2 -3
  75. package/dist/{OcToggle-C0wTjM_Y.js → OcToggle-bIJaLDMZ.js} +5 -6
  76. package/dist/Overlay/ConfirmationModal/OcConfirmationModal.js +1 -1
  77. package/dist/Overlay/CopyTooltip/OcCopyTooltip.js +1 -1
  78. package/dist/Overlay/Dropdown/OcDropdown.js +3 -4
  79. package/dist/Overlay/Modal/OcModal.js +3 -4
  80. package/dist/Overlay/SupportMenu/OcSupportMenu.js +1 -1
  81. package/dist/Overlay/Tooltip/OcTooltip.js +2 -2
  82. package/dist/Overlay/Whitelist/OcWhiteList.js +2 -2
  83. package/dist/SubPlanCard-DHj4RHJZ.js +81 -0
  84. package/dist/ThumbnailSection-CJBS0QXp.js +41 -0
  85. package/dist/ThumbnailTheme-hey6se0g.js +119 -0
  86. package/dist/index-DyVteXE3.js +10028 -0
  87. package/dist/index.js +129 -175
  88. package/dist/style.css +1 -1
  89. package/package.json +1 -16
  90. package/dist/Calendar.js +0 -103
  91. package/dist/Cropper.js +0 -6
  92. package/dist/DatePicker-D3w435Ml.js +0 -263
  93. package/dist/EmojiPicker.js +0 -4
  94. package/dist/Form/TimePicker/OcTimePicker.js +0 -6
  95. package/dist/OcAccordion-DdkNsXvN.js +0 -101
  96. package/dist/OcAccountSetup-BXDjf48o.js +0 -324
  97. package/dist/OcAdditionalContent-BMSysCXu.js +0 -612
  98. package/dist/OcAuthenticationOption.vue_vue_type_script_setup_true_lang-w5Y0ymGN.js +0 -43
  99. package/dist/OcBanner-Cg2WJV6e.js +0 -108
  100. package/dist/OcBox.vue_vue_type_script_setup_true_lang-aB397QRg.js +0 -43
  101. package/dist/OcCardInput-BFE4Xu-S.js +0 -75
  102. package/dist/OcCheckboxesGroup-CLbquUO2.js +0 -94
  103. package/dist/OcChip-B1hm2Qni.js +0 -144
  104. package/dist/OcComplexCalendar.vue_vue_type_style_index_0_lang-CIQPD-6N.js +0 -1006
  105. package/dist/OcConfirmationModal-BfCrRV9r.js +0 -179
  106. package/dist/OcCopyTooltip.vue_vue_type_script_setup_true_lang-S2RAfV_g.js +0 -65
  107. package/dist/OcCriteria-CpIohheZ.js +0 -42
  108. package/dist/OcCustomerCard-DbDOBO03.js +0 -160
  109. package/dist/OcDropdownItem-DAElmzEu.js +0 -57
  110. package/dist/OcEmptyPage-CTwgMzRp.js +0 -155
  111. package/dist/OcExpadingTable.vue_vue_type_script_setup_true_lang-B4HOMDBK.js +0 -815
  112. package/dist/OcFeatureOverviewCard-RVyrWLVW.js +0 -71
  113. package/dist/OcFloatContent-BIKQOxSw.js +0 -142
  114. package/dist/OcFormBuilder-CRXWtt8I.js +0 -177
  115. package/dist/OcGroupOptions-ChGJvTXl.js +0 -16
  116. package/dist/OcInfoCard-DpYUZOMZ.js +0 -81
  117. package/dist/OcInput-tcRxG3Y2.js +0 -227
  118. package/dist/OcInputOption-CncASfNt.js +0 -160
  119. package/dist/OcLinkInput-C2ixk-gk.js +0 -143
  120. package/dist/OcListDetail-6XeME6ko.js +0 -76
  121. package/dist/OcListUrl.vue_vue_type_script_setup_true_lang-7zZdFM8K.js +0 -750
  122. package/dist/OcModal-DdD5VFEN.js +0 -187
  123. package/dist/OcModalCropper-D2OI2iun.js +0 -56
  124. package/dist/OcModalPage-BLVa-kcB.js +0 -86
  125. package/dist/OcMultipleUploadFile-B8Wl9Fuq.js +0 -446
  126. package/dist/OcNumberInput.vue_vue_type_script_setup_true_lang-C4EXUIUe.js +0 -90
  127. package/dist/OcOnboardingListItem.vue_vue_type_script_setup_true_lang-Cr80xmnz.js +0 -81
  128. package/dist/OcOption-DK2FBGq7.js +0 -485
  129. package/dist/OcOverviewIcon-D702Ujka.js +0 -55
  130. package/dist/OcOverviewItem-DNr5tWnt.js +0 -186
  131. package/dist/OcPageTitleRight-DMtJ1qmZ.js +0 -243
  132. package/dist/OcPaginationNumber-IKPorX26.js +0 -172
  133. package/dist/OcPaymentTab-Cna1IAhO.js +0 -170
  134. package/dist/OcPhoneInput-AC6BgQhN.js +0 -432
  135. package/dist/OcPrimaryActions-D5IprKsQ.js +0 -222
  136. package/dist/OcRadio-CRYfNwV9.js +0 -107
  137. package/dist/OcRadioGroup-DgfdWJos.js +0 -76
  138. package/dist/OcRangeInput-C-hoHFhr.js +0 -103
  139. package/dist/OcSandboxBanner.vue_vue_type_script_setup_true_lang-BD0k_8xa.js +0 -37
  140. package/dist/OcSectionItem-BFgxO3se.js +0 -84
  141. package/dist/OcSelectOptions-BQlG_EUA.js +0 -148
  142. package/dist/OcShareIcon-BB-NPq0r.js +0 -53
  143. package/dist/OcSingleFileUpload-B8-e1H5t.js +0 -464
  144. package/dist/OcSnackbar-CKxY1-ej.js +0 -196
  145. package/dist/OcSteps.vue_vue_type_script_setup_true_lang-CXGy8ma_.js +0 -87
  146. package/dist/OcSubSidebar.vue_vue_type_script_setup_true_lang-CNxgU07N.js +0 -60
  147. package/dist/OcSupportMenu.vue_vue_type_script_setup_true_lang-DrjZsWti.js +0 -114
  148. package/dist/OcTabToSelect-BHAz1Niv.js +0 -183
  149. package/dist/OcTextArea-BpV1Bnj_.js +0 -78
  150. package/dist/OcTransferSummary-Bk2GXhrT.js +0 -67
  151. package/dist/OcVariant.vue_vue_type_script_setup_true_lang-CY_82DLc.js +0 -99
  152. package/dist/OcVerificationOption.vue_vue_type_script_setup_true_lang-ChqvNoDe.js +0 -59
  153. package/dist/OcWhiteList.vue_vue_type_script_setup_true_lang-DI9pYU3w.js +0 -64
  154. package/dist/OnboardingAccordion.vue_vue_type_script_setup_true_lang-B0Z7ETmj.js +0 -113
  155. package/dist/StoreDesign.js +0 -240
@@ -1,78 +0,0 @@
1
- import { ref as s, openBlock as d, createBlock as u, unref as m, withCtx as c, createElementVNode as p, normalizeClass as b } from "vue";
2
- import "dayjs";
3
- import { _ as g } from "./OcComplexCalendar.vue_vue_type_style_index_0_lang-CIQPD-6N.js";
4
- /* empty css */
5
- import "libphonenumber-js";
6
- /* empty css */
7
- import "v-calendar";
8
- /* empty css */
9
- import "./Cropper.js";
10
- import "vue-draggable-next";
11
- import "@popperjs/core";
12
- const h = ["disabled", "value", "rows", "placeholder"], f = "18px", T = {
13
- __name: "OcTextArea",
14
- props: {
15
- placeholder: String,
16
- label: String,
17
- errorMessage: String,
18
- hint: String,
19
- modelValue: String,
20
- rows: Number,
21
- autoResize: Boolean,
22
- isDisabled: Boolean,
23
- isRequired: {
24
- type: Boolean,
25
- default: !1
26
- },
27
- labelIcon: {
28
- type: String,
29
- default: ""
30
- },
31
- tooltipText: {
32
- type: String,
33
- default: ""
34
- },
35
- tooltipOptions: {
36
- type: Object,
37
- default: () => ({})
38
- }
39
- },
40
- emits: {
41
- "update:modelValue": []
42
- },
43
- setup(e, { emit: r }) {
44
- const i = r, o = s(!1), a = (l) => {
45
- const t = l.target;
46
- t && (t.style.height = f, t.style.height = t.scrollHeight + "px", i("update:modelValue", t.value));
47
- };
48
- return (l, t) => (d(), u(m(g), {
49
- label: e.label,
50
- "error-message": e.errorMessage,
51
- hint: e.hint,
52
- "is-required": e.isRequired,
53
- "label-icon": e.labelIcon,
54
- "tooltip-text": e.tooltipText,
55
- "tooltip-options": e.tooltipOptions
56
- }, {
57
- default: c(() => [
58
- p("textarea", {
59
- class: b(["outline-none p-3 min-h-[120px] rounded border resize-none disabled:bg-oc-bg-dark", [
60
- o.value ? "shadow-[0_0_0_2px]" : "",
61
- e.errorMessage ? "border-oc-error shadow-oc-error" : "border-oc-gray-200 shadow-oc-gray-200"
62
- ]]),
63
- disabled: e.isDisabled,
64
- value: e.modelValue,
65
- rows: e.rows,
66
- placeholder: e.placeholder,
67
- onInput: a,
68
- onFocus: t[0] || (t[0] = (n) => o.value = !0),
69
- onBlur: t[1] || (t[1] = (n) => o.value = !1)
70
- }, null, 42, h)
71
- ]),
72
- _: 1
73
- }, 8, ["label", "error-message", "hint", "is-required", "label-icon", "tooltip-text", "tooltip-options"]));
74
- }
75
- };
76
- export {
77
- T as _
78
- };
@@ -1,67 +0,0 @@
1
- import { computed as a, openBlock as c, createElementBlock as m, createVNode as o, unref as n, createCommentVNode as u, createElementVNode as d } from "vue";
2
- import "dayjs";
3
- import "./OcComplexCalendar.vue_vue_type_style_index_0_lang-CIQPD-6N.js";
4
- import { _ as s } from "./OcListDetail-6XeME6ko.js";
5
- /* empty css */
6
- import "libphonenumber-js";
7
- /* empty css */
8
- import "v-calendar";
9
- /* empty css */
10
- import "./Cropper.js";
11
- import "vue-draggable-next";
12
- import "@popperjs/core";
13
- const y = { class: "bg-oc-bg-dark flex flex-col gap-3 p-4 rounded" }, b = { key: 0 }, N = {
14
- __name: "OcTransferSummary",
15
- props: {
16
- transfer: {
17
- type: Object,
18
- required: !0
19
- },
20
- hasFxData: Boolean
21
- },
22
- setup(t) {
23
- const r = t, l = a(() => {
24
- var e;
25
- return (e = r.transfer.source_currency) == null ? void 0 : e.toUpperCase();
26
- }), p = a(() => {
27
- var e;
28
- return (e = r.transfer.payment_currency) == null ? void 0 : e.toUpperCase();
29
- }), i = a(() => {
30
- var e;
31
- return (e = r.transfer.fee_currency) == null ? void 0 : e.toUpperCase();
32
- }), f = a(() => {
33
- var e;
34
- return (e = r.transfer.transfer_method) == null ? void 0 : e.toUpperCase();
35
- });
36
- return (e, _) => (c(), m("div", y, [
37
- t.hasFxData ? (c(), m("div", b, [
38
- o(n(s), {
39
- class: "justify-between font-medium [&>span]:text-base",
40
- label: "FX Rate",
41
- content: `${l.value} 1 = ${p.value} ${t.transfer.exchange_rate}`,
42
- variant: "big",
43
- "show-copy-tooltip": !1
44
- }, null, 8, ["content"])
45
- ])) : u("", !0),
46
- o(n(s), {
47
- class: "justify-between font-medium [&>span]:text-base",
48
- label: "Fee",
49
- content: `${i.value} ${t.transfer.fee}`,
50
- variant: "big",
51
- "show-copy-tooltip": !1
52
- }, null, 8, ["content"]),
53
- d("div", null, [
54
- o(n(s), {
55
- class: "justify-between font-medium [&>span]:text-base",
56
- label: "Transfer type",
57
- content: `${f.value}`,
58
- variant: "big",
59
- "show-copy-tooltip": !1
60
- }, null, 8, ["content"])
61
- ])
62
- ]));
63
- }
64
- };
65
- export {
66
- N as _
67
- };
@@ -1,99 +0,0 @@
1
- import { defineComponent as m, openBlock as t, createElementBlock as r, Fragment as y, renderList as s, createBlock as u, unref as d, mergeProps as a, createSlots as x, withCtx as v, renderSlot as f, normalizeClass as n, createElementVNode as h, createCommentVNode as c, toDisplayString as V } from "vue";
2
- import "dayjs";
3
- import "./OcComplexCalendar.vue_vue_type_style_index_0_lang-CIQPD-6N.js";
4
- import { _ as $ } from "./OcIcon-CJgBICxh.js";
5
- /* empty css */
6
- import "libphonenumber-js";
7
- /* empty css */
8
- import "v-calendar";
9
- /* empty css */
10
- import "./Cropper.js";
11
- import "vue-draggable-next";
12
- import "@popperjs/core";
13
- const k = { class: "flex gap-3 items-start md:flex-row flex-col" }, q = /* @__PURE__ */ m({
14
- __name: "OcVariants",
15
- props: {
16
- variants: {
17
- type: Array,
18
- default: () => []
19
- },
20
- modelValue: {
21
- type: [String, Number],
22
- default: ""
23
- }
24
- },
25
- emits: ["update:modelValue"],
26
- setup(e) {
27
- return (l, g) => (t(), r("div", k, [
28
- (t(!0), r(y, null, s(e.variants, (i) => (t(), u(d(C), a({
29
- key: i.value,
30
- "is-active": i.value === e.modelValue,
31
- ref_for: !0
32
- }, i, {
33
- onClick: (b) => l.$emit("update:modelValue", i.isDisabled ? e.modelValue : i.value)
34
- }), x({ _: 2 }, [
35
- s(l.$slots, (b, o) => ({
36
- name: o,
37
- fn: v((p) => [
38
- f(l.$slots, o, a({ ref_for: !0 }, p))
39
- ])
40
- }))
41
- ]), 1040, ["is-active", "onClick"]))), 128))
42
- ]));
43
- }
44
- }), S = { class: "flex items-center gap-x-3" }, C = /* @__PURE__ */ m({
45
- __name: "OcVariant",
46
- props: {
47
- icon: {
48
- type: String,
49
- default: ""
50
- },
51
- label: {
52
- type: String,
53
- default: ""
54
- },
55
- isActive: {
56
- type: Boolean,
57
- default: !1
58
- },
59
- isDisabled: {
60
- type: Boolean,
61
- default: !1
62
- },
63
- iconOptions: {
64
- type: Object,
65
- default: null
66
- },
67
- value: {
68
- type: [String, Number],
69
- default: ""
70
- }
71
- },
72
- setup(e) {
73
- return (l, g) => (t(), r("div", {
74
- class: n([
75
- "md:w-fit w-full py-3 px-4 border flex flex-col gap-y-2 rounded",
76
- e.isDisabled ? "bg-oc-gray-50 border-oc-gray-200" : e.isActive ? "border-oc-primary bg-oc-bg-light cursor-pointer" : "border-oc-gray-200 bg-oc-bg-light cursor-pointer"
77
- ])
78
- }, [
79
- h("div", S, [
80
- e.icon ? (t(), u(d($), a({
81
- key: 0,
82
- width: "18",
83
- height: "18",
84
- name: e.icon,
85
- class: e.isDisabled ? "text-oc-text-200" : e.isActive ? "" : "text-oc-text-400"
86
- }, e.iconOptions), null, 16, ["name", "class"])) : c("", !0),
87
- e.label ? (t(), r("span", {
88
- key: 1,
89
- class: n(e.isDisabled ? "text-oc-text-300" : e.isActive ? "font-medium" : "")
90
- }, V(e.label), 3)) : c("", !0)
91
- ]),
92
- f(l.$slots, `${e.value}-description`)
93
- ], 2));
94
- }
95
- });
96
- export {
97
- q as _,
98
- C as a
99
- };
@@ -1,59 +0,0 @@
1
- import { defineComponent as s, openBlock as t, createElementBlock as a, normalizeClass as m, createElementVNode as o, renderSlot as r, toDisplayString as p, createBlock as n, unref as c, normalizeProps as d, mergeProps as f, createCommentVNode as l } from "vue";
2
- import "dayjs";
3
- import "./OcComplexCalendar.vue_vue_type_style_index_0_lang-CIQPD-6N.js";
4
- import { _ as u } from "./OcIcon-CJgBICxh.js";
5
- import { _ as h } from "./OcChip-B1hm2Qni.js";
6
- /* empty css */
7
- import "libphonenumber-js";
8
- /* empty css */
9
- import "v-calendar";
10
- /* empty css */
11
- import "./Cropper.js";
12
- import "vue-draggable-next";
13
- import "@popperjs/core";
14
- const y = { class: "flex items-center" }, g = { class: "flex flex-1 items-center gap-x-3" }, x = { class: "font-medium text-lg" }, P = /* @__PURE__ */ s({
15
- __name: "OcVerificationOption",
16
- props: {
17
- title: {
18
- type: String,
19
- default: "Enter form manually"
20
- },
21
- chipOptions: {
22
- type: Object,
23
- default: null
24
- },
25
- icon: {
26
- type: String,
27
- default: "check-2"
28
- },
29
- isActive: {
30
- type: Boolean,
31
- default: !1
32
- }
33
- },
34
- setup(e) {
35
- return (i, k) => (t(), a("div", {
36
- class: m(["rounded hover:bg-oc-gray-50 p-5 flex flex-col gap-y-3", e.isActive ? "border-2 border-oc-primary" : "border border-oc-gray-200"])
37
- }, [
38
- o("div", y, [
39
- o("div", g, [
40
- r(i.$slots, "title", {}, () => [
41
- o("span", x, p(e.title), 1)
42
- ]),
43
- e.chipOptions ? (t(), n(c(h), d(f({ key: 0 }, e.chipOptions)), null, 16)) : l("", !0)
44
- ]),
45
- e.isActive ? (t(), n(c(u), {
46
- key: 0,
47
- class: "shrink-0 text-oc-primary",
48
- name: e.icon,
49
- width: "18",
50
- height: "18"
51
- }, null, 8, ["name"])) : l("", !0)
52
- ]),
53
- r(i.$slots, "content")
54
- ], 2));
55
- }
56
- });
57
- export {
58
- P as _
59
- };
@@ -1,64 +0,0 @@
1
- import { defineComponent as a, openBlock as l, createElementBlock as m, createElementVNode as t, renderSlot as s, createTextVNode as p, toDisplayString as r, createBlock as d, unref as n, normalizeProps as f, mergeProps as c, createCommentVNode as u, createVNode as g } from "vue";
2
- import "dayjs";
3
- import { B as x } from "./OcComplexCalendar.vue_vue_type_style_index_0_lang-CIQPD-6N.js";
4
- /* empty css */
5
- import { _ as h } from "./OcTag.vue_vue_type_script_setup_true_lang-D19lw-8Y.js";
6
- import "libphonenumber-js";
7
- /* empty css */
8
- import "v-calendar";
9
- /* empty css */
10
- import "./Cropper.js";
11
- import "vue-draggable-next";
12
- import "@popperjs/core";
13
- const y = { class: "flex justify-center pt-[75px] items-start backdrop-blur-sm" }, _ = { class: "bg-white relative z-10 rounded pb-3 max-w-[320px] w-[96vw] shadow" }, b = { class: "flex flex-col gap-y-7 p-5" }, v = { class: "min-w-[142px] pt-7 flex justify-center items-center" }, w = ["src"], j = { class: "flex text-center flex-col gap-y-3" }, O = { class: "text-lg flex justify-center gap-x-3 items-center font-medium" }, P = { class: "text-oc-text-400" }, k = { class: "py-6 px-5 flex items-center justify-center" }, R = /* @__PURE__ */ a({
14
- __name: "OcWhiteList",
15
- props: {
16
- buttonProps: {
17
- type: Object,
18
- default: () => ({})
19
- },
20
- tagOptions: {
21
- type: Object,
22
- default: () => null
23
- },
24
- title: String,
25
- imagePath: String,
26
- description: String
27
- },
28
- setup(e) {
29
- return (o, i) => (l(), m("div", y, [
30
- i[0] || (i[0] = t("div", { class: "absolute w-full h-full top-0 left-0 bg-oc-gray-50 opacity-80" }, null, -1)),
31
- t("div", _, [
32
- t("div", b, [
33
- s(o.$slots, "logo", {}, () => [
34
- t("div", v, [
35
- t("img", {
36
- src: e.imagePath,
37
- alt: "logo"
38
- }, null, 8, w)
39
- ])
40
- ]),
41
- t("div", j, [
42
- t("div", O, [
43
- p(r(e.title) + " ", 1),
44
- e.tagOptions ? (l(), d(n(h), f(c({ key: 0 }, e.tagOptions)), null, 16)) : u("", !0)
45
- ]),
46
- t("span", P, r(e.description), 1)
47
- ]),
48
- s(o.$slots, "bottom")
49
- ]),
50
- t("div", k, [
51
- s(o.$slots, "footer", {}, () => [
52
- g(n(x), c({
53
- label: "Request Access",
54
- class: "w-fit"
55
- }, e.buttonProps), null, 16)
56
- ])
57
- ])
58
- ])
59
- ]));
60
- }
61
- });
62
- export {
63
- R as _
64
- };
@@ -1,113 +0,0 @@
1
- import { defineComponent as g, computed as y, openBlock as l, createElementBlock as f, normalizeClass as c, renderSlot as d, createBlock as b, unref as v, ref as p, watch as x, createElementVNode as o, createVNode as m, toDisplayString as u } from "vue";
2
- import "dayjs";
3
- import "./OcComplexCalendar.vue_vue_type_style_index_0_lang-CIQPD-6N.js";
4
- import { _ as h } from "./OcIcon-CJgBICxh.js";
5
- /* empty css */
6
- import "libphonenumber-js";
7
- /* empty css */
8
- import "v-calendar";
9
- /* empty css */
10
- import "./Cropper.js";
11
- import "vue-draggable-next";
12
- import "@popperjs/core";
13
- const _ = /* @__PURE__ */ g({
14
- __name: "OnboardingStatusIcon",
15
- props: {
16
- variant: {
17
- type: String,
18
- default: "current",
19
- validator: (e) => ["completed", "not_completed", "current", "partially_completed", "pending", "error"].includes(
20
- e
21
- )
22
- }
23
- },
24
- setup(e) {
25
- const t = e, r = y(() => !["completed", "error", "pending"].includes(t.variant)), a = {
26
- completed: "check-2",
27
- pending: "time",
28
- error: "filled-x-circle"
29
- }, i = {
30
- completed: "text-white bg-oc-primary",
31
- pending: "text-oc-warning border border-oc-warning",
32
- error: "text-oc-error border border-oc-error",
33
- not_completed: "border border-oc-gray-300",
34
- partially_completed: "border-2 border-dashed border-oc-primary",
35
- current: "border border-oc-gray-800"
36
- }, n = {
37
- completed: 12,
38
- error: 18,
39
- pending: 18
40
- };
41
- return (s, $) => (l(), f("div", {
42
- class: c(["rounded-full w-7 h-7 flex items-center justify-center", i[e.variant]])
43
- }, [
44
- r.value ? d(s.$slots, "default", { key: 0 }) : (l(), b(v(h), {
45
- key: 1,
46
- width: n[e.variant],
47
- height: n[e.variant],
48
- name: a[e.variant]
49
- }, null, 8, ["width", "height", "name"]))
50
- ], 2));
51
- }
52
- }), w = { class: "flex items-center flex-1 gap-x-4" }, S = { class: "flex flex-col gap-y-1" }, k = { class: "font-medium" }, B = { class: "text-oc-text-400 text-sm" }, q = /* @__PURE__ */ g({
53
- __name: "OnboardingAccordion",
54
- props: {
55
- description: {
56
- type: String,
57
- default: ""
58
- },
59
- title: {
60
- type: String,
61
- default: ""
62
- },
63
- isBorder: {
64
- type: Boolean,
65
- default: !1
66
- },
67
- variant: {
68
- type: String,
69
- default: "current",
70
- validator: (e) => ["completed", "not_completed", "current", "partially_completed", "pending", "error"].includes(
71
- e
72
- )
73
- }
74
- },
75
- setup(e) {
76
- const t = p(), r = p(!1), a = () => {
77
- t.value && (t.value.style.height = r.value ? `${t.value.scrollHeight}px` : "0px");
78
- }, i = () => {
79
- r.value = !r.value, a();
80
- };
81
- return x(() => t.value, a), (n, s) => (l(), f("div", {
82
- class: c(["hover:bg-oc-gray-50 border overflow-hidden", e.isBorder ? "border-oc-gray-200 rounded" : "border-transparent"])
83
- }, [
84
- o("div", {
85
- class: "px-7 items-center py-5 flex gap-x-7",
86
- onClick: i
87
- }, [
88
- o("div", w, [
89
- m(_, { variant: e.variant }, null, 8, ["variant"]),
90
- o("div", S, [
91
- o("span", k, u(e.title), 1),
92
- o("span", B, u(e.description), 1)
93
- ])
94
- ]),
95
- d(n.$slots, "button-group"),
96
- m(v(h), {
97
- name: "chevron-down",
98
- class: c(["text-oc-text-400 transition duration-300", r.value ? "rotate-180" : ""])
99
- }, null, 8, ["class"])
100
- ]),
101
- o("div", {
102
- ref_key: "bodyWrapper",
103
- ref: t,
104
- class: "transition-all duration-300"
105
- }, [
106
- d(n.$slots, "default")
107
- ], 512)
108
- ], 2));
109
- }
110
- });
111
- export {
112
- q as _
113
- };