@orchidui/core 0.5.0 → 0.7.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 (154) 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/Disclosure/Accordion/OcAccordion.js +1 -1
  12. package/dist/Disclosure/OnboardingAccordion/OnboardingAccordion.js +1 -1
  13. package/dist/Disclosure/Steps/OcSteps.js +3 -3
  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 +2 -2
  17. package/dist/Elements/AuthenticationOption/AuthenticationOption.js +2 -2
  18. package/dist/Elements/Box/OcBox.js +2 -2
  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 +3 -3
  22. package/dist/Elements/PageTitle/OcPageTitle.js +3 -4
  23. package/dist/Elements/SandboxBanner/OcSandboxBanner.js +1 -1
  24. package/dist/Elements/Sidebar/OcSidebar.js +1 -1
  25. package/dist/Elements/Skeleton/OcSkeleton.js +1 -1
  26. package/dist/Elements/SubSidebar/OcSubSidebar.js +1 -1
  27. package/dist/Elements/VerificationOption/OcVerificationOption.js +2 -2
  28. package/dist/Feedback/Banner/OcBanner.js +1 -1
  29. package/dist/Feedback/Chip/OcChip.js +2 -2
  30. package/dist/Feedback/ShareIcon/OcShareIcon.js +2 -2
  31. package/dist/Feedback/Snackbar/OcSnackbar.js +1 -1
  32. package/dist/Form/BaseInput/OcBaseInput.js +1 -1
  33. package/dist/Form/Button/OcButton.js +1 -1
  34. package/dist/Form/Calendar/OcCalendar.js +2 -2
  35. package/dist/Form/CardInput/OcCardInput.js +1 -1
  36. package/dist/Form/Checkbox/OcCheckbox.js +1 -1
  37. package/dist/Form/CheckboxesGroup/OcCheckboxesGroup.js +1 -1
  38. package/dist/Form/Criteria/OcCriteria.js +1 -1
  39. package/dist/Form/Cropper/OcCropper.js +1 -1
  40. package/dist/Form/DatePicker/OcDatePicker.js +1 -1
  41. package/dist/Form/EmojiPicker/OcEmojiPicker.js +2 -2
  42. package/dist/Form/Input/OcInput.js +3 -4
  43. package/dist/Form/LinkInput/OcLinkInput.js +1 -1
  44. package/dist/Form/MultipleUploadFile/OcMultipleUploadFile.js +1 -1
  45. package/dist/Form/NumberInput/OcNumberInput.js +1 -1
  46. package/dist/Form/PhoneInput/OcPhoneInput.js +1 -1
  47. package/dist/Form/Radio/OcRadio.js +1 -1
  48. package/dist/Form/RadioGroup/OcRadioGroup.js +1 -1
  49. package/dist/Form/RangeInput/OcRangeInput.js +1 -1
  50. package/dist/Form/SectionItem/OcSectionItem.js +2 -2
  51. package/dist/Form/Select/OcSelect.js +4 -5
  52. package/dist/Form/SelectOptions/OcSelectOptions.js +2 -2
  53. package/dist/Form/SingleFileUpload/OcSingleFileUpload.js +1 -1
  54. package/dist/Form/Slider/OcSlider.js +1 -1
  55. package/dist/Form/TextArea/OcTextArea.js +2 -2
  56. package/dist/Form/Toggle/OcToggle.js +1 -1
  57. package/dist/Form/index.js +24 -47
  58. package/dist/FormBuilder/OcFormBuilder.js +1 -1
  59. package/dist/{OcComplexCalendar-DXl0ecZ-.js → OcComplexCalendar-Boa7mNFU.js} +18 -25
  60. package/dist/OcComplexDatePicker-BydI4VSR.js +93 -0
  61. package/dist/{OcCropper-31Y_S1Ne.js → OcCropper-7E2i6ayU.js} +38 -49
  62. package/dist/OcDataTable-CsCGrRx7.js +561 -0
  63. package/dist/{OcDraggable-BjhGJmpM.js → OcDraggable-CA_BCbpl.js} +7 -8
  64. package/dist/{Draggable.js → OcDraggableList-BUu5SgoA.js} +39 -50
  65. package/dist/{OcEmojiPicker-BXm-_OGK.js → OcEmojiPicker-DYYK7OB3.js} +28 -38
  66. package/dist/OcFilterForm-7ehuJUMp.js +83 -0
  67. package/dist/OcFilterSearch-B4AZsLBn.js +69 -0
  68. package/dist/OcFilterSearchFor-DfwJG-5N.js +67 -0
  69. package/dist/OcModalCropper-Z4jlnFc5.js +46 -0
  70. package/dist/{OcSkeleton-BdPTmGh0.js → OcSkeleton-CvdpGSQR.js} +2 -3
  71. package/dist/{OcSlider-Bsi-ckbP.js → OcSlider-DW9x8eas.js} +10 -11
  72. package/dist/{OcTimePicker-B61MCi0D.js → OcTimePicker-D9fPU8_m.js} +22 -33
  73. package/dist/{OcTimePopup-zQFKCZLk.js → OcTimePopup-CXGhaOev.js} +2 -3
  74. package/dist/{OcToggle-C0wTjM_Y.js → OcToggle-bIJaLDMZ.js} +5 -6
  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 +3 -4
  78. package/dist/Overlay/Modal/OcModal.js +3 -4
  79. package/dist/Overlay/SupportMenu/OcSupportMenu.js +1 -1
  80. package/dist/Overlay/Tooltip/OcTooltip.js +2 -2
  81. package/dist/Overlay/Whitelist/OcWhiteList.js +2 -2
  82. package/dist/SubPlanCard-DHj4RHJZ.js +81 -0
  83. package/dist/ThumbnailSection-CJBS0QXp.js +41 -0
  84. package/dist/ThumbnailTheme-hey6se0g.js +119 -0
  85. package/dist/index-DyVteXE3.js +10028 -0
  86. package/dist/index.js +129 -948
  87. package/dist/style.css +1 -1
  88. package/package.json +1 -16
  89. package/dist/Calendar.js +0 -103
  90. package/dist/Cropper.js +0 -6
  91. package/dist/DatePicker-BLK16hYl.js +0 -263
  92. package/dist/EmojiPicker.js +0 -4
  93. package/dist/Form/TimePicker/OcTimePicker.js +0 -6
  94. package/dist/OcAccordion-DdkNsXvN.js +0 -101
  95. package/dist/OcAccountSetup-BXDjf48o.js +0 -324
  96. package/dist/OcAdditionalContent-BMSysCXu.js +0 -612
  97. package/dist/OcAuthenticationOption.vue_vue_type_script_setup_true_lang-w5Y0ymGN.js +0 -43
  98. package/dist/OcBanner-Cg2WJV6e.js +0 -108
  99. package/dist/OcBox.vue_vue_type_script_setup_true_lang-aB397QRg.js +0 -43
  100. package/dist/OcCardInput-BFE4Xu-S.js +0 -75
  101. package/dist/OcCheckboxesGroup-CLbquUO2.js +0 -94
  102. package/dist/OcChip-B1hm2Qni.js +0 -144
  103. package/dist/OcComplexCalendar.vue_vue_type_style_index_0_lang-CIQPD-6N.js +0 -1006
  104. package/dist/OcConfirmationModal-BfCrRV9r.js +0 -179
  105. package/dist/OcCopyTooltip.vue_vue_type_script_setup_true_lang-S2RAfV_g.js +0 -65
  106. package/dist/OcCriteria-CpIohheZ.js +0 -42
  107. package/dist/OcCustomerCard-DbDOBO03.js +0 -160
  108. package/dist/OcDropdownItem-DAElmzEu.js +0 -57
  109. package/dist/OcEmptyPage-CTwgMzRp.js +0 -155
  110. package/dist/OcExpadingTable.vue_vue_type_script_setup_true_lang-B4HOMDBK.js +0 -815
  111. package/dist/OcFeatureOverviewCard-RVyrWLVW.js +0 -71
  112. package/dist/OcFloatContent-BIKQOxSw.js +0 -142
  113. package/dist/OcFormBuilder-BUpEpDsU.js +0 -177
  114. package/dist/OcGroupOptions-ChGJvTXl.js +0 -16
  115. package/dist/OcInfoCard-DpYUZOMZ.js +0 -81
  116. package/dist/OcInput-tcRxG3Y2.js +0 -227
  117. package/dist/OcInputOption-CncASfNt.js +0 -160
  118. package/dist/OcLinkInput-C2ixk-gk.js +0 -143
  119. package/dist/OcListDetail-6XeME6ko.js +0 -76
  120. package/dist/OcListUrl.vue_vue_type_script_setup_true_lang-7zZdFM8K.js +0 -750
  121. package/dist/OcModal-DdD5VFEN.js +0 -187
  122. package/dist/OcModalCropper-D2OI2iun.js +0 -56
  123. package/dist/OcModalPage-BLVa-kcB.js +0 -86
  124. package/dist/OcMultipleUploadFile-BAmQHshA.js +0 -447
  125. package/dist/OcNumberInput.vue_vue_type_script_setup_true_lang-C4EXUIUe.js +0 -90
  126. package/dist/OcOnboardingListItem.vue_vue_type_script_setup_true_lang-Cr80xmnz.js +0 -81
  127. package/dist/OcOption-DK2FBGq7.js +0 -485
  128. package/dist/OcOverviewIcon-D702Ujka.js +0 -55
  129. package/dist/OcOverviewItem-DNr5tWnt.js +0 -186
  130. package/dist/OcPageTitleRight-DMtJ1qmZ.js +0 -243
  131. package/dist/OcPaginationNumber-IKPorX26.js +0 -172
  132. package/dist/OcPaymentTab-Cna1IAhO.js +0 -170
  133. package/dist/OcPhoneInput-AC6BgQhN.js +0 -432
  134. package/dist/OcPrimaryActions-D5IprKsQ.js +0 -222
  135. package/dist/OcRadio-CRYfNwV9.js +0 -107
  136. package/dist/OcRadioGroup-DgfdWJos.js +0 -76
  137. package/dist/OcRangeInput-C-hoHFhr.js +0 -103
  138. package/dist/OcSandboxBanner.vue_vue_type_script_setup_true_lang-BD0k_8xa.js +0 -37
  139. package/dist/OcSectionItem-BFgxO3se.js +0 -84
  140. package/dist/OcSelectOptions-BQlG_EUA.js +0 -148
  141. package/dist/OcShareIcon-BB-NPq0r.js +0 -53
  142. package/dist/OcSingleFileUpload-B8-e1H5t.js +0 -464
  143. package/dist/OcSnackbar-CKxY1-ej.js +0 -196
  144. package/dist/OcSteps.vue_vue_type_script_setup_true_lang-CXGy8ma_.js +0 -87
  145. package/dist/OcSubSidebar.vue_vue_type_script_setup_true_lang-CNxgU07N.js +0 -60
  146. package/dist/OcSupportMenu.vue_vue_type_script_setup_true_lang-DrjZsWti.js +0 -114
  147. package/dist/OcTabToSelect-BHAz1Niv.js +0 -183
  148. package/dist/OcTextArea-BpV1Bnj_.js +0 -78
  149. package/dist/OcTransferSummary-Bk2GXhrT.js +0 -67
  150. package/dist/OcVariant.vue_vue_type_script_setup_true_lang-CY_82DLc.js +0 -99
  151. package/dist/OcVerificationOption.vue_vue_type_script_setup_true_lang-ChqvNoDe.js +0 -59
  152. package/dist/OcWhiteList.vue_vue_type_script_setup_true_lang-DI9pYU3w.js +0 -64
  153. package/dist/OnboardingAccordion.vue_vue_type_script_setup_true_lang-B0Z7ETmj.js +0 -113
  154. 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
- };