@sdata/web-vue 3.13.0 → 3.15.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/dist/sd.css +167 -114
- package/dist/sd.min.css +2 -2
- package/es/_components/input-label/input-label.d.ts +2 -0
- package/es/_components/input-label/input-label.js +4 -2
- package/es/_components/input-label/style/index.css +2 -2
- package/es/_components/picker/style/index.scss +8 -2
- package/es/_components/resize-observer.js +1 -1
- package/es/_components/resize-trigger.vue_vue_type_script_setup_true_lang.js +13 -3
- package/es/_components/select-view/select-view.d.ts +2 -0
- package/es/_components/select-view/select-view.js +7 -1
- package/es/_components/select-view/style/index.css +5 -5
- package/es/_hooks/use-focus-trap.d.ts +10 -0
- package/es/_hooks/use-focus-trap.js +115 -0
- package/es/_utils/dom.js +1 -10
- package/es/_utils/keyboard.d.ts +4 -0
- package/es/_utils/keyboard.js +21 -2
- package/es/alert/alert.vue.d.ts +2 -2
- package/es/alert/alert.vue_vue_type_script_setup_true_lang.js +16 -4
- package/es/alert/index.d.ts +5 -5
- package/es/alert/style/index.css +1 -1
- package/es/alert/style/index.scss +1 -1
- package/es/anchor/anchor-link.vue_vue_type_script_setup_true_lang.js +3 -1
- package/es/anchor/anchor.vue_vue_type_script_setup_true_lang.js +6 -1
- package/es/anchor/style/index.css +1 -1
- package/es/anchor/style/index.scss +3 -1
- package/es/auto-complete/auto-complete.js +8 -0
- package/es/avatar/avatar.vue_vue_type_script_setup_true_lang.js +8 -2
- package/es/avatar/style/index.css +2 -2
- package/es/avatar/style/index.scss +2 -2
- package/es/back-top/back-top.vue_vue_type_script_setup_true_lang.js +8 -1
- package/es/back-top/style/index.css +1 -1
- package/es/back-top/style/index.scss +2 -1
- package/es/badge/badge.js +4 -1
- package/es/badge/style/index.css +3 -3
- package/es/badge/style/index.scss +3 -3
- package/es/basic-crud-table/basic-crud-modal.js +5 -0
- package/es/basic-crud-table/basic-crud-modal.vue.d.ts +264 -0
- package/es/basic-crud-table/basic-crud-modal.vue_vue_type_script_setup_true_lang.js +139 -0
- package/es/basic-crud-table/basic-crud-table.js +5 -0
- package/es/basic-crud-table/basic-crud-table.vue.d.ts +935 -0
- package/es/basic-crud-table/basic-crud-table.vue_vue_type_script_setup_true_lang.js +510 -0
- package/es/basic-crud-table/index.d.ts +2722 -0
- package/es/basic-crud-table/index.js +9 -0
- package/es/basic-crud-table/style/css.js +2 -0
- package/es/basic-crud-table/style/index.css +42 -0
- package/es/basic-crud-table/style/index.d.ts +2 -0
- package/es/basic-crud-table/style/index.js +2 -0
- package/es/basic-crud-table/style/index.scss +33 -0
- package/es/basic-crud-table/style/token.scss +8 -0
- package/es/basic-crud-table/types.d.ts +69 -0
- package/es/breadcrumb/breadcrumb-item.js +4 -2
- package/es/breadcrumb/breadcrumb.js +3 -0
- package/es/button/button.vue_vue_type_script_setup_true_lang.js +10 -5
- package/es/button/style/index.css +15 -6
- package/es/button/style/index.scss +25 -7
- package/es/calendar/components/event.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/calendar/components/headings-bar.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/calendar/style/event.scss +2 -2
- package/es/calendar/style/index.css +2 -2
- package/es/card/style/index.css +3 -3
- package/es/card/style/index.scss +3 -3
- package/es/carousel/carousel-arrow.vue.d.ts +4 -4
- package/es/carousel/carousel-arrow.vue_vue_type_script_setup_true_lang.js +25 -5
- package/es/carousel/carousel-indicator.vue_vue_type_script_setup_true_lang.js +25 -4
- package/es/carousel/carousel-item.vue_vue_type_script_setup_true_lang.js +11 -2
- package/es/carousel/carousel.js +20 -1
- package/es/carousel/style/index.css +1 -1
- package/es/carousel/style/index.scss +1 -1
- package/es/cascader/cascader-option.js +1 -1
- package/es/cascader/cascader.vue_vue_type_script_setup_true_lang.js +13 -4
- package/es/cascader/style/index.css +2 -2
- package/es/cascader/style/index.scss +3 -1
- package/es/checkbox/checkbox-group.js +4 -1
- package/es/checkbox/checkbox.d.ts +9 -0
- package/es/checkbox/checkbox.js +14 -0
- package/es/checkbox/index.d.ts +15 -0
- package/es/checkbox/style/index.css +1 -1
- package/es/checkbox/style/index.scss +1 -1
- package/es/collapse/collapse-item.js +21 -3
- package/es/collapse/context.d.ts +1 -1
- package/es/color-picker/color-picker.js +6 -0
- package/es/color-picker/panel.js +5 -3
- package/es/components.d.ts +1 -0
- package/es/copy/copy.vue_vue_type_script_setup_true_lang.js +11 -3
- package/es/date-picker/hooks/use-provide-datepicker-transform.js +1 -1
- package/es/date-picker/panels/body.vue_vue_type_script_setup_true_lang.js +14 -1
- package/es/date-picker/panels/header.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/date-picker/picker.vue_vue_type_script_setup_true_lang.js +4 -3
- package/es/date-picker/range-picker.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/date-picker/style/index.css +5 -5
- package/es/date-picker/style/index.scss +4 -3
- package/es/drawer/drawer.vue.d.ts +1 -1
- package/es/drawer/drawer.vue_vue_type_script_setup_true_lang.js +31 -9
- package/es/drawer/index.d.ts +3 -3
- package/es/dropdown/dropdown-button.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/dropdown/dropdown-option.vue_vue_type_script_setup_true_lang.js +5 -1
- package/es/dropdown/dropdown-panel.vue.d.ts +9 -0
- package/es/dropdown/dropdown-panel.vue_vue_type_script_setup_true_lang.js +76 -3
- package/es/dropdown/dropdown-submenu.vue_vue_type_script_setup_true_lang.js +6 -3
- package/es/dropdown/dropdown.vue_vue_type_script_setup_true_lang.js +4 -2
- package/es/dropdown/style/index.css +1 -1
- package/es/dropdown/style/index.scss +3 -1
- package/es/file-previewer/file-previewer.vue.d.ts +1 -1
- package/es/file-previewer/file-previewer.vue_vue_type_script_setup_true_lang.js +18 -10
- package/es/file-previewer/index.d.ts +3 -3
- package/es/form/context.d.ts +1 -0
- package/es/form/form-item.vue_vue_type_script_setup_true_lang.js +7 -3
- package/es/form/index.js +1 -1
- package/es/form/style/index.css +2 -2
- package/es/form/style/index.scss +2 -2
- package/es/grid/grid-col.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/grid/grid-item.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/grid/grid-row.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/grid/grid.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/image/image.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/image/preview-arrow.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/image/preview.vue.d.ts +1 -1
- package/es/image/preview.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/index.css +167 -114
- package/es/index.d.ts +2 -0
- package/es/index.js +55 -54
- package/es/index.scss +1 -0
- package/es/input/input.js +18 -2
- package/es/input/style/index.css +2 -2
- package/es/input/style/input.scss +4 -4
- package/es/input-number/input-number.js +9 -3
- package/es/input-number/style/index.css +3 -3
- package/es/input-number/style/index.scss +5 -1
- package/es/input-tag/index.d.ts +3 -0
- package/es/input-tag/input-tag.d.ts +2 -0
- package/es/input-tag/input-tag.js +34 -30
- package/es/input-tag/style/index.css +8 -8
- package/es/input-tag/style/index.scss +11 -5
- package/es/json-form/style/index.css +0 -3
- package/es/json-form/style/index.scss +4 -3
- package/es/json-form/utils.js +4 -4
- package/es/layout/sider.vue_vue_type_script_setup_true_lang.js +34 -7
- package/es/layout/style/index.css +2 -2
- package/es/layout/style/index.scss +4 -2
- package/es/link/link.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/link/style/index.css +1 -1
- package/es/link/style/index.scss +3 -1
- package/es/list/list.js +1 -1
- package/es/locale/interface.d.ts +39 -0
- package/es/locale/lang/ar-eg.js +38 -0
- package/es/locale/lang/de-de.js +38 -0
- package/es/locale/lang/en-us.js +38 -0
- package/es/locale/lang/es-es.js +38 -0
- package/es/locale/lang/fr-fr.js +38 -0
- package/es/locale/lang/id-id.js +38 -0
- package/es/locale/lang/it-it.js +38 -0
- package/es/locale/lang/ja-jp.js +38 -0
- package/es/locale/lang/km-kh.js +38 -0
- package/es/locale/lang/ko-kr.js +38 -0
- package/es/locale/lang/ms-my.js +38 -0
- package/es/locale/lang/nl-nl.js +38 -0
- package/es/locale/lang/pt-pt.js +38 -0
- package/es/locale/lang/ru-ru.js +38 -0
- package/es/locale/lang/th-th.js +38 -0
- package/es/locale/lang/vi-vn.js +38 -0
- package/es/locale/lang/zh-cn.js +38 -0
- package/es/locale/lang/zh-tw.js +38 -0
- package/es/mention/mention.js +8 -0
- package/es/menu/base-menu.vue_vue_type_script_setup_true_lang.js +29 -3
- package/es/menu/item.d.ts +1 -1
- package/es/menu/item.js +14 -1
- package/es/menu/style/index.css +6 -6
- package/es/menu/style/index.scss +5 -3
- package/es/message/style/index.css +3 -3
- package/es/message/style/index.scss +5 -3
- package/es/modal/index.d.ts +3 -3
- package/es/modal/modal.vue.d.ts +1 -1
- package/es/modal/modal.vue_vue_type_script_setup_true_lang.js +31 -15
- package/es/modal/style/index.css +2 -2
- package/es/modal/style/index.scss +3 -2
- package/es/notification/style/index.css +3 -3
- package/es/notification/style/index.scss +11 -3
- package/es/overflow-list/overflow-list.js +1 -1
- package/es/page-header/page-header.vue.d.ts +6 -6
- package/es/page-header/page-header.vue_vue_type_script_setup_true_lang.js +19 -2
- package/es/pagination/page-item-ellipsis.vue_vue_type_script_setup_true_lang.js +15 -2
- package/es/pagination/page-item-step.vue.d.ts +2 -2
- package/es/pagination/page-item-step.vue_vue_type_script_setup_true_lang.js +23 -4
- package/es/pagination/page-item.vue.d.ts +2 -2
- package/es/pagination/page-item.vue_vue_type_script_setup_true_lang.js +21 -3
- package/es/pagination/pagination.js +5 -1
- package/es/pagination/style/index.css +6 -1
- package/es/pagination/style/index.scss +9 -3
- package/es/popconfirm/popconfirm.vue_vue_type_script_setup_true_lang.js +3 -1
- package/es/popover/popover.vue_vue_type_script_setup_true_lang.js +2 -0
- package/es/progress/style/index.css +2 -2
- package/es/progress/style/index.scss +5 -3
- package/es/qr-code/qr-code-status.vue_vue_type_script_setup_true_lang.js +5 -1
- package/es/qr-code/qr-code.vue_vue_type_script_setup_true_lang.js +13 -6
- package/es/radio/context.d.ts +1 -0
- package/es/radio/radio-group.js +6 -2
- package/es/radio/radio.js +1 -0
- package/es/radio/style/index.css +2 -2
- package/es/radio/style/index.scss +4 -2
- package/es/rate/rate.js +27 -1
- package/es/resize-box/resize-box.vue.d.ts +4 -4
- package/es/resize-box/resize-box.vue_vue_type_script_setup_true_lang.js +30 -1
- package/es/result/result.vue_vue_type_script_setup_true_lang.js +7 -4
- package/es/sd-vue.js +54 -52
- package/es/secret/secret.vue_vue_type_script_setup_true_lang.js +3 -1
- package/es/select/index.d.ts +124 -0
- package/es/select/select-dropdown.vue_vue_type_script_setup_true_lang.js +4 -1
- package/es/select/select.d.ts +62 -0
- package/es/select/select.js +20 -4
- package/es/select/style/index.css +1 -1
- package/es/select/style/index.scss +3 -1
- package/es/selectable-card/style/index.css +2 -2
- package/es/selectable-card/style/index.scss +5 -5
- package/es/skeleton/skeleton.vue_vue_type_script_setup_true_lang.js +5 -1
- package/es/slider/slider-button.vue.d.ts +2 -0
- package/es/slider/slider-button.vue_vue_type_script_setup_true_lang.js +7 -2
- package/es/slider/slider.vue_vue_type_script_setup_true_lang.js +23 -2
- package/es/slider/style/index.css +1 -1
- package/es/slider/style/index.scss +3 -1
- package/es/spin/spin.js +7 -2
- package/es/spin/style/index.css +1 -1
- package/es/spin/style/index.scss +1 -1
- package/es/split/split.vue.d.ts +4 -4
- package/es/split/split.vue_vue_type_script_setup_true_lang.js +27 -3
- package/es/statistic/statistic.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/steps/context.d.ts +1 -0
- package/es/steps/step.vue_vue_type_script_setup_true_lang.js +15 -2
- package/es/steps/steps.vue_vue_type_script_setup_true_lang.js +10 -2
- package/es/steps/style/index.css +1 -1
- package/es/steps/style/index.scss +1 -1
- package/es/style/animation/index.scss +1 -0
- package/es/style/animation/reduced-motion.scss +22 -0
- package/es/style/animation/zoom.scss +7 -6
- package/es/style/icon.scss +9 -1
- package/es/switch/style/index.css +1 -1
- package/es/switch/style/index.scss +4 -1
- package/es/switch/switch.vue_vue_type_script_setup_true_lang.js +6 -1
- package/es/table/index.d.ts +4 -4
- package/es/table/style/index.css +8 -8
- package/es/table/style/index.scss +11 -8
- package/es/table/table-operation-td.d.ts +15 -0
- package/es/table/table-operation-td.js +3 -3
- package/es/table/table-operation-th.js +1 -1
- package/es/table/table-tbody.js +4 -1
- package/es/table/table-td.js +2 -1
- package/es/table/table-th.d.ts +1 -1
- package/es/table/table-th.js +7 -5
- package/es/table/table-thead.js +4 -1
- package/es/table/table-tr.js +4 -1
- package/es/table/table.d.ts +1 -1
- package/es/table/table.js +8 -4
- package/es/tabs/context.d.ts +1 -0
- package/es/tabs/style/index.css +5 -5
- package/es/tabs/style/index.scss +7 -7
- package/es/tabs/tab-pane.vue_vue_type_script_setup_true_lang.js +21 -2
- package/es/tabs/tabs-button.js +1 -1
- package/es/tabs/tabs-nav.js +34 -1
- package/es/tabs/tabs-tab.vue_vue_type_script_setup_true_lang.js +27 -4
- package/es/tabs/tabs.js +4 -2
- package/es/tag/index.d.ts +5 -5
- package/es/tag/style/index.css +1 -1
- package/es/tag/style/index.scss +3 -1
- package/es/tag/tag.vue.d.ts +2 -2
- package/es/tag/tag.vue_vue_type_script_setup_true_lang.js +27 -4
- package/es/tag-group/tag-group.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/textarea/style/index.css +2 -2
- package/es/textarea/textarea.vue_vue_type_script_setup_true_lang.js +18 -3
- package/es/time-picker/time-column.vue_vue_type_script_setup_true_lang.js +11 -3
- package/es/time-picker/time-picker.vue_vue_type_script_setup_true_lang.js +6 -3
- package/es/toolbar/index.d.ts +3 -3
- package/es/toolbar/toolbar.vue.d.ts +2 -2
- package/es/toolbar/toolbar.vue_vue_type_script_setup_true_lang.js +5 -5
- package/es/tooltip/tooltip.vue_vue_type_script_setup_true_lang.js +1 -0
- package/es/transfer/style/index.css +1 -1
- package/es/transfer/style/index.scss +1 -1
- package/es/transfer/transfer-list-item.js +18 -2
- package/es/transfer/transfer.vue_vue_type_script_setup_true_lang.js +7 -5
- package/es/tree/base-node.vue_vue_type_script_setup_true_lang.js +28 -8
- package/es/tree/context.d.ts +2 -0
- package/es/tree/node-switcher.vue_vue_type_script_lang.js +1 -1
- package/es/tree/style/index.css +1 -1
- package/es/tree/style/index.scss +1 -1
- package/es/tree/tree.vue_vue_type_script_setup_true_lang.js +81 -2
- package/es/tree-select/tree-select.vue_vue_type_script_setup_true_lang.js +10 -1
- package/es/trigger/index.d.ts +45 -0
- package/es/trigger/trigger.d.ts +27 -0
- package/es/trigger/trigger.js +47 -5
- package/es/typography/edit-content.vue_vue_type_script_setup_true_lang.js +17 -8
- package/es/typography/operations.vue_vue_type_script_setup_true_lang.js +38 -6
- package/es/typography/style/index.css +2 -2
- package/es/typography/style/index.scss +2 -2
- package/es/upload/style/index.css +9 -9
- package/es/upload/style/index.scss +15 -9
- package/es/upload/upload-list-item.js +18 -5
- package/es/upload/upload-picture-item.js +27 -3
- package/es/verification-code/verification-code.js +8 -1
- package/json/vetur-attributes.json +15 -0
- package/json/vetur-tags.json +9 -2
- package/json/web-types.json +39 -1
- package/package.json +1 -1
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
background: var(--sd-color-fill-2);
|
|
45
45
|
border: 1px dashed var(--sd-color-neutral-3);
|
|
46
46
|
border-radius: var(--sd-border-radius-small);
|
|
47
|
-
transition:
|
|
47
|
+
transition: color 0.1s cubic-bezier(0.34, 0.69, 0.1, 1), background-color 0.1s cubic-bezier(0.34, 0.69, 0.1, 1), border-color 0.1s cubic-bezier(0.34, 0.69, 0.1, 1);
|
|
48
48
|
}
|
|
49
49
|
.sd-upload-picture-card:hover {
|
|
50
50
|
color: var(--sd-color-text-2);
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
background-color: var(--sd-color-fill-1);
|
|
60
60
|
border: 1px dashed var(--sd-color-neutral-3);
|
|
61
61
|
border-radius: var(--sd-border-radius-small);
|
|
62
|
-
transition:
|
|
62
|
+
transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
|
|
63
63
|
}
|
|
64
64
|
.sd-upload-drag .sd-icon-plus {
|
|
65
65
|
margin-bottom: 24px;
|
|
@@ -159,7 +159,7 @@
|
|
|
159
159
|
color: rgb(var(--sd-primary-6));
|
|
160
160
|
font-size: 14px;
|
|
161
161
|
cursor: pointer;
|
|
162
|
-
transition:
|
|
162
|
+
transition: color 0.2s ease;
|
|
163
163
|
}
|
|
164
164
|
.sd-upload-icon-upload:active, .sd-upload-icon-upload:hover {
|
|
165
165
|
color: rgb(var(--sd-primary-7));
|
|
@@ -205,7 +205,7 @@
|
|
|
205
205
|
font-size: 14px;
|
|
206
206
|
background-color: var(--sd-color-fill-1);
|
|
207
207
|
border-radius: var(--sd-border-radius-small);
|
|
208
|
-
transition: background-color 0.1s cubic-bezier(0, 0, 1, 1);
|
|
208
|
+
transition: background-color 0.1s cubic-bezier(0.34, 0.69, 0.1, 1);
|
|
209
209
|
}
|
|
210
210
|
.sd-upload-list-item-file-icon {
|
|
211
211
|
margin-right: 12px;
|
|
@@ -294,7 +294,7 @@
|
|
|
294
294
|
padding-right: 0;
|
|
295
295
|
overflow: hidden;
|
|
296
296
|
vertical-align: top;
|
|
297
|
-
transition:
|
|
297
|
+
transition: opacity 0.2s cubic-bezier(0.34, 0.69, 0.1, 1);
|
|
298
298
|
}
|
|
299
299
|
.sd-upload-list-picture-status-error .sd-upload-list-picture-mask {
|
|
300
300
|
opacity: 1;
|
|
@@ -324,7 +324,7 @@
|
|
|
324
324
|
background: rgba(0, 0, 0, 0.5);
|
|
325
325
|
cursor: pointer;
|
|
326
326
|
opacity: 0;
|
|
327
|
-
transition: opacity 0.1s cubic-bezier(0, 0, 1, 1);
|
|
327
|
+
transition: opacity 0.1s cubic-bezier(0.34, 0.69, 0.1, 1);
|
|
328
328
|
}
|
|
329
329
|
.sd-upload-list-picture-operation {
|
|
330
330
|
display: none;
|
|
@@ -380,7 +380,7 @@
|
|
|
380
380
|
margin: 0;
|
|
381
381
|
overflow: hidden;
|
|
382
382
|
opacity: 0;
|
|
383
|
-
transition: opacity 0.1s cubic-bezier(0, 0, 1, 1), height 0.3s cubic-bezier(0.34, 0.69, 0.1, 1) 0.1s, margin 0.3s cubic-bezier(0.34, 0.69, 0.1, 1) 0.1s;
|
|
383
|
+
transition: opacity 0.1s cubic-bezier(0.34, 0.69, 0.1, 1), height 0.3s cubic-bezier(0.34, 0.69, 0.1, 1) 0.1s, margin 0.3s cubic-bezier(0.34, 0.69, 0.1, 1) 0.1s;
|
|
384
384
|
}
|
|
385
385
|
|
|
386
386
|
.sd-upload-list-item.sd-upload-slide-inline-enter {
|
|
@@ -388,7 +388,7 @@
|
|
|
388
388
|
}
|
|
389
389
|
.sd-upload-list-item.sd-upload-slide-inline-enter-active {
|
|
390
390
|
opacity: 1;
|
|
391
|
-
transition: opacity 0.2s cubic-bezier(0, 0, 1, 1);
|
|
391
|
+
transition: opacity 0.2s cubic-bezier(0.34, 0.69, 0.1, 1);
|
|
392
392
|
}
|
|
393
393
|
.sd-upload-list-item.sd-upload-slide-inline-exit {
|
|
394
394
|
opacity: 1;
|
|
@@ -397,5 +397,5 @@
|
|
|
397
397
|
margin: 0;
|
|
398
398
|
overflow: hidden;
|
|
399
399
|
opacity: 0;
|
|
400
|
-
transition: opacity 0.1s cubic-bezier(0, 0, 1, 1), width 0.3s cubic-bezier(0.34, 0.69, 0.1, 1) 0.1s, margin 0.3s cubic-bezier(0.34, 0.69, 0.1, 1) 0.1s;
|
|
400
|
+
transition: opacity 0.1s cubic-bezier(0.34, 0.69, 0.1, 1), width 0.3s cubic-bezier(0.34, 0.69, 0.1, 1) 0.1s, margin 0.3s cubic-bezier(0.34, 0.69, 0.1, 1) 0.1s;
|
|
401
401
|
}
|
|
@@ -35,7 +35,10 @@ $upload-prefix-cls: string.unquote('#{theme.$prefix}-upload');
|
|
|
35
35
|
background: $upload-picture-color-bg;
|
|
36
36
|
border: $upload-picture-border-width $upload-picture-border-style $upload-picture-color-border;
|
|
37
37
|
border-radius: $upload-picture-border-radius;
|
|
38
|
-
transition:
|
|
38
|
+
transition:
|
|
39
|
+
color theme.$transition-duration-1 theme.$transition-timing-function-standard,
|
|
40
|
+
background-color theme.$transition-duration-1 theme.$transition-timing-function-standard,
|
|
41
|
+
border-color theme.$transition-duration-1 theme.$transition-timing-function-standard;
|
|
39
42
|
|
|
40
43
|
&:hover {
|
|
41
44
|
color: $upload-picture-color-text_hover;
|
|
@@ -52,7 +55,10 @@ $upload-prefix-cls: string.unquote('#{theme.$prefix}-upload');
|
|
|
52
55
|
background-color: $upload-drag-color-bg;
|
|
53
56
|
border: $upload-drag-border-width $upload-drag-border-style $upload-drag-color-border;
|
|
54
57
|
border-radius: $upload-drag-border-radius;
|
|
55
|
-
transition:
|
|
58
|
+
transition:
|
|
59
|
+
color theme.$transition-duration-2 ease,
|
|
60
|
+
background-color theme.$transition-duration-2 ease,
|
|
61
|
+
border-color theme.$transition-duration-2 ease;
|
|
56
62
|
|
|
57
63
|
.#{theme.$prefix}-icon-plus {
|
|
58
64
|
margin-bottom: $upload-drag-margin-icon-bottom;
|
|
@@ -175,7 +181,7 @@ $upload-prefix-cls: string.unquote('#{theme.$prefix}-upload');
|
|
|
175
181
|
color: $upload-text-item-color-reupload-icon;
|
|
176
182
|
font-size: $upload-text-item-size-reupload-icon;
|
|
177
183
|
cursor: pointer;
|
|
178
|
-
transition:
|
|
184
|
+
transition: color theme.$transition-duration-2 ease;
|
|
179
185
|
|
|
180
186
|
&:active,
|
|
181
187
|
&:hover {
|
|
@@ -225,7 +231,7 @@ $upload-prefix-cls: string.unquote('#{theme.$prefix}-upload');
|
|
|
225
231
|
background-color: $upload-text-item-color-bg;
|
|
226
232
|
border-radius: $upload-text-item-border-radius;
|
|
227
233
|
transition: background-color theme.$transition-duration-1
|
|
228
|
-
theme.$transition-timing-function-
|
|
234
|
+
theme.$transition-timing-function-standard;
|
|
229
235
|
}
|
|
230
236
|
|
|
231
237
|
&-file-icon {
|
|
@@ -348,7 +354,7 @@ $upload-prefix-cls: string.unquote('#{theme.$prefix}-upload');
|
|
|
348
354
|
padding-right: 0;
|
|
349
355
|
overflow: hidden;
|
|
350
356
|
vertical-align: top;
|
|
351
|
-
transition:
|
|
357
|
+
transition: opacity theme.$transition-duration-2 theme.$transition-timing-function-standard;
|
|
352
358
|
}
|
|
353
359
|
|
|
354
360
|
&-picture-status-error &-picture-mask {
|
|
@@ -381,7 +387,7 @@ $upload-prefix-cls: string.unquote('#{theme.$prefix}-upload');
|
|
|
381
387
|
background: $upload-picture-item-color-operation_bg;
|
|
382
388
|
cursor: pointer;
|
|
383
389
|
opacity: 0;
|
|
384
|
-
transition: opacity theme.$transition-duration-1 theme.$transition-timing-function-
|
|
390
|
+
transition: opacity theme.$transition-duration-1 theme.$transition-timing-function-standard;
|
|
385
391
|
}
|
|
386
392
|
|
|
387
393
|
&-operation {
|
|
@@ -468,7 +474,7 @@ $upload-prefix-cls: string.unquote('#{theme.$prefix}-upload');
|
|
|
468
474
|
overflow: hidden;
|
|
469
475
|
opacity: 0;
|
|
470
476
|
transition:
|
|
471
|
-
opacity theme.$transition-duration-1 theme.$transition-timing-function-
|
|
477
|
+
opacity theme.$transition-duration-1 theme.$transition-timing-function-standard,
|
|
472
478
|
height theme.$transition-duration-3 theme.$transition-timing-function-standard
|
|
473
479
|
theme.$transition-duration-1,
|
|
474
480
|
margin theme.$transition-duration-3 theme.$transition-timing-function-standard
|
|
@@ -482,7 +488,7 @@ $upload-prefix-cls: string.unquote('#{theme.$prefix}-upload');
|
|
|
482
488
|
|
|
483
489
|
&.#{$upload-prefix-cls}-slide-inline-enter-active {
|
|
484
490
|
opacity: 1;
|
|
485
|
-
transition: opacity theme.$transition-duration-2 theme.$transition-timing-function-
|
|
491
|
+
transition: opacity theme.$transition-duration-2 theme.$transition-timing-function-standard;
|
|
486
492
|
}
|
|
487
493
|
|
|
488
494
|
&.#{$upload-prefix-cls}-slide-inline-exit {
|
|
@@ -494,7 +500,7 @@ $upload-prefix-cls: string.unquote('#{theme.$prefix}-upload');
|
|
|
494
500
|
overflow: hidden;
|
|
495
501
|
opacity: 0;
|
|
496
502
|
transition:
|
|
497
|
-
opacity theme.$transition-duration-1 theme.$transition-timing-function-
|
|
503
|
+
opacity theme.$transition-duration-1 theme.$transition-timing-function-standard,
|
|
498
504
|
width theme.$transition-duration-3 theme.$transition-timing-function-standard
|
|
499
505
|
theme.$transition-duration-1,
|
|
500
506
|
margin theme.$transition-duration-3 theme.$transition-timing-function-standard
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { getPrefixCls } from "../_utils/global-config.js";
|
|
2
2
|
import icon_hover_default from "../_components/icon-hover.js";
|
|
3
|
+
import { isActivationKey } from "../_utils/keyboard.js";
|
|
3
4
|
import IconExclamationCircleFill from "../icon/icon-exclamation-circle-fill/index.js";
|
|
4
5
|
import { useI18n } from "../locale/index.js";
|
|
5
6
|
import Tooltip from "../tooltip/index.js";
|
|
@@ -93,13 +94,25 @@ var upload_list_item_default = /* @__PURE__ */ defineComponent({
|
|
|
93
94
|
"listType": props.listType
|
|
94
95
|
}, null)
|
|
95
96
|
]),
|
|
96
|
-
(uploadCtx === null || uploadCtx === void 0 ? void 0 : uploadCtx.showRemoveButton) && createVNode("span", { "class": `${itemCls}-operation` }, [createVNode(
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
97
|
+
(uploadCtx === null || uploadCtx === void 0 ? void 0 : uploadCtx.showRemoveButton) && createVNode("span", { "class": `${itemCls}-operation` }, [createVNode("span", {
|
|
98
|
+
"role": "button",
|
|
99
|
+
"tabindex": "0",
|
|
100
|
+
"aria-label": t("a11y.remove"),
|
|
101
|
+
"onClick": () => {
|
|
102
|
+
var _uploadCtx$onRemove;
|
|
103
|
+
return uploadCtx === null || uploadCtx === void 0 || (_uploadCtx$onRemove = uploadCtx.onRemove) === null || _uploadCtx$onRemove === void 0 ? void 0 : _uploadCtx$onRemove.call(uploadCtx, props.file);
|
|
104
|
+
},
|
|
105
|
+
"onKeydown": (e) => {
|
|
106
|
+
if (isActivationKey(e)) {
|
|
107
|
+
var _uploadCtx$onRemove2;
|
|
108
|
+
e.preventDefault();
|
|
109
|
+
uploadCtx === null || uploadCtx === void 0 || (_uploadCtx$onRemove2 = uploadCtx.onRemove) === null || _uploadCtx$onRemove2 === void 0 || _uploadCtx$onRemove2.call(uploadCtx, props.file);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}, [createVNode(icon_hover_default, null, { default: () => {
|
|
100
113
|
var _ref5, _uploadCtx$slots$remo, _uploadCtx$slots6, _uploadCtx$slots6$rem, _uploadCtx$customIcon9, _uploadCtx$customIcon10;
|
|
101
114
|
return [createVNode("span", { "class": [uploadCtx === null || uploadCtx === void 0 ? void 0 : uploadCtx.iconCls, `${uploadCtx === null || uploadCtx === void 0 ? void 0 : uploadCtx.iconCls}-remove`] }, [(_ref5 = (_uploadCtx$slots$remo = uploadCtx === null || uploadCtx === void 0 || (_uploadCtx$slots6$rem = (_uploadCtx$slots6 = uploadCtx.slots)["remove-icon"]) === null || _uploadCtx$slots6$rem === void 0 ? void 0 : _uploadCtx$slots6$rem.call(_uploadCtx$slots6)) !== null && _uploadCtx$slots$remo !== void 0 ? _uploadCtx$slots$remo : uploadCtx === null || uploadCtx === void 0 || (_uploadCtx$customIcon9 = uploadCtx.customIcon) === null || _uploadCtx$customIcon9 === void 0 || (_uploadCtx$customIcon10 = _uploadCtx$customIcon9.removeIcon) === null || _uploadCtx$customIcon10 === void 0 ? void 0 : _uploadCtx$customIcon10.call(_uploadCtx$customIcon9)) !== null && _ref5 !== void 0 ? _ref5 : createVNode(IconDelete, null, null)])];
|
|
102
|
-
} })]),
|
|
115
|
+
} })])]),
|
|
103
116
|
uploadCtx === null || uploadCtx === void 0 || (_uploadCtx$slots7$ext = (_uploadCtx$slots7 = uploadCtx.slots)["extra-button"]) === null || _uploadCtx$slots7$ext === void 0 ? void 0 : _uploadCtx$slots7$ext.call(_uploadCtx$slots7, { fileItem: props.file })
|
|
104
117
|
]);
|
|
105
118
|
};
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { getPrefixCls } from "../_utils/global-config.js";
|
|
2
|
+
import { isActivationKey } from "../_utils/keyboard.js";
|
|
3
|
+
import { useI18n } from "../locale/index.js";
|
|
2
4
|
import IconEye from "../icon/icon-eye/index.js";
|
|
3
5
|
import IconImageClose from "../icon/icon-image-close/index.js";
|
|
4
6
|
import IconDelete from "../icon/icon-delete/index.js";
|
|
@@ -20,9 +22,16 @@ var upload_picture_item_default = /* @__PURE__ */ defineComponent({
|
|
|
20
22
|
}
|
|
21
23
|
},
|
|
22
24
|
setup(props) {
|
|
25
|
+
const { t } = useI18n();
|
|
23
26
|
const itemCls = `${getPrefixCls("upload-list")}-picture`;
|
|
24
27
|
const cls = computed(() => [itemCls, { [`${itemCls}-status-error`]: props.file.status === "error" }]);
|
|
25
28
|
const uploadCtx = inject(uploadInjectionKey, void 0);
|
|
29
|
+
const onActionKeydown = (fn) => (e) => {
|
|
30
|
+
if (fn && isActivationKey(e)) {
|
|
31
|
+
e.preventDefault();
|
|
32
|
+
fn();
|
|
33
|
+
}
|
|
34
|
+
};
|
|
26
35
|
const renderCard = () => {
|
|
27
36
|
var _uploadCtx$slots$imag, _uploadCtx$slots, _uploadCtx$slots$imag2, _ref, _uploadCtx$slots$erro, _uploadCtx$slots2, _uploadCtx$slots2$err, _uploadCtx$customIcon, _uploadCtx$customIcon2, _ref2, _uploadCtx$slots$prev, _uploadCtx$slots3, _uploadCtx$slots3$pre, _uploadCtx$customIcon3, _uploadCtx$customIcon4, _ref3, _uploadCtx$slots$retr, _uploadCtx$slots4, _uploadCtx$slots4$ret, _uploadCtx$customIcon5, _uploadCtx$customIcon6, _ref4, _uploadCtx$slots$remo, _uploadCtx$slots5, _uploadCtx$slots5$rem, _uploadCtx$customIcon7, _uploadCtx$customIcon8, _uploadCtx$slots6, _uploadCtx$slots6$ext;
|
|
28
37
|
if (props.file.status === "uploading") return createVNode(upload_progress_default, {
|
|
@@ -35,15 +44,30 @@ var upload_picture_item_default = /* @__PURE__ */ defineComponent({
|
|
|
35
44
|
}, (uploadCtx === null || uploadCtx === void 0 ? void 0 : uploadCtx.imageLoading) ? { loading: uploadCtx.imageLoading } : void 0), null), createVNode("div", { "class": `${itemCls}-mask` }, [props.file.status === "error" && (uploadCtx === null || uploadCtx === void 0 ? void 0 : uploadCtx.showCancelButton) && createVNode("div", { "class": `${itemCls}-error-tip` }, [createVNode("span", { "class": [uploadCtx === null || uploadCtx === void 0 ? void 0 : uploadCtx.iconCls, `${uploadCtx === null || uploadCtx === void 0 ? void 0 : uploadCtx.iconCls}-error`] }, [(_ref = (_uploadCtx$slots$erro = uploadCtx === null || uploadCtx === void 0 || (_uploadCtx$slots2$err = (_uploadCtx$slots2 = uploadCtx.slots)["error-icon"]) === null || _uploadCtx$slots2$err === void 0 ? void 0 : _uploadCtx$slots2$err.call(_uploadCtx$slots2)) !== null && _uploadCtx$slots$erro !== void 0 ? _uploadCtx$slots$erro : uploadCtx === null || uploadCtx === void 0 || (_uploadCtx$customIcon = uploadCtx.customIcon) === null || _uploadCtx$customIcon === void 0 || (_uploadCtx$customIcon2 = _uploadCtx$customIcon.errorIcon) === null || _uploadCtx$customIcon2 === void 0 ? void 0 : _uploadCtx$customIcon2.call(_uploadCtx$customIcon)) !== null && _ref !== void 0 ? _ref : createVNode(IconImageClose, null, null)])]), createVNode("div", { "class": `${itemCls}-operation` }, [
|
|
36
45
|
props.file.status !== "error" && (uploadCtx === null || uploadCtx === void 0 ? void 0 : uploadCtx.showPreviewButton) && createVNode("span", {
|
|
37
46
|
"class": [uploadCtx === null || uploadCtx === void 0 ? void 0 : uploadCtx.iconCls, `${uploadCtx === null || uploadCtx === void 0 ? void 0 : uploadCtx.iconCls}-preview`],
|
|
38
|
-
"
|
|
47
|
+
"role": "button",
|
|
48
|
+
"tabindex": "0",
|
|
49
|
+
"aria-label": t("a11y.preview"),
|
|
50
|
+
"onClick": () => uploadCtx === null || uploadCtx === void 0 ? void 0 : uploadCtx.onPreview(props.file),
|
|
51
|
+
"onKeydown": onActionKeydown(() => uploadCtx === null || uploadCtx === void 0 ? void 0 : uploadCtx.onPreview(props.file))
|
|
39
52
|
}, [(_ref2 = (_uploadCtx$slots$prev = uploadCtx === null || uploadCtx === void 0 || (_uploadCtx$slots3$pre = (_uploadCtx$slots3 = uploadCtx.slots)["preview-icon"]) === null || _uploadCtx$slots3$pre === void 0 ? void 0 : _uploadCtx$slots3$pre.call(_uploadCtx$slots3)) !== null && _uploadCtx$slots$prev !== void 0 ? _uploadCtx$slots$prev : uploadCtx === null || uploadCtx === void 0 || (_uploadCtx$customIcon3 = uploadCtx.customIcon) === null || _uploadCtx$customIcon3 === void 0 || (_uploadCtx$customIcon4 = _uploadCtx$customIcon3.previewIcon) === null || _uploadCtx$customIcon4 === void 0 ? void 0 : _uploadCtx$customIcon4.call(_uploadCtx$customIcon3)) !== null && _ref2 !== void 0 ? _ref2 : createVNode(IconEye, null, null)]),
|
|
40
53
|
["init", "error"].includes(props.file.status) && (uploadCtx === null || uploadCtx === void 0 ? void 0 : uploadCtx.showRetryButton) && createVNode("span", {
|
|
41
54
|
"class": [uploadCtx === null || uploadCtx === void 0 ? void 0 : uploadCtx.iconCls, `${uploadCtx === null || uploadCtx === void 0 ? void 0 : uploadCtx.iconCls}-upload`],
|
|
42
|
-
"
|
|
55
|
+
"role": "button",
|
|
56
|
+
"tabindex": "0",
|
|
57
|
+
"aria-label": t("a11y.retryUpload"),
|
|
58
|
+
"onClick": () => uploadCtx === null || uploadCtx === void 0 ? void 0 : uploadCtx.onUpload(props.file),
|
|
59
|
+
"onKeydown": onActionKeydown(() => uploadCtx === null || uploadCtx === void 0 ? void 0 : uploadCtx.onUpload(props.file))
|
|
43
60
|
}, [(_ref3 = (_uploadCtx$slots$retr = uploadCtx === null || uploadCtx === void 0 || (_uploadCtx$slots4$ret = (_uploadCtx$slots4 = uploadCtx.slots)["retry-icon"]) === null || _uploadCtx$slots4$ret === void 0 ? void 0 : _uploadCtx$slots4$ret.call(_uploadCtx$slots4)) !== null && _uploadCtx$slots$retr !== void 0 ? _uploadCtx$slots$retr : uploadCtx === null || uploadCtx === void 0 || (_uploadCtx$customIcon5 = uploadCtx.customIcon) === null || _uploadCtx$customIcon5 === void 0 || (_uploadCtx$customIcon6 = _uploadCtx$customIcon5.retryIcon) === null || _uploadCtx$customIcon6 === void 0 ? void 0 : _uploadCtx$customIcon6.call(_uploadCtx$customIcon5)) !== null && _ref3 !== void 0 ? _ref3 : createVNode(IconUpload, null, null)]),
|
|
44
61
|
!(uploadCtx === null || uploadCtx === void 0 ? void 0 : uploadCtx.disabled) && (uploadCtx === null || uploadCtx === void 0 ? void 0 : uploadCtx.showRemoveButton) && createVNode("span", {
|
|
45
62
|
"class": [uploadCtx === null || uploadCtx === void 0 ? void 0 : uploadCtx.iconCls, `${uploadCtx === null || uploadCtx === void 0 ? void 0 : uploadCtx.iconCls}-remove`],
|
|
46
|
-
"
|
|
63
|
+
"role": "button",
|
|
64
|
+
"tabindex": "0",
|
|
65
|
+
"aria-label": t("a11y.remove"),
|
|
66
|
+
"onClick": () => uploadCtx === null || uploadCtx === void 0 ? void 0 : uploadCtx.onRemove(props.file),
|
|
67
|
+
"onKeydown": onActionKeydown(() => {
|
|
68
|
+
var _uploadCtx$onRemove;
|
|
69
|
+
return uploadCtx === null || uploadCtx === void 0 || (_uploadCtx$onRemove = uploadCtx.onRemove) === null || _uploadCtx$onRemove === void 0 ? void 0 : _uploadCtx$onRemove.call(uploadCtx, props.file);
|
|
70
|
+
})
|
|
47
71
|
}, [(_ref4 = (_uploadCtx$slots$remo = uploadCtx === null || uploadCtx === void 0 || (_uploadCtx$slots5$rem = (_uploadCtx$slots5 = uploadCtx.slots)["remove-icon"]) === null || _uploadCtx$slots5$rem === void 0 ? void 0 : _uploadCtx$slots5$rem.call(_uploadCtx$slots5)) !== null && _uploadCtx$slots$remo !== void 0 ? _uploadCtx$slots$remo : uploadCtx === null || uploadCtx === void 0 || (_uploadCtx$customIcon7 = uploadCtx.customIcon) === null || _uploadCtx$customIcon7 === void 0 || (_uploadCtx$customIcon8 = _uploadCtx$customIcon7.removeIcon) === null || _uploadCtx$customIcon8 === void 0 ? void 0 : _uploadCtx$customIcon8.call(_uploadCtx$customIcon7)) !== null && _ref4 !== void 0 ? _ref4 : createVNode(IconDelete, null, null)]),
|
|
48
72
|
uploadCtx === null || uploadCtx === void 0 || (_uploadCtx$slots6$ext = (_uploadCtx$slots6 = uploadCtx.slots)["extra-button"]) === null || _uploadCtx$slots6$ext === void 0 ? void 0 : _uploadCtx$slots6$ext.call(_uploadCtx$slots6, props.file)
|
|
49
73
|
])])]);
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { getPrefixCls } from "../_utils/global-config.js";
|
|
2
2
|
import { isExist, isFunction, isString, isUndefined } from "../_utils/is.js";
|
|
3
|
+
import { useI18n } from "../locale/index.js";
|
|
3
4
|
import { ArrowLeft, ArrowRight, Backspace } from "../_utils/keycode.js";
|
|
4
5
|
import Input from "../input/index.js";
|
|
5
6
|
import { Fragment, computed, createVNode, defineComponent, mergeProps, ref, watch } from "vue";
|
|
@@ -96,6 +97,7 @@ var verification_code_default = /* @__PURE__ */ defineComponent({
|
|
|
96
97
|
"input": (_inputValue, _index, _ev) => true
|
|
97
98
|
},
|
|
98
99
|
setup(props, { emit }) {
|
|
100
|
+
const { t } = useI18n();
|
|
99
101
|
const prefixCls = getPrefixCls("verification-code");
|
|
100
102
|
const prefixInputCls = getPrefixCls("input");
|
|
101
103
|
const inputRefList = ref([]);
|
|
@@ -184,7 +186,11 @@ var verification_code_default = /* @__PURE__ */ defineComponent({
|
|
|
184
186
|
updateValue();
|
|
185
187
|
};
|
|
186
188
|
return () => {
|
|
187
|
-
return createVNode("div", {
|
|
189
|
+
return createVNode("div", {
|
|
190
|
+
"class": prefixCls,
|
|
191
|
+
"role": "group",
|
|
192
|
+
"aria-label": t("a11y.verificationCode")
|
|
193
|
+
}, [innerValue.value.map((c, i) => {
|
|
188
194
|
var _props$separator;
|
|
189
195
|
return createVNode(Fragment, null, [createVNode(Input, mergeProps({
|
|
190
196
|
"key": i,
|
|
@@ -196,6 +202,7 @@ var verification_code_default = /* @__PURE__ */ defineComponent({
|
|
|
196
202
|
"error": props.error,
|
|
197
203
|
"disabled": props.disabled,
|
|
198
204
|
"readonly": props.readonly,
|
|
205
|
+
"inputAttrs": { "aria-label": t("a11y.characterOf", i + 1, props.length) },
|
|
199
206
|
"onFocus": () => focusFirstEmptyInput(i),
|
|
200
207
|
"onInput": (v, e) => handleInput(i, v, e)
|
|
201
208
|
}, {
|
|
@@ -463,6 +463,10 @@
|
|
|
463
463
|
"description": "Whether it is half-selected",
|
|
464
464
|
"type": "boolean"
|
|
465
465
|
},
|
|
466
|
+
"sd-checkbox/tabindex": {
|
|
467
|
+
"description": "tabindex for the native input (omitted by default so the input stays natively focusable; pass -1 in tree nodes to remove the checkbox from the Tab order and operate it via the treeitem)",
|
|
468
|
+
"type": "number|string"
|
|
469
|
+
},
|
|
466
470
|
"sd-checkbox-group/change": {
|
|
467
471
|
"description": "Trigger when the value changes"
|
|
468
472
|
},
|
|
@@ -4353,6 +4357,17 @@
|
|
|
4353
4357
|
"description": "Scroll threshold, trigger close when the scroll distance exceeds this value",
|
|
4354
4358
|
"type": "number"
|
|
4355
4359
|
},
|
|
4360
|
+
"sd-trigger/esc-to-close": {
|
|
4361
|
+
"description": "Whether to close the popup with the ESC key",
|
|
4362
|
+
"type": "boolean"
|
|
4363
|
+
},
|
|
4364
|
+
"sd-trigger/aria-has-popup": {
|
|
4365
|
+
"description": "Popup type for the trigger's `aria-haspopup`. When set, the trigger automatically gets `aria-haspopup` / `aria-expanded` / `aria-controls`, and the popup gets an id."
|
|
4366
|
+
},
|
|
4367
|
+
"sd-trigger/aria-describedby-popup": {
|
|
4368
|
+
"description": "Whether to add `aria-describedby` on the trigger pointing to the popup (tooltip pattern). Only applied while the popup is visible.",
|
|
4369
|
+
"type": "boolean"
|
|
4370
|
+
},
|
|
4356
4371
|
"sd-typography-paragraph/blockquote": {
|
|
4357
4372
|
"description": "Whether enable blockquote",
|
|
4358
4373
|
"type": "boolean"
|
package/json/vetur-tags.json
CHANGED
|
@@ -109,6 +109,9 @@
|
|
|
109
109
|
"count"
|
|
110
110
|
]
|
|
111
111
|
},
|
|
112
|
+
"sd-basic-crud-table": {
|
|
113
|
+
"attributes": []
|
|
114
|
+
},
|
|
112
115
|
"sd-border-beam": {
|
|
113
116
|
"attributes": []
|
|
114
117
|
},
|
|
@@ -215,7 +218,8 @@
|
|
|
215
218
|
"default-checked",
|
|
216
219
|
"value",
|
|
217
220
|
"disabled",
|
|
218
|
-
"indeterminate"
|
|
221
|
+
"indeterminate",
|
|
222
|
+
"tabindex"
|
|
219
223
|
]
|
|
220
224
|
},
|
|
221
225
|
"sd-checkbox-group": {
|
|
@@ -1721,7 +1725,10 @@
|
|
|
1721
1725
|
"render-to-body",
|
|
1722
1726
|
"prevent-focus",
|
|
1723
1727
|
"scroll-to-close",
|
|
1724
|
-
"scroll-to-close-distance"
|
|
1728
|
+
"scroll-to-close-distance",
|
|
1729
|
+
"esc-to-close",
|
|
1730
|
+
"aria-has-popup",
|
|
1731
|
+
"aria-describedby-popup"
|
|
1725
1732
|
]
|
|
1726
1733
|
},
|
|
1727
1734
|
"sd-typography-paragraph": {
|
package/json/web-types.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"framework": "vue",
|
|
4
4
|
"name": "@sdata/web-vue",
|
|
5
|
-
"version": "3.
|
|
5
|
+
"version": "3.14.0",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
8
8
|
"types-syntax": "typescript",
|
|
@@ -629,6 +629,12 @@
|
|
|
629
629
|
"events": [],
|
|
630
630
|
"slots": []
|
|
631
631
|
},
|
|
632
|
+
{
|
|
633
|
+
"name": "sd-basic-crud-table",
|
|
634
|
+
"attributes": [],
|
|
635
|
+
"events": [],
|
|
636
|
+
"slots": []
|
|
637
|
+
},
|
|
632
638
|
{
|
|
633
639
|
"name": "sd-border-beam",
|
|
634
640
|
"attributes": [],
|
|
@@ -1219,6 +1225,14 @@
|
|
|
1219
1225
|
"type": "boolean",
|
|
1220
1226
|
"kind": "expression"
|
|
1221
1227
|
}
|
|
1228
|
+
},
|
|
1229
|
+
{
|
|
1230
|
+
"name": "tabindex",
|
|
1231
|
+
"description": "tabindex for the native input (omitted by default so the input stays natively focusable; pass -1 in tree nodes to remove the checkbox from the Tab order and operate it via the treeitem)",
|
|
1232
|
+
"value": {
|
|
1233
|
+
"type": "number|string",
|
|
1234
|
+
"kind": "expression"
|
|
1235
|
+
}
|
|
1222
1236
|
}
|
|
1223
1237
|
],
|
|
1224
1238
|
"events": [
|
|
@@ -10428,6 +10442,30 @@
|
|
|
10428
10442
|
"type": "number",
|
|
10429
10443
|
"kind": "expression"
|
|
10430
10444
|
}
|
|
10445
|
+
},
|
|
10446
|
+
{
|
|
10447
|
+
"name": "esc-to-close",
|
|
10448
|
+
"description": "Whether to close the popup with the ESC key",
|
|
10449
|
+
"value": {
|
|
10450
|
+
"type": "boolean",
|
|
10451
|
+
"kind": "expression"
|
|
10452
|
+
}
|
|
10453
|
+
},
|
|
10454
|
+
{
|
|
10455
|
+
"name": "aria-has-popup",
|
|
10456
|
+
"description": "Popup type for the trigger's `aria-haspopup`. When set, the trigger automatically gets `aria-haspopup` / `aria-expanded` / `aria-controls`, and the popup gets an id.",
|
|
10457
|
+
"value": {
|
|
10458
|
+
"type": "boolean | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog'",
|
|
10459
|
+
"kind": "expression"
|
|
10460
|
+
}
|
|
10461
|
+
},
|
|
10462
|
+
{
|
|
10463
|
+
"name": "aria-describedby-popup",
|
|
10464
|
+
"description": "Whether to add `aria-describedby` on the trigger pointing to the popup (tooltip pattern). Only applied while the popup is visible.",
|
|
10465
|
+
"value": {
|
|
10466
|
+
"type": "boolean",
|
|
10467
|
+
"kind": "expression"
|
|
10468
|
+
}
|
|
10431
10469
|
}
|
|
10432
10470
|
],
|
|
10433
10471
|
"events": [
|