@reni-corp/reni-2c-ui 0.3.27 → 0.3.29
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 +139 -16
- 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 +102 -0
- package/dist/components/features/ProductPurchase.vue.d.ts.map +1 -0
- 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 +11 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.es.js +7442 -6048
- package/dist/script.es.js +8881 -7489
- 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 +22 -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
|
@@ -14,6 +14,20 @@ npm install @reni-corp/reni-2c-ui
|
|
|
14
14
|
yarn add @reni-corp/reni-2c-ui
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
+
**RnHtmlコンポーネントをSSR環境で利用する場合**
|
|
18
|
+
|
|
19
|
+
SSR(サーバーサイドレンダリング)環境で`RnHtml`コンポーネントを使用する場合は、`happy-dom`のインストールが必要です。
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
npm install happy-dom
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
または
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
yarn add happy-dom
|
|
29
|
+
```
|
|
30
|
+
|
|
17
31
|
## クイックスタート
|
|
18
32
|
|
|
19
33
|
### 1. プラグインのインポートとインストール
|
|
@@ -161,29 +175,33 @@ corepack enable
|
|
|
161
175
|
yarn set version 4.10.0
|
|
162
176
|
```
|
|
163
177
|
|
|
164
|
-
3.
|
|
178
|
+
3. 環境変数の設定
|
|
179
|
+
|
|
180
|
+
`.yarnrc.yml`はリポジトリにコミット済みです。環境変数を設定する必要があります。
|
|
181
|
+
|
|
182
|
+
#### 1Password CLIを使用する場合(推奨)
|
|
183
|
+
|
|
184
|
+
`.env`ファイルに以下を記載してください:
|
|
165
185
|
|
|
186
|
+
```shell
|
|
187
|
+
# .env
|
|
188
|
+
GITHUB_PACKAGES_ACCESS_TOKEN="op://RMC 開発/GITHUB_PACKAGES_ACCESS_TOKEN - ReniOneUI/credential"
|
|
189
|
+
FONT_AWESOME_NPM_TOKEN="op:///RMC 開発/FONT_AWESOME_TOKEN/credential"
|
|
166
190
|
```
|
|
167
|
-
nodeLinker: node-modules
|
|
168
191
|
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
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}
|
|
192
|
+
その後、`opr`コマンドで依存関係をインストールします:
|
|
193
|
+
|
|
194
|
+
```shell
|
|
195
|
+
opr yarn install
|
|
182
196
|
```
|
|
183
197
|
|
|
184
|
-
|
|
198
|
+
#### 1Password CLIを使用しない場合
|
|
199
|
+
|
|
200
|
+
環境変数を直接設定してください:
|
|
185
201
|
|
|
186
202
|
```shell
|
|
203
|
+
export GITHUB_PACKAGES_ACCESS_TOKEN="<your-token>"
|
|
204
|
+
export FONT_AWESOME_NPM_TOKEN="<your-token>"
|
|
187
205
|
yarn install
|
|
188
206
|
```
|
|
189
207
|
|
|
@@ -194,3 +212,108 @@ yarn install
|
|
|
194
212
|
- `yarn storybook` - Storybook開発サーバーを起動
|
|
195
213
|
- `yarn lint` - ESLintを実行
|
|
196
214
|
- `yarn test` - テストを実行
|
|
215
|
+
|
|
216
|
+
## 1Password CLIを使用したセキュアな環境変数管理
|
|
217
|
+
|
|
218
|
+
このプロジェクトでは、APIキーやアクセストークンなどの機密情報を安全に管理するために、1Password CLIを使用します。
|
|
219
|
+
|
|
220
|
+
### 1Password CLIのインストール
|
|
221
|
+
|
|
222
|
+
#### macOS (Homebrew)
|
|
223
|
+
|
|
224
|
+
```shell
|
|
225
|
+
brew install --cask 1password-cli
|
|
226
|
+
```
|
|
227
|
+
|
|
228
|
+
#### Linux
|
|
229
|
+
|
|
230
|
+
```shell
|
|
231
|
+
curl -sS https://downloads.1password.com/linux/keys/1password.asc | sudo gpg --dearmor --output /usr/share/keyrings/1password-archive-keyring.gpg
|
|
232
|
+
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/1password-archive-keyring.gpg] https://downloads.1password.com/linux/debian/$(dpkg --print-architecture) stable main" | sudo tee /etc/apt/sources.list.d/1password.list
|
|
233
|
+
sudo mkdir -p /etc/debsig/policies/AC2D62742012EA22/
|
|
234
|
+
curl -sS https://downloads.1password.com/linux/debian/debsig/1password.pol | sudo tee /etc/debsig/policies/AC2D62742012EA22/1password.pol
|
|
235
|
+
sudo mkdir -p /usr/share/debsig/keyrings/AC2D62742012EA22
|
|
236
|
+
curl -sS https://downloads.1password.com/linux/keys/1password.asc | sudo gpg --dearmor --output /usr/share/debsig/keyrings/AC2D62742012EA22/debsig.gpg
|
|
237
|
+
sudo apt update && sudo apt install 1password-cli
|
|
238
|
+
```
|
|
239
|
+
|
|
240
|
+
#### Windows
|
|
241
|
+
|
|
242
|
+
```powershell
|
|
243
|
+
winget install 1Password.CLI
|
|
244
|
+
```
|
|
245
|
+
|
|
246
|
+
#### インストール確認
|
|
247
|
+
|
|
248
|
+
```shell
|
|
249
|
+
op --version
|
|
250
|
+
```
|
|
251
|
+
|
|
252
|
+
### 1Passwordの認証
|
|
253
|
+
|
|
254
|
+
初回のみ、1Passwordアカウントでサインインします:
|
|
255
|
+
|
|
256
|
+
```shell
|
|
257
|
+
op signin
|
|
258
|
+
```
|
|
259
|
+
|
|
260
|
+
### シェル設定への`opr`関数の追加
|
|
261
|
+
|
|
262
|
+
`.zshrc`(zshを使用している場合)または`.bashrc`(bashを使用している場合)に以下の関数を追加します:
|
|
263
|
+
|
|
264
|
+
```shell
|
|
265
|
+
opr() {
|
|
266
|
+
who=$(op whoami)
|
|
267
|
+
if [[ $? != 0 ]]; then
|
|
268
|
+
eval $(op signin)
|
|
269
|
+
fi
|
|
270
|
+
|
|
271
|
+
if [[ -f "$PWD/.env" ]]; then
|
|
272
|
+
op run --env-file="$PWD"/.env -- "$@"
|
|
273
|
+
elif [[ -f "$PWD/.env.local" ]]; then
|
|
274
|
+
op run --env-file="$PWD"/.env.local -- "$@"
|
|
275
|
+
else
|
|
276
|
+
"$@"
|
|
277
|
+
fi
|
|
278
|
+
}
|
|
279
|
+
```
|
|
280
|
+
|
|
281
|
+
設定を反映するには、以下を実行します:
|
|
282
|
+
|
|
283
|
+
```shell
|
|
284
|
+
# zshの場合
|
|
285
|
+
source ~/.zshrc
|
|
286
|
+
|
|
287
|
+
# bashの場合
|
|
288
|
+
source ~/.bashrc
|
|
289
|
+
```
|
|
290
|
+
|
|
291
|
+
### 開発サーバーの起動
|
|
292
|
+
|
|
293
|
+
`opr`関数を使用して開発サーバーを起動します:
|
|
294
|
+
|
|
295
|
+
```shell
|
|
296
|
+
opr yarn dev
|
|
297
|
+
```
|
|
298
|
+
|
|
299
|
+
### その他のコマンド例
|
|
300
|
+
|
|
301
|
+
```shell
|
|
302
|
+
# ビルド
|
|
303
|
+
opr yarn build
|
|
304
|
+
|
|
305
|
+
# 型チェック
|
|
306
|
+
opr yarn typecheck
|
|
307
|
+
|
|
308
|
+
# リント
|
|
309
|
+
opr yarn lint
|
|
310
|
+
|
|
311
|
+
# Storybook
|
|
312
|
+
opr yarn storybook
|
|
313
|
+
```
|
|
314
|
+
|
|
315
|
+
### セキュリティ上の注意事項
|
|
316
|
+
|
|
317
|
+
- ⚠️ `.env`ファイルには実際のAPIキーやトークンではなく、1Passwordの参照パス(`op://`形式)のみを記載してください
|
|
318
|
+
- ⚠️ 実際のAPIキーやトークンをコードやコミットに含めないでください
|
|
319
|
+
- ⚠️ `.env`ファイルが`.gitignore`に追加されていることを確認してください
|
|
@@ -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"}
|