@s_and_a/arrow-ui 0.1.12 → 0.1.14
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/index.js +570 -504
- 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/ArNotification.vue.d.ts +1 -1
- package/dist/types/components/ArPeriodNav.vue.d.ts +2 -2
- package/dist/types/components/ArShiftDaySheet.vue.d.ts +2 -2
- package/dist/types/components/ArShiftGrid.vue.d.ts +1 -1
- 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.vue.d.ts +2 -2
- package/dist/types/components/ArZipInput.contract.d.ts +1 -1
- package/dist/types/internal/shiftGrid.d.ts +2 -0
- package/dist/types/layout/ArSplit.vue.d.ts +3 -3
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@ declare const __VLS_export: import("vue").DefineComponent<ArAvatarProps, {}, {},
|
|
|
4
4
|
text: string;
|
|
5
5
|
name: string;
|
|
6
6
|
label: string;
|
|
7
|
-
size: "sm" | "md" | "lg" | "
|
|
7
|
+
size: "sm" | "md" | "lg" | "xs" | "xl";
|
|
8
8
|
color: readonly [string, string];
|
|
9
9
|
tone: import("./ArAvatar.contract").ArAvatarTone;
|
|
10
10
|
shape: "circle" | "square";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ArAvatarGroupProps } from "./ArAvatar.contract";
|
|
2
2
|
declare const __VLS_export: import("vue").DefineComponent<ArAvatarGroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ArAvatarGroupProps> & Readonly<{}>, {
|
|
3
3
|
label: string;
|
|
4
|
-
size: "sm" | "md" | "lg" | "
|
|
4
|
+
size: "sm" | "md" | "lg" | "xs" | "xl";
|
|
5
5
|
max: number;
|
|
6
6
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
7
|
declare const _default: typeof __VLS_export;
|
|
@@ -15,7 +15,7 @@ declare const __VLS_base: import("vue").DefineComponent<ArButtonProps, {}, {}, {
|
|
|
15
15
|
icon: "search" | "repeat" | "shift" | "sort" | "filter" | "grid" | "layout" | "menu" | "upload" | "card" | "image" | "list" | "alert" | "info" | "cal" | "brief" | "calc" | "files" | "mega" | "bld" | "users" | "gear" | "todo" | "bell" | "cd" | "cl" | "cr" | "plus" | "x" | "pen" | "trash" | "more" | "lock" | "clock" | "layers" | "sheet" | "print" | "chart" | "gantt" | "check" | "pin" | "yen" | "minus" | "moon" | "play" | "store" | "eye" | "note" | "user" | "coffee" | "grip" | "undo" | "redo" | "panel" | "out" | "eyeoff" | "hand" | "swap" | "inbox" | "help" | "phone" | "mail" | "bug" | "speaker" | "hand2" | "dl" | "send" | "xls" | "star" | "copy" | "folder" | "file" | "home" | "up" | "down" | "zoom" | "reload" | "qmark" | "smile" | "drag" | "camera" | "unlock" | "pointer" | "movie" | "money" | "checkcircle" | "exclaim" | "schedule" | "comment" | "notice" | "cut" | "paste" | "save" | "return" | "zoomout" | "zoomreset" | "silhouette" | "twoperson" | "manager" | "nocard" | "keyboard" | "punchin" | "punchout" | "bank" | "hierarchy" | "status" | "chevrons" | "apply" | "umbrella" | "contract" | "switch-user" | "globe" | "walk";
|
|
16
16
|
label: string;
|
|
17
17
|
block: boolean;
|
|
18
|
-
size: "sm" | "md" | "lg" | "
|
|
18
|
+
size: "sm" | "md" | "lg" | "xs" | "xl";
|
|
19
19
|
disabled: boolean;
|
|
20
20
|
tone: import("./ArButton.contract").ArButtonTone;
|
|
21
21
|
shape: "default" | "circle" | "round";
|
|
@@ -38,11 +38,11 @@ declare const __VLS_base: import("vue").DefineComponent<ArCalendarProps, {}, {},
|
|
|
38
38
|
};
|
|
39
39
|
modelValue: string | null;
|
|
40
40
|
mode: "month" | "year";
|
|
41
|
-
month: string;
|
|
42
41
|
range: {
|
|
43
42
|
start: string;
|
|
44
43
|
end: string;
|
|
45
44
|
};
|
|
45
|
+
month: string;
|
|
46
46
|
minYear: number;
|
|
47
47
|
maxYear: number;
|
|
48
48
|
today: string;
|
|
@@ -19,9 +19,9 @@ declare const __VLS_base: import("vue").DefineComponent<ArChangedValueProps, {},
|
|
|
19
19
|
};
|
|
20
20
|
items: readonly ArChangedValueItem[] | null;
|
|
21
21
|
numeric: boolean;
|
|
22
|
+
after: string | number | null;
|
|
22
23
|
changed: boolean | null;
|
|
23
24
|
before: string | number | null;
|
|
24
|
-
after: string | number | null;
|
|
25
25
|
headers: Partial<ArChangedValueHeaders>;
|
|
26
26
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
27
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ArDateViewProps } from "./ArDateView.contract";
|
|
2
2
|
declare const __VLS_export: import("vue").DefineComponent<ArDateViewProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ArDateViewProps> & Readonly<{}>, {
|
|
3
3
|
labels: Partial<import("./ArDateView.contract").ArDateViewLabels>;
|
|
4
|
-
format: "auto" | "
|
|
4
|
+
format: "auto" | "short" | "long";
|
|
5
5
|
holiday: boolean;
|
|
6
6
|
shortWeekday: boolean;
|
|
7
7
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -17,8 +17,8 @@ declare const __VLS_base: import("vue").DefineComponent<ArDescriptionsProps, {},
|
|
|
17
17
|
layout: "inline" | "stacked";
|
|
18
18
|
title: string;
|
|
19
19
|
variant: "plain" | "bordered";
|
|
20
|
-
headingLevel: 2 | 3 | 4;
|
|
21
20
|
column: number;
|
|
21
|
+
headingLevel: 2 | 3 | 4;
|
|
22
22
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
23
23
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
24
24
|
declare const _default: typeof __VLS_export;
|
|
@@ -21,6 +21,8 @@ export interface ArFieldProps {
|
|
|
21
21
|
labelSize?: "sm" | "md" | "lg";
|
|
22
22
|
/** inline のラベルの幅(CSS の長さ。例:"25%")。labelSize より優先。ArForm の中では ArForm の labelWidth。 */
|
|
23
23
|
labelWidth?: string;
|
|
24
|
+
/** Width of the control area: short codes, ordinary names/selects, longer addresses, or full-width content. */
|
|
25
|
+
controlSize?: "short" | "medium" | "long" | "full";
|
|
24
26
|
/** 必須の札の文字。 */
|
|
25
27
|
requiredText?: string;
|
|
26
28
|
/** 入力の id を決める(省くと自動)。 */
|
|
@@ -15,6 +15,7 @@ declare const __VLS_base: import("vue").DefineComponent<ArFieldProps, {}, {}, {}
|
|
|
15
15
|
error: string;
|
|
16
16
|
labelSize: "sm" | "md" | "lg";
|
|
17
17
|
labelWidth: string;
|
|
18
|
+
controlSize: "full" | "medium" | "short" | "long";
|
|
18
19
|
requiredText: string;
|
|
19
20
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
21
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -19,9 +19,9 @@ declare const __VLS_base: import("vue").DefineComponent<ArNotificationProps, {},
|
|
|
19
19
|
description: string;
|
|
20
20
|
closable: boolean;
|
|
21
21
|
tone: "info" | "warn" | "danger" | "ok";
|
|
22
|
+
paused: boolean;
|
|
22
23
|
actions: readonly import("./ArNotification.contract").ArNotificationActionItem[];
|
|
23
24
|
closeLabel: string;
|
|
24
|
-
paused: boolean;
|
|
25
25
|
duration: number;
|
|
26
26
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
27
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { ArPeriodNavProps } from "./ArPeriodNav.contract";
|
|
2
2
|
declare const __VLS_export: import("vue").DefineComponent<ArPeriodNavProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
|
-
prev: () => any;
|
|
4
3
|
next: () => any;
|
|
4
|
+
prev: () => any;
|
|
5
5
|
pick: (event: MouseEvent) => any;
|
|
6
6
|
today: () => any;
|
|
7
7
|
}, string, import("vue").PublicProps, Readonly<ArPeriodNavProps> & Readonly<{
|
|
8
|
-
onPrev?: (() => any) | undefined;
|
|
9
8
|
onNext?: (() => any) | undefined;
|
|
9
|
+
onPrev?: (() => any) | undefined;
|
|
10
10
|
onPick?: ((event: MouseEvent) => any) | undefined;
|
|
11
11
|
onToday?: (() => any) | undefined;
|
|
12
12
|
}>, {
|
|
@@ -10,14 +10,14 @@ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
|
10
10
|
declare const __VLS_base: import("vue").DefineComponent<ArShiftDaySheetProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
11
|
close: () => any;
|
|
12
12
|
"update:open": (open: boolean) => any;
|
|
13
|
-
prev: () => any;
|
|
14
13
|
next: () => any;
|
|
14
|
+
prev: () => any;
|
|
15
15
|
"update:published": (value: boolean) => any;
|
|
16
16
|
}, string, import("vue").PublicProps, Readonly<ArShiftDaySheetProps> & Readonly<{
|
|
17
17
|
onClose?: (() => any) | undefined;
|
|
18
18
|
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
19
|
-
onPrev?: (() => any) | undefined;
|
|
20
19
|
onNext?: (() => any) | undefined;
|
|
20
|
+
onPrev?: (() => any) | undefined;
|
|
21
21
|
"onUpdate:published"?: ((value: boolean) => any) | undefined;
|
|
22
22
|
}>, {
|
|
23
23
|
summary: readonly import("./ArDaySummary.contract.js").ArDaySummaryItem[];
|
|
@@ -156,13 +156,13 @@ declare const __VLS_base: import("vue").DefineComponent<ArShiftGridProps, {
|
|
|
156
156
|
label: string;
|
|
157
157
|
labels: Partial<ArShiftGridLabels>;
|
|
158
158
|
mode: "chart" | "cell";
|
|
159
|
+
show: Partial<ArShiftGridShow>;
|
|
159
160
|
maxHeight: string;
|
|
160
161
|
today: string;
|
|
161
162
|
controls: boolean;
|
|
162
163
|
editable: boolean;
|
|
163
164
|
fit: "scroll" | "scale";
|
|
164
165
|
columnWidth: number | null;
|
|
165
|
-
show: Partial<ArShiftGridShow>;
|
|
166
166
|
patterns: readonly ArShiftGridPattern[];
|
|
167
167
|
chartRange: readonly [number, number];
|
|
168
168
|
snap: number;
|
|
@@ -52,6 +52,8 @@ export interface ArTextInputProps {
|
|
|
52
52
|
maxlength?: number;
|
|
53
53
|
/** 幅を親いっぱいにする。 */
|
|
54
54
|
block?: boolean;
|
|
55
|
+
/** Expected character count; sizes the editable area while leaving units outside it. Does not limit input. */
|
|
56
|
+
columns?: number;
|
|
55
57
|
/** 文字の寄せ。数・金額は right(今の ARROW では style で右寄せにしている所)。 */
|
|
56
58
|
align?: "left" | "center" | "right";
|
|
57
59
|
/** 読み上げの名前(ArField の中では不要)。 */
|
|
@@ -36,7 +36,7 @@ declare const __VLS_export: import("vue").DefineComponent<ArThumbnailProps, {
|
|
|
36
36
|
alt: string;
|
|
37
37
|
accept: readonly string[];
|
|
38
38
|
editable: boolean;
|
|
39
|
-
fit: "
|
|
39
|
+
fit: "contain" | "cover";
|
|
40
40
|
preview: boolean;
|
|
41
41
|
cropWidth: number;
|
|
42
42
|
cropHeight: number;
|
|
@@ -15,9 +15,9 @@ declare const __VLS_export: import("vue").DefineComponent<ArTreeProps, {}, {}, {
|
|
|
15
15
|
label: string;
|
|
16
16
|
draggable: boolean;
|
|
17
17
|
modelValue: ArTreeKey | null;
|
|
18
|
+
expanded: readonly ArTreeKey[];
|
|
18
19
|
checked: readonly ArTreeKey[];
|
|
19
20
|
checkable: boolean;
|
|
20
|
-
expanded: readonly ArTreeKey[];
|
|
21
21
|
defaultExpandAll: boolean;
|
|
22
22
|
selectable: boolean;
|
|
23
23
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -45,7 +45,7 @@ export interface ArTreeSelectProps {
|
|
|
45
45
|
variant?: "field" | "selbox";
|
|
46
46
|
/** 頭に出すアイコン(例:bld)。 */
|
|
47
47
|
icon?: ArIconName;
|
|
48
|
-
/** 押す所に「営業部 /
|
|
48
|
+
/** 押す所に「営業部 / 東京営業所」のように上の部署から出す(既定 false:選択した部署名だけ)。1.2から複数選択の札にも適用する。 */
|
|
49
49
|
showPath?: boolean;
|
|
50
50
|
/** 札を何枚まで出すか(multiple・field)。残りは「+n」。 */
|
|
51
51
|
maxTags?: number;
|
|
@@ -28,6 +28,7 @@ declare const __VLS_export: import("vue").DefineComponent<ArTreeSelectProps, {
|
|
|
28
28
|
disabled: boolean;
|
|
29
29
|
placeholder: string;
|
|
30
30
|
clearable: boolean;
|
|
31
|
+
expanded: readonly ArTreeSelectValue[];
|
|
31
32
|
multiple: boolean;
|
|
32
33
|
maxTags: number;
|
|
33
34
|
nullOption: string | boolean;
|
|
@@ -38,7 +39,6 @@ declare const __VLS_export: import("vue").DefineComponent<ArTreeSelectProps, {
|
|
|
38
39
|
listHeight: number;
|
|
39
40
|
checkStrictly: boolean;
|
|
40
41
|
leafOnly: boolean;
|
|
41
|
-
expanded: readonly ArTreeSelectValue[];
|
|
42
42
|
defaultExpandAll: boolean;
|
|
43
43
|
showPath: boolean;
|
|
44
44
|
includeChildren: boolean;
|
|
@@ -39,8 +39,8 @@ declare const __VLS_base: import("vue").DefineComponent<ArUploadProps, {}, {}, {
|
|
|
39
39
|
selected?: string;
|
|
40
40
|
};
|
|
41
41
|
disabled: boolean;
|
|
42
|
-
accept: string;
|
|
43
42
|
multiple: boolean;
|
|
43
|
+
accept: string;
|
|
44
44
|
hint: string;
|
|
45
45
|
maxSize: number;
|
|
46
46
|
listType: "text" | "picture";
|
|
@@ -23,9 +23,9 @@ declare const __VLS_base: import("vue").DefineComponent<ArVariablePanelProps, {}
|
|
|
23
23
|
insert: string;
|
|
24
24
|
};
|
|
25
25
|
disabled: boolean;
|
|
26
|
+
tab: string;
|
|
26
27
|
searchable: boolean;
|
|
27
28
|
maxHeight: string;
|
|
28
|
-
tab: string;
|
|
29
29
|
query: string;
|
|
30
30
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
31
31
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -6,11 +6,11 @@ declare const __VLS_template: () => {
|
|
|
6
6
|
};
|
|
7
7
|
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
8
8
|
declare const __VLS_base: import("vue").DefineComponent<ArWizardProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
-
prev: () => any;
|
|
10
9
|
next: () => any;
|
|
10
|
+
prev: () => any;
|
|
11
11
|
}, string, import("vue").PublicProps, Readonly<ArWizardProps> & Readonly<{
|
|
12
|
-
onPrev?: (() => any) | undefined;
|
|
13
12
|
onNext?: (() => any) | undefined;
|
|
13
|
+
onPrev?: (() => any) | undefined;
|
|
14
14
|
}>, {
|
|
15
15
|
layout: "form" | "fluid";
|
|
16
16
|
labels: {
|
|
@@ -5,7 +5,7 @@ export interface ArZipInputProps {
|
|
|
5
5
|
/**
|
|
6
6
|
* 7桁そろったときに住所を引く関数(製品が渡す。例:郵便番号の API を呼ぶ)。
|
|
7
7
|
* 住所の文字を返すと address を出す。見つからなければ null。渡さなければ引かない。
|
|
8
|
-
*
|
|
8
|
+
* 入力時に自動検索する。失敗した場合だけ再試行ボタンを表示する。
|
|
9
9
|
*/
|
|
10
10
|
lookup?: (zip: string) => Promise<string | null>;
|
|
11
11
|
invalid?: boolean;
|
|
@@ -22,6 +22,8 @@ export declare function workMinutes(cell: ArShiftGridCell | undefined): number;
|
|
|
22
22
|
export type DragKind = "move" | "start" | "end" | "new";
|
|
23
23
|
export interface ChartDrag {
|
|
24
24
|
kind: DragKind;
|
|
25
|
+
/** Selected interval; omitted for legacy whole-cell operations. */
|
|
26
|
+
interval?: number;
|
|
25
27
|
row: number;
|
|
26
28
|
col: number;
|
|
27
29
|
/** 移す先(move のとき、ほかの人・日)。 */
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* ArSplit 1.0 — 左右に分ける。左の幅は段階(sm 320 / md 420 / lg 540 / xl 640)。
|
|
2
|
+
* ArSplit 1.0 — 左右に分ける。左の幅は段階(xs 224 / sm 320 / md 420 / lg 540 / xl 640)。
|
|
3
3
|
* 置かれた場所の幅が stackBelow より狭いと、上下に積む(コンテナクエリ)。
|
|
4
4
|
*/
|
|
5
5
|
import type { ArSpace } from "./types";
|
|
6
6
|
type __VLS_Props = {
|
|
7
|
-
start?: "sm" | "md" | "lg" | "xl";
|
|
7
|
+
start?: "xs" | "sm" | "md" | "lg" | "xl";
|
|
8
8
|
/** 幅を固定する側。end は本文の右に補助欄を置く。幅の段階は start を使う。 */
|
|
9
9
|
fixed?: "start" | "end";
|
|
10
10
|
gap?: ArSpace;
|
|
@@ -21,7 +21,7 @@ declare const __VLS_template: () => {
|
|
|
21
21
|
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
22
22
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
23
23
|
fixed: "start" | "end";
|
|
24
|
-
start: "sm" | "md" | "lg" | "xl";
|
|
24
|
+
start: "sm" | "md" | "lg" | "xs" | "xl";
|
|
25
25
|
gap: 0 | 7 | 1 | 2 | 3 | 4 | 5 | 6 | 8;
|
|
26
26
|
align: "start" | "stretch";
|
|
27
27
|
stackBelow: "sm" | "md" | "lg" | "xl";
|