@s_and_a/arrow-ui 0.1.8 → 0.1.10

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.
Files changed (52) hide show
  1. package/dist/{contracts-VjHtiq_f.js → contracts-MUd_zk1T.js} +24 -12
  2. package/dist/{design-C6wA0w2Q.js → design-DJKcHbD1.js} +1 -1
  3. package/dist/design.js +2 -2
  4. package/dist/index.js +3838 -3513
  5. package/dist/{requirements-BX2_igHE.js → requirements-IDwMmOdp.js} +1 -1
  6. package/dist/requirements.js +1 -1
  7. package/dist/style.css +1 -1
  8. package/dist/types/components/ArAlert.vue.d.ts +4 -9
  9. package/dist/types/components/ArCalendar.contract.d.ts +5 -4
  10. package/dist/types/components/ArDatePicker.contract.d.ts +8 -0
  11. package/dist/types/components/ArDatePicker.vue.d.ts +3 -0
  12. package/dist/types/components/ArDescriptions.vue.d.ts +1 -1
  13. package/dist/types/components/ArDocumentBlock.contract.d.ts +2 -0
  14. package/dist/types/components/ArDocumentBlock.vue.d.ts +1 -0
  15. package/dist/types/components/ArFlagGroup.contract.d.ts +2 -0
  16. package/dist/types/components/ArFloatButton.contract.d.ts +3 -1
  17. package/dist/types/components/ArList.contract.d.ts +4 -3
  18. package/dist/types/components/ArList.vue.d.ts +3 -0
  19. package/dist/types/components/ArModal.contract.d.ts +4 -2
  20. package/dist/types/components/ArParagraph.contract.d.ts +3 -1
  21. package/dist/types/components/ArParagraph.vue.d.ts +1 -0
  22. package/dist/types/components/ArPayslip.contract.d.ts +4 -2
  23. package/dist/types/components/ArPayslip.vue.d.ts +5 -2
  24. package/dist/types/components/ArPayslipLine.contract.d.ts +17 -0
  25. package/dist/types/components/ArPayslipLine.vue.d.ts +26 -0
  26. package/dist/types/components/ArPayslipTable.contract.d.ts +5 -0
  27. package/dist/types/components/ArPayslipTable.vue.d.ts +16 -0
  28. package/dist/types/components/ArProfileCard.contract.d.ts +3 -1
  29. package/dist/types/components/ArProfileCard.vue.d.ts +1 -0
  30. package/dist/types/components/ArPunchPanel.contract.d.ts +4 -2
  31. package/dist/types/components/ArRichTextEditor.contract.d.ts +2 -0
  32. package/dist/types/components/ArRichTextEditor.vue.d.ts +1 -0
  33. package/dist/types/components/ArSectionHead.vue.d.ts +1 -1
  34. package/dist/types/components/ArSectionMenu.contract.d.ts +8 -0
  35. package/dist/types/components/ArSectionMenu.vue.d.ts +3 -0
  36. package/dist/types/components/ArStatistic.contract.d.ts +8 -2
  37. package/dist/types/components/ArStatistic.vue.d.ts +4 -1
  38. package/dist/types/components/ArSteps.contract.d.ts +1 -1
  39. package/dist/types/components/ArTable.contract.d.ts +3 -1
  40. package/dist/types/components/ArThumbnail.contract.d.ts +2 -0
  41. package/dist/types/components/ArThumbnail.vue.d.ts +1 -0
  42. package/dist/types/components/ArTimeRange.contract.d.ts +8 -1
  43. package/dist/types/components/ArTimeRange.vue.d.ts +4 -0
  44. package/dist/types/components/ArTreeSelect.contract.d.ts +5 -3
  45. package/dist/types/components/ArTreeSelect.vue.d.ts +1 -0
  46. package/dist/types/components/ArWizard.contract.d.ts +6 -0
  47. package/dist/types/components/ArWizard.vue.d.ts +2 -0
  48. package/dist/types/components.generated.d.ts +4 -0
  49. package/dist/types/contracts.d.ts +15 -13
  50. package/dist/types/internal/payslip.d.ts +11 -0
  51. package/dist/types/layout/ArSplit.vue.d.ts +3 -0
  52. package/package.json +1 -1
@@ -4,16 +4,11 @@
4
4
  */
5
5
  import { type PropType } from "vue";
6
6
  import type { ArAlertProps } from "./ArAlert.contract";
7
- declare const __VLS_template: () => {
8
- __VLS_Slots: {
9
- title?: (props: {}) => any;
10
- } & {
11
- default?: (props: {}) => any;
12
- } & {
13
- action?: (props: {}) => any;
14
- };
7
+ type __VLS_Slots = {
8
+ default?: () => unknown;
9
+ title?: () => unknown;
10
+ action?: () => unknown;
15
11
  };
16
- type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
17
12
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
18
13
  tone: {
19
14
  type: PropType<NonNullable<ArAlertProps["tone"]>>;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * ArCalendar 1.2 の契約。月の表示(マスの中身は cell slot)と、年の表示(12か月)。
2
+ * ArCalendar 1.3 の契約。月の表示(マスの中身は cell slot)と、年の表示(12か月)。
3
3
  * デザインが選べる形(ArDesign.forms.ArCalendar):
4
4
  * - firstDay:"inMonth"(既定。board の月の1日だけ「10/1」と月を添える)/"always"(形によらず、前後の月の1日も「12/1」と月を添える。今の ARROW の Calendar。classic)。
5
5
  */
@@ -49,7 +49,7 @@ export interface ArCalendarProps {
49
49
  showAdjacent?: boolean;
50
50
  /** マスに出す小さな印(朝礼・不足1 など)。マスの下に寄せて並べる。ほかの中身は cell slot。 */
51
51
  events?: readonly ArCalendarEvent[];
52
- /** 日ごとの勤務時間。狭いマスでも開始・終了を2行で省略せず表示する。値の計算・整形は利用側で行う。 */
52
+ /** 日ごとの勤務時間・打刻時刻。狭いマスでも開始・終了を2行で省略せず表示する。値の計算・整形は利用側で行う。 */
53
53
  timeRanges?: readonly ArCalendarTimeRange[];
54
54
  /** 読み上げ用の名前(例:「シフトのカレンダー」)。 */
55
55
  label?: string;
@@ -96,8 +96,9 @@ export interface ArCalendarEvent {
96
96
  export interface ArCalendarTimeRange {
97
97
  date: string;
98
98
  start: string;
99
- end: string;
100
- /** 店舗名などを含む読み上げ・ツールチップ。省略時は開始〜終了。 */
99
+ /** 終了を省くと出勤時刻などの単独の時刻を表示する。 */
100
+ end?: string;
101
+ /** 店舗名などを含む読み上げ・ツールチップ。省略時は開始〜終了、終了がなければ開始だけ。 */
101
102
  label?: string;
102
103
  }
103
104
  /** 日ごとの状態の印(cellMarks が返す)。 */
@@ -1,8 +1,13 @@
1
1
  /** ArDatePicker 1.1 の契約。 */
2
2
  import type { ArDateRangeValue } from "./ArDateRange.contract";
3
+ import type { ArDateInputProps } from "./ArDateInput.contract";
3
4
  export interface ArDatePickerProps {
4
5
  /** 1日なら "YYYY-MM-DD"(未入力は null)。range なら { start, end }。 */
5
6
  modelValue: string | null | ArDateRangeValue;
7
+ /** 手入力の日付規則・年候補・翻訳。値、名前、状態、大きさはPicker側が所有する。 */
8
+ inputProps?: Omit<ArDateInputProps, "modelValue" | "invalid" | "disabled" | "size" | "label" | "id">;
9
+ /** 外側のラベルから最初の日付の年入力へ移動するid。 */
10
+ id?: string;
6
11
  /** 範囲を選ぶ(RangePicker)。間は淡いテーマ色、両端は塗り。 */
7
12
  range?: boolean;
8
13
  /** 選べる最初の日・最後の日("YYYY-MM-DD")。 */
@@ -30,6 +35,9 @@ export interface ArDatePickerProps {
30
35
  title: (y: number, m: number) => string;
31
36
  weekdays: readonly string[];
32
37
  days: (n: number) => string;
38
+ start?: string;
39
+ end?: string;
40
+ calendar?: (label: string) => string;
33
41
  };
34
42
  }
35
43
  export interface ArDatePickerEmits {
@@ -23,6 +23,9 @@ declare const __VLS_export: import("vue").DefineComponent<ArDatePickerProps, {},
23
23
  title: (y: number, m: number) => string;
24
24
  weekdays: readonly string[];
25
25
  days: (n: number) => string;
26
+ start?: string;
27
+ end?: string;
28
+ calendar?: (label: string) => string;
26
29
  };
27
30
  disabled: boolean;
28
31
  inline: boolean;
@@ -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
- column: number;
21
20
  headingLevel: 2 | 3 | 4;
21
+ column: number;
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;
@@ -4,6 +4,8 @@ export interface ArDocumentBlockProps {
4
4
  instruction?: string;
5
5
  /** 枠の上に「下へ進む」矢印を出す(前のまとまりから続くとき)。 */
6
6
  arrow?: boolean;
7
+ /** step は手順表示と併用する、左寄せのコンパクトなまとまり。段間の矢印を出さない。 */
8
+ variant?: "default" | "step";
7
9
  }
8
10
  /** slot:default(枠の中身)。 */
9
11
  export type ArDocumentBlockPart = "root" | "arrow" | "box" | "title";
@@ -6,6 +6,7 @@ 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<ArDocumentBlockProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ArDocumentBlockProps> & Readonly<{}>, {
9
+ variant: "default" | "step";
9
10
  arrow: boolean;
10
11
  instruction: string;
11
12
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -4,6 +4,8 @@ export interface ArFlagOption {
4
4
  /** この項目のビット(1・2・4・8…)。 */
5
5
  value: number;
6
6
  label: string;
7
+ /** 1.2: Explanation below the option label, rendered by ArCheckbox in both designs. */
8
+ description?: string;
7
9
  disabled?: boolean;
8
10
  }
9
11
  export interface ArFlagGroupProps {
@@ -25,7 +25,9 @@ export interface ArFloatButtonProps {
25
25
  backTop?: boolean;
26
26
  /** backTop のとき、これより下へスクロールしたら出す(px)。 */
27
27
  visibilityHeight?: number;
28
- /** 画面の右下に固定する(スマホの「シフト追加」など)。false なら置いた場所に出す。 */
28
+ /** 画面の右下に固定する(スマホの「シフト追加」など)。false なら置いた場所に出す。
29
+ * 配置先の固定メニューを避けるときは --ar-float-button-right / --ar-float-button-bottom で位置を指定する。
30
+ */
29
31
  fixed?: boolean;
30
32
  /** 渡すとリンク(a 要素)にする。 */
31
33
  href?: string;
@@ -1,4 +1,4 @@
1
- /** ArList 1.0 の契約(antd 6 の Listy の形:グループの見出し・右に操作)。 */
1
+ /** ArList 1.1 の契約(antd 6 の Listy の形:グループの見出し・右に操作)。 */
2
2
  import type { ArAvatarTone } from "./ArAvatar.contract";
3
3
  export interface ArListItem {
4
4
  /** 項目を見分ける値。 */
@@ -7,8 +7,9 @@ export interface ArListItem {
7
7
  title: string;
8
8
  /** 2行目の灰色の小さな文字(「09:00〜18:00 / 渋谷店」)。 */
9
9
  description?: string;
10
- /** 頭文字の丸。true なら title の1文字目。 */
10
+ /** 頭文字の丸。true なら title の1文字目。1.1: src を渡すと写真。 */
11
11
  avatar?: boolean | {
12
+ src?: string;
12
13
  text?: string;
13
14
  tone?: ArAvatarTone;
14
15
  seed?: string | number;
@@ -32,5 +33,5 @@ export interface ArListProps {
32
33
  /** 大きさ。sm は詰めた一覧。 */
33
34
  size?: "md" | "sm";
34
35
  }
35
- /** slot:item({ item, index }:1行まるごと)・title・description・avatar({ item })・actions({ item, index }:右の操作)・empty・header・footer。 */
36
+ /** slot:item({ item, index }:1行まるごと)・title・description・avatar({ item, index })・actions({ item, index }:右の操作)・empty・header・footer。 */
36
37
  export type ArListPart = "root" | "header" | "viewport" | "group" | "group-title" | "items" | "item" | "avatar" | "meta" | "title" | "description" | "actions" | "empty" | "footer";
@@ -10,14 +10,17 @@ declare const __VLS_template: () => {
10
10
  } & {
11
11
  avatar?: (props: {
12
12
  item: ArListItem;
13
+ index: number;
13
14
  }) => any;
14
15
  } & {
15
16
  title?: (props: {
16
17
  item: ArListItem;
18
+ index: number;
17
19
  }) => any;
18
20
  } & {
19
21
  description?: (props: {
20
22
  item: ArListItem;
23
+ index: number;
21
24
  }) => any;
22
25
  } & {
23
26
  actions?: (props: {
@@ -5,6 +5,8 @@ import type { ArIconName } from "../icons";
5
5
  * - buttonText:"plain"(既定。ボタンの文字はそのまま)/"antd"(ant-design-vue と同じく、2 文字の漢字・かなの文字の間に空白を入れる:「登録」→「登 録」。classic)。
6
6
  */
7
7
  export interface ArModalProps {
8
+ /** 本文の画面(タブ等)が切り替わったら先頭に戻すためのキー。currentStepの変更でも本文を先頭に戻す。 */
9
+ scrollKey?: string | number;
8
10
  /** 重なりの順(z-index)。ほかの重なり(ant-design-vue のポップアップなど)の上に出したいときに渡す。 */
9
11
  zIndex?: number;
10
12
  open: boolean;
@@ -31,9 +33,9 @@ export interface ArModalProps {
31
33
  contained?: boolean;
32
34
  /** スマホ(幅640px以下)では画面いっぱい(.fsc)にする。 */
33
35
  mobileFullscreen?: boolean;
34
- /** confirm:確かめの小さなポップアップ(左に印・本文なし)。 */
36
+ /** confirm:確かめの小さなポップアップ。説明と任意の本文、操作ボタンをまとめる。 */
35
37
  variant?: "default" | "confirm";
36
- /** 題の左の印(confirm の既定は alert)。 */
38
+ /** 題に添える印(confirm の既定は alert)。位置はテーマが決める。 */
37
39
  icon?: ArIconName;
38
40
  /** 印の色。warn 橙・danger 赤・info テーマ色・ok 緑。 */
39
41
  iconTone?: "warn" | "danger" | "info" | "ok";
@@ -1,4 +1,4 @@
1
- /** ArParagraph 1.0 の契約。 */
1
+ /** ArParagraph 1.1 の契約。 */
2
2
  import type { ArTextType } from "./ArText.contract";
3
3
  export interface ArParagraphProps {
4
4
  /** 意味の色(ArText と同じ)。 */
@@ -7,6 +7,8 @@ export interface ArParagraphProps {
7
7
  size?: "sm" | "md";
8
8
  /** 太字。 */
9
9
  strong?: boolean;
10
+ /** 自由記述の改行・連続した空白を保つ。長い単語は配置幅で折り返す。1行の省略表示を優先する。 */
11
+ preserveLines?: boolean;
10
12
  /** この行数を超えたら「…」で切る(全文は吹き出し)。true は1行。 */
11
13
  ellipsis?: boolean | number;
12
14
  }
@@ -10,6 +10,7 @@ declare const __VLS_base: import("vue").DefineComponent<ArParagraphProps, {}, {}
10
10
  ellipsis: number | boolean;
11
11
  strong: boolean;
12
12
  size: "sm" | "md";
13
+ preserveLines: boolean;
13
14
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
15
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
16
  declare const _default: typeof __VLS_export;
@@ -44,7 +44,9 @@ export interface ArPayslipProps {
44
44
  /** 右上の項目(会社・所属・氏名・社員コード)。classic は今の ARROW と同じく、1つ目(会社)を札なしの大きな会社名として上に出す。 */
45
45
  meta?: ArPayslipMeta[];
46
46
  /** 列。1つの列に表を1つ、または上から並べる表の配列(その他・差引支給額・振込支給額…)。ふつうは 勤怠/支給/控除/その他 の4列。 */
47
- columns: (ArPayslipSection | ArPayslipSection[])[];
47
+ columns?: (ArPayslipSection | ArPayslipSection[])[];
48
+ /** column-0〜column-3 slotで入力可能な明細を組むときの列数。配列方式では省略する。 */
49
+ columnCount?: 1 | 2 | 3 | 4;
48
50
  /** 下に並べる合計の箱。 */
49
51
  totals?: ArPayslipTotal[];
50
52
  /**
@@ -59,5 +61,5 @@ export interface ArPayslipProps {
59
61
  /** 「前」の文字。 */
60
62
  prevLabel?: string;
61
63
  }
62
- /** slot:toolbar(見出しの右。「明細だけ/前月と比べる」の切り替えなど)。 */
64
+ /** slot:toolbar(見出しの右)、column-0〜column-3(ArPayslipTableとArPayslipLineで構成する列)。 */
63
65
  export type ArPayslipPart = "root" | "head" | "title" | "period" | "meta" | "toolbar" | "columns" | "column" | "section" | "section-title" | "row" | "label" | "value" | "edited" | "diff" | "prev" | "totals" | "total" | "unit";
@@ -1,18 +1,21 @@
1
1
  import type { ArPayslipProps, ArPayslipTotal } from "./ArPayslip.contract";
2
2
  declare const __VLS_template: () => {
3
3
  __VLS_Slots: {
4
+ [x: `column-${number}`]: ((props: {}) => any) | undefined;
5
+ } & {
4
6
  toolbar?: (props: {}) => any;
5
7
  };
6
8
  };
7
9
  type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
8
10
  declare const __VLS_base: import("vue").DefineComponent<ArPayslipProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ArPayslipProps> & Readonly<{}>, {
9
11
  meta: import("./ArPayslip.contract").ArPayslipMeta[];
12
+ columns: (import("./ArPayslip.contract").ArPayslipSection | import("./ArPayslip.contract").ArPayslipSection[])[];
10
13
  size: "sm" | "md";
11
- period: string;
12
- totals: ArPayslipTotal[];
13
14
  compare: "off" | "prev" | "diff";
14
15
  zeroDiff: string;
15
16
  prevLabel: string;
17
+ period: string;
18
+ totals: ArPayslipTotal[];
16
19
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
20
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
18
21
  declare const _default: typeof __VLS_export;
@@ -0,0 +1,17 @@
1
+ /** ArPayslip内の1行。表示も入力欄も同じ表構造とテーマで並べる。 */
2
+ export interface ArPayslipLineProps {
3
+ label?: string;
4
+ value?: number | string;
5
+ prev?: number | null;
6
+ diff?: string;
7
+ edited?: boolean;
8
+ total?: boolean;
9
+ big?: boolean;
10
+ /** 入力欄用にラベルと値の幅を分ける。値や保存処理は利用側が持つ。 */
11
+ editable?: boolean;
12
+ compare?: "off" | "diff" | "prev";
13
+ zeroDiff?: string;
14
+ prevLabel?: string;
15
+ }
16
+ /** slot: label(項目名)、default(値・入力欄。labelIdをaria-labelledbyへ渡せる)。ArPayslipTable内で使う。 */
17
+ export type ArPayslipLinePart = "root" | "row" | "label" | "value" | "amount" | "edited" | "diff" | "prev";
@@ -0,0 +1,26 @@
1
+ import type { ArPayslipLineProps } from "./ArPayslipLine.contract";
2
+ declare const __VLS_template: () => {
3
+ __VLS_Slots: {
4
+ label?: (props: {}) => any;
5
+ } & {
6
+ default?: (props: {
7
+ labelId: string;
8
+ }) => any;
9
+ };
10
+ };
11
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
12
+ declare const __VLS_base: import("vue").DefineComponent<ArPayslipLineProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ArPayslipLineProps> & Readonly<{}>, {
13
+ label: string;
14
+ value: string | number;
15
+ compare: "off" | "prev" | "diff";
16
+ zeroDiff: string;
17
+ prevLabel: string;
18
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
20
+ declare const _default: typeof __VLS_export;
21
+ export default _default;
22
+ type __VLS_WithSlots<T, S> = T & {
23
+ new (): {
24
+ $slots: S;
25
+ };
26
+ };
@@ -0,0 +1,5 @@
1
+ /** ArPayslipの列内に置く1つの表。default slotにはArPayslipLineを並べる。 */
2
+ export interface ArPayslipTableProps {
3
+ title?: string;
4
+ }
5
+ export type ArPayslipTablePart = "root" | "section" | "section-title";
@@ -0,0 +1,16 @@
1
+ import type { ArPayslipTableProps } from "./ArPayslipTable.contract";
2
+ declare const __VLS_template: () => {
3
+ __VLS_Slots: {
4
+ default?: (props: {}) => any;
5
+ };
6
+ };
7
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
8
+ declare const __VLS_base: import("vue").DefineComponent<ArPayslipTableProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ArPayslipTableProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
10
+ declare const _default: typeof __VLS_export;
11
+ export default _default;
12
+ type __VLS_WithSlots<T, S> = T & {
13
+ new (): {
14
+ $slots: S;
15
+ };
16
+ };
@@ -2,6 +2,8 @@ import type { ArDescriptionsItem } from "./ArDescriptions.contract";
2
2
  import type { ArTagProps } from "./ArTag.contract";
3
3
  /** Employee identity, metadata and actions share one responsive surface in both designs. */
4
4
  export interface ArProfileCardProps {
5
+ /** compact keeps the identity, metadata and actions together above a detail page. */
6
+ layout?: "default" | "compact";
5
7
  title?: string;
6
8
  name?: string;
7
9
  kana?: string;
@@ -16,4 +18,4 @@ export interface ArProfileCardProps {
16
18
  tagsLabel?: string;
17
19
  }
18
20
  /** Slots: actions (edit/navigation), photo-actions, footer; none own business logic. */
19
- export type ArProfileCardPart = "root" | "identity" | "photo" | "name" | "actions" | "footer";
21
+ export type ArProfileCardPart = "root" | "summary" | "header" | "identity" | "photo" | "name" | "actions" | "footer";
@@ -10,6 +10,7 @@ declare const __VLS_template: () => {
10
10
  };
11
11
  type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
12
12
  declare const __VLS_base: import("vue").DefineComponent<ArProfileCardProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ArProfileCardProps> & Readonly<{}>, {
13
+ layout: "default" | "compact";
13
14
  title: string;
14
15
  image: string;
15
16
  name: string;
@@ -1,11 +1,13 @@
1
1
  import type { ArIconName } from "../icons";
2
- /** ArPunchPanel 1.0 — GPS / MyPC 共通の打刻画面。時計・状態判断・通信は利用側が所有する。 */
2
+ /** ArPunchPanel 1.1 — GPS / MyPC 共通の打刻画面。時計・状態判断・通信は利用側が所有する。 */
3
3
  export interface ArPunchPanelProps {
4
4
  title: string;
5
5
  /** 利用側の時計が整形した日時。そのまま表示し、この部品自身はタイマーを持たない。 */
6
6
  timestamp: string;
7
+ /** 日付を時計と分けて表示する場合に指定。省略時は従来の日時表示を維持する。 */
8
+ dateLabel?: string;
7
9
  description?: string;
8
10
  icon?: ArIconName;
9
11
  }
10
12
  /** default:会社/店舗選択や現在の状態。actions:ArPunchButtonを出勤/退勤/休憩開始/休憩終了の順。footer:初期表示設定等。 */
11
- export type ArPunchPanelPart = "root" | "clock" | "controls" | "actions" | "footer";
13
+ export type ArPunchPanelPart = "root" | "date" | "clock" | "controls" | "actions" | "footer";
@@ -12,6 +12,8 @@ import type { ArVariableGroup } from "./ArVariablePanel.contract";
12
12
  */
13
13
  export type ArRichTextTool = "variables" | "fontSize" | "bold" | "italic" | "underline" | "color" | "align" | "paragraph" | "list" | "table" | "pageBreak" | "undo" | "redo" | "help" | "|" | "spacer";
14
14
  export interface ArRichTextEditorProps {
15
+ /** 1.1: ID of the editable textbox, for field labels and descriptions. */
16
+ id?: string;
15
17
  /** 本文の HTML(v-model)。plain のときは文字と `<br>` だけ。 */
16
18
  modelValue?: string;
17
19
  /**
@@ -26,6 +26,7 @@ declare const __VLS_base: import("vue").DefineComponent<ArRichTextEditorProps, {
26
26
  "onUpdate:variablesOpen"?: ((open: boolean) => any) | undefined;
27
27
  "onInsert-variable"?: ((token: string) => any) | undefined;
28
28
  }>, {
29
+ id: string;
29
30
  label: string;
30
31
  plain: boolean;
31
32
  invalid: boolean;
@@ -15,8 +15,8 @@ declare const __VLS_base: import("vue").DefineComponent<ArSectionHeadProps, {},
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
  open: boolean;
17
17
  count: string | number;
18
- controls: string;
19
18
  headingLevel: 2 | 3 | 4;
19
+ controls: string;
20
20
  collapsible: boolean;
21
21
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
22
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -1,6 +1,14 @@
1
+ import type { ArIconName } from "../icons";
1
2
  import type { ArMenuItem } from './ArMenu.contract';
2
3
  /** Responsive section navigation. Item keys also identify sections in scroll mode. */
3
4
  export interface ArSectionMenuProps {
5
+ /** 1.1: Optional heading for the desktop navigation card. */
6
+ title?: string;
7
+ icon?: ArIconName;
8
+ /** 1.1: Search labels and ancestor labels without changing the selected section or its content. */
9
+ searchable?: boolean;
10
+ searchPlaceholder?: string;
11
+ emptyText?: string;
4
12
  items: readonly ArMenuItem[];
5
13
  value?: string;
6
14
  label?: string;
@@ -12,6 +12,9 @@ declare const __VLS_base: import("vue").DefineComponent<ArSectionMenuProps, {},
12
12
  }>, {
13
13
  label: string;
14
14
  scroll: boolean;
15
+ searchable: boolean;
16
+ searchPlaceholder: string;
17
+ emptyText: string;
15
18
  scrollOffset: number;
16
19
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
20
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -13,10 +13,16 @@ export interface ArStatisticProps {
13
13
  prefix?: string;
14
14
  /** 数字の後ろの単位(「名」「/ 9名」)。 */
15
15
  suffix?: string;
16
- /** 増減。up=増えた(緑)、down=減った(赤)。 */
17
- trend?: "up" | "down";
16
+ /** 増減。flat は変化なし。色の意味は trendTone で指定できる。 */
17
+ trend?: "up" | "down" | "flat";
18
18
  /** 増減の値(「3.2%」)。 */
19
19
  trendValue?: string;
20
+ /** auto は従来の増=緑・減=赤。善悪を表さない比較には neutral を使う。 */
21
+ trendTone?: "auto" | "neutral";
22
+ /** 読み上げる比較の説明。未指定時は「増加」「減少」「変化なし」。 */
23
+ trendLabel?: string;
24
+ /** 増減の配置。狭い集計カードでは below で値の下へ置ける。 */
25
+ trendPlacement?: "inline" | "below";
20
26
  /** 数字の色(未提出=warn、不足=danger など)。 */
21
27
  tone?: "default" | "ok" | "warn" | "danger";
22
28
  /** 大きさ。sm は数字の箱の中(18px)。 */
@@ -14,9 +14,12 @@ declare const __VLS_base: import("vue").DefineComponent<ArStatisticProps, {}, {}
14
14
  tone: "default" | "warn" | "danger" | "ok";
15
15
  suffix: string;
16
16
  precision: number;
17
- trend: "up" | "down";
17
+ trend: "flat" | "up" | "down";
18
18
  titleIcon: "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";
19
19
  trendValue: string;
20
+ trendTone: "auto" | "neutral";
21
+ trendLabel: string;
22
+ trendPlacement: "inline" | "below";
20
23
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
21
24
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
22
25
  declare const _default: typeof __VLS_export;
@@ -28,7 +28,7 @@ export interface ArStepsProps {
28
28
  /**
29
29
  * 横の手順で幅が足りないとき、縦の並びに切り替える(名前と数字が重ならないように)。
30
30
  * true(既定):手順1つあたり 150px より狭くなったら縦にする。数を渡すと、その幅(px)を手順1つあたりの下限にする。false:切り替えない。
31
- * mini と縦の手順には効かない。
31
+ * mini は狭いときに番号を名前の上に置き、等幅の一列にまとめる。縦の手順には効かない。
32
32
  */
33
33
  responsive?: boolean | number;
34
34
  }
@@ -74,7 +74,7 @@ export interface ArTableColumn<Row> {
74
74
  title: string;
75
75
  /** 寄せ。省くと numeric の列は end、ほかは start。 */
76
76
  align?: "start" | "center" | "end";
77
- /** px。データに合わせた幅は数で渡してよい。省くと中身に合わせる。 */
77
+ /** px。データに合わせた幅は数で渡してよい。省くと中身に合わせる。fitを使わない表では、この幅より列を狭めない。 */
78
78
  width?: number;
79
79
  /**
80
80
  * 横にスクロールしても残す。true・"start"=左に(左から続けて指定する)、"end"=右に(右から続けて指定する。年調の「反映」)。
@@ -244,6 +244,8 @@ export interface ArTableProps<Row> {
244
244
  stickyHeader?: boolean;
245
245
  /** 行の高さ。compact は詰めた表(ポップアップの中の長い一覧など)。 */
246
246
  density?: "regular" | "compact";
247
+ /** 本文セルの縦位置。top は説明・添付欄など高さの違う入力を上端で揃える。 */
248
+ verticalAlign?: "top" | "middle";
247
249
  /** 行がないときの文。次にできることを書く(「上の『シフト追加』から登録できます」)。 */
248
250
  emptyText?: string;
249
251
  /** 行がないときの線のアイコン。 */
@@ -32,6 +32,8 @@ export interface ArThumbnailProps {
32
32
  maxImagePixels?: number;
33
33
  /** 画像の説明(読み上げ)。 */
34
34
  alt?: string;
35
+ /** 1.3: Open the existing image in ArImage's viewer without entering the editor. */
36
+ preview?: boolean;
35
37
  /** ポップアップを開いているか(v-model:open。今の isEditting)。省くと部品の中で持つ(カメラのボタンで開く)。 */
36
38
  open?: boolean;
37
39
  /** 画像とカメラのボタンを出さず、ポップアップだけ(今の dialogOnly。添付の「写真を追加」のボタンから開く)。 */
@@ -37,6 +37,7 @@ declare const __VLS_export: import("vue").DefineComponent<ArThumbnailProps, {
37
37
  accept: readonly string[];
38
38
  editable: boolean;
39
39
  fit: "cover" | "contain";
40
+ preview: boolean;
40
41
  cropWidth: number;
41
42
  cropHeight: number;
42
43
  quality: number;
@@ -1,4 +1,4 @@
1
- /** ArTimeRange 1.1 の契約。 */
1
+ /** ArTimeRange 1.2 の契約。 */
2
2
  export interface ArTimeRangeValue {
3
3
  /** "HH:mm"。未入力は null。 */
4
4
  start: string | null;
@@ -14,11 +14,18 @@ export interface ArTimeRangeProps {
14
14
  step?: 1 | 5 | 10 | 15 | 30;
15
15
  /** 時刻の欄の大きさの段(ArTimeInput と同じ)。`sm`=設定など密集した所、`md`=ふつう(既定)、`lg`=年末調整・スマホなど大きく押しやすくしたい所。同じ段なら入力・セレクト・時刻・日付・ボタンの高さがそろう(新しい見た目 30/36/42・角丸 9/10/11、今の見た目 antd の 24/32/40)。 */
16
16
  size?: "sm" | "md" | "lg";
17
+ /** 1.3: Keep the application's explicit tab order when used inside editable tables. */
18
+ startTabindex?: number;
19
+ endTabindex?: number;
17
20
  /** 外から渡す間違いの状態(両方を赤くする)。 */
18
21
  invalid?: boolean;
19
22
  /** 終わりが始まり以前のとき、終わりを赤くして下に直し方を出す。 */
20
23
  validate?: boolean;
21
24
  disabled?: boolean;
25
+ /** 開始を入力の代わりに固定の説明として表示する。例:選んだシフトの開始時刻。modelValueは保持し、この側の更新を通知しない。 */
26
+ startNote?: string;
27
+ /** 終了を入力の代わりに固定の説明として表示する。例:選んだシフトの終了時刻。modelValueは保持し、この側の更新を通知しない。 */
28
+ endNote?: string;
22
29
  /** 読み上げ用の名前(例:「イベントの時間」)。 */
23
30
  label?: string;
24
31
  labels?: {
@@ -22,6 +22,10 @@ declare const __VLS_export: import("vue").DefineComponent<ArTimeRangeProps, {},
22
22
  validate: boolean;
23
23
  overnight: boolean;
24
24
  startOvernight: boolean;
25
+ startTabindex: number;
26
+ endTabindex: number;
27
+ startNote: string;
28
+ endNote: string;
25
29
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
26
30
  declare const _default: typeof __VLS_export;
27
31
  export default _default;
@@ -23,12 +23,14 @@ export interface ArTreeSelectAction {
23
23
  icon?: ArIconName;
24
24
  }
25
25
  export interface ArTreeSelectProps {
26
- /** 1つ選ぶときは値か null。multiple のときはチェックした一番下の部署の値の配列。 */
26
+ /** 1つ選ぶときは値か null。multiple のときは選択IDの配列(既定は葉、checkStrictlyなら親も個別に保持)。 */
27
27
  modelValue: ArTreeSelectValue | null | readonly ArTreeSelectValue[];
28
28
  /** 部署の木。 */
29
29
  tree: readonly ArTreeSelectNode[];
30
30
  /** チェックで複数選ぶ。親をチェックすると下が全部入り、一部だけのときは親が indeterminate になる。 */
31
31
  multiple?: boolean;
32
+ /** 1.2: Select parent and child IDs independently in multiple mode. Defaults to false (cascade to leaves). */
33
+ checkStrictly?: boolean;
32
34
  /** 1つ選ぶとき、下のある部署(親)は選べなくする。 */
33
35
  leafOnly?: boolean;
34
36
  /** 開いている部署の値(v-model:expanded)。省くと、選んでいる部署までを開いて出す。 */
@@ -43,7 +45,7 @@ export interface ArTreeSelectProps {
43
45
  variant?: "field" | "selbox";
44
46
  /** 頭に出すアイコン(例:bld)。 */
45
47
  icon?: ArIconName;
46
- /** 押す所に「営業部 / 東京営業所」のように上の部署から出す。 */
48
+ /** 押す所に「営業部 / 東京営業所」のように上の部署から出す。1.2から複数選択の札にも適用する。 */
47
49
  showPath?: boolean;
48
50
  /** 札を何枚まで出すか(multiple・field)。残りは「+n」。 */
49
51
  maxTags?: number;
@@ -84,6 +86,6 @@ export interface ArTreeSelectEmits {
84
86
  /** プルダウンの下の操作を押した(actions の value)。 */
85
87
  action: [value: string];
86
88
  }
87
- export type ArTreeSelectPart = "root" | "icon" | "value" | "placeholder" | "tags" | "tag" | "tag-remove" | "clear" | "arrow" | "include-mark";
89
+ export type ArTreeSelectPart = "root" | "icon" | "value" | "placeholder" | "tags" | "tag" | "tag-label" | "tag-remove" | "clear" | "arrow" | "include-mark";
88
90
  /** プルダウン(data-ar="tree-select-panel")の部位。 */
89
91
  export type ArTreeSelectPanelPart = "search" | "list" | "node" | "switch" | "check" | "node-label" | "empty" | "footer" | "include" | "include-box" | "include-label" | "action";
@@ -36,6 +36,7 @@ declare const __VLS_export: import("vue").DefineComponent<ArTreeSelectProps, {
36
36
  searchPlaceholder: string;
37
37
  emptyText: string;
38
38
  listHeight: number;
39
+ checkStrictly: boolean;
39
40
  leafOnly: boolean;
40
41
  expanded: readonly ArTreeSelectValue[];
41
42
  defaultExpandAll: boolean;