@corvina/vue-components-library 1.0.0-beta.7 → 1.0.0-beta.8
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 +36 -16
- package/README.md +5 -1
- package/components/{CorvinaBreadcrumb.ce.vue.d.ts → CvBreadcrumb.ce.vue.d.ts} +1 -1
- 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} +1 -1
- package/components/CvButton.ce.vue.d.ts.map +1 -0
- package/components/{CorvinaDateRange.ce.vue.d.ts → CvDateRange.ce.vue.d.ts} +1 -1
- 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} +1 -1
- package/components/CvIcon.ce.vue.d.ts.map +1 -0
- package/components/{CorvinaInfiniteLoader.ce.vue.d.ts → CvInfiniteLoader.ce.vue.d.ts} +1 -1
- 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/{CorvinaSelect.ce.vue.d.ts → CvSelect.ce.vue.d.ts} +1 -1
- package/components/CvSelect.ce.vue.d.ts.map +1 -0
- package/components/{CorvinaTable.ce.vue.d.ts → CvTable.ce.vue.d.ts} +1 -1
- package/components/CvTable.ce.vue.d.ts.map +1 -0
- package/components/{CorvinaTabs.ce.vue.d.ts → CvTabs.ce.vue.d.ts} +1 -1
- package/components/CvTabs.ce.vue.d.ts.map +1 -0
- package/index.d.ts +29 -4
- package/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/vue-components-library.css +1 -1
- package/vue-components-library.es.js +959 -533
- package/vue-components.d.ts +50 -22
- 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/CorvinaDateRange.ce.vue.d.ts.map +0 -1
- package/components/CorvinaHelpPanel.ce.vue.d.ts +0 -27
- package/components/CorvinaHelpPanel.ce.vue.d.ts.map +0 -1
- package/components/CorvinaIcon.ce.vue.d.ts.map +0 -1
- package/components/CorvinaInfiniteLoader.ce.vue.d.ts.map +0 -1
- package/components/CorvinaSelect.ce.vue.d.ts.map +0 -1
- package/components/CorvinaTable.ce.vue.d.ts.map +0 -1
- package/components/CorvinaTabs.ce.vue.d.ts.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -14,6 +14,10 @@ are kept).
|
|
|
14
14
|
|
|
15
15
|
Breaking changes:
|
|
16
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.
|
|
17
21
|
- `vue` (^3.5) and `vuetify` (^4.3) are peer dependencies, provided by the app: the package no longer
|
|
18
22
|
bundles Vuetify 3 (JS 554 → 188 KB, gzip 160 → 71 KB; the ExorFontIcon font is in it as a data URL).
|
|
19
23
|
- Modern syntax (see Browsers above): an app that targets older browsers transpiles the package with its
|
|
@@ -27,7 +31,7 @@ Breaking changes:
|
|
|
27
31
|
- The components use the Vuetify defaults of the app (e.g. the `variant` of fields), not the library ones.
|
|
28
32
|
- `--color-*` variables: the package CSS now has the components' palette (`--color-primary` #496177,
|
|
29
33
|
`--color-highlight` #01a3dd, ...). 0.2.4 ended with an older palette (#004688, #00b0c7, ...).
|
|
30
|
-
- `
|
|
34
|
+
- `CvTable` (paginated) is as tall as its rows, at most as its container, as in frontend-new: with few rows the
|
|
31
35
|
footer follows the last one, with more than fit it stays at the bottom while the rows scroll. It no longer fills
|
|
32
36
|
its container with a white area (`style="height: 100%"` on the root and on the `v-data-table-server` are gone).
|
|
33
37
|
A container that sizes the table with `height` keeps working; a flex container needs `min-height: 0` on its
|
|
@@ -36,38 +40,51 @@ Breaking changes:
|
|
|
36
40
|
Added:
|
|
37
41
|
|
|
38
42
|
- `./settings.scss` export (Vuetify Sass settings of the library).
|
|
39
|
-
- `
|
|
43
|
+
- `CvTable` cell slots `item.<key>` (as in Vuetify's tables): a column's cells written in the template,
|
|
40
44
|
with `item`, `value`, `index` and `column` (`CORVINA.TABLE.CellSlotProps`). The slot replaces the content of the
|
|
41
45
|
column's `type`, now optional in `TableHeaderEntry`. Columns without a slot render as before.
|
|
42
|
-
- `
|
|
46
|
+
- `CvTabs` (`<cv-tabs>`): the tabs of a page with the Corvina look, `tabs` (`CORVINA.TABS.TAB[]`) and
|
|
43
47
|
`selected` owned by the parent (`update:selected` on a click), a content for each tab in the `tab.<value>` slots
|
|
44
48
|
(only the selected one is shown; web components: `slot="tab.<value>"` children), or one in the default slot, and
|
|
45
49
|
actions on the right of the bar in the `append` slot.
|
|
46
|
-
- `
|
|
50
|
+
- `CvDateRange` (`<cv-date-range>`): a range of days for the breadcrumb, `model` (`CORVINA.DATE_RANGE.RANGE`,
|
|
47
51
|
ISO days) owned by the parent (`update:model` from the accept button), `presets` (`CORVINA.DATE_RANGE.PRESET[]`) and
|
|
48
52
|
the start and end calendars; highlighted while a range is set, underlined as frontend-new's field (highlight color
|
|
49
53
|
on hover; the text from the start of the underline, both 16px in while a range is set).
|
|
50
|
-
- `
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
the
|
|
54
|
-
|
|
54
|
+
- `CvPanel` (`<cv-panel>`): the panels of frontend-new, `open` owned by the parent. `position` (`CORVINA.PANEL.POSITION`)
|
|
55
|
+
`right` (full height, `width` 340 by default, at most 75% of the window) or `bottom` (the lower half of the window).
|
|
56
|
+
`type` (`CORVINA.PANEL.TYPE`) `edit` creates or edits: a fixed header with the icon, `operation` over `title`, the
|
|
57
|
+
help button, cancel and confirm (OperationalComponent), the body scrolling under it; `confirm` leaves it open,
|
|
58
|
+
cancel emits `cancel` and `update:open`; `confirmDisabled`, `loading` (cancel and the body locked), `collapsed` (only
|
|
59
|
+
the header, in the bottom corner); the `help` slot opens on the left of the panel, the `actions` slot adds buttons to
|
|
60
|
+
the header. `type` `help` explains: the help icon, `title` and Close (`update:open`), the help in the default slot
|
|
61
|
+
with the docs look (in the web components the slotted content keeps the page's styles). Replaces `CvHelpPanel`
|
|
62
|
+
(`<cv-help-panel>`) of the betas: `<CvPanel position="bottom" type="help">`, same `title`, `closeLabel` and
|
|
63
|
+
`data-qa`.
|
|
64
|
+
- `CvInfiniteLoader` (`<cv-infinite-loader>`): the infinite scroll of the autocomplete filters, for the app's
|
|
55
65
|
own lists. It emits `infinite` (`$state`: `CORVINA.INFINITE_LOADER.StateHandler`) when it is visible in its scrolling
|
|
56
66
|
container, not again while a page loads; `loaded()`, `complete()` (stops it) and `error()` (retry button, `retryLabel`);
|
|
57
67
|
`identifier` starts it again from the first page. Slots `spinner`, `complete` and `error` (Vue: with `retry`).
|
|
58
|
-
- `
|
|
68
|
+
- `CvDialog` (`<cv-dialog>`): the dialogs of frontend-new's ConfirmedModal and ErrorModal, `open` owned by the
|
|
69
|
+
parent. `type` `confirm` (`CORVINA.DIALOG.TYPE`) asks before an action: Cancel then the confirm button, highlight or
|
|
70
|
+
alert with `destructive` (the title too), `loading` while the operation runs (both buttons disabled), `confirmationValue`
|
|
71
|
+
for a text to type before confirming; `confirm` leaves it open, Cancel emits `cancel` and `update:open`. `type` `inform`
|
|
72
|
+
reports a failure: the title in alert, the error illustration, one button that emits `update:open`, and the `details`
|
|
73
|
+
and `actions` slots. `title`, `message` (or the default slot), `confirmLabel`, `cancelLabel`, `maxWidth` (290 and 550
|
|
74
|
+
by default). In the web components the dialog stays in the shadow root.
|
|
75
|
+
- `CvBreadcrumb` sort, as in frontend-new: `allowedSorts` (`CORVINA.BREADCRUMB.SORT_BY[]`) shows a sort dropdown
|
|
59
76
|
and the direction button after the slot, `sort` (`CORVINA.BREADCRUMB.SORT`, `key` and `desc`) owned by the parent
|
|
60
77
|
(`update:sort`), `sortPlaceholder`. Without `allowedSorts` there is no sort.
|
|
61
|
-
- `
|
|
78
|
+
- `CvBreadcrumb` `filterBy`: the `key` of the filter selected in the filter key dropdown, selected again when
|
|
62
79
|
`allowedFilters` change (e.g. on another tab).
|
|
63
80
|
|
|
64
81
|
Fixed:
|
|
65
82
|
|
|
66
|
-
- `
|
|
67
|
-
- `
|
|
83
|
+
- `CvBreadcrumb`: a filter key selected in the dropdown is dropped when `allowedFilters` no longer contain it.
|
|
84
|
+
- `CvBreadcrumb` looks like frontend-new's breadcrumb: full-height light dividers (`CvBreadcrumbDivider` too,
|
|
68
85
|
was a 25px dark line), the filter area 860px wide and starting with a divider, the filter key dropdown 13em on the
|
|
69
86
|
g1 background without the underline, the filter value field 16px from it.
|
|
70
|
-
- `
|
|
87
|
+
- `CvTable` rows are highlighted on hover (Vuetify's standard `hover`), the expanded content is not, as in
|
|
71
88
|
frontend-new; the items-per-page select of the footer is underlined, with "Rows per page:" (Vuetify's
|
|
72
89
|
`dataTable.itemsPerPageText`, translated) and the selected value of its menu in the highlight color, as in
|
|
73
90
|
frontend-new.
|
|
@@ -95,8 +112,11 @@ Fixed:
|
|
|
95
112
|
|
|
96
113
|
### `@corvina/web-components-library` (from 0.2.4)
|
|
97
114
|
|
|
115
|
+
- The elements are `<cv-table>`, `<cv-button>`, ... (were `<corvina-table>`, ...): the fourth parameter of
|
|
116
|
+
`initCorvinaComponents(locale, shouldLoadTheme, shouldLoadFonts, prefix)` is the start of the tags, `'corvina'` for
|
|
117
|
+
the 0.x ones. The VS Code custom data lists the `cv-` tags.
|
|
98
118
|
- 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),
|
|
99
|
-
mostly Vuetify 4 itself (its date picker for `
|
|
119
|
+
mostly Vuetify 4 itself (its date picker for `CvDateRange` included).
|
|
100
120
|
- Runs on the browsers listed above (Browsers): 0.2.4 was transpiled to ES2016.
|
|
101
121
|
- No dependencies declared: Vue, Vuetify and the other libraries are bundled (0.2.4 declared `vue` and
|
|
102
122
|
`vuetify` 3, installed without being used).
|
|
@@ -109,7 +129,7 @@ Fixed:
|
|
|
109
129
|
- The components set their base typography on their host instead of inheriting it from that page CSS:
|
|
110
130
|
`box-sizing: border-box`, `font-family: var(--v-font-body, "Roboto", sans-serif)`, `line-height: 1.5`.
|
|
111
131
|
On a page with its own `body` font the components now use Roboto; to change it, style the element
|
|
112
|
-
(e.g. `
|
|
132
|
+
(e.g. `cv-table { font-family: ... }`).
|
|
113
133
|
- Table footer items-per-page menu attached inside the shadow root without patching Vuetify.
|
|
114
134
|
- The package only contains the files it needs (37 → 13): no type declarations of internal modules, no
|
|
115
135
|
favicon and logo.
|
package/README.md
CHANGED
|
@@ -35,6 +35,10 @@ createApp(App)
|
|
|
35
35
|
.mount('#app')
|
|
36
36
|
```
|
|
37
37
|
|
|
38
|
+
The components are registered as `CvTable`, `CvButton`, ... (`<cv-table>` in templates). An app moving from the 0.x
|
|
39
|
+
names registers them with its own prefix, e.g. `.use(CorvinaComponents, { prefix: 'corvina' })` for `CorvinaTable`
|
|
40
|
+
(`<corvina-table>`), and renames its templates later.
|
|
41
|
+
|
|
38
42
|
The components use the Vuetify instance and the Vuetify CSS of the application:
|
|
39
43
|
|
|
40
44
|
- import `vuetify/styles` where you create the Vuetify instance;
|
|
@@ -102,7 +106,7 @@ import "@corvina/vue-components-library/icons-corvina-classes-font-face.css"
|
|
|
102
106
|
The package ships type declarations that register the components installed by `app.use(CorvinaComponents)`
|
|
103
107
|
as global components (`GlobalComponents` augmentation of `vue`), so with the
|
|
104
108
|
[Vue - Official](https://marketplace.visualstudio.com/items?itemName=Vue.volar) extension you get prop
|
|
105
|
-
autocomplete, type checking and ctrl+click on `<
|
|
109
|
+
autocomplete, type checking and ctrl+click on `<CvBreadcrumb>`, `<CvTable>`, ... in templates.
|
|
106
110
|
|
|
107
111
|
The consumer project just needs a `tsconfig.json` (or `jsconfig.json` for JavaScript projects) that includes
|
|
108
112
|
the file importing the library, e.g.:
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CvBreadcrumb.ce.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CvBreadcrumb.ce.vue"],"names":[],"mappings":"AAwLA;AA0eA,OAAO,EAAC,OAAO,EAAC,MAAM,SAAS,CAAA;AAG/B,MAAM,WAAW,KAAK;IACpB,IAAI,EAAE,MAAM,CAAC;IAEb,IAAI,EAAE,KAAK,CAAC,MAAM,GAAG;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,QAAQ,CAAA;KAAE,CAAC,CAAC;IAC1D,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;;;;;;;;;;;;;;;;;cAxBa,MAAM;iBAAW,QAAQ;;;;;;;;;;;;;;;;;cAu5B1C,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":"AA4BA,QAAA,MAAM,YAAY,+QAChB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -37,4 +37,4 @@ declare const __VLS_export: import('vue').DefineComponent<Props, {}, {}, {}, {},
|
|
|
37
37
|
activeStatus: boolean;
|
|
38
38
|
tooltipLocation: CORVINA.TOOLTIP_LOCATION;
|
|
39
39
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
40
|
-
//# sourceMappingURL=
|
|
40
|
+
//# 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":"AAoFA;AAsLA,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;wBAIoB,OAAO,YAAY;AAAxC,wBAAyC;AACzC,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;6EA4Sd,CAAC"}
|
|
@@ -27,4 +27,4 @@ declare const __VLS_export: import('vue').DefineComponent<Props, {}, {}, {}, {},
|
|
|
27
27
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
28
28
|
declare const _default: typeof __VLS_export;
|
|
29
29
|
export default _default;
|
|
30
|
-
//# sourceMappingURL=
|
|
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":"AAyEA;AAgKA,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;AA6XD,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":"AAoFA;AA4JA,OAAO,EAAE,OAAO,EAAE,MAAM,SAA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@ declare const __VLS_export: import('vue').DefineComponent<Props, {}, {}, {}, {},
|
|
|
10
10
|
icon: string;
|
|
11
11
|
size: string | number;
|
|
12
12
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
13
|
-
//# sourceMappingURL=
|
|
13
|
+
//# 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":"AAOA;AAuCE,OAAO,EAAC,OAAO,EAAC,MAAM,SAAS,CAAA;AAE/B,UAAU,KAAK;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,GAAC,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,OAAO,CAAC,KAAK,CAAA;CACtB;wBACkB,OAAO,YAAY;AAAxC,wBAAyC;AACzC,QAAA,MAAM,YAAY;;;6EA4Cd,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CvInfiniteLoader.ce.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CvInfiniteLoader.ce.vue"],"names":[],"mappings":"AAOA;AA4CA,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;AAYD,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;AAmFF,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,60 @@
|
|
|
1
|
+
import { CORVINA } from '../index.js';
|
|
2
|
+
interface Props {
|
|
3
|
+
open?: boolean;
|
|
4
|
+
position?: CORVINA.PANEL.POSITION;
|
|
5
|
+
type?: CORVINA.PANEL.TYPE;
|
|
6
|
+
title?: string;
|
|
7
|
+
operation?: string;
|
|
8
|
+
icon?: string;
|
|
9
|
+
width?: number;
|
|
10
|
+
loading?: boolean;
|
|
11
|
+
confirmDisabled?: boolean;
|
|
12
|
+
collapsed?: boolean;
|
|
13
|
+
confirmLabel?: string;
|
|
14
|
+
cancelLabel?: string;
|
|
15
|
+
helpLabel?: string;
|
|
16
|
+
helpTitle?: string;
|
|
17
|
+
closeLabel?: string;
|
|
18
|
+
}
|
|
19
|
+
declare var __VLS_11: {}, __VLS_24: {}, __VLS_78: {};
|
|
20
|
+
type __VLS_Slots = {} & {
|
|
21
|
+
help?: (props: typeof __VLS_11) => any;
|
|
22
|
+
} & {
|
|
23
|
+
actions?: (props: typeof __VLS_24) => any;
|
|
24
|
+
} & {
|
|
25
|
+
default?: (props: typeof __VLS_78) => any;
|
|
26
|
+
};
|
|
27
|
+
declare const __VLS_base: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
28
|
+
confirm: () => any;
|
|
29
|
+
cancel: () => any;
|
|
30
|
+
"update:open": (value: boolean) => any;
|
|
31
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
32
|
+
onConfirm?: (() => any) | undefined;
|
|
33
|
+
onCancel?: (() => any) | undefined;
|
|
34
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
35
|
+
}>, {
|
|
36
|
+
loading: boolean;
|
|
37
|
+
icon: string;
|
|
38
|
+
type: CORVINA.PANEL.TYPE;
|
|
39
|
+
width: number;
|
|
40
|
+
title: string;
|
|
41
|
+
position: CORVINA.PANEL.POSITION;
|
|
42
|
+
open: boolean;
|
|
43
|
+
closeLabel: string;
|
|
44
|
+
operation: string;
|
|
45
|
+
confirmDisabled: boolean;
|
|
46
|
+
collapsed: boolean;
|
|
47
|
+
confirmLabel: string;
|
|
48
|
+
cancelLabel: string;
|
|
49
|
+
helpLabel: string;
|
|
50
|
+
helpTitle: string;
|
|
51
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
52
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
53
|
+
declare const _default: typeof __VLS_export;
|
|
54
|
+
export default _default;
|
|
55
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
56
|
+
new (): {
|
|
57
|
+
$slots: S;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
//# sourceMappingURL=CvPanel.ce.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CvPanel.ce.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CvPanel.ce.vue"],"names":[],"mappings":"AAmHA;AAsNA,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;AAwdD,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"}
|
|
@@ -22,4 +22,4 @@ declare const __VLS_export: import('vue').DefineComponent<Props, {}, {}, {}, {},
|
|
|
22
22
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
23
23
|
declare const _default: typeof __VLS_export;
|
|
24
24
|
export default _default;
|
|
25
|
-
//# sourceMappingURL=
|
|
25
|
+
//# sourceMappingURL=CvSelect.ce.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CvSelect.ce.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CvSelect.ce.vue"],"names":[],"mappings":"AAiBA;AAqEA,UAAU,KAAK;IACX,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,GAAC,MAAM,GAAC,IAAI,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAgFH,QAAA,MAAM,YAAY;;;;;;;;;;;;6EAIhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CvTable.ce.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CvTable.ce.vue"],"names":[],"mappings":"AA8cA;AA64BA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAwBjC,UAAU,KAAK;IACb,OAAO,EAAE,OAAO,CAAC,KAAK,CAAC,kBAAkB,CAAC;IAC1C,KAAK,EAAE,GAAG,EAAE,CAAC;IACb,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,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC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"names":[],"mappings":"AA4BA;AA+DA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAKvC,UAAU,KAAK;IACb,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC;IACzB,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"}
|
package/index.d.ts
CHANGED
|
@@ -116,7 +116,7 @@ export declare namespace CORVINA {
|
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
118
|
namespace TABS {
|
|
119
|
-
/** A tab of
|
|
119
|
+
/** A tab of CvTabs. */
|
|
120
120
|
interface TAB {
|
|
121
121
|
/** Unique value of the tab: `selected` and the `update:selected` event use it */
|
|
122
122
|
value: string | number;
|
|
@@ -127,14 +127,14 @@ export declare namespace CORVINA {
|
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
129
|
namespace DATE_RANGE {
|
|
130
|
-
/** A range of days of
|
|
130
|
+
/** A range of days of CvDateRange, both days included. */
|
|
131
131
|
interface RANGE {
|
|
132
132
|
/** First day, ISO `yyyy-MM-dd` */
|
|
133
133
|
start: string;
|
|
134
134
|
/** Last day, ISO `yyyy-MM-dd` */
|
|
135
135
|
end: string;
|
|
136
136
|
}
|
|
137
|
-
/** A preset of
|
|
137
|
+
/** A preset of CvDateRange: a button above the calendars that selects its range. */
|
|
138
138
|
interface PRESET {
|
|
139
139
|
/** Text of the button */
|
|
140
140
|
title: string;
|
|
@@ -142,9 +142,34 @@ export declare namespace CORVINA {
|
|
|
142
142
|
range: RANGE | null;
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
|
+
namespace DIALOG {
|
|
146
|
+
/** What a CvDialog is for (design system FEEDBACK-1, FEEDBACK-3). */
|
|
147
|
+
enum TYPE {
|
|
148
|
+
/** Asks: Cancel and a confirm button, before an important or destructive action */
|
|
149
|
+
CONFIRM = "confirm",
|
|
150
|
+
/** Informs: the failure of an operation, with one button to acknowledge it */
|
|
151
|
+
INFORM = "inform"
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
namespace PANEL {
|
|
155
|
+
/** Where a CvPanel slides in from. */
|
|
156
|
+
enum POSITION {
|
|
157
|
+
/** The right edge, full height (design system PANEL-1) */
|
|
158
|
+
RIGHT = "right",
|
|
159
|
+
/** The lower half of the window, full width (the help of a page, HELP-3) */
|
|
160
|
+
BOTTOM = "bottom"
|
|
161
|
+
}
|
|
162
|
+
/** What a CvPanel is for, which sets its header. */
|
|
163
|
+
enum TYPE {
|
|
164
|
+
/** Creates or edits: the header holds cancel and confirm (PANEL-1, PANEL-3) */
|
|
165
|
+
EDIT = "edit",
|
|
166
|
+
/** Explains: the help icon, a title and Close (HELP-3, HELP-5) */
|
|
167
|
+
HELP = "help"
|
|
168
|
+
}
|
|
169
|
+
}
|
|
145
170
|
namespace INFINITE_LOADER {
|
|
146
171
|
/**
|
|
147
|
-
* Argument of the `infinite` event of
|
|
172
|
+
* Argument of the `infinite` event of CvInfiniteLoader: when the page is fetched call `loaded()` (more pages may
|
|
148
173
|
* follow), `complete()` (no more pages) or `error()` (the loader shows a retry button).
|
|
149
174
|
*/
|
|
150
175
|
interface StateHandler {
|
package/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,yBAAiB,OAAO,CAAC;IACvB,KAAY,WAAW,GAAG,KAAK,GAAG,QAAQ,CAAC;IAC3C,KAAY,YAAY,GAAG,OAAO,GAAG,KAAK,GAAG,MAAM,GAAG,OAAO,CAAC;IAC9D,KAAY,MAAM,GAAG,WAAW,GAAG,YAAY,GAAG,QAAQ,GAAG,eAAe,GAAG,GAAG,WAAW,IAAI,YAAY,GAAG,QAAQ,EAAE,GAAG,GAAG,YAAY,IAAI,WAAW,GAAG,QAAQ,EAAE,CAAC;IAEzK,KAAY,gBAAgB;QAC1B,KAAK,UAAU;QACf,GAAG,QAAQ;QACX,GAAG,QAAQ;QACX,MAAM,WAAW;KAClB;IAED,KAAY,KAAK;QACf,EAAE,OAAO;QACT,EAAE,OAAO;QACT,EAAE,OAAO;QACT,EAAE,OAAO;QACT,EAAE,OAAO;QACT,EAAE,OAAO;QACT,OAAO,YAAY;QACnB,WAAW,gBAAgB;QAC3B,WAAW,gBAAgB;QAC3B,SAAS,cAAc;QACvB,KAAK,UAAU;QACf,eAAe,oBAAoB;QACnC,YAAY,iBAAiB;QAC7B,IAAI,SAAS;KACd;IAED,UAAiB,UAAU,CAAC;QAC1B,KAAY,cAAc;YACxB,wCAAwC;YACxC,MAAM,WAAW;YACjB,mEAAmE;YACnE,YAAY,iBAAiB;SAC9B;QAED,KAAY,cAAc;YACxB,sCAAsC;YACt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