@corvina/web-components-library 1.0.0-beta.6 → 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 +53 -17
- package/README.md +4 -2
- package/index.d.ts +44 -3
- package/package.json +1 -1
- package/vscode.html-custom-data.json +237 -21
- package/web-components-library.cjs.js +12 -12
- package/web-components-library.es.js +8224 -8000
- package/web-components-library.umd.js +12 -12
- package/web-components.d.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -14,8 +14,12 @@ 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
|
-
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).
|
|
19
23
|
- Modern syntax (see Browsers above): an app that targets older browsers transpiles the package with its
|
|
20
24
|
bundler (Vite does it by itself in the build).
|
|
21
25
|
- ESM only: the CommonJS and UMD builds are gone (`exports` has no `require` condition).
|
|
@@ -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,34 +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
|
-
on hover).
|
|
50
|
-
- `
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
the
|
|
54
|
-
|
|
53
|
+
on hover; the text from the start of the underline, both 16px in while a range is set).
|
|
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
|
|
65
|
+
own lists. It emits `infinite` (`$state`: `CORVINA.INFINITE_LOADER.StateHandler`) when it is visible in its scrolling
|
|
66
|
+
container, not again while a page loads; `loaded()`, `complete()` (stops it) and `error()` (retry button, `retryLabel`);
|
|
67
|
+
`identifier` starts it again from the first page. Slots `spinner`, `complete` and `error` (Vue: with `retry`).
|
|
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
|
|
55
76
|
and the direction button after the slot, `sort` (`CORVINA.BREADCRUMB.SORT`, `key` and `desc`) owned by the parent
|
|
56
77
|
(`update:sort`), `sortPlaceholder`. Without `allowedSorts` there is no sort.
|
|
57
|
-
- `
|
|
78
|
+
- `CvBreadcrumb` `filterBy`: the `key` of the filter selected in the filter key dropdown, selected again when
|
|
58
79
|
`allowedFilters` change (e.g. on another tab).
|
|
59
80
|
|
|
60
81
|
Fixed:
|
|
61
82
|
|
|
62
|
-
- `
|
|
63
|
-
- `
|
|
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,
|
|
64
85
|
was a 25px dark line), the filter area 860px wide and starting with a divider, the filter key dropdown 13em on the
|
|
65
86
|
g1 background without the underline, the filter value field 16px from it.
|
|
66
|
-
- `
|
|
87
|
+
- `CvTable` rows are highlighted on hover (Vuetify's standard `hover`), the expanded content is not, as in
|
|
67
88
|
frontend-new; the items-per-page select of the footer is underlined, with "Rows per page:" (Vuetify's
|
|
68
89
|
`dataTable.itemsPerPageText`, translated) and the selected value of its menu in the highlight color, as in
|
|
69
90
|
frontend-new.
|
|
@@ -72,28 +93,43 @@ Fixed:
|
|
|
72
93
|
- Type declarations: relative imports have the `.js` extension, so they resolve with TypeScript
|
|
73
94
|
`moduleResolution` `node16`/`nodenext` too (the package is now `"type": "module"`).
|
|
74
95
|
- `AutocompleteFilter` (breadcrumb and table filters) threw on focus (Vuetify 2 API): the menu now opens on focus.
|
|
96
|
+
- Infinite scroll of the autocomplete filters (breadcrumb and table): no page is requested while one is loading. Two
|
|
97
|
+
pages requested together became one fetch (it is debounced) and a page of results was skipped. The next page is
|
|
98
|
+
requested when the end of the menu is visible, while scrolling: all the pages were requested one after the other
|
|
99
|
+
when the menu opened (the end of the list was checked against the window). The spinner has the primary color in the
|
|
100
|
+
web components too (was black).
|
|
75
101
|
- `AutocompleteFilter` imports `VCombobox` from `vuetify/components/VCombobox`, not from the `vuetify/components`
|
|
76
102
|
barrel: an app whose Vite dev server does not pre-bundle Vuetify loaded every Vuetify component (a Log page with
|
|
77
103
|
the breadcrumb: 777 → 484 module requests).
|
|
78
104
|
- Breadcrumb filter chip arrows are 25px as in the web components (the Vuetify 52px rule won before).
|
|
79
105
|
- The package only contains the files it needs (61 → 27): no type declarations of internal modules or of the web
|
|
80
106
|
components entry, no favicon and logo.
|
|
107
|
+
- No dependencies besides the peer ones: the infinite scroll of the autocomplete filters no longer uses
|
|
108
|
+
`v3-infinite-loading` (declared, and bundled too), `lodash-es` (for `debounce`) and `webfontloader` are no longer
|
|
109
|
+
bundled (JS -23 KB, gzip -7 KB).
|
|
110
|
+
- `loadFonts()` adds a `<link>` to the Google Fonts css2 API (Roboto, Material Symbols) instead of using
|
|
111
|
+
webfontloader: the `wf-loading`/`wf-active` classes are no longer set on `<html>`.
|
|
81
112
|
|
|
82
113
|
### `@corvina/web-components-library` (from 0.2.4)
|
|
83
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.
|
|
84
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),
|
|
85
|
-
mostly Vuetify 4 itself (its date picker for `
|
|
119
|
+
mostly Vuetify 4 itself (its date picker for `CvDateRange` included).
|
|
86
120
|
- Runs on the browsers listed above (Browsers): 0.2.4 was transpiled to ES2016.
|
|
87
121
|
- No dependencies declared: Vue, Vuetify and the other libraries are bundled (0.2.4 declared `vue` and
|
|
88
122
|
`vuetify` 3, installed without being used).
|
|
89
123
|
- The bundle runs without a bundler (`<script type="module">`): `process` is no longer referenced.
|
|
124
|
+
- `v3-infinite-loading`, `lodash-es` and `webfontloader` are no longer bundled (ES build -31 KB, gzip -8 KB): the infinite
|
|
125
|
+
scroll and `loadFonts()` changed as in the Vue package.
|
|
90
126
|
- `web-components-library.css` (the page CSS) only has the `--color-*` variables (108 KB → 0.6 KB): no Vuetify
|
|
91
127
|
reset, base or component CSS on the host page anymore (they changed e.g. the `html` font and line height,
|
|
92
128
|
`box-sizing`, buttons and inputs of the page). The palette changed as in the Vue package (#004688 → #496177, ...).
|
|
93
129
|
- The components set their base typography on their host instead of inheriting it from that page CSS:
|
|
94
130
|
`box-sizing: border-box`, `font-family: var(--v-font-body, "Roboto", sans-serif)`, `line-height: 1.5`.
|
|
95
131
|
On a page with its own `body` font the components now use Roboto; to change it, style the element
|
|
96
|
-
(e.g. `
|
|
132
|
+
(e.g. `cv-table { font-family: ... }`).
|
|
97
133
|
- Table footer items-per-page menu attached inside the shadow root without patching Vuetify.
|
|
98
134
|
- The package only contains the files it needs (37 → 13): no type declarations of internal modules, no
|
|
99
135
|
favicon and logo.
|
package/README.md
CHANGED
|
@@ -21,9 +21,11 @@ Add the following code to your main.js file:
|
|
|
21
21
|
```js
|
|
22
22
|
import CorvinaComponents from "@corvina/web-components-library";
|
|
23
23
|
import "@corvina/web-components-library/web-components-library.css"
|
|
24
|
-
//
|
|
24
|
+
// locale: string = 'en', shouldLoadTheme: boolean = false, shouldLoadFonts: boolean = false, prefix: string = 'cv'
|
|
25
25
|
CorvinaComponents.initCorvinaComponents('en')
|
|
26
26
|
```
|
|
27
|
+
The elements are `<cv-table>`, `<cv-button>`, ...: `prefix` changes the start of the tags, e.g. `'corvina'` for the
|
|
28
|
+
0.x tags (`<corvina-table>`). The components are defined once per page, with the prefix of the first call.
|
|
27
29
|
If you use Vuetify in the hosting app set shouldLoadTheme to false otherwise to true.
|
|
28
30
|
If you already load the fonts in the hosting app (Roboto, MaterialSymbols, ExorFontIcon) set shouldLoadFonts to false otherwise to true.
|
|
29
31
|
|
|
@@ -39,7 +41,7 @@ import "@corvina/web-components-library/icons-corvina-classes-font-face.css"
|
|
|
39
41
|
|
|
40
42
|
Vue and Vuetify 4 are bundled: the package has no dependencies. `web-components-library.css` only defines the
|
|
41
43
|
`--color-*` variables: the page keeps its own styles. The components use Roboto (`--v-font-body`) and line
|
|
42
|
-
height 1.5 whatever the page font; style the element to change them (e.g. `
|
|
44
|
+
height 1.5 whatever the page font; style the element to change them (e.g. `cv-table { font-family: ... }`). The bundle also runs without a bundler
|
|
43
45
|
(`<script type="module">` importing `web-components-library.es.js`).
|
|
44
46
|
|
|
45
47
|
# VS Code IntelliSense
|
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,6 +142,47 @@ 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
|
+
}
|
|
170
|
+
namespace INFINITE_LOADER {
|
|
171
|
+
/**
|
|
172
|
+
* Argument of the `infinite` event of CvInfiniteLoader: when the page is fetched call `loaded()` (more pages may
|
|
173
|
+
* follow), `complete()` (no more pages) or `error()` (the loader shows a retry button).
|
|
174
|
+
*/
|
|
175
|
+
interface StateHandler {
|
|
176
|
+
/** The page is loading: the loader shows the spinner (it already does before emitting `infinite`) */
|
|
177
|
+
loading: () => void;
|
|
178
|
+
/** The page was added: the loader requests the next one if it is still visible */
|
|
179
|
+
loaded: () => void;
|
|
180
|
+
/** There are no more pages: the loader stops until `identifier` changes */
|
|
181
|
+
complete: () => void;
|
|
182
|
+
/** The page could not be loaded: the loader shows the retry button */
|
|
183
|
+
error: () => void;
|
|
184
|
+
}
|
|
185
|
+
}
|
|
145
186
|
namespace TABLE {
|
|
146
187
|
/** Horizontal alignment of a column (applied as `text-*` and `justify-*` classes) */
|
|
147
188
|
enum ALIGN {
|
package/package.json
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
"version": 1.1,
|
|
4
4
|
"tags": [
|
|
5
5
|
{
|
|
6
|
-
"name": "
|
|
6
|
+
"name": "cv-breadcrumb",
|
|
7
7
|
"description": {
|
|
8
8
|
"kind": "markdown",
|
|
9
|
-
"value": "Corvina web component `<
|
|
9
|
+
"value": "Corvina web component `<cv-breadcrumb>`.\n\n**Events** (`CustomEvent`, payload in `event.detail[0]`):\n- `update:searchModel` — `[value: string]`\n- `update:activeControl` — `[value: CORVINA.BREADCRUMB.ACTIVE_CONTROL]`\n- `update:filters` — `[value: CORVINA.BREADCRUMB.FILTER[]]`\n- `update:filterBy` — `[value: CORVINA.BREADCRUMB.FILTER_BY]`\n- `update:sort` — `[value: CORVINA.BREADCRUMB.SORT]`\n\n**Slots:** `default`"
|
|
10
10
|
},
|
|
11
11
|
"attributes": [
|
|
12
12
|
{
|
|
@@ -148,18 +148,18 @@
|
|
|
148
148
|
]
|
|
149
149
|
},
|
|
150
150
|
{
|
|
151
|
-
"name": "
|
|
151
|
+
"name": "cv-breadcrumb-divider",
|
|
152
152
|
"description": {
|
|
153
153
|
"kind": "markdown",
|
|
154
|
-
"value": "Corvina web component `<
|
|
154
|
+
"value": "Corvina web component `<cv-breadcrumb-divider>`."
|
|
155
155
|
},
|
|
156
156
|
"attributes": []
|
|
157
157
|
},
|
|
158
158
|
{
|
|
159
|
-
"name": "
|
|
159
|
+
"name": "cv-button",
|
|
160
160
|
"description": {
|
|
161
161
|
"kind": "markdown",
|
|
162
|
-
"value": "Corvina web component `<
|
|
162
|
+
"value": "Corvina web component `<cv-button>`.\n\n**Events** (`CustomEvent`, payload in `event.detail[0]`):\n- `clicked` — `[event: Event]`\n- `update:activeStatus` — `[status: boolean]`"
|
|
163
163
|
},
|
|
164
164
|
"attributes": [
|
|
165
165
|
{
|
|
@@ -288,10 +288,10 @@
|
|
|
288
288
|
]
|
|
289
289
|
},
|
|
290
290
|
{
|
|
291
|
-
"name": "
|
|
291
|
+
"name": "cv-date-range",
|
|
292
292
|
"description": {
|
|
293
293
|
"kind": "markdown",
|
|
294
|
-
"value": "Corvina web component `<
|
|
294
|
+
"value": "Corvina web component `<cv-date-range>`.\n\n**Events** (`CustomEvent`, payload in `event.detail[0]`):\n- `update:model` — `[value: CORVINA.DATE_RANGE.RANGE | null]`"
|
|
295
295
|
},
|
|
296
296
|
"attributes": [
|
|
297
297
|
{
|
|
@@ -361,10 +361,10 @@
|
|
|
361
361
|
]
|
|
362
362
|
},
|
|
363
363
|
{
|
|
364
|
-
"name": "
|
|
364
|
+
"name": "cv-dialog",
|
|
365
365
|
"description": {
|
|
366
366
|
"kind": "markdown",
|
|
367
|
-
"value": "Corvina web component `<
|
|
367
|
+
"value": "Corvina web component `<cv-dialog>`.\n\n**Events** (`CustomEvent`, payload in `event.detail[0]`):\n- `confirm`\n- `cancel`\n- `update:open` — `[value: boolean]`\n\n**Slots:** `default`, `details`, `actions`"
|
|
368
368
|
},
|
|
369
369
|
"attributes": [
|
|
370
370
|
{
|
|
@@ -375,27 +375,86 @@
|
|
|
375
375
|
},
|
|
376
376
|
"valueSet": "v"
|
|
377
377
|
},
|
|
378
|
+
{
|
|
379
|
+
"name": "type",
|
|
380
|
+
"description": {
|
|
381
|
+
"kind": "markdown",
|
|
382
|
+
"value": "Property `type`: `CORVINA.DIALOG.TYPE`\n\nDefault: `confirm`"
|
|
383
|
+
},
|
|
384
|
+
"values": [
|
|
385
|
+
{
|
|
386
|
+
"name": "confirm"
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
"name": "inform"
|
|
390
|
+
}
|
|
391
|
+
]
|
|
392
|
+
},
|
|
378
393
|
{
|
|
379
394
|
"name": "title",
|
|
380
395
|
"description": {
|
|
381
396
|
"kind": "markdown",
|
|
382
|
-
"value": "Property `title`: `string`\n\nDefault: `
|
|
397
|
+
"value": "Property `title`: `string`\n\nDefault: `\"\"`"
|
|
383
398
|
}
|
|
384
399
|
},
|
|
385
400
|
{
|
|
386
|
-
"name": "
|
|
401
|
+
"name": "message",
|
|
387
402
|
"description": {
|
|
388
403
|
"kind": "markdown",
|
|
389
|
-
"value": "Property `
|
|
404
|
+
"value": "Property `message`: `string`\n\nDefault: `\"\"`"
|
|
405
|
+
}
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
"name": "destructive",
|
|
409
|
+
"description": {
|
|
410
|
+
"kind": "markdown",
|
|
411
|
+
"value": "Property `destructive`: `boolean`\n\nDefault: `false`"
|
|
412
|
+
},
|
|
413
|
+
"valueSet": "v"
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
"name": "loading",
|
|
417
|
+
"description": {
|
|
418
|
+
"kind": "markdown",
|
|
419
|
+
"value": "Property `loading`: `boolean`\n\nDefault: `false`"
|
|
420
|
+
},
|
|
421
|
+
"valueSet": "v"
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
"name": "confirmation-value",
|
|
425
|
+
"description": {
|
|
426
|
+
"kind": "markdown",
|
|
427
|
+
"value": "Property `confirmationValue`: `string`\n\nDefault: `\"\"`"
|
|
428
|
+
}
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
"name": "confirm-label",
|
|
432
|
+
"description": {
|
|
433
|
+
"kind": "markdown",
|
|
434
|
+
"value": "Property `confirmLabel`: `string`\n\nDefault: `Continue`"
|
|
435
|
+
}
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
"name": "cancel-label",
|
|
439
|
+
"description": {
|
|
440
|
+
"kind": "markdown",
|
|
441
|
+
"value": "Property `cancelLabel`: `string`\n\nDefault: `Cancel`"
|
|
442
|
+
}
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
"name": "max-width",
|
|
446
|
+
"description": {
|
|
447
|
+
"kind": "markdown",
|
|
448
|
+
"value": "Property `maxWidth`: `string | number`"
|
|
390
449
|
}
|
|
391
450
|
}
|
|
392
451
|
]
|
|
393
452
|
},
|
|
394
453
|
{
|
|
395
|
-
"name": "
|
|
454
|
+
"name": "cv-icon",
|
|
396
455
|
"description": {
|
|
397
456
|
"kind": "markdown",
|
|
398
|
-
"value": "Corvina web component `<
|
|
457
|
+
"value": "Corvina web component `<cv-icon>`."
|
|
399
458
|
},
|
|
400
459
|
"attributes": [
|
|
401
460
|
{
|
|
@@ -466,10 +525,167 @@
|
|
|
466
525
|
]
|
|
467
526
|
},
|
|
468
527
|
{
|
|
469
|
-
"name": "
|
|
528
|
+
"name": "cv-infinite-loader",
|
|
529
|
+
"description": {
|
|
530
|
+
"kind": "markdown",
|
|
531
|
+
"value": "Corvina web component `<cv-infinite-loader>`.\n\n**Events** (`CustomEvent`, payload in `event.detail[0]`):\n- `infinite` — `[$state: CORVINA.INFINITE_LOADER.StateHandler]`\n\n**Slots:** `spinner`, `complete`, `error`"
|
|
532
|
+
},
|
|
533
|
+
"attributes": [
|
|
534
|
+
{
|
|
535
|
+
"name": "identifier",
|
|
536
|
+
"description": {
|
|
537
|
+
"kind": "markdown",
|
|
538
|
+
"value": "Property `identifier`: `string | number`"
|
|
539
|
+
}
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
"name": "retry-label",
|
|
543
|
+
"description": {
|
|
544
|
+
"kind": "markdown",
|
|
545
|
+
"value": "Property `retryLabel`: `string`\n\nDefault: `Retry`"
|
|
546
|
+
}
|
|
547
|
+
}
|
|
548
|
+
]
|
|
549
|
+
},
|
|
550
|
+
{
|
|
551
|
+
"name": "cv-panel",
|
|
552
|
+
"description": {
|
|
553
|
+
"kind": "markdown",
|
|
554
|
+
"value": "Corvina web component `<cv-panel>`.\n\n**Events** (`CustomEvent`, payload in `event.detail[0]`):\n- `confirm`\n- `cancel`\n- `update:open` — `[value: boolean]`\n\n**Slots:** `help`, `actions`, `default`"
|
|
555
|
+
},
|
|
556
|
+
"attributes": [
|
|
557
|
+
{
|
|
558
|
+
"name": "open",
|
|
559
|
+
"description": {
|
|
560
|
+
"kind": "markdown",
|
|
561
|
+
"value": "Property `open`: `boolean`\n\nDefault: `false`"
|
|
562
|
+
},
|
|
563
|
+
"valueSet": "v"
|
|
564
|
+
},
|
|
565
|
+
{
|
|
566
|
+
"name": "position",
|
|
567
|
+
"description": {
|
|
568
|
+
"kind": "markdown",
|
|
569
|
+
"value": "Property `position`: `CORVINA.PANEL.POSITION`\n\nDefault: `right`"
|
|
570
|
+
},
|
|
571
|
+
"values": [
|
|
572
|
+
{
|
|
573
|
+
"name": "right"
|
|
574
|
+
},
|
|
575
|
+
{
|
|
576
|
+
"name": "bottom"
|
|
577
|
+
}
|
|
578
|
+
]
|
|
579
|
+
},
|
|
580
|
+
{
|
|
581
|
+
"name": "type",
|
|
582
|
+
"description": {
|
|
583
|
+
"kind": "markdown",
|
|
584
|
+
"value": "Property `type`: `CORVINA.PANEL.TYPE`\n\nDefault: `edit`"
|
|
585
|
+
},
|
|
586
|
+
"values": [
|
|
587
|
+
{
|
|
588
|
+
"name": "edit"
|
|
589
|
+
},
|
|
590
|
+
{
|
|
591
|
+
"name": "help"
|
|
592
|
+
}
|
|
593
|
+
]
|
|
594
|
+
},
|
|
595
|
+
{
|
|
596
|
+
"name": "title",
|
|
597
|
+
"description": {
|
|
598
|
+
"kind": "markdown",
|
|
599
|
+
"value": "Property `title`: `string`\n\nDefault: `\"\"`"
|
|
600
|
+
}
|
|
601
|
+
},
|
|
602
|
+
{
|
|
603
|
+
"name": "operation",
|
|
604
|
+
"description": {
|
|
605
|
+
"kind": "markdown",
|
|
606
|
+
"value": "Property `operation`: `string`\n\nDefault: `\"\"`"
|
|
607
|
+
}
|
|
608
|
+
},
|
|
609
|
+
{
|
|
610
|
+
"name": "icon",
|
|
611
|
+
"description": {
|
|
612
|
+
"kind": "markdown",
|
|
613
|
+
"value": "Property `icon`: `string`\n\nDefault: `ecc:ecc-E-Edit`"
|
|
614
|
+
}
|
|
615
|
+
},
|
|
616
|
+
{
|
|
617
|
+
"name": "width",
|
|
618
|
+
"description": {
|
|
619
|
+
"kind": "markdown",
|
|
620
|
+
"value": "Property `width`: `number`\n\nDefault: `340`"
|
|
621
|
+
}
|
|
622
|
+
},
|
|
623
|
+
{
|
|
624
|
+
"name": "loading",
|
|
625
|
+
"description": {
|
|
626
|
+
"kind": "markdown",
|
|
627
|
+
"value": "Property `loading`: `boolean`\n\nDefault: `false`"
|
|
628
|
+
},
|
|
629
|
+
"valueSet": "v"
|
|
630
|
+
},
|
|
631
|
+
{
|
|
632
|
+
"name": "confirm-disabled",
|
|
633
|
+
"description": {
|
|
634
|
+
"kind": "markdown",
|
|
635
|
+
"value": "Property `confirmDisabled`: `boolean`\n\nDefault: `false`"
|
|
636
|
+
},
|
|
637
|
+
"valueSet": "v"
|
|
638
|
+
},
|
|
639
|
+
{
|
|
640
|
+
"name": "collapsed",
|
|
641
|
+
"description": {
|
|
642
|
+
"kind": "markdown",
|
|
643
|
+
"value": "Property `collapsed`: `boolean`\n\nDefault: `false`"
|
|
644
|
+
},
|
|
645
|
+
"valueSet": "v"
|
|
646
|
+
},
|
|
647
|
+
{
|
|
648
|
+
"name": "confirm-label",
|
|
649
|
+
"description": {
|
|
650
|
+
"kind": "markdown",
|
|
651
|
+
"value": "Property `confirmLabel`: `string`\n\nDefault: `Confirm`"
|
|
652
|
+
}
|
|
653
|
+
},
|
|
654
|
+
{
|
|
655
|
+
"name": "cancel-label",
|
|
656
|
+
"description": {
|
|
657
|
+
"kind": "markdown",
|
|
658
|
+
"value": "Property `cancelLabel`: `string`\n\nDefault: `Cancel`"
|
|
659
|
+
}
|
|
660
|
+
},
|
|
661
|
+
{
|
|
662
|
+
"name": "help-label",
|
|
663
|
+
"description": {
|
|
664
|
+
"kind": "markdown",
|
|
665
|
+
"value": "Property `helpLabel`: `string`\n\nDefault: `Help`"
|
|
666
|
+
}
|
|
667
|
+
},
|
|
668
|
+
{
|
|
669
|
+
"name": "help-title",
|
|
670
|
+
"description": {
|
|
671
|
+
"kind": "markdown",
|
|
672
|
+
"value": "Property `helpTitle`: `string`\n\nDefault: `Need help?`"
|
|
673
|
+
}
|
|
674
|
+
},
|
|
675
|
+
{
|
|
676
|
+
"name": "close-label",
|
|
677
|
+
"description": {
|
|
678
|
+
"kind": "markdown",
|
|
679
|
+
"value": "Property `closeLabel`: `string`\n\nDefault: `Close`"
|
|
680
|
+
}
|
|
681
|
+
}
|
|
682
|
+
]
|
|
683
|
+
},
|
|
684
|
+
{
|
|
685
|
+
"name": "cv-select",
|
|
470
686
|
"description": {
|
|
471
687
|
"kind": "markdown",
|
|
472
|
-
"value": "Corvina web component `<
|
|
688
|
+
"value": "Corvina web component `<cv-select>`.\n\n**Events** (`CustomEvent`, payload in `event.detail[0]`):\n- `update:model` — `[value: string | object | null]`"
|
|
473
689
|
},
|
|
474
690
|
"attributes": [
|
|
475
691
|
{
|
|
@@ -526,10 +742,10 @@
|
|
|
526
742
|
]
|
|
527
743
|
},
|
|
528
744
|
{
|
|
529
|
-
"name": "
|
|
745
|
+
"name": "cv-table",
|
|
530
746
|
"description": {
|
|
531
747
|
"kind": "markdown",
|
|
532
|
-
"value": "Corvina web component `<
|
|
748
|
+
"value": "Corvina web component `<cv-table>`.\n\n**Events** (`CustomEvent`, payload in `event.detail[0]`):\n- `update:searchModel` — `[value: string]`\n- `update:filters` — `[value: CORVINA.BREADCRUMB.FILTER[]]`\n- `update:filterBy` — `[value: CORVINA.BREADCRUMB.FILTER_BY]`\n- `currentPageChanged` — `[value: number]`\n- `currentItemsPerPageChanged` — `[value: number]`\n- `handleSorting` — `[value: CORVINA.TABLE.TableHeaderEntry]`\n- `rowExpanded` — `[index: number]`\n- `loadMore` — `[cb: CORVINA.TABLE.LoadMoreCallback]`\n- `rowClicked` — `[index: number, item: any]`\n\n**Slots:** `default`"
|
|
533
749
|
},
|
|
534
750
|
"attributes": [
|
|
535
751
|
{
|
|
@@ -732,10 +948,10 @@
|
|
|
732
948
|
]
|
|
733
949
|
},
|
|
734
950
|
{
|
|
735
|
-
"name": "
|
|
951
|
+
"name": "cv-tabs",
|
|
736
952
|
"description": {
|
|
737
953
|
"kind": "markdown",
|
|
738
|
-
"value": "Corvina web component `<
|
|
954
|
+
"value": "Corvina web component `<cv-tabs>`.\n\n**Events** (`CustomEvent`, payload in `event.detail[0]`):\n- `update:selected` — `[value: string | number]`\n\n**Slots:** `append`, `default`"
|
|
739
955
|
},
|
|
740
956
|
"attributes": [
|
|
741
957
|
{
|