admins-components 9.0.4 → 9.0.6
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/admins-components.js +58 -54
- package/dist/admins-components10.js +10 -0
- package/dist/admins-components100.js +23 -247
- package/dist/admins-components101.js +171 -26
- package/dist/admins-components102.js +65 -25
- package/dist/admins-components103.js +67 -162
- package/dist/admins-components104.js +27 -65
- package/dist/admins-components105.js +12 -63
- package/dist/admins-components106.js +26 -29
- package/dist/admins-components107.js +10 -16
- package/dist/admins-components108.js +3 -26
- package/dist/admins-components109.js +2 -8
- package/dist/admins-components11.js +38 -9
- package/dist/admins-components110.js +3 -4
- package/dist/admins-components111.js +21 -3
- package/dist/admins-components112.js +14 -3
- package/dist/admins-components113.js +7 -20
- package/dist/admins-components114.js +13 -14
- package/dist/admins-components115.js +34 -8
- package/dist/admins-components116.js +82 -12
- package/dist/admins-components117.js +9 -24
- package/dist/admins-components118.js +4 -82
- package/dist/admins-components119.js +8 -11
- package/dist/admins-components12.js +141 -37
- package/dist/admins-components120.js +6 -4
- package/dist/admins-components121.js +6 -8
- package/dist/admins-components122.js +14 -6
- package/dist/admins-components123.js +11 -4
- package/dist/admins-components124.js +30 -15
- package/dist/admins-components125.js +4 -13
- package/dist/admins-components126.js +29 -30
- package/dist/admins-components127.js +5 -4
- package/dist/admins-components128.js +5 -29
- package/dist/admins-components129.js +21 -4
- package/dist/admins-components13.js +5 -142
- package/dist/admins-components130.js +81 -4
- package/dist/admins-components131.js +32 -7
- package/dist/admins-components132.js +58 -73
- package/dist/admins-components133.js +24 -29
- package/dist/admins-components134.js +47 -56
- package/dist/admins-components135.js +31 -23
- package/dist/admins-components136.js +3 -50
- package/dist/admins-components137.js +184 -29
- package/dist/admins-components138.js +46 -3
- package/dist/admins-components139.js +35 -177
- package/dist/admins-components14.js +46 -5
- package/dist/admins-components140.js +41 -41
- package/dist/admins-components141.js +137 -32
- package/dist/admins-components142.js +54 -42
- package/dist/admins-components143.js +6 -140
- package/dist/admins-components144.js +5 -57
- package/dist/admins-components145.js +75 -6
- package/dist/admins-components146.js +28 -5
- package/dist/admins-components147.js +1929 -74
- package/dist/admins-components148.js +25068 -29
- package/dist/admins-components149.js +8 -1930
- package/dist/admins-components15.js +4 -46
- package/dist/admins-components150.js +5 -24809
- package/dist/admins-components151.js +141 -8
- package/dist/admins-components152.js +8 -141
- package/dist/admins-components153.js +3 -3
- package/dist/admins-components155.js +169 -0
- package/dist/admins-components156.js +44 -161
- package/dist/admins-components157.js +8 -50
- package/dist/admins-components158.js +49 -8
- package/dist/admins-components159.js +6 -50
- package/dist/admins-components16.js +94 -4
- package/dist/admins-components160.js +80 -6
- package/dist/admins-components161.js +48 -70
- package/dist/admins-components162.js +32 -31
- package/dist/admins-components163.js +8 -58
- package/dist/admins-components164.js +51 -8
- package/dist/admins-components165.js +8 -51
- package/dist/{admins-components168.js → admins-components167.js} +5 -5
- package/dist/admins-components17.js +225 -91
- package/dist/admins-components18.js +5 -228
- package/dist/admins-components19.js +181 -5
- package/dist/admins-components21.js +7 -0
- package/dist/admins-components22.js +72 -6
- package/dist/admins-components23.js +6 -72
- package/dist/admins-components24.js +58 -6
- package/dist/admins-components26.js +7 -0
- package/dist/admins-components27.js +60 -6
- package/dist/admins-components29.js +7 -0
- package/dist/admins-components30.js +36 -6
- package/dist/admins-components32.js +7 -0
- package/dist/admins-components33.js +36 -6
- package/dist/admins-components34.js +4 -36
- package/dist/admins-components35.js +32 -4
- package/dist/admins-components37.js +7 -0
- package/dist/admins-components38.js +147 -6
- package/dist/admins-components4.js +2 -2
- package/dist/admins-components40.js +7 -0
- package/dist/admins-components41.js +124 -6
- package/dist/admins-components42.js +4 -124
- package/dist/admins-components43.js +179 -4
- package/dist/admins-components44.js +4 -179
- package/dist/admins-components45.js +19 -4
- package/dist/admins-components47.js +7 -0
- package/dist/admins-components48.js +54 -6
- package/dist/admins-components49.js +93 -54
- package/dist/admins-components5.js +5 -0
- package/dist/admins-components51.js +7 -0
- package/dist/admins-components52.js +25 -6
- package/dist/admins-components53.js +9 -25
- package/dist/admins-components54.js +19 -9
- package/dist/admins-components55.js +72 -18
- package/dist/admins-components56.js +59 -73
- package/dist/admins-components57.js +4 -59
- package/dist/admins-components58.js +121 -0
- package/dist/admins-components6.js +29 -6
- package/dist/admins-components60.js +6 -6
- package/dist/admins-components61.js +126 -103
- package/dist/admins-components63.js +3 -3
- package/dist/admins-components64.js +7 -143
- package/dist/admins-components65.js +264 -0
- package/dist/admins-components67.js +6 -7
- package/dist/admins-components68.js +98 -250
- package/dist/admins-components7.js +252 -29
- package/dist/admins-components70.js +2 -2
- package/dist/admins-components71.js +54 -106
- package/dist/admins-components72.js +222 -0
- package/dist/admins-components74.js +6 -59
- package/dist/admins-components75.js +8 -221
- package/dist/admins-components76.js +47 -0
- package/dist/admins-components77.js +250 -6
- package/dist/admins-components79.js +7 -46
- package/dist/admins-components80.js +32 -245
- package/dist/admins-components82.js +2 -3
- package/dist/admins-components83.js +192 -31
- package/dist/admins-components85.js +2 -2
- package/dist/admins-components86.js +200 -195
- package/dist/admins-components88.js +3 -2
- package/dist/admins-components89.js +3 -203
- package/dist/admins-components90.js +17 -0
- package/dist/admins-components91.js +3 -7
- package/dist/admins-components92.js +52 -3
- package/dist/admins-components93.js +80 -50
- package/dist/admins-components94.js +109 -77
- package/dist/admins-components95.js +44 -3
- package/dist/admins-components96.js +101 -108
- package/dist/admins-components97.js +6 -23
- package/dist/admins-components98.js +257 -100
- package/dist/admins-components99.js +27 -7
- package/dist/base.css +1 -1
- package/dist/src/components/Button.vue.d.ts +1 -1
- package/dist/src/components/Calendar.vue.d.ts +1 -1
- package/dist/src/components/ConfirmModal.vue.d.ts +1 -1
- package/dist/src/components/DatePicker.vue.d.ts +2 -2
- package/dist/src/components/DateRangePicker.vue.d.ts +2 -2
- package/dist/src/components/DropdownMenu.vue.d.ts +2 -2
- package/dist/src/components/DropdownSelect.vue.d.ts +1 -1
- package/dist/src/components/HeaderComponent.vue.d.ts +2 -2
- package/dist/src/components/custom/ImagePicker.vue.d.ts +1 -1
- package/dist/src/components/data-table/DataCards.vue.d.ts +2 -2
- package/dist/src/components/data-table/DataCell.vue.d.ts +1 -1
- package/dist/src/components/data-table/DataFilters.vue.d.ts +4 -4
- package/dist/src/components/data-table/DataList.vue.d.ts +4 -4
- package/dist/src/components/data-table/DataListGuide.vue.d.ts +1 -1
- package/dist/src/components/data-table/DataListOptions.vue.d.ts +2 -2
- package/dist/src/components/data-table/DataPaginator.vue.d.ts +1 -1
- package/dist/src/components/data-table/DataTable.vue.d.ts +3 -3
- package/dist/src/components/data-table/FilterTags.vue.d.ts +1 -1
- package/dist/src/components/data-table/FiltersHistory.vue.d.ts +1 -1
- package/dist/src/index.d.ts +85 -80
- package/dist/src/styles/components/data-table/data-list.scss_vue_type_style_index_0_src_true_lang.css +1 -1
- package/dist/src/styles/components/data-table/filter-tags.scss_vue_type_style_index_0_src_true_lang.css +1 -1
- package/dist/src/styles/components/loader.scss_vue_type_style_index_0_src_true_lang.css +1 -1
- package/dist/src/vueformelements/config/ExternalArticleOfferElementConfig.d.ts +1 -1
- package/package.json +4 -5
- package/dist/admins-components154.js +0 -10
- package/dist/admins-components166.js +0 -10
- package/dist/admins-components20.js +0 -182
- package/dist/admins-components25.js +0 -59
- package/dist/admins-components28.js +0 -61
- package/dist/admins-components31.js +0 -37
- package/dist/admins-components36.js +0 -33
- package/dist/admins-components39.js +0 -148
- package/dist/admins-components46.js +0 -20
- package/dist/admins-components50.js +0 -94
- package/dist/admins-components59.js +0 -8
- package/dist/admins-components66.js +0 -8
- package/dist/admins-components73.js +0 -7
- package/dist/admins-components78.js +0 -9
- package/dist/admins-components8.js +0 -253
- package/dist/index.d.ts +0 -2
- package/dist/src/components/data-table/DataCell.vue_vue_type_style_index_0_scoped_d46d9895_lang.css +0 -1
- package/dist/src/styles/_buttons.scss_vue_type_style_index_0_src_true_lang.css +0 -1
|
@@ -1,253 +0,0 @@
|
|
|
1
|
-
import { formatDate as e, parseDate as t } from "./admins-components3.js";
|
|
2
|
-
import n from "./admins-components6.js";
|
|
3
|
-
import { calendarConfigDefaults as r } from "./admins-components7.js";
|
|
4
|
-
import { Fragment as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createTextVNode as ee, defineComponent as u, nextTick as d, normalizeClass as f, openBlock as p, ref as m, renderList as h, resolveDirective as te, toDisplayString as g, unref as _, useTemplateRef as v, watch as ne, withDirectives as re } from "vue";
|
|
5
|
-
//#region src/components/Calendar.vue?vue&type=script&setup=true&lang.ts
|
|
6
|
-
var ie = { class: "dp-calendar ac-component" }, ae = { class: "dp-header" }, oe = ["aria-label"], se = { class: "dp-header-labels" }, y = ["aria-label", "aria-hidden"], ce = ["onClick"], le = {
|
|
7
|
-
key: 1,
|
|
8
|
-
class: "dp-picker-grid dp-month-picker dp-picker-grid--3col"
|
|
9
|
-
}, ue = ["onClick"], b = {
|
|
10
|
-
key: 0,
|
|
11
|
-
class: "dp-weekday dp-weekday--week"
|
|
12
|
-
}, de = ["disabled", "onClick"], fe = {
|
|
13
|
-
key: 0,
|
|
14
|
-
class: "c-footer"
|
|
15
|
-
}, pe = { class: "dp-time-inputs" }, me = ["value", "disabled"], he = ["value", "disabled"], x = /* @__PURE__ */ u({
|
|
16
|
-
__name: "Calendar",
|
|
17
|
-
props: {
|
|
18
|
-
modelValue: {},
|
|
19
|
-
config: { default: () => ({ ...r }) }
|
|
20
|
-
},
|
|
21
|
-
emits: ["update:modelValue", "confirm"],
|
|
22
|
-
setup(u, { emit: x }) {
|
|
23
|
-
let S = u, C = x, w = a(() => ({
|
|
24
|
-
...r,
|
|
25
|
-
...S.config
|
|
26
|
-
})), T = a(() => w.value.format ?? (w.value.showTime ? "YYYY-MM-DD HH:mm" : "YYYY-MM-DD"));
|
|
27
|
-
function E(e) {
|
|
28
|
-
return e ? t(e, T.value) : null;
|
|
29
|
-
}
|
|
30
|
-
let D = E(S.modelValue), O = m(D?.getMonth() ?? (/* @__PURE__ */ new Date()).getMonth()), k = m(D?.getFullYear() ?? (/* @__PURE__ */ new Date()).getFullYear()), A = m(D), j = m(D?.getHours() ?? 0), M = m(D?.getMinutes() ?? 0), N = m(null);
|
|
31
|
-
ne(() => S.modelValue, (e) => {
|
|
32
|
-
let t = E(e ?? null);
|
|
33
|
-
t ? (A.value = t, O.value = t.getMonth(), k.value = t.getFullYear(), j.value = t.getHours(), M.value = t.getMinutes()) : A.value = null;
|
|
34
|
-
});
|
|
35
|
-
let P = a(() => Array.from({ length: 7 }, (e, t) => new Date(2024, 0, t + 1).toLocaleDateString(w.value.locale, { weekday: "narrow" }))), F = a(() => new Date(k.value, O.value).toLocaleDateString(w.value.locale, { month: "long" })), I = a(() => Array.from({ length: 12 }, (e, t) => new Date(2024, t).toLocaleDateString(w.value.locale, { month: "long" }))), L = a(() => {
|
|
36
|
-
let e = new Date(k.value, O.value, 1), t = new Date(k.value, O.value + 1, 0), n = (e.getDay() + 6) % 7, r = [];
|
|
37
|
-
for (let e = n - 1; e >= 0; e--) r.push({
|
|
38
|
-
date: new Date(k.value, O.value, -e),
|
|
39
|
-
currentMonth: !1,
|
|
40
|
-
disabled: V(new Date(k.value, O.value, -e))
|
|
41
|
-
});
|
|
42
|
-
for (let e = 1; e <= t.getDate(); e++) r.push({
|
|
43
|
-
date: new Date(k.value, O.value, e),
|
|
44
|
-
currentMonth: !0,
|
|
45
|
-
disabled: V(new Date(k.value, O.value, e))
|
|
46
|
-
});
|
|
47
|
-
for (let e = 1; r.length < 35; e++) r.push({
|
|
48
|
-
date: new Date(k.value, O.value + 1, e),
|
|
49
|
-
currentMonth: !1,
|
|
50
|
-
disabled: V(new Date(k.value, O.value + 1, e))
|
|
51
|
-
});
|
|
52
|
-
return r;
|
|
53
|
-
});
|
|
54
|
-
function R(e) {
|
|
55
|
-
let t = new Date(Date.UTC(e.getFullYear(), e.getMonth(), e.getDate())), n = (t.getUTCDay() + 6) % 7;
|
|
56
|
-
t.setUTCDate(t.getUTCDate() - n + 3);
|
|
57
|
-
let r = new Date(Date.UTC(t.getUTCFullYear(), 0, 4)), i = (t.getTime() - r.getTime()) / 864e5;
|
|
58
|
-
return 1 + Math.round((i - 3 + (r.getUTCDay() + 6) % 7) / 7);
|
|
59
|
-
}
|
|
60
|
-
let z = a(() => {
|
|
61
|
-
let e = [];
|
|
62
|
-
for (let t = 0; t < 6; t++) {
|
|
63
|
-
let n = L.value[t * 7]?.date;
|
|
64
|
-
e.push(n ? R(n) : 0);
|
|
65
|
-
}
|
|
66
|
-
return e;
|
|
67
|
-
});
|
|
68
|
-
function B(e) {
|
|
69
|
-
return new Date(e.getFullYear(), e.getMonth(), e.getDate());
|
|
70
|
-
}
|
|
71
|
-
function V(e) {
|
|
72
|
-
return w.value.minDate && e < B(w.value.minDate) || w.value.maxDate && e > B(w.value.maxDate) || !1;
|
|
73
|
-
}
|
|
74
|
-
function ge(e) {
|
|
75
|
-
return e.getDay() === 0 || e.getDay() === 6;
|
|
76
|
-
}
|
|
77
|
-
function H(e, t) {
|
|
78
|
-
return !!t && e.getFullYear() === t.getFullYear() && e.getMonth() === t.getMonth() && e.getDate() === t.getDate();
|
|
79
|
-
}
|
|
80
|
-
function _e(e) {
|
|
81
|
-
return H(e, /* @__PURE__ */ new Date());
|
|
82
|
-
}
|
|
83
|
-
function U(e) {
|
|
84
|
-
let t = new Date(k.value, O.value + e, 1);
|
|
85
|
-
k.value = t.getFullYear(), O.value = t.getMonth();
|
|
86
|
-
}
|
|
87
|
-
function W() {
|
|
88
|
-
N.value = null;
|
|
89
|
-
}
|
|
90
|
-
function ve() {
|
|
91
|
-
N.value ? W() : U(-1);
|
|
92
|
-
}
|
|
93
|
-
function ye() {
|
|
94
|
-
N.value ? W() : U(1);
|
|
95
|
-
}
|
|
96
|
-
let be = a(() => Array.from({ length: (/* @__PURE__ */ new Date()).getFullYear() + 3 - 2e3 + 1 }, (e, t) => 2e3 + t)), G = v("yearPickerRef");
|
|
97
|
-
function K(e) {
|
|
98
|
-
N.value = N.value === e ? null : e, N.value === "year" && d(() => {
|
|
99
|
-
let e = G.value, t = e?.querySelector(".dp-picker-item--selected");
|
|
100
|
-
t && e ? e.scrollTop = t.offsetTop - e.offsetHeight / 2 + t.offsetHeight / 2 : e && (e.scrollTop = e.scrollHeight);
|
|
101
|
-
});
|
|
102
|
-
}
|
|
103
|
-
function xe(e) {
|
|
104
|
-
k.value = e, N.value = null;
|
|
105
|
-
}
|
|
106
|
-
function Se(e) {
|
|
107
|
-
O.value = e, N.value = null;
|
|
108
|
-
}
|
|
109
|
-
function Ce(e) {
|
|
110
|
-
e.disabled || (A.value = new Date(e.date), q(), w.value.showTime && d(() => Z.value?.focus()));
|
|
111
|
-
}
|
|
112
|
-
function q() {
|
|
113
|
-
if (!A.value) {
|
|
114
|
-
C("update:modelValue", null);
|
|
115
|
-
return;
|
|
116
|
-
}
|
|
117
|
-
let t = new Date(A.value);
|
|
118
|
-
w.value.showTime ? t.setHours(j.value, M.value, 0, 0) : t.setHours(0, 0, 0, 0), C("update:modelValue", e(t, T.value));
|
|
119
|
-
}
|
|
120
|
-
function we() {
|
|
121
|
-
A.value = null, j.value = 0, M.value = 0, C("update:modelValue", null);
|
|
122
|
-
}
|
|
123
|
-
function J(e, t) {
|
|
124
|
-
return a({
|
|
125
|
-
get: () => String(t.value).padStart(2, "0"),
|
|
126
|
-
set: (n) => {
|
|
127
|
-
t.value = Math.min(e, Math.max(0, parseInt(n) || 0));
|
|
128
|
-
}
|
|
129
|
-
});
|
|
130
|
-
}
|
|
131
|
-
let Y = J(23, j), X = J(59, M), Z = v("hoursInput"), Q = v("minutesInput");
|
|
132
|
-
function $(e, t) {
|
|
133
|
-
let n = t.target;
|
|
134
|
-
e === "hours" ? (Y.value = n.value, n.value.length >= 2 && (Q.value?.focus(), Q.value?.select())) : (X.value = n.value, n.value.length >= 2 && n.blur()), q();
|
|
135
|
-
}
|
|
136
|
-
return (e, t) => {
|
|
137
|
-
let r = te("tooltip");
|
|
138
|
-
return p(), c("div", ie, [l("div", ae, [
|
|
139
|
-
l("button", {
|
|
140
|
-
class: "dp-nav-btn",
|
|
141
|
-
type: "button",
|
|
142
|
-
"aria-label": N.value ? "Back to days" : "Previous",
|
|
143
|
-
onClick: ve
|
|
144
|
-
}, [...t[7] ||= [l("i", { class: "fa-solid fa-chevron-left" }, null, -1)]], 8, oe),
|
|
145
|
-
l("div", se, [l("span", {
|
|
146
|
-
class: "dp-header-labels--item",
|
|
147
|
-
onClick: t[0] ||= (e) => K("year")
|
|
148
|
-
}, g(k.value), 1), l("span", {
|
|
149
|
-
class: "dp-header-labels--item",
|
|
150
|
-
onClick: t[1] ||= (e) => K("month")
|
|
151
|
-
}, g(F.value), 1)]),
|
|
152
|
-
l("button", {
|
|
153
|
-
class: f(["dp-nav-btn", { "dp-nav-btn--spacer": N.value !== null }]),
|
|
154
|
-
type: "button",
|
|
155
|
-
"aria-label": N.value ? "Back to days" : "Next",
|
|
156
|
-
"aria-hidden": N.value ? "true" : "false",
|
|
157
|
-
onClick: ye
|
|
158
|
-
}, [...t[8] ||= [l("i", { class: "fa-solid fa-chevron-right" }, null, -1)]], 10, y)
|
|
159
|
-
]), l("div", { class: f(["dp-body", { "dp-body--has-footer": w.value.showTime || w.value.showOkButton || w.value.showClearButton }]) }, [N.value === "year" ? (p(), c("div", {
|
|
160
|
-
key: 0,
|
|
161
|
-
ref_key: "yearPickerRef",
|
|
162
|
-
ref: G,
|
|
163
|
-
class: "dp-picker-grid dp-picker-grid--4col dp-picker-grid--scrollable c-scroll"
|
|
164
|
-
}, [(p(!0), c(i, null, h(be.value, (e) => (p(), c("button", {
|
|
165
|
-
key: e,
|
|
166
|
-
type: "button",
|
|
167
|
-
class: f(["dp-picker-item", {
|
|
168
|
-
"dp-picker-item--selected": e === k.value,
|
|
169
|
-
"dp-picker-item--today": e === (/* @__PURE__ */ new Date()).getFullYear()
|
|
170
|
-
}]),
|
|
171
|
-
onClick: (t) => xe(e)
|
|
172
|
-
}, g(e), 11, ce))), 128))], 512)) : N.value === "month" ? (p(), c("div", le, [(p(!0), c(i, null, h(I.value, (e, t) => (p(), c("button", {
|
|
173
|
-
key: t,
|
|
174
|
-
type: "button",
|
|
175
|
-
class: f(["dp-picker-item", {
|
|
176
|
-
"dp-picker-item--selected": t === O.value,
|
|
177
|
-
"dp-picker-item--today": t === (/* @__PURE__ */ new Date()).getMonth() && k.value === (/* @__PURE__ */ new Date()).getFullYear()
|
|
178
|
-
}]),
|
|
179
|
-
onClick: (e) => Se(t)
|
|
180
|
-
}, g(e), 11, ue))), 128))])) : (p(), c(i, { key: 2 }, [
|
|
181
|
-
l("div", { class: f(["dp-weekdays", { "dp-weekdays--has-week": w.value.showWeekNumber }]) }, [w.value.showWeekNumber ? (p(), c("span", b)) : s("", !0), (p(!0), c(i, null, h(P.value, (e) => (p(), c("span", {
|
|
182
|
-
key: e,
|
|
183
|
-
class: "dp-weekday"
|
|
184
|
-
}, g(e), 1))), 128))], 2),
|
|
185
|
-
l("div", { class: f(["dp-picker-grid", w.value.showWeekNumber ? "dp-picker-grid--8col" : "dp-picker-grid--7col"]) }, [(p(!0), c(i, null, h(L.value, (e, t) => (p(), c(i, { key: t }, [w.value.showWeekNumber && t % 7 == 0 ? re((p(), c("span", {
|
|
186
|
-
key: 0,
|
|
187
|
-
class: f(["dp-week-number", { "dp-week-number--other": !e.currentMonth && !L.value[t + 7]?.currentMonth }])
|
|
188
|
-
}, [ee(g(z.value[Math.floor(t / 7)]) + ". ", 1)], 2)), [[r, `${z.value[Math.floor(t / 7)]}. hét`]]) : s("", !0), l("button", {
|
|
189
|
-
type: "button",
|
|
190
|
-
class: f(["dp-picker-item dp-picker-item--circle", {
|
|
191
|
-
"dp-picker-item--other": !e.currentMonth,
|
|
192
|
-
"dp-picker-item--selected": H(e.date, A.value),
|
|
193
|
-
"dp-picker-item--today": _e(e.date),
|
|
194
|
-
"dp-picker-item--disabled": e.disabled,
|
|
195
|
-
"dp-picker-item--weekend": w.value.highlightWeekends && ge(e.date)
|
|
196
|
-
}]),
|
|
197
|
-
disabled: e.disabled,
|
|
198
|
-
onClick: (t) => Ce(e)
|
|
199
|
-
}, g(e.date.getDate()), 11, de)], 64))), 128))], 2),
|
|
200
|
-
w.value.showTime || w.value.showOkButton || w.value.showClearButton ? (p(), c("div", fe, [
|
|
201
|
-
w.value.showTime ? (p(), c(i, { key: 0 }, [t[10] ||= l("label", {
|
|
202
|
-
class: "dp-time-label",
|
|
203
|
-
for: "dp-hours"
|
|
204
|
-
}, "Time", -1), l("div", pe, [
|
|
205
|
-
l("input", {
|
|
206
|
-
id: "dp-hours",
|
|
207
|
-
ref_key: "hoursInput",
|
|
208
|
-
ref: Z,
|
|
209
|
-
type: "number",
|
|
210
|
-
class: "c-focus dp-time-input",
|
|
211
|
-
value: _(Y),
|
|
212
|
-
disabled: !A.value,
|
|
213
|
-
min: "0",
|
|
214
|
-
max: "23",
|
|
215
|
-
onInput: t[2] ||= (e) => $("hours", e),
|
|
216
|
-
onFocus: t[3] ||= (e) => e.target.select()
|
|
217
|
-
}, null, 40, me),
|
|
218
|
-
t[9] ||= l("span", { class: "dp-time-sep" }, ":", -1),
|
|
219
|
-
l("input", {
|
|
220
|
-
id: "dp-minutes",
|
|
221
|
-
ref_key: "minutesInput",
|
|
222
|
-
ref: Q,
|
|
223
|
-
type: "number",
|
|
224
|
-
class: "c-focus dp-time-input",
|
|
225
|
-
value: _(X),
|
|
226
|
-
disabled: !A.value,
|
|
227
|
-
min: "0",
|
|
228
|
-
max: "59",
|
|
229
|
-
onInput: t[4] ||= (e) => $("minutes", e),
|
|
230
|
-
onFocus: t[5] ||= (e) => e.target.select()
|
|
231
|
-
}, null, 40, he)
|
|
232
|
-
])], 64)) : s("", !0),
|
|
233
|
-
w.value.showClearButton ? (p(), o(n, {
|
|
234
|
-
key: 1,
|
|
235
|
-
label: "Törlés",
|
|
236
|
-
onClick: we,
|
|
237
|
-
outline: "",
|
|
238
|
-
disabled: !A.value
|
|
239
|
-
}, null, 8, ["disabled"])) : s("", !0),
|
|
240
|
-
w.value.showOkButton ? (p(), o(n, {
|
|
241
|
-
key: 2,
|
|
242
|
-
label: "OK",
|
|
243
|
-
type: "success",
|
|
244
|
-
onClick: t[6] ||= (e) => C("confirm", u.modelValue),
|
|
245
|
-
disabled: !A.value
|
|
246
|
-
}, null, 8, ["disabled"])) : s("", !0)
|
|
247
|
-
])) : s("", !0)
|
|
248
|
-
], 64))], 2)]);
|
|
249
|
-
};
|
|
250
|
-
}
|
|
251
|
-
});
|
|
252
|
-
//#endregion
|
|
253
|
-
export { x as default };
|
package/dist/index.d.ts
DELETED
package/dist/src/components/data-table/DataCell.vue_vue_type_style_index_0_scoped_d46d9895_lang.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.dc-datetime[data-v-d46d9895]{white-space:normal;display:inline}.dc-datetime__part[data-v-d46d9895]{white-space:nowrap}.dc-datetime__sep[data-v-d46d9895]{white-space:normal;width:.25em;display:inline-block}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.c-btn{--btn-color:var(--neutral-200);--btn-bg:var(--background-50);--btn-text:var(--neutral-800);--btn-hover-bg:var(--neutral-100);--btn-hover-border:var(--neutral-300);--btn-indicator-bg:var(--neutral-0);--btn-indicator-text:var(--neutral-700);--btn-height:2.25rem;--btn-height-sm:1.75rem;font-family:var(--ac-font-family);letter-spacing:-.18px;padding:var(--ac-field-padding);border:1px solid var(--btn-color);border-radius:var(--ac-field-border-radius);background:var(--btn-bg);color:var(--btn-text);font-size:var(--ac-field-font-size);cursor:pointer;align-items:center;gap:.375em;font-weight:500;transition:background-color .15s,border-color .15s,color .15s,box-shadow .15s;display:inline-flex}.c-btn:hover,.c-btn:active{background:var(--btn-hover-bg);border-color:var(--btn-hover-border)}.c-btn:focus-visible{outline:none;box-shadow:0 0 0 2px #f265221f}.c-btn:disabled{opacity:.5;cursor:not-allowed;pointer-events:none}.c-btn .c-btn-indicator{min-width:1.125rem;height:1.125rem;color:var(--btn-indicator-text);font-variant-numeric:tabular-nums;background:var(--btn-indicator-bg);border-radius:999px;justify-content:center;align-items:center;margin-left:.5rem;padding:0 .35rem;font-size:.75rem;font-weight:600;line-height:1;display:inline-flex}.c-btn-sm{padding:var(--ac-field-padding-sm);font-size:var(--ac-field-font-size-sm);border-radius:var(--ac-field-border-radius-sm)}.c-btn-lg{padding:var(--ac-field-padding-lg);font-size:var(--ac-field-font-size-lg);border-radius:var(--ac-field-border-radius-lg)}.c-btn-dark{--btn-color:var(--neutral-800);--btn-bg:var(--neutral-800);--btn-text:var(--neutral-0);--btn-hover-bg:var(--neutral-900);--btn-hover-border:var(--neutral-900);--btn-indicator-bg:var(--neutral-0);--btn-indicator-text:var(--neutral-800)}.c-btn-outline{--btn-bg:transparent;--btn-color:var(--neutral-300);--btn-text:var(--neutral-800);--btn-hover-bg:var(--neutral-800);--btn-hover-border:var(--neutral-500);--btn-indicator-bg:var(--neutral-100);--btn-indicator-text:var(--neutral-800)}.c-btn-outline:hover,.c-btn-outline:active{color:var(--neutral-0)}.c-btn-success{--btn-color:var(--ac-color-success);--btn-bg:var(--ac-color-success);--btn-text:var(--neutral-0);--btn-hover-bg:color-mix(in srgb, var(--ac-color-success) 85%, black);--btn-hover-border:color-mix(in srgb, var(--ac-color-success) 85%, black);--btn-indicator-bg:var(--neutral-0);--btn-indicator-text:var(--ac-color-success)}.c-btn-error{--btn-color:var(--ac-color-error);--btn-bg:var(--ac-color-error);--btn-text:var(--neutral-0);--btn-hover-bg:color-mix(in srgb, var(--ac-color-error) 85%, black);--btn-hover-border:color-mix(in srgb, var(--ac-color-error) 85%, black);--btn-indicator-bg:var(--neutral-0);--btn-indicator-text:var(--ac-color-error)}.c-btn-warning{--btn-color:var(--ac-color-warning);--btn-bg:var(--ac-color-warning);--btn-text:var(--neutral-0);--btn-hover-bg:color-mix(in srgb, var(--ac-color-warning) 85%, black);--btn-hover-border:color-mix(in srgb, var(--ac-color-warning) 85%, black);--btn-indicator-bg:var(--neutral-0);--btn-indicator-text:var(--ac-color-warning)}.c-btn-info{--btn-color:var(--ac-color-info);--btn-bg:var(--ac-color-info);--btn-text:var(--neutral-0);--btn-hover-bg:color-mix(in srgb, var(--ac-color-info) 85%, black);--btn-hover-border:color-mix(in srgb, var(--ac-color-info) 85%, black);--btn-indicator-bg:var(--neutral-0);--btn-indicator-text:var(--ac-color-info)}.c-btn-outline.c-btn-success{--btn-bg:transparent;--btn-text:var(--ac-color-success);--btn-hover-bg:var(--ac-color-success);--btn-hover-border:var(--ac-color-success);--btn-indicator-bg:var(--ac-color-success);--btn-indicator-text:var(--neutral-0)}.c-btn-outline.c-btn-success:hover,.c-btn-outline.c-btn-success:active{color:var(--neutral-0);--btn-indicator-bg:var(--neutral-0);--btn-indicator-text:var(--neutral-700)}.c-btn-outline.c-btn-error{--btn-bg:transparent;--btn-text:var(--ac-color-error);--btn-hover-bg:var(--ac-color-error);--btn-hover-border:var(--ac-color-error);--btn-indicator-bg:var(--ac-color-error);--btn-indicator-text:var(--neutral-0)}.c-btn-outline.c-btn-error:hover,.c-btn-outline.c-btn-error:active{color:var(--neutral-0);--btn-indicator-bg:var(--neutral-0);--btn-indicator-text:var(--neutral-700)}.c-btn-outline.c-btn-warning{--btn-bg:transparent;--btn-text:var(--ac-color-warning);--btn-hover-bg:var(--ac-color-warning);--btn-hover-border:var(--ac-color-warning);--btn-indicator-bg:var(--ac-color-warning);--btn-indicator-text:var(--neutral-900)}.c-btn-outline.c-btn-warning:hover,.c-btn-outline.c-btn-warning:active{color:var(--neutral-900);--btn-indicator-bg:var(--neutral-0);--btn-indicator-text:var(--neutral-700)}.c-btn-outline.c-btn-info{--btn-bg:transparent;--btn-text:var(--ac-color-info);--btn-hover-bg:var(--ac-color-info);--btn-hover-border:var(--ac-color-info);--btn-indicator-bg:var(--ac-color-info);--btn-indicator-text:var(--neutral-0)}.c-btn-outline.c-btn-info:hover,.c-btn-outline.c-btn-info:active{color:var(--neutral-0);--btn-indicator-bg:var(--neutral-0);--btn-indicator-text:var(--neutral-700)}.c-btn-outline.c-btn-dark{--btn-bg:transparent;--btn-color:var(--neutral-800);--btn-text:var(--neutral-800);--btn-hover-bg:var(--neutral-800);--btn-hover-border:var(--neutral-800);--btn-indicator-bg:var(--neutral-800);--btn-indicator-text:var(--neutral-0)}.c-btn-outline.c-btn-dark:hover,.c-btn-outline.c-btn-dark:active{color:var(--neutral-0);--btn-indicator-bg:var(--neutral-0);--btn-indicator-text:var(--neutral-700)}
|