@s_and_a/arrow-ui 0.2.11 → 0.2.12

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.
@@ -38,6 +38,8 @@ export interface ArShiftGridCell {
38
38
  times?: readonly ArShiftGridTime[];
39
39
  /** 休憩(チャートの帯の斜線・吹き出し)。 */
40
40
  breaks?: readonly ArShiftGridTime[];
41
+ /** シフト休憩(休憩を分けて持つ設定のとき。マスの文字だけに出す)。 */
42
+ planBreaks?: readonly ArShiftGridTime[];
41
43
  /** 打刻(勤怠)。吹き出しと、classic の広い列の文字に出す。 */
42
44
  punches?: readonly ArShiftGridTime[];
43
45
  /** 当てはまるパターンの key(色と名前)。無いとパターンなし(灰色のマス)。 */
@@ -131,8 +133,14 @@ export interface ArShiftGridShow {
131
133
  leave: boolean;
132
134
  /** 勤務可能な人(提出)。 */
133
135
  avail: boolean;
134
- /** マスの中のシフト・休憩・打刻(勤怠)の時間(列が広いとき)。 */
135
- detail: boolean;
136
+ /** マスの中のシフトの時間。 */
137
+ times: boolean;
138
+ /** マスの中の休憩の時間(cell.breaks)。 */
139
+ breaks: boolean;
140
+ /** マスの中のシフト休憩の時間(cell.planBreaks。休憩を分けて持つ設定のとき)。 */
141
+ planBreaks: boolean;
142
+ /** マスの中の勤怠(打刻)の時間(cell.punches)。 */
143
+ punches: boolean;
136
144
  /** 表の下のショートカットキー・チャートの操作の案内。 */
137
145
  hints: boolean;
138
146
  }
@@ -238,6 +246,7 @@ export interface ArShiftGridLabels {
238
246
  shift: string;
239
247
  break: string;
240
248
  punch: string;
249
+ planBreak: string;
241
250
  noShift: string;
242
251
  noPattern: string;
243
252
  weekdays: readonly string[];
@@ -77,6 +77,11 @@ export interface ArTimeChartProps {
77
77
  compact?: boolean;
78
78
  /** 凡例だけを出す(グラフは出さない。小さなチャートを並べるときに、1か所にまとめた凡例を置く)。 */
79
79
  legendOnly?: boolean;
80
+ /**
81
+ * month:1日の行の中を、stack と同じ積み上げで描く(tracks の順が下からの層。先頭が1段、2つ目から半段ずつ上に重ねる)。
82
+ * kind が shift の帯は下の細い線。表(日付の列・目盛り)はそのまま。
83
+ */
84
+ stacked?: boolean;
80
85
  }
81
86
  export interface ArTimeChartLabels {
82
87
  kinds: Partial<Record<ArTimeChartKind, string>>;
@@ -10,6 +10,7 @@ declare const __VLS_export: import("vue").DefineComponent<ArTimeChartProps, {},
10
10
  labels: Partial<ArTimeChartLabels>;
11
11
  mode: "stack" | "month" | "day";
12
12
  range: readonly [number, number];
13
+ stacked: boolean;
13
14
  hint: string;
14
15
  tickStep: number;
15
16
  headLabel: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@s_and_a/arrow-ui",
3
- "version": "0.2.11",
3
+ "version": "0.2.12",
4
4
  "description": "ARROW シリーズ共通の Vue 3 デザインライブラリ(部品・契約・デザインの差し替えの仕組み)",
5
5
  "type": "module",
6
6
  "sideEffects": [