@s_and_a/arrow-ui 0.1.11 → 0.1.13
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/{contracts-MlDifXRO.js → contracts-BsrLkSLM.js} +5 -5
- package/dist/{design-DQEH2c8P.js → design-HHaurir0.js} +1 -1
- package/dist/design.js +2 -2
- package/dist/index.js +497 -373
- package/dist/{requirements-D6YQEVU7.js → requirements-Ddub119-.js} +1 -1
- package/dist/requirements.js +1 -1
- package/dist/style.css +1 -1
- package/dist/types/components/ArAvatar.vue.d.ts +1 -1
- package/dist/types/components/ArAvatarGroup.vue.d.ts +1 -1
- package/dist/types/components/ArButton.vue.d.ts +1 -1
- package/dist/types/components/ArCalendar.vue.d.ts +1 -1
- package/dist/types/components/ArChangedValue.vue.d.ts +1 -1
- package/dist/types/components/ArDateView.vue.d.ts +1 -1
- package/dist/types/components/ArDescriptions.vue.d.ts +1 -1
- package/dist/types/components/ArEllipsis.contract.d.ts +2 -0
- package/dist/types/components/ArField.contract.d.ts +2 -0
- package/dist/types/components/ArField.vue.d.ts +1 -0
- package/dist/types/components/ArImage.vue.d.ts +1 -1
- package/dist/types/components/ArList.contract.d.ts +2 -0
- package/dist/types/components/ArNotification.vue.d.ts +1 -1
- package/dist/types/components/ArPeriodNav.vue.d.ts +3 -3
- package/dist/types/components/ArProfileCard.contract.d.ts +5 -0
- package/dist/types/components/ArProfileCard.vue.d.ts +8 -1
- package/dist/types/components/ArShiftDaySheet.vue.d.ts +3 -3
- package/dist/types/components/ArShiftGrid.vue.d.ts +1 -1
- package/dist/types/components/ArTable.contract.d.ts +2 -0
- package/dist/types/components/ArTag.contract.d.ts +4 -0
- package/dist/types/components/ArTextInput.contract.d.ts +2 -0
- package/dist/types/components/ArTextInput.vue.d.ts +1 -0
- package/dist/types/components/ArThumbnail.vue.d.ts +1 -1
- package/dist/types/components/ArTree.vue.d.ts +1 -1
- package/dist/types/components/ArTreeSelect.contract.d.ts +1 -1
- package/dist/types/components/ArTreeSelect.vue.d.ts +1 -1
- package/dist/types/components/ArUpload.contract.d.ts +2 -0
- package/dist/types/components/ArUpload.vue.d.ts +1 -1
- package/dist/types/components/ArVariablePanel.vue.d.ts +1 -1
- package/dist/types/components/ArWizard.contract.d.ts +2 -0
- package/dist/types/components/ArWizard.vue.d.ts +3 -2
- package/dist/types/components/ArZipInput.contract.d.ts +1 -1
- package/dist/types/contracts.d.ts +5 -5
- package/dist/types/internal/shiftGrid.d.ts +2 -0
- package/dist/types/layout/ArSplit.vue.d.ts +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as e, i as t, n, r, t as i } from "./contracts-
|
|
2
|
-
import { n as a, t as o } from "./design-
|
|
1
|
+
import { a as e, i as t, n, r, t as i } from "./contracts-BsrLkSLM.js";
|
|
2
|
+
import { n as a, t as o } from "./design-HHaurir0.js";
|
|
3
3
|
import { F as s, dn as c, fn as l, hn as u, mn as d, pn as f, z as p } from "./product-Dz4uZzyu.js";
|
|
4
|
-
import { r as m, t as h } from "./requirements-
|
|
4
|
+
import { r as m, t as h } from "./requirements-Ddub119-.js";
|
|
5
5
|
import { paletteNames as g, paletteSlots as _, toDeclarations as v, tokenNames as y } from "@s_and_a/arrow-ui-tokens";
|
|
6
6
|
import { Comment as b, Fragment as x, Teleport as S, Text as C, Transition as w, TransitionGroup as T, cloneVNode as E, computed as D, createBlock as O, createCommentVNode as k, createElementBlock as A, createElementVNode as j, createSlots as M, createStaticVNode as N, createTextVNode as P, createVNode as F, defineComponent as I, getCurrentInstance as ee, guardReactiveProps as L, h as te, inject as ne, isRef as R, isVNode as re, markRaw as ie, mergeProps as z, nextTick as B, normalizeClass as ae, normalizeProps as oe, normalizeStyle as V, onBeforeUnmount as se, onMounted as ce, onUpdated as le, openBlock as H, provide as ue, reactive as de, ref as U, render as fe, renderList as W, renderSlot as G, resolveComponent as pe, resolveDynamicComponent as K, shallowReactive as me, shallowRef as he, toDisplayString as q, toRef as ge, unref as J, useAttrs as _e, useId as ve, useSlots as ye, vModelText as be, vShow as xe, watch as Y, withCtx as X, withDirectives as Se, withKeys as Ce, withModifiers as Z } from "vue";
|
|
7
7
|
// src/icons.ts
|
|
@@ -2473,6 +2473,7 @@ var Wn = [
|
|
|
2473
2473
|
"data-size",
|
|
2474
2474
|
"data-variant",
|
|
2475
2475
|
"data-block",
|
|
2476
|
+
"data-columns",
|
|
2476
2477
|
"data-state"
|
|
2477
2478
|
], Yn = {
|
|
2478
2479
|
key: 0,
|
|
@@ -2556,6 +2557,7 @@ var Wn = [
|
|
|
2556
2557
|
type: Boolean,
|
|
2557
2558
|
default: !1
|
|
2558
2559
|
},
|
|
2560
|
+
columns: { default: void 0 },
|
|
2559
2561
|
align: { default: void 0 },
|
|
2560
2562
|
label: { default: void 0 },
|
|
2561
2563
|
id: { default: void 0 },
|
|
@@ -2583,7 +2585,7 @@ var Wn = [
|
|
|
2583
2585
|
setup(e, { expose: t, emit: n }) {
|
|
2584
2586
|
let r = e, i = n, a = _e(), o = D(() => typeof a["aria-label"] == "string" ? a["aria-label"] : r.label), s = D(() => ({
|
|
2585
2587
|
class: a.class,
|
|
2586
|
-
style: a.style
|
|
2588
|
+
style: [r.columns ? { "--ar-input-columns": `${r.columns}ch` } : void 0, a.style]
|
|
2587
2589
|
})), c = D(() => {
|
|
2588
2590
|
let { class: e, style: t, ...n } = a;
|
|
2589
2591
|
return n;
|
|
@@ -2623,6 +2625,7 @@ var Wn = [
|
|
|
2623
2625
|
"data-size": e.size,
|
|
2624
2626
|
"data-variant": e.variant,
|
|
2625
2627
|
"data-block": e.block || void 0,
|
|
2628
|
+
"data-columns": e.columns || void 0,
|
|
2626
2629
|
"data-state": [
|
|
2627
2630
|
h.value && "invalid",
|
|
2628
2631
|
!h.value && e.warning && "warning",
|
|
@@ -4030,6 +4033,8 @@ var _r = (e) => e.key.length === 1 && !e.ctrlKey && !e.metaKey && !e.altKey && e
|
|
|
4030
4033
|
type: Boolean,
|
|
4031
4034
|
default: !1
|
|
4032
4035
|
},
|
|
4036
|
+
block: { type: Boolean },
|
|
4037
|
+
minWidth: {},
|
|
4033
4038
|
closable: {
|
|
4034
4039
|
type: Boolean,
|
|
4035
4040
|
default: !1
|
|
@@ -4069,6 +4074,11 @@ var _r = (e) => e.key.length === 1 && !e.ctrlKey && !e.metaKey && !e.altKey && e
|
|
|
4069
4074
|
"data-shape": e.shape,
|
|
4070
4075
|
"data-size": e.size,
|
|
4071
4076
|
"data-count": e.count || void 0,
|
|
4077
|
+
"data-block": e.block || void 0,
|
|
4078
|
+
style: V(e.minWidth === void 0 ? void 0 : {
|
|
4079
|
+
minWidth: `${e.minWidth}px`,
|
|
4080
|
+
justifyContent: "center"
|
|
4081
|
+
}),
|
|
4072
4082
|
"data-kind": e.checkable ? "checkable" : e.dashed ? "dashed" : void 0,
|
|
4073
4083
|
"data-state": a.value,
|
|
4074
4084
|
type: i.value ? "button" : void 0,
|
|
@@ -4103,6 +4113,8 @@ var _r = (e) => e.key.length === 1 && !e.ctrlKey && !e.metaKey && !e.altKey && e
|
|
|
4103
4113
|
"data-shape",
|
|
4104
4114
|
"data-size",
|
|
4105
4115
|
"data-count",
|
|
4116
|
+
"data-block",
|
|
4117
|
+
"style",
|
|
4106
4118
|
"data-kind",
|
|
4107
4119
|
"data-state",
|
|
4108
4120
|
"type",
|
|
@@ -4375,6 +4387,10 @@ var _r = (e) => e.key.length === 1 && !e.ctrlKey && !e.metaKey && !e.altKey && e
|
|
|
4375
4387
|
type: Boolean,
|
|
4376
4388
|
default: !1
|
|
4377
4389
|
},
|
|
4390
|
+
nextDisabled: {
|
|
4391
|
+
type: Boolean,
|
|
4392
|
+
default: !1
|
|
4393
|
+
},
|
|
4378
4394
|
layout: { default: "fluid" },
|
|
4379
4395
|
labels: { default: () => ({
|
|
4380
4396
|
steps: "手順",
|
|
@@ -4446,12 +4462,13 @@ var _r = (e) => e.key.length === 1 && !e.ctrlKey && !e.metaKey && !e.altKey && e
|
|
|
4446
4462
|
key: 1,
|
|
4447
4463
|
tone: "primary",
|
|
4448
4464
|
intent: a.value.nextIntent,
|
|
4465
|
+
disabled: e.nextDisabled,
|
|
4449
4466
|
size: "lg",
|
|
4450
4467
|
onClick: n[1] ||= (e) => r("next")
|
|
4451
4468
|
}, {
|
|
4452
4469
|
default: X(() => [P(q(u.value), 1)]),
|
|
4453
4470
|
_: 1
|
|
4454
|
-
}, 8, ["intent"]))])) : k("", !0)
|
|
4471
|
+
}, 8, ["intent", "disabled"]))])) : k("", !0)
|
|
4455
4472
|
], 8, Ui));
|
|
4456
4473
|
}
|
|
4457
4474
|
}), Yi = ["data-block", "data-state"], Xi = ["aria-label"], Zi = {
|
|
@@ -6198,8 +6215,8 @@ var To = [
|
|
|
6198
6215
|
y: "",
|
|
6199
6216
|
m: "",
|
|
6200
6217
|
d: ""
|
|
6201
|
-
}), v = U(!1);
|
|
6202
|
-
function
|
|
6218
|
+
}), v = U(!1), y = U(null);
|
|
6219
|
+
function b(e) {
|
|
6203
6220
|
let t = _o(e);
|
|
6204
6221
|
(t || !v.value) && (_.value = t ? {
|
|
6205
6222
|
y: String(t.y),
|
|
@@ -6211,14 +6228,14 @@ var To = [
|
|
|
6211
6228
|
d: ""
|
|
6212
6229
|
});
|
|
6213
6230
|
}
|
|
6214
|
-
|
|
6215
|
-
h ||
|
|
6231
|
+
b(r.modelValue), Y(() => r.modelValue, (e) => {
|
|
6232
|
+
h || b(e);
|
|
6216
6233
|
});
|
|
6217
|
-
let
|
|
6234
|
+
let x = D(() => {
|
|
6218
6235
|
if (r.years) return [...r.years];
|
|
6219
6236
|
let e = Number(_.value.y) || n, t = Math.min(r.minYear ?? n - 5, e), i = Math.max(r.maxYear ?? n + 5, e);
|
|
6220
6237
|
return Array.from({ length: i - t + 1 }, (e, n) => p.value === "desc" ? i - n : t + n);
|
|
6221
|
-
}),
|
|
6238
|
+
}), S = D(() => {
|
|
6222
6239
|
let e = _o(r.modelValue);
|
|
6223
6240
|
if (!e) return null;
|
|
6224
6241
|
let t = ho(e.y, e.m, e.d);
|
|
@@ -6227,19 +6244,24 @@ var To = [
|
|
|
6227
6244
|
kind: t === 0 ? "sun" : t === 6 ? "sat" : "weekday"
|
|
6228
6245
|
};
|
|
6229
6246
|
});
|
|
6230
|
-
function
|
|
6231
|
-
let
|
|
6247
|
+
function C(e = !0) {
|
|
6248
|
+
let t = vo(_.value.y), n = vo(_.value.m), a = vo(_.value.d), o = t && n && a ? yo(t, n, a) : null;
|
|
6232
6249
|
v.value = !1;
|
|
6233
|
-
let
|
|
6234
|
-
if (l.value === "message" && (
|
|
6250
|
+
let s = _.value.m !== "" && (!n || n > 12) || _.value.d !== "" && (!a || a > 31);
|
|
6251
|
+
if (l.value === "message" && (s || t && n && a && o !== go(t, n, a)) && (v.value = !0, o = null), o !== r.modelValue && (h = !0, i("update:modelValue", o), B(() => {
|
|
6235
6252
|
h = !1;
|
|
6236
|
-
})), !v.value &&
|
|
6237
|
-
let e = _o(
|
|
6253
|
+
})), e && !v.value && o) {
|
|
6254
|
+
let e = _o(o);
|
|
6238
6255
|
_.value.m = m(e.m), _.value.d = m(e.d);
|
|
6239
6256
|
}
|
|
6240
6257
|
}
|
|
6241
|
-
function
|
|
6242
|
-
if (
|
|
6258
|
+
function w(e, t) {
|
|
6259
|
+
if (r.updateOnInput && C(!1), e !== "m" || !(t.target instanceof HTMLInputElement)) return;
|
|
6260
|
+
let n = t.target, i = vo(n.value);
|
|
6261
|
+
document.activeElement === n && i && i <= 12 && (n.value.length === 2 || i >= 2) && (y.value?.focus(), y.value?.select());
|
|
6262
|
+
}
|
|
6263
|
+
function T(e, t) {
|
|
6264
|
+
if (t.key === "Enter") return C();
|
|
6243
6265
|
if (t.key !== "ArrowUp" && t.key !== "ArrowDown") return;
|
|
6244
6266
|
t.preventDefault();
|
|
6245
6267
|
let r = t.key === "ArrowUp" ? 1 : -1, i = vo(_.value.y) ?? n, a = vo(_.value.m), o = vo(_.value.d);
|
|
@@ -6250,10 +6272,10 @@ var To = [
|
|
|
6250
6272
|
let e = mo(i, a ?? 1);
|
|
6251
6273
|
_.value.d = String(o ? (o - 1 + r + e) % e + 1 : 1);
|
|
6252
6274
|
}
|
|
6253
|
-
_.value.m && _.value.d &&
|
|
6275
|
+
_.value.m && _.value.d && C();
|
|
6254
6276
|
}
|
|
6255
|
-
function
|
|
6256
|
-
e === null ? (_.value.y = "",
|
|
6277
|
+
function E(e) {
|
|
6278
|
+
e === null ? (_.value.y = "", C()) : (_.value.y = String(e), C());
|
|
6257
6279
|
}
|
|
6258
6280
|
return (t, n) => (H(), A("span", {
|
|
6259
6281
|
"data-ar": "date-input",
|
|
@@ -6271,14 +6293,14 @@ var To = [
|
|
|
6271
6293
|
F(so, {
|
|
6272
6294
|
id: e.id,
|
|
6273
6295
|
"model-value": Number(_.value.y) || null,
|
|
6274
|
-
years:
|
|
6296
|
+
years: x.value,
|
|
6275
6297
|
"label-of": e.era ? J(lo) : void 0,
|
|
6276
6298
|
"allow-empty": f.value === "option",
|
|
6277
6299
|
placeholder: e.labels.empty ?? "未選択",
|
|
6278
6300
|
invalid: e.invalid,
|
|
6279
6301
|
disabled: e.disabled,
|
|
6280
6302
|
label: `${e.label ?? ""}${e.labels.year}`,
|
|
6281
|
-
"onUpdate:modelValue":
|
|
6303
|
+
"onUpdate:modelValue": E
|
|
6282
6304
|
}, null, 8, [
|
|
6283
6305
|
"id",
|
|
6284
6306
|
"model-value",
|
|
@@ -6300,13 +6322,15 @@ var To = [
|
|
|
6300
6322
|
disabled: e.disabled,
|
|
6301
6323
|
"aria-label": `${e.label ?? ""}${e.labels.month}`,
|
|
6302
6324
|
"aria-invalid": e.invalid || v.value || void 0,
|
|
6303
|
-
onInput: n[1] ||= (
|
|
6304
|
-
onBlur:
|
|
6305
|
-
onKeydown: n[
|
|
6325
|
+
onInput: n[1] ||= (e) => w("m", e),
|
|
6326
|
+
onBlur: n[2] ||= (e) => C(),
|
|
6327
|
+
onKeydown: n[3] ||= (e) => T("m", e)
|
|
6306
6328
|
}, null, 40, Do), [[be, _.value.m]]),
|
|
6307
6329
|
j("span", Oo, q(e.labels.month), 1),
|
|
6308
6330
|
Se(j("input", {
|
|
6309
|
-
|
|
6331
|
+
ref_key: "dayInput",
|
|
6332
|
+
ref: y,
|
|
6333
|
+
"onUpdate:modelValue": n[4] ||= (e) => _.value.d = e,
|
|
6310
6334
|
"data-part": "day",
|
|
6311
6335
|
inputmode: "numeric",
|
|
6312
6336
|
autocomplete: "off",
|
|
@@ -6314,16 +6338,16 @@ var To = [
|
|
|
6314
6338
|
disabled: e.disabled,
|
|
6315
6339
|
"aria-label": `${e.label ?? ""}${e.labels.day}`,
|
|
6316
6340
|
"aria-invalid": e.invalid || v.value || void 0,
|
|
6317
|
-
onInput: n[
|
|
6318
|
-
onBlur:
|
|
6319
|
-
onKeydown: n[
|
|
6341
|
+
onInput: n[5] ||= (e) => w("d", e),
|
|
6342
|
+
onBlur: n[6] ||= (e) => C(),
|
|
6343
|
+
onKeydown: n[7] ||= (e) => T("d", e)
|
|
6320
6344
|
}, null, 40, ko), [[be, _.value.d]]),
|
|
6321
6345
|
j("span", Ao, q(e.labels.day), 1),
|
|
6322
6346
|
v.value ? (H(), A("span", jo, q(e.labels.invalidDate ?? "無効な日付"), 1)) : e.showWeekday ? (H(), A("span", {
|
|
6323
6347
|
key: 1,
|
|
6324
6348
|
"data-part": "weekday",
|
|
6325
|
-
"data-kind":
|
|
6326
|
-
}, q(
|
|
6349
|
+
"data-kind": S.value?.kind
|
|
6350
|
+
}, q(S.value ? `(${S.value.text})` : ""), 9, Mo)) : k("", !0)
|
|
6327
6351
|
], 8, To));
|
|
6328
6352
|
}
|
|
6329
6353
|
}), Po = { "data-part": "head" }, Fo = ["aria-label"], Io = ["id"], Lo = ["aria-label"], Ro = ["aria-labelledby"], zo = {
|
|
@@ -7585,6 +7609,7 @@ var as = [
|
|
|
7585
7609
|
}
|
|
7586
7610
|
}), Ss = Symbol("ArForm"), Cs = [
|
|
7587
7611
|
"data-layout",
|
|
7612
|
+
"data-control-size",
|
|
7588
7613
|
"data-label-size",
|
|
7589
7614
|
"data-state"
|
|
7590
7615
|
], ws = {
|
|
@@ -7610,6 +7635,7 @@ var as = [
|
|
|
7610
7635
|
layout: { default: void 0 },
|
|
7611
7636
|
labelSize: { default: void 0 },
|
|
7612
7637
|
labelWidth: { default: void 0 },
|
|
7638
|
+
controlSize: { default: void 0 },
|
|
7613
7639
|
requiredText: { default: "必須" },
|
|
7614
7640
|
id: { default: void 0 }
|
|
7615
7641
|
},
|
|
@@ -7658,6 +7684,7 @@ var as = [
|
|
|
7658
7684
|
"data-ar": "field",
|
|
7659
7685
|
"data-part": "root",
|
|
7660
7686
|
"data-layout": l.value,
|
|
7687
|
+
"data-control-size": e.controlSize,
|
|
7661
7688
|
"data-label-size": l.value === "inline" ? d.value : void 0,
|
|
7662
7689
|
style: V(l.value === "inline" && f.value ? { "--ar-field-label": f.value } : void 0),
|
|
7663
7690
|
"data-state": p.value ? "invalid" : void 0,
|
|
@@ -11639,7 +11666,7 @@ var Fl = [
|
|
|
11639
11666
|
icon: { default: void 0 },
|
|
11640
11667
|
showPath: {
|
|
11641
11668
|
type: Boolean,
|
|
11642
|
-
default: !
|
|
11669
|
+
default: !1
|
|
11643
11670
|
},
|
|
11644
11671
|
maxTags: { default: 2 },
|
|
11645
11672
|
size: { default: "md" },
|
|
@@ -12079,16 +12106,22 @@ var Fl = [
|
|
|
12079
12106
|
key: 1,
|
|
12080
12107
|
"data-part": "status"
|
|
12081
12108
|
}, cf = [
|
|
12109
|
+
"disabled",
|
|
12082
12110
|
"aria-label",
|
|
12083
12111
|
"title",
|
|
12084
12112
|
"onClick"
|
|
12085
12113
|
], lf = ["aria-valuenow", "aria-label"], uf = {
|
|
12086
12114
|
key: 2,
|
|
12087
12115
|
"data-part": "cards"
|
|
12088
|
-
}, df = ["data-status"], ff = [
|
|
12116
|
+
}, df = ["data-status"], ff = [
|
|
12117
|
+
"src",
|
|
12118
|
+
"alt",
|
|
12119
|
+
"onError"
|
|
12120
|
+
], pf = {
|
|
12089
12121
|
key: 1,
|
|
12090
12122
|
"data-part": "card-name"
|
|
12091
12123
|
}, mf = [
|
|
12124
|
+
"disabled",
|
|
12092
12125
|
"aria-label",
|
|
12093
12126
|
"title",
|
|
12094
12127
|
"onClick"
|
|
@@ -12129,8 +12162,15 @@ var Fl = [
|
|
|
12129
12162
|
"remove"
|
|
12130
12163
|
],
|
|
12131
12164
|
setup(e, { emit: t }) {
|
|
12132
|
-
let n = e, r = t, i = D(() => n.files?.length ? n.labels.change ?? "ファイルを変更" : n.labels.choose ?? "ファイルを選択"), a = d("ArUpload", "trigger", "drop"), o = U(null), s = U(!1), c = (
|
|
12133
|
-
|
|
12165
|
+
let n = e, r = t, i = D(() => n.files?.length ? n.labels.change ?? "ファイルを変更" : n.labels.choose ?? "ファイルを選択"), a = d("ArUpload", "trigger", "drop"), o = U(null), s = U(!1), c = U(/* @__PURE__ */ new Set());
|
|
12166
|
+
Y(() => n.files, (e) => {
|
|
12167
|
+
let t = new Set(e.map((e) => e.url));
|
|
12168
|
+
c.value = new Set([...c.value].filter((e) => t.has(e)));
|
|
12169
|
+
});
|
|
12170
|
+
let l = (e) => {
|
|
12171
|
+
!n.disabled && e.status !== "uploading" && r("remove", e);
|
|
12172
|
+
}, u = () => !n.disabled && o.value?.click();
|
|
12173
|
+
function f(e) {
|
|
12134
12174
|
if (!n.accept) return !0;
|
|
12135
12175
|
let t = e.name.toLowerCase();
|
|
12136
12176
|
return n.accept.split(",").some((n) => {
|
|
@@ -12138,10 +12178,10 @@ var Fl = [
|
|
|
12138
12178
|
return r.startsWith(".") ? t.endsWith(r) : r.endsWith("/*") ? e.type.startsWith(r.slice(0, -1)) : e.type === r;
|
|
12139
12179
|
});
|
|
12140
12180
|
}
|
|
12141
|
-
function
|
|
12181
|
+
function p(e) {
|
|
12142
12182
|
if (!e || n.disabled) return;
|
|
12143
12183
|
let t = [...e].slice(0, n.multiple ? void 0 : 1), i = [], a = [];
|
|
12144
|
-
for (let e of t)
|
|
12184
|
+
for (let e of t) f(e) ? n.maxSize && e.size > n.maxSize ? a.push({
|
|
12145
12185
|
file: e,
|
|
12146
12186
|
reason: n.labels.tooLarge
|
|
12147
12187
|
}) : i.push(e) : a.push({
|
|
@@ -12150,21 +12190,21 @@ var Fl = [
|
|
|
12150
12190
|
});
|
|
12151
12191
|
i.length && r("select", i), a.length && r("reject", a);
|
|
12152
12192
|
}
|
|
12153
|
-
function
|
|
12154
|
-
s.value = !1,
|
|
12193
|
+
function m(e) {
|
|
12194
|
+
s.value = !1, p(e.dataTransfer?.files);
|
|
12155
12195
|
}
|
|
12156
|
-
function
|
|
12157
|
-
|
|
12196
|
+
function h(e) {
|
|
12197
|
+
p(e.target.files), e.target.value = "";
|
|
12158
12198
|
}
|
|
12159
|
-
function
|
|
12199
|
+
function g(e) {
|
|
12160
12200
|
return e.status === "error" ? "alert" : /\.(xlsx?|csv)$/i.test(e.name) ? "xls" : /\.(png|jpe?g|gif|heic|webp)$/i.test(e.name) ? "image" : "file";
|
|
12161
12201
|
}
|
|
12162
|
-
let
|
|
12202
|
+
let _ = D(() => [s.value && "dragover", n.disabled && "disabled"].filter(Boolean).join(" ") || void 0);
|
|
12163
12203
|
return (t, n) => (H(), A("div", {
|
|
12164
12204
|
"data-ar": "upload",
|
|
12165
12205
|
"data-part": "root",
|
|
12166
12206
|
"data-list": e.listType,
|
|
12167
|
-
"data-state":
|
|
12207
|
+
"data-state": _.value,
|
|
12168
12208
|
role: "group",
|
|
12169
12209
|
"aria-label": e.label
|
|
12170
12210
|
}, [j("input", {
|
|
@@ -12176,7 +12216,7 @@ var Fl = [
|
|
|
12176
12216
|
accept: e.accept,
|
|
12177
12217
|
multiple: e.multiple,
|
|
12178
12218
|
disabled: e.disabled,
|
|
12179
|
-
onChange:
|
|
12219
|
+
onChange: h
|
|
12180
12220
|
}, null, 40, Xd), e.listType === "text" && J(a) === "button" ? (H(), A(x, { key: 0 }, [F(Nt, {
|
|
12181
12221
|
"data-part": "button",
|
|
12182
12222
|
tone: e.buttonTone,
|
|
@@ -12185,7 +12225,7 @@ var Fl = [
|
|
|
12185
12225
|
block: "",
|
|
12186
12226
|
disabled: e.disabled,
|
|
12187
12227
|
"aria-label": e.label ? `${e.label}:${i.value}` : void 0,
|
|
12188
|
-
onClick:
|
|
12228
|
+
onClick: u
|
|
12189
12229
|
}, {
|
|
12190
12230
|
default: X(() => [G(t.$slots, "default", {}, () => [P(q(i.value), 1)])]),
|
|
12191
12231
|
_: 3
|
|
@@ -12201,11 +12241,11 @@ var Fl = [
|
|
|
12201
12241
|
tabindex: e.disabled ? -1 : 0,
|
|
12202
12242
|
"aria-disabled": e.disabled || void 0,
|
|
12203
12243
|
"aria-label": `${e.label ?? ""}${e.labels.drop}${e.hint ? `(${e.hint})` : ""}`,
|
|
12204
|
-
onClick:
|
|
12205
|
-
onKeydown: [Ce(Z(
|
|
12244
|
+
onClick: u,
|
|
12245
|
+
onKeydown: [Ce(Z(u, ["prevent"]), ["enter"]), Ce(Z(u, ["prevent"]), ["space"])],
|
|
12206
12246
|
onDragover: n[0] ||= Z((t) => s.value = !e.disabled, ["prevent"]),
|
|
12207
12247
|
onDragleave: n[1] ||= (e) => s.value = !1,
|
|
12208
|
-
onDrop: Z(
|
|
12248
|
+
onDrop: Z(m, ["prevent"])
|
|
12209
12249
|
}, [
|
|
12210
12250
|
F($, {
|
|
12211
12251
|
line: "",
|
|
@@ -12225,7 +12265,7 @@ var Fl = [
|
|
|
12225
12265
|
role: "listitem"
|
|
12226
12266
|
}, [j("div", af, [
|
|
12227
12267
|
F($, {
|
|
12228
|
-
name:
|
|
12268
|
+
name: g(t),
|
|
12229
12269
|
size: "sm",
|
|
12230
12270
|
"data-part": "kind"
|
|
12231
12271
|
}, null, 8, ["name"]),
|
|
@@ -12245,9 +12285,10 @@ var Fl = [
|
|
|
12245
12285
|
key: 2,
|
|
12246
12286
|
type: "button",
|
|
12247
12287
|
"data-part": "remove",
|
|
12288
|
+
disabled: e.disabled,
|
|
12248
12289
|
"aria-label": `${t.name}を${e.labels.remove}`,
|
|
12249
12290
|
title: e.labels.remove,
|
|
12250
|
-
onClick: (e) =>
|
|
12291
|
+
onClick: (e) => l(t)
|
|
12251
12292
|
}, [F($, {
|
|
12252
12293
|
line: "",
|
|
12253
12294
|
name: "trash",
|
|
@@ -12265,16 +12306,18 @@ var Fl = [
|
|
|
12265
12306
|
key: t.id,
|
|
12266
12307
|
"data-part": "card",
|
|
12267
12308
|
"data-status": t.status
|
|
12268
|
-
}, [t.url ? (H(), A("img", {
|
|
12309
|
+
}, [t.url && !c.value.has(t.url) ? (H(), A("img", {
|
|
12269
12310
|
key: 0,
|
|
12270
12311
|
src: t.url,
|
|
12271
|
-
alt: t.name
|
|
12272
|
-
|
|
12312
|
+
alt: t.name,
|
|
12313
|
+
onError: (e) => c.value.add(t.url)
|
|
12314
|
+
}, null, 40, ff)) : (H(), A("span", pf, q(t.previewFallback ?? t.name), 1)), j("button", {
|
|
12273
12315
|
type: "button",
|
|
12274
12316
|
"data-part": "remove",
|
|
12317
|
+
disabled: e.disabled || t.status === "uploading",
|
|
12275
12318
|
"aria-label": `${t.name}を${e.labels.remove}`,
|
|
12276
12319
|
title: e.labels.remove,
|
|
12277
|
-
onClick: (e) =>
|
|
12320
|
+
onClick: (e) => l(t)
|
|
12278
12321
|
}, [F($, {
|
|
12279
12322
|
line: "",
|
|
12280
12323
|
name: "x",
|
|
@@ -12284,10 +12327,10 @@ var Fl = [
|
|
|
12284
12327
|
"data-part": "add",
|
|
12285
12328
|
disabled: e.disabled,
|
|
12286
12329
|
"aria-label": `${e.label ?? ""}${e.labels.add}`,
|
|
12287
|
-
onClick:
|
|
12330
|
+
onClick: u,
|
|
12288
12331
|
onDragover: n[2] ||= Z((t) => s.value = !e.disabled, ["prevent"]),
|
|
12289
12332
|
onDragleave: n[3] ||= (e) => s.value = !1,
|
|
12290
|
-
onDrop: Z(
|
|
12333
|
+
onDrop: Z(m, ["prevent"])
|
|
12291
12334
|
}, [F($, {
|
|
12292
12335
|
line: "",
|
|
12293
12336
|
name: "plus",
|
|
@@ -13635,7 +13678,7 @@ var Fl = [
|
|
|
13635
13678
|
}, rm = ["tabindex", "aria-label"], im = {
|
|
13636
13679
|
key: 0,
|
|
13637
13680
|
"data-part": "group-title"
|
|
13638
|
-
}, am = ["aria-label"], om = ["data-state"], sm = {
|
|
13681
|
+
}, am = ["aria-label"], om = ["data-state", "data-color"], sm = {
|
|
13639
13682
|
key: 0,
|
|
13640
13683
|
"data-part": "avatar"
|
|
13641
13684
|
}, cm = { "data-part": "meta" }, lm = { "data-part": "title" }, um = {
|
|
@@ -13711,7 +13754,9 @@ var Fl = [
|
|
|
13711
13754
|
}, [(H(!0), A(x, null, W(n.items, ({ item: n, index: i }) => (H(), A("li", {
|
|
13712
13755
|
key: n.key,
|
|
13713
13756
|
"data-part": "item",
|
|
13714
|
-
"data-state": n.off ? "off" : void 0
|
|
13757
|
+
"data-state": n.off ? "off" : void 0,
|
|
13758
|
+
"data-color": n.color ? "" : void 0,
|
|
13759
|
+
style: V(n.color ? { "--ar-list-color": n.color } : void 0)
|
|
13715
13760
|
}, [G(t.$slots, "item", {
|
|
13716
13761
|
item: n,
|
|
13717
13762
|
index: i
|
|
@@ -13731,7 +13776,7 @@ var Fl = [
|
|
|
13731
13776
|
item: n,
|
|
13732
13777
|
index: i
|
|
13733
13778
|
})])) : k("", !0)
|
|
13734
|
-
])],
|
|
13779
|
+
])], 12, om))), 128))], 8, am)]))), 128)) : (H(), A("div", fm, [G(t.$slots, "empty", {}, () => [F(ai, { text: e.emptyText }, null, 8, ["text"])])]))], 12, rm),
|
|
13735
13780
|
t.$slots.footer ? (H(), A("div", pm, [G(t.$slots, "footer")])) : k("", !0)
|
|
13736
13781
|
], 8, tm));
|
|
13737
13782
|
}
|
|
@@ -14409,7 +14454,7 @@ var Fl = [
|
|
|
14409
14454
|
style: V({ "--ar-pointer-size": `${e.size}px` })
|
|
14410
14455
|
}, [G(t.$slots, "default")], 12, Jm));
|
|
14411
14456
|
}
|
|
14412
|
-
}), Xm = ["data-layout"], Zm = { "data-part": "identity" }, Qm = { "data-part": "photo" }, $m = /* @__PURE__ */ I({
|
|
14457
|
+
}), Xm = ["data-layout"], Zm = { "data-part": "identity" }, Qm = { "data-part": "photo" }, $m = ["aria-label", "title"], eh = /* @__PURE__ */ I({
|
|
14413
14458
|
__name: "ArProfileCard",
|
|
14414
14459
|
props: {
|
|
14415
14460
|
layout: { default: "default" },
|
|
@@ -14418,16 +14463,22 @@ var Fl = [
|
|
|
14418
14463
|
kana: { default: void 0 },
|
|
14419
14464
|
code: { default: void 0 },
|
|
14420
14465
|
image: { default: void 0 },
|
|
14466
|
+
photoEditable: {
|
|
14467
|
+
type: Boolean,
|
|
14468
|
+
default: !1
|
|
14469
|
+
},
|
|
14470
|
+
photoLabel: { default: "写真を変更" },
|
|
14421
14471
|
items: { default: () => [] },
|
|
14422
14472
|
tags: { default: () => [] },
|
|
14423
14473
|
tagsLabel: { default: void 0 }
|
|
14424
14474
|
},
|
|
14425
|
-
|
|
14426
|
-
|
|
14475
|
+
emits: ["photo-click"],
|
|
14476
|
+
setup(e, { emit: t }) {
|
|
14477
|
+
let n = e, r = t, i = D(() => [...n.items, ...n.tags.length && n.tagsLabel ? [{
|
|
14427
14478
|
key: "profile-tags",
|
|
14428
|
-
label:
|
|
14479
|
+
label: n.tagsLabel
|
|
14429
14480
|
}] : []]);
|
|
14430
|
-
return (t,
|
|
14481
|
+
return (t, n) => (H(), A("article", {
|
|
14431
14482
|
"data-ar": "profile-card",
|
|
14432
14483
|
"data-part": "root",
|
|
14433
14484
|
"data-layout": e.layout
|
|
@@ -14447,7 +14498,23 @@ var Fl = [
|
|
|
14447
14498
|
align: "start",
|
|
14448
14499
|
"data-part": "header"
|
|
14449
14500
|
}, {
|
|
14450
|
-
default: X(() => [j("div", Zm, [j("div", Qm, [
|
|
14501
|
+
default: X(() => [j("div", Zm, [j("div", Qm, [e.photoEditable ? (H(), A("button", {
|
|
14502
|
+
key: 0,
|
|
14503
|
+
type: "button",
|
|
14504
|
+
"data-part": "photo-button",
|
|
14505
|
+
"aria-label": e.photoLabel,
|
|
14506
|
+
title: e.photoLabel,
|
|
14507
|
+
onClick: n[0] ||= (e) => r("photo-click")
|
|
14508
|
+
}, [F(qn, {
|
|
14509
|
+
src: e.image,
|
|
14510
|
+
name: e.name,
|
|
14511
|
+
size: e.layout === "compact" ? "lg" : "xl"
|
|
14512
|
+
}, null, 8, [
|
|
14513
|
+
"src",
|
|
14514
|
+
"name",
|
|
14515
|
+
"size"
|
|
14516
|
+
])], 8, $m)) : (H(), O(qn, {
|
|
14517
|
+
key: 1,
|
|
14451
14518
|
src: e.image,
|
|
14452
14519
|
name: e.name,
|
|
14453
14520
|
size: e.layout === "compact" ? "lg" : "xl"
|
|
@@ -14455,7 +14522,7 @@ var Fl = [
|
|
|
14455
14522
|
"src",
|
|
14456
14523
|
"name",
|
|
14457
14524
|
"size"
|
|
14458
|
-
]), G(t.$slots, "photo-actions")]), F(et, { gap: 1 }, {
|
|
14525
|
+
])), G(t.$slots, "photo-actions")]), F(et, { gap: 1 }, {
|
|
14459
14526
|
default: X(() => [
|
|
14460
14527
|
e.code ? (H(), O(nn, {
|
|
14461
14528
|
key: 0,
|
|
@@ -14488,11 +14555,12 @@ var Fl = [
|
|
|
14488
14555
|
default: X(() => [(H(!0), A(x, null, W(e.tags, (e) => (H(), O(Si, {
|
|
14489
14556
|
key: e.key,
|
|
14490
14557
|
tone: e.tone ?? "accent",
|
|
14558
|
+
"data-ar-palette": e.palette,
|
|
14491
14559
|
size: "sm"
|
|
14492
14560
|
}, {
|
|
14493
14561
|
default: X(() => [P(q(e.label), 1)]),
|
|
14494
14562
|
_: 2
|
|
14495
|
-
}, 1032, ["tone"]))), 128))]),
|
|
14563
|
+
}, 1032, ["tone", "data-ar-palette"]))), 128))]),
|
|
14496
14564
|
_: 1
|
|
14497
14565
|
})) : k("", !0)
|
|
14498
14566
|
]),
|
|
@@ -14507,21 +14575,22 @@ var Fl = [
|
|
|
14507
14575
|
})) : k("", !0)]),
|
|
14508
14576
|
_: 3
|
|
14509
14577
|
}),
|
|
14510
|
-
|
|
14578
|
+
i.value.length ? (H(), O(Vp, {
|
|
14511
14579
|
key: 0,
|
|
14512
|
-
items:
|
|
14513
|
-
column: Math.min(2,
|
|
14580
|
+
items: i.value,
|
|
14581
|
+
column: Math.min(2, i.value.length),
|
|
14514
14582
|
variant: e.layout === "compact" ? "plain" : "bordered"
|
|
14515
14583
|
}, {
|
|
14516
14584
|
"item-profile-tags": X(() => [F(ke, { gap: 1 }, {
|
|
14517
14585
|
default: X(() => [(H(!0), A(x, null, W(e.tags, (e) => (H(), O(Si, {
|
|
14518
14586
|
key: e.key,
|
|
14519
14587
|
tone: e.tone ?? "accent",
|
|
14588
|
+
"data-ar-palette": e.palette,
|
|
14520
14589
|
size: "sm"
|
|
14521
14590
|
}, {
|
|
14522
14591
|
default: X(() => [P(q(e.label), 1)]),
|
|
14523
14592
|
_: 2
|
|
14524
|
-
}, 1032, ["tone"]))), 128))]),
|
|
14593
|
+
}, 1032, ["tone", "data-ar-palette"]))), 128))]),
|
|
14525
14594
|
_: 1
|
|
14526
14595
|
})]),
|
|
14527
14596
|
_: 1
|
|
@@ -14548,7 +14617,7 @@ var Fl = [
|
|
|
14548
14617
|
"icon"
|
|
14549
14618
|
])], 8, Xm));
|
|
14550
14619
|
}
|
|
14551
|
-
}),
|
|
14620
|
+
}), th = {
|
|
14552
14621
|
L: [
|
|
14553
14622
|
-1,
|
|
14554
14623
|
7,
|
|
@@ -14721,7 +14790,7 @@ var Fl = [
|
|
|
14721
14790
|
30,
|
|
14722
14791
|
30
|
|
14723
14792
|
]
|
|
14724
|
-
},
|
|
14793
|
+
}, nh = {
|
|
14725
14794
|
L: [
|
|
14726
14795
|
-1,
|
|
14727
14796
|
1,
|
|
@@ -14894,13 +14963,13 @@ var Fl = [
|
|
|
14894
14963
|
77,
|
|
14895
14964
|
81
|
|
14896
14965
|
]
|
|
14897
|
-
},
|
|
14966
|
+
}, rh = {
|
|
14898
14967
|
L: 1,
|
|
14899
14968
|
M: 0,
|
|
14900
14969
|
Q: 3,
|
|
14901
14970
|
H: 2
|
|
14902
14971
|
};
|
|
14903
|
-
function
|
|
14972
|
+
function ih(e) {
|
|
14904
14973
|
let t = (16 * e + 128) * e + 64;
|
|
14905
14974
|
if (e >= 2) {
|
|
14906
14975
|
let n = Math.floor(e / 7) + 2;
|
|
@@ -14908,51 +14977,51 @@ function rh(e) {
|
|
|
14908
14977
|
}
|
|
14909
14978
|
return t;
|
|
14910
14979
|
}
|
|
14911
|
-
var
|
|
14912
|
-
function
|
|
14980
|
+
var ah = (e, t) => Math.floor(ih(e) / 8) - th[t][e] * nh[t][e];
|
|
14981
|
+
function oh(e, t) {
|
|
14913
14982
|
let n = 0;
|
|
14914
14983
|
for (let r = 7; r >= 0; r--) n = n << 1 ^ (n >>> 7) * 285, n ^= (t >>> r & 1) * e;
|
|
14915
14984
|
return n & 255;
|
|
14916
14985
|
}
|
|
14917
|
-
function
|
|
14986
|
+
function sh(e) {
|
|
14918
14987
|
let t = Array(e).fill(0);
|
|
14919
14988
|
t[e - 1] = 1;
|
|
14920
14989
|
let n = 1;
|
|
14921
14990
|
for (let r = 0; r < e; r++) {
|
|
14922
|
-
for (let e = 0; e < t.length; e++) t[e] =
|
|
14923
|
-
n =
|
|
14991
|
+
for (let e = 0; e < t.length; e++) t[e] = oh(t[e], n), e + 1 < t.length && (t[e] = t[e] ^ t[e + 1]);
|
|
14992
|
+
n = oh(n, 2);
|
|
14924
14993
|
}
|
|
14925
14994
|
return t;
|
|
14926
14995
|
}
|
|
14927
|
-
function
|
|
14996
|
+
function ch(e, t) {
|
|
14928
14997
|
let n = t.map(() => 0);
|
|
14929
14998
|
for (let r of e) {
|
|
14930
14999
|
let e = r ^ n.shift();
|
|
14931
|
-
n.push(0), t.forEach((t, r) => n[r] = n[r] ^
|
|
15000
|
+
n.push(0), t.forEach((t, r) => n[r] = n[r] ^ oh(t, e));
|
|
14932
15001
|
}
|
|
14933
15002
|
return n;
|
|
14934
15003
|
}
|
|
14935
|
-
function
|
|
15004
|
+
function lh(e) {
|
|
14936
15005
|
return Array.from(new TextEncoder().encode(e));
|
|
14937
15006
|
}
|
|
14938
|
-
function
|
|
14939
|
-
let n =
|
|
14940
|
-
for (; r <= 40 && !(4 + (r < 10 ? 8 : 16) + n.length * 8 <=
|
|
15007
|
+
function uh(e, t = "M") {
|
|
15008
|
+
let n = lh(e), r = 1;
|
|
15009
|
+
for (; r <= 40 && !(4 + (r < 10 ? 8 : 16) + n.length * 8 <= ah(r, t) * 8); r++);
|
|
14941
15010
|
if (r > 40) throw Error("QR に入りきらない長さです");
|
|
14942
15011
|
let i = [], a = (e, t) => {
|
|
14943
15012
|
for (let n = t - 1; n >= 0; n--) i.push(e >>> n & 1);
|
|
14944
15013
|
};
|
|
14945
15014
|
a(4, 4), a(n.length, r < 10 ? 8 : 16), n.forEach((e) => a(e, 8));
|
|
14946
|
-
let o =
|
|
15015
|
+
let o = ah(r, t) * 8;
|
|
14947
15016
|
a(0, Math.min(4, o - i.length)), a(0, (8 - i.length % 8) % 8);
|
|
14948
15017
|
for (let e = 236; i.length < o; e ^= 253) a(e, 8);
|
|
14949
15018
|
let s = [];
|
|
14950
15019
|
for (let e = 0; e < i.length; e += 8) s.push(i.slice(e, e + 8).reduce((e, t) => e << 1 | t, 0));
|
|
14951
|
-
let c =
|
|
15020
|
+
let c = nh[t][r], l = th[t][r], u = Math.floor(ih(r) / 8), d = c - u % c, f = Math.floor(u / c), p = sh(l), m = [];
|
|
14952
15021
|
for (let e = 0, t = 0; e < c; e++) {
|
|
14953
15022
|
let n = f - l + (e < d ? 0 : 1), r = s.slice(t, t + n);
|
|
14954
15023
|
t += n;
|
|
14955
|
-
let i =
|
|
15024
|
+
let i = ch(r, p);
|
|
14956
15025
|
e < d && r.push(0), m.push([...r, ...i]);
|
|
14957
15026
|
}
|
|
14958
15027
|
let h = [];
|
|
@@ -14977,7 +15046,7 @@ function lh(e, t = "M") {
|
|
|
14977
15046
|
}));
|
|
14978
15047
|
}
|
|
14979
15048
|
let x = (e) => {
|
|
14980
|
-
let n =
|
|
15049
|
+
let n = rh[t] << 3 | e, r = n;
|
|
14981
15050
|
for (let e = 0; e < 10; e++) r = r << 1 ^ (r >>> 9) * 1335;
|
|
14982
15051
|
let i = (n << 10 | r) ^ 21522, a = (e) => (i >>> e & 1) == 1;
|
|
14983
15052
|
for (let e = 0; e <= 5; e++) y(8, e, a(e));
|
|
@@ -15018,7 +15087,7 @@ function lh(e, t = "M") {
|
|
|
15018
15087
|
}, T = 0, E = Infinity;
|
|
15019
15088
|
for (let e = 0; e < 8; e++) {
|
|
15020
15089
|
w(e), x(e);
|
|
15021
|
-
let t =
|
|
15090
|
+
let t = dh(_);
|
|
15022
15091
|
t < E && (E = t, T = e), w(e);
|
|
15023
15092
|
}
|
|
15024
15093
|
return w(T), x(T), {
|
|
@@ -15027,7 +15096,7 @@ function lh(e, t = "M") {
|
|
|
15027
15096
|
modules: _
|
|
15028
15097
|
};
|
|
15029
15098
|
}
|
|
15030
|
-
function
|
|
15099
|
+
function dh(e) {
|
|
15031
15100
|
let t = e.length, n = 0, r = (e) => {
|
|
15032
15101
|
let n = 1, r = 0;
|
|
15033
15102
|
for (let i = 1; i <= t; i++) i < t && e(i) === e(i - 1) ? n++ : (n >= 5 && (r += 3 + (n - 5)), n = 1);
|
|
@@ -15057,7 +15126,7 @@ function uh(e) {
|
|
|
15057
15126
|
let a = Math.ceil(Math.abs(i * 20 - t * t * 10) / (t * t)) - 1;
|
|
15058
15127
|
return n + Math.max(0, a) * 10;
|
|
15059
15128
|
}
|
|
15060
|
-
function
|
|
15129
|
+
function fh(e, t = 0) {
|
|
15061
15130
|
let n = "";
|
|
15062
15131
|
return e.modules.forEach((r, i) => {
|
|
15063
15132
|
let a = 0;
|
|
@@ -15073,18 +15142,18 @@ function dh(e, t = 0) {
|
|
|
15073
15142
|
}), n;
|
|
15074
15143
|
}
|
|
15075
15144
|
// src/components/ArQRCode.vue?vue&type=script&setup=true&lang.ts
|
|
15076
|
-
var
|
|
15145
|
+
var ph = ["data-state", "data-bordered"], mh = ["viewBox", "aria-label"], hh = ["d"], gh = {
|
|
15077
15146
|
key: 1,
|
|
15078
15147
|
"data-part": "message",
|
|
15079
15148
|
role: "alert"
|
|
15080
|
-
},
|
|
15149
|
+
}, _h = {
|
|
15081
15150
|
key: 2,
|
|
15082
15151
|
"data-part": "overlay",
|
|
15083
15152
|
role: "status"
|
|
15084
|
-
},
|
|
15153
|
+
}, vh = { "data-part": "message" }, yh = { "data-part": "message" }, bh = {
|
|
15085
15154
|
key: 2,
|
|
15086
15155
|
"data-part": "message"
|
|
15087
|
-
},
|
|
15156
|
+
}, xh = /* @__PURE__ */ I({
|
|
15088
15157
|
__name: "ArQRCode",
|
|
15089
15158
|
props: {
|
|
15090
15159
|
value: {},
|
|
@@ -15108,11 +15177,11 @@ var fh = ["data-state", "data-bordered"], ph = ["viewBox", "aria-label"], mh = [
|
|
|
15108
15177
|
setup(e, { emit: t }) {
|
|
15109
15178
|
let n = e, r = t, i = D(() => {
|
|
15110
15179
|
try {
|
|
15111
|
-
return
|
|
15180
|
+
return uh(n.value, n.level);
|
|
15112
15181
|
} catch {
|
|
15113
15182
|
return null;
|
|
15114
15183
|
}
|
|
15115
|
-
}), a = D(() => i.value ?
|
|
15184
|
+
}), a = D(() => i.value ? fh(i.value) : "");
|
|
15116
15185
|
return (t, n) => (H(), A("div", {
|
|
15117
15186
|
"data-ar": "qr-code",
|
|
15118
15187
|
"data-part": "root",
|
|
@@ -15129,7 +15198,7 @@ var fh = ["data-state", "data-bordered"], ph = ["viewBox", "aria-label"], mh = [
|
|
|
15129
15198
|
}, [j("path", {
|
|
15130
15199
|
d: a.value,
|
|
15131
15200
|
fill: "currentColor"
|
|
15132
|
-
}, null, 8,
|
|
15201
|
+
}, null, 8, hh)], 8, mh)) : (H(), A("div", gh, q(e.labels.tooLong), 1)), e.status === "active" ? k("", !0) : (H(), A("div", _h, [e.status === "expired" ? (H(), A(x, { key: 0 }, [j("span", vh, q(e.labels.expired), 1), F(Nt, {
|
|
15133
15202
|
tone: "subtle",
|
|
15134
15203
|
size: "sm",
|
|
15135
15204
|
icon: "reload",
|
|
@@ -15141,9 +15210,9 @@ var fh = ["data-state", "data-bordered"], ph = ["viewBox", "aria-label"], mh = [
|
|
|
15141
15210
|
})], 64)) : e.status === "loading" ? (H(), A(x, { key: 1 }, [n[1] ||= j("span", {
|
|
15142
15211
|
"data-part": "spinner",
|
|
15143
15212
|
"aria-hidden": "true"
|
|
15144
|
-
}, null, -1), j("span",
|
|
15213
|
+
}, null, -1), j("span", yh, q(e.labels.loading), 1)], 64)) : (H(), A("span", bh, q(e.labels.scanned), 1))]))], 12, ph));
|
|
15145
15214
|
}
|
|
15146
|
-
}),
|
|
15215
|
+
}), Sh = ["data-tone", "data-placement"], Ch = { "data-part": "content" }, wh = { "data-part": "ribbon" }, Th = /* @__PURE__ */ I({
|
|
15147
15216
|
__name: "ArRibbon",
|
|
15148
15217
|
props: {
|
|
15149
15218
|
text: {},
|
|
@@ -15156,13 +15225,13 @@ var fh = ["data-state", "data-bordered"], ph = ["viewBox", "aria-label"], mh = [
|
|
|
15156
15225
|
"data-part": "root",
|
|
15157
15226
|
"data-tone": e.tone,
|
|
15158
15227
|
"data-placement": e.placement
|
|
15159
|
-
}, [j("div",
|
|
15228
|
+
}, [j("div", Ch, [G(t.$slots, "default")]), j("span", wh, [P(q(e.text), 1), n[0] ||= j("span", {
|
|
15160
15229
|
"data-part": "corner",
|
|
15161
15230
|
"aria-hidden": "true"
|
|
15162
|
-
}, null, -1)])], 8,
|
|
15231
|
+
}, null, -1)])], 8, Sh));
|
|
15163
15232
|
}
|
|
15164
|
-
}),
|
|
15165
|
-
function
|
|
15233
|
+
}), Eh = (e, t, n) => `${String(e)}:${t}${n === void 0 ? "" : `:${n}`}`, Dh = (e) => e == null || e === "" || Array.isArray(e) && e.length === 0;
|
|
15234
|
+
function Oh(e) {
|
|
15166
15235
|
if (e && typeof e == "object" && "time" in e) {
|
|
15167
15236
|
let t = e;
|
|
15168
15237
|
return {
|
|
@@ -15175,40 +15244,40 @@ function Dh(e) {
|
|
|
15175
15244
|
day: "same"
|
|
15176
15245
|
};
|
|
15177
15246
|
}
|
|
15178
|
-
function
|
|
15247
|
+
function kh(e, t) {
|
|
15179
15248
|
if (Array.isArray(e) || Array.isArray(t)) {
|
|
15180
|
-
let n =
|
|
15181
|
-
return n.length === r.length && n.every((e, t) =>
|
|
15249
|
+
let n = Mh(e).filter(Nh), r = Mh(t).filter(Nh);
|
|
15250
|
+
return n.length === r.length && n.every((e, t) => kh(e.start, r[t].start) && kh(e.end, r[t].end));
|
|
15182
15251
|
}
|
|
15183
|
-
return
|
|
15252
|
+
return Ah(e, t);
|
|
15184
15253
|
}
|
|
15185
|
-
function
|
|
15254
|
+
function Ah(e, t) {
|
|
15186
15255
|
return e && typeof e == "object" && t && typeof t == "object" ? e.time === t.time && e.day === t.day : e && typeof e == "object" ? !e.time && (t == null || t === "") : t && typeof t == "object" ? !t.time && (e == null || e === "") : String(e ?? "") === String(t ?? "");
|
|
15187
15256
|
}
|
|
15188
|
-
function
|
|
15257
|
+
function jh(e) {
|
|
15189
15258
|
let t = e && typeof e == "object" ? e : {};
|
|
15190
15259
|
return {
|
|
15191
|
-
start:
|
|
15192
|
-
end:
|
|
15260
|
+
start: Oh(t.start),
|
|
15261
|
+
end: Oh(t.end)
|
|
15193
15262
|
};
|
|
15194
15263
|
}
|
|
15195
|
-
var
|
|
15196
|
-
function
|
|
15197
|
-
let n =
|
|
15198
|
-
return
|
|
15264
|
+
var Mh = (e) => (Array.isArray(e) ? e : e == null || e === "" ? [] : [e]).map(jh), Nh = (e) => !!e.start.time || !!e.end.time;
|
|
15265
|
+
function Ph(e, t = "〜") {
|
|
15266
|
+
let n = jh(e), r = (e) => e.time ? `${e.day === "prev" ? "前日" : ""}${e.time}` : "";
|
|
15267
|
+
return Nh(n) ? `${r(n.start)}${t}${r(n.end)}` : "";
|
|
15199
15268
|
}
|
|
15200
15269
|
// src/internal/ArTableCellBody.vue?vue&type=script&setup=true&lang.ts
|
|
15201
|
-
var
|
|
15270
|
+
var Fh = {
|
|
15202
15271
|
key: 0,
|
|
15203
15272
|
"data-part": "lead",
|
|
15204
15273
|
"aria-hidden": "true"
|
|
15205
|
-
},
|
|
15274
|
+
}, Ih = ["data-state"], Lh = ["aria-label"], Rh = [
|
|
15206
15275
|
"value",
|
|
15207
15276
|
"data-state",
|
|
15208
15277
|
"aria-invalid",
|
|
15209
15278
|
"aria-label",
|
|
15210
15279
|
"onInput"
|
|
15211
|
-
],
|
|
15280
|
+
], zh = ["data-state"], Bh = ["data-state"], Vh = [
|
|
15212
15281
|
"data-editor",
|
|
15213
15282
|
"inputmode",
|
|
15214
15283
|
"placeholder",
|
|
@@ -15216,16 +15285,16 @@ var Ph = {
|
|
|
15216
15285
|
"data-state",
|
|
15217
15286
|
"aria-invalid",
|
|
15218
15287
|
"aria-label"
|
|
15219
|
-
],
|
|
15288
|
+
], Hh = {
|
|
15220
15289
|
key: 0,
|
|
15221
15290
|
"data-part": "stack"
|
|
15222
|
-
},
|
|
15291
|
+
}, Uh = ["data-single"], Wh = { "data-part": "name" }, Gh = {
|
|
15223
15292
|
key: 0,
|
|
15224
15293
|
"data-part": "sub"
|
|
15225
|
-
},
|
|
15294
|
+
}, Kh = {
|
|
15226
15295
|
key: 2,
|
|
15227
15296
|
"data-part": "lines"
|
|
15228
|
-
},
|
|
15297
|
+
}, qh = ["data-tone"], Jh = /* @__PURE__ */ I({
|
|
15229
15298
|
__name: "ArTableCellBody",
|
|
15230
15299
|
props: {
|
|
15231
15300
|
row: {},
|
|
@@ -15248,16 +15317,16 @@ var Ph = {
|
|
|
15248
15317
|
},
|
|
15249
15318
|
emits: ["edit"],
|
|
15250
15319
|
setup(e, { emit: t }) {
|
|
15251
|
-
let n = e, r = t, i = D(() => n.col), a = D(() => i.value.edit === void 0 ? n.editing && !!i.value.editor : typeof i.value.edit == "function" ? i.value.edit(n.row) : !!i.value.edit), o = D(() => i.value.editor ?? "amount"), s = (e) =>
|
|
15320
|
+
let n = e, r = t, i = D(() => n.col), a = D(() => i.value.edit === void 0 ? n.editing && !!i.value.editor : typeof i.value.edit == "function" ? i.value.edit(n.row) : !!i.value.edit), o = D(() => i.value.editor ?? "amount"), s = (e) => Eh(n.rowKey, i.value.key, e), c = (e) => e == null ? "" : String(e), l = (e) => Array.isArray(e) ? e : [e];
|
|
15252
15321
|
function u(e, t) {
|
|
15253
15322
|
let r = s(t);
|
|
15254
|
-
return r in n.edits ? n.edits[r] : o.value === "time" ?
|
|
15323
|
+
return r in n.edits ? n.edits[r] : o.value === "time" ? Oh(e) : o.value === "select" ? e === void 0 ? null : e : c(e);
|
|
15255
15324
|
}
|
|
15256
15325
|
function d(e, t) {
|
|
15257
|
-
let r = s(t), i = o.value === "time" ?
|
|
15258
|
-
return [n.invalidCells.includes(r) && "invalid", r in n.edits && !
|
|
15326
|
+
let r = s(t), i = o.value === "time" ? Oh(e) : o.value === "select" ? e ?? null : c(e);
|
|
15327
|
+
return [n.invalidCells.includes(r) && "invalid", r in n.edits && !kh(n.edits[r], i) && "changed"].filter(Boolean).join(" ") || void 0;
|
|
15259
15328
|
}
|
|
15260
|
-
let f = (e) => n.invalidCells.includes(s(e)), p = (e) => i.value.editLabel?.(n.row, e) ?? (e === void 0 || n.line !== void 0 ? i.value.title : `${i.value.title} ${e + 1}`), m = D(() => typeof i.value.options == "function" ? i.value.options(n.row) : i.value.options ?? []), h = (e) =>
|
|
15329
|
+
let f = (e) => n.invalidCells.includes(s(e)), p = (e) => i.value.editLabel?.(n.row, e) ?? (e === void 0 || n.line !== void 0 ? i.value.title : `${i.value.title} ${e + 1}`), m = D(() => typeof i.value.options == "function" ? i.value.options(n.row) : i.value.options ?? []), h = (e) => Oh(e), g = D(() => {
|
|
15261
15330
|
let e = typeof i.value.avatar == "function" ? i.value.avatar(n.row) : {};
|
|
15262
15331
|
return {
|
|
15263
15332
|
text: e.text ?? Array.from(String(n.value ?? "").trim())[0] ?? "",
|
|
@@ -15280,7 +15349,7 @@ var Ph = {
|
|
|
15280
15349
|
tone: "muted",
|
|
15281
15350
|
...e
|
|
15282
15351
|
};
|
|
15283
|
-
}), y = () =>
|
|
15352
|
+
}), y = () => Mh(n.lineValues ?? []), b = D(() => jh(n.value));
|
|
15284
15353
|
function S(e, t) {
|
|
15285
15354
|
let i = y(), a = n.line ?? 0;
|
|
15286
15355
|
for (; i.length <= a;) i.push({
|
|
@@ -15300,14 +15369,14 @@ var Ph = {
|
|
|
15300
15369
|
}
|
|
15301
15370
|
function C() {
|
|
15302
15371
|
let e = y();
|
|
15303
|
-
e.splice(n.line ?? 0, 1), r("edit", s(), e.filter(
|
|
15372
|
+
e.splice(n.line ?? 0, 1), r("edit", s(), e.filter(Nh));
|
|
15304
15373
|
}
|
|
15305
15374
|
let w = D(() => {
|
|
15306
15375
|
let e = s();
|
|
15307
|
-
return [n.invalidCells.includes(e) && "invalid", e in n.edits && !
|
|
15376
|
+
return [n.invalidCells.includes(e) && "invalid", e in n.edits && !kh(n.edits[e], Mh(T.value)) && "changed"].filter(Boolean).join(" ") || void 0;
|
|
15308
15377
|
}), T = D(() => Array.isArray(n.row[i.value.key]) ? n.row[i.value.key] : i.value.value?.(n.row)), E = (e) => `${i.value.editLabel?.(n.row, n.line) ?? i.value.title}${(n.line ?? 0) + 1}の${e === "start" ? "開始" : "終了"}`, M = D(() => n.line);
|
|
15309
15378
|
return (t, n) => (H(), A(x, null, [
|
|
15310
|
-
i.value.lead ? (H(), A("span",
|
|
15379
|
+
i.value.lead ? (H(), A("span", Fh, q(i.value.lead), 1)) : k("", !0),
|
|
15311
15380
|
a.value && o.value === "time-range" && (e.line ?? 0) >= (e.lineValues?.length ?? 0) ? (H(), A(x, { key: 1 }, [], 64)) : a.value && o.value === "time-range" ? (H(), A("span", {
|
|
15312
15381
|
key: 2,
|
|
15313
15382
|
"data-part": "cell-editor",
|
|
@@ -15349,7 +15418,7 @@ var Ph = {
|
|
|
15349
15418
|
"invalid",
|
|
15350
15419
|
"label"
|
|
15351
15420
|
]),
|
|
15352
|
-
i.value.removable !== !1 && J(
|
|
15421
|
+
i.value.removable !== !1 && J(Nh)(b.value) ? (H(), A("button", {
|
|
15353
15422
|
key: 0,
|
|
15354
15423
|
type: "button",
|
|
15355
15424
|
"data-part": "line-remove",
|
|
@@ -15359,8 +15428,8 @@ var Ph = {
|
|
|
15359
15428
|
line: "",
|
|
15360
15429
|
name: "x",
|
|
15361
15430
|
size: "sm"
|
|
15362
|
-
})], 8,
|
|
15363
|
-
], 8,
|
|
15431
|
+
})], 8, Lh)) : k("", !0)
|
|
15432
|
+
], 8, Ih)) : o.value === "time-range" ? (H(), A(x, { key: 3 }, [P(q(J(Ph)(e.value) || (M.value !== void 0 && M.value > 0 ? "" : e.blank)), 1)], 64)) : a.value && i.value.stack && M.value === void 0 ? (H(), A("span", {
|
|
15364
15433
|
key: 4,
|
|
15365
15434
|
"data-part": "stack",
|
|
15366
15435
|
onClick: n[3] ||= Z(() => {}, ["stop"])
|
|
@@ -15374,7 +15443,7 @@ var Ph = {
|
|
|
15374
15443
|
"aria-invalid": f(t) || void 0,
|
|
15375
15444
|
"aria-label": p(t),
|
|
15376
15445
|
onInput: (e) => r("edit", s(t), e.target.value)
|
|
15377
|
-
}, null, 40,
|
|
15446
|
+
}, null, 40, Rh))), 128))])) : a.value && o.value === "time" ? (H(), A("span", {
|
|
15378
15447
|
key: 5,
|
|
15379
15448
|
"data-part": "cell-editor",
|
|
15380
15449
|
"data-editor": "time",
|
|
@@ -15396,7 +15465,7 @@ var Ph = {
|
|
|
15396
15465
|
"placeholder",
|
|
15397
15466
|
"invalid",
|
|
15398
15467
|
"label"
|
|
15399
|
-
])], 8,
|
|
15468
|
+
])], 8, zh)) : a.value && o.value === "select" ? (H(), A("span", {
|
|
15400
15469
|
key: 6,
|
|
15401
15470
|
"data-part": "cell-editor",
|
|
15402
15471
|
"data-editor": "select",
|
|
@@ -15418,7 +15487,7 @@ var Ph = {
|
|
|
15418
15487
|
"placeholder",
|
|
15419
15488
|
"invalid",
|
|
15420
15489
|
"label"
|
|
15421
|
-
])], 8,
|
|
15490
|
+
])], 8, Bh)) : a.value ? (H(), A("input", {
|
|
15422
15491
|
key: 7,
|
|
15423
15492
|
"data-part": "cell-input",
|
|
15424
15493
|
"data-editor": o.value === "text" ? "text" : void 0,
|
|
@@ -15431,19 +15500,19 @@ var Ph = {
|
|
|
15431
15500
|
"aria-label": p(M.value),
|
|
15432
15501
|
onClick: n[8] ||= Z(() => {}, ["stop"]),
|
|
15433
15502
|
onInput: n[9] ||= (e) => r("edit", s(M.value), e.target.value)
|
|
15434
|
-
}, null, 40,
|
|
15503
|
+
}, null, 40, Vh)) : (H(), A(x, { key: 8 }, [i.value.stack && M.value === void 0 ? (H(), A("span", Hh, [(H(!0), A(x, null, W(l(e.value), (e, t) => (H(), A("span", { key: t }, q(J(Dh)(e) ? "" : e), 1))), 128))])) : i.value.avatar ? (H(), A("span", {
|
|
15435
15504
|
key: 1,
|
|
15436
15505
|
"data-part": "person",
|
|
15437
15506
|
"data-single": !i.value.sub || void 0
|
|
15438
15507
|
}, [e.showAvatar === !1 ? k("", !0) : (H(), O(qn, z({
|
|
15439
15508
|
key: 0,
|
|
15440
15509
|
"aria-hidden": "true"
|
|
15441
|
-
}, g.value, { size: e.variant === "board" && i.value.sub ? "md" : "sm" }), null, 16, ["size"])), j("span",
|
|
15510
|
+
}, g.value, { size: e.variant === "board" && i.value.sub ? "md" : "sm" }), null, 16, ["size"])), j("span", Wh, [j("b", null, q(e.value), 1), _.value ? (H(), A("small", Gh, [_.value.color ? (H(), A("i", {
|
|
15442
15511
|
key: 0,
|
|
15443
15512
|
"data-part": "sub-mark",
|
|
15444
15513
|
style: V({ background: _.value.color }),
|
|
15445
15514
|
"aria-hidden": "true"
|
|
15446
|
-
}, null, 4)) : k("", !0), P(q(_.value.text), 1)])) : k("", !0)])], 8,
|
|
15515
|
+
}, null, 4)) : k("", !0), P(q(_.value.text), 1)])) : k("", !0)])], 8, Uh)) : M.value === void 0 && Array.isArray(e.value) && !J(Dh)(e.value) ? (H(), A("span", Kh, [(H(!0), A(x, null, W(e.value, (e, t) => (H(), A("span", { key: t }, q(e), 1))), 128))])) : (H(), A(x, { key: 3 }, [P(q(J(Dh)(e.value) ? M.value !== void 0 && M.value > 0 ? "" : e.blank : e.value), 1)], 64))], 64)),
|
|
15447
15516
|
i.value.marked?.(e.row) ? (H(), O($, {
|
|
15448
15517
|
key: 9,
|
|
15449
15518
|
line: "",
|
|
@@ -15456,41 +15525,41 @@ var Ph = {
|
|
|
15456
15525
|
key: 10,
|
|
15457
15526
|
"data-part": "delta",
|
|
15458
15527
|
"data-tone": v.value.tone
|
|
15459
|
-
}, q(v.value.text), 9,
|
|
15528
|
+
}, q(v.value.text), 9, qh)) : k("", !0)
|
|
15460
15529
|
], 64));
|
|
15461
15530
|
}
|
|
15462
|
-
}),
|
|
15531
|
+
}), Yh = ["data-state"], Xh = [
|
|
15463
15532
|
"aria-expanded",
|
|
15464
15533
|
"aria-controls",
|
|
15465
15534
|
"disabled"
|
|
15466
|
-
],
|
|
15535
|
+
], Zh = { "data-part": "label" }, Qh = {
|
|
15467
15536
|
key: 0,
|
|
15468
15537
|
"data-part": "title"
|
|
15469
|
-
},
|
|
15538
|
+
}, $h = ["aria-label"], eg = {
|
|
15470
15539
|
"data-part": "presets-title",
|
|
15471
15540
|
"aria-hidden": "true"
|
|
15472
|
-
},
|
|
15541
|
+
}, tg = ["data-state", "data-scope"], ng = ["aria-checked", "onClick"], rg = { "data-part": "preset-label" }, ig = ["data-scope"], ag = {
|
|
15473
15542
|
key: 0,
|
|
15474
15543
|
"data-part": "preset-default"
|
|
15475
|
-
},
|
|
15544
|
+
}, og = ["aria-label"], sg = {
|
|
15476
15545
|
key: 0,
|
|
15477
15546
|
"data-part": "group-title",
|
|
15478
15547
|
"aria-hidden": "true"
|
|
15479
|
-
},
|
|
15548
|
+
}, cg = [
|
|
15480
15549
|
"data-state",
|
|
15481
15550
|
"aria-checked",
|
|
15482
15551
|
"disabled",
|
|
15483
15552
|
"onClick"
|
|
15484
|
-
],
|
|
15553
|
+
], lg = { "data-part": "text" }, ug = {
|
|
15485
15554
|
key: 0,
|
|
15486
15555
|
"data-part": "description"
|
|
15487
|
-
},
|
|
15556
|
+
}, dg = { "data-part": "foot" }, fg = {
|
|
15488
15557
|
key: 2,
|
|
15489
15558
|
"data-part": "save"
|
|
15490
|
-
},
|
|
15559
|
+
}, pg = {
|
|
15491
15560
|
key: 1,
|
|
15492
15561
|
"data-part": "save-form"
|
|
15493
|
-
},
|
|
15562
|
+
}, mg = { "data-part": "save-actions" }, hg = ["disabled"], gg = ["disabled"], _g = /* @__PURE__ */ I({
|
|
15494
15563
|
__name: "ArViewOptions",
|
|
15495
15564
|
props: {
|
|
15496
15565
|
modelValue: {},
|
|
@@ -15619,7 +15688,7 @@ var Ph = {
|
|
|
15619
15688
|
name: "filter",
|
|
15620
15689
|
"data-part": "icon"
|
|
15621
15690
|
}),
|
|
15622
|
-
j("span",
|
|
15691
|
+
j("span", Zh, q(e.label), 1),
|
|
15623
15692
|
F(Bt, {
|
|
15624
15693
|
"data-part": "count",
|
|
15625
15694
|
count: `${p.value}/${d.value.length}`,
|
|
@@ -15632,7 +15701,7 @@ var Ph = {
|
|
|
15632
15701
|
name: "cd",
|
|
15633
15702
|
"data-part": "caret"
|
|
15634
15703
|
})
|
|
15635
|
-
], 40,
|
|
15704
|
+
], 40, Xh), F(fn, {
|
|
15636
15705
|
id: J(a),
|
|
15637
15706
|
open: l.value,
|
|
15638
15707
|
anchor: o.value,
|
|
@@ -15650,13 +15719,13 @@ var Ph = {
|
|
|
15650
15719
|
style: V({ width: `${e.width}px` }),
|
|
15651
15720
|
onKeydown: te
|
|
15652
15721
|
}, [
|
|
15653
|
-
e.title ? (H(), A("div",
|
|
15722
|
+
e.title ? (H(), A("div", Qh, q(e.title), 1)) : k("", !0),
|
|
15654
15723
|
e.presets?.length ? (H(), A("div", {
|
|
15655
15724
|
key: 1,
|
|
15656
15725
|
"data-part": "presets",
|
|
15657
15726
|
role: "group",
|
|
15658
15727
|
"aria-label": i.value.presets
|
|
15659
|
-
}, [j("div",
|
|
15728
|
+
}, [j("div", eg, q(i.value.presets), 1), (H(!0), A(x, null, W(e.presets, (e) => (H(), A("div", {
|
|
15660
15729
|
key: e.key,
|
|
15661
15730
|
"data-part": "preset",
|
|
15662
15731
|
"data-state": y(e.keys) ? "on" : void 0,
|
|
@@ -15674,13 +15743,13 @@ var Ph = {
|
|
|
15674
15743
|
name: "check",
|
|
15675
15744
|
"data-part": "preset-check"
|
|
15676
15745
|
}),
|
|
15677
|
-
j("span",
|
|
15746
|
+
j("span", rg, q(e.label), 1),
|
|
15678
15747
|
j("span", {
|
|
15679
15748
|
"data-part": "preset-scope",
|
|
15680
15749
|
"data-scope": e.scope
|
|
15681
|
-
}, q(e.scope === "company" ? i.value.company : i.value.personal), 9,
|
|
15682
|
-
e.default ? (H(), A("span",
|
|
15683
|
-
], 8,
|
|
15750
|
+
}, q(e.scope === "company" ? i.value.company : i.value.personal), 9, ig),
|
|
15751
|
+
e.default ? (H(), A("span", ag, q(i.value.default), 1)) : k("", !0)
|
|
15752
|
+
], 8, ng), e.deletable ? (H(), O(Nt, {
|
|
15684
15753
|
key: 0,
|
|
15685
15754
|
"data-part": "preset-delete",
|
|
15686
15755
|
tone: "muted",
|
|
@@ -15689,13 +15758,13 @@ var Ph = {
|
|
|
15689
15758
|
tabindex: "-1",
|
|
15690
15759
|
label: `${i.value.delete}:${e.label}`,
|
|
15691
15760
|
onClick: (t) => r("delete-preset", e)
|
|
15692
|
-
}, null, 8, ["label", "onClick"])) : k("", !0)], 8,
|
|
15761
|
+
}, null, 8, ["label", "onClick"])) : k("", !0)], 8, tg))), 128))], 8, $h)) : k("", !0),
|
|
15693
15762
|
(H(!0), A(x, null, W(e.groups, (e, t) => (H(), A("div", {
|
|
15694
15763
|
key: t,
|
|
15695
15764
|
"data-part": "group",
|
|
15696
15765
|
role: "group",
|
|
15697
15766
|
"aria-label": e.label
|
|
15698
|
-
}, [e.label ? (H(), A("div",
|
|
15767
|
+
}, [e.label ? (H(), A("div", sg, q(e.label), 1)) : k("", !0), (H(!0), A(x, null, W(e.options, (e) => (H(), A("button", {
|
|
15699
15768
|
key: e.key,
|
|
15700
15769
|
type: "button",
|
|
15701
15770
|
role: "menuitemcheckbox",
|
|
@@ -15713,7 +15782,7 @@ var Ph = {
|
|
|
15713
15782
|
"model-value": f.value.has(e.key),
|
|
15714
15783
|
disabled: e.disabled
|
|
15715
15784
|
}, null, 8, ["model-value", "disabled"]),
|
|
15716
|
-
j("span",
|
|
15785
|
+
j("span", lg, [j("b", null, q(e.label), 1), e.description ? (H(), A("small", ug, q(e.description), 1)) : k("", !0)]),
|
|
15717
15786
|
e.sample ? (H(), A("span", {
|
|
15718
15787
|
key: 0,
|
|
15719
15788
|
"data-part": "sample",
|
|
@@ -15727,8 +15796,8 @@ var Ph = {
|
|
|
15727
15796
|
key: 0,
|
|
15728
15797
|
name: e.sample.icon
|
|
15729
15798
|
}, null, 8, ["name"])) : k("", !0), P(q(e.sample.text), 1)], 4)) : k("", !0)
|
|
15730
|
-
], 8,
|
|
15731
|
-
j("div",
|
|
15799
|
+
], 8, cg))), 128))], 8, og))), 128)),
|
|
15800
|
+
j("div", dg, [j("button", {
|
|
15732
15801
|
type: "button",
|
|
15733
15802
|
tabindex: "-1",
|
|
15734
15803
|
onClick: ee
|
|
@@ -15737,7 +15806,7 @@ var Ph = {
|
|
|
15737
15806
|
tabindex: "-1",
|
|
15738
15807
|
onClick: n[1] ||= (e) => _(!0)
|
|
15739
15808
|
}, q(e.labels.close), 1)]),
|
|
15740
|
-
e.saveScopes.length ? (H(), A("div",
|
|
15809
|
+
e.saveScopes.length ? (H(), A("div", fg, [w.value ? (H(), A("div", pg, [F(rr, {
|
|
15741
15810
|
ref_key: "nameInput",
|
|
15742
15811
|
ref: E,
|
|
15743
15812
|
modelValue: T.value,
|
|
@@ -15751,7 +15820,7 @@ var Ph = {
|
|
|
15751
15820
|
"modelValue",
|
|
15752
15821
|
"placeholder",
|
|
15753
15822
|
"label"
|
|
15754
|
-
]), j("span",
|
|
15823
|
+
]), j("span", mg, [
|
|
15755
15824
|
j("button", {
|
|
15756
15825
|
type: "button",
|
|
15757
15826
|
tabindex: "-1",
|
|
@@ -15765,7 +15834,7 @@ var Ph = {
|
|
|
15765
15834
|
"data-kind": "company",
|
|
15766
15835
|
disabled: !T.value.trim(),
|
|
15767
15836
|
onClick: n[5] ||= (e) => N("company")
|
|
15768
|
-
}, q(i.value.saveCompany), 9,
|
|
15837
|
+
}, q(i.value.saveCompany), 9, hg)) : k("", !0),
|
|
15769
15838
|
C.value ? (H(), A("button", {
|
|
15770
15839
|
key: 1,
|
|
15771
15840
|
type: "button",
|
|
@@ -15773,7 +15842,7 @@ var Ph = {
|
|
|
15773
15842
|
"data-kind": "personal",
|
|
15774
15843
|
disabled: !T.value.trim(),
|
|
15775
15844
|
onClick: n[6] ||= (e) => N("personal")
|
|
15776
|
-
}, q(i.value.savePersonal), 9,
|
|
15845
|
+
}, q(i.value.savePersonal), 9, gg)) : k("", !0)
|
|
15777
15846
|
])])) : (H(), A(x, { key: 0 }, [S.value ? (H(), A("button", {
|
|
15778
15847
|
key: 0,
|
|
15779
15848
|
type: "button",
|
|
@@ -15794,27 +15863,24 @@ var Ph = {
|
|
|
15794
15863
|
"anchor",
|
|
15795
15864
|
"label",
|
|
15796
15865
|
"placement"
|
|
15797
|
-
])], 8,
|
|
15866
|
+
])], 8, Yh));
|
|
15798
15867
|
}
|
|
15799
|
-
}),
|
|
15868
|
+
}), vg = [
|
|
15800
15869
|
"data-variant",
|
|
15801
15870
|
"data-fit",
|
|
15802
15871
|
"data-density",
|
|
15803
15872
|
"data-vertical-align",
|
|
15804
15873
|
"data-sticky-header",
|
|
15805
15874
|
"data-sortable"
|
|
15806
|
-
],
|
|
15875
|
+
], yg = ["aria-label"], bg = { "data-ar-visually-hidden": "" }, xg = {
|
|
15807
15876
|
key: 0,
|
|
15808
15877
|
"data-col": "drag"
|
|
15809
|
-
},
|
|
15878
|
+
}, Sg = {
|
|
15810
15879
|
key: 1,
|
|
15811
15880
|
"data-col": "select"
|
|
15812
|
-
},
|
|
15881
|
+
}, Cg = {
|
|
15813
15882
|
key: 2,
|
|
15814
15883
|
"data-col": "expand"
|
|
15815
|
-
}, Cg = {
|
|
15816
|
-
key: 3,
|
|
15817
|
-
"data-col": "actions"
|
|
15818
15884
|
}, wg = ["data-tiers"], Tg = ["rowspan"], Eg = { "data-ar-visually-hidden": "" }, Dg = [
|
|
15819
15885
|
"data-sticky",
|
|
15820
15886
|
"data-sticky-key",
|
|
@@ -15953,6 +16019,7 @@ var Ph = {
|
|
|
15953
16019
|
type: Boolean,
|
|
15954
16020
|
default: !1
|
|
15955
16021
|
},
|
|
16022
|
+
actionsWidth: {},
|
|
15956
16023
|
columns: {},
|
|
15957
16024
|
viewOptions: {
|
|
15958
16025
|
type: Boolean,
|
|
@@ -16083,8 +16150,8 @@ var Ph = {
|
|
|
16083
16150
|
}
|
|
16084
16151
|
let b = (e) => (typeof e.toggles == "string" ? [e.toggles] : [...e.toggles ?? []]).some((e) => a.value.has(e)), S = D(() => new Set(n.editing)), C = D(() => n.editing.length > 0), w = (e) => S.value.has(we(e)), T = (e, t) => t.edit === void 0 ? w(e) && !!t.editor : typeof t.edit == "function" ? t.edit(e) : !!t.edit, E = (e) => Array.isArray(e) ? e : [e], M = (e) => e.editor === "time-range", I = (e) => !!e.lines || M(e), ee = D(() => h.value.filter(I)), L = D(() => ee.value.length > 0);
|
|
16085
16152
|
function ne(e, t) {
|
|
16086
|
-
let r =
|
|
16087
|
-
return T(e, t) && t.appendEmpty !== !1 && (i.length === 0 ||
|
|
16153
|
+
let r = Eh(we(e), t.key), i = r in n.edits ? Mh(n.edits[r]) : Mh(Te(e, t));
|
|
16154
|
+
return T(e, t) && t.appendEmpty !== !1 && (i.length === 0 || Nh(i[i.length - 1])) && i.push({
|
|
16088
16155
|
start: {
|
|
16089
16156
|
time: null,
|
|
16090
16157
|
day: "same"
|
|
@@ -16107,8 +16174,8 @@ var Ph = {
|
|
|
16107
16174
|
let t = {};
|
|
16108
16175
|
for (let r of n.columns) {
|
|
16109
16176
|
if (!T(e, r)) continue;
|
|
16110
|
-
let i =
|
|
16111
|
-
M(r) ? t[r.key] = ne(e, r).filter(
|
|
16177
|
+
let i = Eh(we(e), r.key);
|
|
16178
|
+
M(r) ? t[r.key] = ne(e, r).filter(Nh) : r.lines ? t[r.key] = E(Te(e, r)).map((e, t) => `${i}:${t}` in n.edits ? n.edits[`${i}:${t}`] : e) : t[r.key] = i in n.edits ? n.edits[i] : Te(e, r);
|
|
16112
16179
|
}
|
|
16113
16180
|
return t;
|
|
16114
16181
|
}
|
|
@@ -16160,7 +16227,7 @@ var Ph = {
|
|
|
16160
16227
|
if (!o) {
|
|
16161
16228
|
let s = (i, a) => {
|
|
16162
16229
|
let o = h.value.find((e) => e.key === t.key) ?? t;
|
|
16163
|
-
return te(
|
|
16230
|
+
return te(Jh, {
|
|
16164
16231
|
...K(e, o, Math.max(0, n.rows.indexOf(e)), r),
|
|
16165
16232
|
...a.attrs
|
|
16166
16233
|
});
|
|
@@ -16389,16 +16456,20 @@ var Ph = {
|
|
|
16389
16456
|
ref: ke,
|
|
16390
16457
|
"data-part": "table"
|
|
16391
16458
|
}, [
|
|
16392
|
-
j("caption",
|
|
16459
|
+
j("caption", bg, q(e.caption), 1),
|
|
16393
16460
|
j("colgroup", null, [
|
|
16394
|
-
X.value ? (H(), A("col",
|
|
16395
|
-
e.selectable ? (H(), A("col",
|
|
16396
|
-
e.expandable ? (H(), A("col",
|
|
16461
|
+
X.value ? (H(), A("col", xg)) : k("", !0),
|
|
16462
|
+
e.selectable ? (H(), A("col", Sg)) : k("", !0),
|
|
16463
|
+
e.expandable ? (H(), A("col", Cg)) : k("", !0),
|
|
16397
16464
|
(H(!0), A(x, null, W(h.value, (e) => (H(), A("col", {
|
|
16398
16465
|
key: e.key,
|
|
16399
16466
|
style: V(e.width ? { width: `${e.width}px` } : void 0)
|
|
16400
16467
|
}, null, 4))), 128)),
|
|
16401
|
-
Oe.value ? (H(), A("col",
|
|
16468
|
+
Oe.value ? (H(), A("col", {
|
|
16469
|
+
key: 3,
|
|
16470
|
+
"data-col": "actions",
|
|
16471
|
+
style: V(e.fit ? { width: `${e.actionsWidth ?? 96}px` } : void 0)
|
|
16472
|
+
}, null, 4)) : k("", !0)
|
|
16402
16473
|
]),
|
|
16403
16474
|
j("thead", {
|
|
16404
16475
|
"data-part": "head",
|
|
@@ -16703,7 +16774,7 @@ var Ph = {
|
|
|
16703
16774
|
index: a,
|
|
16704
16775
|
line: oe(r, o - 1),
|
|
16705
16776
|
Default: he(i, r, oe(r, o - 1))
|
|
16706
|
-
}, () => [F(
|
|
16777
|
+
}, () => [F(Jh, z({ ref_for: !0 }, K(i, r, a, oe(r, o - 1))), null, 16)])], 12, o_)) : k("", !0)], 64))), 128)),
|
|
16707
16778
|
Oe.value && o === 1 ? (H(), A("td", {
|
|
16708
16779
|
key: 1,
|
|
16709
16780
|
"data-part": "cell",
|
|
@@ -16768,8 +16839,8 @@ var Ph = {
|
|
|
16768
16839
|
}, [G(t.$slots, `foot-${e.col.key}`, { value: e.raw }, () => [e.label === void 0 ? (H(), A(x, { key: 1 }, [P(q(e.value), 1)], 64)) : (H(), A(x, { key: 0 }, [j("small", b_, q(e.label), 1), j("b", x_, q(e.value), 1)], 64))])], 12, y_))), 128)),
|
|
16769
16840
|
Oe.value ? (H(), A("td", S_)) : k("", !0)
|
|
16770
16841
|
])])) : k("", !0)
|
|
16771
|
-
], 512)], 8,
|
|
16772
|
-
e.viewOptions || t.$slots.below ? (H(), A("div", C_, [e.viewOptions ? (H(), O(
|
|
16842
|
+
], 512)], 8, yg),
|
|
16843
|
+
e.viewOptions || t.$slots.below ? (H(), A("div", C_, [e.viewOptions ? (H(), O(_g, {
|
|
16773
16844
|
key: 0,
|
|
16774
16845
|
modelValue: m.value,
|
|
16775
16846
|
"onUpdate:modelValue": n[8] ||= (e) => m.value = e,
|
|
@@ -16788,7 +16859,7 @@ var Ph = {
|
|
|
16788
16859
|
"disabled"
|
|
16789
16860
|
])) : k("", !0), G(t.$slots, "below")])) : k("", !0),
|
|
16790
16861
|
e.sortableRows ? (H(), A("span", w_, q(yt.value), 1)) : k("", !0)
|
|
16791
|
-
], 8,
|
|
16862
|
+
], 8, vg));
|
|
16792
16863
|
}
|
|
16793
16864
|
}), E_ = ["data-mode", "aria-label"], D_ = [
|
|
16794
16865
|
"data-tone",
|
|
@@ -17417,13 +17488,13 @@ var tv = I({
|
|
|
17417
17488
|
let i = {
|
|
17418
17489
|
"data-part": "cell",
|
|
17419
17490
|
role: "gridcell",
|
|
17420
|
-
...r === 0 ? {
|
|
17421
|
-
"data-tree": !0,
|
|
17422
|
-
style: { "--ar-tt-depth": e.depth }
|
|
17423
|
-
} : {}
|
|
17491
|
+
...r === 0 ? { "data-tree": !0 } : {}
|
|
17424
17492
|
}, a = n.type === "td" || n.type === "th" || n.type === s;
|
|
17425
17493
|
if (r !== 0) return a ? E(n, i) : te("td", i, [n]);
|
|
17426
|
-
let o = n.children, c = () => a ? typeof o == "object" && o && !Array.isArray(o) ? $_(o.default) : o : n, l = () => [te("span", {
|
|
17494
|
+
let o = n.children, c = () => a ? typeof o == "object" && o && !Array.isArray(o) ? $_(o.default) : o : n, l = () => [te("span", {
|
|
17495
|
+
"data-part": "tree",
|
|
17496
|
+
style: { "--ar-tt-depth": e.depth }
|
|
17497
|
+
}, [...t.controls?.() ?? [], te("span", { "data-part": "content" }, [c()])])];
|
|
17427
17498
|
if (!a) return te("td", i, l());
|
|
17428
17499
|
if (typeof n.type == "string") return te(n.type, {
|
|
17429
17500
|
...n.props,
|
|
@@ -17717,12 +17788,16 @@ var tv = I({
|
|
|
17717
17788
|
let L = U(null), te = U(null), ne = U(null);
|
|
17718
17789
|
function R(e, t) {
|
|
17719
17790
|
if (!n.draggable || L.value !== t.key) return e.preventDefault();
|
|
17720
|
-
te.value = t.key, e.dataTransfer?.setData("text/plain", String(t.key)), e.dataTransfer
|
|
17791
|
+
if (te.value = t.key, e.dataTransfer?.setData("text/plain", String(t.key)), e.dataTransfer) {
|
|
17792
|
+
e.dataTransfer.effectAllowed = "move";
|
|
17793
|
+
let t = e.currentTarget, n = t.getBoundingClientRect();
|
|
17794
|
+
e.dataTransfer.setDragImage?.(t, e.clientX - n.left, e.clientY - n.top);
|
|
17795
|
+
}
|
|
17721
17796
|
}
|
|
17722
17797
|
function re(e, t) {
|
|
17723
17798
|
if (te.value === null) return;
|
|
17724
17799
|
let n = e.currentTarget.getBoundingClientRect(), r = n.height ? (e.clientY - n.top) / n.height : 1, i = r < .3 ? "before" : r > .7 ? "after" : "inside";
|
|
17725
|
-
M({
|
|
17800
|
+
ne.value?.key === t.key && ne.value.position === i ? (e.preventDefault(), e.dataTransfer && (e.dataTransfer.dropEffect = "move")) : M({
|
|
17726
17801
|
key: te.value,
|
|
17727
17802
|
target: t.key,
|
|
17728
17803
|
position: i
|
|
@@ -17826,6 +17901,7 @@ var tv = I({
|
|
|
17826
17901
|
key: 2,
|
|
17827
17902
|
type: "button",
|
|
17828
17903
|
"data-part": "drag-handle",
|
|
17904
|
+
draggable: "true",
|
|
17829
17905
|
"data-key": o.key,
|
|
17830
17906
|
"aria-label": a.value.dragHandle,
|
|
17831
17907
|
onClick: n[0] ||= Z(() => {}, ["stop"]),
|
|
@@ -17875,6 +17951,7 @@ var tv = I({
|
|
|
17875
17951
|
key: 2,
|
|
17876
17952
|
type: "button",
|
|
17877
17953
|
"data-part": "drag-handle",
|
|
17954
|
+
draggable: "true",
|
|
17878
17955
|
"data-key": o.key,
|
|
17879
17956
|
"aria-label": a.value.dragHandle,
|
|
17880
17957
|
onClick: n[2] ||= Z(() => {}, ["stop"]),
|
|
@@ -19106,7 +19183,15 @@ var wy = {
|
|
|
19106
19183
|
}), h.value = {
|
|
19107
19184
|
kind: e,
|
|
19108
19185
|
key: t
|
|
19109
|
-
}
|
|
19186
|
+
}, e === "item" && B(() => {
|
|
19187
|
+
let n = c.value;
|
|
19188
|
+
if (!n || !y(e, t)) return;
|
|
19189
|
+
let i = n.getBoundingClientRect().right - (document.documentElement.clientWidth - 12);
|
|
19190
|
+
i > 0 && (_.value = {
|
|
19191
|
+
..._.value,
|
|
19192
|
+
left: `${Math.max(12, (r?.offsetLeft ?? 12) - i)}px`
|
|
19193
|
+
});
|
|
19194
|
+
});
|
|
19110
19195
|
}
|
|
19111
19196
|
function C() {
|
|
19112
19197
|
clearTimeout(v);
|
|
@@ -20208,6 +20293,7 @@ var wy = {
|
|
|
20208
20293
|
props: {
|
|
20209
20294
|
text: { default: void 0 },
|
|
20210
20295
|
lines: { default: 1 },
|
|
20296
|
+
maxWidth: {},
|
|
20211
20297
|
placement: { default: "top" }
|
|
20212
20298
|
},
|
|
20213
20299
|
setup(e, { expose: t }) {
|
|
@@ -20227,7 +20313,10 @@ var wy = {
|
|
|
20227
20313
|
function f() {
|
|
20228
20314
|
clearTimeout(l), o.value = !1;
|
|
20229
20315
|
}
|
|
20230
|
-
let p = D(() =>
|
|
20316
|
+
let p = D(() => ({
|
|
20317
|
+
...n.lines > 1 ? { "-webkit-line-clamp": String(n.lines) } : {},
|
|
20318
|
+
maxWidth: typeof n.maxWidth == "number" ? `${n.maxWidth}px` : n.maxWidth
|
|
20319
|
+
}));
|
|
20231
20320
|
return t({ measure: s }), (t, n) => (H(), A("span", {
|
|
20232
20321
|
ref_key: "root",
|
|
20233
20322
|
ref: i,
|
|
@@ -20421,10 +20510,7 @@ var wy = {
|
|
|
20421
20510
|
"data-part": "root",
|
|
20422
20511
|
"data-kind": "attention",
|
|
20423
20512
|
role: "note"
|
|
20424
|
-
}, qS = { "data-part": "text" }, JS = {
|
|
20425
|
-
key: 1,
|
|
20426
|
-
"data-part": "text"
|
|
20427
|
-
}, YS = /* @__PURE__ */ I({
|
|
20513
|
+
}, qS = { "data-part": "text" }, JS = { "data-part": "text" }, YS = /* @__PURE__ */ I({
|
|
20428
20514
|
__name: "ArInfo",
|
|
20429
20515
|
props: {
|
|
20430
20516
|
kind: { default: "note" },
|
|
@@ -20460,7 +20546,12 @@ var wy = {
|
|
|
20460
20546
|
line: "",
|
|
20461
20547
|
name: "help",
|
|
20462
20548
|
"data-part": "icon"
|
|
20463
|
-
})) : (H(), A(
|
|
20549
|
+
})) : (H(), A(x, { key: 1 }, [F($, {
|
|
20550
|
+
line: "",
|
|
20551
|
+
name: "info",
|
|
20552
|
+
"data-part": "icon",
|
|
20553
|
+
size: "sm"
|
|
20554
|
+
}), j("span", JS, [G(t.$slots, "default", {}, () => [P(q(e.text ?? e.labels.detail), 1)])])], 64))]),
|
|
20464
20555
|
_: 3
|
|
20465
20556
|
}, 8, [
|
|
20466
20557
|
"data-kind",
|
|
@@ -23127,6 +23218,26 @@ function PE(e, t, n, r, i) {
|
|
|
23127
23218
|
times: a,
|
|
23128
23219
|
breaks: o
|
|
23129
23220
|
};
|
|
23221
|
+
if (e.interval !== void 0) {
|
|
23222
|
+
let i = e.interval, s = a[i];
|
|
23223
|
+
if (!s) return {
|
|
23224
|
+
times: a,
|
|
23225
|
+
breaks: o
|
|
23226
|
+
};
|
|
23227
|
+
let c = { ...s }, l = i > 0 ? Math.max(n, a[i - 1].end) : n, u = i + 1 < a.length ? Math.min(r, a[i + 1].start) : r, d = Math.min(60, c.end - c.start);
|
|
23228
|
+
if (e.kind === "move") {
|
|
23229
|
+
let e = Math.max(l - s.start, Math.min(u - s.end, t));
|
|
23230
|
+
s.start += e, s.end += e;
|
|
23231
|
+
} else e.kind === "start" ? s.start = Math.max(l, Math.min(s.end - d, s.start + t)) : s.end = Math.min(u, Math.max(s.start + d, s.end + t));
|
|
23232
|
+
let f = e.kind === "move" ? s.start - c.start : 0;
|
|
23233
|
+
return o = o.map((e) => e.end <= c.start || e.start >= c.end ? e : {
|
|
23234
|
+
start: Math.max(s.start, e.start + f),
|
|
23235
|
+
end: Math.min(s.end, e.end + f)
|
|
23236
|
+
}).filter((e) => e.end > e.start), {
|
|
23237
|
+
times: a,
|
|
23238
|
+
breaks: o
|
|
23239
|
+
};
|
|
23240
|
+
}
|
|
23130
23241
|
let s = a[0], c = a[a.length - 1];
|
|
23131
23242
|
if (e.kind === "move") {
|
|
23132
23243
|
let e = Math.max(n - s.start, Math.min(r - c.end, t));
|
|
@@ -23186,7 +23297,16 @@ function BE(e) {
|
|
|
23186
23297
|
let t = e.replace(/^#/, "");
|
|
23187
23298
|
if (t.length === 3 && (t = t.split("").map((e) => e + e).join("")), t.length !== 6) return "white";
|
|
23188
23299
|
let n = parseInt(t.slice(0, 2), 16), r = parseInt(t.slice(2, 4), 16), i = parseInt(t.slice(4, 6), 16);
|
|
23189
|
-
|
|
23300
|
+
if (![
|
|
23301
|
+
n,
|
|
23302
|
+
r,
|
|
23303
|
+
i
|
|
23304
|
+
].every(Number.isFinite)) return "white";
|
|
23305
|
+
let a = (e) => {
|
|
23306
|
+
let t = e / 255;
|
|
23307
|
+
return t <= .04045 ? t / 12.92 : ((t + .055) / 1.055) ** 2.4;
|
|
23308
|
+
}, o = .2126 * a(n) + .7152 * a(r) + .0722 * a(i);
|
|
23309
|
+
return 1.05 / (o + .05) >= (o + .05) / .05 ? "white" : "black";
|
|
23190
23310
|
}
|
|
23191
23311
|
// src/components/ArShiftGrid.vue?vue&type=script&setup=true&lang.ts
|
|
23192
23312
|
var VE = [
|
|
@@ -23620,7 +23740,7 @@ var VE = [
|
|
|
23620
23740
|
if (e) {
|
|
23621
23741
|
let e = s || c && !v ? "#808080" : v;
|
|
23622
23742
|
e && (b["--sg-c"] = e, b["--sg-ink"] = BE(e));
|
|
23623
|
-
} else v && (b["--sg-c"] = v);
|
|
23743
|
+
} else v && (b["--sg-c"] = v, b["--sg-ink"] = BE(v));
|
|
23624
23744
|
let x = [], S = [];
|
|
23625
23745
|
e ? _e.value && c && (l && S.push({
|
|
23626
23746
|
label: l.name,
|
|
@@ -23680,7 +23800,7 @@ var VE = [
|
|
|
23680
23800
|
t !== Re && (Re = t, i("select", e ? Le(e) : null));
|
|
23681
23801
|
});
|
|
23682
23802
|
function ze() {
|
|
23683
|
-
ke.value = null, Ae.value = null, Ie.value = null,
|
|
23803
|
+
ke.value = null, Ae.value = null, Ie.value = null, ct.value = null;
|
|
23684
23804
|
}
|
|
23685
23805
|
function Be(e, t, n = !1) {
|
|
23686
23806
|
n && ke.value || (ke.value = {
|
|
@@ -23750,37 +23870,38 @@ var VE = [
|
|
|
23750
23870
|
c: Number(n.dataset.c)
|
|
23751
23871
|
};
|
|
23752
23872
|
}
|
|
23753
|
-
function Ye(e, t, n, a) {
|
|
23873
|
+
function Ye(e, t, n, a, o) {
|
|
23754
23874
|
if (!r.editable || e.button !== 0) return;
|
|
23755
|
-
let
|
|
23756
|
-
if (
|
|
23875
|
+
let s = Q(t, n);
|
|
23876
|
+
if (s.locked || s.outside || s.readonly) {
|
|
23757
23877
|
i("refuse", {
|
|
23758
|
-
reason:
|
|
23878
|
+
reason: s.readonly ? "readonly" : "locked",
|
|
23759
23879
|
spot: De(t, n)
|
|
23760
23880
|
});
|
|
23761
23881
|
return;
|
|
23762
23882
|
}
|
|
23763
|
-
if (a === "new" &&
|
|
23883
|
+
if (a === "new" && s.kind !== "empty" || a !== "new" && s.kind !== "shift") return;
|
|
23764
23884
|
e.preventDefault(), e.stopPropagation();
|
|
23765
|
-
let
|
|
23766
|
-
start:
|
|
23767
|
-
end:
|
|
23768
|
-
}] :
|
|
23885
|
+
let c = (e.currentTarget.closest("[data-part='track']")?.querySelector("[data-part='bar-track']"))?.getBoundingClientRect(), l = c?.width || 100, u = c?.left ?? 0, d = Math.round((r.chartRange[0] + (e.clientX - u) / l * Ue.value) / r.snap) * r.snap, f = a === "new" ? [{
|
|
23886
|
+
start: d,
|
|
23887
|
+
end: d + r.snap
|
|
23888
|
+
}] : s.times.map((e) => ({ ...e }));
|
|
23769
23889
|
He.value = {
|
|
23770
23890
|
kind: a,
|
|
23891
|
+
interval: o,
|
|
23771
23892
|
row: t,
|
|
23772
23893
|
col: n,
|
|
23773
23894
|
toRow: t,
|
|
23774
23895
|
toCol: n,
|
|
23775
23896
|
x0: e.clientX,
|
|
23776
|
-
width:
|
|
23777
|
-
anchor:
|
|
23778
|
-
times:
|
|
23779
|
-
breaks:
|
|
23780
|
-
next:
|
|
23781
|
-
nextBreaks:
|
|
23897
|
+
width: l,
|
|
23898
|
+
anchor: d,
|
|
23899
|
+
times: f,
|
|
23900
|
+
breaks: s.breaks.map((e) => ({ ...e })),
|
|
23901
|
+
next: f,
|
|
23902
|
+
nextBreaks: s.breaks,
|
|
23782
23903
|
moved: !1
|
|
23783
|
-
},
|
|
23904
|
+
}, Bt.value?.hide(), ke.value = null, Ae.value = null, window.addEventListener("pointermove", Xe), window.addEventListener("pointerup", Qe, { once: !0 }), window.addEventListener("pointercancel", Ze, { once: !0 });
|
|
23784
23905
|
}
|
|
23785
23906
|
function Xe(e) {
|
|
23786
23907
|
let t = He.value;
|
|
@@ -23789,7 +23910,7 @@ var VE = [
|
|
|
23789
23910
|
r: t.row,
|
|
23790
23911
|
c: t.col
|
|
23791
23912
|
};
|
|
23792
|
-
t.kind === "move" && (i = Je(e.clientX, e.clientY) ?? {
|
|
23913
|
+
t.kind === "move" && t.times.length === 1 && (i = Je(e.clientX, e.clientY) ?? {
|
|
23793
23914
|
r: t.toRow,
|
|
23794
23915
|
c: t.toCol
|
|
23795
23916
|
});
|
|
@@ -23807,7 +23928,10 @@ var VE = [
|
|
|
23807
23928
|
};
|
|
23808
23929
|
}
|
|
23809
23930
|
function Ze() {
|
|
23810
|
-
window.removeEventListener("pointermove", Xe);
|
|
23931
|
+
He.value = null, window.removeEventListener("pointermove", Xe), window.removeEventListener("pointerup", Qe), window.removeEventListener("pointercancel", Ze);
|
|
23932
|
+
}
|
|
23933
|
+
function Qe() {
|
|
23934
|
+
window.removeEventListener("pointermove", Xe), window.removeEventListener("pointercancel", Ze);
|
|
23811
23935
|
let e = He.value;
|
|
23812
23936
|
if (He.value = null, !e) return;
|
|
23813
23937
|
let t = De(e.row, e.col), n = Oe(e.row, e.col);
|
|
@@ -23834,7 +23958,7 @@ var VE = [
|
|
|
23834
23958
|
breaks: e.nextBreaks
|
|
23835
23959
|
});
|
|
23836
23960
|
}
|
|
23837
|
-
function
|
|
23961
|
+
function $e(e) {
|
|
23838
23962
|
let t = e.target?.closest?.("[data-part='cell']");
|
|
23839
23963
|
return t ? {
|
|
23840
23964
|
r: Number(t.dataset.r),
|
|
@@ -23842,27 +23966,27 @@ var VE = [
|
|
|
23842
23966
|
el: t
|
|
23843
23967
|
} : null;
|
|
23844
23968
|
}
|
|
23845
|
-
function
|
|
23969
|
+
function et(e) {
|
|
23846
23970
|
if (e.button !== 0) return;
|
|
23847
23971
|
if (e.target.closest("[data-part='fill-handle']")) {
|
|
23848
23972
|
if (!je.value) return;
|
|
23849
|
-
e.preventDefault(), Ne.value = !0, Pe.value = null,
|
|
23973
|
+
e.preventDefault(), Ne.value = !0, Pe.value = null, tt();
|
|
23850
23974
|
return;
|
|
23851
23975
|
}
|
|
23852
|
-
let t =
|
|
23976
|
+
let t = $e(e);
|
|
23853
23977
|
if (!t) return;
|
|
23854
23978
|
let n = r.days[t.c];
|
|
23855
|
-
n.outside ? i("day-outside", n) : y.value === "chart" ? Be(t.r, t.c) : r.editable && (e.preventDefault(), w.value?.focus({ preventScroll: !0 }),
|
|
23979
|
+
n.outside ? i("day-outside", n) : y.value === "chart" ? Be(t.r, t.c) : r.editable && (e.preventDefault(), w.value?.focus({ preventScroll: !0 }), ct.value = null, Be(t.r, t.c, e.shiftKey), Me.value = !e.shiftKey, tt());
|
|
23856
23980
|
}
|
|
23857
|
-
function
|
|
23858
|
-
|
|
23981
|
+
function tt() {
|
|
23982
|
+
Bt.value?.hide(), window.addEventListener("pointermove", nt), window.addEventListener("pointerup", rt, { once: !0 });
|
|
23859
23983
|
}
|
|
23860
|
-
function
|
|
23984
|
+
function nt(e) {
|
|
23861
23985
|
let t = Je(e.clientX, e.clientY);
|
|
23862
23986
|
t && (Ne.value ? Pe.value && Pe.value.r === t.r && Pe.value.c === t.c || (Pe.value = t) : Me.value && Ae.value && (Ae.value.r !== t.r || Ae.value.c !== t.c) && (Ae.value = t));
|
|
23863
23987
|
}
|
|
23864
|
-
function
|
|
23865
|
-
if (window.removeEventListener("pointermove",
|
|
23988
|
+
function rt() {
|
|
23989
|
+
if (window.removeEventListener("pointermove", nt), Ne.value) {
|
|
23866
23990
|
let e = Fe.value, t = je.value;
|
|
23867
23991
|
Ne.value = !1, Pe.value = null, e && t && (i("autofill", {
|
|
23868
23992
|
source: Le(t),
|
|
@@ -23877,39 +24001,39 @@ var VE = [
|
|
|
23877
24001
|
}
|
|
23878
24002
|
Me.value = !1;
|
|
23879
24003
|
}
|
|
23880
|
-
function
|
|
24004
|
+
function it(e) {
|
|
23881
24005
|
if (Me.value || Ne.value || He.value) return;
|
|
23882
|
-
let t =
|
|
24006
|
+
let t = $e(e);
|
|
23883
24007
|
if (!t) return;
|
|
23884
24008
|
let n = Q(t.r, t.c);
|
|
23885
|
-
n.tip.length ?
|
|
24009
|
+
n.tip.length ? Bt.value?.show(t.el, n.tip, t.r <= 1) : Bt.value?.hide();
|
|
23886
24010
|
}
|
|
23887
|
-
function
|
|
23888
|
-
|
|
24011
|
+
function at() {
|
|
24012
|
+
Bt.value?.hide();
|
|
23889
24013
|
}
|
|
23890
|
-
function
|
|
23891
|
-
let t =
|
|
23892
|
-
t && r.editable && !r.days[t.c].outside &&
|
|
24014
|
+
function ot(e) {
|
|
24015
|
+
let t = $e(e);
|
|
24016
|
+
t && r.editable && !r.days[t.c].outside && st(t.r, t.c);
|
|
23893
24017
|
}
|
|
23894
|
-
function
|
|
24018
|
+
function st(e, t) {
|
|
23895
24019
|
i("open", {
|
|
23896
24020
|
...De(e, t),
|
|
23897
24021
|
cell: Oe(e, t)
|
|
23898
24022
|
});
|
|
23899
24023
|
}
|
|
23900
|
-
let
|
|
23901
|
-
function
|
|
24024
|
+
let ct = U(null), lt = U(null);
|
|
24025
|
+
function ut(e) {
|
|
23902
24026
|
if (!r.contextMenu || !r.editable || y.value !== "cell") return;
|
|
23903
|
-
let t =
|
|
23904
|
-
t && !r.days[t.c].outside && (e.preventDefault(), IE(je.value, t.r, t.c) || Be(t.r, t.c),
|
|
24027
|
+
let t = $e(e);
|
|
24028
|
+
t && !r.days[t.c].outside && (e.preventDefault(), IE(je.value, t.r, t.c) || Be(t.r, t.c), Bt.value?.hide(), ct.value = {
|
|
23905
24029
|
el: t.el,
|
|
23906
24030
|
r: t.r,
|
|
23907
24031
|
c: t.c
|
|
23908
24032
|
}, B(() => document.querySelector(`#${_}-menu [role='menuitem']`)?.focus()));
|
|
23909
24033
|
}
|
|
23910
|
-
let
|
|
23911
|
-
if (!
|
|
23912
|
-
let e = Q(
|
|
24034
|
+
let dt = D(() => {
|
|
24035
|
+
if (!ct.value) return [];
|
|
24036
|
+
let e = Q(ct.value.r, ct.value.c).kind !== "empty";
|
|
23913
24037
|
return [
|
|
23914
24038
|
{
|
|
23915
24039
|
k: "open",
|
|
@@ -23943,15 +24067,15 @@ var VE = [
|
|
|
23943
24067
|
}
|
|
23944
24068
|
];
|
|
23945
24069
|
});
|
|
23946
|
-
function dt(e) {
|
|
23947
|
-
let t = st.value;
|
|
23948
|
-
st.value = null, t && (e === "open" ? ot(je.value?.r0 ?? t.r, je.value?.c0 ?? t.c) : pt(e), w.value?.focus({ preventScroll: !0 }));
|
|
23949
|
-
}
|
|
23950
24070
|
function ft(e) {
|
|
23951
|
-
let t =
|
|
23952
|
-
|
|
24071
|
+
let t = ct.value;
|
|
24072
|
+
ct.value = null, t && (e === "open" ? st(je.value?.r0 ?? t.r, je.value?.c0 ?? t.c) : mt(e), w.value?.focus({ preventScroll: !0 }));
|
|
23953
24073
|
}
|
|
23954
24074
|
function pt(e) {
|
|
24075
|
+
let t = [...lt.value?.querySelectorAll("[role='menuitem']:not([disabled])") ?? document.querySelectorAll(`#${_}-menu [role='menuitem']:not([disabled])`)], n = t.indexOf(document.activeElement);
|
|
24076
|
+
(e.key === "ArrowDown" || e.key === "ArrowUp") && (e.preventDefault(), t[(n + (e.key === "ArrowDown" ? 1 : -1) + t.length) % t.length]?.focus());
|
|
24077
|
+
}
|
|
24078
|
+
function mt(e) {
|
|
23955
24079
|
let t = je.value;
|
|
23956
24080
|
if (t && y.value === "cell" && r.editable) {
|
|
23957
24081
|
if (e === "copy" || e === "cut") Ie.value = {
|
|
@@ -23980,7 +24104,7 @@ var VE = [
|
|
|
23980
24104
|
}
|
|
23981
24105
|
}
|
|
23982
24106
|
}
|
|
23983
|
-
function
|
|
24107
|
+
function ht(e) {
|
|
23984
24108
|
let t = e.target;
|
|
23985
24109
|
if (t !== w.value && t.closest("input, textarea, select, [contenteditable='true'], button")) return;
|
|
23986
24110
|
let n = e.key.toLowerCase(), a = e.metaKey || e.ctrlKey, o = {
|
|
@@ -23995,42 +24119,47 @@ var VE = [
|
|
|
23995
24119
|
r: 0,
|
|
23996
24120
|
c: 0
|
|
23997
24121
|
}, s = Math.max(0, Math.min(r.members.length - 1, Ae.value ? a.r + t : 0)), c = Math.max(0, Math.min(r.days.length - 1, Ae.value ? a.c + i : 0));
|
|
23998
|
-
Be(s, c, e.shiftKey && !!ke.value), B(() =>
|
|
23999
|
-
|
|
24000
|
-
|
|
24001
|
-
|
|
24002
|
-
|
|
24003
|
-
|
|
24122
|
+
Be(s, c, e.shiftKey && !!ke.value), B(() => {
|
|
24123
|
+
let e = document.getElementById(`${_}-${s}-${c}`);
|
|
24124
|
+
e?.scrollIntoView?.({
|
|
24125
|
+
block: "nearest",
|
|
24126
|
+
inline: "nearest"
|
|
24127
|
+
});
|
|
24128
|
+
let t = Q(s, c).tip;
|
|
24129
|
+
y.value === "chart" && e && t.length ? Bt.value?.show(e, t, s <= 1) : Bt.value?.hide();
|
|
24130
|
+
});
|
|
24131
|
+
} else if (n === "escape") Ze(), (je.value || Ie.value) && e.preventDefault(), ze(), Bt.value?.hide();
|
|
24132
|
+
else if (n === "enter" && je.value) e.preventDefault(), r.editable && !r.days[je.value.c0].outside && st(je.value.r0, je.value.c0);
|
|
24004
24133
|
else if (y.value === "cell" && r.editable) {
|
|
24005
|
-
if (a && n === "c")
|
|
24006
|
-
else if (a && n === "x")
|
|
24007
|
-
else if (a && n === "v")
|
|
24134
|
+
if (a && n === "c") mt("copy");
|
|
24135
|
+
else if (a && n === "x") mt("cut");
|
|
24136
|
+
else if (a && n === "v") mt("paste");
|
|
24008
24137
|
else if (a && n === "z") e.preventDefault(), e.shiftKey ? i("redo") : i("undo");
|
|
24009
|
-
else if ((n === "delete" || n === "backspace") && je.value) e.preventDefault(),
|
|
24138
|
+
else if ((n === "delete" || n === "backspace") && je.value) e.preventDefault(), mt("delete");
|
|
24010
24139
|
else return;
|
|
24011
24140
|
}
|
|
24012
24141
|
}
|
|
24013
|
-
let
|
|
24014
|
-
function
|
|
24015
|
-
|
|
24142
|
+
let gt = D(() => Ae.value ? `${_}-${Ae.value.r}-${Ae.value.c}` : void 0), _t = U(""), vt = D(() => r.patterns.filter((e) => !_t.value || e.name.includes(_t.value))), yt = D(() => r.patternPanel ?? r.patterns.length > 0), bt = U(null), xt = U(null), St = (e) => e.times?.length ? `${kE(e.times[0].start)}〜${kE(e.times[e.times.length - 1].end)}` : "";
|
|
24143
|
+
function Ct(e, t) {
|
|
24144
|
+
bt.value = t, Bt.value?.hide();
|
|
24016
24145
|
try {
|
|
24017
24146
|
e.dataTransfer?.setData("text/plain", String(t.key)), e.dataTransfer && (e.dataTransfer.effectAllowed = "copy");
|
|
24018
24147
|
} catch {}
|
|
24019
24148
|
}
|
|
24020
|
-
function
|
|
24021
|
-
|
|
24149
|
+
function wt() {
|
|
24150
|
+
bt.value = null, xt.value = null;
|
|
24022
24151
|
}
|
|
24023
|
-
function
|
|
24024
|
-
if (!
|
|
24025
|
-
let t =
|
|
24152
|
+
function Tt(e) {
|
|
24153
|
+
if (!bt.value && kt.value == null || kt.value != null) return;
|
|
24154
|
+
let t = $e(e);
|
|
24026
24155
|
if (!t) return;
|
|
24027
24156
|
e.preventDefault();
|
|
24028
24157
|
let n = `${t.r}-${t.c}`;
|
|
24029
|
-
|
|
24158
|
+
xt.value !== n && (xt.value = n);
|
|
24030
24159
|
}
|
|
24031
|
-
function
|
|
24032
|
-
let t =
|
|
24033
|
-
if (
|
|
24160
|
+
function Et(e) {
|
|
24161
|
+
let t = bt.value, n = $e(e);
|
|
24162
|
+
if (wt(), !t || !n) return;
|
|
24034
24163
|
e.preventDefault();
|
|
24035
24164
|
let r = Q(n.r, n.c).locked || Q(n.r, n.c).outside ? "locked" : Q(n.r, n.c).readonly ? "readonly" : null;
|
|
24036
24165
|
r ? i("refuse", {
|
|
@@ -24041,7 +24170,7 @@ var VE = [
|
|
|
24041
24170
|
targets: [De(n.r, n.c)]
|
|
24042
24171
|
});
|
|
24043
24172
|
}
|
|
24044
|
-
function
|
|
24173
|
+
function Dt(e, t) {
|
|
24045
24174
|
if (e.key !== "Enter" && e.key !== " ") return;
|
|
24046
24175
|
e.preventDefault();
|
|
24047
24176
|
let n = je.value;
|
|
@@ -24053,7 +24182,7 @@ var VE = [
|
|
|
24053
24182
|
targets: a
|
|
24054
24183
|
});
|
|
24055
24184
|
}
|
|
24056
|
-
function
|
|
24185
|
+
function Ot(e, t) {
|
|
24057
24186
|
let n = [];
|
|
24058
24187
|
t.times?.length && n.push({
|
|
24059
24188
|
label: a.value.shift,
|
|
@@ -24061,21 +24190,21 @@ var VE = [
|
|
|
24061
24190
|
}), t.breaks?.length && n.push({
|
|
24062
24191
|
label: a.value.break,
|
|
24063
24192
|
values: t.breaks.map((e) => ME(e))
|
|
24064
|
-
}), n.length &&
|
|
24193
|
+
}), n.length && Bt.value?.show(e.currentTarget, n, !0);
|
|
24065
24194
|
}
|
|
24066
|
-
let
|
|
24067
|
-
function
|
|
24068
|
-
|
|
24195
|
+
let kt = U(null), At = U(null);
|
|
24196
|
+
function jt(e, t) {
|
|
24197
|
+
kt.value = t, Bt.value?.hide();
|
|
24069
24198
|
try {
|
|
24070
24199
|
e.dataTransfer?.setData("text/plain", String(r.members[t].key)), e.dataTransfer && (e.dataTransfer.effectAllowed = "move");
|
|
24071
24200
|
} catch {}
|
|
24072
24201
|
}
|
|
24073
|
-
function jt(e, t) {
|
|
24074
|
-
Ot.value != null && (e.preventDefault(), kt.value = t);
|
|
24075
|
-
}
|
|
24076
24202
|
function Mt(e, t) {
|
|
24077
|
-
|
|
24078
|
-
|
|
24203
|
+
kt.value != null && (e.preventDefault(), At.value = t);
|
|
24204
|
+
}
|
|
24205
|
+
function Nt(e, t) {
|
|
24206
|
+
let n = kt.value;
|
|
24207
|
+
if (kt.value = null, At.value = null, n == null || n === t) return;
|
|
24079
24208
|
e.preventDefault();
|
|
24080
24209
|
let a = r.members.map((e) => e.key), [o] = a.splice(n, 1);
|
|
24081
24210
|
a.splice(t, 0, o), i("reorder", {
|
|
@@ -24084,17 +24213,17 @@ var VE = [
|
|
|
24084
24213
|
keys: a
|
|
24085
24214
|
});
|
|
24086
24215
|
}
|
|
24087
|
-
function
|
|
24088
|
-
|
|
24216
|
+
function Pt() {
|
|
24217
|
+
kt.value = null, At.value = null;
|
|
24089
24218
|
}
|
|
24090
|
-
function
|
|
24219
|
+
function Ft(e, t) {
|
|
24091
24220
|
let n = [];
|
|
24092
|
-
IE(je.value, e, t) && n.push("selected"), Fe.value && IE(Fe.value, e, t) && !IE(je.value, e, t) && n.push("fill"),
|
|
24221
|
+
IE(je.value, e, t) && n.push("selected"), Fe.value && IE(Fe.value, e, t) && !IE(je.value, e, t) && n.push("fill"), xt.value === `${e}-${t}` && n.push("drop");
|
|
24093
24222
|
let r = He.value ? We(e, t) : null;
|
|
24094
24223
|
return r && n.push(r.state), n.join(" ") || void 0;
|
|
24095
24224
|
}
|
|
24096
|
-
let
|
|
24097
|
-
let e =
|
|
24225
|
+
let It = (e, t) => r.editable && y.value === "cell" && !Me.value && !!je.value && je.value.r1 === e && je.value.c1 === t, Lt = D(() => r.platform ? r.platform === "mac" : RE()), Rt = D(() => {
|
|
24226
|
+
let e = Lt.value, t = p.value === "kbd", n = (n, r = !1) => t ? e ? `⌘${r ? "⇧" : ""}${n}` : `Ctrl+${r ? "Shift+" : ""}${n}` : e ? `⌘+${r ? "Shift+" : ""}${n}` : `Ctrl+${r ? "Shift+" : ""}${n}`;
|
|
24098
24227
|
return [
|
|
24099
24228
|
{
|
|
24100
24229
|
n: a.value.copy,
|
|
@@ -24121,30 +24250,30 @@ var VE = [
|
|
|
24121
24250
|
k: "Delete"
|
|
24122
24251
|
}
|
|
24123
24252
|
];
|
|
24124
|
-
}),
|
|
24253
|
+
}), zt = D(() => {
|
|
24125
24254
|
if (y.value === "chart") return "";
|
|
24126
24255
|
let e = je.value;
|
|
24127
24256
|
return e ? o(a.value.selected, { n: (e.r1 - e.r0 + 1) * (e.c1 - e.c0 + 1) }) : a.value.selectHint;
|
|
24128
|
-
}),
|
|
24257
|
+
}), Bt = U(null), Vt = D(() => {
|
|
24129
24258
|
let [e, t] = r.chartRange, n = [];
|
|
24130
24259
|
for (let r = e; r <= t; r += 360) n.push({
|
|
24131
24260
|
m: r,
|
|
24132
24261
|
t: String(Math.floor(r / 60))
|
|
24133
24262
|
});
|
|
24134
24263
|
return n;
|
|
24135
|
-
}),
|
|
24264
|
+
}), Ht = D(() => ({
|
|
24136
24265
|
"--sg-col": `${L.value}px`,
|
|
24137
24266
|
"--sg-n": String(I.value),
|
|
24138
24267
|
transform: R.value < 1 ? `scale(${R.value})` : void 0,
|
|
24139
24268
|
width: R.value < 1 ? `${ne.value}px` : void 0
|
|
24140
|
-
})),
|
|
24269
|
+
})), Ut = D(() => R.value < 1 && N.value ? { height: `${Math.ceil(N.value * R.value)}px` } : void 0);
|
|
24141
24270
|
Y([
|
|
24142
24271
|
() => r.days.length,
|
|
24143
24272
|
() => r.members.length,
|
|
24144
24273
|
L,
|
|
24145
24274
|
y
|
|
24146
24275
|
], () => B(fe)), se(() => {
|
|
24147
|
-
de?.disconnect(), window.removeEventListener("pointermove",
|
|
24276
|
+
de?.disconnect(), Ze(), window.removeEventListener("pointerup", rt), window.removeEventListener("pointermove", nt), window.removeEventListener("pointermove", Xe);
|
|
24148
24277
|
}), t({
|
|
24149
24278
|
zoomIn: oe,
|
|
24150
24279
|
zoomOut: ae,
|
|
@@ -24156,7 +24285,7 @@ var VE = [
|
|
|
24156
24285
|
canZoomOut: re,
|
|
24157
24286
|
selection: je
|
|
24158
24287
|
});
|
|
24159
|
-
let
|
|
24288
|
+
let Wt = (e) => e.d;
|
|
24160
24289
|
return (t, n) => (H(), A("div", {
|
|
24161
24290
|
ref_key: "root",
|
|
24162
24291
|
ref: C,
|
|
@@ -24215,13 +24344,13 @@ var VE = [
|
|
|
24215
24344
|
"label",
|
|
24216
24345
|
"options"
|
|
24217
24346
|
])], 64)) : k("", !0)])) : k("", !0),
|
|
24218
|
-
j("div", UE, [
|
|
24347
|
+
j("div", UE, [yt.value ? (H(), A("aside", {
|
|
24219
24348
|
key: 0,
|
|
24220
24349
|
"data-part": "patterns",
|
|
24221
24350
|
"aria-label": a.value.patternSearch
|
|
24222
24351
|
}, [G(t.$slots, "patterns", {
|
|
24223
|
-
patterns:
|
|
24224
|
-
query:
|
|
24352
|
+
patterns: vt.value,
|
|
24353
|
+
query: _t.value
|
|
24225
24354
|
}, () => [
|
|
24226
24355
|
e.patternEdit && e.editable ? (H(), A("button", {
|
|
24227
24356
|
key: 0,
|
|
@@ -24237,36 +24366,36 @@ var VE = [
|
|
|
24237
24366
|
size: "sm",
|
|
24238
24367
|
line: ""
|
|
24239
24368
|
}), Se(j("input", {
|
|
24240
|
-
"onUpdate:modelValue": n[1] ||= (e) =>
|
|
24369
|
+
"onUpdate:modelValue": n[1] ||= (e) => _t.value = e,
|
|
24241
24370
|
type: "text",
|
|
24242
24371
|
placeholder: a.value.patternSearch,
|
|
24243
24372
|
"aria-label": a.value.patternSearch
|
|
24244
|
-
}, null, 8, KE), [[be,
|
|
24245
|
-
(H(!0), A(x, null, W(
|
|
24373
|
+
}, null, 8, KE), [[be, _t.value]])]),
|
|
24374
|
+
(H(!0), A(x, null, W(vt.value, (t) => (H(), A("div", {
|
|
24246
24375
|
key: t.key,
|
|
24247
24376
|
"data-part": "pattern",
|
|
24248
24377
|
role: "button",
|
|
24249
24378
|
tabindex: "0",
|
|
24250
24379
|
draggable: e.editable ? "true" : "false",
|
|
24251
24380
|
"data-tip": a.value.patternDrag,
|
|
24252
|
-
"aria-label": `${t.name} ${
|
|
24253
|
-
onDragstart: (e) =>
|
|
24254
|
-
onDragend:
|
|
24255
|
-
onKeydown: (e) =>
|
|
24256
|
-
onPointerenter: (e) =>
|
|
24257
|
-
onPointerleave:
|
|
24381
|
+
"aria-label": `${t.name} ${St(t)}`,
|
|
24382
|
+
onDragstart: (e) => Ct(e, t),
|
|
24383
|
+
onDragend: wt,
|
|
24384
|
+
onKeydown: (e) => Dt(e, t),
|
|
24385
|
+
onPointerenter: (e) => Ot(e, t),
|
|
24386
|
+
onPointerleave: at
|
|
24258
24387
|
}, [j("span", {
|
|
24259
24388
|
"data-part": "pattern-swatch",
|
|
24260
24389
|
style: V({ background: t.color }),
|
|
24261
24390
|
"aria-hidden": "true"
|
|
24262
|
-
}, null, 4), j("span", null, [j("b", JE, q(t.name), 1),
|
|
24263
|
-
|
|
24391
|
+
}, null, 4), j("span", null, [j("b", JE, q(t.name), 1), St(t) ? (H(), A("small", YE, q(St(t)), 1)) : k("", !0)])], 40, qE))), 128)),
|
|
24392
|
+
_t.value && !vt.value.length ? (H(), O(ai, {
|
|
24264
24393
|
key: 1,
|
|
24265
24394
|
"data-part": "pattern-none",
|
|
24266
24395
|
role: "status",
|
|
24267
24396
|
size: "sm",
|
|
24268
24397
|
icon: "search",
|
|
24269
|
-
text: o(a.value.patternNone, { q:
|
|
24398
|
+
text: o(a.value.patternNone, { q: _t.value })
|
|
24270
24399
|
}, null, 8, ["text"])) : k("", !0),
|
|
24271
24400
|
e.editable ? (H(), A("span", XE, [F($, {
|
|
24272
24401
|
name: "info",
|
|
@@ -24283,25 +24412,25 @@ var VE = [
|
|
|
24283
24412
|
"aria-multiselectable": "true",
|
|
24284
24413
|
"aria-rowcount": e.members.length + 1,
|
|
24285
24414
|
"aria-colcount": e.days.length + 1,
|
|
24286
|
-
"aria-activedescendant":
|
|
24415
|
+
"aria-activedescendant": gt.value,
|
|
24287
24416
|
style: V(e.maxHeight ? { maxHeight: e.maxHeight } : void 0),
|
|
24288
|
-
onKeydown:
|
|
24289
|
-
onPointerdown:
|
|
24290
|
-
onPointerover:
|
|
24291
|
-
onPointerleave:
|
|
24292
|
-
onDblclick:
|
|
24293
|
-
onContextmenu:
|
|
24294
|
-
onDragover:
|
|
24295
|
-
onDrop:
|
|
24417
|
+
onKeydown: ht,
|
|
24418
|
+
onPointerdown: et,
|
|
24419
|
+
onPointerover: it,
|
|
24420
|
+
onPointerleave: at,
|
|
24421
|
+
onDblclick: ot,
|
|
24422
|
+
onContextmenu: ut,
|
|
24423
|
+
onDragover: Tt,
|
|
24424
|
+
onDrop: Et
|
|
24296
24425
|
}, [j("div", {
|
|
24297
24426
|
"data-part": "scaler",
|
|
24298
|
-
style: V(
|
|
24427
|
+
style: V(Ut.value)
|
|
24299
24428
|
}, [j("div", {
|
|
24300
24429
|
ref_key: "gridEl",
|
|
24301
24430
|
ref: T,
|
|
24302
24431
|
"data-part": "grid",
|
|
24303
24432
|
role: "presentation",
|
|
24304
|
-
style: V(
|
|
24433
|
+
style: V(Ht.value)
|
|
24305
24434
|
}, [
|
|
24306
24435
|
j("div", $E, [j("div", eD, q(J(s) === "date" ? a.value.name : ""), 1), (H(!0), A(x, null, W(ve.value, (e) => (H(), A("div", {
|
|
24307
24436
|
key: e.d.date,
|
|
@@ -24313,8 +24442,8 @@ var VE = [
|
|
|
24313
24442
|
"data-tone": e.tone,
|
|
24314
24443
|
"data-today": e.today ? "" : void 0,
|
|
24315
24444
|
"data-unpublished": e.unpub ? "" : void 0,
|
|
24316
|
-
onClick: (t) => i("day-open",
|
|
24317
|
-
onKeydown: Ce(Z((t) => i("day-open",
|
|
24445
|
+
onClick: (t) => i("day-open", Wt(e)),
|
|
24446
|
+
onKeydown: Ce(Z((t) => i("day-open", Wt(e)), ["prevent"]), ["enter"])
|
|
24318
24447
|
}, [
|
|
24319
24448
|
J(s) === "button" ? (H(), A("span", nD, [e.unpub ? (H(), O($, {
|
|
24320
24449
|
key: 0,
|
|
@@ -24341,12 +24470,12 @@ var VE = [
|
|
|
24341
24470
|
type: "button",
|
|
24342
24471
|
"data-part": "chart-button",
|
|
24343
24472
|
"aria-label": `${e.dateText} ${a.value.dayChart}`,
|
|
24344
|
-
onClick: (t) => i("day-chart",
|
|
24473
|
+
onClick: (t) => i("day-chart", Wt(e))
|
|
24345
24474
|
}, [F($, {
|
|
24346
24475
|
name: "chart",
|
|
24347
24476
|
size: "sm"
|
|
24348
24477
|
}), _e.value ? (H(), A("span", lD, q(a.value.dayChart), 1)) : k("", !0)], 8, cD)) : k("", !0),
|
|
24349
|
-
y.value === "chart" ? (H(), A("span", uD, [(H(!0), A(x, null, W(
|
|
24478
|
+
y.value === "chart" ? (H(), A("span", uD, [(H(!0), A(x, null, W(Vt.value, (e) => (H(), A("span", { key: e.m }, q(e.t), 1))), 128))])) : k("", !0),
|
|
24350
24479
|
J(s) === "date" ? (H(), A(x, { key: 2 }, [e.locked ? (H(), O($, {
|
|
24351
24480
|
key: 0,
|
|
24352
24481
|
name: "lock",
|
|
@@ -24381,9 +24510,9 @@ var VE = [
|
|
|
24381
24510
|
}, [j("div", {
|
|
24382
24511
|
"data-part": "name",
|
|
24383
24512
|
role: "rowheader",
|
|
24384
|
-
"data-state":
|
|
24385
|
-
onDragover: (e) =>
|
|
24386
|
-
onDrop: Z((e) =>
|
|
24513
|
+
"data-state": At.value === t.r ? "drop" : void 0,
|
|
24514
|
+
onDragover: (e) => Mt(e, t.r),
|
|
24515
|
+
onDrop: Z((e) => Nt(e, t.r), ["stop"])
|
|
24387
24516
|
}, [
|
|
24388
24517
|
e.editable ? (H(), A("span", {
|
|
24389
24518
|
key: 0,
|
|
@@ -24391,8 +24520,8 @@ var VE = [
|
|
|
24391
24520
|
draggable: "true",
|
|
24392
24521
|
"data-tip": a.value.reorder,
|
|
24393
24522
|
"aria-label": a.value.reorder,
|
|
24394
|
-
onDragstart: (e) =>
|
|
24395
|
-
onDragend:
|
|
24523
|
+
onDragstart: (e) => jt(e, t.r),
|
|
24524
|
+
onDragend: Pt
|
|
24396
24525
|
}, [F($, {
|
|
24397
24526
|
name: "grip",
|
|
24398
24527
|
size: "sm",
|
|
@@ -24430,7 +24559,7 @@ var VE = [
|
|
|
24430
24559
|
"data-today": r.today ? "" : void 0,
|
|
24431
24560
|
"data-locked": Q(t.r, o).locked && g.value.locked ? "" : void 0,
|
|
24432
24561
|
"data-outside": r.d.outside ? "" : void 0,
|
|
24433
|
-
"data-state":
|
|
24562
|
+
"data-state": Ft(t.r, o),
|
|
24434
24563
|
"data-edge": Ve(je.value, t.r, o),
|
|
24435
24564
|
"data-clip": Ie.value && J(IE)(Ie.value.rect, t.r, o) ? Ie.value.mode : void 0,
|
|
24436
24565
|
"data-clip-edge": Ie.value ? Ve(Ie.value.rect, t.r, o) : void 0,
|
|
@@ -24493,28 +24622,28 @@ var VE = [
|
|
|
24493
24622
|
key: "b" + n,
|
|
24494
24623
|
"data-part": "bar",
|
|
24495
24624
|
style: V(Ke(e)),
|
|
24496
|
-
onPointerdown: (e) => Ye(e, t.r, o, "move")
|
|
24625
|
+
onPointerdown: (e) => Ye(e, t.r, o, "move", n)
|
|
24497
24626
|
}, null, 44, jD))), 128)),
|
|
24498
24627
|
(H(!0), A(x, null, W(qe(t.r, o).breaks, (e, t) => (H(), A("em", {
|
|
24499
24628
|
key: "k" + t,
|
|
24500
24629
|
"data-part": "break",
|
|
24501
24630
|
style: V(Ke(e))
|
|
24502
24631
|
}, null, 4))), 128)),
|
|
24503
|
-
e.editable && !Q(t.r, o).locked
|
|
24632
|
+
e.editable && !Q(t.r, o).locked ? (H(!0), A(x, { key: 1 }, W(qe(t.r, o).times, (n, r) => (H(), A(x, { key: `handles-${r}` }, [j("b", {
|
|
24504
24633
|
"data-part": "handle",
|
|
24505
24634
|
"data-side": "start",
|
|
24506
|
-
title: a.value.resizeStart
|
|
24507
|
-
style: V({ left: Ke(
|
|
24508
|
-
onPointerdown: (e) => Ye(e, t.r, o, "start")
|
|
24635
|
+
title: `${a.value.resizeStart} ${J(ME)(n)}`,
|
|
24636
|
+
style: V({ left: Ke(n).left }),
|
|
24637
|
+
onPointerdown: (e) => Ye(e, t.r, o, "start", r)
|
|
24509
24638
|
}, null, 44, MD), j("b", {
|
|
24510
24639
|
"data-part": "handle",
|
|
24511
24640
|
"data-side": "end",
|
|
24512
|
-
title: a.value.resizeEnd
|
|
24513
|
-
style: V({ left: `${J(NE)(
|
|
24514
|
-
onPointerdown: (e) => Ye(e, t.r, o, "end")
|
|
24515
|
-
}, null, 44, ND)], 64)) : k("", !0)
|
|
24641
|
+
title: `${a.value.resizeEnd} ${J(ME)(n)}`,
|
|
24642
|
+
style: V({ left: `${J(NE)(n.end, e.chartRange)}%` }),
|
|
24643
|
+
onPointerdown: (e) => Ye(e, t.r, o, "end", r)
|
|
24644
|
+
}, null, 44, ND)], 64))), 128)) : k("", !0)
|
|
24516
24645
|
]), j("span", PD, q(He.value && qe(t.r, o).state ? qe(t.r, o).times.map(J(jE)).join(" / ") : Q(t.r, o).barLabel), 1)], 40, DD)),
|
|
24517
|
-
|
|
24646
|
+
It(t.r, o) ? (H(), A("span", FD)) : k("", !0),
|
|
24518
24647
|
Q(t.r, o).locked && g.value.locked ? (H(), O($, {
|
|
24519
24648
|
key: 3,
|
|
24520
24649
|
line: "",
|
|
@@ -24536,7 +24665,7 @@ var VE = [
|
|
|
24536
24665
|
"data-state": e.shortage ? "short" : "ok",
|
|
24537
24666
|
"data-tip": e.shortTip || void 0
|
|
24538
24667
|
}, q(e.shortage ? o(a.value.shortageCell, { n: e.shortage }) : a.value.none), 9, VD))), 128))])) : k("", !0)
|
|
24539
|
-
], 4)], 4)], 44, QE), t.$slots.footer || g.value.hints && !e.compact ? (H(), A("div", HD, [G(t.$slots, "footer"), g.value.hints && !e.compact && e.editable ? (H(), A(x, { key: 0 }, [y.value === "cell" ? (H(), A(x, { key: 0 }, [j("b", UD, q(a.value.shortcutTitle), 1), (H(!0), A(x, null, W(
|
|
24668
|
+
], 4)], 4)], 44, QE), t.$slots.footer || g.value.hints && !e.compact ? (H(), A("div", HD, [G(t.$slots, "footer"), g.value.hints && !e.compact && e.editable ? (H(), A(x, { key: 0 }, [y.value === "cell" ? (H(), A(x, { key: 0 }, [j("b", UD, q(a.value.shortcutTitle), 1), (H(!0), A(x, null, W(Rt.value, (e) => (H(), A("span", {
|
|
24540
24669
|
key: e.n,
|
|
24541
24670
|
"data-part": "hint"
|
|
24542
24671
|
}, [J(p) === "kbd" ? (H(), A(x, { key: 0 }, [P(q(e.n), 1), j("kbd", WD, q(e.k), 1)], 64)) : (H(), A(x, { key: 1 }, [P(q(e.n) + ": " + q(e.k), 1)], 64))]))), 128))], 64)) : (H(), A(x, { key: 1 }, [
|
|
@@ -24549,35 +24678,35 @@ var VE = [
|
|
|
24549
24678
|
key: e,
|
|
24550
24679
|
"data-part": "hint"
|
|
24551
24680
|
}, q(e), 1))), 128))
|
|
24552
|
-
], 64)),
|
|
24681
|
+
], 64)), zt.value ? (H(), A("span", KD, q(zt.value), 1)) : k("", !0)], 64)) : k("", !0)])) : k("", !0)])]),
|
|
24553
24682
|
F(DE, {
|
|
24554
24683
|
ref_key: "tip",
|
|
24555
|
-
ref:
|
|
24684
|
+
ref: Bt,
|
|
24556
24685
|
form: J(f)
|
|
24557
24686
|
}, null, 8, ["form"]),
|
|
24558
24687
|
F(Sf, { root: C.value }, null, 8, ["root"]),
|
|
24559
24688
|
F(fn, {
|
|
24560
24689
|
id: `${J(_)}-menu`,
|
|
24561
|
-
open: !!
|
|
24562
|
-
anchor:
|
|
24690
|
+
open: !!ct.value,
|
|
24691
|
+
anchor: ct.value?.el ?? null,
|
|
24563
24692
|
placement: "right-start",
|
|
24564
24693
|
ar: "shift-grid-menu",
|
|
24565
24694
|
role: "menu",
|
|
24566
|
-
onClose: n[4] ||= (e) =>
|
|
24695
|
+
onClose: n[4] ||= (e) => ct.value = null
|
|
24567
24696
|
}, {
|
|
24568
24697
|
default: X(() => [j("div", {
|
|
24569
24698
|
ref_key: "menuPanel",
|
|
24570
|
-
ref:
|
|
24699
|
+
ref: lt,
|
|
24571
24700
|
"data-part": "menu",
|
|
24572
|
-
onKeydown:
|
|
24573
|
-
}, [(H(!0), A(x, null, W(
|
|
24701
|
+
onKeydown: pt
|
|
24702
|
+
}, [(H(!0), A(x, null, W(dt.value, (e) => (H(), A("button", {
|
|
24574
24703
|
key: e.k,
|
|
24575
24704
|
type: "button",
|
|
24576
24705
|
"data-part": "menu-item",
|
|
24577
24706
|
role: "menuitem",
|
|
24578
24707
|
"data-item": e.k === "open" ? e.ic === "pen" ? "edit" : "add" : e.k,
|
|
24579
24708
|
disabled: e.dis,
|
|
24580
|
-
onClick: (t) =>
|
|
24709
|
+
onClick: (t) => ft(e.k)
|
|
24581
24710
|
}, [F($, {
|
|
24582
24711
|
name: e.ic,
|
|
24583
24712
|
size: "sm"
|
|
@@ -26255,23 +26384,18 @@ var VE = [
|
|
|
26255
26384
|
"disabled",
|
|
26256
26385
|
"size"
|
|
26257
26386
|
]),
|
|
26258
|
-
e.lookup ? (H(), O(Nt, {
|
|
26387
|
+
e.lookup && (o.value === "failed" || o.value === "not-found") ? (H(), O(Nt, {
|
|
26259
26388
|
key: 0,
|
|
26260
26389
|
"data-part": "lookup",
|
|
26261
26390
|
tone: "secondary",
|
|
26262
26391
|
icon: "search",
|
|
26263
26392
|
size: e.size,
|
|
26264
26393
|
disabled: e.disabled || a(e.modelValue ?? "").length !== 8,
|
|
26265
|
-
loading: o.value === "searching",
|
|
26266
26394
|
onClick: u
|
|
26267
26395
|
}, {
|
|
26268
26396
|
default: X(() => [P(q(e.labels.lookup ?? "住所を入れる"), 1)]),
|
|
26269
26397
|
_: 1
|
|
26270
|
-
}, 8, [
|
|
26271
|
-
"size",
|
|
26272
|
-
"disabled",
|
|
26273
|
-
"loading"
|
|
26274
|
-
])) : k("", !0),
|
|
26398
|
+
}, 8, ["size", "disabled"])) : k("", !0),
|
|
26275
26399
|
j("span", Ek, q(_()), 1)
|
|
26276
26400
|
], 14, Tk));
|
|
26277
26401
|
}
|
|
@@ -26372,4 +26496,4 @@ var VE = [
|
|
|
26372
26496
|
], 8, Bk)) : G(t.$slots, "default", {}, void 0, void 0, 1)], 12, zk));
|
|
26373
26497
|
}
|
|
26374
26498
|
});
|
|
26375
|
-
export { on as ArAffix, Wv as ArAlert, ln as ArAnchor, Db as ArAppFooter, Zb as ArAppHeader, px as ArApprovalFlow, Rk as ArAuthPanel, $i as ArAutoComplete, qn as ArAvatar, kf as ArAvatarGroup, Bt as ArBadge, gx as ArBalloon, qv as ArBorderBeam, kx as ArBottomNav, Fn as ArBreadcrumb, Nt as ArButton, op as ArCalendar, ti as ArCard, gp as ArCarousel, aa as ArCascader, rS as ArChangedValue, fa as ArCheckbox, ha as ArCheckboxGroup, aS as ArChip, Na as ArChoiceCard, ke as ArCluster, wp as ArCollapse, no as ArColorPicker, Ha as ArColorSwatches, je as ArCompact, Pp as ArCountdown, No as ArDateInput, Xo as ArDatePicker, ns as ArDateRange, hs as ArDateTimeInput, dS as ArDateView, vS as ArDaySummary, Vp as ArDescriptions, o as ArDesignError, Fe as ArDivider, CS as ArDocumentBlock, ty as ArDrawer, Dn as ArDropdown, xs as ArDurationInput, ES as ArEllipsis, ai as ArEmpty, RS as ArExample, As as ArField, BS as ArFlagGroup, US as ArFlagView, Ut as ArFloatButton, Fs as ArForm, Ie as ArGrid, $ as ArIcon, em as ArImage, YS as ArInfo, Js as ArInputNumber, bc as ArItem, $S as ArKanaInput, aC as ArKanaText, He as ArLayout, Kt as ArLink, mm as ArList, lC as ArLogoSpin, ym as ArMapPreview, We as ArMasonry, Ec as ArMentions, Vn as ArMenu, pC as ArMenuTile, ay as ArMessage, Ty as ArMessageHost, yC as ArMobileHeader, At as ArModal, TC as ArMonthDayInput, Ny as ArNotification, Py as ArNotificationHost, Pm as ArOrgChart, Nc as ArOtpInput, OC as ArPageHeading, qr as ArPagination, Jt as ArParagraph, ew as ArPayslip, HC as ArPayslipLine, MC as ArPayslipTable, qm as ArPdfViewer, Cw as ArPeriodBox, mw as ArPeriodNav, Ic as ArPills, Ym as ArPointerBadge, By as ArPopconfirm, ac as ArPopover,
|
|
26499
|
+
export { on as ArAffix, Wv as ArAlert, ln as ArAnchor, Db as ArAppFooter, Zb as ArAppHeader, px as ArApprovalFlow, Rk as ArAuthPanel, $i as ArAutoComplete, qn as ArAvatar, kf as ArAvatarGroup, Bt as ArBadge, gx as ArBalloon, qv as ArBorderBeam, kx as ArBottomNav, Fn as ArBreadcrumb, Nt as ArButton, op as ArCalendar, ti as ArCard, gp as ArCarousel, aa as ArCascader, rS as ArChangedValue, fa as ArCheckbox, ha as ArCheckboxGroup, aS as ArChip, Na as ArChoiceCard, ke as ArCluster, wp as ArCollapse, no as ArColorPicker, Ha as ArColorSwatches, je as ArCompact, Pp as ArCountdown, No as ArDateInput, Xo as ArDatePicker, ns as ArDateRange, hs as ArDateTimeInput, dS as ArDateView, vS as ArDaySummary, Vp as ArDescriptions, o as ArDesignError, Fe as ArDivider, CS as ArDocumentBlock, ty as ArDrawer, Dn as ArDropdown, xs as ArDurationInput, ES as ArEllipsis, ai as ArEmpty, RS as ArExample, As as ArField, BS as ArFlagGroup, US as ArFlagView, Ut as ArFloatButton, Fs as ArForm, Ie as ArGrid, $ as ArIcon, em as ArImage, YS as ArInfo, Js as ArInputNumber, bc as ArItem, $S as ArKanaInput, aC as ArKanaText, He as ArLayout, Kt as ArLink, mm as ArList, lC as ArLogoSpin, ym as ArMapPreview, We as ArMasonry, Ec as ArMentions, Vn as ArMenu, pC as ArMenuTile, ay as ArMessage, Ty as ArMessageHost, yC as ArMobileHeader, At as ArModal, TC as ArMonthDayInput, Ny as ArNotification, Py as ArNotificationHost, Pm as ArOrgChart, Nc as ArOtpInput, OC as ArPageHeading, qr as ArPagination, Jt as ArParagraph, ew as ArPayslip, HC as ArPayslipLine, MC as ArPayslipTable, qm as ArPdfViewer, Cw as ArPeriodBox, mw as ArPeriodNav, Ic as ArPills, Ym as ArPointerBadge, By as ArPopconfirm, ac as ArPopover, eh as ArProfileCard, Yy as ArProgress, Ow as ArPunchButton, Mw as ArPunchPanel, xh as ArQRCode, xa as ArRadio, Uc as ArRadioGroup, qc as ArRate, nb as ArResult, Th as ArRibbon, Cu as ArRichTextEditor, Iw as ArSaveBar, Vw as ArSectionHead, ui as ArSectionMenu, Qt as ArSegmented, Ir as ArSelect, bE as ArShiftChart, CE as ArShiftDaySheet, JD as ArShiftGrid, AO as ArShiftViewTable, cb as ArSkeleton, Ou as ArSlider, hb as ArSpin, Ye as ArSplit, $e as ArSplitter, et as ArStack, Np as ArStatistic, Pi as ArStepSelect, Fu as ArStepper, yi as ArSteps, Hu as ArSubItem, $u as ArSwitch, T_ as ArTable, Uk as ArTableHeader, Hi as ArTabs, Si as ArTag, nn as ArText, rr as ArTextInput, rd as ArTextarea, Te as ArThemeScope, YO as ArThumbnail, gk as ArTimeChart, ps as ArTimeInput, dd as ArTimePicker, gd as ArTimeRange, M_ as ArTimeline, rn as ArTitle, vb as ArToast, F_ as ArTooltip, K_ as ArTour, Od as ArTransfer, Q_ as ArTree, Jd as ArTreeSelect, Lv as ArTreeTable, Oe as ArUiProvider, gf as ArUpload, ml as ArVariablePanel, _g as ArViewOptions, bb as ArWatermark, yf as ArWeekdayPicker, Ji as ArWizard, yk as ArYearInput, wk as ArYearMonthInput, Dk as ArZipInput, Df as ArZoomControl, l as captureArUiContext, i as componentMeta, n as componentNames, r as contracts, a as defineDesign, t as designedComponents, we as icons, e as structuralComponents, sy as useArConfirm, my as useArMessage, Cy as useArNotification, f as useArUi };
|