@openremote/or-vaadin-components 1.33.0-snapshot.20261027130550 → 1.33.0
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/build/custom-elements-jsx.d.ts +471 -471
- package/build/custom-elements.json +5997 -5997
- package/package.json +5 -5
|
@@ -63,11 +63,11 @@ import type { ComboBoxItem } from "/home/runner/work/core/core/node_modules/@vaa
|
|
|
63
63
|
import type { ComboBoxOverlay } from "/home/runner/work/core/core/node_modules/@vaadin/combo-box/./lib/vaadin-combo-box-overlay.js";
|
|
64
64
|
import type { ComboBoxScroller } from "/home/runner/work/core/core/node_modules/@vaadin/combo-box/./lib/vaadin-combo-box-scroller.js";
|
|
65
65
|
import type { ComboBox } from "/home/runner/work/core/core/node_modules/@vaadin/combo-box/./lib/vaadin-combo-box.js";
|
|
66
|
+
import type { ConfirmDialog } from "/home/runner/work/core/core/node_modules/@vaadin/confirm-dialog/./lib/vaadin-confirm-dialog.js";
|
|
66
67
|
import type { ContextMenuItem } from "/home/runner/work/core/core/node_modules/@vaadin/context-menu/./lib/vaadin-context-menu-item.js";
|
|
67
68
|
import type { ContextMenuListBox } from "/home/runner/work/core/core/node_modules/@vaadin/context-menu/./lib/vaadin-context-menu-list-box.js";
|
|
68
69
|
import type { ContextMenuOverlay } from "/home/runner/work/core/core/node_modules/@vaadin/context-menu/./lib/vaadin-context-menu-overlay.js";
|
|
69
70
|
import type { ContextMenu } from "/home/runner/work/core/core/node_modules/@vaadin/context-menu/./lib/vaadin-context-menu.js";
|
|
70
|
-
import type { ConfirmDialog } from "/home/runner/work/core/core/node_modules/@vaadin/confirm-dialog/./lib/vaadin-confirm-dialog.js";
|
|
71
71
|
import type { DatePickerYear } from "/home/runner/work/core/core/node_modules/@vaadin/date-picker/./lib/vaadin-date-picker-year.js";
|
|
72
72
|
import type { DatePicker } from "/home/runner/work/core/core/node_modules/@vaadin/date-picker/./lib/vaadin-date-picker.js";
|
|
73
73
|
import type { InfiniteScroller } from "/home/runner/work/core/core/node_modules/@vaadin/date-picker/./lib/vaadin-infinite-scroller.js";
|
|
@@ -7635,6 +7635,160 @@ This also enables clearing the input when pressing Esc key. */
|
|
|
7635
7635
|
textContent?: string | number;
|
|
7636
7636
|
};
|
|
7637
7637
|
|
|
7638
|
+
export type ConfirmDialogProps = {
|
|
7639
|
+
/** The theme variants to apply to the component. */
|
|
7640
|
+
theme?: unknown;
|
|
7641
|
+
/** The theme variants to apply to the component. */
|
|
7642
|
+
undefined?: unknown;
|
|
7643
|
+
/** Sets the `aria-describedby` attribute of the dialog.
|
|
7644
|
+
|
|
7645
|
+
By default, the text contents of all elements inside the message area
|
|
7646
|
+
are combined into the `aria-description` attribute. However, there are
|
|
7647
|
+
cases where this can confuse screen reader users (e.g. the dialog
|
|
7648
|
+
may present a password confirmation form). For these cases,
|
|
7649
|
+
it's better to associate only the elements that will help describe
|
|
7650
|
+
the confirmation dialog through this API. */
|
|
7651
|
+
accessibleDescriptionRef?: ConfirmDialog["accessibleDescriptionRef"];
|
|
7652
|
+
/** True if the dialog is visible and available for interaction. */
|
|
7653
|
+
opened?: ConfirmDialog["opened"];
|
|
7654
|
+
/** Set the confirmation dialog title. */
|
|
7655
|
+
header?: ConfirmDialog["header"];
|
|
7656
|
+
/** Set the message or confirmation question. */
|
|
7657
|
+
message?: ConfirmDialog["message"];
|
|
7658
|
+
/** Text displayed on confirm-button.
|
|
7659
|
+
This only affects the default button, custom slotted buttons will not be altered. */
|
|
7660
|
+
confirmText?: ConfirmDialog["confirmText"];
|
|
7661
|
+
/** Theme for a confirm-button.
|
|
7662
|
+
This only affects the default button, custom slotted buttons will not be altered. */
|
|
7663
|
+
confirmTheme?: ConfirmDialog["confirmTheme"];
|
|
7664
|
+
/** Set to true to disable closing dialog on Escape press */
|
|
7665
|
+
noCloseOnEsc?: ConfirmDialog["noCloseOnEsc"];
|
|
7666
|
+
/** Whether to show reject button or not. */
|
|
7667
|
+
rejectButtonVisible?: ConfirmDialog["rejectButtonVisible"];
|
|
7668
|
+
/** Text displayed on reject-button.
|
|
7669
|
+
This only affects the default button, custom slotted buttons will not be altered. */
|
|
7670
|
+
rejectText?: ConfirmDialog["rejectText"];
|
|
7671
|
+
/** Theme for a reject-button.
|
|
7672
|
+
This only affects the default button, custom slotted buttons will not be altered. */
|
|
7673
|
+
rejectTheme?: ConfirmDialog["rejectTheme"];
|
|
7674
|
+
/** Whether to show cancel button or not. */
|
|
7675
|
+
cancelButtonVisible?: ConfirmDialog["cancelButtonVisible"];
|
|
7676
|
+
/** Text displayed on cancel-button.
|
|
7677
|
+
This only affects the default button, custom slotted buttons will not be altered. */
|
|
7678
|
+
cancelText?: ConfirmDialog["cancelText"];
|
|
7679
|
+
/** Theme for a cancel-button.
|
|
7680
|
+
This only affects the default button, custom slotted buttons will not be altered. */
|
|
7681
|
+
cancelTheme?: ConfirmDialog["cancelTheme"];
|
|
7682
|
+
/** A reference to the "Cancel" button which will be teleported to the overlay. */
|
|
7683
|
+
_cancelButton?: ConfirmDialog["_cancelButton"];
|
|
7684
|
+
/** A reference to the "Confirm" button which will be teleported to the overlay. */
|
|
7685
|
+
_confirmButton?: ConfirmDialog["_confirmButton"];
|
|
7686
|
+
/** A reference to the "header" node which will be teleported to the overlay. */
|
|
7687
|
+
_headerNode?: ConfirmDialog["_headerNode"];
|
|
7688
|
+
/** A list of message nodes which will be placed in the overlay default slot. */
|
|
7689
|
+
_messageNodes?: ConfirmDialog["_messageNodes"];
|
|
7690
|
+
/** A reference to the "Reject" button which will be teleported to the overlay. */
|
|
7691
|
+
_rejectButton?: ConfirmDialog["_rejectButton"];
|
|
7692
|
+
/** Set the width of the dialog.
|
|
7693
|
+
If a unitless number is provided, pixels are assumed. */
|
|
7694
|
+
width?: ConfirmDialog["width"];
|
|
7695
|
+
/** Set the height of the dialog.
|
|
7696
|
+
If a unitless number is provided, pixels are assumed. */
|
|
7697
|
+
height?: ConfirmDialog["height"];
|
|
7698
|
+
/** */
|
|
7699
|
+
dir?: ConfirmDialog["dir"];
|
|
7700
|
+
|
|
7701
|
+
/** Fired when Confirm button was pressed. */
|
|
7702
|
+
onconfirm?: (e: CustomEvent) => void;
|
|
7703
|
+
/** Fired when Cancel button or Escape key was pressed. */
|
|
7704
|
+
oncancel?: (e: CustomEvent) => void;
|
|
7705
|
+
/** Fired when Reject button was pressed. */
|
|
7706
|
+
onreject?: (e: CustomEvent) => void;
|
|
7707
|
+
/** Fired when the `opened` property changes. */
|
|
7708
|
+
"onopened-changed"?: (e: CustomEvent) => void;
|
|
7709
|
+
/** Fired when the confirm dialog is closed. */
|
|
7710
|
+
onclosed?: (e: CustomEvent) => void;
|
|
7711
|
+
};
|
|
7712
|
+
|
|
7713
|
+
export type ConfirmDialogSolidJsProps = {
|
|
7714
|
+
/** The theme variants to apply to the component. */
|
|
7715
|
+
"attr:theme"?: unknown;
|
|
7716
|
+
/** The theme variants to apply to the component. */
|
|
7717
|
+
"prop:undefined"?: unknown;
|
|
7718
|
+
/** Sets the `aria-describedby` attribute of the dialog.
|
|
7719
|
+
|
|
7720
|
+
By default, the text contents of all elements inside the message area
|
|
7721
|
+
are combined into the `aria-description` attribute. However, there are
|
|
7722
|
+
cases where this can confuse screen reader users (e.g. the dialog
|
|
7723
|
+
may present a password confirmation form). For these cases,
|
|
7724
|
+
it's better to associate only the elements that will help describe
|
|
7725
|
+
the confirmation dialog through this API. */
|
|
7726
|
+
"prop:accessibleDescriptionRef"?: ConfirmDialog["accessibleDescriptionRef"];
|
|
7727
|
+
/** True if the dialog is visible and available for interaction. */
|
|
7728
|
+
"prop:opened"?: ConfirmDialog["opened"];
|
|
7729
|
+
/** Set the confirmation dialog title. */
|
|
7730
|
+
"prop:header"?: ConfirmDialog["header"];
|
|
7731
|
+
/** Set the message or confirmation question. */
|
|
7732
|
+
"prop:message"?: ConfirmDialog["message"];
|
|
7733
|
+
/** Text displayed on confirm-button.
|
|
7734
|
+
This only affects the default button, custom slotted buttons will not be altered. */
|
|
7735
|
+
"prop:confirmText"?: ConfirmDialog["confirmText"];
|
|
7736
|
+
/** Theme for a confirm-button.
|
|
7737
|
+
This only affects the default button, custom slotted buttons will not be altered. */
|
|
7738
|
+
"prop:confirmTheme"?: ConfirmDialog["confirmTheme"];
|
|
7739
|
+
/** Set to true to disable closing dialog on Escape press */
|
|
7740
|
+
"prop:noCloseOnEsc"?: ConfirmDialog["noCloseOnEsc"];
|
|
7741
|
+
/** Whether to show reject button or not. */
|
|
7742
|
+
"prop:rejectButtonVisible"?: ConfirmDialog["rejectButtonVisible"];
|
|
7743
|
+
/** Text displayed on reject-button.
|
|
7744
|
+
This only affects the default button, custom slotted buttons will not be altered. */
|
|
7745
|
+
"prop:rejectText"?: ConfirmDialog["rejectText"];
|
|
7746
|
+
/** Theme for a reject-button.
|
|
7747
|
+
This only affects the default button, custom slotted buttons will not be altered. */
|
|
7748
|
+
"prop:rejectTheme"?: ConfirmDialog["rejectTheme"];
|
|
7749
|
+
/** Whether to show cancel button or not. */
|
|
7750
|
+
"prop:cancelButtonVisible"?: ConfirmDialog["cancelButtonVisible"];
|
|
7751
|
+
/** Text displayed on cancel-button.
|
|
7752
|
+
This only affects the default button, custom slotted buttons will not be altered. */
|
|
7753
|
+
"prop:cancelText"?: ConfirmDialog["cancelText"];
|
|
7754
|
+
/** Theme for a cancel-button.
|
|
7755
|
+
This only affects the default button, custom slotted buttons will not be altered. */
|
|
7756
|
+
"prop:cancelTheme"?: ConfirmDialog["cancelTheme"];
|
|
7757
|
+
/** A reference to the "Cancel" button which will be teleported to the overlay. */
|
|
7758
|
+
"prop:_cancelButton"?: ConfirmDialog["_cancelButton"];
|
|
7759
|
+
/** A reference to the "Confirm" button which will be teleported to the overlay. */
|
|
7760
|
+
"prop:_confirmButton"?: ConfirmDialog["_confirmButton"];
|
|
7761
|
+
/** A reference to the "header" node which will be teleported to the overlay. */
|
|
7762
|
+
"prop:_headerNode"?: ConfirmDialog["_headerNode"];
|
|
7763
|
+
/** A list of message nodes which will be placed in the overlay default slot. */
|
|
7764
|
+
"prop:_messageNodes"?: ConfirmDialog["_messageNodes"];
|
|
7765
|
+
/** A reference to the "Reject" button which will be teleported to the overlay. */
|
|
7766
|
+
"prop:_rejectButton"?: ConfirmDialog["_rejectButton"];
|
|
7767
|
+
/** Set the width of the dialog.
|
|
7768
|
+
If a unitless number is provided, pixels are assumed. */
|
|
7769
|
+
"prop:width"?: ConfirmDialog["width"];
|
|
7770
|
+
/** Set the height of the dialog.
|
|
7771
|
+
If a unitless number is provided, pixels are assumed. */
|
|
7772
|
+
"prop:height"?: ConfirmDialog["height"];
|
|
7773
|
+
/** */
|
|
7774
|
+
"prop:dir"?: ConfirmDialog["dir"];
|
|
7775
|
+
/** Fired when Confirm button was pressed. */
|
|
7776
|
+
"on:confirm"?: (e: CustomEvent) => void;
|
|
7777
|
+
/** Fired when Cancel button or Escape key was pressed. */
|
|
7778
|
+
"on:cancel"?: (e: CustomEvent) => void;
|
|
7779
|
+
/** Fired when Reject button was pressed. */
|
|
7780
|
+
"on:reject"?: (e: CustomEvent) => void;
|
|
7781
|
+
/** Fired when the `opened` property changes. */
|
|
7782
|
+
"on:opened-changed"?: (e: CustomEvent) => void;
|
|
7783
|
+
/** Fired when the confirm dialog is closed. */
|
|
7784
|
+
"on:closed"?: (e: CustomEvent) => void;
|
|
7785
|
+
|
|
7786
|
+
/** Set the innerHTML of the element */
|
|
7787
|
+
innerHTML?: string;
|
|
7788
|
+
/** Set the textContent of the element */
|
|
7789
|
+
textContent?: string | number;
|
|
7790
|
+
};
|
|
7791
|
+
|
|
7638
7792
|
export type ContextMenuItemProps = {
|
|
7639
7793
|
/** The theme variants to apply to the component. */
|
|
7640
7794
|
theme?: unknown;
|
|
@@ -8191,180 +8345,26 @@ and set the `tooltip` property on each item that should have one:
|
|
|
8191
8345
|
textContent?: string | number;
|
|
8192
8346
|
};
|
|
8193
8347
|
|
|
8194
|
-
export type
|
|
8348
|
+
export type DatePickerYearProps = {
|
|
8195
8349
|
/** The theme variants to apply to the component. */
|
|
8196
8350
|
theme?: unknown;
|
|
8197
8351
|
/** The theme variants to apply to the component. */
|
|
8198
8352
|
undefined?: unknown;
|
|
8199
|
-
/** Sets the `aria-describedby` attribute of the dialog.
|
|
8200
|
-
|
|
8201
|
-
By default, the text contents of all elements inside the message area
|
|
8202
|
-
are combined into the `aria-description` attribute. However, there are
|
|
8203
|
-
cases where this can confuse screen reader users (e.g. the dialog
|
|
8204
|
-
may present a password confirmation form). For these cases,
|
|
8205
|
-
it's better to associate only the elements that will help describe
|
|
8206
|
-
the confirmation dialog through this API. */
|
|
8207
|
-
accessibleDescriptionRef?: ConfirmDialog["accessibleDescriptionRef"];
|
|
8208
|
-
/** True if the dialog is visible and available for interaction. */
|
|
8209
|
-
opened?: ConfirmDialog["opened"];
|
|
8210
|
-
/** Set the confirmation dialog title. */
|
|
8211
|
-
header?: ConfirmDialog["header"];
|
|
8212
|
-
/** Set the message or confirmation question. */
|
|
8213
|
-
message?: ConfirmDialog["message"];
|
|
8214
|
-
/** Text displayed on confirm-button.
|
|
8215
|
-
This only affects the default button, custom slotted buttons will not be altered. */
|
|
8216
|
-
confirmText?: ConfirmDialog["confirmText"];
|
|
8217
|
-
/** Theme for a confirm-button.
|
|
8218
|
-
This only affects the default button, custom slotted buttons will not be altered. */
|
|
8219
|
-
confirmTheme?: ConfirmDialog["confirmTheme"];
|
|
8220
|
-
/** Set to true to disable closing dialog on Escape press */
|
|
8221
|
-
noCloseOnEsc?: ConfirmDialog["noCloseOnEsc"];
|
|
8222
|
-
/** Whether to show reject button or not. */
|
|
8223
|
-
rejectButtonVisible?: ConfirmDialog["rejectButtonVisible"];
|
|
8224
|
-
/** Text displayed on reject-button.
|
|
8225
|
-
This only affects the default button, custom slotted buttons will not be altered. */
|
|
8226
|
-
rejectText?: ConfirmDialog["rejectText"];
|
|
8227
|
-
/** Theme for a reject-button.
|
|
8228
|
-
This only affects the default button, custom slotted buttons will not be altered. */
|
|
8229
|
-
rejectTheme?: ConfirmDialog["rejectTheme"];
|
|
8230
|
-
/** Whether to show cancel button or not. */
|
|
8231
|
-
cancelButtonVisible?: ConfirmDialog["cancelButtonVisible"];
|
|
8232
|
-
/** Text displayed on cancel-button.
|
|
8233
|
-
This only affects the default button, custom slotted buttons will not be altered. */
|
|
8234
|
-
cancelText?: ConfirmDialog["cancelText"];
|
|
8235
|
-
/** Theme for a cancel-button.
|
|
8236
|
-
This only affects the default button, custom slotted buttons will not be altered. */
|
|
8237
|
-
cancelTheme?: ConfirmDialog["cancelTheme"];
|
|
8238
|
-
/** A reference to the "Cancel" button which will be teleported to the overlay. */
|
|
8239
|
-
_cancelButton?: ConfirmDialog["_cancelButton"];
|
|
8240
|
-
/** A reference to the "Confirm" button which will be teleported to the overlay. */
|
|
8241
|
-
_confirmButton?: ConfirmDialog["_confirmButton"];
|
|
8242
|
-
/** A reference to the "header" node which will be teleported to the overlay. */
|
|
8243
|
-
_headerNode?: ConfirmDialog["_headerNode"];
|
|
8244
|
-
/** A list of message nodes which will be placed in the overlay default slot. */
|
|
8245
|
-
_messageNodes?: ConfirmDialog["_messageNodes"];
|
|
8246
|
-
/** A reference to the "Reject" button which will be teleported to the overlay. */
|
|
8247
|
-
_rejectButton?: ConfirmDialog["_rejectButton"];
|
|
8248
|
-
/** Set the width of the dialog.
|
|
8249
|
-
If a unitless number is provided, pixels are assumed. */
|
|
8250
|
-
width?: ConfirmDialog["width"];
|
|
8251
|
-
/** Set the height of the dialog.
|
|
8252
|
-
If a unitless number is provided, pixels are assumed. */
|
|
8253
|
-
height?: ConfirmDialog["height"];
|
|
8254
8353
|
/** */
|
|
8255
|
-
|
|
8256
|
-
|
|
8257
|
-
|
|
8258
|
-
onconfirm?: (e: CustomEvent) => void;
|
|
8259
|
-
/** Fired when Cancel button or Escape key was pressed. */
|
|
8260
|
-
oncancel?: (e: CustomEvent) => void;
|
|
8261
|
-
/** Fired when Reject button was pressed. */
|
|
8262
|
-
onreject?: (e: CustomEvent) => void;
|
|
8263
|
-
/** Fired when the `opened` property changes. */
|
|
8264
|
-
"onopened-changed"?: (e: CustomEvent) => void;
|
|
8265
|
-
/** Fired when the confirm dialog is closed. */
|
|
8266
|
-
onclosed?: (e: CustomEvent) => void;
|
|
8354
|
+
year?: DatePickerYear["year"];
|
|
8355
|
+
/** */
|
|
8356
|
+
selectedDate?: DatePickerYear["selectedDate"];
|
|
8267
8357
|
};
|
|
8268
8358
|
|
|
8269
|
-
export type
|
|
8359
|
+
export type DatePickerYearSolidJsProps = {
|
|
8270
8360
|
/** The theme variants to apply to the component. */
|
|
8271
8361
|
"attr:theme"?: unknown;
|
|
8272
8362
|
/** The theme variants to apply to the component. */
|
|
8273
8363
|
"prop:undefined"?: unknown;
|
|
8274
|
-
/**
|
|
8275
|
-
|
|
8276
|
-
|
|
8277
|
-
|
|
8278
|
-
cases where this can confuse screen reader users (e.g. the dialog
|
|
8279
|
-
may present a password confirmation form). For these cases,
|
|
8280
|
-
it's better to associate only the elements that will help describe
|
|
8281
|
-
the confirmation dialog through this API. */
|
|
8282
|
-
"prop:accessibleDescriptionRef"?: ConfirmDialog["accessibleDescriptionRef"];
|
|
8283
|
-
/** True if the dialog is visible and available for interaction. */
|
|
8284
|
-
"prop:opened"?: ConfirmDialog["opened"];
|
|
8285
|
-
/** Set the confirmation dialog title. */
|
|
8286
|
-
"prop:header"?: ConfirmDialog["header"];
|
|
8287
|
-
/** Set the message or confirmation question. */
|
|
8288
|
-
"prop:message"?: ConfirmDialog["message"];
|
|
8289
|
-
/** Text displayed on confirm-button.
|
|
8290
|
-
This only affects the default button, custom slotted buttons will not be altered. */
|
|
8291
|
-
"prop:confirmText"?: ConfirmDialog["confirmText"];
|
|
8292
|
-
/** Theme for a confirm-button.
|
|
8293
|
-
This only affects the default button, custom slotted buttons will not be altered. */
|
|
8294
|
-
"prop:confirmTheme"?: ConfirmDialog["confirmTheme"];
|
|
8295
|
-
/** Set to true to disable closing dialog on Escape press */
|
|
8296
|
-
"prop:noCloseOnEsc"?: ConfirmDialog["noCloseOnEsc"];
|
|
8297
|
-
/** Whether to show reject button or not. */
|
|
8298
|
-
"prop:rejectButtonVisible"?: ConfirmDialog["rejectButtonVisible"];
|
|
8299
|
-
/** Text displayed on reject-button.
|
|
8300
|
-
This only affects the default button, custom slotted buttons will not be altered. */
|
|
8301
|
-
"prop:rejectText"?: ConfirmDialog["rejectText"];
|
|
8302
|
-
/** Theme for a reject-button.
|
|
8303
|
-
This only affects the default button, custom slotted buttons will not be altered. */
|
|
8304
|
-
"prop:rejectTheme"?: ConfirmDialog["rejectTheme"];
|
|
8305
|
-
/** Whether to show cancel button or not. */
|
|
8306
|
-
"prop:cancelButtonVisible"?: ConfirmDialog["cancelButtonVisible"];
|
|
8307
|
-
/** Text displayed on cancel-button.
|
|
8308
|
-
This only affects the default button, custom slotted buttons will not be altered. */
|
|
8309
|
-
"prop:cancelText"?: ConfirmDialog["cancelText"];
|
|
8310
|
-
/** Theme for a cancel-button.
|
|
8311
|
-
This only affects the default button, custom slotted buttons will not be altered. */
|
|
8312
|
-
"prop:cancelTheme"?: ConfirmDialog["cancelTheme"];
|
|
8313
|
-
/** A reference to the "Cancel" button which will be teleported to the overlay. */
|
|
8314
|
-
"prop:_cancelButton"?: ConfirmDialog["_cancelButton"];
|
|
8315
|
-
/** A reference to the "Confirm" button which will be teleported to the overlay. */
|
|
8316
|
-
"prop:_confirmButton"?: ConfirmDialog["_confirmButton"];
|
|
8317
|
-
/** A reference to the "header" node which will be teleported to the overlay. */
|
|
8318
|
-
"prop:_headerNode"?: ConfirmDialog["_headerNode"];
|
|
8319
|
-
/** A list of message nodes which will be placed in the overlay default slot. */
|
|
8320
|
-
"prop:_messageNodes"?: ConfirmDialog["_messageNodes"];
|
|
8321
|
-
/** A reference to the "Reject" button which will be teleported to the overlay. */
|
|
8322
|
-
"prop:_rejectButton"?: ConfirmDialog["_rejectButton"];
|
|
8323
|
-
/** Set the width of the dialog.
|
|
8324
|
-
If a unitless number is provided, pixels are assumed. */
|
|
8325
|
-
"prop:width"?: ConfirmDialog["width"];
|
|
8326
|
-
/** Set the height of the dialog.
|
|
8327
|
-
If a unitless number is provided, pixels are assumed. */
|
|
8328
|
-
"prop:height"?: ConfirmDialog["height"];
|
|
8329
|
-
/** */
|
|
8330
|
-
"prop:dir"?: ConfirmDialog["dir"];
|
|
8331
|
-
/** Fired when Confirm button was pressed. */
|
|
8332
|
-
"on:confirm"?: (e: CustomEvent) => void;
|
|
8333
|
-
/** Fired when Cancel button or Escape key was pressed. */
|
|
8334
|
-
"on:cancel"?: (e: CustomEvent) => void;
|
|
8335
|
-
/** Fired when Reject button was pressed. */
|
|
8336
|
-
"on:reject"?: (e: CustomEvent) => void;
|
|
8337
|
-
/** Fired when the `opened` property changes. */
|
|
8338
|
-
"on:opened-changed"?: (e: CustomEvent) => void;
|
|
8339
|
-
/** Fired when the confirm dialog is closed. */
|
|
8340
|
-
"on:closed"?: (e: CustomEvent) => void;
|
|
8341
|
-
|
|
8342
|
-
/** Set the innerHTML of the element */
|
|
8343
|
-
innerHTML?: string;
|
|
8344
|
-
/** Set the textContent of the element */
|
|
8345
|
-
textContent?: string | number;
|
|
8346
|
-
};
|
|
8347
|
-
|
|
8348
|
-
export type DatePickerYearProps = {
|
|
8349
|
-
/** The theme variants to apply to the component. */
|
|
8350
|
-
theme?: unknown;
|
|
8351
|
-
/** The theme variants to apply to the component. */
|
|
8352
|
-
undefined?: unknown;
|
|
8353
|
-
/** */
|
|
8354
|
-
year?: DatePickerYear["year"];
|
|
8355
|
-
/** */
|
|
8356
|
-
selectedDate?: DatePickerYear["selectedDate"];
|
|
8357
|
-
};
|
|
8358
|
-
|
|
8359
|
-
export type DatePickerYearSolidJsProps = {
|
|
8360
|
-
/** The theme variants to apply to the component. */
|
|
8361
|
-
"attr:theme"?: unknown;
|
|
8362
|
-
/** The theme variants to apply to the component. */
|
|
8363
|
-
"prop:undefined"?: unknown;
|
|
8364
|
-
/** */
|
|
8365
|
-
"prop:year"?: DatePickerYear["year"];
|
|
8366
|
-
/** */
|
|
8367
|
-
"prop:selectedDate"?: DatePickerYear["selectedDate"];
|
|
8364
|
+
/** */
|
|
8365
|
+
"prop:year"?: DatePickerYear["year"];
|
|
8366
|
+
/** */
|
|
8367
|
+
"prop:selectedDate"?: DatePickerYear["selectedDate"];
|
|
8368
8368
|
|
|
8369
8369
|
/** Set the innerHTML of the element */
|
|
8370
8370
|
innerHTML?: string;
|
|
@@ -19480,6 +19480,154 @@ export type CustomElements = {
|
|
|
19480
19480
|
*/
|
|
19481
19481
|
"vaadin-combo-box": Partial<ComboBoxProps & BaseProps<ComboBox> & BaseEvents>;
|
|
19482
19482
|
|
|
19483
|
+
/**
|
|
19484
|
+
* `<vaadin-confirm-dialog>` is a Web Component for showing alerts and asking for user confirmation.
|
|
19485
|
+
*
|
|
19486
|
+
* ```html
|
|
19487
|
+
* <vaadin-confirm-dialog cancel-button-visible>
|
|
19488
|
+
* There are unsaved changes. Do you really want to leave?
|
|
19489
|
+
* </vaadin-confirm-dialog>
|
|
19490
|
+
* ```
|
|
19491
|
+
*
|
|
19492
|
+
* ### Styling
|
|
19493
|
+
*
|
|
19494
|
+
* The following shadow DOM parts are available for styling:
|
|
19495
|
+
*
|
|
19496
|
+
* Part name | Description
|
|
19497
|
+
* -----------------|-------------------------------------------
|
|
19498
|
+
* `backdrop` | Backdrop of the overlay
|
|
19499
|
+
* `overlay` | The overlay container
|
|
19500
|
+
* `content` | The overlay content
|
|
19501
|
+
* `header` | The header element wrapper
|
|
19502
|
+
* `message` | The message element wrapper
|
|
19503
|
+
* `footer` | The footer element that wraps the buttons
|
|
19504
|
+
* `cancel-button` | The "Cancel" button wrapper
|
|
19505
|
+
* `confirm-button` | The "Confirm" button wrapper
|
|
19506
|
+
* `reject-button` | The "Reject" button wrapper
|
|
19507
|
+
*
|
|
19508
|
+
* The following custom CSS properties are available for styling:
|
|
19509
|
+
*
|
|
19510
|
+
* Custom CSS property |
|
|
19511
|
+
* :----------------------------------------|
|
|
19512
|
+
* |`--vaadin-confirm-dialog-max-width` |
|
|
19513
|
+
* |`--vaadin-confirm-dialog-min-width` |
|
|
19514
|
+
* |`--vaadin-dialog-background` |
|
|
19515
|
+
* |`--vaadin-dialog-border-color` |
|
|
19516
|
+
* |`--vaadin-dialog-border-radius` |
|
|
19517
|
+
* |`--vaadin-dialog-border-width` |
|
|
19518
|
+
* |`--vaadin-dialog-padding` |
|
|
19519
|
+
* |`--vaadin-dialog-shadow` |
|
|
19520
|
+
* |`--vaadin-dialog-text-color` |
|
|
19521
|
+
* |`--vaadin-dialog-title-color` |
|
|
19522
|
+
* |`--vaadin-dialog-title-font-size` |
|
|
19523
|
+
* |`--vaadin-dialog-title-font-weight` |
|
|
19524
|
+
* |`--vaadin-dialog-title-line-height` |
|
|
19525
|
+
* |`--vaadin-overlay-backdrop-background` |
|
|
19526
|
+
*
|
|
19527
|
+
* Use `confirmTheme`, `cancelTheme` and `rejectTheme` properties to customize buttons theme.
|
|
19528
|
+
*
|
|
19529
|
+
* See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
|
|
19530
|
+
*
|
|
19531
|
+
* ### Custom content
|
|
19532
|
+
*
|
|
19533
|
+
* The following slots are available for providing custom content:
|
|
19534
|
+
*
|
|
19535
|
+
* Slot name | Description
|
|
19536
|
+
* ------------------|---------------------------
|
|
19537
|
+
* `header` | Slot for header element
|
|
19538
|
+
* `cancel-button` | Slot for "Cancel" button
|
|
19539
|
+
* `confirm-button` | Slot for "Confirm" button
|
|
19540
|
+
* `reject-button` | Slot for "Reject" button
|
|
19541
|
+
*
|
|
19542
|
+
* ## Attributes & Properties
|
|
19543
|
+
*
|
|
19544
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
19545
|
+
*
|
|
19546
|
+
* - `theme`/`undefined`: The theme variants to apply to the component.
|
|
19547
|
+
* - `accessibleDescriptionRef`: Sets the `aria-describedby` attribute of the dialog.
|
|
19548
|
+
*
|
|
19549
|
+
* By default, the text contents of all elements inside the message area
|
|
19550
|
+
* are combined into the `aria-description` attribute. However, there are
|
|
19551
|
+
* cases where this can confuse screen reader users (e.g. the dialog
|
|
19552
|
+
* may present a password confirmation form). For these cases,
|
|
19553
|
+
* it's better to associate only the elements that will help describe
|
|
19554
|
+
* the confirmation dialog through this API.
|
|
19555
|
+
* - `opened`: True if the dialog is visible and available for interaction.
|
|
19556
|
+
* - `header`: Set the confirmation dialog title.
|
|
19557
|
+
* - `message`: Set the message or confirmation question.
|
|
19558
|
+
* - `confirmText`: Text displayed on confirm-button.
|
|
19559
|
+
* This only affects the default button, custom slotted buttons will not be altered.
|
|
19560
|
+
* - `confirmTheme`: Theme for a confirm-button.
|
|
19561
|
+
* This only affects the default button, custom slotted buttons will not be altered.
|
|
19562
|
+
* - `noCloseOnEsc`: Set to true to disable closing dialog on Escape press
|
|
19563
|
+
* - `rejectButtonVisible`: Whether to show reject button or not.
|
|
19564
|
+
* - `rejectText`: Text displayed on reject-button.
|
|
19565
|
+
* This only affects the default button, custom slotted buttons will not be altered.
|
|
19566
|
+
* - `rejectTheme`: Theme for a reject-button.
|
|
19567
|
+
* This only affects the default button, custom slotted buttons will not be altered.
|
|
19568
|
+
* - `cancelButtonVisible`: Whether to show cancel button or not.
|
|
19569
|
+
* - `cancelText`: Text displayed on cancel-button.
|
|
19570
|
+
* This only affects the default button, custom slotted buttons will not be altered.
|
|
19571
|
+
* - `cancelTheme`: Theme for a cancel-button.
|
|
19572
|
+
* This only affects the default button, custom slotted buttons will not be altered.
|
|
19573
|
+
* - `_cancelButton`: A reference to the "Cancel" button which will be teleported to the overlay.
|
|
19574
|
+
* - `_confirmButton`: A reference to the "Confirm" button which will be teleported to the overlay.
|
|
19575
|
+
* - `_headerNode`: A reference to the "header" node which will be teleported to the overlay.
|
|
19576
|
+
* - `_messageNodes`: A list of message nodes which will be placed in the overlay default slot.
|
|
19577
|
+
* - `_rejectButton`: A reference to the "Reject" button which will be teleported to the overlay.
|
|
19578
|
+
* - `width`: Set the width of the dialog.
|
|
19579
|
+
* If a unitless number is provided, pixels are assumed.
|
|
19580
|
+
* - `height`: Set the height of the dialog.
|
|
19581
|
+
* If a unitless number is provided, pixels are assumed.
|
|
19582
|
+
* - `dir`: undefined
|
|
19583
|
+
*
|
|
19584
|
+
* ## Events
|
|
19585
|
+
*
|
|
19586
|
+
* Events that will be emitted by the component.
|
|
19587
|
+
*
|
|
19588
|
+
* - `confirm`: Fired when Confirm button was pressed.
|
|
19589
|
+
* - `cancel`: Fired when Cancel button or Escape key was pressed.
|
|
19590
|
+
* - `reject`: Fired when Reject button was pressed.
|
|
19591
|
+
* - `opened-changed`: Fired when the `opened` property changes.
|
|
19592
|
+
* - `closed`: Fired when the confirm dialog is closed.
|
|
19593
|
+
* - `undefined`: undefined
|
|
19594
|
+
*
|
|
19595
|
+
* ## Methods
|
|
19596
|
+
*
|
|
19597
|
+
* Methods that can be called to access component functionality.
|
|
19598
|
+
*
|
|
19599
|
+
* - `createProperty(name, options) => void`: undefined
|
|
19600
|
+
* - `getOrCreateMap(name) => void`: undefined
|
|
19601
|
+
* - `addCheckedInitializer(initializer) => void`: undefined
|
|
19602
|
+
* - `getPropertyDescriptor(name, key, options) => void`: undefined
|
|
19603
|
+
*
|
|
19604
|
+
* ## CSS Custom Properties
|
|
19605
|
+
*
|
|
19606
|
+
* CSS variables available for styling the component.
|
|
19607
|
+
*
|
|
19608
|
+
* - `--vaadin-confirm-dialog-max-width`: undefined (default: `undefined`)
|
|
19609
|
+
* - `--vaadin-confirm-dialog-min-width`: undefined (default: `undefined`)
|
|
19610
|
+
* - `--vaadin-dialog-background`: undefined (default: `undefined`)
|
|
19611
|
+
* - `--vaadin-dialog-border-color`: undefined (default: `undefined`)
|
|
19612
|
+
* - `--vaadin-dialog-border-radius`: undefined (default: `undefined`)
|
|
19613
|
+
* - `--vaadin-dialog-border-width`: undefined (default: `undefined`)
|
|
19614
|
+
* - `--vaadin-dialog-padding`: undefined (default: `undefined`)
|
|
19615
|
+
* - `--vaadin-dialog-shadow`: undefined (default: `undefined`)
|
|
19616
|
+
* - `--vaadin-dialog-text-color`: undefined (default: `undefined`)
|
|
19617
|
+
* - `--vaadin-dialog-title-color`: undefined (default: `undefined`)
|
|
19618
|
+
* - `--vaadin-dialog-title-font-size`: undefined (default: `undefined`)
|
|
19619
|
+
* - `--vaadin-dialog-title-font-weight`: undefined (default: `undefined`)
|
|
19620
|
+
* - `--vaadin-dialog-title-line-height`: undefined (default: `undefined`)
|
|
19621
|
+
* - `--vaadin-overlay-backdrop-background`: Use `confirmTheme`, `cancelTheme` and `rejectTheme` properties to customize buttons theme. (default: `undefined`)
|
|
19622
|
+
* - `header`: Slot for header element (default: `undefined`)
|
|
19623
|
+
* - `cancel-button`: Slot for "Cancel" button (default: `undefined`)
|
|
19624
|
+
* - `confirm-button`: Slot for "Confirm" button (default: `undefined`)
|
|
19625
|
+
* - `reject-button`: Slot for "Reject" button (default: `undefined`)
|
|
19626
|
+
*/
|
|
19627
|
+
"vaadin-confirm-dialog": Partial<
|
|
19628
|
+
ConfirmDialogProps & BaseProps<ConfirmDialog> & BaseEvents
|
|
19629
|
+
>;
|
|
19630
|
+
|
|
19483
19631
|
/**
|
|
19484
19632
|
* `<vaadin-context-menu-item>` is a Web Component for creating `<vaadin-context-menu>` items.
|
|
19485
19633
|
*
|
|
@@ -20090,167 +20238,19 @@ export type CustomElements = {
|
|
|
20090
20238
|
>;
|
|
20091
20239
|
|
|
20092
20240
|
/**
|
|
20093
|
-
*
|
|
20241
|
+
* An element used internally by `<vaadin-date-picker>`. Not intended to be used separately.
|
|
20094
20242
|
*
|
|
20095
|
-
*
|
|
20096
|
-
* <vaadin-confirm-dialog cancel-button-visible>
|
|
20097
|
-
* There are unsaved changes. Do you really want to leave?
|
|
20098
|
-
* </vaadin-confirm-dialog>
|
|
20099
|
-
* ```
|
|
20243
|
+
* ## Attributes & Properties
|
|
20100
20244
|
*
|
|
20101
|
-
*
|
|
20245
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
20102
20246
|
*
|
|
20103
|
-
* The
|
|
20247
|
+
* - `theme`/`undefined`: The theme variants to apply to the component.
|
|
20248
|
+
* - `year`: undefined
|
|
20249
|
+
* - `selectedDate`: undefined
|
|
20104
20250
|
*
|
|
20105
|
-
*
|
|
20106
|
-
* -----------------|-------------------------------------------
|
|
20107
|
-
* `backdrop` | Backdrop of the overlay
|
|
20108
|
-
* `overlay` | The overlay container
|
|
20109
|
-
* `content` | The overlay content
|
|
20110
|
-
* `header` | The header element wrapper
|
|
20111
|
-
* `message` | The message element wrapper
|
|
20112
|
-
* `footer` | The footer element that wraps the buttons
|
|
20113
|
-
* `cancel-button` | The "Cancel" button wrapper
|
|
20114
|
-
* `confirm-button` | The "Confirm" button wrapper
|
|
20115
|
-
* `reject-button` | The "Reject" button wrapper
|
|
20251
|
+
* ## Events
|
|
20116
20252
|
*
|
|
20117
|
-
*
|
|
20118
|
-
*
|
|
20119
|
-
* Custom CSS property |
|
|
20120
|
-
* :----------------------------------------|
|
|
20121
|
-
* |`--vaadin-confirm-dialog-max-width` |
|
|
20122
|
-
* |`--vaadin-confirm-dialog-min-width` |
|
|
20123
|
-
* |`--vaadin-dialog-background` |
|
|
20124
|
-
* |`--vaadin-dialog-border-color` |
|
|
20125
|
-
* |`--vaadin-dialog-border-radius` |
|
|
20126
|
-
* |`--vaadin-dialog-border-width` |
|
|
20127
|
-
* |`--vaadin-dialog-padding` |
|
|
20128
|
-
* |`--vaadin-dialog-shadow` |
|
|
20129
|
-
* |`--vaadin-dialog-text-color` |
|
|
20130
|
-
* |`--vaadin-dialog-title-color` |
|
|
20131
|
-
* |`--vaadin-dialog-title-font-size` |
|
|
20132
|
-
* |`--vaadin-dialog-title-font-weight` |
|
|
20133
|
-
* |`--vaadin-dialog-title-line-height` |
|
|
20134
|
-
* |`--vaadin-overlay-backdrop-background` |
|
|
20135
|
-
*
|
|
20136
|
-
* Use `confirmTheme`, `cancelTheme` and `rejectTheme` properties to customize buttons theme.
|
|
20137
|
-
*
|
|
20138
|
-
* See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
|
|
20139
|
-
*
|
|
20140
|
-
* ### Custom content
|
|
20141
|
-
*
|
|
20142
|
-
* The following slots are available for providing custom content:
|
|
20143
|
-
*
|
|
20144
|
-
* Slot name | Description
|
|
20145
|
-
* ------------------|---------------------------
|
|
20146
|
-
* `header` | Slot for header element
|
|
20147
|
-
* `cancel-button` | Slot for "Cancel" button
|
|
20148
|
-
* `confirm-button` | Slot for "Confirm" button
|
|
20149
|
-
* `reject-button` | Slot for "Reject" button
|
|
20150
|
-
*
|
|
20151
|
-
* ## Attributes & Properties
|
|
20152
|
-
*
|
|
20153
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
20154
|
-
*
|
|
20155
|
-
* - `theme`/`undefined`: The theme variants to apply to the component.
|
|
20156
|
-
* - `accessibleDescriptionRef`: Sets the `aria-describedby` attribute of the dialog.
|
|
20157
|
-
*
|
|
20158
|
-
* By default, the text contents of all elements inside the message area
|
|
20159
|
-
* are combined into the `aria-description` attribute. However, there are
|
|
20160
|
-
* cases where this can confuse screen reader users (e.g. the dialog
|
|
20161
|
-
* may present a password confirmation form). For these cases,
|
|
20162
|
-
* it's better to associate only the elements that will help describe
|
|
20163
|
-
* the confirmation dialog through this API.
|
|
20164
|
-
* - `opened`: True if the dialog is visible and available for interaction.
|
|
20165
|
-
* - `header`: Set the confirmation dialog title.
|
|
20166
|
-
* - `message`: Set the message or confirmation question.
|
|
20167
|
-
* - `confirmText`: Text displayed on confirm-button.
|
|
20168
|
-
* This only affects the default button, custom slotted buttons will not be altered.
|
|
20169
|
-
* - `confirmTheme`: Theme for a confirm-button.
|
|
20170
|
-
* This only affects the default button, custom slotted buttons will not be altered.
|
|
20171
|
-
* - `noCloseOnEsc`: Set to true to disable closing dialog on Escape press
|
|
20172
|
-
* - `rejectButtonVisible`: Whether to show reject button or not.
|
|
20173
|
-
* - `rejectText`: Text displayed on reject-button.
|
|
20174
|
-
* This only affects the default button, custom slotted buttons will not be altered.
|
|
20175
|
-
* - `rejectTheme`: Theme for a reject-button.
|
|
20176
|
-
* This only affects the default button, custom slotted buttons will not be altered.
|
|
20177
|
-
* - `cancelButtonVisible`: Whether to show cancel button or not.
|
|
20178
|
-
* - `cancelText`: Text displayed on cancel-button.
|
|
20179
|
-
* This only affects the default button, custom slotted buttons will not be altered.
|
|
20180
|
-
* - `cancelTheme`: Theme for a cancel-button.
|
|
20181
|
-
* This only affects the default button, custom slotted buttons will not be altered.
|
|
20182
|
-
* - `_cancelButton`: A reference to the "Cancel" button which will be teleported to the overlay.
|
|
20183
|
-
* - `_confirmButton`: A reference to the "Confirm" button which will be teleported to the overlay.
|
|
20184
|
-
* - `_headerNode`: A reference to the "header" node which will be teleported to the overlay.
|
|
20185
|
-
* - `_messageNodes`: A list of message nodes which will be placed in the overlay default slot.
|
|
20186
|
-
* - `_rejectButton`: A reference to the "Reject" button which will be teleported to the overlay.
|
|
20187
|
-
* - `width`: Set the width of the dialog.
|
|
20188
|
-
* If a unitless number is provided, pixels are assumed.
|
|
20189
|
-
* - `height`: Set the height of the dialog.
|
|
20190
|
-
* If a unitless number is provided, pixels are assumed.
|
|
20191
|
-
* - `dir`: undefined
|
|
20192
|
-
*
|
|
20193
|
-
* ## Events
|
|
20194
|
-
*
|
|
20195
|
-
* Events that will be emitted by the component.
|
|
20196
|
-
*
|
|
20197
|
-
* - `confirm`: Fired when Confirm button was pressed.
|
|
20198
|
-
* - `cancel`: Fired when Cancel button or Escape key was pressed.
|
|
20199
|
-
* - `reject`: Fired when Reject button was pressed.
|
|
20200
|
-
* - `opened-changed`: Fired when the `opened` property changes.
|
|
20201
|
-
* - `closed`: Fired when the confirm dialog is closed.
|
|
20202
|
-
* - `undefined`: undefined
|
|
20203
|
-
*
|
|
20204
|
-
* ## Methods
|
|
20205
|
-
*
|
|
20206
|
-
* Methods that can be called to access component functionality.
|
|
20207
|
-
*
|
|
20208
|
-
* - `createProperty(name, options) => void`: undefined
|
|
20209
|
-
* - `getOrCreateMap(name) => void`: undefined
|
|
20210
|
-
* - `addCheckedInitializer(initializer) => void`: undefined
|
|
20211
|
-
* - `getPropertyDescriptor(name, key, options) => void`: undefined
|
|
20212
|
-
*
|
|
20213
|
-
* ## CSS Custom Properties
|
|
20214
|
-
*
|
|
20215
|
-
* CSS variables available for styling the component.
|
|
20216
|
-
*
|
|
20217
|
-
* - `--vaadin-confirm-dialog-max-width`: undefined (default: `undefined`)
|
|
20218
|
-
* - `--vaadin-confirm-dialog-min-width`: undefined (default: `undefined`)
|
|
20219
|
-
* - `--vaadin-dialog-background`: undefined (default: `undefined`)
|
|
20220
|
-
* - `--vaadin-dialog-border-color`: undefined (default: `undefined`)
|
|
20221
|
-
* - `--vaadin-dialog-border-radius`: undefined (default: `undefined`)
|
|
20222
|
-
* - `--vaadin-dialog-border-width`: undefined (default: `undefined`)
|
|
20223
|
-
* - `--vaadin-dialog-padding`: undefined (default: `undefined`)
|
|
20224
|
-
* - `--vaadin-dialog-shadow`: undefined (default: `undefined`)
|
|
20225
|
-
* - `--vaadin-dialog-text-color`: undefined (default: `undefined`)
|
|
20226
|
-
* - `--vaadin-dialog-title-color`: undefined (default: `undefined`)
|
|
20227
|
-
* - `--vaadin-dialog-title-font-size`: undefined (default: `undefined`)
|
|
20228
|
-
* - `--vaadin-dialog-title-font-weight`: undefined (default: `undefined`)
|
|
20229
|
-
* - `--vaadin-dialog-title-line-height`: undefined (default: `undefined`)
|
|
20230
|
-
* - `--vaadin-overlay-backdrop-background`: Use `confirmTheme`, `cancelTheme` and `rejectTheme` properties to customize buttons theme. (default: `undefined`)
|
|
20231
|
-
* - `header`: Slot for header element (default: `undefined`)
|
|
20232
|
-
* - `cancel-button`: Slot for "Cancel" button (default: `undefined`)
|
|
20233
|
-
* - `confirm-button`: Slot for "Confirm" button (default: `undefined`)
|
|
20234
|
-
* - `reject-button`: Slot for "Reject" button (default: `undefined`)
|
|
20235
|
-
*/
|
|
20236
|
-
"vaadin-confirm-dialog": Partial<
|
|
20237
|
-
ConfirmDialogProps & BaseProps<ConfirmDialog> & BaseEvents
|
|
20238
|
-
>;
|
|
20239
|
-
|
|
20240
|
-
/**
|
|
20241
|
-
* An element used internally by `<vaadin-date-picker>`. Not intended to be used separately.
|
|
20242
|
-
*
|
|
20243
|
-
* ## Attributes & Properties
|
|
20244
|
-
*
|
|
20245
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
20246
|
-
*
|
|
20247
|
-
* - `theme`/`undefined`: The theme variants to apply to the component.
|
|
20248
|
-
* - `year`: undefined
|
|
20249
|
-
* - `selectedDate`: undefined
|
|
20250
|
-
*
|
|
20251
|
-
* ## Events
|
|
20252
|
-
*
|
|
20253
|
-
* Events that will be emitted by the component.
|
|
20253
|
+
* Events that will be emitted by the component.
|
|
20254
20254
|
*
|
|
20255
20255
|
* - `undefined`: undefined
|
|
20256
20256
|
*
|
|
@@ -30620,6 +30620,157 @@ export type CustomElementsSolidJs = {
|
|
|
30620
30620
|
ComboBoxProps & ComboBoxSolidJsProps & BaseProps<ComboBox> & BaseEvents
|
|
30621
30621
|
>;
|
|
30622
30622
|
|
|
30623
|
+
/**
|
|
30624
|
+
* `<vaadin-confirm-dialog>` is a Web Component for showing alerts and asking for user confirmation.
|
|
30625
|
+
*
|
|
30626
|
+
* ```html
|
|
30627
|
+
* <vaadin-confirm-dialog cancel-button-visible>
|
|
30628
|
+
* There are unsaved changes. Do you really want to leave?
|
|
30629
|
+
* </vaadin-confirm-dialog>
|
|
30630
|
+
* ```
|
|
30631
|
+
*
|
|
30632
|
+
* ### Styling
|
|
30633
|
+
*
|
|
30634
|
+
* The following shadow DOM parts are available for styling:
|
|
30635
|
+
*
|
|
30636
|
+
* Part name | Description
|
|
30637
|
+
* -----------------|-------------------------------------------
|
|
30638
|
+
* `backdrop` | Backdrop of the overlay
|
|
30639
|
+
* `overlay` | The overlay container
|
|
30640
|
+
* `content` | The overlay content
|
|
30641
|
+
* `header` | The header element wrapper
|
|
30642
|
+
* `message` | The message element wrapper
|
|
30643
|
+
* `footer` | The footer element that wraps the buttons
|
|
30644
|
+
* `cancel-button` | The "Cancel" button wrapper
|
|
30645
|
+
* `confirm-button` | The "Confirm" button wrapper
|
|
30646
|
+
* `reject-button` | The "Reject" button wrapper
|
|
30647
|
+
*
|
|
30648
|
+
* The following custom CSS properties are available for styling:
|
|
30649
|
+
*
|
|
30650
|
+
* Custom CSS property |
|
|
30651
|
+
* :----------------------------------------|
|
|
30652
|
+
* |`--vaadin-confirm-dialog-max-width` |
|
|
30653
|
+
* |`--vaadin-confirm-dialog-min-width` |
|
|
30654
|
+
* |`--vaadin-dialog-background` |
|
|
30655
|
+
* |`--vaadin-dialog-border-color` |
|
|
30656
|
+
* |`--vaadin-dialog-border-radius` |
|
|
30657
|
+
* |`--vaadin-dialog-border-width` |
|
|
30658
|
+
* |`--vaadin-dialog-padding` |
|
|
30659
|
+
* |`--vaadin-dialog-shadow` |
|
|
30660
|
+
* |`--vaadin-dialog-text-color` |
|
|
30661
|
+
* |`--vaadin-dialog-title-color` |
|
|
30662
|
+
* |`--vaadin-dialog-title-font-size` |
|
|
30663
|
+
* |`--vaadin-dialog-title-font-weight` |
|
|
30664
|
+
* |`--vaadin-dialog-title-line-height` |
|
|
30665
|
+
* |`--vaadin-overlay-backdrop-background` |
|
|
30666
|
+
*
|
|
30667
|
+
* Use `confirmTheme`, `cancelTheme` and `rejectTheme` properties to customize buttons theme.
|
|
30668
|
+
*
|
|
30669
|
+
* See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
|
|
30670
|
+
*
|
|
30671
|
+
* ### Custom content
|
|
30672
|
+
*
|
|
30673
|
+
* The following slots are available for providing custom content:
|
|
30674
|
+
*
|
|
30675
|
+
* Slot name | Description
|
|
30676
|
+
* ------------------|---------------------------
|
|
30677
|
+
* `header` | Slot for header element
|
|
30678
|
+
* `cancel-button` | Slot for "Cancel" button
|
|
30679
|
+
* `confirm-button` | Slot for "Confirm" button
|
|
30680
|
+
* `reject-button` | Slot for "Reject" button
|
|
30681
|
+
*
|
|
30682
|
+
* ## Attributes & Properties
|
|
30683
|
+
*
|
|
30684
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
30685
|
+
*
|
|
30686
|
+
* - `theme`/`undefined`: The theme variants to apply to the component.
|
|
30687
|
+
* - `accessibleDescriptionRef`: Sets the `aria-describedby` attribute of the dialog.
|
|
30688
|
+
*
|
|
30689
|
+
* By default, the text contents of all elements inside the message area
|
|
30690
|
+
* are combined into the `aria-description` attribute. However, there are
|
|
30691
|
+
* cases where this can confuse screen reader users (e.g. the dialog
|
|
30692
|
+
* may present a password confirmation form). For these cases,
|
|
30693
|
+
* it's better to associate only the elements that will help describe
|
|
30694
|
+
* the confirmation dialog through this API.
|
|
30695
|
+
* - `opened`: True if the dialog is visible and available for interaction.
|
|
30696
|
+
* - `header`: Set the confirmation dialog title.
|
|
30697
|
+
* - `message`: Set the message or confirmation question.
|
|
30698
|
+
* - `confirmText`: Text displayed on confirm-button.
|
|
30699
|
+
* This only affects the default button, custom slotted buttons will not be altered.
|
|
30700
|
+
* - `confirmTheme`: Theme for a confirm-button.
|
|
30701
|
+
* This only affects the default button, custom slotted buttons will not be altered.
|
|
30702
|
+
* - `noCloseOnEsc`: Set to true to disable closing dialog on Escape press
|
|
30703
|
+
* - `rejectButtonVisible`: Whether to show reject button or not.
|
|
30704
|
+
* - `rejectText`: Text displayed on reject-button.
|
|
30705
|
+
* This only affects the default button, custom slotted buttons will not be altered.
|
|
30706
|
+
* - `rejectTheme`: Theme for a reject-button.
|
|
30707
|
+
* This only affects the default button, custom slotted buttons will not be altered.
|
|
30708
|
+
* - `cancelButtonVisible`: Whether to show cancel button or not.
|
|
30709
|
+
* - `cancelText`: Text displayed on cancel-button.
|
|
30710
|
+
* This only affects the default button, custom slotted buttons will not be altered.
|
|
30711
|
+
* - `cancelTheme`: Theme for a cancel-button.
|
|
30712
|
+
* This only affects the default button, custom slotted buttons will not be altered.
|
|
30713
|
+
* - `_cancelButton`: A reference to the "Cancel" button which will be teleported to the overlay.
|
|
30714
|
+
* - `_confirmButton`: A reference to the "Confirm" button which will be teleported to the overlay.
|
|
30715
|
+
* - `_headerNode`: A reference to the "header" node which will be teleported to the overlay.
|
|
30716
|
+
* - `_messageNodes`: A list of message nodes which will be placed in the overlay default slot.
|
|
30717
|
+
* - `_rejectButton`: A reference to the "Reject" button which will be teleported to the overlay.
|
|
30718
|
+
* - `width`: Set the width of the dialog.
|
|
30719
|
+
* If a unitless number is provided, pixels are assumed.
|
|
30720
|
+
* - `height`: Set the height of the dialog.
|
|
30721
|
+
* If a unitless number is provided, pixels are assumed.
|
|
30722
|
+
* - `dir`: undefined
|
|
30723
|
+
*
|
|
30724
|
+
* ## Events
|
|
30725
|
+
*
|
|
30726
|
+
* Events that will be emitted by the component.
|
|
30727
|
+
*
|
|
30728
|
+
* - `confirm`: Fired when Confirm button was pressed.
|
|
30729
|
+
* - `cancel`: Fired when Cancel button or Escape key was pressed.
|
|
30730
|
+
* - `reject`: Fired when Reject button was pressed.
|
|
30731
|
+
* - `opened-changed`: Fired when the `opened` property changes.
|
|
30732
|
+
* - `closed`: Fired when the confirm dialog is closed.
|
|
30733
|
+
* - `undefined`: undefined
|
|
30734
|
+
*
|
|
30735
|
+
* ## Methods
|
|
30736
|
+
*
|
|
30737
|
+
* Methods that can be called to access component functionality.
|
|
30738
|
+
*
|
|
30739
|
+
* - `createProperty(name, options) => void`: undefined
|
|
30740
|
+
* - `getOrCreateMap(name) => void`: undefined
|
|
30741
|
+
* - `addCheckedInitializer(initializer) => void`: undefined
|
|
30742
|
+
* - `getPropertyDescriptor(name, key, options) => void`: undefined
|
|
30743
|
+
*
|
|
30744
|
+
* ## CSS Custom Properties
|
|
30745
|
+
*
|
|
30746
|
+
* CSS variables available for styling the component.
|
|
30747
|
+
*
|
|
30748
|
+
* - `--vaadin-confirm-dialog-max-width`: undefined (default: `undefined`)
|
|
30749
|
+
* - `--vaadin-confirm-dialog-min-width`: undefined (default: `undefined`)
|
|
30750
|
+
* - `--vaadin-dialog-background`: undefined (default: `undefined`)
|
|
30751
|
+
* - `--vaadin-dialog-border-color`: undefined (default: `undefined`)
|
|
30752
|
+
* - `--vaadin-dialog-border-radius`: undefined (default: `undefined`)
|
|
30753
|
+
* - `--vaadin-dialog-border-width`: undefined (default: `undefined`)
|
|
30754
|
+
* - `--vaadin-dialog-padding`: undefined (default: `undefined`)
|
|
30755
|
+
* - `--vaadin-dialog-shadow`: undefined (default: `undefined`)
|
|
30756
|
+
* - `--vaadin-dialog-text-color`: undefined (default: `undefined`)
|
|
30757
|
+
* - `--vaadin-dialog-title-color`: undefined (default: `undefined`)
|
|
30758
|
+
* - `--vaadin-dialog-title-font-size`: undefined (default: `undefined`)
|
|
30759
|
+
* - `--vaadin-dialog-title-font-weight`: undefined (default: `undefined`)
|
|
30760
|
+
* - `--vaadin-dialog-title-line-height`: undefined (default: `undefined`)
|
|
30761
|
+
* - `--vaadin-overlay-backdrop-background`: Use `confirmTheme`, `cancelTheme` and `rejectTheme` properties to customize buttons theme. (default: `undefined`)
|
|
30762
|
+
* - `header`: Slot for header element (default: `undefined`)
|
|
30763
|
+
* - `cancel-button`: Slot for "Cancel" button (default: `undefined`)
|
|
30764
|
+
* - `confirm-button`: Slot for "Confirm" button (default: `undefined`)
|
|
30765
|
+
* - `reject-button`: Slot for "Reject" button (default: `undefined`)
|
|
30766
|
+
*/
|
|
30767
|
+
"vaadin-confirm-dialog": Partial<
|
|
30768
|
+
ConfirmDialogProps &
|
|
30769
|
+
ConfirmDialogSolidJsProps &
|
|
30770
|
+
BaseProps<ConfirmDialog> &
|
|
30771
|
+
BaseEvents
|
|
30772
|
+
>;
|
|
30773
|
+
|
|
30623
30774
|
/**
|
|
30624
30775
|
* `<vaadin-context-menu-item>` is a Web Component for creating `<vaadin-context-menu>` items.
|
|
30625
30776
|
*
|
|
@@ -31241,157 +31392,6 @@ export type CustomElementsSolidJs = {
|
|
|
31241
31392
|
BaseEvents
|
|
31242
31393
|
>;
|
|
31243
31394
|
|
|
31244
|
-
/**
|
|
31245
|
-
* `<vaadin-confirm-dialog>` is a Web Component for showing alerts and asking for user confirmation.
|
|
31246
|
-
*
|
|
31247
|
-
* ```html
|
|
31248
|
-
* <vaadin-confirm-dialog cancel-button-visible>
|
|
31249
|
-
* There are unsaved changes. Do you really want to leave?
|
|
31250
|
-
* </vaadin-confirm-dialog>
|
|
31251
|
-
* ```
|
|
31252
|
-
*
|
|
31253
|
-
* ### Styling
|
|
31254
|
-
*
|
|
31255
|
-
* The following shadow DOM parts are available for styling:
|
|
31256
|
-
*
|
|
31257
|
-
* Part name | Description
|
|
31258
|
-
* -----------------|-------------------------------------------
|
|
31259
|
-
* `backdrop` | Backdrop of the overlay
|
|
31260
|
-
* `overlay` | The overlay container
|
|
31261
|
-
* `content` | The overlay content
|
|
31262
|
-
* `header` | The header element wrapper
|
|
31263
|
-
* `message` | The message element wrapper
|
|
31264
|
-
* `footer` | The footer element that wraps the buttons
|
|
31265
|
-
* `cancel-button` | The "Cancel" button wrapper
|
|
31266
|
-
* `confirm-button` | The "Confirm" button wrapper
|
|
31267
|
-
* `reject-button` | The "Reject" button wrapper
|
|
31268
|
-
*
|
|
31269
|
-
* The following custom CSS properties are available for styling:
|
|
31270
|
-
*
|
|
31271
|
-
* Custom CSS property |
|
|
31272
|
-
* :----------------------------------------|
|
|
31273
|
-
* |`--vaadin-confirm-dialog-max-width` |
|
|
31274
|
-
* |`--vaadin-confirm-dialog-min-width` |
|
|
31275
|
-
* |`--vaadin-dialog-background` |
|
|
31276
|
-
* |`--vaadin-dialog-border-color` |
|
|
31277
|
-
* |`--vaadin-dialog-border-radius` |
|
|
31278
|
-
* |`--vaadin-dialog-border-width` |
|
|
31279
|
-
* |`--vaadin-dialog-padding` |
|
|
31280
|
-
* |`--vaadin-dialog-shadow` |
|
|
31281
|
-
* |`--vaadin-dialog-text-color` |
|
|
31282
|
-
* |`--vaadin-dialog-title-color` |
|
|
31283
|
-
* |`--vaadin-dialog-title-font-size` |
|
|
31284
|
-
* |`--vaadin-dialog-title-font-weight` |
|
|
31285
|
-
* |`--vaadin-dialog-title-line-height` |
|
|
31286
|
-
* |`--vaadin-overlay-backdrop-background` |
|
|
31287
|
-
*
|
|
31288
|
-
* Use `confirmTheme`, `cancelTheme` and `rejectTheme` properties to customize buttons theme.
|
|
31289
|
-
*
|
|
31290
|
-
* See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
|
|
31291
|
-
*
|
|
31292
|
-
* ### Custom content
|
|
31293
|
-
*
|
|
31294
|
-
* The following slots are available for providing custom content:
|
|
31295
|
-
*
|
|
31296
|
-
* Slot name | Description
|
|
31297
|
-
* ------------------|---------------------------
|
|
31298
|
-
* `header` | Slot for header element
|
|
31299
|
-
* `cancel-button` | Slot for "Cancel" button
|
|
31300
|
-
* `confirm-button` | Slot for "Confirm" button
|
|
31301
|
-
* `reject-button` | Slot for "Reject" button
|
|
31302
|
-
*
|
|
31303
|
-
* ## Attributes & Properties
|
|
31304
|
-
*
|
|
31305
|
-
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
31306
|
-
*
|
|
31307
|
-
* - `theme`/`undefined`: The theme variants to apply to the component.
|
|
31308
|
-
* - `accessibleDescriptionRef`: Sets the `aria-describedby` attribute of the dialog.
|
|
31309
|
-
*
|
|
31310
|
-
* By default, the text contents of all elements inside the message area
|
|
31311
|
-
* are combined into the `aria-description` attribute. However, there are
|
|
31312
|
-
* cases where this can confuse screen reader users (e.g. the dialog
|
|
31313
|
-
* may present a password confirmation form). For these cases,
|
|
31314
|
-
* it's better to associate only the elements that will help describe
|
|
31315
|
-
* the confirmation dialog through this API.
|
|
31316
|
-
* - `opened`: True if the dialog is visible and available for interaction.
|
|
31317
|
-
* - `header`: Set the confirmation dialog title.
|
|
31318
|
-
* - `message`: Set the message or confirmation question.
|
|
31319
|
-
* - `confirmText`: Text displayed on confirm-button.
|
|
31320
|
-
* This only affects the default button, custom slotted buttons will not be altered.
|
|
31321
|
-
* - `confirmTheme`: Theme for a confirm-button.
|
|
31322
|
-
* This only affects the default button, custom slotted buttons will not be altered.
|
|
31323
|
-
* - `noCloseOnEsc`: Set to true to disable closing dialog on Escape press
|
|
31324
|
-
* - `rejectButtonVisible`: Whether to show reject button or not.
|
|
31325
|
-
* - `rejectText`: Text displayed on reject-button.
|
|
31326
|
-
* This only affects the default button, custom slotted buttons will not be altered.
|
|
31327
|
-
* - `rejectTheme`: Theme for a reject-button.
|
|
31328
|
-
* This only affects the default button, custom slotted buttons will not be altered.
|
|
31329
|
-
* - `cancelButtonVisible`: Whether to show cancel button or not.
|
|
31330
|
-
* - `cancelText`: Text displayed on cancel-button.
|
|
31331
|
-
* This only affects the default button, custom slotted buttons will not be altered.
|
|
31332
|
-
* - `cancelTheme`: Theme for a cancel-button.
|
|
31333
|
-
* This only affects the default button, custom slotted buttons will not be altered.
|
|
31334
|
-
* - `_cancelButton`: A reference to the "Cancel" button which will be teleported to the overlay.
|
|
31335
|
-
* - `_confirmButton`: A reference to the "Confirm" button which will be teleported to the overlay.
|
|
31336
|
-
* - `_headerNode`: A reference to the "header" node which will be teleported to the overlay.
|
|
31337
|
-
* - `_messageNodes`: A list of message nodes which will be placed in the overlay default slot.
|
|
31338
|
-
* - `_rejectButton`: A reference to the "Reject" button which will be teleported to the overlay.
|
|
31339
|
-
* - `width`: Set the width of the dialog.
|
|
31340
|
-
* If a unitless number is provided, pixels are assumed.
|
|
31341
|
-
* - `height`: Set the height of the dialog.
|
|
31342
|
-
* If a unitless number is provided, pixels are assumed.
|
|
31343
|
-
* - `dir`: undefined
|
|
31344
|
-
*
|
|
31345
|
-
* ## Events
|
|
31346
|
-
*
|
|
31347
|
-
* Events that will be emitted by the component.
|
|
31348
|
-
*
|
|
31349
|
-
* - `confirm`: Fired when Confirm button was pressed.
|
|
31350
|
-
* - `cancel`: Fired when Cancel button or Escape key was pressed.
|
|
31351
|
-
* - `reject`: Fired when Reject button was pressed.
|
|
31352
|
-
* - `opened-changed`: Fired when the `opened` property changes.
|
|
31353
|
-
* - `closed`: Fired when the confirm dialog is closed.
|
|
31354
|
-
* - `undefined`: undefined
|
|
31355
|
-
*
|
|
31356
|
-
* ## Methods
|
|
31357
|
-
*
|
|
31358
|
-
* Methods that can be called to access component functionality.
|
|
31359
|
-
*
|
|
31360
|
-
* - `createProperty(name, options) => void`: undefined
|
|
31361
|
-
* - `getOrCreateMap(name) => void`: undefined
|
|
31362
|
-
* - `addCheckedInitializer(initializer) => void`: undefined
|
|
31363
|
-
* - `getPropertyDescriptor(name, key, options) => void`: undefined
|
|
31364
|
-
*
|
|
31365
|
-
* ## CSS Custom Properties
|
|
31366
|
-
*
|
|
31367
|
-
* CSS variables available for styling the component.
|
|
31368
|
-
*
|
|
31369
|
-
* - `--vaadin-confirm-dialog-max-width`: undefined (default: `undefined`)
|
|
31370
|
-
* - `--vaadin-confirm-dialog-min-width`: undefined (default: `undefined`)
|
|
31371
|
-
* - `--vaadin-dialog-background`: undefined (default: `undefined`)
|
|
31372
|
-
* - `--vaadin-dialog-border-color`: undefined (default: `undefined`)
|
|
31373
|
-
* - `--vaadin-dialog-border-radius`: undefined (default: `undefined`)
|
|
31374
|
-
* - `--vaadin-dialog-border-width`: undefined (default: `undefined`)
|
|
31375
|
-
* - `--vaadin-dialog-padding`: undefined (default: `undefined`)
|
|
31376
|
-
* - `--vaadin-dialog-shadow`: undefined (default: `undefined`)
|
|
31377
|
-
* - `--vaadin-dialog-text-color`: undefined (default: `undefined`)
|
|
31378
|
-
* - `--vaadin-dialog-title-color`: undefined (default: `undefined`)
|
|
31379
|
-
* - `--vaadin-dialog-title-font-size`: undefined (default: `undefined`)
|
|
31380
|
-
* - `--vaadin-dialog-title-font-weight`: undefined (default: `undefined`)
|
|
31381
|
-
* - `--vaadin-dialog-title-line-height`: undefined (default: `undefined`)
|
|
31382
|
-
* - `--vaadin-overlay-backdrop-background`: Use `confirmTheme`, `cancelTheme` and `rejectTheme` properties to customize buttons theme. (default: `undefined`)
|
|
31383
|
-
* - `header`: Slot for header element (default: `undefined`)
|
|
31384
|
-
* - `cancel-button`: Slot for "Cancel" button (default: `undefined`)
|
|
31385
|
-
* - `confirm-button`: Slot for "Confirm" button (default: `undefined`)
|
|
31386
|
-
* - `reject-button`: Slot for "Reject" button (default: `undefined`)
|
|
31387
|
-
*/
|
|
31388
|
-
"vaadin-confirm-dialog": Partial<
|
|
31389
|
-
ConfirmDialogProps &
|
|
31390
|
-
ConfirmDialogSolidJsProps &
|
|
31391
|
-
BaseProps<ConfirmDialog> &
|
|
31392
|
-
BaseEvents
|
|
31393
|
-
>;
|
|
31394
|
-
|
|
31395
31395
|
/**
|
|
31396
31396
|
* An element used internally by `<vaadin-date-picker>`. Not intended to be used separately.
|
|
31397
31397
|
*
|