@corvina/vue-components-library 1.0.0-beta.1 → 1.0.0-beta.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/CHANGELOG.md +127 -8
- package/README.md +8 -3
- package/components/CvAutocomplete.ce.vue.d.ts +60 -0
- package/components/CvAutocomplete.ce.vue.d.ts.map +1 -0
- package/components/{CorvinaBreadcrumb.ce.vue.d.ts → CvBreadcrumb.ce.vue.d.ts} +13 -3
- package/components/CvBreadcrumb.ce.vue.d.ts.map +1 -0
- package/components/{CorvinaBreadcrumbDivider.ce.vue.d.ts → CvBreadcrumbDivider.ce.vue.d.ts} +1 -1
- package/components/CvBreadcrumbDivider.ce.vue.d.ts.map +1 -0
- package/components/{CorvinaButton.ce.vue.d.ts → CvButton.ce.vue.d.ts} +4 -2
- package/components/CvButton.ce.vue.d.ts.map +1 -0
- 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 +30 -0
- package/components/CvDateRange.ce.vue.d.ts.map +1 -0
- package/components/CvDialog.ce.vue.d.ts +52 -0
- package/components/CvDialog.ce.vue.d.ts.map +1 -0
- package/components/{CorvinaIcon.ce.vue.d.ts → CvIcon.ce.vue.d.ts} +3 -2
- package/components/CvIcon.ce.vue.d.ts.map +1 -0
- package/components/CvInfiniteLoader.ce.vue.d.ts +30 -0
- package/components/CvInfiniteLoader.ce.vue.d.ts.map +1 -0
- package/components/CvPanel.ce.vue.d.ts +60 -0
- package/components/CvPanel.ce.vue.d.ts.map +1 -0
- 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 +54 -0
- package/components/CvSelect.ce.vue.d.ts.map +1 -0
- 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/{CorvinaTable.ce.vue.d.ts → CvTable.ce.vue.d.ts} +13 -14
- package/components/CvTable.ce.vue.d.ts.map +1 -0
- package/components/CvTabs.ce.vue.d.ts +32 -0
- package/components/CvTabs.ce.vue.d.ts.map +1 -0
- 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/icons-corvina-classes-font-face.css +2 -0
- package/index.d.ts +147 -6
- package/index.d.ts.map +1 -1
- package/package.json +27 -33
- package/settings.scss +8 -11
- package/utils/{webfontloader.d.ts → fonts.d.ts} +1 -1
- package/utils/fonts.d.ts.map +1 -0
- package/vue-components-library.css +1 -1
- package/vue-components-library.es.js +2642 -1790
- package/vue-components.d.ts +79 -15
- package/vue-components.d.ts.map +1 -1
- package/components/CorvinaBreadcrumb.ce.vue.d.ts.map +0 -1
- package/components/CorvinaBreadcrumbDivider.ce.vue.d.ts.map +0 -1
- package/components/CorvinaButton.ce.vue.d.ts.map +0 -1
- package/components/CorvinaIcon.ce.vue.d.ts.map +0 -1
- package/components/CorvinaSelect.ce.vue.d.ts +0 -25
- package/components/CorvinaSelect.ce.vue.d.ts.map +0 -1
- package/components/CorvinaTable.ce.vue.d.ts.map +0 -1
- package/utils/webfontloader.d.ts.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,12 +6,22 @@ Both packages are built from the same sources and released with the same version
|
|
|
6
6
|
|
|
7
7
|
Vue 3.5 and Vuetify 4.
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Browsers: the JS and CSS are built for Vite 8's default target (`baseline-widely-available`: Chrome and
|
|
10
|
+
Edge 111, Firefox 114, Safari and iOS 16.4), with no transpiling to ES2016 anymore (`?.`, `??` and `async`
|
|
11
|
+
are kept).
|
|
12
|
+
|
|
13
|
+
### `@corvina/vue-components-library` (from 0.2.4)
|
|
10
14
|
|
|
11
15
|
Breaking changes:
|
|
12
16
|
|
|
17
|
+
- The components are registered as `CvTable`, `CvButton`, ... (were `CorvinaTable`, `CorvinaButton`, ...), and the named
|
|
18
|
+
exports and the files are renamed the same way. `app.use(components, { prefix: 'corvina' })` keeps registering the
|
|
19
|
+
0.x names (`<CorvinaTable>`, `<corvina-table>` in templates) while the app renames its templates; `GlobalComponents`
|
|
20
|
+
types both.
|
|
13
21
|
- `vue` (^3.5) and `vuetify` (^4.3) are peer dependencies, provided by the app: the package no longer
|
|
14
|
-
bundles Vuetify 3 (JS 554 →
|
|
22
|
+
bundles Vuetify 3 (JS 554 → 188 KB, gzip 160 → 71 KB; the ExorFontIcon font is in it as a data URL).
|
|
23
|
+
- Modern syntax (see Browsers above): an app that targets older browsers transpiles the package with its
|
|
24
|
+
bundler (Vite does it by itself in the build).
|
|
15
25
|
- ESM only: the CommonJS and UMD builds are gone (`exports` has no `require` condition).
|
|
16
26
|
- The library CSS no longer contains the Vuetify CSS (132 → 20 KB): the app imports `vuetify/styles`.
|
|
17
27
|
To get the Corvina look, build the Vuetify styles with the exported settings:
|
|
@@ -20,35 +30,144 @@ Breaking changes:
|
|
|
20
30
|
CSS is in CSS layers and the first CSS loaded sets their order.
|
|
21
31
|
- The components use the Vuetify defaults of the app (e.g. the `variant` of fields), not the library ones.
|
|
22
32
|
- `--color-*` variables: the package CSS now has the components' palette (`--color-primary` #496177,
|
|
23
|
-
`--color-highlight` #01a3dd, ...). 0.2.
|
|
33
|
+
`--color-highlight` #01a3dd, ...). 0.2.4 ended with an older palette (#004688, #00b0c7, ...).
|
|
34
|
+
- `CvTable` (paginated) is as tall as its rows, at most as its container, as in frontend-new: with few rows the
|
|
35
|
+
footer follows the last one, with more than fit it stays at the bottom while the rows scroll. It no longer fills
|
|
36
|
+
its container with a white area (`style="height: 100%"` on the root and on the `v-data-table-server` are gone).
|
|
37
|
+
A container that sizes the table with `height` keeps working; a flex container needs `min-height: 0` on its
|
|
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).
|
|
43
|
+
- A disabled `CvButton` is `--color-g4` (text, icon, border; the background of `filled`), without Vuetify's opacity
|
|
44
|
+
(STATE-3): it was g2 at 26% opacity. Disabled menu entries of `CvTable` are g4 too (were Vuetify's 60% opacity).
|
|
24
45
|
|
|
25
46
|
Added:
|
|
26
47
|
|
|
27
48
|
- `./settings.scss` export (Vuetify Sass settings of the library).
|
|
49
|
+
- `CvTable` cell slots `item.<key>` (as in Vuetify's tables): a column's cells written in the template,
|
|
50
|
+
with `item`, `value`, `index` and `column` (`CORVINA.TABLE.CellSlotProps`). The slot replaces the content of the
|
|
51
|
+
column's `type`, now optional in `TableHeaderEntry`. Columns without a slot render as before.
|
|
52
|
+
- `CvTabs` (`<cv-tabs>`): the tabs of a page with the Corvina look, `tabs` (`CORVINA.TABS.TAB[]`) and
|
|
53
|
+
`selected` owned by the parent (`update:selected` on a click), a content for each tab in the `tab.<value>` slots
|
|
54
|
+
(only the selected one is shown; web components: `slot="tab.<value>"` children), or one in the default slot, and
|
|
55
|
+
actions on the right of the bar in the `append` slot.
|
|
56
|
+
- `CvDateRange` (`<cv-date-range>`): a range of days for the breadcrumb, `model` (`CORVINA.DATE_RANGE.RANGE`,
|
|
57
|
+
ISO days) owned by the parent (`update:model` from the accept button), `presets` (`CORVINA.DATE_RANGE.PRESET[]`) and
|
|
58
|
+
the start and end calendars; highlighted while a range is set, underlined as frontend-new's field (highlight color
|
|
59
|
+
on hover; the text from the start of the underline, both 16px in while a range is set).
|
|
60
|
+
- `CvPanel` (`<cv-panel>`): the panels of frontend-new, `open` owned by the parent. `position` (`CORVINA.PANEL.POSITION`)
|
|
61
|
+
`right` (full height, `width` 340 by default, at most 75% of the window) or `bottom` (the lower half of the window).
|
|
62
|
+
`type` (`CORVINA.PANEL.TYPE`) `edit` creates or edits: a fixed header with the icon, `operation` over `title`, the
|
|
63
|
+
help button, cancel and confirm (OperationalComponent), the body scrolling under it; `confirm` leaves it open,
|
|
64
|
+
cancel emits `cancel` and `update:open`; `confirmDisabled`, `loading` (cancel and the body locked), `collapsed` (only
|
|
65
|
+
the header, in the bottom corner); the `help` slot opens on the left of the panel, the `actions` slot adds buttons to
|
|
66
|
+
the header. `type` `help` explains: the help icon, `title` and Close (`update:open`), the help in the default slot
|
|
67
|
+
with the docs look (in the web components the slotted content keeps the page's styles). Replaces `CvHelpPanel`
|
|
68
|
+
(`<cv-help-panel>`) of the betas: `<CvPanel position="bottom" type="help">`, same `title`, `closeLabel` and
|
|
69
|
+
`data-qa`.
|
|
70
|
+
- `CvInfiniteLoader` (`<cv-infinite-loader>`): the infinite scroll of the autocomplete filters, for the app's
|
|
71
|
+
own lists. It emits `infinite` (`$state`: `CORVINA.INFINITE_LOADER.StateHandler`) when it is visible in its scrolling
|
|
72
|
+
container, not again while a page loads; `loaded()`, `complete()` (stops it) and `error()` (retry button, `retryLabel`);
|
|
73
|
+
`identifier` starts it again from the first page. Slots `spinner`, `complete` and `error` (Vue: with `retry`).
|
|
74
|
+
- `CvDialog` (`<cv-dialog>`): the dialogs of frontend-new's ConfirmedModal and ErrorModal, `open` owned by the
|
|
75
|
+
parent. `type` `confirm` (`CORVINA.DIALOG.TYPE`) asks before an action: Cancel then the confirm button, highlight or
|
|
76
|
+
alert with `destructive` (the title too), `loading` while the operation runs (both buttons disabled), `confirmationValue`
|
|
77
|
+
for a text to type before confirming; `confirm` leaves it open, Cancel emits `cancel` and `update:open`. `type` `inform`
|
|
78
|
+
reports a failure: the title in alert, the error illustration, one button that emits `update:open`, and the `details`
|
|
79
|
+
and `actions` slots. `title`, `message` (or the default slot), `confirmLabel`, `cancelLabel`, `maxWidth` (290 and 550
|
|
80
|
+
by default). In the web components the dialog stays in the shadow root.
|
|
81
|
+
- `CvSnackbar` (`<cv-snackbar>`): frontend-new's snackbar, `open` owned by the parent. `type` (`CORVINA.SNACKBAR.TYPE`)
|
|
82
|
+
`success`, `warning` or `error` sets the colour, `position` (`CORVINA.SNACKBAR.POSITION`) `bottom` or `top`; `title`,
|
|
83
|
+
`message`, a default slot below them. The close button (`closeLabel`) and the end of `timeout` (5000 ms, `-1` to stay)
|
|
84
|
+
emit `update:open` with `false`. In the web components it stays in the shadow root.
|
|
85
|
+
- Form fields, the look of frontend-new's side panel fields: `CvTextField` (`<cv-text-field>`; `type`
|
|
86
|
+
`CORVINA.FIELD.TYPE` `text`, `password` with the button that shows it, or `number`, which holds a number; `loading`,
|
|
87
|
+
`clearable`, `min`, `max`), `CvTextarea` (`<cv-textarea>`; `rows`, `autoGrow`, `noResize`), `CvCheckbox`
|
|
88
|
+
(`<cv-checkbox>`), `CvSwitch` (`<cv-switch>`) and `CvRadioGroup` (`<cv-radio-group>`; `items`
|
|
89
|
+
`CORVINA.FIELD.ITEM[]`, `inline`). Each has `modelValue` (`v-model`), `label`, `placeholder` (text fields), `help`
|
|
90
|
+
(the (?) with its tooltip), `disabled` (g4) with `disabledReason` (the tooltip that says why), `readonly`, `rules`
|
|
91
|
+
(`CORVINA.FIELD.RULE[]`), `errorMessages` and `hideDetails`. A `v-form` of the page sees them (Vue); in the web
|
|
92
|
+
components each field emits `update:valid` and has the methods `validate()`, `reset()` and `resetValidation()`.
|
|
93
|
+
`CvSelect` has them too (see the breaking changes), with `multiple` and `clearable`.
|
|
94
|
+
- `CvAutocomplete` (`<cv-autocomplete>`): a `CvSelect` that filters its `items` on what is typed (INPUT-2), or with a
|
|
95
|
+
`searchFunction` (`CORVINA.FIELD.SEARCH`, `(search, page) => items`, as the breadcrumb's autocomplete filters) searches
|
|
96
|
+
on the server, the next pages at the end of the menu. `noDataText`, `loadingText`.
|
|
97
|
+
- `CvButton` `disabledReason`: while the button is disabled, its tooltip says why (STATE-2), in place of `tooltip`.
|
|
98
|
+
- `CvTable` row buttons (`CORVINA.TABLE.PropButtonEntry`): `disabled`, with `disabledReason` for the tooltip, and
|
|
99
|
+
`dataQa`. Menu entries (`MenuPropEntry`) have `disabledReason` too. Each row has its own buttons: the `ROW_ACTIONS`
|
|
100
|
+
stories leave out what the user may never do (STATE-1), disable with the reason what the row does not allow
|
|
101
|
+
(STATE-2), and put View in the slot of Edit for a read-only user (STATE-4).
|
|
102
|
+
- `CvBreadcrumb` sort, as in frontend-new: `allowedSorts` (`CORVINA.BREADCRUMB.SORT_BY[]`) shows a sort dropdown
|
|
103
|
+
and the direction button after the slot, `sort` (`CORVINA.BREADCRUMB.SORT`, `key` and `desc`) owned by the parent
|
|
104
|
+
(`update:sort`), `sortPlaceholder`. Without `allowedSorts` there is no sort.
|
|
105
|
+
- `CvBreadcrumb` `filterBy`: the `key` of the filter selected in the filter key dropdown, selected again when
|
|
106
|
+
`allowedFilters` change (e.g. on another tab).
|
|
28
107
|
|
|
29
108
|
Fixed:
|
|
30
109
|
|
|
110
|
+
- The icon buttons of `CvTable` and `CvBreadcrumb` no longer submit a form they are in (`type="button"`).
|
|
111
|
+
- `CvBreadcrumb`: a filter key selected in the dropdown is dropped when `allowedFilters` no longer contain it.
|
|
112
|
+
- `CvBreadcrumb` looks like frontend-new's breadcrumb: full-height light dividers (`CvBreadcrumbDivider` too,
|
|
113
|
+
was a 25px dark line), the filter area 860px wide and starting with a divider, the filter key dropdown 13em on the
|
|
114
|
+
g1 background without the underline, the filter value field 16px from it.
|
|
115
|
+
- `CvTable` rows are highlighted on hover (Vuetify's standard `hover`), the expanded content is not, as in
|
|
116
|
+
frontend-new; the items-per-page select of the footer is underlined, with "Rows per page:" (Vuetify's
|
|
117
|
+
`dataTable.itemsPerPageText`, translated) and the selected value of its menu in the highlight color, as in
|
|
118
|
+
frontend-new.
|
|
119
|
+
- Scrollbars as in frontend-new: thin, a highlight thumb on g1, in every component (the `custom-scrollbars` class
|
|
120
|
+
on their root, also in the package CSS for the app's own containers).
|
|
31
121
|
- Type declarations: relative imports have the `.js` extension, so they resolve with TypeScript
|
|
32
122
|
`moduleResolution` `node16`/`nodenext` too (the package is now `"type": "module"`).
|
|
33
123
|
- `AutocompleteFilter` (breadcrumb and table filters) threw on focus (Vuetify 2 API): the menu now opens on focus.
|
|
124
|
+
- Infinite scroll of the autocomplete filters (breadcrumb and table): no page is requested while one is loading. Two
|
|
125
|
+
pages requested together became one fetch (it is debounced) and a page of results was skipped. The next page is
|
|
126
|
+
requested when the end of the menu is visible, while scrolling: all the pages were requested one after the other
|
|
127
|
+
when the menu opened (the end of the list was checked against the window). The spinner has the primary color in the
|
|
128
|
+
web components too (was black).
|
|
129
|
+
- `AutocompleteFilter` imports `VCombobox` from `vuetify/components/VCombobox`, not from the `vuetify/components`
|
|
130
|
+
barrel: an app whose Vite dev server does not pre-bundle Vuetify loaded every Vuetify component (a Log page with
|
|
131
|
+
the breadcrumb: 777 → 484 module requests).
|
|
34
132
|
- Breadcrumb filter chip arrows are 25px as in the web components (the Vuetify 52px rule won before).
|
|
35
133
|
- The package only contains the files it needs (61 → 27): no type declarations of internal modules or of the web
|
|
36
134
|
components entry, no favicon and logo.
|
|
135
|
+
- No dependencies besides the peer ones: the infinite scroll of the autocomplete filters no longer uses
|
|
136
|
+
`v3-infinite-loading` (declared, and bundled too), `lodash-es` (for `debounce`) and `webfontloader` are no longer
|
|
137
|
+
bundled (JS -23 KB, gzip -7 KB).
|
|
138
|
+
- `loadFonts()` adds a `<link>` to the Google Fonts css2 API (Roboto, Material Symbols) instead of using
|
|
139
|
+
webfontloader: the `wf-loading`/`wf-active` classes are no longer set on `<html>`.
|
|
140
|
+
- Types: the props with a default are optional (`CvTable` `headers`, `items`, `itemsPerPage`, `currentPage`,
|
|
141
|
+
`itemsLength`; `CvTabs` `tabs`; `CvBreadcrumb` `icon`, `path`; `CvIcon` `icon`). The `searchFunction` of the
|
|
142
|
+
breadcrumb filters and `CORVINA.FIELD.SEARCH` return `unknown[]`, the `props` of the custom cell, header and filter
|
|
143
|
+
components are `Record<string, unknown>` (were `any`): the app's own types fit them as before.
|
|
37
144
|
|
|
38
|
-
### `@corvina/web-components-library` (from 0.2.
|
|
145
|
+
### `@corvina/web-components-library` (from 0.2.4)
|
|
39
146
|
|
|
40
|
-
-
|
|
41
|
-
|
|
42
|
-
-
|
|
147
|
+
- `<cv-select>`: `modelValue` and `update:modelValue` (were `model` and `update:model`), and the other changes of
|
|
148
|
+
`CvSelect` in the Vue package.
|
|
149
|
+
- The elements are `<cv-table>`, `<cv-button>`, ... (were `<corvina-table>`, ...): the fourth parameter of
|
|
150
|
+
`initCorvinaComponents(locale, shouldLoadTheme, shouldLoadFonts, prefix)` is the start of the tags, `'corvina'` for
|
|
151
|
+
the 0.x ones. The VS Code custom data lists the `cv-` tags.
|
|
152
|
+
- Vuetify 4 and Vue 3.5 bundled (were Vuetify 3.7 and Vue 3.5). JS 1.06 → 1.38 MB (gzip 265 → 344 KB),
|
|
153
|
+
mostly Vuetify 4 itself (its date picker for `CvDateRange` included).
|
|
154
|
+
- Runs on the browsers listed above (Browsers): 0.2.4 was transpiled to ES2016.
|
|
155
|
+
- No dependencies declared: Vue, Vuetify and the other libraries are bundled (0.2.4 declared `vue` and
|
|
43
156
|
`vuetify` 3, installed without being used).
|
|
44
157
|
- The bundle runs without a bundler (`<script type="module">`): `process` is no longer referenced.
|
|
158
|
+
- `v3-infinite-loading`, `lodash-es` and `webfontloader` are no longer bundled (ES build -31 KB, gzip -8 KB): the infinite
|
|
159
|
+
scroll and `loadFonts()` changed as in the Vue package.
|
|
45
160
|
- `web-components-library.css` (the page CSS) only has the `--color-*` variables (108 KB → 0.6 KB): no Vuetify
|
|
46
161
|
reset, base or component CSS on the host page anymore (they changed e.g. the `html` font and line height,
|
|
47
162
|
`box-sizing`, buttons and inputs of the page). The palette changed as in the Vue package (#004688 → #496177, ...).
|
|
48
163
|
- The components set their base typography on their host instead of inheriting it from that page CSS:
|
|
49
164
|
`box-sizing: border-box`, `font-family: var(--v-font-body, "Roboto", sans-serif)`, `line-height: 1.5`.
|
|
50
165
|
On a page with its own `body` font the components now use Roboto; to change it, style the element
|
|
51
|
-
(e.g. `
|
|
166
|
+
(e.g. `cv-table { font-family: ... }`).
|
|
167
|
+
- A prop set to `false`, `0` or `''` keeps that value: the element replaced it with the prop's default (e.g.
|
|
168
|
+
`.autoSelect=${false}` on `<cv-select>` gave `true`).
|
|
169
|
+
- `<cv-table>`: its Vuetify CSS is regenerated from the installed Vuetify; `.v-table` had an invalid
|
|
170
|
+
`font-size: .75rrem` (now `.75rem`, 12px, as the cells).
|
|
52
171
|
- Table footer items-per-page menu attached inside the shadow root without patching Vuetify.
|
|
53
172
|
- The package only contains the files it needs (37 → 13): no type declarations of internal modules, no
|
|
54
173
|
favicon and logo.
|
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
|
|
@@ -35,6 +36,10 @@ createApp(App)
|
|
|
35
36
|
.mount('#app')
|
|
36
37
|
```
|
|
37
38
|
|
|
39
|
+
The components are registered as `CvTable`, `CvButton`, ... (`<cv-table>` in templates). An app moving from the 0.x
|
|
40
|
+
names registers them with its own prefix, e.g. `.use(CorvinaComponents, { prefix: 'corvina' })` for `CorvinaTable`
|
|
41
|
+
(`<corvina-table>`), and renames its templates later.
|
|
42
|
+
|
|
38
43
|
The components use the Vuetify instance and the Vuetify CSS of the application:
|
|
39
44
|
|
|
40
45
|
- import `vuetify/styles` where you create the Vuetify instance;
|
|
@@ -57,6 +62,7 @@ The components use the Vuetify instance and the Vuetify CSS of the application:
|
|
|
57
62
|
icons: { defaultSet: 'md', aliases, sets: { md, ecc } },
|
|
58
63
|
})
|
|
59
64
|
```
|
|
65
|
+
|
|
60
66
|
- the components use the Vuetify defaults of your app (e.g. the `variant` of fields), not the ones of
|
|
61
67
|
the web components;
|
|
62
68
|
- to get the Corvina look, build the Vuetify styles with the library settings
|
|
@@ -102,7 +108,7 @@ import "@corvina/vue-components-library/icons-corvina-classes-font-face.css"
|
|
|
102
108
|
The package ships type declarations that register the components installed by `app.use(CorvinaComponents)`
|
|
103
109
|
as global components (`GlobalComponents` augmentation of `vue`), so with the
|
|
104
110
|
[Vue - Official](https://marketplace.visualstudio.com/items?itemName=Vue.volar) extension you get prop
|
|
105
|
-
autocomplete, type checking and ctrl+click on `<
|
|
111
|
+
autocomplete, type checking and ctrl+click on `<CvBreadcrumb>`, `<CvTable>`, ... in templates.
|
|
106
112
|
|
|
107
113
|
The consumer project just needs a `tsconfig.json` (or `jsconfig.json` for JavaScript projects) that includes
|
|
108
114
|
the file importing the library, e.g.:
|
|
@@ -162,6 +168,7 @@ const vuetify = createVuetify({
|
|
|
162
168
|
...
|
|
163
169
|
})
|
|
164
170
|
```
|
|
171
|
+
|
|
165
172
|
To dynamically change the language, use `this.$vuetify.locale.current`.
|
|
166
173
|
|
|
167
174
|
For example, in the Corvina application:
|
|
@@ -170,5 +177,3 @@ For example, in the Corvina application:
|
|
|
170
177
|
this.$i18n.locale = locale?.replace('_', '-') || "en-US";
|
|
171
178
|
this.$vuetify.locale.current = this.$i18n.locale?.split('-')[0] || "en";
|
|
172
179
|
```
|
|
173
|
-
|
|
174
|
-
|
|
@@ -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
|
+
disabledReason: string;
|
|
55
|
+
searchFunction: CORVINA.FIELD.SEARCH;
|
|
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,7 +1,7 @@
|
|
|
1
1
|
import { CORVINA } from '../index.js';
|
|
2
2
|
export interface Props {
|
|
3
|
-
icon
|
|
4
|
-
path
|
|
3
|
+
icon?: string;
|
|
4
|
+
path?: Array<string | {
|
|
5
5
|
text: string;
|
|
6
6
|
onClick: Function;
|
|
7
7
|
}>;
|
|
@@ -15,8 +15,12 @@ export interface Props {
|
|
|
15
15
|
filterChipsLoadingText?: string;
|
|
16
16
|
filterChipsNoDataText?: string;
|
|
17
17
|
allowedFilters?: Array<CORVINA.BREADCRUMB.FILTER_BY>;
|
|
18
|
+
filterBy?: string;
|
|
18
19
|
filters?: Array<CORVINA.BREADCRUMB.FILTER>;
|
|
19
20
|
filtersCustomComponent?: CORVINA.BREADCRUMB.CUSTOM_VUE_COMPONENT;
|
|
21
|
+
allowedSorts?: Array<CORVINA.BREADCRUMB.SORT_BY>;
|
|
22
|
+
sort?: CORVINA.BREADCRUMB.SORT | null;
|
|
23
|
+
sortPlaceholder?: string;
|
|
20
24
|
}
|
|
21
25
|
declare const _default: typeof __VLS_export;
|
|
22
26
|
export default _default;
|
|
@@ -25,13 +29,16 @@ declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<Props,
|
|
|
25
29
|
"update:filters": (value: CORVINA.BREADCRUMB.FILTER[]) => any;
|
|
26
30
|
"update:filterBy": (value: CORVINA.BREADCRUMB.FILTER_BY) => any;
|
|
27
31
|
"update:activeControl": (value: CORVINA.BREADCRUMB.ACTIVE_CONTROL) => any;
|
|
32
|
+
"update:sort": (value: CORVINA.BREADCRUMB.SORT) => any;
|
|
28
33
|
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
29
34
|
"onUpdate:searchModel"?: ((value: string) => any) | undefined;
|
|
30
35
|
"onUpdate:filters"?: ((value: CORVINA.BREADCRUMB.FILTER[]) => any) | undefined;
|
|
31
36
|
"onUpdate:filterBy"?: ((value: CORVINA.BREADCRUMB.FILTER_BY) => any) | undefined;
|
|
32
37
|
"onUpdate:activeControl"?: ((value: CORVINA.BREADCRUMB.ACTIVE_CONTROL) => any) | undefined;
|
|
38
|
+
"onUpdate:sort"?: ((value: CORVINA.BREADCRUMB.SORT) => any) | undefined;
|
|
33
39
|
}>, {
|
|
34
40
|
icon: string;
|
|
41
|
+
sort: CORVINA.BREADCRUMB.SORT | null;
|
|
35
42
|
filters: CORVINA.BREADCRUMB.FILTER[];
|
|
36
43
|
path: (string | {
|
|
37
44
|
text: string;
|
|
@@ -48,6 +55,9 @@ declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<Props,
|
|
|
48
55
|
allowedFilters: CORVINA.BREADCRUMB.FILTER_BY[];
|
|
49
56
|
filtersCustomComponent: CORVINA.BREADCRUMB.CUSTOM_VUE_COMPONENT;
|
|
50
57
|
activeControl: CORVINA.BREADCRUMB.ACTIVE_CONTROL;
|
|
58
|
+
filterBy: string;
|
|
59
|
+
allowedSorts: CORVINA.BREADCRUMB.SORT_BY[];
|
|
60
|
+
sortPlaceholder: string;
|
|
51
61
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
52
62
|
default?: (props: {}) => any;
|
|
53
63
|
}>;
|
|
@@ -56,4 +66,4 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
56
66
|
$slots: S;
|
|
57
67
|
};
|
|
58
68
|
};
|
|
59
|
-
//# sourceMappingURL=
|
|
69
|
+
//# sourceMappingURL=CvBreadcrumb.ce.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
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,4 +1,4 @@
|
|
|
1
1
|
declare const __VLS_export: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
2
|
declare const _default: typeof __VLS_export;
|
|
3
3
|
export default _default;
|
|
4
|
-
//# sourceMappingURL=
|
|
4
|
+
//# sourceMappingURL=CvBreadcrumbDivider.ce.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -7,6 +7,7 @@ export interface Props {
|
|
|
7
7
|
dataQa?: string;
|
|
8
8
|
loading?: boolean;
|
|
9
9
|
disabled?: boolean;
|
|
10
|
+
disabledReason?: string;
|
|
10
11
|
isToggle?: boolean;
|
|
11
12
|
activeTooltip?: string;
|
|
12
13
|
activeText?: string;
|
|
@@ -23,13 +24,14 @@ declare const __VLS_export: import('vue').DefineComponent<Props, {}, {}, {}, {},
|
|
|
23
24
|
onClicked?: ((event: Event) => any) | undefined;
|
|
24
25
|
"onUpdate:activeStatus"?: ((status: boolean) => any) | undefined;
|
|
25
26
|
}>, {
|
|
27
|
+
text: string;
|
|
26
28
|
loading: boolean;
|
|
27
29
|
icon: string;
|
|
28
30
|
disabled: boolean;
|
|
29
|
-
text: string;
|
|
30
31
|
variant: CORVINA.BUTTON.VARIANT;
|
|
31
32
|
dataQa: string;
|
|
32
33
|
activeIcon: string;
|
|
34
|
+
disabledReason: string;
|
|
33
35
|
isToggle: boolean;
|
|
34
36
|
tooltip: string;
|
|
35
37
|
activeTooltip: string;
|
|
@@ -37,4 +39,4 @@ declare const __VLS_export: import('vue').DefineComponent<Props, {}, {}, {}, {},
|
|
|
37
39
|
activeStatus: boolean;
|
|
38
40
|
tooltipLocation: CORVINA.TOOLTIP_LOCATION;
|
|
39
41
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
40
|
-
//# sourceMappingURL=
|
|
42
|
+
//# sourceMappingURL=CvButton.ce.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CvButton.ce.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CvButton.ce.vue"],"names":[],"mappings":"AAmFA;AAqMA,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,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,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;;;;;;;;;;;;;;;;;;;;;6EAgUd,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"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { CORVINA } from '../index.js';
|
|
2
|
+
interface Props {
|
|
3
|
+
model?: CORVINA.DATE_RANGE.RANGE | null;
|
|
4
|
+
presets?: CORVINA.DATE_RANGE.PRESET[];
|
|
5
|
+
startLabel?: string;
|
|
6
|
+
endLabel?: string;
|
|
7
|
+
separator?: string;
|
|
8
|
+
min?: string;
|
|
9
|
+
max?: string;
|
|
10
|
+
firstDayOfWeek?: number;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
}
|
|
13
|
+
declare const __VLS_export: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
14
|
+
"update:model": (value: CORVINA.DATE_RANGE.RANGE | null) => any;
|
|
15
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
16
|
+
"onUpdate:model"?: ((value: CORVINA.DATE_RANGE.RANGE | null) => any) | undefined;
|
|
17
|
+
}>, {
|
|
18
|
+
disabled: boolean;
|
|
19
|
+
max: string;
|
|
20
|
+
min: string;
|
|
21
|
+
model: CORVINA.DATE_RANGE.RANGE | null;
|
|
22
|
+
presets: CORVINA.DATE_RANGE.PRESET[];
|
|
23
|
+
startLabel: string;
|
|
24
|
+
endLabel: string;
|
|
25
|
+
separator: string;
|
|
26
|
+
firstDayOfWeek: number;
|
|
27
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
28
|
+
declare const _default: typeof __VLS_export;
|
|
29
|
+
export default _default;
|
|
30
|
+
//# sourceMappingURL=CvDateRange.ce.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { CORVINA } from '../index.js';
|
|
2
|
+
interface Props {
|
|
3
|
+
open?: boolean;
|
|
4
|
+
type?: CORVINA.DIALOG.TYPE;
|
|
5
|
+
title?: string;
|
|
6
|
+
message?: string;
|
|
7
|
+
destructive?: boolean;
|
|
8
|
+
loading?: boolean;
|
|
9
|
+
confirmationValue?: string;
|
|
10
|
+
confirmLabel?: string;
|
|
11
|
+
cancelLabel?: string;
|
|
12
|
+
maxWidth?: number | string;
|
|
13
|
+
}
|
|
14
|
+
declare var __VLS_13: {}, __VLS_15: {}, __VLS_25: {}, __VLS_27: {};
|
|
15
|
+
type __VLS_Slots = {} & {
|
|
16
|
+
default?: (props: typeof __VLS_13) => any;
|
|
17
|
+
} & {
|
|
18
|
+
details?: (props: typeof __VLS_15) => any;
|
|
19
|
+
} & {
|
|
20
|
+
actions?: (props: typeof __VLS_25) => any;
|
|
21
|
+
} & {
|
|
22
|
+
default?: (props: typeof __VLS_27) => any;
|
|
23
|
+
};
|
|
24
|
+
declare const __VLS_base: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
25
|
+
confirm: () => any;
|
|
26
|
+
cancel: () => any;
|
|
27
|
+
"update:open": (value: boolean) => any;
|
|
28
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
29
|
+
onConfirm?: (() => any) | undefined;
|
|
30
|
+
onCancel?: (() => any) | undefined;
|
|
31
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
32
|
+
}>, {
|
|
33
|
+
loading: boolean;
|
|
34
|
+
type: CORVINA.DIALOG.TYPE;
|
|
35
|
+
title: string;
|
|
36
|
+
maxWidth: string | number;
|
|
37
|
+
open: boolean;
|
|
38
|
+
message: string;
|
|
39
|
+
confirmLabel: string;
|
|
40
|
+
cancelLabel: string;
|
|
41
|
+
destructive: boolean;
|
|
42
|
+
confirmationValue: string;
|
|
43
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
44
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
45
|
+
declare const _default: typeof __VLS_export;
|
|
46
|
+
export default _default;
|
|
47
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
48
|
+
new (): {
|
|
49
|
+
$slots: S;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
//# sourceMappingURL=CvDialog.ce.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
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
|
-
//# sourceMappingURL=
|
|
14
|
+
//# sourceMappingURL=CvIcon.ce.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { CORVINA } from '../index.js';
|
|
2
|
+
interface Props {
|
|
3
|
+
identifier?: string | number;
|
|
4
|
+
retryLabel?: string;
|
|
5
|
+
}
|
|
6
|
+
type __VLS_Slots = {
|
|
7
|
+
spinner?: () => unknown;
|
|
8
|
+
complete?: () => unknown;
|
|
9
|
+
error?: (props: {
|
|
10
|
+
retry: () => void;
|
|
11
|
+
retryLabel: string;
|
|
12
|
+
}) => unknown;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_base: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
15
|
+
infinite: ($state: CORVINA.INFINITE_LOADER.StateHandler) => any;
|
|
16
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
17
|
+
onInfinite?: (($state: CORVINA.INFINITE_LOADER.StateHandler) => any) | undefined;
|
|
18
|
+
}>, {
|
|
19
|
+
identifier: string | number;
|
|
20
|
+
retryLabel: string;
|
|
21
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
22
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
23
|
+
declare const _default: typeof __VLS_export;
|
|
24
|
+
export default _default;
|
|
25
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
26
|
+
new (): {
|
|
27
|
+
$slots: S;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=CvInfiniteLoader.ce.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|