@orchidui/dashboard 0.6.0 → 0.8.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.
- package/dist/Dashboard/Card/OcCard.js +1 -1
- package/dist/Dashboard/Charts/PieChart/OcPieChart.js +1 -1
- package/dist/Dashboard/TextEditor/QuillEditor.js +1 -1
- package/dist/{OcCard-w0EuBfr4.js → OcCard-CfotNHx8.js} +1 -1
- package/dist/OcComplexCalendar-Boa7mNFU-BOc2Ou_B.js +5863 -0
- package/dist/OcComplexDatePicker-BydI4VSR-WtcGs_4g.js +92 -0
- package/dist/OcCropper-7E2i6ayU-D2MlvrOQ.js +1602 -0
- package/dist/OcDataTable-CsCGrRx7-BQ4BTMoM.js +580 -0
- package/dist/OcDraggable-CA_BCbpl-5qLRNtse.js +34 -0
- package/dist/OcDraggableList-BUu5SgoA-CFkaqmpK.js +157 -0
- package/dist/OcEmojiPicker-DYYK7OB3-bcz9JkU1.js +1170 -0
- package/dist/OcFilterForm-7ehuJUMp-D7aE0HSM.js +83 -0
- package/dist/OcFilterSearch-B4AZsLBn-C9rTBQa6.js +69 -0
- package/dist/OcFilterSearchFor-DfwJG-5N-BzJe6fhu.js +67 -0
- package/dist/OcModalCropper-Z4jlnFc5-CtKIW0ED.js +46 -0
- package/dist/{OcPieChart-Kn-CkXip.js → OcPieChart-B6eV6nlg.js} +1 -1
- package/dist/OcTimePicker-D9fPU8_m-DXvgZvEY.js +98 -0
- package/dist/OcTimePopup-CXGhaOev-Bh4cnZdX.js +130 -0
- package/dist/{QuillEditor-Bm3QXhLB.js → QuillEditor-CTgEQ0_O.js} +77 -80
- package/dist/SubPlanCard-DHj4RHJZ-BXLF6lxf.js +79 -0
- package/dist/ThumbnailSection-CJBS0QXp-CzVwtuYN.js +41 -0
- package/dist/ThumbnailTheme-hey6se0g-jbmLdCu-.js +118 -0
- package/dist/_commonjsHelpers-DaMA6jEr.js +8 -0
- package/dist/index-DyVteXE3-BhWmKQss.js +7340 -0
- package/dist/index.js +71 -71
- package/dist/vue-draggable-next.esm-bundler-Ci24Fze9.js +1543 -0
- package/package.json +4 -1
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { ref as i, openBlock as p, createBlock as c, unref as e, withCtx as l, createVNode as r } from "vue";
|
|
2
|
+
import { c as n, n as d, a as m, b, x as f, y as h } from "./index-DyVteXE3-BhWmKQss.js";
|
|
3
|
+
const V = {
|
|
4
|
+
__name: "OcComplexDatePicker",
|
|
5
|
+
props: {
|
|
6
|
+
shortcuts: Array,
|
|
7
|
+
cancelButtonProps: Object,
|
|
8
|
+
submitButtonProps: Object,
|
|
9
|
+
/**
|
|
10
|
+
* Props to pass to the calendar component from https://vcalendar.io/
|
|
11
|
+
*/
|
|
12
|
+
calendarProps: Object,
|
|
13
|
+
modelValue: {
|
|
14
|
+
type: Object,
|
|
15
|
+
default: () => ({
|
|
16
|
+
start: /* @__PURE__ */ new Date(),
|
|
17
|
+
end: /* @__PURE__ */ new Date()
|
|
18
|
+
})
|
|
19
|
+
},
|
|
20
|
+
formatDate: {
|
|
21
|
+
type: String,
|
|
22
|
+
default: "DD/MM/YYYY"
|
|
23
|
+
},
|
|
24
|
+
countCalendars: {
|
|
25
|
+
type: Number,
|
|
26
|
+
default: 2
|
|
27
|
+
},
|
|
28
|
+
withFooter: {
|
|
29
|
+
type: Boolean,
|
|
30
|
+
default: !0
|
|
31
|
+
},
|
|
32
|
+
label: String,
|
|
33
|
+
hint: String,
|
|
34
|
+
isRequired: Boolean,
|
|
35
|
+
errorMessage: String,
|
|
36
|
+
labelIcon: String,
|
|
37
|
+
tooltipText: String,
|
|
38
|
+
tooltipOptions: Object
|
|
39
|
+
},
|
|
40
|
+
emits: {
|
|
41
|
+
"update:modelValue": []
|
|
42
|
+
},
|
|
43
|
+
setup(t) {
|
|
44
|
+
n.extend(d);
|
|
45
|
+
const s = i(!1);
|
|
46
|
+
return (u, o) => (p(), c(e(m), {
|
|
47
|
+
label: t.label,
|
|
48
|
+
hint: t.hint,
|
|
49
|
+
"error-message": t.errorMessage,
|
|
50
|
+
"is-required": t.isRequired,
|
|
51
|
+
"tooltip-options": t.tooltipOptions,
|
|
52
|
+
"label-icon": t.labelIcon,
|
|
53
|
+
"tooltip-text": t.tooltipText
|
|
54
|
+
}, {
|
|
55
|
+
default: l(() => [
|
|
56
|
+
r(e(b), {
|
|
57
|
+
modelValue: s.value,
|
|
58
|
+
"onUpdate:modelValue": o[1] || (o[1] = (a) => s.value = a),
|
|
59
|
+
position: "bottom",
|
|
60
|
+
class: "w-full"
|
|
61
|
+
}, {
|
|
62
|
+
menu: l(() => [
|
|
63
|
+
r(e(f), {
|
|
64
|
+
"model-value": t.modelValue,
|
|
65
|
+
shortcuts: t.shortcuts,
|
|
66
|
+
"cancel-button-props": t.cancelButtonProps,
|
|
67
|
+
"submit-button-props": t.submitButtonProps,
|
|
68
|
+
"calendar-props": t.calendarProps,
|
|
69
|
+
"count-calendars": t.countCalendars,
|
|
70
|
+
"with-footer": t.withFooter,
|
|
71
|
+
"onUpdate:modelValue": o[0] || (o[0] = (a) => u.$emit("update:modelValue", a))
|
|
72
|
+
}, null, 8, ["model-value", "shortcuts", "cancel-button-props", "submit-button-props", "calendar-props", "count-calendars", "with-footer"])
|
|
73
|
+
]),
|
|
74
|
+
default: l(() => [
|
|
75
|
+
r(e(h), {
|
|
76
|
+
"model-value": `${e(n)(t.modelValue.start).format(t.formatDate)} - ${e(n)(
|
|
77
|
+
t.modelValue.end
|
|
78
|
+
).format(t.formatDate)}`,
|
|
79
|
+
icon: "calendar",
|
|
80
|
+
readonly: ""
|
|
81
|
+
}, null, 8, ["model-value"])
|
|
82
|
+
]),
|
|
83
|
+
_: 1
|
|
84
|
+
}, 8, ["modelValue"])
|
|
85
|
+
]),
|
|
86
|
+
_: 1
|
|
87
|
+
}, 8, ["label", "hint", "error-message", "is-required", "tooltip-options", "label-icon", "tooltip-text"]));
|
|
88
|
+
}
|
|
89
|
+
};
|
|
90
|
+
export {
|
|
91
|
+
V as default
|
|
92
|
+
};
|