@orchidui/core 1.8.1-80 → 1.8.1-81
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/ColumnEdit-CdjmVXjn.js +141 -0
- package/dist/DataDisplay/CustomerCard/OcCustomerCard.js +1 -1
- package/dist/DataDisplay/FloatContent/OcFloatContent.js +1 -1
- package/dist/DataDisplay/InfoCard/OcInfoCard.js +1 -1
- package/dist/DataDisplay/ListDetail/OcListDetail.js +1 -1
- package/dist/DataDisplay/ListItem/OcListItem.js +1 -1
- package/dist/DataDisplay/OnboardingListItem/OcOnboardingListItem.js +1 -1
- package/dist/DataDisplay/Overview/OcOverview.js +1 -1
- package/dist/DataDisplay/Pagination/OcPagination.js +1 -1
- package/dist/DataDisplay/Table/OcTable.js +1 -1
- package/dist/DataDisplay/TransferSummary/OcTransferSummary.js +1 -1
- package/dist/Disclosure/Accordion/OcAccordion.js +1 -1
- package/dist/Disclosure/OnboardingAccordion/OnboardingAccordion.js +1 -1
- package/dist/Disclosure/Steps/OcSteps.js +1 -1
- package/dist/Disclosure/Tabs/Tabs.js +1 -1
- package/dist/Disclosure/Variants/OcVariants.js +1 -1
- package/dist/Elements/AdditionalContent/OcAdditionalContent.js +1 -1
- package/dist/Elements/AuthenticationOption/AuthenticationOption.js +1 -1
- package/dist/Elements/Box/OcBox.js +1 -1
- package/dist/Elements/EmptyPage/OcEmptyPage.js +1 -1
- package/dist/Elements/FeatureOverviewCard/OcFeatureOverviewCard.js +1 -1
- package/dist/Elements/Header/OcHeader.js +1 -1
- package/dist/Elements/PageTitle/OcPageTitle.js +1 -1
- package/dist/Elements/SandboxBanner/OcSandboxBanner.js +1 -1
- package/dist/Elements/Sidebar/OcSidebar.js +2 -2
- package/dist/Elements/SubSidebar/OcSubSidebar.js +1 -1
- package/dist/Elements/TopBanner/OcTopBanner.js +1 -1
- package/dist/Elements/VerificationOption/OcVerificationOption.js +1 -1
- package/dist/Feedback/Banner/OcBanner.js +1 -1
- package/dist/Feedback/Chip/OcChip.js +1 -1
- package/dist/Feedback/ShareIcon/OcShareIcon.js +1 -1
- package/dist/Feedback/Snackbar/OcSnackbar.js +1 -1
- package/dist/Form/BaseInput/OcBaseInput.js +1 -1
- package/dist/Form/Button/OcButton.js +1 -1
- package/dist/Form/Calendar/OcCalendar.js +1 -1
- package/dist/Form/CardInput/OcCardInput.js +1 -1
- package/dist/Form/Checkbox/OcCheckbox.js +1 -1
- package/dist/Form/CheckboxesGroup/OcCheckboxesGroup.js +1 -1
- package/dist/Form/Criteria/OcCriteria.js +1 -1
- package/dist/Form/Cropper/OcCropper.js +1 -1
- package/dist/Form/DatePicker/OcDatePicker.js +1 -1
- package/dist/Form/EmojiPicker/OcEmojiPicker.js +1 -1
- package/dist/Form/Input/OcInput.js +1 -1
- package/dist/Form/LinkInput/OcLinkInput.js +1 -1
- package/dist/Form/MultipleUploadFile/OcMultipleUploadFile.js +1 -1
- package/dist/Form/NumberInput/OcNumberInput.js +1 -1
- package/dist/Form/PhoneInput/OcPhoneInput.js +1 -1
- package/dist/Form/Radio/OcRadio.js +1 -1
- package/dist/Form/RadioGroup/OcRadioGroup.js +1 -1
- package/dist/Form/RangeInput/OcRangeInput.js +1 -1
- package/dist/Form/SectionItem/OcSectionItem.js +1 -1
- package/dist/Form/Select/OcSelect.js +1 -1
- package/dist/Form/SelectOptions/OcSelectOptions.js +1 -1
- package/dist/Form/SingleFileUpload/OcSingleFileUpload.js +1 -1
- package/dist/Form/Slider/OcSlider.js +1 -1
- package/dist/Form/TextArea/OcTextArea.js +1 -1
- package/dist/Form/index.js +1 -1
- package/dist/FormBuilder/OcFormBuilder.js +1 -1
- package/dist/{OcAccountSetupProgress-g7V1kvOf.js → OcAccountSetupProgress-BgGjUZAh.js} +1 -1
- package/dist/{OcComplexCalendar-CWPFV545.js → OcComplexCalendar-La4UDSot.js} +1 -1
- package/dist/{OcComplexDatePicker-DXg8PEZz.js → OcComplexDatePicker-BfWZJ80d.js} +1 -1
- package/dist/{OcCropper-BfXmon8i.js → OcCropper-BK_21zuF.js} +1 -1
- package/dist/OcDataTable-B3gHGRAy.js +456 -0
- package/dist/{OcDraggableList-BMlc5DDP.js → OcDraggableList-BR6u3KC4.js} +1 -1
- package/dist/{OcEmojiPicker-vNLeufFJ.js → OcEmojiPicker-Bwlc9jiL.js} +1 -1
- package/dist/{OcFilterForm-DxNgWEC9.js → OcFilterForm-B9fXBYbo.js} +1 -1
- package/dist/{OcFilterSearch-D1gAk_Ea.js → OcFilterSearch-EagXr3EL.js} +1 -1
- package/dist/{OcFilterSearchFor-CKrNeOon.js → OcFilterSearchFor-BFKzU9p-.js} +1 -1
- package/dist/{OcModalCropper-DOSQE3NJ.js → OcModalCropper-BReYn5X1.js} +2 -2
- package/dist/{OcTimePicker-Cjo8eKGB.js → OcTimePicker-B-NLdVZq.js} +1 -1
- package/dist/Overlay/ConfirmationModal/OcConfirmationModal.js +1 -1
- package/dist/Overlay/CopyTooltip/OcCopyTooltip.js +1 -1
- package/dist/Overlay/Dropdown/OcDropdown.js +1 -1
- package/dist/Overlay/Modal/OcModal.js +1 -1
- package/dist/Overlay/SupportMenu/OcSupportMenu.js +1 -1
- package/dist/Overlay/Tooltip/OcTooltip.js +1 -1
- package/dist/Overlay/Whitelist/OcWhiteList.js +1 -1
- package/dist/{SubPlanCard-BTqSr2AX.js → SubPlanCard-DxMPWwSi.js} +1 -1
- package/dist/{ThumbnailSection-DvanWXUV.js → ThumbnailSection-oKjPIxOz.js} +1 -1
- package/dist/{ThumbnailTheme-Cb9Ya2ZK.js → ThumbnailTheme-F9chPOvw.js} +1 -1
- package/dist/{index-DkumyhAj.js → index-xVQMCW5L.js} +8 -8
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/OcDataTable-CsQHegQT.js +0 -590
@@ -0,0 +1,141 @@
|
|
1
|
+
import { ref as v, onMounted as S, openBlock as l, createBlock as x, unref as r, withCtx as m, createElementVNode as d, createElementBlock as i, createVNode as c, mergeProps as w, Fragment as g, renderList as _, normalizeClass as j, toDisplayString as C, createCommentVNode as p } from "vue";
|
2
|
+
import { az as D, C as K, B as L } from "./index-xVQMCW5L.js";
|
3
|
+
import { VueDraggableNext as A } from "vue-draggable-next";
|
4
|
+
import { getFromLocalStorage as O, formatHeadersFromLocalStorage as z } from "./DataTable/utils/editColumnsUtils.js";
|
5
|
+
import { _ as E } from "./OcIcon-CSpRxnwd.js";
|
6
|
+
const M = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, $ = {
|
7
|
+
key: 0,
|
8
|
+
class: "gap-y-2 flex flex-col border-b pb-3 border-oc-gray-200"
|
9
|
+
}, H = { class: "gap-y-2 flex flex-col" }, I = {
|
10
|
+
key: 0,
|
11
|
+
class: "flex items-center bg-white justify-between h-[26px]"
|
12
|
+
}, P = { class: "flex items-center w-full gap-x-3" }, q = { class: "truncate w-full max-w-[160px]" }, W = {
|
13
|
+
__name: "ColumnEdit",
|
14
|
+
props: {
|
15
|
+
options: {
|
16
|
+
type: Object,
|
17
|
+
default: () => ({})
|
18
|
+
},
|
19
|
+
headers: {
|
20
|
+
type: Array,
|
21
|
+
default: () => []
|
22
|
+
},
|
23
|
+
localKey: {
|
24
|
+
type: String,
|
25
|
+
default: ""
|
26
|
+
}
|
27
|
+
},
|
28
|
+
emits: ["change-active", "onMoved", "update-order"],
|
29
|
+
setup(F, { emit: U }) {
|
30
|
+
const B = U, n = F, u = v([]), a = v([]), y = v(!1), f = (s = !1) => {
|
31
|
+
a.value = a.value.map((e) => ({
|
32
|
+
...e,
|
33
|
+
isActive: !0
|
34
|
+
})), B("update-order", {
|
35
|
+
fixedHeaders: a.value,
|
36
|
+
activeHeaders: u.value,
|
37
|
+
isOnMount: s
|
38
|
+
});
|
39
|
+
}, k = {
|
40
|
+
handle: ".drag-el",
|
41
|
+
filter: ".is-disabled",
|
42
|
+
group: "headers",
|
43
|
+
animation: 500,
|
44
|
+
forceFallback: !1,
|
45
|
+
move: (s) => s.to.dataset.activeHeaders ? !0 : !!s.draggedContext.futureIndex,
|
46
|
+
"onUpdate:modelValue": () => f()
|
47
|
+
};
|
48
|
+
return S(() => {
|
49
|
+
const s = O(n.localKey), { fixed: e, active: t } = z(s, n.headers, n.localKey);
|
50
|
+
a.value = e || n.headers.slice(0, 1), u.value = t || n.headers.slice(1).map((o) => {
|
51
|
+
var b, V, h;
|
52
|
+
return {
|
53
|
+
...o,
|
54
|
+
isActive: ((h = (V = (b = n.options) == null ? void 0 : b.active) == null ? void 0 : V.find((N) => N.key === o.key)) == null ? void 0 : h.isActive) ?? !0
|
55
|
+
};
|
56
|
+
}), f(!0);
|
57
|
+
}), (s, e) => (l(), x(r(D), {
|
58
|
+
modelValue: y.value,
|
59
|
+
"onUpdate:modelValue": e[3] || (e[3] = (t) => y.value = t),
|
60
|
+
class: "h-[36px]",
|
61
|
+
"is-attach-to-body": ""
|
62
|
+
}, {
|
63
|
+
menu: m(() => [
|
64
|
+
d("div", M, [
|
65
|
+
a.value.length ? (l(), i("div", $, [
|
66
|
+
e[4] || (e[4] = d("span", { class: "text-oc-text-400 font-medium" }, "Fixed columns", -1)),
|
67
|
+
c(r(A), w({
|
68
|
+
key: "key",
|
69
|
+
modelValue: a.value,
|
70
|
+
"onUpdate:modelValue": e[0] || (e[0] = (t) => a.value = t)
|
71
|
+
}, k), {
|
72
|
+
default: m(() => [
|
73
|
+
(l(!0), i(g, null, _(a.value, (t, o) => (l(), i("div", {
|
74
|
+
key: t.key,
|
75
|
+
class: j(["flex items-center justify-between h-[26px]", o ? "" : "is-disabled"])
|
76
|
+
}, [
|
77
|
+
d("span", null, C(t.label), 1),
|
78
|
+
o ? (l(), x(r(E), {
|
79
|
+
key: 0,
|
80
|
+
width: "18",
|
81
|
+
height: "18",
|
82
|
+
class: "text-oc-text-400 drag-el cursor-move",
|
83
|
+
name: "draggable"
|
84
|
+
})) : p("", !0)
|
85
|
+
], 2))), 128))
|
86
|
+
]),
|
87
|
+
_: 1
|
88
|
+
}, 16, ["modelValue"])
|
89
|
+
])) : p("", !0),
|
90
|
+
d("div", H, [
|
91
|
+
e[5] || (e[5] = d("span", { class: "text-oc-text-400 font-medium" }, "Active columns", -1)),
|
92
|
+
c(r(A), w({
|
93
|
+
key: "key",
|
94
|
+
modelValue: u.value,
|
95
|
+
"onUpdate:modelValue": e[2] || (e[2] = (t) => u.value = t)
|
96
|
+
}, k, { "data-active-headers": "true" }), {
|
97
|
+
default: m(() => [
|
98
|
+
(l(!0), i(g, null, _(u.value, (t) => (l(), i(g, {
|
99
|
+
key: t.key
|
100
|
+
}, [
|
101
|
+
t.key !== "actions" ? (l(), i("div", I, [
|
102
|
+
d("div", P, [
|
103
|
+
c(r(K), {
|
104
|
+
modelValue: t.isActive,
|
105
|
+
"onUpdate:modelValue": [
|
106
|
+
(o) => t.isActive = o,
|
107
|
+
e[1] || (e[1] = (o) => f())
|
108
|
+
],
|
109
|
+
class: "!w-fit"
|
110
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
111
|
+
d("div", q, C(t.label), 1)
|
112
|
+
]),
|
113
|
+
u.value.length > 1 ? (l(), x(r(E), {
|
114
|
+
key: 0,
|
115
|
+
width: "18",
|
116
|
+
height: "18",
|
117
|
+
class: "text-oc-text-400 drag-el cursor-move",
|
118
|
+
name: "draggable"
|
119
|
+
})) : p("", !0)
|
120
|
+
])) : p("", !0)
|
121
|
+
], 64))), 128))
|
122
|
+
]),
|
123
|
+
_: 1
|
124
|
+
}, 16, ["modelValue"])
|
125
|
+
])
|
126
|
+
])
|
127
|
+
]),
|
128
|
+
default: m(() => [
|
129
|
+
c(r(L), {
|
130
|
+
label: "Edit Column",
|
131
|
+
"left-icon": "setting",
|
132
|
+
variant: "secondary"
|
133
|
+
})
|
134
|
+
]),
|
135
|
+
_: 1
|
136
|
+
}, 8, ["modelValue"]));
|
137
|
+
}
|
138
|
+
};
|
139
|
+
export {
|
140
|
+
W as default
|
141
|
+
};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { T as l, L as n, R as s, K as T, O as b, P as d, M as o, Q as i } from "../../index-
|
1
|
+
import { T as l, L as n, R as s, K as T, O as b, P as d, M as o, Q as i } from "../../index-xVQMCW5L.js";
|
2
2
|
export {
|
3
3
|
l as ExpandingHeaderRow,
|
4
4
|
n as ExpandingTable,
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { ak as r, am as s, ai as u, ap as S, ao as o, al as t, an as d, aj as b } from "../../index-
|
2
|
-
import { default as n } from "../../OcAccountSetupProgress-
|
1
|
+
import { ak as r, am as s, ai as u, ap as S, ao as o, al as t, an as d, aj as b } from "../../index-xVQMCW5L.js";
|
2
|
+
import { default as n } from "../../OcAccountSetupProgress-BgGjUZAh.js";
|
3
3
|
export {
|
4
4
|
r as AccountSetup,
|
5
5
|
n as AccountSetupProgress,
|
package/dist/Form/index.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { _ as e, B as t, o, a as p, C as n, b as i, c as r, p as u, l, d as I, e as d, m as c, t as C, N as S, k as g, f as k, g as m, h as x, i as b, q as h, j as O, r as f, s as B, S as G, n as R } from "../index-
|
1
|
+
import { _ as e, B as t, o, a as p, C as n, b as i, c as r, p as u, l, d as I, e as d, m as c, t as C, N as S, k as g, f as k, g as m, h as x, i as b, q as h, j as O, r as f, s as B, S as G, n as R } from "../index-xVQMCW5L.js";
|
2
2
|
import { T as F } from "../OcToggle-Cp5dJ5LN.js";
|
3
3
|
export {
|
4
4
|
e as BaseInput,
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { openBlock as r, createElementBlock as n, createElementVNode as e, createVNode as o, unref as l, createTextVNode as d, toDisplayString as a, normalizeStyle as u } from "vue";
|
2
|
-
import "./index-
|
2
|
+
import "./index-xVQMCW5L.js";
|
3
3
|
import { _ as c } from "./OcIcon-CSpRxnwd.js";
|
4
4
|
const x = { class: "border relative z-10 border-oc-gray-200 shadow-normal bg-white rounded p-2 flex flex-col gap-y-2" }, p = { class: "py-2 px-3 gap-x-3 flex items-center" }, f = { class: "text-base flex-1 font-medium flex items-center gap-x-2" }, m = { class: "px-3 pb-3 flex flex-col gap-y-3" }, h = { class: "relative bg-oc-accent-1-50 rounded-full h-2" }, _ = { class: "flex items-center gap-x-3" }, g = { class: "text-sm text-oc-text-400" }, N = {
|
5
5
|
__name: "OcAccountSetupProgress",
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { ref as x, openBlock as o, createElementBlock as n, createElementVNode as b, Fragment as V, renderList as v, normalizeClass as k, unref as a, toDisplayString as p, createCommentVNode as i, createVNode as d, mergeProps as m } from "vue";
|
2
2
|
import { DatePicker as B } from "v-calendar";
|
3
3
|
import r from "dayjs";
|
4
|
-
import { B as f } from "./index-
|
4
|
+
import { B as f } from "./index-xVQMCW5L.js";
|
5
5
|
const C = { class: "flex flex-col p-6 gap-y-7 w-fit shadow-normal rounded" }, h = { class: "flex gap-x-7" }, M = {
|
6
6
|
key: 0,
|
7
7
|
class: "flex flex-col py-2 gap-y-4"
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ref as s, openBlock as d, createBlock as m, unref as t, withCtx as l, createVNode as n } from "vue";
|
2
|
-
import { aG as c, _ as f, az as b, aH as p, d as V } from "./index-
|
2
|
+
import { aG as c, _ as f, az as b, aH as p, d as V } from "./index-xVQMCW5L.js";
|
3
3
|
import r from "dayjs";
|
4
4
|
const x = {
|
5
5
|
__name: "OcComplexDatePicker",
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ref as u, watch as D, nextTick as J, openBlock as o, createElementBlock as h, createElementVNode as m, createBlock as r, unref as a, Fragment as K, createVNode as g, createCommentVNode as s, withCtx as T } from "vue";
|
2
|
-
import { B as k, d as x, C as y, h as M, aE as P } from "./index-
|
2
|
+
import { B as k, d as x, C as y, h as M, aE as P } from "./index-xVQMCW5L.js";
|
3
3
|
import { Cropper as Q } from "vue-advanced-cropper";
|
4
4
|
import { _ as W } from "./OcIcon-CSpRxnwd.js";
|
5
5
|
const X = { class: "flex flex-col gap-y-5" }, Y = ["src"], Z = { class: "flex gap-x-1 justify-center relative" }, _ = { class: "grid grid-cols-2 gap-4" }, ee = {
|