@iyulab/components 2.4.0 → 2.6.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/CHANGELOG.md +41 -0
- package/dist/assets/locales/ar.json.js +3 -1
- package/dist/assets/locales/de.json.js +3 -1
- package/dist/assets/locales/en.json.js +3 -1
- package/dist/assets/locales/es.json.js +3 -1
- package/dist/assets/locales/fr.json.js +3 -1
- package/dist/assets/locales/id.json.js +3 -1
- package/dist/assets/locales/ja.json.js +3 -1
- package/dist/assets/locales/ko.json.js +3 -1
- package/dist/assets/locales/pt-BR.json.js +3 -1
- package/dist/assets/locales/ru.json.js +3 -1
- package/dist/assets/locales/th.json.js +3 -1
- package/dist/assets/locales/vi.json.js +3 -1
- package/dist/assets/locales/zh-CN.json.js +3 -1
- package/dist/assets/locales/zh-TW.json.js +3 -1
- package/dist/components/alert/UAlert.js +1 -1
- package/dist/components/breadcrumb/UBreadcrumb.js +1 -1
- package/dist/components/carousel/UCarousel.js +1 -1
- package/dist/components/checkbox/UCheckbox.js +1 -1
- package/dist/components/chip/UChip.js +1 -1
- package/dist/components/copy-button/UCopyButton.js +1 -1
- package/dist/components/date-picker/UDatePicker.js +1 -1
- package/dist/components/date-range-picker/UDateRangePicker.js +1 -1
- package/dist/components/dialog/UDialog.js +1 -1
- package/dist/components/drawer/UDrawer.js +1 -1
- package/dist/components/file-input/UFileInput.js +1 -1
- package/dist/components/icon-button/UIconButton.d.ts +3 -0
- package/dist/components/icon-button/UIconButton.js +9 -3
- package/dist/components/input/UInput.js +1 -1
- package/dist/components/progress-bar/UProgressBar.d.ts +3 -0
- package/dist/components/progress-bar/UProgressBar.js +11 -0
- package/dist/components/progress-ring/UProgressRing.d.ts +3 -0
- package/dist/components/progress-ring/UProgressRing.js +11 -0
- package/dist/components/rating/URating.d.ts +5 -0
- package/dist/components/rating/URating.js +24 -11
- package/dist/components/select/USelect.js +1 -1
- package/dist/components/spinner/USpinner.d.ts +7 -0
- package/dist/components/spinner/USpinner.js +12 -1
- package/dist/components/split-panel/USplitPanel.js +1 -1
- package/dist/components/tab/UTab.js +1 -1
- package/dist/components/tree/UTree.d.ts +14 -0
- package/dist/components/tree/UTree.js +34 -0
- package/dist/components/tree-item/UTreeItem.d.ts +10 -0
- package/dist/components/tree-item/UTreeItem.js +41 -4
- package/dist/index.js +1 -1
- package/dist/utilities/Dialog.js +1 -1
- package/dist/utilities/Locale.d.ts +1 -1
- package/dist/utilities/progressAria.d.ts +14 -0
- package/dist/utilities/progressAria.js +22 -0
- package/package.json +1 -1
- package/skills/iyulab-components/references/components/icon-button.md +2 -1
- package/skills/iyulab-components/references/components/progress-bar.md +4 -0
- package/skills/iyulab-components/references/components/progress-ring.md +4 -0
- package/skills/iyulab-components/references/components/rating.md +8 -0
- package/skills/iyulab-components/references/components/spinner.md +4 -0
- package/skills/iyulab-components/references/components/tree.md +11 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,46 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.6.0] - 2026-10-06
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
|
|
7
|
+
- **`u-rating` is one Tab stop and its arrows choose**, like a native radio group (WAI-ARIA APG Radio Group). Every
|
|
8
|
+
star was a Tab stop, so Tab walked through five stars; arrows only moved focus, so the next Tab jumped back to the
|
|
9
|
+
chosen star. Now Tab enters on the chosen star (the first when there is none) and leaves on the next press;
|
|
10
|
+
`Arrow` keys move and choose, firing `change`, and `Home`/`End` choose the first/last. `focus()` goes to the chosen
|
|
11
|
+
star (it went to the first).
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
|
|
15
|
+
- **`u-tree` is one Tab stop** (APG Tree View). Every item was a Tab stop. Now Tab enters on the item focused last (at
|
|
16
|
+
first the selected item, else the first) and the next Tab leaves the tree; arrows move inside as before. When that
|
|
17
|
+
item is collapsed away or disabled the stop moves to its nearest visible ancestor. Only the stop carries `tabindex`
|
|
18
|
+
— an item is a shadow host and its children render in its slot, so a `tabindex="-1"` parent would take its whole
|
|
19
|
+
subtree out of Tab order; `item.focus()` and a click make an item the stop first.
|
|
20
|
+
|
|
21
|
+
## [2.5.0] - 2026-10-06
|
|
22
|
+
|
|
23
|
+
An accessibility-tree audit of the interactive widgets — what a screen reader receives, not what the DOM says.
|
|
24
|
+
|
|
25
|
+
### Fixed
|
|
26
|
+
|
|
27
|
+
- **`u-progress-bar` and `u-progress-ring` are exposed as a `progressbar`** with `aria-valuenow`/`min`/`max`
|
|
28
|
+
(no value when `indeterminate`). They had no role, so nothing was in progress as far as assistive technology knew.
|
|
29
|
+
Name them with `aria-label`.
|
|
30
|
+
- **`u-spinner` is an indeterminate `progressbar` with a name** — its text (read once, as the name), or the locale's
|
|
31
|
+
new `loading` word when it has none. It was invisible to assistive technology.
|
|
32
|
+
- **`u-rating` stars are named radios** (`1`…`max`; a screen reader adds "3 of 5"). They were five unnamed radios.
|
|
33
|
+
- **`u-tree-item` carries its structure and state:** `aria-level` (nested items all reported level 1 — they render
|
|
34
|
+
through a shadow slot, so DOM nesting gave the browser nothing to count), `aria-expanded` on items with children,
|
|
35
|
+
`aria-selected` in a `selectable` tree, `aria-checked` (`mixed` for a partly checked parent) in a `checkable` tree.
|
|
36
|
+
An item is named by its own label; it was named with every descendant's text ("Root Child 1 Child 2").
|
|
37
|
+
- **`u-icon-button` is named by its tooltip text** when it has no `aria-label`. The slot only filled the tooltip,
|
|
38
|
+
so a button written as the docs show had no name.
|
|
39
|
+
|
|
40
|
+
### Added
|
|
41
|
+
|
|
42
|
+
- Locale key `loading` (all 14 built-in languages).
|
|
43
|
+
|
|
3
44
|
## [2.4.0] - 2026-10-06
|
|
4
45
|
|
|
5
46
|
### Fixed
|
|
@@ -41,6 +41,7 @@ var chooseFile = "اختر ملفًا";
|
|
|
41
41
|
var noFileChosen = "لم يتم اختيار أي ملف";
|
|
42
42
|
var filesSelected = "تم اختيار {count} ملفات";
|
|
43
43
|
var resizePanels = "تغيير حجم اللوحات";
|
|
44
|
+
var loading = "جارٍ التحميل";
|
|
44
45
|
var search = "بحث";
|
|
45
46
|
var alertError = "خطأ";
|
|
46
47
|
var alertWarning = "تحذير";
|
|
@@ -102,6 +103,7 @@ var ar_default = {
|
|
|
102
103
|
noFileChosen,
|
|
103
104
|
filesSelected,
|
|
104
105
|
resizePanels,
|
|
106
|
+
loading,
|
|
105
107
|
search,
|
|
106
108
|
alertError,
|
|
107
109
|
alertWarning,
|
|
@@ -124,4 +126,4 @@ var ar_default = {
|
|
|
124
126
|
timePm: "م"
|
|
125
127
|
};
|
|
126
128
|
//#endregion
|
|
127
|
-
export { alertError, alertInfo, alertMessage, alertNotice, alertSuccess, alertWarning, apply, badInput, breadcrumb, cancel, chooseDate, chooseDateRange, chooseFile, clear, close, closeTab, confirm, copied, copy, dateUnavailable, decrement, ar_default as default, endTime, filesSelected, goToSlide, hidePassword, increment, last30Days, last7Days, lastMonth, lastWeek, nextMonth, nextSlide, noFileChosen, patternMismatch, previousMonth, previousSlide, quickRanges, rangeOverflow, rangeStartChosen, rangeUnderflow, remove, resizePanels, search, showPassword, startSlideRotation, startTime, stepComplete, stepMismatch, stepOnHold, stopSlideRotation, thisMonth, thisWeek, thisYear, time, today, tooLong, tooShort, typeMismatch, valueMissing, yesterday };
|
|
129
|
+
export { alertError, alertInfo, alertMessage, alertNotice, alertSuccess, alertWarning, apply, badInput, breadcrumb, cancel, chooseDate, chooseDateRange, chooseFile, clear, close, closeTab, confirm, copied, copy, dateUnavailable, decrement, ar_default as default, endTime, filesSelected, goToSlide, hidePassword, increment, last30Days, last7Days, lastMonth, lastWeek, loading, nextMonth, nextSlide, noFileChosen, patternMismatch, previousMonth, previousSlide, quickRanges, rangeOverflow, rangeStartChosen, rangeUnderflow, remove, resizePanels, search, showPassword, startSlideRotation, startTime, stepComplete, stepMismatch, stepOnHold, stopSlideRotation, thisMonth, thisWeek, thisYear, time, today, tooLong, tooShort, typeMismatch, valueMissing, yesterday };
|
|
@@ -41,6 +41,7 @@ var chooseFile = "Datei auswählen";
|
|
|
41
41
|
var noFileChosen = "Keine Datei ausgewählt";
|
|
42
42
|
var filesSelected = "{count} Dateien ausgewählt";
|
|
43
43
|
var resizePanels = "Bereichsgröße ändern";
|
|
44
|
+
var loading = "Wird geladen";
|
|
44
45
|
var search = "Suchen";
|
|
45
46
|
var alertError = "Fehler";
|
|
46
47
|
var alertWarning = "Warnung";
|
|
@@ -102,6 +103,7 @@ var de_default = {
|
|
|
102
103
|
noFileChosen,
|
|
103
104
|
filesSelected,
|
|
104
105
|
resizePanels,
|
|
106
|
+
loading,
|
|
105
107
|
search,
|
|
106
108
|
alertError,
|
|
107
109
|
alertWarning,
|
|
@@ -124,4 +126,4 @@ var de_default = {
|
|
|
124
126
|
timePm: "PM"
|
|
125
127
|
};
|
|
126
128
|
//#endregion
|
|
127
|
-
export { alertError, alertInfo, alertMessage, alertNotice, alertSuccess, alertWarning, apply, badInput, breadcrumb, cancel, chooseDate, chooseDateRange, chooseFile, clear, close, closeTab, confirm, copied, copy, dateUnavailable, decrement, de_default as default, endTime, filesSelected, goToSlide, hidePassword, increment, last30Days, last7Days, lastMonth, lastWeek, nextMonth, nextSlide, noFileChosen, patternMismatch, previousMonth, previousSlide, quickRanges, rangeOverflow, rangeStartChosen, rangeUnderflow, remove, resizePanels, search, showPassword, startSlideRotation, startTime, stepComplete, stepMismatch, stepOnHold, stopSlideRotation, thisMonth, thisWeek, thisYear, time, today, tooLong, tooShort, typeMismatch, valueMissing, yesterday };
|
|
129
|
+
export { alertError, alertInfo, alertMessage, alertNotice, alertSuccess, alertWarning, apply, badInput, breadcrumb, cancel, chooseDate, chooseDateRange, chooseFile, clear, close, closeTab, confirm, copied, copy, dateUnavailable, decrement, de_default as default, endTime, filesSelected, goToSlide, hidePassword, increment, last30Days, last7Days, lastMonth, lastWeek, loading, nextMonth, nextSlide, noFileChosen, patternMismatch, previousMonth, previousSlide, quickRanges, rangeOverflow, rangeStartChosen, rangeUnderflow, remove, resizePanels, search, showPassword, startSlideRotation, startTime, stepComplete, stepMismatch, stepOnHold, stopSlideRotation, thisMonth, thisWeek, thisYear, time, today, tooLong, tooShort, typeMismatch, valueMissing, yesterday };
|
|
@@ -41,6 +41,7 @@ var chooseFile = "Choose file";
|
|
|
41
41
|
var noFileChosen = "No file chosen";
|
|
42
42
|
var filesSelected = "{count} files selected";
|
|
43
43
|
var resizePanels = "Resize panels";
|
|
44
|
+
var loading = "Loading";
|
|
44
45
|
var search = "Search";
|
|
45
46
|
var alertError = "Error";
|
|
46
47
|
var alertWarning = "Warning";
|
|
@@ -102,6 +103,7 @@ var en_default = {
|
|
|
102
103
|
noFileChosen,
|
|
103
104
|
filesSelected,
|
|
104
105
|
resizePanels,
|
|
106
|
+
loading,
|
|
105
107
|
search,
|
|
106
108
|
alertError,
|
|
107
109
|
alertWarning,
|
|
@@ -124,4 +126,4 @@ var en_default = {
|
|
|
124
126
|
timePm: "PM"
|
|
125
127
|
};
|
|
126
128
|
//#endregion
|
|
127
|
-
export { alertError, alertInfo, alertMessage, alertNotice, alertSuccess, alertWarning, apply, badInput, breadcrumb, cancel, chooseDate, chooseDateRange, chooseFile, clear, close, closeTab, confirm, copied, copy, dateUnavailable, decrement, en_default as default, endTime, filesSelected, goToSlide, hidePassword, increment, last30Days, last7Days, lastMonth, lastWeek, nextMonth, nextSlide, noFileChosen, patternMismatch, previousMonth, previousSlide, quickRanges, rangeOverflow, rangeStartChosen, rangeUnderflow, remove, resizePanels, search, showPassword, startSlideRotation, startTime, stepComplete, stepMismatch, stepOnHold, stopSlideRotation, thisMonth, thisWeek, thisYear, time, today, tooLong, tooShort, typeMismatch, valueMissing, yesterday };
|
|
129
|
+
export { alertError, alertInfo, alertMessage, alertNotice, alertSuccess, alertWarning, apply, badInput, breadcrumb, cancel, chooseDate, chooseDateRange, chooseFile, clear, close, closeTab, confirm, copied, copy, dateUnavailable, decrement, en_default as default, endTime, filesSelected, goToSlide, hidePassword, increment, last30Days, last7Days, lastMonth, lastWeek, loading, nextMonth, nextSlide, noFileChosen, patternMismatch, previousMonth, previousSlide, quickRanges, rangeOverflow, rangeStartChosen, rangeUnderflow, remove, resizePanels, search, showPassword, startSlideRotation, startTime, stepComplete, stepMismatch, stepOnHold, stopSlideRotation, thisMonth, thisWeek, thisYear, time, today, tooLong, tooShort, typeMismatch, valueMissing, yesterday };
|
|
@@ -40,6 +40,7 @@ var chooseFile = "Elegir archivo";
|
|
|
40
40
|
var noFileChosen = "Ningún archivo elegido";
|
|
41
41
|
var filesSelected = "{count} archivos seleccionados";
|
|
42
42
|
var resizePanels = "Cambiar el tamaño de los paneles";
|
|
43
|
+
var loading = "Cargando";
|
|
43
44
|
var search = "Buscar";
|
|
44
45
|
var alertError = "Error";
|
|
45
46
|
var alertWarning = "Advertencia";
|
|
@@ -103,6 +104,7 @@ var es_default = {
|
|
|
103
104
|
noFileChosen,
|
|
104
105
|
filesSelected,
|
|
105
106
|
resizePanels,
|
|
107
|
+
loading,
|
|
106
108
|
search,
|
|
107
109
|
alertError,
|
|
108
110
|
alertWarning,
|
|
@@ -125,4 +127,4 @@ var es_default = {
|
|
|
125
127
|
timePm
|
|
126
128
|
};
|
|
127
129
|
//#endregion
|
|
128
|
-
export { alertError, alertInfo, alertMessage, alertNotice, alertSuccess, alertWarning, apply, badInput, breadcrumb, cancel, chooseDate, chooseDateRange, chooseFile, clear, close, closeTab, confirm, copied, copy, dateUnavailable, decrement, es_default as default, endTime, filesSelected, goToSlide, hidePassword, increment, last30Days, last7Days, lastMonth, lastWeek, nextMonth, nextSlide, noFileChosen, patternMismatch, previousMonth, previousSlide, quickRanges, rangeOverflow, rangeStartChosen, rangeUnderflow, remove, resizePanels, search, showPassword, startSlideRotation, startTime, stepComplete, stepMismatch, stepOnHold, stopSlideRotation, thisMonth, thisWeek, thisYear, time, timeAm, timePm, tooLong, tooShort, typeMismatch, valueMissing, yesterday };
|
|
130
|
+
export { alertError, alertInfo, alertMessage, alertNotice, alertSuccess, alertWarning, apply, badInput, breadcrumb, cancel, chooseDate, chooseDateRange, chooseFile, clear, close, closeTab, confirm, copied, copy, dateUnavailable, decrement, es_default as default, endTime, filesSelected, goToSlide, hidePassword, increment, last30Days, last7Days, lastMonth, lastWeek, loading, nextMonth, nextSlide, noFileChosen, patternMismatch, previousMonth, previousSlide, quickRanges, rangeOverflow, rangeStartChosen, rangeUnderflow, remove, resizePanels, search, showPassword, startSlideRotation, startTime, stepComplete, stepMismatch, stepOnHold, stopSlideRotation, thisMonth, thisWeek, thisYear, time, timeAm, timePm, tooLong, tooShort, typeMismatch, valueMissing, yesterday };
|
|
@@ -41,6 +41,7 @@ var chooseFile = "Choisir un fichier";
|
|
|
41
41
|
var noFileChosen = "Aucun fichier choisi";
|
|
42
42
|
var filesSelected = "{count} fichiers sélectionnés";
|
|
43
43
|
var resizePanels = "Redimensionner les panneaux";
|
|
44
|
+
var loading = "Chargement";
|
|
44
45
|
var search = "Rechercher";
|
|
45
46
|
var alertError = "Erreur";
|
|
46
47
|
var alertWarning = "Avertissement";
|
|
@@ -102,6 +103,7 @@ var fr_default = {
|
|
|
102
103
|
noFileChosen,
|
|
103
104
|
filesSelected,
|
|
104
105
|
resizePanels,
|
|
106
|
+
loading,
|
|
105
107
|
search,
|
|
106
108
|
alertError,
|
|
107
109
|
alertWarning,
|
|
@@ -124,4 +126,4 @@ var fr_default = {
|
|
|
124
126
|
timePm: "PM"
|
|
125
127
|
};
|
|
126
128
|
//#endregion
|
|
127
|
-
export { alertError, alertInfo, alertMessage, alertNotice, alertSuccess, alertWarning, apply, badInput, breadcrumb, cancel, chooseDate, chooseDateRange, chooseFile, clear, close, closeTab, confirm, copied, copy, dateUnavailable, decrement, fr_default as default, endTime, filesSelected, goToSlide, hidePassword, increment, last30Days, last7Days, lastMonth, lastWeek, nextMonth, nextSlide, noFileChosen, patternMismatch, previousMonth, previousSlide, quickRanges, rangeOverflow, rangeStartChosen, rangeUnderflow, remove, resizePanels, search, showPassword, startSlideRotation, startTime, stepComplete, stepMismatch, stepOnHold, stopSlideRotation, thisMonth, thisWeek, thisYear, time, today, tooLong, tooShort, typeMismatch, valueMissing, yesterday };
|
|
129
|
+
export { alertError, alertInfo, alertMessage, alertNotice, alertSuccess, alertWarning, apply, badInput, breadcrumb, cancel, chooseDate, chooseDateRange, chooseFile, clear, close, closeTab, confirm, copied, copy, dateUnavailable, decrement, fr_default as default, endTime, filesSelected, goToSlide, hidePassword, increment, last30Days, last7Days, lastMonth, lastWeek, loading, nextMonth, nextSlide, noFileChosen, patternMismatch, previousMonth, previousSlide, quickRanges, rangeOverflow, rangeStartChosen, rangeUnderflow, remove, resizePanels, search, showPassword, startSlideRotation, startTime, stepComplete, stepMismatch, stepOnHold, stopSlideRotation, thisMonth, thisWeek, thisYear, time, today, tooLong, tooShort, typeMismatch, valueMissing, yesterday };
|
|
@@ -41,6 +41,7 @@ var chooseFile = "Pilih berkas";
|
|
|
41
41
|
var noFileChosen = "Tidak ada berkas dipilih";
|
|
42
42
|
var filesSelected = "{count} berkas dipilih";
|
|
43
43
|
var resizePanels = "Ubah ukuran panel";
|
|
44
|
+
var loading = "Memuat";
|
|
44
45
|
var search = "Cari";
|
|
45
46
|
var alertError = "Kesalahan";
|
|
46
47
|
var alertWarning = "Peringatan";
|
|
@@ -102,6 +103,7 @@ var id_default = {
|
|
|
102
103
|
noFileChosen,
|
|
103
104
|
filesSelected,
|
|
104
105
|
resizePanels,
|
|
106
|
+
loading,
|
|
105
107
|
search,
|
|
106
108
|
alertError,
|
|
107
109
|
alertWarning,
|
|
@@ -124,4 +126,4 @@ var id_default = {
|
|
|
124
126
|
timePm: "PM"
|
|
125
127
|
};
|
|
126
128
|
//#endregion
|
|
127
|
-
export { alertError, alertInfo, alertMessage, alertNotice, alertSuccess, alertWarning, apply, badInput, breadcrumb, cancel, chooseDate, chooseDateRange, chooseFile, clear, close, closeTab, confirm, copied, copy, dateUnavailable, decrement, id_default as default, endTime, filesSelected, goToSlide, hidePassword, increment, last30Days, last7Days, lastMonth, lastWeek, nextMonth, nextSlide, noFileChosen, patternMismatch, previousMonth, previousSlide, quickRanges, rangeOverflow, rangeStartChosen, rangeUnderflow, remove, resizePanels, search, showPassword, startSlideRotation, startTime, stepComplete, stepMismatch, stepOnHold, stopSlideRotation, thisMonth, thisWeek, thisYear, time, today, tooLong, tooShort, typeMismatch, valueMissing, yesterday };
|
|
129
|
+
export { alertError, alertInfo, alertMessage, alertNotice, alertSuccess, alertWarning, apply, badInput, breadcrumb, cancel, chooseDate, chooseDateRange, chooseFile, clear, close, closeTab, confirm, copied, copy, dateUnavailable, decrement, id_default as default, endTime, filesSelected, goToSlide, hidePassword, increment, last30Days, last7Days, lastMonth, lastWeek, loading, nextMonth, nextSlide, noFileChosen, patternMismatch, previousMonth, previousSlide, quickRanges, rangeOverflow, rangeStartChosen, rangeUnderflow, remove, resizePanels, search, showPassword, startSlideRotation, startTime, stepComplete, stepMismatch, stepOnHold, stopSlideRotation, thisMonth, thisWeek, thisYear, time, today, tooLong, tooShort, typeMismatch, valueMissing, yesterday };
|
|
@@ -41,6 +41,7 @@ var chooseFile = "ファイルを選択";
|
|
|
41
41
|
var noFileChosen = "ファイルが選択されていません";
|
|
42
42
|
var filesSelected = "{count}個のファイルを選択しました";
|
|
43
43
|
var resizePanels = "パネルのサイズ変更";
|
|
44
|
+
var loading = "読み込み中";
|
|
44
45
|
var search = "検索";
|
|
45
46
|
var alertError = "エラー";
|
|
46
47
|
var alertWarning = "警告";
|
|
@@ -103,6 +104,7 @@ var ja_default = {
|
|
|
103
104
|
noFileChosen,
|
|
104
105
|
filesSelected,
|
|
105
106
|
resizePanels,
|
|
107
|
+
loading,
|
|
106
108
|
search,
|
|
107
109
|
alertError,
|
|
108
110
|
alertWarning,
|
|
@@ -125,4 +127,4 @@ var ja_default = {
|
|
|
125
127
|
timePm
|
|
126
128
|
};
|
|
127
129
|
//#endregion
|
|
128
|
-
export { alertError, alertInfo, alertMessage, alertNotice, alertSuccess, alertWarning, apply, badInput, breadcrumb, cancel, chooseDate, chooseDateRange, chooseFile, clear, close, closeTab, copied, copy, dateUnavailable, decrement, ja_default as default, endTime, filesSelected, goToSlide, hidePassword, increment, last30Days, last7Days, lastMonth, lastWeek, nextMonth, nextSlide, noFileChosen, patternMismatch, previousMonth, previousSlide, quickRanges, rangeOverflow, rangeStartChosen, rangeUnderflow, remove, resizePanels, search, showPassword, startSlideRotation, startTime, stepComplete, stepMismatch, stepOnHold, stopSlideRotation, thisMonth, thisWeek, thisYear, time, timeAm, timePm, today, tooLong, tooShort, typeMismatch, valueMissing, yesterday };
|
|
130
|
+
export { alertError, alertInfo, alertMessage, alertNotice, alertSuccess, alertWarning, apply, badInput, breadcrumb, cancel, chooseDate, chooseDateRange, chooseFile, clear, close, closeTab, copied, copy, dateUnavailable, decrement, ja_default as default, endTime, filesSelected, goToSlide, hidePassword, increment, last30Days, last7Days, lastMonth, lastWeek, loading, nextMonth, nextSlide, noFileChosen, patternMismatch, previousMonth, previousSlide, quickRanges, rangeOverflow, rangeStartChosen, rangeUnderflow, remove, resizePanels, search, showPassword, startSlideRotation, startTime, stepComplete, stepMismatch, stepOnHold, stopSlideRotation, thisMonth, thisWeek, thisYear, time, timeAm, timePm, today, tooLong, tooShort, typeMismatch, valueMissing, yesterday };
|
|
@@ -41,6 +41,7 @@ var chooseFile = "파일 선택";
|
|
|
41
41
|
var noFileChosen = "선택된 파일 없음";
|
|
42
42
|
var filesSelected = "{count}개 파일 선택됨";
|
|
43
43
|
var resizePanels = "패널 크기 조절";
|
|
44
|
+
var loading = "로딩 중";
|
|
44
45
|
var search = "검색";
|
|
45
46
|
var alertError = "오류";
|
|
46
47
|
var alertWarning = "경고";
|
|
@@ -104,6 +105,7 @@ var ko_default = {
|
|
|
104
105
|
noFileChosen,
|
|
105
106
|
filesSelected,
|
|
106
107
|
resizePanels,
|
|
108
|
+
loading,
|
|
107
109
|
search,
|
|
108
110
|
alertError,
|
|
109
111
|
alertWarning,
|
|
@@ -126,4 +128,4 @@ var ko_default = {
|
|
|
126
128
|
timePm
|
|
127
129
|
};
|
|
128
130
|
//#endregion
|
|
129
|
-
export { alertError, alertInfo, alertMessage, alertNotice, alertSuccess, alertWarning, apply, badInput, breadcrumb, cancel, chooseDate, chooseDateRange, chooseFile, clear, close, closeTab, confirm, copied, copy, dateUnavailable, decrement, ko_default as default, endTime, filesSelected, goToSlide, hidePassword, increment, last30Days, last7Days, lastMonth, lastWeek, nextMonth, nextSlide, noFileChosen, patternMismatch, previousMonth, previousSlide, quickRanges, rangeOverflow, rangeStartChosen, rangeUnderflow, remove, resizePanels, search, showPassword, startSlideRotation, startTime, stepComplete, stepMismatch, stepOnHold, stopSlideRotation, thisMonth, thisWeek, thisYear, time, timeAm, timePm, today, tooLong, tooShort, typeMismatch, valueMissing, yesterday };
|
|
131
|
+
export { alertError, alertInfo, alertMessage, alertNotice, alertSuccess, alertWarning, apply, badInput, breadcrumb, cancel, chooseDate, chooseDateRange, chooseFile, clear, close, closeTab, confirm, copied, copy, dateUnavailable, decrement, ko_default as default, endTime, filesSelected, goToSlide, hidePassword, increment, last30Days, last7Days, lastMonth, lastWeek, loading, nextMonth, nextSlide, noFileChosen, patternMismatch, previousMonth, previousSlide, quickRanges, rangeOverflow, rangeStartChosen, rangeUnderflow, remove, resizePanels, search, showPassword, startSlideRotation, startTime, stepComplete, stepMismatch, stepOnHold, stopSlideRotation, thisMonth, thisWeek, thisYear, time, timeAm, timePm, today, tooLong, tooShort, typeMismatch, valueMissing, yesterday };
|
|
@@ -41,6 +41,7 @@ var chooseFile = "Escolher arquivo";
|
|
|
41
41
|
var noFileChosen = "Nenhum arquivo escolhido";
|
|
42
42
|
var filesSelected = "{count} arquivos selecionados";
|
|
43
43
|
var resizePanels = "Redimensionar painéis";
|
|
44
|
+
var loading = "Carregando";
|
|
44
45
|
var search = "Pesquisar";
|
|
45
46
|
var alertError = "Erro";
|
|
46
47
|
var alertWarning = "Aviso";
|
|
@@ -102,6 +103,7 @@ var pt_BR_default = {
|
|
|
102
103
|
noFileChosen,
|
|
103
104
|
filesSelected,
|
|
104
105
|
resizePanels,
|
|
106
|
+
loading,
|
|
105
107
|
search,
|
|
106
108
|
alertError,
|
|
107
109
|
alertWarning,
|
|
@@ -124,4 +126,4 @@ var pt_BR_default = {
|
|
|
124
126
|
timePm: "PM"
|
|
125
127
|
};
|
|
126
128
|
//#endregion
|
|
127
|
-
export { alertError, alertInfo, alertMessage, alertNotice, alertSuccess, alertWarning, apply, badInput, breadcrumb, cancel, chooseDate, chooseDateRange, chooseFile, clear, close, closeTab, confirm, copied, copy, dateUnavailable, decrement, pt_BR_default as default, endTime, filesSelected, goToSlide, hidePassword, increment, last30Days, last7Days, lastMonth, lastWeek, nextMonth, nextSlide, noFileChosen, patternMismatch, previousMonth, previousSlide, quickRanges, rangeOverflow, rangeStartChosen, rangeUnderflow, remove, resizePanels, search, showPassword, startSlideRotation, startTime, stepComplete, stepMismatch, stepOnHold, stopSlideRotation, thisMonth, thisWeek, thisYear, time, today, tooLong, tooShort, typeMismatch, valueMissing, yesterday };
|
|
129
|
+
export { alertError, alertInfo, alertMessage, alertNotice, alertSuccess, alertWarning, apply, badInput, breadcrumb, cancel, chooseDate, chooseDateRange, chooseFile, clear, close, closeTab, confirm, copied, copy, dateUnavailable, decrement, pt_BR_default as default, endTime, filesSelected, goToSlide, hidePassword, increment, last30Days, last7Days, lastMonth, lastWeek, loading, nextMonth, nextSlide, noFileChosen, patternMismatch, previousMonth, previousSlide, quickRanges, rangeOverflow, rangeStartChosen, rangeUnderflow, remove, resizePanels, search, showPassword, startSlideRotation, startTime, stepComplete, stepMismatch, stepOnHold, stopSlideRotation, thisMonth, thisWeek, thisYear, time, today, tooLong, tooShort, typeMismatch, valueMissing, yesterday };
|
|
@@ -41,6 +41,7 @@ var chooseFile = "Выбрать файл";
|
|
|
41
41
|
var noFileChosen = "Файл не выбран";
|
|
42
42
|
var filesSelected = "Выбрано файлов: {count}";
|
|
43
43
|
var resizePanels = "Изменить размер панелей";
|
|
44
|
+
var loading = "Загрузка";
|
|
44
45
|
var search = "Поиск";
|
|
45
46
|
var alertError = "Ошибка";
|
|
46
47
|
var alertWarning = "Предупреждение";
|
|
@@ -102,6 +103,7 @@ var ru_default = {
|
|
|
102
103
|
noFileChosen,
|
|
103
104
|
filesSelected,
|
|
104
105
|
resizePanels,
|
|
106
|
+
loading,
|
|
105
107
|
search,
|
|
106
108
|
alertError,
|
|
107
109
|
alertWarning,
|
|
@@ -124,4 +126,4 @@ var ru_default = {
|
|
|
124
126
|
timePm: "PM"
|
|
125
127
|
};
|
|
126
128
|
//#endregion
|
|
127
|
-
export { alertError, alertInfo, alertMessage, alertNotice, alertSuccess, alertWarning, apply, badInput, breadcrumb, cancel, chooseDate, chooseDateRange, chooseFile, clear, close, closeTab, confirm, copied, copy, dateUnavailable, decrement, ru_default as default, endTime, filesSelected, goToSlide, hidePassword, increment, last30Days, last7Days, lastMonth, lastWeek, nextMonth, nextSlide, noFileChosen, patternMismatch, previousMonth, previousSlide, quickRanges, rangeOverflow, rangeStartChosen, rangeUnderflow, remove, resizePanels, search, showPassword, startSlideRotation, startTime, stepComplete, stepMismatch, stepOnHold, stopSlideRotation, thisMonth, thisWeek, thisYear, time, today, tooLong, tooShort, typeMismatch, valueMissing, yesterday };
|
|
129
|
+
export { alertError, alertInfo, alertMessage, alertNotice, alertSuccess, alertWarning, apply, badInput, breadcrumb, cancel, chooseDate, chooseDateRange, chooseFile, clear, close, closeTab, confirm, copied, copy, dateUnavailable, decrement, ru_default as default, endTime, filesSelected, goToSlide, hidePassword, increment, last30Days, last7Days, lastMonth, lastWeek, loading, nextMonth, nextSlide, noFileChosen, patternMismatch, previousMonth, previousSlide, quickRanges, rangeOverflow, rangeStartChosen, rangeUnderflow, remove, resizePanels, search, showPassword, startSlideRotation, startTime, stepComplete, stepMismatch, stepOnHold, stopSlideRotation, thisMonth, thisWeek, thisYear, time, today, tooLong, tooShort, typeMismatch, valueMissing, yesterday };
|
|
@@ -41,6 +41,7 @@ var chooseFile = "เลือกไฟล์";
|
|
|
41
41
|
var noFileChosen = "ยังไม่ได้เลือกไฟล์";
|
|
42
42
|
var filesSelected = "เลือกแล้ว {count} ไฟล์";
|
|
43
43
|
var resizePanels = "ปรับขนาดแผง";
|
|
44
|
+
var loading = "กำลังโหลด";
|
|
44
45
|
var search = "ค้นหา";
|
|
45
46
|
var alertError = "ข้อผิดพลาด";
|
|
46
47
|
var alertWarning = "คำเตือน";
|
|
@@ -104,6 +105,7 @@ var th_default = {
|
|
|
104
105
|
noFileChosen,
|
|
105
106
|
filesSelected,
|
|
106
107
|
resizePanels,
|
|
108
|
+
loading,
|
|
107
109
|
search,
|
|
108
110
|
alertError,
|
|
109
111
|
alertWarning,
|
|
@@ -126,4 +128,4 @@ var th_default = {
|
|
|
126
128
|
timePm
|
|
127
129
|
};
|
|
128
130
|
//#endregion
|
|
129
|
-
export { alertError, alertInfo, alertMessage, alertNotice, alertSuccess, alertWarning, apply, badInput, breadcrumb, cancel, chooseDate, chooseDateRange, chooseFile, clear, close, closeTab, confirm, copied, copy, dateUnavailable, decrement, th_default as default, endTime, filesSelected, goToSlide, hidePassword, increment, last30Days, last7Days, lastMonth, lastWeek, nextMonth, nextSlide, noFileChosen, patternMismatch, previousMonth, previousSlide, quickRanges, rangeOverflow, rangeStartChosen, rangeUnderflow, remove, resizePanels, search, showPassword, startSlideRotation, startTime, stepComplete, stepMismatch, stepOnHold, stopSlideRotation, thisMonth, thisWeek, thisYear, time, timeAm, timePm, today, tooLong, tooShort, typeMismatch, valueMissing, yesterday };
|
|
131
|
+
export { alertError, alertInfo, alertMessage, alertNotice, alertSuccess, alertWarning, apply, badInput, breadcrumb, cancel, chooseDate, chooseDateRange, chooseFile, clear, close, closeTab, confirm, copied, copy, dateUnavailable, decrement, th_default as default, endTime, filesSelected, goToSlide, hidePassword, increment, last30Days, last7Days, lastMonth, lastWeek, loading, nextMonth, nextSlide, noFileChosen, patternMismatch, previousMonth, previousSlide, quickRanges, rangeOverflow, rangeStartChosen, rangeUnderflow, remove, resizePanels, search, showPassword, startSlideRotation, startTime, stepComplete, stepMismatch, stepOnHold, stopSlideRotation, thisMonth, thisWeek, thisYear, time, timeAm, timePm, today, tooLong, tooShort, typeMismatch, valueMissing, yesterday };
|
|
@@ -41,6 +41,7 @@ var chooseFile = "Chọn tệp";
|
|
|
41
41
|
var noFileChosen = "Chưa chọn tệp nào";
|
|
42
42
|
var filesSelected = "Đã chọn {count} tệp";
|
|
43
43
|
var resizePanels = "Thay đổi kích thước bảng";
|
|
44
|
+
var loading = "Đang tải";
|
|
44
45
|
var search = "Tìm kiếm";
|
|
45
46
|
var alertError = "Lỗi";
|
|
46
47
|
var alertWarning = "Cảnh báo";
|
|
@@ -102,6 +103,7 @@ var vi_default = {
|
|
|
102
103
|
noFileChosen,
|
|
103
104
|
filesSelected,
|
|
104
105
|
resizePanels,
|
|
106
|
+
loading,
|
|
105
107
|
search,
|
|
106
108
|
alertError,
|
|
107
109
|
alertWarning,
|
|
@@ -124,4 +126,4 @@ var vi_default = {
|
|
|
124
126
|
timePm: "CH"
|
|
125
127
|
};
|
|
126
128
|
//#endregion
|
|
127
|
-
export { alertError, alertInfo, alertMessage, alertNotice, alertSuccess, alertWarning, apply, badInput, breadcrumb, cancel, chooseDate, chooseDateRange, chooseFile, clear, close, closeTab, confirm, copied, copy, dateUnavailable, decrement, vi_default as default, endTime, filesSelected, goToSlide, hidePassword, increment, last30Days, last7Days, lastMonth, lastWeek, nextMonth, nextSlide, noFileChosen, patternMismatch, previousMonth, previousSlide, quickRanges, rangeOverflow, rangeStartChosen, rangeUnderflow, remove, resizePanels, search, showPassword, startSlideRotation, startTime, stepComplete, stepMismatch, stepOnHold, stopSlideRotation, thisMonth, thisWeek, thisYear, time, today, tooLong, tooShort, typeMismatch, valueMissing, yesterday };
|
|
129
|
+
export { alertError, alertInfo, alertMessage, alertNotice, alertSuccess, alertWarning, apply, badInput, breadcrumb, cancel, chooseDate, chooseDateRange, chooseFile, clear, close, closeTab, confirm, copied, copy, dateUnavailable, decrement, vi_default as default, endTime, filesSelected, goToSlide, hidePassword, increment, last30Days, last7Days, lastMonth, lastWeek, loading, nextMonth, nextSlide, noFileChosen, patternMismatch, previousMonth, previousSlide, quickRanges, rangeOverflow, rangeStartChosen, rangeUnderflow, remove, resizePanels, search, showPassword, startSlideRotation, startTime, stepComplete, stepMismatch, stepOnHold, stopSlideRotation, thisMonth, thisWeek, thisYear, time, today, tooLong, tooShort, typeMismatch, valueMissing, yesterday };
|
|
@@ -41,6 +41,7 @@ var chooseFile = "选择文件";
|
|
|
41
41
|
var noFileChosen = "未选择文件";
|
|
42
42
|
var filesSelected = "已选择{count}个文件";
|
|
43
43
|
var resizePanels = "调整面板大小";
|
|
44
|
+
var loading = "加载中";
|
|
44
45
|
var search = "搜索";
|
|
45
46
|
var alertError = "错误";
|
|
46
47
|
var alertWarning = "警告";
|
|
@@ -104,6 +105,7 @@ var zh_CN_default = {
|
|
|
104
105
|
noFileChosen,
|
|
105
106
|
filesSelected,
|
|
106
107
|
resizePanels,
|
|
108
|
+
loading,
|
|
107
109
|
search,
|
|
108
110
|
alertError,
|
|
109
111
|
alertWarning,
|
|
@@ -126,4 +128,4 @@ var zh_CN_default = {
|
|
|
126
128
|
timePm
|
|
127
129
|
};
|
|
128
130
|
//#endregion
|
|
129
|
-
export { alertError, alertInfo, alertMessage, alertNotice, alertSuccess, alertWarning, apply, badInput, breadcrumb, cancel, chooseDate, chooseDateRange, chooseFile, clear, close, closeTab, confirm, copied, copy, dateUnavailable, decrement, zh_CN_default as default, endTime, filesSelected, goToSlide, hidePassword, increment, last30Days, last7Days, lastMonth, lastWeek, nextMonth, nextSlide, noFileChosen, patternMismatch, previousMonth, previousSlide, quickRanges, rangeOverflow, rangeStartChosen, rangeUnderflow, remove, resizePanels, search, showPassword, startSlideRotation, startTime, stepComplete, stepMismatch, stepOnHold, stopSlideRotation, thisMonth, thisWeek, thisYear, time, timeAm, timePm, today, tooLong, tooShort, typeMismatch, valueMissing, yesterday };
|
|
131
|
+
export { alertError, alertInfo, alertMessage, alertNotice, alertSuccess, alertWarning, apply, badInput, breadcrumb, cancel, chooseDate, chooseDateRange, chooseFile, clear, close, closeTab, confirm, copied, copy, dateUnavailable, decrement, zh_CN_default as default, endTime, filesSelected, goToSlide, hidePassword, increment, last30Days, last7Days, lastMonth, lastWeek, loading, nextMonth, nextSlide, noFileChosen, patternMismatch, previousMonth, previousSlide, quickRanges, rangeOverflow, rangeStartChosen, rangeUnderflow, remove, resizePanels, search, showPassword, startSlideRotation, startTime, stepComplete, stepMismatch, stepOnHold, stopSlideRotation, thisMonth, thisWeek, thisYear, time, timeAm, timePm, today, tooLong, tooShort, typeMismatch, valueMissing, yesterday };
|
|
@@ -41,6 +41,7 @@ var chooseFile = "選擇檔案";
|
|
|
41
41
|
var noFileChosen = "未選擇檔案";
|
|
42
42
|
var filesSelected = "已選擇{count}個檔案";
|
|
43
43
|
var resizePanels = "調整面板大小";
|
|
44
|
+
var loading = "載入中";
|
|
44
45
|
var search = "搜尋";
|
|
45
46
|
var alertError = "錯誤";
|
|
46
47
|
var alertWarning = "警告";
|
|
@@ -104,6 +105,7 @@ var zh_TW_default = {
|
|
|
104
105
|
noFileChosen,
|
|
105
106
|
filesSelected,
|
|
106
107
|
resizePanels,
|
|
108
|
+
loading,
|
|
107
109
|
search,
|
|
108
110
|
alertError,
|
|
109
111
|
alertWarning,
|
|
@@ -126,4 +128,4 @@ var zh_TW_default = {
|
|
|
126
128
|
timePm
|
|
127
129
|
};
|
|
128
130
|
//#endregion
|
|
129
|
-
export { alertError, alertInfo, alertMessage, alertNotice, alertSuccess, alertWarning, apply, badInput, breadcrumb, cancel, chooseDate, chooseDateRange, chooseFile, clear, close, closeTab, confirm, copied, copy, dateUnavailable, decrement, zh_TW_default as default, endTime, filesSelected, goToSlide, hidePassword, increment, last30Days, last7Days, lastMonth, lastWeek, nextMonth, nextSlide, noFileChosen, patternMismatch, previousMonth, previousSlide, quickRanges, rangeOverflow, rangeStartChosen, rangeUnderflow, remove, resizePanels, search, showPassword, startSlideRotation, startTime, stepComplete, stepMismatch, stepOnHold, stopSlideRotation, thisMonth, thisWeek, thisYear, time, timeAm, timePm, today, tooLong, tooShort, typeMismatch, valueMissing, yesterday };
|
|
131
|
+
export { alertError, alertInfo, alertMessage, alertNotice, alertSuccess, alertWarning, apply, badInput, breadcrumb, cancel, chooseDate, chooseDateRange, chooseFile, clear, close, closeTab, confirm, copied, copy, dateUnavailable, decrement, zh_TW_default as default, endTime, filesSelected, goToSlide, hidePassword, increment, last30Days, last7Days, lastMonth, lastWeek, loading, nextMonth, nextSlide, noFileChosen, patternMismatch, previousMonth, previousSlide, quickRanges, rangeOverflow, rangeStartChosen, rangeUnderflow, remove, resizePanels, search, showPassword, startSlideRotation, startTime, stepComplete, stepMismatch, stepOnHold, stopSlideRotation, thisMonth, thisWeek, thisYear, time, timeAm, timePm, today, tooLong, tooShort, typeMismatch, valueMissing, yesterday };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { UElement } from "../UElement.js";
|
|
2
2
|
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.152.0/helpers/esm/decorateMetadata.js";
|
|
3
3
|
import __decorate from "../../_virtual/_@oxc-project_runtime@0.152.0/helpers/esm/decorate.js";
|
|
4
|
+
import { Locale } from "../../utilities/Locale.js";
|
|
4
5
|
import "../button/UButton.js";
|
|
5
6
|
import { devWarnOnce } from "../../utilities/devWarning.js";
|
|
6
7
|
import "../icon/UIcon.js";
|
|
7
8
|
import { styles } from "./UAlert.styles.js";
|
|
8
|
-
import { Locale } from "../../utilities/Locale.js";
|
|
9
9
|
import { html } from "lit";
|
|
10
10
|
import { customElement, property } from "lit/decorators.js";
|
|
11
11
|
//#region src/components/alert/UAlert.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { UElement } from "../UElement.js";
|
|
2
2
|
import __decorate from "../../_virtual/_@oxc-project_runtime@0.152.0/helpers/esm/decorate.js";
|
|
3
|
-
import "../icon/UIcon.js";
|
|
4
3
|
import { Locale } from "../../utilities/Locale.js";
|
|
4
|
+
import "../icon/UIcon.js";
|
|
5
5
|
import { styles } from "./UBreadcrumb.styles.js";
|
|
6
6
|
import { html } from "lit";
|
|
7
7
|
import { customElement } from "lit/decorators.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { UElement } from "../UElement.js";
|
|
2
2
|
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.152.0/helpers/esm/decorateMetadata.js";
|
|
3
3
|
import __decorate from "../../_virtual/_@oxc-project_runtime@0.152.0/helpers/esm/decorate.js";
|
|
4
|
+
import { Locale } from "../../utilities/Locale.js";
|
|
4
5
|
import "../button/UButton.js";
|
|
5
6
|
import "../icon/UIcon.js";
|
|
6
|
-
import { Locale } from "../../utilities/Locale.js";
|
|
7
7
|
import { styles } from "./UCarousel.styles.js";
|
|
8
8
|
import { html, nothing } from "lit";
|
|
9
9
|
import { customElement, property, state } from "lit/decorators.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.152.0/helpers/esm/decorateMetadata.js";
|
|
2
2
|
import __decorate from "../../_virtual/_@oxc-project_runtime@0.152.0/helpers/esm/decorate.js";
|
|
3
3
|
import { UFormControlElement } from "../UFormControlElement.js";
|
|
4
|
-
import "../icon/UIcon.js";
|
|
5
4
|
import { Locale } from "../../utilities/Locale.js";
|
|
5
|
+
import "../icon/UIcon.js";
|
|
6
6
|
import { styles } from "./UCheckbox.styles.js";
|
|
7
7
|
import { html } from "lit";
|
|
8
8
|
import { customElement, property, query } from "lit/decorators.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { UElement } from "../UElement.js";
|
|
2
2
|
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.152.0/helpers/esm/decorateMetadata.js";
|
|
3
3
|
import __decorate from "../../_virtual/_@oxc-project_runtime@0.152.0/helpers/esm/decorate.js";
|
|
4
|
+
import { Locale } from "../../utilities/Locale.js";
|
|
4
5
|
import "../button/UButton.js";
|
|
5
6
|
import "../icon/UIcon.js";
|
|
6
|
-
import { Locale } from "../../utilities/Locale.js";
|
|
7
7
|
import "../tooltip/UTooltip.js";
|
|
8
8
|
import "../tag/UTag.js";
|
|
9
9
|
import { styles } from "./UChip.styles.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { UElement } from "../UElement.js";
|
|
2
2
|
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.152.0/helpers/esm/decorateMetadata.js";
|
|
3
3
|
import __decorate from "../../_virtual/_@oxc-project_runtime@0.152.0/helpers/esm/decorate.js";
|
|
4
|
+
import { Locale } from "../../utilities/Locale.js";
|
|
4
5
|
import "../button/UButton.js";
|
|
5
6
|
import "../icon/UIcon.js";
|
|
6
|
-
import { Locale } from "../../utilities/Locale.js";
|
|
7
7
|
import "../icon-button/UIconButton.js";
|
|
8
8
|
import { styles } from "./UCopyButton.styles.js";
|
|
9
9
|
import { html } from "lit";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.152.0/helpers/esm/decorateMetadata.js";
|
|
2
2
|
import __decorate from "../../_virtual/_@oxc-project_runtime@0.152.0/helpers/esm/decorate.js";
|
|
3
3
|
import { UFormControlElement } from "../UFormControlElement.js";
|
|
4
|
+
import { Locale } from "../../utilities/Locale.js";
|
|
4
5
|
import "../button/UButton.js";
|
|
5
6
|
import "../icon/UIcon.js";
|
|
6
|
-
import { Locale } from "../../utilities/Locale.js";
|
|
7
7
|
import { dateTextPattern, formatDateText, formatDateTimeText, parseDate, parseDateTime } from "../../utilities/format.js";
|
|
8
8
|
import { isDayUnavailable, parseISODate, toISODate } from "../calendar/dates.js";
|
|
9
9
|
import { UCalendar } from "../calendar/UCalendar.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.152.0/helpers/esm/decorateMetadata.js";
|
|
2
2
|
import __decorate from "../../_virtual/_@oxc-project_runtime@0.152.0/helpers/esm/decorate.js";
|
|
3
3
|
import { UFormControlElement } from "../UFormControlElement.js";
|
|
4
|
+
import { Locale } from "../../utilities/Locale.js";
|
|
4
5
|
import "../button/UButton.js";
|
|
5
6
|
import { devWarnOnce } from "../../utilities/devWarning.js";
|
|
6
7
|
import "../icon/UIcon.js";
|
|
7
|
-
import { Locale } from "../../utilities/Locale.js";
|
|
8
8
|
import { dateTextPattern, formatDateRangeText, formatDateTimeRangeText, parseDateRange, parseDateTimeRange } from "../../utilities/format.js";
|
|
9
9
|
import { parseISODate } from "../calendar/dates.js";
|
|
10
10
|
import { UCalendar } from "../calendar/UCalendar.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.152.0/helpers/esm/decorateMetadata.js";
|
|
2
2
|
import __decorate from "../../_virtual/_@oxc-project_runtime@0.152.0/helpers/esm/decorate.js";
|
|
3
3
|
import { UOverlayElement } from "../UOverlayElement.js";
|
|
4
|
+
import { Locale } from "../../utilities/Locale.js";
|
|
4
5
|
import "../button/UButton.js";
|
|
5
6
|
import "../icon/UIcon.js";
|
|
6
|
-
import { Locale } from "../../utilities/Locale.js";
|
|
7
7
|
import { styles } from "./UDialog.styles.js";
|
|
8
8
|
import { html } from "lit";
|
|
9
9
|
import { customElement, property, state } from "lit/decorators.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.152.0/helpers/esm/decorateMetadata.js";
|
|
2
2
|
import __decorate from "../../_virtual/_@oxc-project_runtime@0.152.0/helpers/esm/decorate.js";
|
|
3
3
|
import { UOverlayElement } from "../UOverlayElement.js";
|
|
4
|
+
import { Locale } from "../../utilities/Locale.js";
|
|
4
5
|
import "../button/UButton.js";
|
|
5
6
|
import "../icon/UIcon.js";
|
|
6
|
-
import { Locale } from "../../utilities/Locale.js";
|
|
7
7
|
import { styles } from "./UDrawer.styles.js";
|
|
8
8
|
import { html } from "lit";
|
|
9
9
|
import { customElement, property, state } from "lit/decorators.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.152.0/helpers/esm/decorateMetadata.js";
|
|
2
2
|
import __decorate from "../../_virtual/_@oxc-project_runtime@0.152.0/helpers/esm/decorate.js";
|
|
3
3
|
import { UFormControlElement } from "../UFormControlElement.js";
|
|
4
|
-
import "../icon/UIcon.js";
|
|
5
4
|
import { Locale } from "../../utilities/Locale.js";
|
|
5
|
+
import "../icon/UIcon.js";
|
|
6
6
|
import "../field/UField.js";
|
|
7
7
|
import { styles } from "./UFileInput.styles.js";
|
|
8
8
|
import { html } from "lit";
|
|
@@ -49,6 +49,9 @@ export declare class UIconButton extends UElement {
|
|
|
49
49
|
*/
|
|
50
50
|
static get observedAttributes(): string[];
|
|
51
51
|
attributeChangedCallback(name: string, old: string | null, value: string | null): void;
|
|
52
|
+
/** 기본 슬롯(툴팁)의 글자 — `aria-label` 이 없을 때 버튼의 이름. */
|
|
53
|
+
private slotText;
|
|
54
|
+
private handleSlotChange;
|
|
52
55
|
render(): import('lit-html').TemplateResult<1>;
|
|
53
56
|
}
|
|
54
57
|
declare global {
|
|
@@ -7,7 +7,7 @@ import "../icon/UIcon.js";
|
|
|
7
7
|
import "../tooltip/UTooltip.js";
|
|
8
8
|
import { styles } from "./UIconButton.styles.js";
|
|
9
9
|
import { html } from "lit";
|
|
10
|
-
import { customElement, property } from "lit/decorators.js";
|
|
10
|
+
import { customElement, property, state } from "lit/decorators.js";
|
|
11
11
|
import { ifDefined } from "lit/directives/if-defined.js";
|
|
12
12
|
//#region src/components/icon-button/UIconButton.ts
|
|
13
13
|
var UIconButton = class UIconButton extends UElement {
|
|
@@ -19,6 +19,11 @@ var UIconButton = class UIconButton extends UElement {
|
|
|
19
19
|
this.loading = false;
|
|
20
20
|
this.tooltipPlacement = "top";
|
|
21
21
|
this.tooltipOffset = 4;
|
|
22
|
+
this.slotText = "";
|
|
23
|
+
this.handleSlotChange = (e) => {
|
|
24
|
+
const nodes = e.target.assignedNodes({ flatten: true });
|
|
25
|
+
this.slotText = nodes.map((n) => n.textContent ?? "").join(" ").replace(/\s+/g, " ").trim();
|
|
26
|
+
};
|
|
22
27
|
}
|
|
23
28
|
static {
|
|
24
29
|
this.styles = [super.styles, styles];
|
|
@@ -44,7 +49,7 @@ var UIconButton = class UIconButton extends UElement {
|
|
|
44
49
|
if (FORWARDED_ARIA.includes(name)) this.requestUpdate();
|
|
45
50
|
}
|
|
46
51
|
render() {
|
|
47
|
-
const ariaLabel = this.getAttribute("aria-label") ?? void 0;
|
|
52
|
+
const ariaLabel = this.getAttribute("aria-label") ?? (this.slotText || void 0);
|
|
48
53
|
const pressed = this.getAttribute("aria-pressed") ?? void 0;
|
|
49
54
|
const expanded = this.getAttribute("aria-expanded") ?? void 0;
|
|
50
55
|
const haspopup = this.getAttribute("aria-haspopup") ?? void 0;
|
|
@@ -75,7 +80,7 @@ var UIconButton = class UIconButton extends UElement {
|
|
|
75
80
|
.placement=${this.tooltipPlacement}
|
|
76
81
|
.offset=${this.tooltipOffset}
|
|
77
82
|
>
|
|
78
|
-
<slot></slot>
|
|
83
|
+
<slot @slotchange=${this.handleSlotChange}></slot>
|
|
79
84
|
</u-tooltip>
|
|
80
85
|
`;
|
|
81
86
|
}
|
|
@@ -110,6 +115,7 @@ __decorate([property({
|
|
|
110
115
|
type: Number,
|
|
111
116
|
attribute: "tooltip-offset"
|
|
112
117
|
}), __decorateMetadata("design:type", Object)], UIconButton.prototype, "tooltipOffset", void 0);
|
|
118
|
+
__decorate([state(), __decorateMetadata("design:type", Object)], UIconButton.prototype, "slotText", void 0);
|
|
113
119
|
UIconButton = __decorate([customElement("u-icon-button")], UIconButton);
|
|
114
120
|
//#endregion
|
|
115
121
|
export { UIconButton };
|
|
@@ -2,9 +2,9 @@ import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.152.0/hel
|
|
|
2
2
|
import __decorate from "../../_virtual/_@oxc-project_runtime@0.152.0/helpers/esm/decorate.js";
|
|
3
3
|
import { UFormControlElement } from "../UFormControlElement.js";
|
|
4
4
|
import { isImeComposing } from "../../utilities/keyboard.js";
|
|
5
|
+
import { Locale } from "../../utilities/Locale.js";
|
|
5
6
|
import "../spinner/USpinner.js";
|
|
6
7
|
import "../icon/UIcon.js";
|
|
7
|
-
import { Locale } from "../../utilities/Locale.js";
|
|
8
8
|
import { parseNumber } from "../../utilities/format.js";
|
|
9
9
|
import "../field/UField.js";
|
|
10
10
|
import { UPopover } from "../popover/UPopover.js";
|
|
@@ -38,9 +38,12 @@ export declare class UProgressBar extends UElement {
|
|
|
38
38
|
buffer?: number;
|
|
39
39
|
/** 현재값 */
|
|
40
40
|
value: number;
|
|
41
|
+
/** 보조기기에 내놓는 역할·값(`progressbar`) — 호스트 속성이 이긴다. */
|
|
42
|
+
private readonly internals;
|
|
41
43
|
private progress;
|
|
42
44
|
private bufferProgress;
|
|
43
45
|
protected willUpdate(changedProperties: PropertyValues): void;
|
|
46
|
+
protected updated(changedProperties: PropertyValues): void;
|
|
44
47
|
render(): import('lit-html').TemplateResult<1>;
|
|
45
48
|
private calcProgress;
|
|
46
49
|
}
|