@reni-corp/reni-2c-ui 0.3.28 → 0.3.291
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/README.md +0 -196
- package/dist/components/elements/Alert.vue.d.ts +21 -3
- package/dist/components/elements/Alert.vue.d.ts.map +1 -1
- package/dist/components/elements/CheckBox.vue.d.ts +42 -2
- package/dist/components/elements/CheckBox.vue.d.ts.map +1 -1
- package/dist/components/elements/ComboBox.vue.d.ts +153 -0
- package/dist/components/elements/ComboBox.vue.d.ts.map +1 -0
- package/dist/components/elements/Icon.vue.d.ts.map +1 -1
- package/dist/components/elements/PasswordField.vue.d.ts +75 -25
- package/dist/components/elements/PasswordField.vue.d.ts.map +1 -1
- package/dist/components/elements/Progress.vue.d.ts +45 -0
- package/dist/components/elements/Progress.vue.d.ts.map +1 -0
- package/dist/components/elements/SelectBox.vue.d.ts +30 -10
- package/dist/components/elements/SelectBox.vue.d.ts.map +1 -1
- package/dist/components/elements/SkeletonLoader.vue.d.ts +30 -0
- package/dist/components/elements/SkeletonLoader.vue.d.ts.map +1 -0
- package/dist/components/elements/SpinButton.vue.d.ts +4 -2
- package/dist/components/elements/SpinButton.vue.d.ts.map +1 -1
- package/dist/components/elements/TextField.vue.d.ts +21 -6
- package/dist/components/elements/TextField.vue.d.ts.map +1 -1
- package/dist/components/features/ProductList.vue.d.ts +4 -0
- package/dist/components/features/ProductList.vue.d.ts.map +1 -1
- package/dist/components/features/ProductListItem.vue.d.ts +4 -0
- package/dist/components/features/ProductListItem.vue.d.ts.map +1 -1
- package/dist/components/features/ProductPurchase.vue.d.ts +0 -4
- package/dist/components/features/ProductPurchase.vue.d.ts.map +1 -1
- package/dist/components/foundation/AppBar.vue.d.ts +28 -3
- package/dist/components/foundation/AppBar.vue.d.ts.map +1 -1
- package/dist/components/foundation/AppFooter.vue.d.ts +51 -1
- package/dist/components/foundation/AppFooter.vue.d.ts.map +1 -1
- package/dist/components/interactive/Disclosure.vue.d.ts +54 -0
- package/dist/components/interactive/Disclosure.vue.d.ts.map +1 -0
- package/dist/components/layouts/Page.vue.d.ts +2 -0
- package/dist/components/layouts/Page.vue.d.ts.map +1 -1
- package/dist/components/renderless/Form.vue.d.ts +27 -1
- package/dist/components/renderless/Form.vue.d.ts.map +1 -1
- package/dist/index.d.ts +9 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.es.js +7161 -5941
- package/dist/script.es.js +8364 -7146
- package/dist/script.umd.js +26 -26
- package/dist/style.css +1 -1
- package/dist/types.d.ts +7 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/utils.d.ts.map +1 -1
- package/package.json +18 -13
- package/src/stories/Alert.stories.ts +260 -0
- package/src/stories/AnnounceBar.stories.ts +138 -0
- package/src/stories/AppBar.stories.ts +277 -0
- package/src/stories/AppFooter.stories.ts +274 -0
- package/src/stories/AppFrame.stories.ts +46 -0
- package/src/stories/AppLayout.stories.ts +870 -0
- package/src/stories/Button.stories.ts +101 -0
- package/src/stories/Card.stories.ts +152 -0
- package/src/stories/Carousel.stories.ts +62 -0
- package/src/stories/CarouselBanner.stories.ts +103 -0
- package/src/stories/CheckBox.stories.ts +76 -0
- package/src/stories/ComboBox.stories.ts +524 -0
- package/src/stories/Dialog.stories.ts +174 -0
- package/src/stories/Disclosure.stories.ts +217 -0
- package/src/stories/Divider.stories.ts +68 -0
- package/src/stories/Drawer.stories.ts +135 -0
- package/src/stories/DropDown.stories.ts +195 -0
- package/src/stories/FloatingBanner.stories.ts +79 -0
- package/src/stories/Form.stories.ts +704 -0
- package/src/stories/Gallery.stories.ts +78 -0
- package/src/stories/Grid.stories.ts +357 -0
- package/src/stories/Hero.stories.ts +52 -0
- package/src/stories/Html.stories.ts +178 -0
- package/src/stories/Icon.stories.ts +176 -0
- package/src/stories/Image.stories.ts +613 -0
- package/src/stories/Label.stories.ts +54 -0
- package/src/stories/List.stories.ts +112 -0
- package/src/stories/Modal.stories.ts +123 -0
- package/src/stories/Notification.stories.ts +82 -0
- package/src/stories/Page.stories.ts +414 -0
- package/src/stories/PasswordField.stories.ts +304 -0
- package/src/stories/ProductLabels.stories.ts +65 -0
- package/src/stories/ProductList.stories.ts +679 -0
- package/src/stories/ProductPurchase.stories.ts +807 -0
- package/src/stories/Progress.stories.ts +192 -0
- package/src/stories/Radio.stories.ts +81 -0
- package/src/stories/Section.stories.ts +244 -0
- package/src/stories/SelectBox.stories.ts +377 -0
- package/src/stories/SkeletonLoader.stories.ts +170 -0
- package/src/stories/Slider.stories.ts +79 -0
- package/src/stories/SnsLink.stories.ts +259 -0
- package/src/stories/SoldStacker.stories.ts +68 -0
- package/src/stories/SpinButton.stories.ts +134 -0
- package/src/stories/Spinner.stories.ts +58 -0
- package/src/stories/Stack.stories.ts +104 -0
- package/src/stories/Switch.stories.ts +68 -0
- package/src/stories/Tab.stories.ts +52 -0
- package/src/stories/TabPanels.stories.ts +67 -0
- package/src/stories/Tabs.stories.ts +68 -0
- package/src/stories/Text.stories.ts +69 -0
- package/src/stories/TextArea.stories.ts +78 -0
- package/src/stories/TextField.stories.ts +97 -0
- package/src/stories/ToolChip.stories.ts +125 -0
- package/dist/components/elements/SkeltonLoader.vue.d.ts +0 -7
- package/dist/components/elements/SkeltonLoader.vue.d.ts.map +0 -1
package/README.md
CHANGED
|
@@ -1,196 +0,0 @@
|
|
|
1
|
-
# reni-2C-ui
|
|
2
|
-
|
|
3
|
-
モダンなストアフロントアプリケーション構築のための、美しくアクセシブルなコンポーネントを提供する包括的なVue 3コンポーネントライブラリです。
|
|
4
|
-
|
|
5
|
-
## インストール
|
|
6
|
-
|
|
7
|
-
```bash
|
|
8
|
-
npm install @reni-corp/reni-2c-ui
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
または
|
|
12
|
-
|
|
13
|
-
```bash
|
|
14
|
-
yarn add @reni-corp/reni-2c-ui
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
## クイックスタート
|
|
18
|
-
|
|
19
|
-
### 1. プラグインのインポートとインストール
|
|
20
|
-
|
|
21
|
-
```typescript
|
|
22
|
-
import { createApp } from 'vue'
|
|
23
|
-
import { createReniOneUI } from '@reni-corp/reni-2c-ui'
|
|
24
|
-
import '@reni-corp/reni-2c-ui/dist/style.css'
|
|
25
|
-
|
|
26
|
-
const app = createApp(App)
|
|
27
|
-
app.use(createReniOneUI())
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
### 2. コンポーネントの使用
|
|
31
|
-
|
|
32
|
-
```vue
|
|
33
|
-
<template>
|
|
34
|
-
<rn-button variant="primary" @click="handleClick"> Click me </rn-button>
|
|
35
|
-
<rn-card>
|
|
36
|
-
<rn-text>Hello World</rn-text>
|
|
37
|
-
</rn-card>
|
|
38
|
-
</template>
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
### 3. 個別コンポーネントのインポート
|
|
42
|
-
|
|
43
|
-
```typescript
|
|
44
|
-
import { Button, Card, Text } from '@reni-corp/reni-2c-ui'
|
|
45
|
-
|
|
46
|
-
export default {
|
|
47
|
-
components: {
|
|
48
|
-
RnButton: Button,
|
|
49
|
-
RnCard: Card,
|
|
50
|
-
RnText: Text,
|
|
51
|
-
},
|
|
52
|
-
}
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
## コンポーネントカテゴリ
|
|
56
|
-
|
|
57
|
-
### Elements(要素)
|
|
58
|
-
|
|
59
|
-
基本的なUIビルディングブロック: `Button`, `Icon`, `Text`, `TextField`, `SelectBox`, `Checkbox`, `RadioButton`, `Alert`, `Spinner` など
|
|
60
|
-
|
|
61
|
-
### Layouts(レイアウト)
|
|
62
|
-
|
|
63
|
-
レイアウトと構造のコンポーネント: `Stack`, `Card`, `Grid`, `List`, `Section`, `Page`
|
|
64
|
-
|
|
65
|
-
### Interactive(インタラクティブ)
|
|
66
|
-
|
|
67
|
-
インタラクティブなコンポーネント: `Modal`, `Dialog`, `Gallery`, `Carousel`, `Tabs`, `Notification`, `DropDown`
|
|
68
|
-
|
|
69
|
-
### Navigation(ナビゲーション)
|
|
70
|
-
|
|
71
|
-
ナビゲーションコンポーネント: `AppBar`, `Drawer`, `BottomBar`
|
|
72
|
-
|
|
73
|
-
### Features(機能)
|
|
74
|
-
|
|
75
|
-
ビジネス特化型コンポーネント: `ProductList`, `Schedule`, `Hero`, `AnnounceBar`, `CategoryBanner`, `VariationSelector`
|
|
76
|
-
|
|
77
|
-
## TypeScript サポート
|
|
78
|
-
|
|
79
|
-
このライブラリはTypeScriptで構築されており、完全な型定義を提供します。グローバル登録を使用する際、すべてのコンポーネントが自動的に型付けされます。
|
|
80
|
-
|
|
81
|
-
```typescript
|
|
82
|
-
// グローバルコンポーネント型は自動的に利用可能
|
|
83
|
-
// TypeScriptサポートのための追加インポートは不要
|
|
84
|
-
```
|
|
85
|
-
|
|
86
|
-
## バリューオブジェクト
|
|
87
|
-
|
|
88
|
-
ライブラリには、一般的なデータ型のためのユーティリティバリューオブジェクトが含まれています:
|
|
89
|
-
|
|
90
|
-
```typescript
|
|
91
|
-
import { CurrencyValue, NumberValue } from '@reni-corp/reni-2c-ui/valueObjects'
|
|
92
|
-
|
|
93
|
-
const price = new CurrencyValue(1000, 'JPY')
|
|
94
|
-
const quantity = new NumberValue(5)
|
|
95
|
-
```
|
|
96
|
-
|
|
97
|
-
## Composables
|
|
98
|
-
|
|
99
|
-
一般的なUIパターンのための便利なComposablesにアクセスできます:
|
|
100
|
-
|
|
101
|
-
```typescript
|
|
102
|
-
import {
|
|
103
|
-
useAppNotifications,
|
|
104
|
-
useSyncedTabPanel,
|
|
105
|
-
useToolChip,
|
|
106
|
-
useAppDialogGuidance,
|
|
107
|
-
} from '@reni-corp/reni-2c-ui'
|
|
108
|
-
```
|
|
109
|
-
|
|
110
|
-
## リンク
|
|
111
|
-
|
|
112
|
-
- [デザインシステム](https://reni-design.web.app/)
|
|
113
|
-
- [Storybook ドキュメント](# Add your storybook URL here)
|
|
114
|
-
|
|
115
|
-
## 結合テスト
|
|
116
|
-
|
|
117
|
-
ローカルで開発中のライブラリバージョンとアプリケーションを統合してテストする場合、アプリ側の`package.json`に`resolutions`フィールドを追加することで、ローカルビルドされたパッケージを強制的に使用できます。
|
|
118
|
-
|
|
119
|
-
### セットアップ手順
|
|
120
|
-
|
|
121
|
-
1. このライブラリをビルド:
|
|
122
|
-
|
|
123
|
-
```bash
|
|
124
|
-
yarn build
|
|
125
|
-
```
|
|
126
|
-
|
|
127
|
-
2. アプリ側の`package.json`に以下を追加:
|
|
128
|
-
|
|
129
|
-
```json
|
|
130
|
-
{
|
|
131
|
-
"resolutions": {
|
|
132
|
-
"@reni-corp/reni-2c-ui": "file:/path/to/reni-2C-ui"
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
```
|
|
136
|
-
|
|
137
|
-
3. アプリ側で依存関係を再インストール:
|
|
138
|
-
|
|
139
|
-
```bash
|
|
140
|
-
yarn install
|
|
141
|
-
```
|
|
142
|
-
|
|
143
|
-
## 開発
|
|
144
|
-
|
|
145
|
-
### 必要なソフトウェア
|
|
146
|
-
|
|
147
|
-
- Node.js (バージョン: 20.9.0)
|
|
148
|
-
- YARN (バージョン: 4.10.0)
|
|
149
|
-
|
|
150
|
-
### セットアップ
|
|
151
|
-
|
|
152
|
-
1. corepackを有効化:
|
|
153
|
-
|
|
154
|
-
```shell
|
|
155
|
-
corepack enable
|
|
156
|
-
```
|
|
157
|
-
|
|
158
|
-
2. Yarn 4.10.0 をプロジェクトに設定:
|
|
159
|
-
|
|
160
|
-
```shell
|
|
161
|
-
yarn set version 4.10.0
|
|
162
|
-
```
|
|
163
|
-
|
|
164
|
-
3. `.yarnrc.yml`作成しNodeプロジェクトルートへ配置
|
|
165
|
-
|
|
166
|
-
```
|
|
167
|
-
nodeLinker: node-modules
|
|
168
|
-
|
|
169
|
-
npmScopes:
|
|
170
|
-
reni-corp:
|
|
171
|
-
npmRegistryServer: "https://registry.npmjs.org/"
|
|
172
|
-
npmPublishRegistry: "https://registry.npmjs.org/"
|
|
173
|
-
npmAlwaysAuth: false
|
|
174
|
-
"fortawesome":
|
|
175
|
-
npmAlwaysAuth: true
|
|
176
|
-
npmRegistryServer: "https://npm.fontawesome.com/"
|
|
177
|
-
npmAuthToken: ${GITHUB_PACKAGES_ACCESS_TOKEN}
|
|
178
|
-
"awesome.me":
|
|
179
|
-
npmAlwaysAuth: true
|
|
180
|
-
npmRegistryServer: "https://npm.fontawesome.com/"
|
|
181
|
-
npmAuthToken: ${GITHUB_PACKAGES_ACCESS_TOKEN}
|
|
182
|
-
```
|
|
183
|
-
|
|
184
|
-
4. 依存関係をインストール:
|
|
185
|
-
|
|
186
|
-
```shell
|
|
187
|
-
yarn install
|
|
188
|
-
```
|
|
189
|
-
|
|
190
|
-
### 利用可能なスクリプト
|
|
191
|
-
|
|
192
|
-
- `yarn dev` - 開発サーバーを起動
|
|
193
|
-
- `yarn build` - ライブラリをビルド
|
|
194
|
-
- `yarn storybook` - Storybook開発サーバーを起動
|
|
195
|
-
- `yarn lint` - ESLintを実行
|
|
196
|
-
- `yarn test` - テストを実行
|
|
@@ -2,27 +2,40 @@ import { StatusColor } from '../../types';
|
|
|
2
2
|
|
|
3
3
|
export type AlertProps = {
|
|
4
4
|
color?: StatusColor;
|
|
5
|
+
title?: string;
|
|
5
6
|
message: string;
|
|
6
7
|
size?: 'sm' | 'md';
|
|
7
8
|
width?: 'hug' | 'fill';
|
|
8
9
|
hasHtml?: boolean;
|
|
9
10
|
};
|
|
10
|
-
|
|
11
|
+
export type AlertSlots = {
|
|
12
|
+
action?: () => unknown;
|
|
13
|
+
};
|
|
14
|
+
export type AlertEmits = {
|
|
15
|
+
close: [];
|
|
16
|
+
};
|
|
17
|
+
declare function __VLS_template(): Readonly<AlertSlots> & AlertSlots;
|
|
18
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<AlertProps>, {
|
|
11
19
|
color: string;
|
|
12
20
|
size: string;
|
|
13
21
|
width: string;
|
|
14
22
|
hasHtml: boolean;
|
|
15
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
23
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
24
|
+
close: () => void;
|
|
25
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<AlertProps>, {
|
|
16
26
|
color: string;
|
|
17
27
|
size: string;
|
|
18
28
|
width: string;
|
|
19
29
|
hasHtml: boolean;
|
|
20
|
-
}>>> & Readonly<{
|
|
30
|
+
}>>> & Readonly<{
|
|
31
|
+
onClose?: (() => any) | undefined;
|
|
32
|
+
}>, {
|
|
21
33
|
width: "hug" | "fill";
|
|
22
34
|
color: StatusColor;
|
|
23
35
|
size: "sm" | "md";
|
|
24
36
|
hasHtml: boolean;
|
|
25
37
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
38
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
26
39
|
export default _default;
|
|
27
40
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
28
41
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -41,4 +54,9 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
41
54
|
type __VLS_Prettify<T> = {
|
|
42
55
|
[K in keyof T]: T[K];
|
|
43
56
|
} & {};
|
|
57
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
58
|
+
new (): {
|
|
59
|
+
$slots: S;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
44
62
|
//# sourceMappingURL=Alert.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Alert.vue.d.ts","sourceRoot":"","sources":["../../../src/components/elements/Alert.vue"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAKrC,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,CAAC,EAAE,WAAW,CAAA;IACnB,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;IAClB,KAAK,CAAC,EAAE,KAAK,GAAG,MAAM,CAAA;IACtB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA
|
|
1
|
+
{"version":3,"file":"Alert.vue.d.ts","sourceRoot":"","sources":["../../../src/components/elements/Alert.vue"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAKrC,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,CAAC,EAAE,WAAW,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;IAClB,KAAK,CAAC,EAAE,KAAK,GAAG,MAAM,CAAA;IACtB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA;AAGD,MAAM,MAAM,UAAU,GAAG;IACvB,MAAM,CAAC,EAAE,MAAM,OAAO,CAAA;CACvB,CAAA;AAOD,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,EAAE,EAAE,CAAA;CACV,CAAA;AAmDD,iBAAS,cAAc,sCA0JtB;AAeD,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;WA5OX,KAAK,GAAG,MAAM;WAJd,WAAW;UAGZ,IAAI,GAAG,IAAI;aAER,OAAO;4EAkPjB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -4,33 +4,73 @@ export type CheckBoxProps = {
|
|
|
4
4
|
label?: string;
|
|
5
5
|
color?: Color;
|
|
6
6
|
disabled?: boolean;
|
|
7
|
+
required?: boolean;
|
|
8
|
+
name?: string;
|
|
9
|
+
validateOnMount?: boolean;
|
|
10
|
+
requiredErrorMessage?: string;
|
|
7
11
|
};
|
|
8
12
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
9
|
-
modelValue: import('vue').PropType<
|
|
13
|
+
modelValue: import('vue').PropType<boolean>;
|
|
14
|
+
required: {
|
|
15
|
+
type: import('vue').PropType<boolean>;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
10
18
|
label: {
|
|
11
19
|
type: import('vue').PropType<string>;
|
|
12
20
|
};
|
|
13
21
|
disabled: {
|
|
14
22
|
type: import('vue').PropType<boolean>;
|
|
15
23
|
};
|
|
24
|
+
name: {
|
|
25
|
+
type: import('vue').PropType<string>;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
16
28
|
color: {
|
|
17
29
|
type: import('vue').PropType<"default" | "primary" | "secondary" | "warning" | "danger" | "success" | "info" | "subtle" | "muted" | "light">;
|
|
18
30
|
default: string;
|
|
19
31
|
};
|
|
32
|
+
validateOnMount: {
|
|
33
|
+
type: import('vue').PropType<boolean>;
|
|
34
|
+
default: boolean;
|
|
35
|
+
};
|
|
36
|
+
requiredErrorMessage: {
|
|
37
|
+
type: import('vue').PropType<string>;
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
20
40
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
21
|
-
modelValue: import('vue').PropType<
|
|
41
|
+
modelValue: import('vue').PropType<boolean>;
|
|
42
|
+
required: {
|
|
43
|
+
type: import('vue').PropType<boolean>;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
22
46
|
label: {
|
|
23
47
|
type: import('vue').PropType<string>;
|
|
24
48
|
};
|
|
25
49
|
disabled: {
|
|
26
50
|
type: import('vue').PropType<boolean>;
|
|
27
51
|
};
|
|
52
|
+
name: {
|
|
53
|
+
type: import('vue').PropType<string>;
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
28
56
|
color: {
|
|
29
57
|
type: import('vue').PropType<"default" | "primary" | "secondary" | "warning" | "danger" | "success" | "info" | "subtle" | "muted" | "light">;
|
|
30
58
|
default: string;
|
|
31
59
|
};
|
|
60
|
+
validateOnMount: {
|
|
61
|
+
type: import('vue').PropType<boolean>;
|
|
62
|
+
default: boolean;
|
|
63
|
+
};
|
|
64
|
+
requiredErrorMessage: {
|
|
65
|
+
type: import('vue').PropType<string>;
|
|
66
|
+
default: string;
|
|
67
|
+
};
|
|
32
68
|
}>> & Readonly<{}>, {
|
|
69
|
+
required: boolean;
|
|
70
|
+
name: string;
|
|
33
71
|
color: Color;
|
|
72
|
+
validateOnMount: boolean;
|
|
73
|
+
requiredErrorMessage: string;
|
|
34
74
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
35
75
|
export default _default;
|
|
36
76
|
//# sourceMappingURL=CheckBox.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CheckBox.vue.d.ts","sourceRoot":"","sources":["../../../src/components/elements/CheckBox.vue"],"names":[],"mappings":"AAEA,OAAO,0BAA0B,CAAA;
|
|
1
|
+
{"version":3,"file":"CheckBox.vue.d.ts","sourceRoot":"","sources":["../../../src/components/elements/CheckBox.vue"],"names":[],"mappings":"AAEA,OAAO,0BAA0B,CAAA;AAGjC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAG/B,MAAM,MAAM,aAAa,GAAG;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,KAAK,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,oBAAoB,CAAC,EAAE,MAAM,CAAA;CAC9B,CAAA;;gBAqEW,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAA/B,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAzE9B,OAAO;UACX,MAAM;WAHL,KAAK;qBAIK,OAAO;0BACF,MAAM;;AA6N/B,wBASG"}
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
export type ComboBoxProps = {
|
|
2
|
+
label?: string;
|
|
3
|
+
itemTitle?: string;
|
|
4
|
+
itemValue?: string;
|
|
5
|
+
returnObject?: boolean;
|
|
6
|
+
items: {
|
|
7
|
+
id: string;
|
|
8
|
+
label: string;
|
|
9
|
+
}[] | any[];
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
autocomplete?: boolean;
|
|
12
|
+
clearable?: boolean;
|
|
13
|
+
name?: string;
|
|
14
|
+
rules?: string | Record<string, unknown> | ((value: unknown) => boolean);
|
|
15
|
+
placeholder?: string;
|
|
16
|
+
noResultsText?: string;
|
|
17
|
+
};
|
|
18
|
+
declare function __VLS_template(): {
|
|
19
|
+
"append-inner"?(_: {}): any;
|
|
20
|
+
};
|
|
21
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
22
|
+
modelValue: import('vue').PropType<any[]>;
|
|
23
|
+
label: {
|
|
24
|
+
type: import('vue').PropType<string>;
|
|
25
|
+
};
|
|
26
|
+
disabled: {
|
|
27
|
+
type: import('vue').PropType<boolean>;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
name: {
|
|
31
|
+
type: import('vue').PropType<string>;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
placeholder: {
|
|
35
|
+
type: import('vue').PropType<string>;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
itemTitle: {
|
|
39
|
+
type: import('vue').PropType<string>;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
itemValue: {
|
|
43
|
+
type: import('vue').PropType<string>;
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
46
|
+
returnObject: {
|
|
47
|
+
type: import('vue').PropType<boolean>;
|
|
48
|
+
};
|
|
49
|
+
items: {
|
|
50
|
+
type: import('vue').PropType<any[] | {
|
|
51
|
+
id: string;
|
|
52
|
+
label: string;
|
|
53
|
+
}[]>;
|
|
54
|
+
required: true;
|
|
55
|
+
};
|
|
56
|
+
autocomplete: {
|
|
57
|
+
type: import('vue').PropType<boolean>;
|
|
58
|
+
default: boolean;
|
|
59
|
+
};
|
|
60
|
+
clearable: {
|
|
61
|
+
type: import('vue').PropType<boolean>;
|
|
62
|
+
default: boolean;
|
|
63
|
+
};
|
|
64
|
+
rules: {
|
|
65
|
+
type: import('vue').PropType<string | Record<string, unknown> | ((value: unknown) => boolean)>;
|
|
66
|
+
default: string;
|
|
67
|
+
};
|
|
68
|
+
noResultsText: {
|
|
69
|
+
type: import('vue').PropType<string>;
|
|
70
|
+
default: string;
|
|
71
|
+
};
|
|
72
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
73
|
+
"update:modelValue": (value: unknown[]) => void;
|
|
74
|
+
open: () => void;
|
|
75
|
+
close: () => void;
|
|
76
|
+
select: (item: any) => void;
|
|
77
|
+
deselect: (item: any) => void;
|
|
78
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
79
|
+
modelValue: import('vue').PropType<any[]>;
|
|
80
|
+
label: {
|
|
81
|
+
type: import('vue').PropType<string>;
|
|
82
|
+
};
|
|
83
|
+
disabled: {
|
|
84
|
+
type: import('vue').PropType<boolean>;
|
|
85
|
+
default: boolean;
|
|
86
|
+
};
|
|
87
|
+
name: {
|
|
88
|
+
type: import('vue').PropType<string>;
|
|
89
|
+
default: string;
|
|
90
|
+
};
|
|
91
|
+
placeholder: {
|
|
92
|
+
type: import('vue').PropType<string>;
|
|
93
|
+
default: string;
|
|
94
|
+
};
|
|
95
|
+
itemTitle: {
|
|
96
|
+
type: import('vue').PropType<string>;
|
|
97
|
+
default: string;
|
|
98
|
+
};
|
|
99
|
+
itemValue: {
|
|
100
|
+
type: import('vue').PropType<string>;
|
|
101
|
+
default: string;
|
|
102
|
+
};
|
|
103
|
+
returnObject: {
|
|
104
|
+
type: import('vue').PropType<boolean>;
|
|
105
|
+
};
|
|
106
|
+
items: {
|
|
107
|
+
type: import('vue').PropType<any[] | {
|
|
108
|
+
id: string;
|
|
109
|
+
label: string;
|
|
110
|
+
}[]>;
|
|
111
|
+
required: true;
|
|
112
|
+
};
|
|
113
|
+
autocomplete: {
|
|
114
|
+
type: import('vue').PropType<boolean>;
|
|
115
|
+
default: boolean;
|
|
116
|
+
};
|
|
117
|
+
clearable: {
|
|
118
|
+
type: import('vue').PropType<boolean>;
|
|
119
|
+
default: boolean;
|
|
120
|
+
};
|
|
121
|
+
rules: {
|
|
122
|
+
type: import('vue').PropType<string | Record<string, unknown> | ((value: unknown) => boolean)>;
|
|
123
|
+
default: string;
|
|
124
|
+
};
|
|
125
|
+
noResultsText: {
|
|
126
|
+
type: import('vue').PropType<string>;
|
|
127
|
+
default: string;
|
|
128
|
+
};
|
|
129
|
+
}>> & Readonly<{
|
|
130
|
+
onSelect?: ((item: any) => any) | undefined;
|
|
131
|
+
onClose?: (() => any) | undefined;
|
|
132
|
+
"onUpdate:modelValue"?: ((value: unknown[]) => any) | undefined;
|
|
133
|
+
onOpen?: (() => any) | undefined;
|
|
134
|
+
onDeselect?: ((item: any) => any) | undefined;
|
|
135
|
+
}>, {
|
|
136
|
+
disabled: boolean;
|
|
137
|
+
name: string;
|
|
138
|
+
placeholder: string;
|
|
139
|
+
itemTitle: string;
|
|
140
|
+
itemValue: string;
|
|
141
|
+
autocomplete: boolean;
|
|
142
|
+
clearable: boolean;
|
|
143
|
+
rules: string | Record<string, unknown> | ((value: unknown) => boolean);
|
|
144
|
+
noResultsText: string;
|
|
145
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
146
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
147
|
+
export default _default;
|
|
148
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
149
|
+
new (): {
|
|
150
|
+
$slots: S;
|
|
151
|
+
};
|
|
152
|
+
};
|
|
153
|
+
//# sourceMappingURL=ComboBox.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ComboBox.vue.d.ts","sourceRoot":"","sources":["../../../src/components/elements/ComboBox.vue"],"names":[],"mappings":"AAOA,MAAM,MAAM,aAAa,GAAG;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,KAAK,EACD;QACE,EAAE,EAAE,MAAM,CAAA;QACV,KAAK,EAAE,MAAM,CAAA;KACd,EAAE,GACH,GAAG,EAAE,CAAA;IACT,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,OAAO,KAAK,OAAO,CAAC,CAAA;IACxE,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB,CAAA;AAuXD,iBAAS,cAAc;4BA8Wc,GAAG;EAGvC;AAsCD,QAAA,MAAM,eAAe;gBA7ZT,OAAO,KAAK,EAAE,QAAQ,CAAC,GAAG,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBA5X7B,MAAM;mBACH,MAAM;;kBAqyBgL,IAAI;;;;;;;;;;;iFA9xBnJ,OAAO,KAAK,OAAO;;;;;;;;;;;;;;gBAoX7D,OAAO,KAAK,EAAE,QAAQ,CAAC,GAAG,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBA5X7B,MAAM;mBACH,MAAM;;kBAqyBgL,IAAI;;;;;;;;;;;iFA9xBnJ,OAAO,KAAK,OAAO;;;;;;;;;;;;;;cAJ5D,OAAO;UAGX,MAAM;iBAEC,MAAM;eAdR,MAAM;eACN,MAAM;kBASH,OAAO;eACV,OAAO;WAEX,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,OAAO,KAAK,OAAO,CAAC;mBAExD,MAAM;4EAyxBtB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAUxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Icon.vue.d.ts","sourceRoot":"","sources":["../../../src/components/elements/Icon.vue"],"names":[],"mappings":"AAEA,OAAO,0BAA0B,CAAA;
|
|
1
|
+
{"version":3,"file":"Icon.vue.d.ts","sourceRoot":"","sources":["../../../src/components/elements/Icon.vue"],"names":[],"mappings":"AAEA,OAAO,0BAA0B,CAAA;AA+JjC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAG/B,MAAM,MAAM,SAAS,GAAG;IACtB,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACvB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,GAAG,SAAS,CAAA;IAC5D,KAAK,CAAC,EAAE,KAAK,CAAA;CACd,CAAA;;;;;;;;WADS,KAAK;UADN,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,GAAG,SAAS;;AA2F9D,wBAMG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -3,14 +3,19 @@ import { HTMLInputAttribute } from '../../types';
|
|
|
3
3
|
export type PasswordFieldProps = {
|
|
4
4
|
label?: string;
|
|
5
5
|
disabled?: boolean;
|
|
6
|
+
required?: boolean;
|
|
6
7
|
showStrengthIndicator?: boolean;
|
|
7
8
|
requireStrongPassword?: boolean;
|
|
8
9
|
customErrorMessage?: string;
|
|
10
|
+
requiredErrorMessage?: string;
|
|
11
|
+
name?: string;
|
|
12
|
+
validateOnMount?: boolean;
|
|
9
13
|
} & HTMLInputAttribute;
|
|
10
14
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
11
15
|
modelValue: import('vue').PropType<any>;
|
|
12
16
|
required: {
|
|
13
17
|
type: import('vue').PropType<boolean>;
|
|
18
|
+
default: boolean;
|
|
14
19
|
};
|
|
15
20
|
form: {
|
|
16
21
|
type: import('vue').PropType<string>;
|
|
@@ -30,6 +35,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
30
35
|
};
|
|
31
36
|
name: {
|
|
32
37
|
type: import('vue').PropType<string>;
|
|
38
|
+
default: string;
|
|
33
39
|
};
|
|
34
40
|
size: {
|
|
35
41
|
type: import('vue').PropType<number>;
|
|
@@ -37,9 +43,29 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
37
43
|
placeholder: {
|
|
38
44
|
type: import('vue').PropType<string>;
|
|
39
45
|
};
|
|
46
|
+
validateOnMount: {
|
|
47
|
+
type: import('vue').PropType<boolean>;
|
|
48
|
+
default: boolean;
|
|
49
|
+
};
|
|
50
|
+
requiredErrorMessage: {
|
|
51
|
+
type: import('vue').PropType<string>;
|
|
52
|
+
default: string;
|
|
53
|
+
};
|
|
40
54
|
autocomplete: {
|
|
41
55
|
type: import('vue').PropType<string>;
|
|
42
56
|
};
|
|
57
|
+
showStrengthIndicator: {
|
|
58
|
+
type: import('vue').PropType<boolean>;
|
|
59
|
+
default: boolean;
|
|
60
|
+
};
|
|
61
|
+
requireStrongPassword: {
|
|
62
|
+
type: import('vue').PropType<boolean>;
|
|
63
|
+
default: boolean;
|
|
64
|
+
};
|
|
65
|
+
customErrorMessage: {
|
|
66
|
+
type: import('vue').PropType<string>;
|
|
67
|
+
default: string;
|
|
68
|
+
};
|
|
43
69
|
autofocus: {
|
|
44
70
|
type: import('vue').PropType<boolean>;
|
|
45
71
|
};
|
|
@@ -58,28 +84,39 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
58
84
|
tabindex: {
|
|
59
85
|
type: import('vue').PropType<number>;
|
|
60
86
|
};
|
|
61
|
-
showStrengthIndicator: {
|
|
62
|
-
type: import('vue').PropType<boolean>;
|
|
63
|
-
default: boolean;
|
|
64
|
-
};
|
|
65
|
-
requireStrongPassword: {
|
|
66
|
-
type: import('vue').PropType<boolean>;
|
|
67
|
-
default: boolean;
|
|
68
|
-
};
|
|
69
|
-
customErrorMessage: {
|
|
70
|
-
type: import('vue').PropType<string>;
|
|
71
|
-
default: string;
|
|
72
|
-
};
|
|
73
87
|
}>, {
|
|
74
88
|
passwordStrength: import('vue').ComputedRef<number>;
|
|
75
89
|
strengthLevel: import('vue').ComputedRef<1 | 2 | 3>;
|
|
76
90
|
strengthMessage: import('vue').ComputedRef<"弱い" | "普通" | "強い">;
|
|
77
|
-
isValid: import('vue').
|
|
91
|
+
isValid: import('vue').ComputedRef<boolean>;
|
|
78
92
|
isStrongPassword: import('vue').ComputedRef<boolean>;
|
|
93
|
+
validationResult: import('vue').ComputedRef<{
|
|
94
|
+
isValid: boolean;
|
|
95
|
+
message: string;
|
|
96
|
+
type: string;
|
|
97
|
+
} | {
|
|
98
|
+
isValid: boolean;
|
|
99
|
+
message: string;
|
|
100
|
+
type: null;
|
|
101
|
+
}>;
|
|
102
|
+
validate: () => {
|
|
103
|
+
isValid: boolean;
|
|
104
|
+
message: string;
|
|
105
|
+
type: string;
|
|
106
|
+
} | {
|
|
107
|
+
isValid: boolean;
|
|
108
|
+
message: string;
|
|
109
|
+
type: null;
|
|
110
|
+
};
|
|
111
|
+
meta: import('vee-validate').FieldMeta<string>;
|
|
112
|
+
handleBlur: (e?: Event, shouldValidate?: boolean) => void;
|
|
113
|
+
fieldValue: import('vue').Ref<string, string>;
|
|
114
|
+
errorMessage: import('vue').Ref<string | undefined, string | undefined>;
|
|
79
115
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
80
116
|
modelValue: import('vue').PropType<any>;
|
|
81
117
|
required: {
|
|
82
118
|
type: import('vue').PropType<boolean>;
|
|
119
|
+
default: boolean;
|
|
83
120
|
};
|
|
84
121
|
form: {
|
|
85
122
|
type: import('vue').PropType<string>;
|
|
@@ -99,6 +136,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
99
136
|
};
|
|
100
137
|
name: {
|
|
101
138
|
type: import('vue').PropType<string>;
|
|
139
|
+
default: string;
|
|
102
140
|
};
|
|
103
141
|
size: {
|
|
104
142
|
type: import('vue').PropType<number>;
|
|
@@ -106,9 +144,29 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
106
144
|
placeholder: {
|
|
107
145
|
type: import('vue').PropType<string>;
|
|
108
146
|
};
|
|
147
|
+
validateOnMount: {
|
|
148
|
+
type: import('vue').PropType<boolean>;
|
|
149
|
+
default: boolean;
|
|
150
|
+
};
|
|
151
|
+
requiredErrorMessage: {
|
|
152
|
+
type: import('vue').PropType<string>;
|
|
153
|
+
default: string;
|
|
154
|
+
};
|
|
109
155
|
autocomplete: {
|
|
110
156
|
type: import('vue').PropType<string>;
|
|
111
157
|
};
|
|
158
|
+
showStrengthIndicator: {
|
|
159
|
+
type: import('vue').PropType<boolean>;
|
|
160
|
+
default: boolean;
|
|
161
|
+
};
|
|
162
|
+
requireStrongPassword: {
|
|
163
|
+
type: import('vue').PropType<boolean>;
|
|
164
|
+
default: boolean;
|
|
165
|
+
};
|
|
166
|
+
customErrorMessage: {
|
|
167
|
+
type: import('vue').PropType<string>;
|
|
168
|
+
default: string;
|
|
169
|
+
};
|
|
112
170
|
autofocus: {
|
|
113
171
|
type: import('vue').PropType<boolean>;
|
|
114
172
|
};
|
|
@@ -127,20 +185,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
127
185
|
tabindex: {
|
|
128
186
|
type: import('vue').PropType<number>;
|
|
129
187
|
};
|
|
130
|
-
showStrengthIndicator: {
|
|
131
|
-
type: import('vue').PropType<boolean>;
|
|
132
|
-
default: boolean;
|
|
133
|
-
};
|
|
134
|
-
requireStrongPassword: {
|
|
135
|
-
type: import('vue').PropType<boolean>;
|
|
136
|
-
default: boolean;
|
|
137
|
-
};
|
|
138
|
-
customErrorMessage: {
|
|
139
|
-
type: import('vue').PropType<string>;
|
|
140
|
-
default: string;
|
|
141
|
-
};
|
|
142
188
|
}>> & Readonly<{}>, {
|
|
189
|
+
required: boolean;
|
|
143
190
|
label: string;
|
|
191
|
+
name: string;
|
|
192
|
+
validateOnMount: boolean;
|
|
193
|
+
requiredErrorMessage: string;
|
|
144
194
|
showStrengthIndicator: boolean;
|
|
145
195
|
requireStrongPassword: boolean;
|
|
146
196
|
customErrorMessage: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PasswordField.vue.d.ts","sourceRoot":"","sources":["../../../src/components/elements/PasswordField.vue"],"names":[],"mappings":"AAEA,OAAO,0BAA0B,CAAA;
|
|
1
|
+
{"version":3,"file":"PasswordField.vue.d.ts","sourceRoot":"","sources":["../../../src/components/elements/PasswordField.vue"],"names":[],"mappings":"AAEA,OAAO,0BAA0B,CAAA;AAGjC,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAG5C,MAAM,MAAM,kBAAkB,GAAG;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAC7B,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B,GAAG,kBAAkB,CAAA;;gBAiPV,OAAO,KAAK,EAAE,QAAQ,CAAC,GAAG,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAA3B,OAAO,KAAK,EAAE,QAAQ,CAAC,GAAG,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAxP1B,OAAO;WAFV,MAAM;UAOP,MAAM;qBACK,OAAO;0BAFF,MAAM;2BAHL,OAAO;2BACP,OAAO;wBACV,MAAM;;AAue7B,wBAUG"}
|