@ldmjs/ui 1.0.0-dev-8 → 1.0.0-dev-10
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 +22 -6
- package/dist/calendar.js +16057 -0
- package/dist/css/calendar.css +29 -0
- package/dist/css/main.css +10 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +2368 -643
- package/dist/scss/_calendar.scss +25 -0
- package/dist/scss/_fonts.scss +13 -0
- package/dist/scss/_inputs.scss +162 -0
- package/dist/scss/_variables.scss +1 -0
- package/dist/scss/index.scss +3 -0
- package/dist/types/options.d.ts +8 -5
- package/package.json +95 -65
package/README.md
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
# Dependencies
|
|
2
2
|
|
|
3
|
-
- vue: >=3.4
|
|
3
|
+
- vue: >= 3.4
|
|
4
4
|
- vuetify: >= 3.5
|
|
5
5
|
- lodash: >= 4
|
|
6
|
+
- @vuelidate: >= 2
|
|
7
|
+
- vue-imask: >= 6
|
|
6
8
|
|
|
7
9
|
# Installation
|
|
8
10
|
|
|
@@ -56,7 +58,7 @@ appComponent.mount('#app');
|
|
|
56
58
|
|
|
57
59
|
### use loader
|
|
58
60
|
|
|
59
|
-
```
|
|
61
|
+
```html
|
|
60
62
|
<loader :options="{ transparent: false, global: true }" :visible="loading" />
|
|
61
63
|
```
|
|
62
64
|
|
|
@@ -93,10 +95,10 @@ const vuetify = createVuetify({
|
|
|
93
95
|
|
|
94
96
|
```js
|
|
95
97
|
appComponent.use(ldmui, {
|
|
96
|
-
|
|
97
|
-
isMobile: '
|
|
98
|
-
isTablet: '
|
|
99
|
-
isDesktop: '
|
|
98
|
+
viewport: {
|
|
99
|
+
isMobile: 'keyForGlobalMobileViewport',
|
|
100
|
+
isTablet: 'keyForGlobalTabletViewport',
|
|
101
|
+
isDesktop: 'keyForGlobalDesktopViewport'
|
|
100
102
|
}
|
|
101
103
|
});
|
|
102
104
|
```
|
|
@@ -200,6 +202,20 @@ const items = [
|
|
|
200
202
|
]
|
|
201
203
|
```
|
|
202
204
|
|
|
205
|
+
## #ld-edit-text
|
|
206
|
+
|
|
207
|
+
### use edit text
|
|
208
|
+
|
|
209
|
+
```html
|
|
210
|
+
<ld-edit-text v-model="value" label="ФИО" />
|
|
211
|
+
<ld-edit-text v-model="value" :only-numbers="true" label="Номер" />
|
|
212
|
+
```
|
|
213
|
+
|
|
203
214
|
# Utilities
|
|
204
215
|
|
|
205
216
|
- isDefined
|
|
217
|
+
- uidGen
|
|
218
|
+
- delay
|
|
219
|
+
|
|
220
|
+
# Directives
|
|
221
|
+
- v-active
|