@s_and_a/arrow-ui 0.1.8 → 0.1.11
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-VjHtiq_f.js → contracts-MlDifXRO.js} +30 -18
- package/dist/{design-C6wA0w2Q.js → design-DQEH2c8P.js} +1 -1
- package/dist/design.js +2 -2
- package/dist/index.js +6203 -5600
- package/dist/{requirements-BX2_igHE.js → requirements-D6YQEVU7.js} +1 -1
- package/dist/requirements.js +1 -1
- package/dist/style.css +1 -1
- package/dist/types/components/ArAffix.contract.d.ts +2 -0
- package/dist/types/components/ArAffix.vue.d.ts +1 -0
- package/dist/types/components/ArAlert.vue.d.ts +4 -9
- package/dist/types/components/ArAuthPanel.contract.d.ts +4 -1
- package/dist/types/components/ArAuthPanel.vue.d.ts +2 -1
- package/dist/types/components/ArButton.contract.d.ts +4 -2
- package/dist/types/components/ArCalendar.contract.d.ts +7 -4
- package/dist/types/components/ArCalendar.vue.d.ts +1 -0
- package/dist/types/components/ArChangedValue.contract.d.ts +1 -0
- package/dist/types/components/ArChangedValue.vue.d.ts +17 -1
- package/dist/types/components/ArChoiceCard.contract.d.ts +3 -1
- package/dist/types/components/ArChoiceCard.vue.d.ts +1 -0
- package/dist/types/components/ArDatePicker.contract.d.ts +8 -0
- package/dist/types/components/ArDatePicker.vue.d.ts +3 -0
- package/dist/types/components/ArDescriptions.vue.d.ts +1 -1
- package/dist/types/components/ArDocumentBlock.contract.d.ts +2 -0
- package/dist/types/components/ArDocumentBlock.vue.d.ts +1 -0
- package/dist/types/components/ArDropdown.contract.d.ts +1 -1
- package/dist/types/components/ArField.contract.d.ts +2 -1
- package/dist/types/components/ArField.vue.d.ts +4 -0
- package/dist/types/components/ArFlagGroup.contract.d.ts +2 -0
- package/dist/types/components/ArFloatButton.contract.d.ts +3 -1
- package/dist/types/components/ArKanaText.vue.d.ts +0 -4
- package/dist/types/components/ArList.contract.d.ts +4 -3
- package/dist/types/components/ArList.vue.d.ts +3 -0
- package/dist/types/components/ArMenu.contract.d.ts +6 -0
- package/dist/types/components/ArModal.contract.d.ts +6 -4
- package/dist/types/components/ArModal.vue.d.ts +1 -1
- package/dist/types/components/ArParagraph.contract.d.ts +3 -1
- package/dist/types/components/ArParagraph.vue.d.ts +1 -0
- package/dist/types/components/ArPayslip.contract.d.ts +4 -2
- package/dist/types/components/ArPayslip.vue.d.ts +5 -2
- package/dist/types/components/ArPayslipLine.contract.d.ts +17 -0
- package/dist/types/components/ArPayslipLine.vue.d.ts +26 -0
- package/dist/types/components/ArPayslipTable.contract.d.ts +5 -0
- package/dist/types/components/ArPayslipTable.vue.d.ts +16 -0
- package/dist/types/components/ArPdfViewer.contract.d.ts +3 -1
- package/dist/types/components/ArPdfViewer.vue.d.ts +2 -0
- package/dist/types/components/ArProfileCard.contract.d.ts +3 -1
- package/dist/types/components/ArProfileCard.vue.d.ts +1 -0
- package/dist/types/components/ArPunchPanel.contract.d.ts +4 -2
- package/dist/types/components/ArRichTextEditor.contract.d.ts +2 -0
- package/dist/types/components/ArRichTextEditor.vue.d.ts +1 -0
- package/dist/types/components/ArSectionHead.vue.d.ts +1 -1
- package/dist/types/components/ArSectionMenu.contract.d.ts +8 -0
- package/dist/types/components/ArSectionMenu.vue.d.ts +3 -0
- package/dist/types/components/ArSelect.vue.d.ts +2 -0
- package/dist/types/components/ArStatistic.contract.d.ts +8 -2
- package/dist/types/components/ArStatistic.vue.d.ts +4 -1
- package/dist/types/components/ArSteps.contract.d.ts +1 -1
- package/dist/types/components/ArTable.contract.d.ts +14 -1
- package/dist/types/components/ArTabs.vue.d.ts +2 -2
- package/dist/types/components/ArTextInput.contract.d.ts +3 -0
- package/dist/types/components/ArTextInput.vue.d.ts +2 -0
- package/dist/types/components/ArThumbnail.contract.d.ts +2 -0
- package/dist/types/components/ArThumbnail.vue.d.ts +1 -0
- package/dist/types/components/ArTimeRange.contract.d.ts +8 -1
- package/dist/types/components/ArTimeRange.vue.d.ts +4 -0
- package/dist/types/components/ArTreeSelect.contract.d.ts +5 -3
- package/dist/types/components/ArTreeSelect.vue.d.ts +1 -0
- package/dist/types/components/ArWizard.contract.d.ts +8 -0
- package/dist/types/components/ArWizard.vue.d.ts +2 -0
- package/dist/types/components/ArYearMonthInput.contract.d.ts +1 -0
- package/dist/types/components/ArYearMonthInput.vue.d.ts +1 -0
- package/dist/types/components/ArZipInput.contract.d.ts +4 -2
- package/dist/types/components/ArZipInput.vue.d.ts +1 -0
- package/dist/types/components.generated.d.ts +4 -0
- package/dist/types/contracts.d.ts +21 -19
- package/dist/types/internal/ArTableCellBody.vue.d.ts +1 -0
- package/dist/types/internal/dialog.d.ts +3 -0
- package/dist/types/internal/overlay.d.ts +2 -0
- package/dist/types/internal/payslip.d.ts +11 -0
- package/dist/types/layout/ArSplit.vue.d.ts +3 -0
- package/package.json +1 -1
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
export interface ArAffixProps {
|
|
3
3
|
/** 上に残すときの、スクロールする箱の上端からの距離(px)。 */
|
|
4
4
|
offsetTop?: number;
|
|
5
|
+
/** 操作の横方向の配置。 */
|
|
6
|
+
justify?: "start" | "center" | "end" | "between";
|
|
5
7
|
/** 渡すと下に残す(下端からの距離 px)。 */
|
|
6
8
|
offsetBottom?: number;
|
|
7
9
|
/** 残っているときだけ帯の見た目(半透明の白・ぼかし・下の線)にする。false なら常に帯の見た目。 */
|
|
@@ -10,6 +10,7 @@ declare const __VLS_base: import("vue").DefineComponent<ArAffixProps, {}, {}, {}
|
|
|
10
10
|
}, string, import("vue").PublicProps, Readonly<ArAffixProps> & Readonly<{
|
|
11
11
|
onChange?: ((affixed: boolean) => any) | undefined;
|
|
12
12
|
}>, {
|
|
13
|
+
justify: "start" | "center" | "end" | "between";
|
|
13
14
|
offsetTop: number;
|
|
14
15
|
offsetBottom: number;
|
|
15
16
|
bandWhenStuck: boolean;
|
|
@@ -4,16 +4,11 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { type PropType } from "vue";
|
|
6
6
|
import type { ArAlertProps } from "./ArAlert.contract";
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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,10 +1,13 @@
|
|
|
1
|
+
import type { ArIconName } from "../icons";
|
|
1
2
|
/** Shared sign-in/reset shell. The consumer owns credentials, authentication and routing. */
|
|
2
3
|
export interface ArAuthPanelProps {
|
|
3
4
|
title: string;
|
|
5
|
+
icon?: ArIconName;
|
|
4
6
|
logo?: string;
|
|
5
7
|
logoAlt?: string;
|
|
6
8
|
companyName?: string;
|
|
7
9
|
companyCode?: string;
|
|
8
10
|
companyCodeLabel?: string;
|
|
11
|
+
companyIcon?: ArIconName;
|
|
9
12
|
}
|
|
10
|
-
export type ArAuthPanelPart =
|
|
13
|
+
export type ArAuthPanelPart = "root" | "logo" | "card" | "heading" | "company" | "company-name" | "company-code" | "body" | "footer";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ArAuthPanelProps } from
|
|
1
|
+
import type { ArAuthPanelProps } from "./ArAuthPanel.contract";
|
|
2
2
|
declare const __VLS_template: () => {
|
|
3
3
|
__VLS_Slots: {
|
|
4
4
|
default?: (props: {}) => any;
|
|
@@ -8,6 +8,7 @@ declare const __VLS_template: () => {
|
|
|
8
8
|
};
|
|
9
9
|
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
10
10
|
declare const __VLS_base: import("vue").DefineComponent<ArAuthPanelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ArAuthPanelProps> & Readonly<{}>, {
|
|
11
|
+
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";
|
|
11
12
|
logoAlt: string;
|
|
12
13
|
companyCodeLabel: string;
|
|
13
14
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -11,11 +11,11 @@ export interface ArButtonProps {
|
|
|
11
11
|
* ghost:表の上の小さな操作(テーマ色の文字だけ)。
|
|
12
12
|
* muted:目立たせない操作・アイコンだけのボタン(灰色の文字だけ)。
|
|
13
13
|
* link:文中のリンクのような操作(下線)。
|
|
14
|
-
* dashed
|
|
14
|
+
* dashed:行や項目を足す(点線。追加操作は通常は内容幅、block は意図的に幅いっぱいにする場合だけ)。
|
|
15
15
|
* danger:削除(塗り)。確かめの画面で最後に押すときだけ。danger-fill も同じ。
|
|
16
16
|
* danger-subtle:削除(白地に赤い枠)。danger-outline も同じ。
|
|
17
17
|
* danger-ghost:削除(赤い文字だけ)。
|
|
18
|
-
* edit:編集・見出しの横の補助の操作(今の ARROW の edit:classic は緑の塗り、remix
|
|
18
|
+
* edit:編集・見出しの横の補助の操作(今の ARROW の edit:classic は緑の塗り、remix は淡い緑)。
|
|
19
19
|
* dark:ロックなど、色の意味を持たない塗り(今の ARROW の lock・unlock・種類なし:classic は黒の塗り、remix は secondary と同じ)。
|
|
20
20
|
* overlay:写真の上に重ねる丸いアイコンのボタン(今の ARROW の transround:半透明の黒い丸に白いアイコン)。
|
|
21
21
|
*
|
|
@@ -23,6 +23,8 @@ export interface ArButtonProps {
|
|
|
23
23
|
* lock・unlock・movie・なし→dark、bordered→dashed、text→ghost、transround→overlay。
|
|
24
24
|
*/
|
|
25
25
|
tone?: ArButtonTone;
|
|
26
|
+
/** 操作の意味。画面のテーマ色に関係なく add は青、edit は緑、delete は赤。tone の形・大きさは保持する。 */
|
|
27
|
+
intent?: "add" | "edit" | "delete";
|
|
26
28
|
/**
|
|
27
29
|
* 大きさの段。`sm`=設定など密集した所、`md`=ふつう(既定)、`lg`=年末調整・スマホなど大きく押しやすくしたい所。同じ段なら入力・セレクト・時刻・日付・ボタンの高さがそろう(新しい見た目 30/36/42・角丸 9/10/11、今の見た目 antd の 24/32/40)。
|
|
28
30
|
* xs=表の行の中の小さな操作(「シフトに入れる」)、xl=手順の「次へ」「戻る」などのいちばん大きい操作(新しい見た目では lg と同じ高さ)。
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* ArCalendar 1.
|
|
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
|
*/
|
|
@@ -14,6 +14,8 @@ export interface ArCalendarProps {
|
|
|
14
14
|
* 見出しはカレンダーの絵と title と extra slot だけ(年の選択・月/年の切り替えはない)、マスは角の丸い淡い地に日付・印(events の札)・小さな文字(events の note)、下に footer slot(凡例)。
|
|
15
15
|
*/
|
|
16
16
|
size?: "default" | "mini";
|
|
17
|
+
/** board の情報密度。compact は個人用の勤務カレンダーなど、1日ごとの情報が少ない表示に使う。 */
|
|
18
|
+
density?: "default" | "compact";
|
|
17
19
|
/** 見出しの文字(省くと「2026年11月」)。 */
|
|
18
20
|
title?: string;
|
|
19
21
|
/** 日ごとの状態の印(ロック中=斜線と鍵・非公開=目の印・注意=赤い枠)。 */
|
|
@@ -49,7 +51,7 @@ export interface ArCalendarProps {
|
|
|
49
51
|
showAdjacent?: boolean;
|
|
50
52
|
/** マスに出す小さな印(朝礼・不足1 など)。マスの下に寄せて並べる。ほかの中身は cell slot。 */
|
|
51
53
|
events?: readonly ArCalendarEvent[];
|
|
52
|
-
/**
|
|
54
|
+
/** 日ごとの勤務時間・打刻時刻。狭いマスでも開始・終了を2行で省略せず表示する。値の計算・整形は利用側で行う。 */
|
|
53
55
|
timeRanges?: readonly ArCalendarTimeRange[];
|
|
54
56
|
/** 読み上げ用の名前(例:「シフトのカレンダー」)。 */
|
|
55
57
|
label?: string;
|
|
@@ -96,8 +98,9 @@ export interface ArCalendarEvent {
|
|
|
96
98
|
export interface ArCalendarTimeRange {
|
|
97
99
|
date: string;
|
|
98
100
|
start: string;
|
|
99
|
-
|
|
100
|
-
|
|
101
|
+
/** 終了を省くと出勤時刻などの単独の時刻を表示する。 */
|
|
102
|
+
end?: string;
|
|
103
|
+
/** 店舗名などを含む読み上げ・ツールチップ。省略時は開始〜終了、終了がなければ開始だけ。 */
|
|
101
104
|
label?: string;
|
|
102
105
|
}
|
|
103
106
|
/** 日ごとの状態の印(cellMarks が返す)。 */
|
|
@@ -46,6 +46,7 @@ declare const __VLS_base: import("vue").DefineComponent<ArCalendarProps, {}, {},
|
|
|
46
46
|
minYear: number;
|
|
47
47
|
maxYear: number;
|
|
48
48
|
today: string;
|
|
49
|
+
density: "default" | "compact";
|
|
49
50
|
cellMarks: (date: string) => import("./ArCalendar.contract").ArCalendarCellMarks | undefined;
|
|
50
51
|
weekStart: 0 | 1;
|
|
51
52
|
weekendColors: boolean;
|
|
@@ -48,3 +48,4 @@ export interface ArChangedValueItem {
|
|
|
48
48
|
after?: string | number | null;
|
|
49
49
|
}
|
|
50
50
|
export type ArChangedValuePart = "root" | "before" | "arrow" | "after" | "head" | "head-cell" | "row" | "label" | "cell" | "change";
|
|
51
|
+
/** Inline layout accepts before/after slots for rich values such as images or dated entries. Pass changed explicitly for slotted content; labels remain visible. */
|
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
import type { ArChangedValueHeaders, ArChangedValueItem, ArChangedValueProps } from "./ArChangedValue.contract";
|
|
2
|
-
declare const
|
|
2
|
+
declare const __VLS_template: () => {
|
|
3
|
+
__VLS_Slots: {
|
|
4
|
+
before?: (props: {}) => any;
|
|
5
|
+
} & {
|
|
6
|
+
after?: (props: {}) => any;
|
|
7
|
+
} & {
|
|
8
|
+
after?: (props: {}) => any;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
12
|
+
declare const __VLS_base: import("vue").DefineComponent<ArChangedValueProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ArChangedValueProps> & Readonly<{}>, {
|
|
3
13
|
layout: "text" | "list" | "table" | "inline";
|
|
4
14
|
empty: string;
|
|
5
15
|
caption: string;
|
|
@@ -14,5 +24,11 @@ declare const __VLS_export: import("vue").DefineComponent<ArChangedValueProps, {
|
|
|
14
24
|
after: string | number | null;
|
|
15
25
|
headers: Partial<ArChangedValueHeaders>;
|
|
16
26
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
17
28
|
declare const _default: typeof __VLS_export;
|
|
18
29
|
export default _default;
|
|
30
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
31
|
+
new (): {
|
|
32
|
+
$slots: S;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
@@ -18,6 +18,8 @@ export interface ArChoiceCardProps {
|
|
|
18
18
|
* 新しく書くときは ArRadioGroup(variant="card"・size="lg"・columns)を使う。
|
|
19
19
|
*/
|
|
20
20
|
variant?: "card" | "option" | "tile" | "radio";
|
|
21
|
+
/** option の右端に遷移先を示す矢印を表示する。選択状態の印とは区別する。 */
|
|
22
|
+
chevron?: boolean;
|
|
21
23
|
/** 1つを選ぶ組で使うときの、この札の値。v-model(modelValue)と同じなら選ばれている。渡すと role="radio"。 */
|
|
22
24
|
value?: ArChoiceValue;
|
|
23
25
|
/** 組の今の値(v-model)。 */
|
|
@@ -45,4 +47,4 @@ export interface ArChoiceCardEmits {
|
|
|
45
47
|
select: [value: ArChoiceValue | undefined];
|
|
46
48
|
}
|
|
47
49
|
/** slot:default(説明の下に足す中身)。 */
|
|
48
|
-
export type ArChoiceCardPart = "root" | "check" | "icon" | "body" | "title" | "tag" | "description" | "reason";
|
|
50
|
+
export type ArChoiceCardPart = "root" | "check" | "icon" | "body" | "title" | "tag" | "description" | "reason" | "chevron";
|
|
@@ -25,6 +25,7 @@ declare const __VLS_base: import("vue").DefineComponent<ArChoiceCardProps, {}, {
|
|
|
25
25
|
modelValue: ArChoiceValue | null;
|
|
26
26
|
selected: boolean;
|
|
27
27
|
reason: string;
|
|
28
|
+
chevron: boolean;
|
|
28
29
|
tagTone: "accent" | "ok" | "neutral";
|
|
29
30
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
30
31
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -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>;
|
|
@@ -40,4 +40,4 @@ export interface ArDropdownEmits {
|
|
|
40
40
|
click: [event: MouseEvent];
|
|
41
41
|
}
|
|
42
42
|
/** default slot(押すもの)は { open, toggle, attrs } を受け取る。attrs を押す要素に v-bind すると aria が付く。 */
|
|
43
|
-
export type ArDropdownPart = "content" | "root" | "trigger" | "icon" | "label" | "caret" | "list" | "group" | "item" | "icon-box" | "text" | "description" | "divider";
|
|
43
|
+
export type ArDropdownPart = "content" | "root" | "trigger" | "icon" | "label" | "caret" | "list" | "group" | "item" | "icon-box" | "text" | "description" | "divider" | "disabled-reason";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
/**
|
|
1
|
+
/** Optional label-extra slot places a help trigger beside the label without nesting it in the label.
|
|
2
|
+
* ArField 1.0 の契約。ラベル・必須・説明・間違いを1つにまとめ、中の入力と結ぶ。 */
|
|
2
3
|
export interface ArFieldProps {
|
|
3
4
|
/** 項目名(.lbl 12.5px 太字)。 */
|
|
4
5
|
label: string;
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import type { ArFieldControlProps, ArFieldProps } from "./ArField.contract";
|
|
2
2
|
type __VLS_Slots = {
|
|
3
3
|
default(props: ArFieldControlProps): unknown;
|
|
4
|
+
/** Supplementary text and an optional detail action, beneath the control. */
|
|
5
|
+
help?(): unknown;
|
|
6
|
+
/** A separate help button alongside the label; never nested inside the label. */
|
|
7
|
+
"label-extra"?(): unknown;
|
|
4
8
|
};
|
|
5
9
|
declare const __VLS_base: import("vue").DefineComponent<ArFieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ArFieldProps> & Readonly<{}>, {
|
|
6
10
|
required: boolean;
|
|
@@ -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.
|
|
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: {
|
|
@@ -13,6 +13,10 @@ export interface ArMenuItem {
|
|
|
13
13
|
description?: string;
|
|
14
14
|
/** 危ない項目(削除など)。赤で出す。区切り線のあと・最後に置く。 */
|
|
15
15
|
danger?: boolean;
|
|
16
|
+
/** 編集操作の色。danger が true のときは危険色を優先する。 */
|
|
17
|
+
tone?: "edit";
|
|
18
|
+
/** 選べない理由。浮かぶメニューでは操作の説明とは別の行に表示する。 */
|
|
19
|
+
disabledReason?: string;
|
|
16
20
|
/** 選べない。 */
|
|
17
21
|
disabled?: boolean;
|
|
18
22
|
/** 権限がない。鍵のアイコンと灰色で出し、選べない。 */
|
|
@@ -21,6 +25,8 @@ export interface ArMenuItem {
|
|
|
21
25
|
children?: readonly ArMenuItem[];
|
|
22
26
|
/** 渡すとリンク(a 要素)にする。 */
|
|
23
27
|
href?: string;
|
|
28
|
+
/** 外部資料を別タブで開く。別タブでは noopener noreferrer を付ける。 */
|
|
29
|
+
target?: "_blank";
|
|
24
30
|
}
|
|
25
31
|
export interface ArMenuProps {
|
|
26
32
|
/** 項目の並び。 */
|
|
@@ -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
|
-
/**
|
|
38
|
+
/** 題に添える印(confirm の既定は alert)。位置はテーマが決める。 */
|
|
37
39
|
icon?: ArIconName;
|
|
38
40
|
/** 印の色。warn 橙・danger 赤・info テーマ色・ok 緑。 */
|
|
39
41
|
iconTone?: "warn" | "danger" | "info" | "ok";
|
|
@@ -43,8 +45,8 @@ export interface ArModalProps {
|
|
|
43
45
|
footerNoteAlign?: "start" | "end";
|
|
44
46
|
/** 主なボタンの文字。渡すと足に「キャンセル」と主なボタンを出す(#footer があればそちらが優先)。 */
|
|
45
47
|
okText?: string;
|
|
46
|
-
/**
|
|
47
|
-
okTone?: "primary" | "danger";
|
|
48
|
+
/** 主なボタンの種類。保存は edit(緑)、削除は danger(赤)。 */
|
|
49
|
+
okTone?: "primary" | "edit" | "danger";
|
|
48
50
|
okIcon?: ArIconName;
|
|
49
51
|
okDisabled?: boolean;
|
|
50
52
|
okLoading?: boolean;
|
|
@@ -46,7 +46,7 @@ declare const __VLS_base: import("vue").DefineComponent<ArModalProps, {}, {}, {}
|
|
|
46
46
|
footerNote: string;
|
|
47
47
|
footerNoteAlign: "start" | "end";
|
|
48
48
|
okText: string;
|
|
49
|
-
okTone: "danger" | "primary";
|
|
49
|
+
okTone: "danger" | "primary" | "edit";
|
|
50
50
|
okIcon: "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";
|
|
51
51
|
okDisabled: boolean;
|
|
52
52
|
okLoading: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** ArParagraph 1.
|
|
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
|
|
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,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
|
+
};
|
|
@@ -30,8 +30,10 @@ export interface ArPdfViewerProps {
|
|
|
30
30
|
pageLabel?: (page: number) => string;
|
|
31
31
|
/** 上の段(ページ送り・大きさ)を出す。false で見本の枠だけ。 */
|
|
32
32
|
toolbar?: boolean;
|
|
33
|
-
/** 紙の幅(100% のとき)。 */
|
|
33
|
+
/** 紙の幅(100% のとき)。page slot の width はその実測幅(CSS px)で、画面幅変更にも追従する。 */
|
|
34
34
|
paperWidth?: string;
|
|
35
|
+
/** 100% 表示を表示枠に収めるときの最大幅(CSS px)。指定時は paperWidth より優先し、拡大時はこの基準幅から拡大する。 */
|
|
36
|
+
fitWidth?: number;
|
|
35
37
|
/** 紙の高さの下限(100% のとき。A4 の見本なら 780px)。 */
|
|
36
38
|
paperMinHeight?: string;
|
|
37
39
|
/** 全体の高さ(例:"640px")。省くと中身の高さ。 */
|
|
@@ -2,6 +2,7 @@ import type { ArPdfViewerLabels, ArPdfViewerProps } from "./ArPdfViewer.contract
|
|
|
2
2
|
type __VLS_Slots = {
|
|
3
3
|
page?: (p: {
|
|
4
4
|
page: number;
|
|
5
|
+
width: number | undefined;
|
|
5
6
|
}) => unknown;
|
|
6
7
|
"toolbar-end"?: () => unknown;
|
|
7
8
|
};
|
|
@@ -25,6 +26,7 @@ declare const __VLS_base: import("vue").DefineComponent<ArPdfViewerProps, {}, {}
|
|
|
25
26
|
pageCount: number;
|
|
26
27
|
zoomSteps: readonly number[];
|
|
27
28
|
pageLabel: (page: number) => string;
|
|
29
|
+
fitWidth: number;
|
|
28
30
|
paperMinHeight: string;
|
|
29
31
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
30
32
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|