@reni-corp/reni-2c-ui 0.3.29 → 0.4.0
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 +4 -192
- package/dist/components/elements/Alert.vue.d.ts +14 -36
- package/dist/components/elements/Alert.vue.d.ts.map +1 -1
- package/dist/components/elements/Button.vue.d.ts +13 -41
- package/dist/components/elements/Button.vue.d.ts.map +1 -1
- package/dist/components/elements/CheckBox.vue.d.ts +11 -60
- package/dist/components/elements/CheckBox.vue.d.ts.map +1 -1
- package/dist/components/elements/ComboBox.vue.d.ts +34 -116
- package/dist/components/elements/ComboBox.vue.d.ts.map +1 -1
- package/dist/components/elements/DescriptionList.vue.d.ts +12 -27
- package/dist/components/elements/DescriptionList.vue.d.ts.map +1 -1
- package/dist/components/elements/Divider.vue.d.ts +3 -27
- package/dist/components/elements/Divider.vue.d.ts.map +1 -1
- package/dist/components/elements/Html.vue.d.ts +2 -32
- package/dist/components/elements/Html.vue.d.ts.map +1 -1
- package/dist/components/elements/Icon.vue.d.ts +4 -28
- package/dist/components/elements/Icon.vue.d.ts.map +1 -1
- package/dist/components/elements/Image.vue.d.ts +19 -43
- package/dist/components/elements/Image.vue.d.ts.map +1 -1
- package/dist/components/elements/Label.vue.d.ts +12 -32
- package/dist/components/elements/Label.vue.d.ts.map +1 -1
- package/dist/components/elements/PasswordField.vue.d.ts +13 -151
- package/dist/components/elements/PasswordField.vue.d.ts.map +1 -1
- package/dist/components/elements/Progress.vue.d.ts +3 -31
- package/dist/components/elements/Progress.vue.d.ts.map +1 -1
- package/dist/components/elements/RadioButton.vue.d.ts +17 -28
- package/dist/components/elements/RadioButton.vue.d.ts.map +1 -1
- package/dist/components/elements/RadioButtonGroup.vue.d.ts +26 -75
- package/dist/components/elements/RadioButtonGroup.vue.d.ts.map +1 -1
- package/dist/components/elements/SelectBox.vue.d.ts +30 -121
- package/dist/components/elements/SelectBox.vue.d.ts.map +1 -1
- package/dist/components/elements/SkeletonLoader.vue.d.ts +2 -24
- package/dist/components/elements/SkeletonLoader.vue.d.ts.map +1 -1
- package/dist/components/elements/SpinButton.vue.d.ts +23 -52
- package/dist/components/elements/SpinButton.vue.d.ts.map +1 -1
- package/dist/components/elements/Spinner.vue.d.ts +3 -27
- package/dist/components/elements/Spinner.vue.d.ts.map +1 -1
- package/dist/components/elements/Text.vue.d.ts +12 -34
- package/dist/components/elements/Text.vue.d.ts.map +1 -1
- package/dist/components/elements/TextField.vue.d.ts +23 -146
- package/dist/components/elements/TextField.vue.d.ts.map +1 -1
- package/dist/components/elements/ToolChip.vue.d.ts +11 -33
- package/dist/components/elements/ToolChip.vue.d.ts.map +1 -1
- package/dist/components/features/AnnounceBar.vue.d.ts +11 -29
- package/dist/components/features/AnnounceBar.vue.d.ts.map +1 -1
- package/dist/components/features/AnnounceBarCollection.vue.d.ts +10 -34
- package/dist/components/features/AnnounceBarCollection.vue.d.ts.map +1 -1
- package/dist/components/features/Banner.vue.d.ts +22 -0
- package/dist/components/features/Banner.vue.d.ts.map +1 -0
- package/dist/components/features/BrandLogo.vue.d.ts +2 -24
- package/dist/components/features/BrandLogo.vue.d.ts.map +1 -1
- package/dist/components/features/CategoryBanner.vue.d.ts +3 -30
- package/dist/components/features/CategoryBanner.vue.d.ts.map +1 -1
- package/dist/components/features/FloatingBanner.vue.d.ts +3 -21
- package/dist/components/features/FloatingBanner.vue.d.ts.map +1 -1
- package/dist/components/features/Hero.vue.d.ts +32 -52
- package/dist/components/features/Hero.vue.d.ts.map +1 -1
- package/dist/components/features/ImageGrid.vue.d.ts +3 -30
- package/dist/components/features/ImageGrid.vue.d.ts.map +1 -1
- package/dist/components/features/LinkList.vue.d.ts +3 -28
- package/dist/components/features/LinkList.vue.d.ts.map +1 -1
- package/dist/components/features/Marquee.vue.d.ts +19 -49
- package/dist/components/features/Marquee.vue.d.ts.map +1 -1
- package/dist/components/features/MediaContent.vue.d.ts +14 -36
- package/dist/components/features/MediaContent.vue.d.ts.map +1 -1
- package/dist/components/features/ProductLabels.vue.d.ts +1 -19
- package/dist/components/features/ProductLabels.vue.d.ts.map +1 -1
- package/dist/components/features/ProductList.vue.d.ts +63 -88
- package/dist/components/features/ProductList.vue.d.ts.map +1 -1
- package/dist/components/features/ProductListItem.vue.d.ts +7 -35
- package/dist/components/features/ProductListItem.vue.d.ts.map +1 -1
- package/dist/components/features/ProductPurchase.vue.d.ts +12 -43
- package/dist/components/features/ProductPurchase.vue.d.ts.map +1 -1
- package/dist/components/features/Schedule.vue.d.ts +11 -29
- package/dist/components/features/Schedule.vue.d.ts.map +1 -1
- package/dist/components/features/ScheduleDateItem.vue.d.ts +2 -26
- package/dist/components/features/ScheduleDateItem.vue.d.ts.map +1 -1
- package/dist/components/features/ScheduleDelivery.vue.d.ts +10 -26
- package/dist/components/features/ScheduleDelivery.vue.d.ts.map +1 -1
- package/dist/components/features/ScheduleDeliveryItem.vue.d.ts +2 -24
- package/dist/components/features/ScheduleDeliveryItem.vue.d.ts.map +1 -1
- package/dist/components/features/SchedulePeriod.vue.d.ts +2 -26
- package/dist/components/features/SchedulePeriod.vue.d.ts.map +1 -1
- package/dist/components/features/SchedulePickup.vue.d.ts +10 -26
- package/dist/components/features/SchedulePickup.vue.d.ts.map +1 -1
- package/dist/components/features/SchedulePickupItem.vue.d.ts +2 -24
- package/dist/components/features/SchedulePickupItem.vue.d.ts.map +1 -1
- package/dist/components/features/Schedules.vue.d.ts +10 -22
- package/dist/components/features/Schedules.vue.d.ts.map +1 -1
- package/dist/components/features/SnsLink.vue.d.ts +3 -29
- package/dist/components/features/SnsLink.vue.d.ts.map +1 -1
- package/dist/components/foundation/AppBar.vue.d.ts +15 -40
- package/dist/components/foundation/AppBar.vue.d.ts.map +1 -1
- package/dist/components/foundation/AppBody.vue.d.ts +9 -4
- package/dist/components/foundation/AppBody.vue.d.ts.map +1 -1
- package/dist/components/foundation/AppFooter.vue.d.ts +13 -35
- package/dist/components/foundation/AppFooter.vue.d.ts.map +1 -1
- package/dist/components/foundation/AppFrame.vue.d.ts +10 -5
- package/dist/components/foundation/AppFrame.vue.d.ts.map +1 -1
- package/dist/components/interactive/Dialog.vue.d.ts +18 -40
- package/dist/components/interactive/Dialog.vue.d.ts.map +1 -1
- package/dist/components/interactive/Disclosure.vue.d.ts +22 -37
- package/dist/components/interactive/Disclosure.vue.d.ts.map +1 -1
- package/dist/components/interactive/DropDown.vue.d.ts +20 -34
- package/dist/components/interactive/DropDown.vue.d.ts.map +1 -1
- package/dist/components/interactive/Gallery.vue.d.ts +2 -34
- package/dist/components/interactive/Gallery.vue.d.ts.map +1 -1
- package/dist/components/interactive/Lightbox.vue.d.ts +32 -0
- package/dist/components/interactive/Lightbox.vue.d.ts.map +1 -0
- package/dist/components/interactive/Modal.vue.d.ts +15 -33
- package/dist/components/interactive/Modal.vue.d.ts.map +1 -1
- package/dist/components/interactive/Notification.vue.d.ts +5 -35
- package/dist/components/interactive/Notification.vue.d.ts.map +1 -1
- package/dist/components/interactive/Slider.vue.d.ts +32 -28
- package/dist/components/interactive/Slider.vue.d.ts.map +1 -1
- package/dist/components/interactive/Tab.vue.d.ts +17 -25
- package/dist/components/interactive/Tab.vue.d.ts.map +1 -1
- package/dist/components/interactive/TabGroup.vue.d.ts +27 -0
- package/dist/components/interactive/TabGroup.vue.d.ts.map +1 -0
- package/dist/components/interactive/TabPanel.vue.d.ts +9 -3
- package/dist/components/interactive/TabPanel.vue.d.ts.map +1 -1
- package/dist/components/interactive/TabPanels.vue.d.ts +21 -30
- package/dist/components/interactive/TabPanels.vue.d.ts.map +1 -1
- package/dist/components/interactive/Tabs.vue.d.ts +23 -29
- package/dist/components/interactive/Tabs.vue.d.ts.map +1 -1
- package/dist/components/layouts/Card.vue.d.ts +12 -30
- package/dist/components/layouts/Card.vue.d.ts.map +1 -1
- package/dist/components/layouts/Grid.vue.d.ts +11 -32
- package/dist/components/layouts/Grid.vue.d.ts.map +1 -1
- package/dist/components/layouts/List.vue.d.ts +28 -42
- package/dist/components/layouts/List.vue.d.ts.map +1 -1
- package/dist/components/layouts/Page.vue.d.ts +33 -62
- package/dist/components/layouts/Page.vue.d.ts.map +1 -1
- package/dist/components/layouts/Section.vue.d.ts +20 -41
- package/dist/components/layouts/Section.vue.d.ts.map +1 -1
- package/dist/components/layouts/Stack.vue.d.ts +12 -40
- package/dist/components/layouts/Stack.vue.d.ts.map +1 -1
- package/dist/components/navigation/BottomBar.vue.d.ts +10 -26
- package/dist/components/navigation/BottomBar.vue.d.ts.map +1 -1
- package/dist/components/navigation/Drawer.vue.d.ts +14 -32
- package/dist/components/navigation/Drawer.vue.d.ts.map +1 -1
- package/dist/components/renderless/DataProvider.vue.d.ts +19 -42
- package/dist/components/renderless/DataProvider.vue.d.ts.map +1 -1
- package/dist/components/renderless/Form.vue.d.ts +20 -43
- package/dist/components/renderless/Form.vue.d.ts.map +1 -1
- package/dist/components/renderless/OptionGroupSwitchController.vue.d.ts +20 -43
- package/dist/components/renderless/OptionGroupSwitchController.vue.d.ts.map +1 -1
- package/dist/composable/useAppNotifications.d.ts +0 -1
- package/dist/composable/useToolChip.d.ts +0 -1
- package/dist/composables.d.ts +0 -1
- package/dist/composables.es.js +5 -6
- package/dist/contexts/tabGroup.d.ts +17 -0
- package/dist/contexts/tabGroup.d.ts.map +1 -0
- package/dist/directives/auto-scale.d.ts +0 -1
- package/dist/directives/glitch.d.ts +0 -1
- package/dist/{index-a725a791.js → index-D7ldGb8i.js} +18 -30
- package/dist/index.d.ts +8 -11
- package/dist/index.d.ts.map +1 -1
- package/dist/index.es.js +6605 -6564
- package/dist/script.es.js +8231 -8185
- package/dist/script.umd.js +26 -26
- package/dist/style.css +1 -1
- package/dist/types.d.ts +0 -1
- package/dist/{composables-93778bb4.js → useAppDialogGuidance-BhYqv41n.js} +1033 -1017
- package/dist/utils.d.ts +46 -1
- package/dist/utils.d.ts.map +1 -1
- package/dist/validation.d.ts +0 -1
- package/dist/valueObjects/CurrencyValue.d.ts +0 -1
- package/dist/valueObjects/NumberValue.d.ts +0 -1
- package/dist/{valueObjects-e0ea7f1b.js → valueObjects-CvF0zaqR.js} +1 -1
- package/dist/valueObjects.es.js +1 -1
- package/package.json +20 -23
- package/src/stories/Alert.stories.ts +1 -1
- package/src/stories/AnnounceBar.stories.ts +1 -1
- package/src/stories/AnnounceBarCollection.stories.ts +135 -0
- package/src/stories/AppBar.stories.ts +6 -2
- package/src/stories/AppFooter.stories.ts +1 -1
- package/src/stories/AppFrame.stories.ts +1 -1
- package/src/stories/AppLayout.stories.ts +5 -16
- package/src/stories/Banner.stories.ts +235 -0
- package/src/stories/Button.stories.ts +1 -1
- package/src/stories/Card.stories.ts +1 -1
- package/src/stories/CheckBox.stories.ts +84 -22
- package/src/stories/ComboBox.stories.ts +62 -2
- package/src/stories/Dialog.stories.ts +1 -1
- package/src/stories/Disclosure.stories.ts +1 -1
- package/src/stories/Divider.stories.ts +1 -1
- package/src/stories/Drawer.stories.ts +1 -1
- package/src/stories/DropDown.stories.ts +1 -1
- package/src/stories/FloatingBanner.stories.ts +1 -1
- package/src/stories/Form.stories.ts +96 -1
- package/src/stories/Gallery.stories.ts +1 -1
- package/src/stories/Grid.stories.ts +1 -1
- package/src/stories/Hero.stories.ts +175 -26
- package/src/stories/Html.stories.ts +69 -1
- package/src/stories/Icon.stories.ts +1 -1
- package/src/stories/Image.stories.ts +1 -1
- package/src/stories/Label.stories.ts +85 -4
- package/src/stories/Lightbox.stories.ts +231 -0
- package/src/stories/List.stories.ts +62 -15
- package/src/stories/Modal.stories.ts +1 -1
- package/src/stories/Notification.stories.ts +1 -1
- package/src/stories/Page.stories.ts +36 -1
- package/src/stories/PasswordField.stories.ts +1 -1
- package/src/stories/ProductList.stories.ts +65 -3
- package/src/stories/ProductPurchase.stories.ts +2 -2
- package/src/stories/Progress.stories.ts +1 -1
- package/src/stories/Radio.stories.ts +130 -12
- package/src/stories/Section.stories.ts +29 -4
- package/src/stories/SelectBox.stories.ts +56 -1
- package/src/stories/SkeletonLoader.stories.ts +1 -1
- package/src/stories/Slider.stories.ts +365 -7
- package/src/stories/SnsLink.stories.ts +1 -1
- package/src/stories/SpinButton.stories.ts +1 -1
- package/src/stories/Spinner.stories.ts +1 -1
- package/src/stories/Stack.stories.ts +1 -1
- package/src/stories/Switch.stories.ts +1 -1
- package/src/stories/Tab.stories.ts +28 -11
- package/src/stories/TabGroup.stories.ts +290 -0
- package/src/stories/TabPanels.stories.ts +1 -1
- package/src/stories/Tabs.stories.ts +104 -3
- package/src/stories/Text.stories.ts +1 -1
- package/src/stories/TextArea.stories.ts +78 -1
- package/src/stories/TextField.stories.ts +75 -2
- package/src/stories/ToolChip.stories.ts +1 -1
- package/dist/components/features/CarouselBanner.vue.d.ts +0 -36
- package/dist/components/features/CarouselBanner.vue.d.ts.map +0 -1
- package/dist/components/features/VariationSelector.vue.d.ts +0 -39
- package/dist/components/features/VariationSelector.vue.d.ts.map +0 -1
- package/src/stories/Carousel.stories.ts +0 -62
- package/src/stories/CarouselBanner.stories.ts +0 -103
- package/src/stories/ProductLabels.stories.ts +0 -65
- package/src/stories/SoldStacker.stories.ts +0 -68
package/README.md
CHANGED
|
@@ -14,7 +14,7 @@ npm install @reni-corp/reni-2c-ui
|
|
|
14
14
|
yarn add @reni-corp/reni-2c-ui
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
#### RnHtmlコンポーネントをSSR環境で利用する場合
|
|
18
18
|
|
|
19
19
|
SSR(サーバーサイドレンダリング)環境で`RnHtml`コンポーネントを使用する場合は、`happy-dom`のインストールが必要です。
|
|
20
20
|
|
|
@@ -86,7 +86,7 @@ export default {
|
|
|
86
86
|
|
|
87
87
|
### Features(機能)
|
|
88
88
|
|
|
89
|
-
ビジネス特化型コンポーネント: `ProductList`, `Schedule`, `Hero`, `AnnounceBar`, `CategoryBanner
|
|
89
|
+
ビジネス特化型コンポーネント: `ProductList`, `Schedule`, `Hero`, `AnnounceBar`, `CategoryBanner`
|
|
90
90
|
|
|
91
91
|
## TypeScript サポート
|
|
92
92
|
|
|
@@ -126,194 +126,6 @@ import {
|
|
|
126
126
|
- [デザインシステム](https://reni-design.web.app/)
|
|
127
127
|
- [Storybook ドキュメント](# Add your storybook URL here)
|
|
128
128
|
|
|
129
|
-
##
|
|
129
|
+
## ライセンス
|
|
130
130
|
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
### セットアップ手順
|
|
134
|
-
|
|
135
|
-
1. このライブラリをビルド:
|
|
136
|
-
|
|
137
|
-
```bash
|
|
138
|
-
yarn build
|
|
139
|
-
```
|
|
140
|
-
|
|
141
|
-
2. アプリ側の`package.json`に以下を追加:
|
|
142
|
-
|
|
143
|
-
```json
|
|
144
|
-
{
|
|
145
|
-
"resolutions": {
|
|
146
|
-
"@reni-corp/reni-2c-ui": "file:/path/to/reni-2C-ui"
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
```
|
|
150
|
-
|
|
151
|
-
3. アプリ側で依存関係を再インストール:
|
|
152
|
-
|
|
153
|
-
```bash
|
|
154
|
-
yarn install
|
|
155
|
-
```
|
|
156
|
-
|
|
157
|
-
## 開発
|
|
158
|
-
|
|
159
|
-
### 必要なソフトウェア
|
|
160
|
-
|
|
161
|
-
- Node.js (バージョン: 20.9.0)
|
|
162
|
-
- YARN (バージョン: 4.10.0)
|
|
163
|
-
|
|
164
|
-
### セットアップ
|
|
165
|
-
|
|
166
|
-
1. corepackを有効化:
|
|
167
|
-
|
|
168
|
-
```shell
|
|
169
|
-
corepack enable
|
|
170
|
-
```
|
|
171
|
-
|
|
172
|
-
2. Yarn 4.10.0 をプロジェクトに設定:
|
|
173
|
-
|
|
174
|
-
```shell
|
|
175
|
-
yarn set version 4.10.0
|
|
176
|
-
```
|
|
177
|
-
|
|
178
|
-
3. 環境変数の設定
|
|
179
|
-
|
|
180
|
-
`.yarnrc.yml`はリポジトリにコミット済みです。環境変数を設定する必要があります。
|
|
181
|
-
|
|
182
|
-
#### 1Password CLIを使用する場合(推奨)
|
|
183
|
-
|
|
184
|
-
`.env`ファイルに以下を記載してください:
|
|
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"
|
|
190
|
-
```
|
|
191
|
-
|
|
192
|
-
その後、`opr`コマンドで依存関係をインストールします:
|
|
193
|
-
|
|
194
|
-
```shell
|
|
195
|
-
opr yarn install
|
|
196
|
-
```
|
|
197
|
-
|
|
198
|
-
#### 1Password CLIを使用しない場合
|
|
199
|
-
|
|
200
|
-
環境変数を直接設定してください:
|
|
201
|
-
|
|
202
|
-
```shell
|
|
203
|
-
export GITHUB_PACKAGES_ACCESS_TOKEN="<your-token>"
|
|
204
|
-
export FONT_AWESOME_NPM_TOKEN="<your-token>"
|
|
205
|
-
yarn install
|
|
206
|
-
```
|
|
207
|
-
|
|
208
|
-
### 利用可能なスクリプト
|
|
209
|
-
|
|
210
|
-
- `yarn dev` - 開発サーバーを起動
|
|
211
|
-
- `yarn build` - ライブラリをビルド
|
|
212
|
-
- `yarn storybook` - Storybook開発サーバーを起動
|
|
213
|
-
- `yarn lint` - ESLintを実行
|
|
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`に追加されていることを確認してください
|
|
131
|
+
このライブラリはプライベートパッケージです。
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { StatusColor } from '../../types';
|
|
2
|
-
|
|
3
2
|
export type AlertProps = {
|
|
4
3
|
color?: StatusColor;
|
|
5
4
|
title?: string;
|
|
@@ -14,46 +13,25 @@ export type AlertSlots = {
|
|
|
14
13
|
export type AlertEmits = {
|
|
15
14
|
close: [];
|
|
16
15
|
};
|
|
17
|
-
declare function __VLS_template():
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
size: string;
|
|
28
|
-
width: string;
|
|
29
|
-
hasHtml: boolean;
|
|
30
|
-
}>>> & Readonly<{
|
|
16
|
+
declare function __VLS_template(): {
|
|
17
|
+
attrs: Partial<{}>;
|
|
18
|
+
slots: Readonly<AlertSlots> & AlertSlots;
|
|
19
|
+
refs: {};
|
|
20
|
+
rootEl: HTMLDivElement;
|
|
21
|
+
};
|
|
22
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
23
|
+
declare const __VLS_component: import('vue').DefineComponent<AlertProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
24
|
+
close: () => any;
|
|
25
|
+
}, string, import('vue').PublicProps, Readonly<AlertProps> & Readonly<{
|
|
31
26
|
onClose?: (() => any) | undefined;
|
|
32
27
|
}>, {
|
|
33
|
-
width: "hug" | "fill";
|
|
34
|
-
color: StatusColor;
|
|
35
28
|
size: "sm" | "md";
|
|
29
|
+
color: StatusColor;
|
|
30
|
+
width: "hug" | "fill";
|
|
36
31
|
hasHtml: boolean;
|
|
37
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
38
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
32
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
33
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
39
34
|
export default _default;
|
|
40
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
41
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
42
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
43
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
44
|
-
} : {
|
|
45
|
-
type: import('vue').PropType<T[K]>;
|
|
46
|
-
required: true;
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
type __VLS_WithDefaults<P, D> = {
|
|
50
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
51
|
-
default: D[K];
|
|
52
|
-
}> : P[K];
|
|
53
|
-
};
|
|
54
|
-
type __VLS_Prettify<T> = {
|
|
55
|
-
[K in keyof T]: T[K];
|
|
56
|
-
} & {};
|
|
57
35
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
58
36
|
new (): {
|
|
59
37
|
$slots: S;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Alert.vue.d.ts","sourceRoot":"","sources":["../../../src/components/elements/Alert.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Alert.vue.d.ts","sourceRoot":"","sources":["../../../src/components/elements/Alert.vue"],"names":[],"mappings":"AAAA,OAyNO,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;AAKD,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,EAAE,EAAE,CAAA;CACV,CAAA;AAoDD,iBAAS,cAAc;WAsFT,OAAO,IAA6B;;;;EAKjD;AAgBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;UA/KZ,IAAI,GAAG,IAAI;WAHV,WAAW;WAIX,KAAK,GAAG,MAAM;aACZ,OAAO;wFAsLjB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Color } from '../../types';
|
|
2
|
-
|
|
3
2
|
export type ButtonProps = {
|
|
4
3
|
variant?: 'text' | 'fill' | 'outlined';
|
|
5
4
|
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
@@ -13,52 +12,25 @@ export type ButtonProps = {
|
|
|
13
12
|
withArrow?: boolean;
|
|
14
13
|
};
|
|
15
14
|
declare function __VLS_template(): {
|
|
16
|
-
|
|
15
|
+
attrs: Partial<{}>;
|
|
16
|
+
slots: {
|
|
17
|
+
default?(_: {}): any;
|
|
18
|
+
};
|
|
19
|
+
refs: {};
|
|
20
|
+
rootEl: HTMLButtonElement;
|
|
17
21
|
};
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
size:
|
|
21
|
-
color: string;
|
|
22
|
-
|
|
23
|
-
disabled: boolean;
|
|
24
|
-
elevated: boolean;
|
|
25
|
-
withArrow: boolean;
|
|
26
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ButtonProps>, {
|
|
27
|
-
variant: string;
|
|
28
|
-
size: string;
|
|
29
|
-
color: string;
|
|
30
|
-
loading: boolean;
|
|
31
|
-
disabled: boolean;
|
|
32
|
-
elevated: boolean;
|
|
33
|
-
withArrow: boolean;
|
|
34
|
-
}>>> & Readonly<{}>, {
|
|
22
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
23
|
+
declare const __VLS_component: import('vue').DefineComponent<ButtonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ButtonProps> & Readonly<{}>, {
|
|
24
|
+
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
25
|
+
color: Color | string;
|
|
26
|
+
variant: "text" | "fill" | "outlined";
|
|
35
27
|
loading: boolean;
|
|
36
28
|
disabled: boolean;
|
|
37
|
-
variant: "text" | "fill" | "outlined";
|
|
38
|
-
color: Color | string;
|
|
39
|
-
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
40
29
|
elevated: boolean;
|
|
41
30
|
withArrow: boolean;
|
|
42
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
43
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
31
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
32
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
44
33
|
export default _default;
|
|
45
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
46
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
47
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
48
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
49
|
-
} : {
|
|
50
|
-
type: import('vue').PropType<T[K]>;
|
|
51
|
-
required: true;
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
|
-
type __VLS_WithDefaults<P, D> = {
|
|
55
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
56
|
-
default: D[K];
|
|
57
|
-
}> : P[K];
|
|
58
|
-
};
|
|
59
|
-
type __VLS_Prettify<T> = {
|
|
60
|
-
[K in keyof T]: T[K];
|
|
61
|
-
} & {};
|
|
62
34
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
63
35
|
new (): {
|
|
64
36
|
$slots: S;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.vue.d.ts","sourceRoot":"","sources":["../../../src/components/elements/Button.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Button.vue.d.ts","sourceRoot":"","sources":["../../../src/components/elements/Button.vue"],"names":[],"mappings":"AA+OA,OAAO,0BAA0B,CAAA;AAGjC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAG/B,MAAM,MAAM,WAAW,GAAG;IACxB,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,UAAU,CAAA;IACtC,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;IACvC,KAAK,CAAC,EAAE,KAAK,GAAG,MAAM,CAAA;IACtB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,CAAA;AAyFD,iBAAS,cAAc;WA6CT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAcD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;UAnKZ,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI;WAC/B,KAAK,GAAG,MAAM;aAFZ,MAAM,GAAG,MAAM,GAAG,UAAU;aAG5B,OAAO;cACN,OAAO;cACP,OAAO;eAIN,OAAO;2FAmKnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Color } from '../../types';
|
|
2
|
-
|
|
3
2
|
export type CheckBoxProps = {
|
|
4
3
|
label?: string;
|
|
5
4
|
color?: Color;
|
|
@@ -9,68 +8,20 @@ export type CheckBoxProps = {
|
|
|
9
8
|
validateOnMount?: boolean;
|
|
10
9
|
requiredErrorMessage?: string;
|
|
11
10
|
};
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
type: import('vue').PropType<boolean>;
|
|
23
|
-
};
|
|
24
|
-
name: {
|
|
25
|
-
type: import('vue').PropType<string>;
|
|
26
|
-
default: string;
|
|
27
|
-
};
|
|
28
|
-
color: {
|
|
29
|
-
type: import('vue').PropType<"default" | "primary" | "secondary" | "warning" | "danger" | "success" | "info" | "subtle" | "muted" | "light">;
|
|
30
|
-
default: string;
|
|
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
|
-
};
|
|
40
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
41
|
-
modelValue: import('vue').PropType<boolean>;
|
|
42
|
-
required: {
|
|
43
|
-
type: import('vue').PropType<boolean>;
|
|
44
|
-
default: boolean;
|
|
45
|
-
};
|
|
46
|
-
label: {
|
|
47
|
-
type: import('vue').PropType<string>;
|
|
48
|
-
};
|
|
49
|
-
disabled: {
|
|
50
|
-
type: import('vue').PropType<boolean>;
|
|
51
|
-
};
|
|
52
|
-
name: {
|
|
53
|
-
type: import('vue').PropType<string>;
|
|
54
|
-
default: string;
|
|
55
|
-
};
|
|
56
|
-
color: {
|
|
57
|
-
type: import('vue').PropType<"default" | "primary" | "secondary" | "warning" | "danger" | "success" | "info" | "subtle" | "muted" | "light">;
|
|
58
|
-
default: string;
|
|
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
|
-
};
|
|
68
|
-
}>> & Readonly<{}>, {
|
|
11
|
+
type __VLS_Props = CheckBoxProps;
|
|
12
|
+
type __VLS_PublicProps = {
|
|
13
|
+
modelValue?: boolean;
|
|
14
|
+
} & __VLS_Props;
|
|
15
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
+
"update:modelValue": (value: boolean) => any;
|
|
17
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
18
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
19
|
+
}>, {
|
|
20
|
+
color: Color;
|
|
69
21
|
required: boolean;
|
|
70
22
|
name: string;
|
|
71
|
-
color: Color;
|
|
72
23
|
validateOnMount: boolean;
|
|
73
24
|
requiredErrorMessage: string;
|
|
74
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
25
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
75
26
|
export default _default;
|
|
76
27
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"CheckBox.vue.d.ts","sourceRoot":"","sources":["../../../src/components/elements/CheckBox.vue"],"names":[],"mappings":"AAuLA,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;AAED,KAAK,WAAW,GAAG,aAAa,CAAC;AAsEjC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,WAAW,CAAC;;;;;;WAhFN,KAAK;cAEF,OAAO;UACX,MAAM;qBACK,OAAO;0BACF,MAAM;;AA0K/B,wBASG"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export type ComboBoxProps = {
|
|
2
2
|
label?: string;
|
|
3
|
+
variant?: 'default' | 'floating';
|
|
3
4
|
itemTitle?: string;
|
|
4
5
|
itemValue?: string;
|
|
5
6
|
returnObject?: boolean;
|
|
@@ -15,135 +16,52 @@ export type ComboBoxProps = {
|
|
|
15
16
|
placeholder?: string;
|
|
16
17
|
noResultsText?: string;
|
|
17
18
|
};
|
|
19
|
+
type __VLS_Props = ComboBoxProps;
|
|
20
|
+
type __VLS_PublicProps = {
|
|
21
|
+
modelValue?: any[];
|
|
22
|
+
} & __VLS_Props;
|
|
18
23
|
declare function __VLS_template(): {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
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;
|
|
24
|
+
attrs: Partial<{}>;
|
|
25
|
+
slots: {
|
|
26
|
+
'append-inner'?(_: {}): any;
|
|
98
27
|
};
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
28
|
+
refs: {
|
|
29
|
+
textFieldRef: HTMLDivElement;
|
|
30
|
+
listRef: HTMLUListElement;
|
|
102
31
|
};
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
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;
|
|
32
|
+
rootEl: any;
|
|
33
|
+
};
|
|
34
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
35
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
36
|
+
"update:modelValue": (value: any[]) => any;
|
|
37
|
+
} & {
|
|
38
|
+
close: () => any;
|
|
39
|
+
select: (item: any) => any;
|
|
40
|
+
open: () => any;
|
|
41
|
+
"update:modelValue": (value: unknown[]) => any;
|
|
42
|
+
deselect: (item: any) => any;
|
|
43
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
131
44
|
onClose?: (() => any) | undefined;
|
|
132
|
-
|
|
45
|
+
onSelect?: ((item: any) => any) | undefined;
|
|
133
46
|
onOpen?: (() => any) | undefined;
|
|
47
|
+
"onUpdate:modelValue"?: ((value: unknown[]) => any) | undefined;
|
|
134
48
|
onDeselect?: ((item: any) => any) | undefined;
|
|
135
49
|
}>, {
|
|
50
|
+
placeholder: string;
|
|
51
|
+
variant: "default" | "floating";
|
|
136
52
|
disabled: boolean;
|
|
137
53
|
name: string;
|
|
138
|
-
|
|
54
|
+
rules: string | Record<string, unknown> | ((value: unknown) => boolean);
|
|
55
|
+
autocomplete: boolean;
|
|
139
56
|
itemTitle: string;
|
|
140
57
|
itemValue: string;
|
|
141
|
-
autocomplete: boolean;
|
|
142
58
|
clearable: boolean;
|
|
143
|
-
rules: string | Record<string, unknown> | ((value: unknown) => boolean);
|
|
144
59
|
noResultsText: string;
|
|
145
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
146
|
-
|
|
60
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
61
|
+
textFieldRef: HTMLDivElement;
|
|
62
|
+
listRef: HTMLUListElement;
|
|
63
|
+
}, any>;
|
|
64
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
147
65
|
export default _default;
|
|
148
66
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
149
67
|
new (): {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComboBox.vue.d.ts","sourceRoot":"","sources":["../../../src/components/elements/ComboBox.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ComboBox.vue.d.ts","sourceRoot":"","sources":["../../../src/components/elements/ComboBox.vue"],"names":[],"mappings":"AAm1BA,MAAM,MAAM,aAAa,GAAG;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,SAAS,GAAG,UAAU,CAAA;IAChC,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;AAWD,KAAK,WAAW,GAAG,aAAa,CAAC;AA+XjC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,GAAG,EAAE,CAAC;CAClB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WA+PT,OAAO,IAA6B;;gCAZb,GAAG;;;;;;;EAiBvC;AAsCD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;iBA9rBL,MAAM;aAfV,SAAS,GAAG,UAAU;cAUrB,OAAO;UAGX,MAAM;WACL,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,OAAO,KAAK,OAAO,CAAC;kBAHzD,OAAO;eAVV,MAAM;eACN,MAAM;eAUN,OAAO;mBAIH,MAAM;;;;OAusBtB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|