@qikdev/vue-ui 0.2.388 → 0.2.389
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/lib.es.js +9 -7
- package/dist/lib.es.js.map +1 -1
- package/dist/lib.umd.js +2 -2
- package/dist/lib.umd.js.map +1 -1
- package/dist/vue-ui.css +1 -1
- package/package.json +1 -1
package/dist/lib.es.js
CHANGED
|
@@ -4,7 +4,7 @@ var Lh = (e, t, n) => t in e ? $h(e, t, { enumerable: !0, configurable: !0, writ
|
|
|
4
4
|
var re = (e, t, n) => Lh(e, typeof t != "symbol" ? t + "" : t, n);
|
|
5
5
|
import { defineComponent as Fo, ref as bt, toRefs as of, onMounted as Ao, onBeforeUnmount as Ph, watch as ci, computed as In, createElementBlock as h, openBlock as u, createCommentVNode as _, renderSlot as H, normalizeClass as L, useSlots as Rh, reactive as fn, provide as Ci, resolveComponent as y, createVNode as c, Fragment as D, createBlock as k, unref as _t, withCtx as f, renderList as N, toDisplayString as b, createTextVNode as O, withDirectives as X, vShow as dr, withModifiers as z, createElementVNode as w, h as uo, mergeProps as mt, toHandlers as wt, normalizeStyle as Ge, resolveDirective as lf, resolveDynamicComponent as Vt, vModelSelect as Et, pushScopeId as je, popScopeId as qe, getCurrentScope as Uh, onScopeDispose as jh, getCurrentInstance as qh, Teleport as uf, Transition as Bh, withKeys as Ee, vModelText as be, TransitionGroup as zh, nextTick as df, vModelDynamic as Tr, normalizeProps as Wh } from "vue";
|
|
6
6
|
import { EventDispatcher as cf } from "@qikdev/sdk";
|
|
7
|
-
const Hh = "0.2.
|
|
7
|
+
const Hh = "0.2.389";
|
|
8
8
|
class pn extends Error {
|
|
9
9
|
}
|
|
10
10
|
class Gh extends pn {
|
|
@@ -12225,6 +12225,7 @@ const zw = {
|
|
|
12225
12225
|
selectedMeridian: "PM",
|
|
12226
12226
|
lastValidValue: null,
|
|
12227
12227
|
parseTimeout: null,
|
|
12228
|
+
syncingFromModel: !1,
|
|
12228
12229
|
weekdayNames: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
|
|
12229
12230
|
monthNames: [
|
|
12230
12231
|
"January",
|
|
@@ -12326,13 +12327,13 @@ const zw = {
|
|
|
12326
12327
|
this.debouncedParse(e);
|
|
12327
12328
|
},
|
|
12328
12329
|
selectedHour() {
|
|
12329
|
-
this.emitTimeChange();
|
|
12330
|
+
this.syncingFromModel || this.emitTimeChange();
|
|
12330
12331
|
},
|
|
12331
12332
|
selectedMinute() {
|
|
12332
|
-
this.emitTimeChange();
|
|
12333
|
+
this.syncingFromModel || this.emitTimeChange();
|
|
12333
12334
|
},
|
|
12334
12335
|
selectedMeridian() {
|
|
12335
|
-
this.emitTimeChange();
|
|
12336
|
+
this.syncingFromModel || this.emitTimeChange();
|
|
12336
12337
|
}
|
|
12337
12338
|
},
|
|
12338
12339
|
methods: {
|
|
@@ -12422,8 +12423,9 @@ const zw = {
|
|
|
12422
12423
|
this.lastValidValue = t, this.displayText = this.formatDateForDisplay(t), this.$emit("update:modelValue", t.toISOString()), this.dateOnly && this.closeMenu();
|
|
12423
12424
|
},
|
|
12424
12425
|
syncTimeFromDate(e) {
|
|
12426
|
+
this.syncingFromModel = !0;
|
|
12425
12427
|
let t = e.getHours(), n = "AM";
|
|
12426
|
-
t >= 12 && (n = "PM", t > 12 && (t -= 12)), t === 0 && (t = 12), this.selectedHour = t === 12 ? 0 : t, this.selectedMinute = Math.floor(e.getMinutes() / 5) * 5, this.selectedMeridian = n;
|
|
12428
|
+
t >= 12 && (n = "PM", t > 12 && (t -= 12)), t === 0 && (t = 12), this.selectedHour = t === 12 ? 0 : t, this.selectedMinute = Math.floor(e.getMinutes() / 5) * 5, this.selectedMeridian = n, this.syncingFromModel = !1;
|
|
12427
12429
|
},
|
|
12428
12430
|
emitTimeChange() {
|
|
12429
12431
|
if (!this.lastValidValue || this.dateOnly) return;
|
|
@@ -12451,7 +12453,7 @@ const zw = {
|
|
|
12451
12453
|
beforeUnmount() {
|
|
12452
12454
|
this.parseTimeout && clearTimeout(this.parseTimeout);
|
|
12453
12455
|
}
|
|
12454
|
-
}, Nm = (e) => (je("data-v-
|
|
12456
|
+
}, Nm = (e) => (je("data-v-210facd3"), e = e(), qe(), e), Ww = {
|
|
12455
12457
|
class: "ux-datepicker",
|
|
12456
12458
|
ref: "container"
|
|
12457
12459
|
}, Hw = { class: "ux-datepicker-input-wrap" }, Gw = ["placeholder"], Yw = /* @__PURE__ */ Nm(() => /* @__PURE__ */ w("span", null, null, -1)), Jw = { class: "ux-datepicker-calendar" }, Kw = { class: "ux-datepicker-header" }, Zw = { class: "ux-datepicker-month-year" }, Xw = { class: "ux-datepicker-weekdays" }, Qw = { class: "ux-datepicker-days" }, ex = ["disabled", "onClick"], tx = {
|
|
@@ -12616,7 +12618,7 @@ function ax(e, t, n, i, s, r) {
|
|
|
12616
12618
|
}, 8, ["modelValue"])
|
|
12617
12619
|
], 512);
|
|
12618
12620
|
}
|
|
12619
|
-
const $m = /* @__PURE__ */ M(zw, [["render", ax], ["__scopeId", "data-v-
|
|
12621
|
+
const $m = /* @__PURE__ */ M(zw, [["render", ax], ["__scopeId", "data-v-210facd3"]]);
|
|
12620
12622
|
function Nr(e) {
|
|
12621
12623
|
var t = new Date(e);
|
|
12622
12624
|
if (t instanceof Date && !isNaN(t.getTime()))
|