@corvina/vue-components-library 1.0.0-beta.8 → 1.0.0-beta.9
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/CHANGELOG.md +27 -0
- package/README.md +3 -2
- package/components/CvAutocomplete.ce.vue.d.ts +60 -0
- package/components/CvAutocomplete.ce.vue.d.ts.map +1 -0
- package/components/CvBreadcrumb.ce.vue.d.ts +2 -2
- package/components/CvBreadcrumb.ce.vue.d.ts.map +1 -1
- package/components/CvBreadcrumbDivider.ce.vue.d.ts.map +1 -1
- package/components/CvButton.ce.vue.d.ts +1 -1
- package/components/CvButton.ce.vue.d.ts.map +1 -1
- package/components/CvCheckbox.ce.vue.d.ts +36 -0
- package/components/CvCheckbox.ce.vue.d.ts.map +1 -0
- package/components/CvDateRange.ce.vue.d.ts.map +1 -1
- package/components/CvDialog.ce.vue.d.ts.map +1 -1
- package/components/CvIcon.ce.vue.d.ts +2 -1
- package/components/CvIcon.ce.vue.d.ts.map +1 -1
- package/components/CvInfiniteLoader.ce.vue.d.ts +1 -0
- package/components/CvInfiniteLoader.ce.vue.d.ts.map +1 -1
- package/components/CvPanel.ce.vue.d.ts.map +1 -1
- package/components/CvRadioGroup.ce.vue.d.ts +40 -0
- package/components/CvRadioGroup.ce.vue.d.ts.map +1 -0
- package/components/CvSelect.ce.vue.d.ts +37 -8
- package/components/CvSelect.ce.vue.d.ts.map +1 -1
- package/components/CvSnackbar.ce.vue.d.ts +36 -0
- package/components/CvSnackbar.ce.vue.d.ts.map +1 -0
- package/components/CvSwitch.ce.vue.d.ts +38 -0
- package/components/CvSwitch.ce.vue.d.ts.map +1 -0
- package/components/CvTable.ce.vue.d.ts +10 -8
- package/components/CvTable.ce.vue.d.ts.map +1 -1
- package/components/CvTabs.ce.vue.d.ts +1 -1
- package/components/CvTabs.ce.vue.d.ts.map +1 -1
- package/components/CvTextField.ce.vue.d.ts +52 -0
- package/components/CvTextField.ce.vue.d.ts.map +1 -0
- package/components/CvTextarea.ce.vue.d.ts +44 -0
- package/components/CvTextarea.ce.vue.d.ts.map +1 -0
- package/index.d.ts +45 -4
- package/index.d.ts.map +1 -1
- package/package.json +27 -30
- package/settings.scss +8 -11
- package/utils/fonts.d.ts.map +1 -1
- package/vue-components-library.css +1 -1
- package/vue-components-library.es.js +1561 -719
- package/vue-components.d.ts +29 -1
- package/vue-components.d.ts.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -36,6 +36,10 @@ Breaking changes:
|
|
|
36
36
|
its container with a white area (`style="height: 100%"` on the root and on the `v-data-table-server` are gone).
|
|
37
37
|
A container that sizes the table with `height` keeps working; a flex container needs `min-height: 0` on its
|
|
38
38
|
items. With `infiniteScroll` the table still fills its container.
|
|
39
|
+
- `CvSelect` is a form field like `CvTextField`: `v-model` on `modelValue` (`update:modelValue`; were `model` and
|
|
40
|
+
`update:model`), `label`, room for the error messages below it unless `hideDetails` (it always hid them), the
|
|
41
|
+
frontend-new look instead of the app's Vuetify defaults. `items` that are `CORVINA.FIELD.ITEM` can be `disabled`; the
|
|
42
|
+
only option of an empty select is selected (INPUT-4, `autoSelect` `false` to keep it empty).
|
|
39
43
|
|
|
40
44
|
Added:
|
|
41
45
|
|
|
@@ -72,6 +76,22 @@ Added:
|
|
|
72
76
|
reports a failure: the title in alert, the error illustration, one button that emits `update:open`, and the `details`
|
|
73
77
|
and `actions` slots. `title`, `message` (or the default slot), `confirmLabel`, `cancelLabel`, `maxWidth` (290 and 550
|
|
74
78
|
by default). In the web components the dialog stays in the shadow root.
|
|
79
|
+
- `CvSnackbar` (`<cv-snackbar>`): frontend-new's snackbar, `open` owned by the parent. `type` (`CORVINA.SNACKBAR.TYPE`)
|
|
80
|
+
`success`, `warning` or `error` sets the colour, `position` (`CORVINA.SNACKBAR.POSITION`) `bottom` or `top`; `title`,
|
|
81
|
+
`message`, a default slot below them. The close button (`closeLabel`) and the end of `timeout` (5000 ms, `-1` to stay)
|
|
82
|
+
emit `update:open` with `false`. In the web components it stays in the shadow root.
|
|
83
|
+
- Form fields, the look of frontend-new's side panel fields: `CvTextField` (`<cv-text-field>`; `type`
|
|
84
|
+
`CORVINA.FIELD.TYPE` `text`, `password` with the button that shows it, or `number`, which holds a number; `loading`,
|
|
85
|
+
`clearable`, `min`, `max`), `CvTextarea` (`<cv-textarea>`; `rows`, `autoGrow`, `noResize`), `CvCheckbox`
|
|
86
|
+
(`<cv-checkbox>`), `CvSwitch` (`<cv-switch>`) and `CvRadioGroup` (`<cv-radio-group>`; `items`
|
|
87
|
+
`CORVINA.FIELD.ITEM[]`, `inline`). Each has `modelValue` (`v-model`), `label`, `placeholder` (text fields), `help`
|
|
88
|
+
(the (?) with its tooltip), `disabled` (g4) with `disabledReason` (the tooltip that says why), `readonly`, `rules`
|
|
89
|
+
(`CORVINA.FIELD.RULE[]`), `errorMessages` and `hideDetails`. A `v-form` of the page sees them (Vue); in the web
|
|
90
|
+
components each field emits `update:valid` and has the methods `validate()`, `reset()` and `resetValidation()`.
|
|
91
|
+
`CvSelect` has them too (see the breaking changes), with `multiple` and `clearable`.
|
|
92
|
+
- `CvAutocomplete` (`<cv-autocomplete>`): a `CvSelect` that filters its `items` on what is typed (INPUT-2), or with a
|
|
93
|
+
`searchFunction` (`CORVINA.FIELD.SEARCH`, `(search, page) => items`, as the breadcrumb's autocomplete filters) searches
|
|
94
|
+
on the server, the next pages at the end of the menu. `noDataText`, `loadingText`.
|
|
75
95
|
- `CvBreadcrumb` sort, as in frontend-new: `allowedSorts` (`CORVINA.BREADCRUMB.SORT_BY[]`) shows a sort dropdown
|
|
76
96
|
and the direction button after the slot, `sort` (`CORVINA.BREADCRUMB.SORT`, `key` and `desc`) owned by the parent
|
|
77
97
|
(`update:sort`), `sortPlaceholder`. Without `allowedSorts` there is no sort.
|
|
@@ -80,6 +100,7 @@ Added:
|
|
|
80
100
|
|
|
81
101
|
Fixed:
|
|
82
102
|
|
|
103
|
+
- The icon buttons of `CvTable` and `CvBreadcrumb` no longer submit a form they are in (`type="button"`).
|
|
83
104
|
- `CvBreadcrumb`: a filter key selected in the dropdown is dropped when `allowedFilters` no longer contain it.
|
|
84
105
|
- `CvBreadcrumb` looks like frontend-new's breadcrumb: full-height light dividers (`CvBreadcrumbDivider` too,
|
|
85
106
|
was a 25px dark line), the filter area 860px wide and starting with a divider, the filter key dropdown 13em on the
|
|
@@ -109,9 +130,15 @@ Fixed:
|
|
|
109
130
|
bundled (JS -23 KB, gzip -7 KB).
|
|
110
131
|
- `loadFonts()` adds a `<link>` to the Google Fonts css2 API (Roboto, Material Symbols) instead of using
|
|
111
132
|
webfontloader: the `wf-loading`/`wf-active` classes are no longer set on `<html>`.
|
|
133
|
+
- Types: the props with a default are optional (`CvTable` `headers`, `items`, `itemsPerPage`, `currentPage`,
|
|
134
|
+
`itemsLength`; `CvTabs` `tabs`; `CvBreadcrumb` `icon`, `path`; `CvIcon` `icon`). The `searchFunction` of the
|
|
135
|
+
breadcrumb filters and `CORVINA.FIELD.SEARCH` return `unknown[]`, the `props` of the custom cell, header and filter
|
|
136
|
+
components are `Record<string, unknown>` (were `any`): the app's own types fit them as before.
|
|
112
137
|
|
|
113
138
|
### `@corvina/web-components-library` (from 0.2.4)
|
|
114
139
|
|
|
140
|
+
- `<cv-select>`: `modelValue` and `update:modelValue` (were `model` and `update:model`), and the other changes of
|
|
141
|
+
`CvSelect` in the Vue package.
|
|
115
142
|
- The elements are `<cv-table>`, `<cv-button>`, ... (were `<corvina-table>`, ...): the fourth parameter of
|
|
116
143
|
`initCorvinaComponents(locale, shouldLoadTheme, shouldLoadFonts, prefix)` is the start of the tags, `'corvina'` for
|
|
117
144
|
the 0.x ones. The VS Code custom data lists the `cv-` tags.
|
package/README.md
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
# Corvina Components Library
|
|
2
|
+
|
|
2
3
|
This library is a collection of vue components aimed to be used in the Corvina App.
|
|
3
4
|
|
|
4
5
|
# Documentation
|
|
@@ -61,6 +62,7 @@ The components use the Vuetify instance and the Vuetify CSS of the application:
|
|
|
61
62
|
icons: { defaultSet: 'md', aliases, sets: { md, ecc } },
|
|
62
63
|
})
|
|
63
64
|
```
|
|
65
|
+
|
|
64
66
|
- the components use the Vuetify defaults of your app (e.g. the `variant` of fields), not the ones of
|
|
65
67
|
the web components;
|
|
66
68
|
- to get the Corvina look, build the Vuetify styles with the library settings
|
|
@@ -166,6 +168,7 @@ const vuetify = createVuetify({
|
|
|
166
168
|
...
|
|
167
169
|
})
|
|
168
170
|
```
|
|
171
|
+
|
|
169
172
|
To dynamically change the language, use `this.$vuetify.locale.current`.
|
|
170
173
|
|
|
171
174
|
For example, in the Corvina application:
|
|
@@ -174,5 +177,3 @@ For example, in the Corvina application:
|
|
|
174
177
|
this.$i18n.locale = locale?.replace('_', '-') || "en-US";
|
|
175
178
|
this.$vuetify.locale.current = this.$i18n.locale?.split('-')[0] || "en";
|
|
176
179
|
```
|
|
177
|
-
|
|
178
|
-
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { CORVINA } from '../index.js';
|
|
2
|
+
interface Props {
|
|
3
|
+
modelValue?: unknown;
|
|
4
|
+
items?: unknown[];
|
|
5
|
+
searchFunction?: CORVINA.FIELD.SEARCH;
|
|
6
|
+
itemTitle?: string;
|
|
7
|
+
itemValue?: string;
|
|
8
|
+
returnObject?: boolean;
|
|
9
|
+
multiple?: boolean;
|
|
10
|
+
autoSelect?: boolean;
|
|
11
|
+
label?: string;
|
|
12
|
+
placeholder?: string;
|
|
13
|
+
help?: string;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
disabledReason?: string;
|
|
16
|
+
readonly?: boolean;
|
|
17
|
+
rules?: CORVINA.FIELD.RULE[];
|
|
18
|
+
errorMessages?: string | string[];
|
|
19
|
+
loading?: boolean;
|
|
20
|
+
clearable?: boolean;
|
|
21
|
+
hideDetails?: boolean;
|
|
22
|
+
noDataText?: string;
|
|
23
|
+
loadingText?: string;
|
|
24
|
+
}
|
|
25
|
+
declare const __VLS_export: import('vue').DefineComponent<Props, {
|
|
26
|
+
validate: () => Promise<boolean>;
|
|
27
|
+
reset: () => Promise<void> | undefined;
|
|
28
|
+
resetValidation: () => Promise<void> | undefined;
|
|
29
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
30
|
+
"update:modelValue": (value: unknown) => any;
|
|
31
|
+
"update:valid": (valid: boolean | null) => any;
|
|
32
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
33
|
+
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
|
|
34
|
+
"onUpdate:valid"?: ((valid: boolean | null) => any) | undefined;
|
|
35
|
+
}>, {
|
|
36
|
+
help: string;
|
|
37
|
+
loading: boolean;
|
|
38
|
+
disabled: boolean;
|
|
39
|
+
modelValue: undefined;
|
|
40
|
+
label: string;
|
|
41
|
+
readonly: boolean;
|
|
42
|
+
placeholder: string;
|
|
43
|
+
items: unknown[];
|
|
44
|
+
rules: CORVINA.FIELD.RULE[];
|
|
45
|
+
hideDetails: boolean;
|
|
46
|
+
returnObject: boolean;
|
|
47
|
+
noDataText: string;
|
|
48
|
+
clearable: boolean;
|
|
49
|
+
errorMessages: string | string[];
|
|
50
|
+
multiple: boolean;
|
|
51
|
+
itemTitle: string;
|
|
52
|
+
itemValue: string;
|
|
53
|
+
loadingText: string;
|
|
54
|
+
searchFunction: CORVINA.FIELD.SEARCH;
|
|
55
|
+
disabledReason: string;
|
|
56
|
+
autoSelect: boolean;
|
|
57
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
58
|
+
declare const _default: typeof __VLS_export;
|
|
59
|
+
export default _default;
|
|
60
|
+
//# sourceMappingURL=CvAutocomplete.ce.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CvAutocomplete.ce.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CvAutocomplete.ce.vue"],"names":[],"mappings":"AAiDA;AA0PA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AASvC,UAAU,KAAK;IACb,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,CAAC,EAAE,OAAO,EAAE,CAAC;IAClB,cAAc,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC;IACtC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;IAC7B,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAClC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAuTD,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6EAKhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CvBreadcrumb.ce.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CvBreadcrumb.ce.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CvBreadcrumb.ce.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CvBreadcrumb.ce.vue"],"names":[],"mappings":"AAoPA;AAikBA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAGlC,MAAM,WAAW,KAAK;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,GAAG;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,QAAQ,CAAA;KAAE,CAAC,CAAC;IAC3D,aAAa,CAAC,EAAE,OAAO,CAAC,UAAU,CAAC,cAAc,CAAC;IAElD,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,2BAA2B,CAAC,EAAE,MAAM,CAAC;IACrC,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAE/B,cAAc,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;IACrD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;IAE3C,sBAAsB,CAAC,EAAE,OAAO,CAAC,UAAU,CAAC,oBAAoB,CAAC;IAEjE,YAAY,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;IACjD,IAAI,CAAC,EAAE,OAAO,CAAC,UAAU,CAAC,IAAI,GAAG,IAAI,CAAC;IACtC,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;wBACoB,OAAO,YAAY;AAAxC,wBAAyC;AACzC,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;cAxBc,MAAM;iBAAW,QAAQ;;;;;;;;;;;;;;;;;cA28B3C,CAAC,KAAK,IAAiB,KAAK,GAAG;EASzC,CAAC;AAWL,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CvBreadcrumbDivider.ce.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CvBreadcrumbDivider.ce.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CvBreadcrumbDivider.ce.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CvBreadcrumbDivider.ce.vue"],"names":[],"mappings":"AA2BA,QAAA,MAAM,YAAY,+QAChB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -23,11 +23,11 @@ declare const __VLS_export: import('vue').DefineComponent<Props, {}, {}, {}, {},
|
|
|
23
23
|
onClicked?: ((event: Event) => any) | undefined;
|
|
24
24
|
"onUpdate:activeStatus"?: ((status: boolean) => any) | undefined;
|
|
25
25
|
}>, {
|
|
26
|
+
text: string;
|
|
26
27
|
loading: boolean;
|
|
27
28
|
icon: string;
|
|
28
29
|
disabled: boolean;
|
|
29
30
|
variant: CORVINA.BUTTON.VARIANT;
|
|
30
|
-
text: string;
|
|
31
31
|
dataQa: string;
|
|
32
32
|
activeIcon: string;
|
|
33
33
|
isToggle: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CvButton.ce.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CvButton.ce.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CvButton.ce.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CvButton.ce.vue"],"names":[],"mappings":"AAkFA;AA6LA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAIlC,MAAM,WAAW,KAAK;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC;IACjC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,eAAe,CAAC,EAAE,OAAO,CAAC,gBAAgB,CAAC;CAC5C;wBAGoB,OAAO,YAAY;AAAxC,wBAAyC;AACzC,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;6EAuTd,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { CORVINA } from '../index.js';
|
|
2
|
+
interface Props {
|
|
3
|
+
modelValue?: boolean;
|
|
4
|
+
label?: string;
|
|
5
|
+
help?: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
disabledReason?: string;
|
|
8
|
+
readonly?: boolean;
|
|
9
|
+
rules?: CORVINA.FIELD.RULE[];
|
|
10
|
+
errorMessages?: string | string[];
|
|
11
|
+
hideDetails?: boolean;
|
|
12
|
+
}
|
|
13
|
+
declare const __VLS_export: import('vue').DefineComponent<Props, {
|
|
14
|
+
validate: () => Promise<boolean>;
|
|
15
|
+
reset: () => Promise<void> | undefined;
|
|
16
|
+
resetValidation: () => Promise<void> | undefined;
|
|
17
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
18
|
+
"update:modelValue": (value: boolean) => any;
|
|
19
|
+
"update:valid": (valid: boolean | null) => any;
|
|
20
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
21
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
22
|
+
"onUpdate:valid"?: ((valid: boolean | null) => any) | undefined;
|
|
23
|
+
}>, {
|
|
24
|
+
help: string;
|
|
25
|
+
disabled: boolean;
|
|
26
|
+
modelValue: boolean;
|
|
27
|
+
label: string;
|
|
28
|
+
readonly: boolean;
|
|
29
|
+
rules: CORVINA.FIELD.RULE[];
|
|
30
|
+
hideDetails: boolean;
|
|
31
|
+
errorMessages: string | string[];
|
|
32
|
+
disabledReason: string;
|
|
33
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
34
|
+
declare const _default: typeof __VLS_export;
|
|
35
|
+
export default _default;
|
|
36
|
+
//# sourceMappingURL=CvCheckbox.ce.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CvCheckbox.ce.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CvCheckbox.ce.vue"],"names":[],"mappings":"AAqBA;AA2EA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAOlC,UAAU,KAAK;IACb,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;IAC7B,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAClC,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAuGD,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;6EAKhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CvDateRange.ce.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CvDateRange.ce.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CvDateRange.ce.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CvDateRange.ce.vue"],"names":[],"mappings":"AAuGA;AAiMA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAKvC,UAAU,KAAK;IACb,KAAK,CAAC,EAAE,OAAO,CAAC,UAAU,CAAC,KAAK,GAAG,IAAI,CAAC;IACxC,OAAO,CAAC,EAAE,OAAO,CAAC,UAAU,CAAC,MAAM,EAAE,CAAC;IACtC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAgYD,QAAA,MAAM,YAAY;;;;;;;;;;;;;;6EAIhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CvDialog.ce.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CvDialog.ce.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CvDialog.ce.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CvDialog.ce.vue"],"names":[],"mappings":"AAuHA;AAsMA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAKlC,UAAU,KAAK;IACb,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC5B;AA+YD,QAAA,IAAI,QAAQ,IAAY,EAAE,QAAQ,IAAY,EAAE,QAAQ,IAAY,EAAE,QAAQ,IAAY,CAAC;AAC3F,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC7C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC7C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC7C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAGhD,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;6EAId,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CORVINA } from '../index.js';
|
|
2
2
|
interface Props {
|
|
3
|
-
icon
|
|
3
|
+
icon?: string;
|
|
4
4
|
size?: string | number;
|
|
5
5
|
color?: CORVINA.COLOR;
|
|
6
6
|
}
|
|
@@ -9,5 +9,6 @@ export default _default;
|
|
|
9
9
|
declare const __VLS_export: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
10
10
|
icon: string;
|
|
11
11
|
size: string | number;
|
|
12
|
+
color: CORVINA.COLOR;
|
|
12
13
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
13
14
|
//# sourceMappingURL=CvIcon.ce.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CvIcon.ce.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CvIcon.ce.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CvIcon.ce.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CvIcon.ce.vue"],"names":[],"mappings":"AAGA;AAoCA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAElC,UAAU,KAAK;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC;CACvB;wBACoB,OAAO,YAAY;AAAxC,wBAAyC;AACzC,QAAA,MAAM,YAAY;;;;6EA8Cd,CAAC"}
|
|
@@ -16,6 +16,7 @@ declare const __VLS_base: import('vue').DefineComponent<Props, {}, {}, {}, {}, i
|
|
|
16
16
|
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
17
17
|
onInfinite?: (($state: CORVINA.INFINITE_LOADER.StateHandler) => any) | undefined;
|
|
18
18
|
}>, {
|
|
19
|
+
identifier: string | number;
|
|
19
20
|
retryLabel: string;
|
|
20
21
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
21
22
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CvInfiniteLoader.ce.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CvInfiniteLoader.ce.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CvInfiniteLoader.ce.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CvInfiniteLoader.ce.vue"],"names":[],"mappings":"AAaA;AAmDA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAGvC,UAAU,KAAK;IACb,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC7B,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAaD,KAAK,WAAW,GAAG;IACjB,OAAO,CAAC,EAAE,MAAM,OAAO,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,OAAO,CAAC;IACzB,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,KAAK,EAAE,MAAM,IAAI,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,KAAK,OAAO,CAAC;CACvE,CAAC;AAoFF,QAAA,MAAM,UAAU;;;;;;;6EAId,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CvPanel.ce.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CvPanel.ce.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CvPanel.ce.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CvPanel.ce.vue"],"names":[],"mappings":"AAyIA;AAoPA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAKlC,UAAU,KAAK;IACb,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC;IAClC,IAAI,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AA0eD,QAAA,IAAI,QAAQ,IAAY,EAAE,QAAQ,IAAY,EAAE,QAAQ,IAAY,CAAC;AACrE,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC1C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC7C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAGhD,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;6EAId,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { CORVINA } from '../index.js';
|
|
2
|
+
interface Props {
|
|
3
|
+
modelValue?: CORVINA.FIELD.ITEM['value'] | null;
|
|
4
|
+
items?: CORVINA.FIELD.ITEM[];
|
|
5
|
+
label?: string;
|
|
6
|
+
inline?: boolean;
|
|
7
|
+
help?: string;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
disabledReason?: string;
|
|
10
|
+
readonly?: boolean;
|
|
11
|
+
rules?: CORVINA.FIELD.RULE[];
|
|
12
|
+
errorMessages?: string | string[];
|
|
13
|
+
hideDetails?: boolean;
|
|
14
|
+
}
|
|
15
|
+
declare const __VLS_export: import('vue').DefineComponent<Props, {
|
|
16
|
+
validate: () => Promise<boolean>;
|
|
17
|
+
reset: () => Promise<void> | undefined;
|
|
18
|
+
resetValidation: () => Promise<void> | undefined;
|
|
19
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
20
|
+
"update:modelValue": (value: string | number | boolean) => any;
|
|
21
|
+
"update:valid": (valid: boolean | null) => any;
|
|
22
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
23
|
+
"onUpdate:modelValue"?: ((value: string | number | boolean) => any) | undefined;
|
|
24
|
+
"onUpdate:valid"?: ((valid: boolean | null) => any) | undefined;
|
|
25
|
+
}>, {
|
|
26
|
+
help: string;
|
|
27
|
+
disabled: boolean;
|
|
28
|
+
modelValue: string | number | boolean | null;
|
|
29
|
+
label: string;
|
|
30
|
+
readonly: boolean;
|
|
31
|
+
items: CORVINA.FIELD.ITEM[];
|
|
32
|
+
rules: CORVINA.FIELD.RULE[];
|
|
33
|
+
hideDetails: boolean;
|
|
34
|
+
errorMessages: string | string[];
|
|
35
|
+
disabledReason: string;
|
|
36
|
+
inline: boolean;
|
|
37
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
38
|
+
declare const _default: typeof __VLS_export;
|
|
39
|
+
export default _default;
|
|
40
|
+
//# sourceMappingURL=CvRadioGroup.ce.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CvRadioGroup.ce.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CvRadioGroup.ce.vue"],"names":[],"mappings":"AAiCA;AA2FA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAOlC,UAAU,KAAK;IACb,UAAU,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC;IAChD,KAAK,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;IAC7B,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAClC,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAoID,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;6EAKhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,24 +1,53 @@
|
|
|
1
|
+
import { CORVINA } from '../index.js';
|
|
1
2
|
interface Props {
|
|
2
|
-
|
|
3
|
+
modelValue?: unknown;
|
|
4
|
+
items?: unknown[];
|
|
3
5
|
itemTitle?: string;
|
|
4
6
|
itemValue?: string;
|
|
5
|
-
model: object | string | null;
|
|
6
|
-
placeholder?: string;
|
|
7
7
|
returnObject?: boolean;
|
|
8
|
+
multiple?: boolean;
|
|
9
|
+
autoSelect?: boolean;
|
|
10
|
+
label?: string;
|
|
11
|
+
placeholder?: string;
|
|
12
|
+
help?: string;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
disabledReason?: string;
|
|
15
|
+
readonly?: boolean;
|
|
16
|
+
rules?: CORVINA.FIELD.RULE[];
|
|
17
|
+
errorMessages?: string | string[];
|
|
8
18
|
loading?: boolean;
|
|
19
|
+
clearable?: boolean;
|
|
20
|
+
hideDetails?: boolean;
|
|
9
21
|
}
|
|
10
|
-
declare const __VLS_export: import('vue').DefineComponent<Props, {
|
|
11
|
-
|
|
22
|
+
declare const __VLS_export: import('vue').DefineComponent<Props, {
|
|
23
|
+
validate: () => Promise<boolean>;
|
|
24
|
+
reset: () => Promise<void> | undefined;
|
|
25
|
+
resetValidation: () => Promise<void> | undefined;
|
|
26
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
27
|
+
"update:modelValue": (value: unknown) => any;
|
|
28
|
+
"update:valid": (valid: boolean | null) => any;
|
|
12
29
|
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
13
|
-
"onUpdate:
|
|
30
|
+
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
|
|
31
|
+
"onUpdate:valid"?: ((valid: boolean | null) => any) | undefined;
|
|
14
32
|
}>, {
|
|
33
|
+
help: string;
|
|
15
34
|
loading: boolean;
|
|
35
|
+
disabled: boolean;
|
|
36
|
+
modelValue: undefined;
|
|
37
|
+
label: string;
|
|
38
|
+
readonly: boolean;
|
|
16
39
|
placeholder: string;
|
|
17
|
-
items:
|
|
40
|
+
items: unknown[];
|
|
41
|
+
rules: CORVINA.FIELD.RULE[];
|
|
42
|
+
hideDetails: boolean;
|
|
18
43
|
returnObject: boolean;
|
|
44
|
+
clearable: boolean;
|
|
45
|
+
errorMessages: string | string[];
|
|
46
|
+
multiple: boolean;
|
|
19
47
|
itemTitle: string;
|
|
20
48
|
itemValue: string;
|
|
21
|
-
|
|
49
|
+
disabledReason: string;
|
|
50
|
+
autoSelect: boolean;
|
|
22
51
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
23
52
|
declare const _default: typeof __VLS_export;
|
|
24
53
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CvSelect.ce.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CvSelect.ce.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CvSelect.ce.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CvSelect.ce.vue"],"names":[],"mappings":"AA0CA;AA0HA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAQvC,UAAU,KAAK;IACb,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,CAAC,EAAE,OAAO,EAAE,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;IAC7B,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAClC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAuKD,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6EAKhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { CORVINA } from '../index.js';
|
|
2
|
+
interface Props {
|
|
3
|
+
open?: boolean;
|
|
4
|
+
type?: CORVINA.SNACKBAR.TYPE;
|
|
5
|
+
position?: CORVINA.SNACKBAR.POSITION;
|
|
6
|
+
title?: string;
|
|
7
|
+
message?: string;
|
|
8
|
+
timeout?: number;
|
|
9
|
+
closeLabel?: string;
|
|
10
|
+
}
|
|
11
|
+
declare var __VLS_14: {};
|
|
12
|
+
type __VLS_Slots = {} & {
|
|
13
|
+
default?: (props: typeof __VLS_14) => any;
|
|
14
|
+
};
|
|
15
|
+
declare const __VLS_base: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
16
|
+
"update:open": (value: boolean) => any;
|
|
17
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
18
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
19
|
+
}>, {
|
|
20
|
+
type: CORVINA.SNACKBAR.TYPE;
|
|
21
|
+
title: string;
|
|
22
|
+
position: CORVINA.SNACKBAR.POSITION;
|
|
23
|
+
open: boolean;
|
|
24
|
+
message: string;
|
|
25
|
+
closeLabel: string;
|
|
26
|
+
timeout: number;
|
|
27
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
28
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
29
|
+
declare const _default: typeof __VLS_export;
|
|
30
|
+
export default _default;
|
|
31
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
32
|
+
new (): {
|
|
33
|
+
$slots: S;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
//# sourceMappingURL=CvSnackbar.ce.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CvSnackbar.ce.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CvSnackbar.ce.vue"],"names":[],"mappings":"AA2CA;AA6FA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAKlC,UAAU,KAAK;IACb,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAC;IACrC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AA4KD,QAAA,IAAI,QAAQ,IAAY,CAAC;AACzB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAGhD,QAAA,MAAM,UAAU;;;;;;;;;;;;6EAId,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { CORVINA } from '../index.js';
|
|
2
|
+
interface Props {
|
|
3
|
+
modelValue?: boolean;
|
|
4
|
+
label?: string;
|
|
5
|
+
help?: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
disabledReason?: string;
|
|
8
|
+
readonly?: boolean;
|
|
9
|
+
loading?: boolean;
|
|
10
|
+
rules?: CORVINA.FIELD.RULE[];
|
|
11
|
+
errorMessages?: string | string[];
|
|
12
|
+
hideDetails?: boolean;
|
|
13
|
+
}
|
|
14
|
+
declare const __VLS_export: import('vue').DefineComponent<Props, {
|
|
15
|
+
validate: () => Promise<boolean>;
|
|
16
|
+
reset: () => Promise<void> | undefined;
|
|
17
|
+
resetValidation: () => Promise<void> | undefined;
|
|
18
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
19
|
+
"update:modelValue": (value: boolean) => any;
|
|
20
|
+
"update:valid": (valid: boolean | null) => any;
|
|
21
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
22
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
23
|
+
"onUpdate:valid"?: ((valid: boolean | null) => any) | undefined;
|
|
24
|
+
}>, {
|
|
25
|
+
help: string;
|
|
26
|
+
loading: boolean;
|
|
27
|
+
disabled: boolean;
|
|
28
|
+
modelValue: boolean;
|
|
29
|
+
label: string;
|
|
30
|
+
readonly: boolean;
|
|
31
|
+
rules: CORVINA.FIELD.RULE[];
|
|
32
|
+
hideDetails: boolean;
|
|
33
|
+
errorMessages: string | string[];
|
|
34
|
+
disabledReason: string;
|
|
35
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
36
|
+
declare const _default: typeof __VLS_export;
|
|
37
|
+
export default _default;
|
|
38
|
+
//# sourceMappingURL=CvSwitch.ce.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CvSwitch.ce.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CvSwitch.ce.vue"],"names":[],"mappings":"AAoBA;AA4EA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAOlC,UAAU,KAAK;IACb,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;IAC7B,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAClC,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAwGD,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;6EAKhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
import { CORVINA } from '../index.js';
|
|
2
|
+
import { VNode } from 'vue';
|
|
3
|
+
type Row = any;
|
|
2
4
|
interface Props {
|
|
3
|
-
headers
|
|
4
|
-
items
|
|
5
|
+
headers?: CORVINA.TABLE.TableHeaderEntries;
|
|
6
|
+
items?: Row[];
|
|
5
7
|
infiniteScroll?: boolean;
|
|
6
8
|
pagination?: boolean;
|
|
7
9
|
itemsPerPageOptions?: Array<{
|
|
8
10
|
value: number;
|
|
9
11
|
title: string;
|
|
10
12
|
}>;
|
|
11
|
-
itemsPerPage
|
|
12
|
-
currentPage
|
|
13
|
-
itemsLength
|
|
13
|
+
itemsPerPage?: number;
|
|
14
|
+
currentPage?: number;
|
|
15
|
+
itemsLength?: number;
|
|
14
16
|
loadingBar?: boolean;
|
|
15
17
|
rowClass?: string;
|
|
16
18
|
sortDesc?: boolean;
|
|
@@ -85,12 +87,12 @@ declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<Props,
|
|
|
85
87
|
allowedFilters: CORVINA.BREADCRUMB.FILTER_BY[];
|
|
86
88
|
filtersCustomComponent: CORVINA.BREADCRUMB.CUSTOM_VUE_COMPONENT;
|
|
87
89
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
88
|
-
[cell: `item.${string}`]: ((props: CORVINA.TABLE.CellSlotProps) =>
|
|
90
|
+
[cell: `item.${string}`]: ((props: CORVINA.TABLE.CellSlotProps) => VNode[]) | undefined;
|
|
89
91
|
/** The expanded row. */
|
|
90
92
|
default?(props: {
|
|
91
|
-
item:
|
|
93
|
+
item: Row;
|
|
92
94
|
index: number;
|
|
93
|
-
}):
|
|
95
|
+
}): VNode[];
|
|
94
96
|
}>;
|
|
95
97
|
type __VLS_WithSlots<T, S> = T & {
|
|
96
98
|
new (): {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CvTable.ce.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CvTable.ce.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CvTable.ce.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CvTable.ce.vue"],"names":[],"mappings":"AAkuBA;AAwrCA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AASlC,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;AAgBjC,KAAK,GAAG,GAAG,GAAG,CAAC;AAIf,UAAU,KAAK;IACb,OAAO,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,kBAAkB,CAAC;IAC3C,KAAK,CAAC,EAAE,GAAG,EAAE,CAAC;IACd,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,mBAAmB,CAAC,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC9D,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,eAAe,CAAC,EAAE,OAAO,CAAC;IAE1B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,2BAA2B,CAAC,EAAE,MAAM,CAAC;IACrC,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAE/B,cAAc,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;IACrD,OAAO,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;IAE3C,sBAAsB,CAAC,EAAE,OAAO,CAAC,UAAU,CAAC,oBAAoB,CAAC;CAClE;wBACoB,OAAO,YAAY;AAAxC,wBAAyC;AACzC,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eA9BqB,MAAM;eAAS,MAAM;;;;;;;;;;;;;;;;;;;uCA8HvB,OAAO,CAAC,KAAK,CAAC,aAAa,KAAK,KAAK,EAAE;IAH1E,wBAAwB;oBACR;QAAE,IAAI,EAAE,GAAG,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,KAAK,EAAE;EAyhEpD,CAAC;AAWL,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CvTabs.ce.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CvTabs.ce.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CvTabs.ce.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CvTabs.ce.vue"],"names":[],"mappings":"AAwBA;AA2DA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAKvC,UAAU,KAAK;IACb,IAAI,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;CACnC;AA+GD,QAAA,IAAI,QAAQ,IAAY,EAAE,QAAQ;;CAAY,EAAE,QAAQ,mCAAY,EAAE,QAAQ,IAAY,CAAC;AAC3F,KAAK,WAAW,GAAG,EAAE,GACnB;KAAG,CAAC,IAAI,WAAW,CAAC,OAAO,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG;CAAE,GACzE;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC5C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAGhD,QAAA,MAAM,UAAU;;;;;;;6EAId,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { CORVINA } from '../index.js';
|
|
2
|
+
interface Props {
|
|
3
|
+
modelValue?: string | number | null;
|
|
4
|
+
type?: CORVINA.FIELD.TYPE;
|
|
5
|
+
label?: string;
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
help?: string;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
disabledReason?: string;
|
|
10
|
+
readonly?: boolean;
|
|
11
|
+
rules?: CORVINA.FIELD.RULE[];
|
|
12
|
+
errorMessages?: string | string[];
|
|
13
|
+
loading?: boolean;
|
|
14
|
+
clearable?: boolean;
|
|
15
|
+
hideDetails?: boolean;
|
|
16
|
+
min?: number;
|
|
17
|
+
max?: number;
|
|
18
|
+
showPasswordLabel?: string;
|
|
19
|
+
hidePasswordLabel?: string;
|
|
20
|
+
}
|
|
21
|
+
declare const __VLS_export: import('vue').DefineComponent<Props, {
|
|
22
|
+
validate: () => Promise<boolean>;
|
|
23
|
+
reset: () => Promise<void> | undefined;
|
|
24
|
+
resetValidation: () => Promise<void> | undefined;
|
|
25
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
26
|
+
"update:modelValue": (value: string | number | null) => any;
|
|
27
|
+
"update:valid": (valid: boolean | null) => any;
|
|
28
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
29
|
+
"onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
|
|
30
|
+
"onUpdate:valid"?: ((valid: boolean | null) => any) | undefined;
|
|
31
|
+
}>, {
|
|
32
|
+
help: string;
|
|
33
|
+
loading: boolean;
|
|
34
|
+
disabled: boolean;
|
|
35
|
+
type: CORVINA.FIELD.TYPE;
|
|
36
|
+
modelValue: string | number | null;
|
|
37
|
+
label: string;
|
|
38
|
+
readonly: boolean;
|
|
39
|
+
placeholder: string;
|
|
40
|
+
rules: CORVINA.FIELD.RULE[];
|
|
41
|
+
hideDetails: boolean;
|
|
42
|
+
clearable: boolean;
|
|
43
|
+
errorMessages: string | string[];
|
|
44
|
+
max: number;
|
|
45
|
+
min: number;
|
|
46
|
+
disabledReason: string;
|
|
47
|
+
showPasswordLabel: string;
|
|
48
|
+
hidePasswordLabel: string;
|
|
49
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
50
|
+
declare const _default: typeof __VLS_export;
|
|
51
|
+
export default _default;
|
|
52
|
+
//# sourceMappingURL=CvTextField.ce.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CvTextField.ce.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CvTextField.ce.vue"],"names":[],"mappings":"AAyCA;AA2HA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAQlC,UAAU,KAAK;IACb,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IACpC,IAAI,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;IAC7B,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAClC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAqLD,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;6EAKhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|