yuyeon 0.1.0-rc.9 → 0.1.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/style.css +1 -1
- package/dist/yuyeon.js +4606 -4024
- package/dist/yuyeon.umd.cjs +17 -13
- package/lib/components/badge/YBadge.scss +0 -1
- package/lib/components/card/YCard.mjs +16 -9
- package/lib/components/card/YCard.mjs.map +1 -1
- package/lib/components/dialog/YDialog.mjs +4 -1
- package/lib/components/dialog/YDialog.mjs.map +1 -1
- package/lib/components/dropdown/YDropdown.mjs +10 -4
- package/lib/components/dropdown/YDropdown.mjs.map +1 -1
- package/lib/components/field-input/YFieldInput.mjs.map +1 -1
- package/lib/components/field-input/YFieldInput.scss +1 -1
- package/lib/components/hover/YHover.mjs +11 -4
- package/lib/components/hover/YHover.mjs.map +1 -1
- package/lib/components/hover/index.mjs +2 -0
- package/lib/components/hover/index.mjs.map +1 -0
- package/lib/components/index.mjs +3 -0
- package/lib/components/index.mjs.map +1 -1
- package/lib/components/input/YInput.scss +1 -1
- package/lib/components/ip-field/YIpField.scss +74 -0
- package/lib/components/ip-field/YIpv4Field.mjs +297 -0
- package/lib/components/ip-field/YIpv4Field.mjs.map +1 -0
- package/lib/components/ip-field/index.mjs +2 -0
- package/lib/components/ip-field/index.mjs.map +1 -0
- package/lib/components/layer/YLayer.mjs +32 -12
- package/lib/components/layer/YLayer.mjs.map +1 -1
- package/lib/components/layer/base.mjs +1 -1
- package/lib/components/layer/base.mjs.map +1 -1
- package/lib/components/layer/content.mjs +22 -0
- package/lib/components/layer/content.mjs.map +1 -0
- package/lib/components/layer/scroll-strategies.mjs +1 -1
- package/lib/components/layer/scroll-strategies.mjs.map +1 -1
- package/lib/components/list/YListItem.mjs +1 -0
- package/lib/components/list/YListItem.mjs.map +1 -1
- package/lib/components/menu/YMenu.mjs +6 -11
- package/lib/components/menu/YMenu.mjs.map +1 -1
- package/lib/components/panel/YDividePanel.scss +1 -1
- package/lib/components/select/YSelect.mjs +8 -5
- package/lib/components/select/YSelect.mjs.map +1 -1
- package/lib/components/snackbar/YSnackbar.mjs +42 -37
- package/lib/components/snackbar/YSnackbar.mjs.map +1 -1
- package/lib/components/tab/YTab.scss +3 -3
- package/lib/components/tab/types.mjs.map +1 -1
- package/lib/components/table/YDataTableBody.mjs +1 -1
- package/lib/components/table/YDataTableBody.mjs.map +1 -1
- package/lib/components/table/YDataTableRow.mjs +30 -3
- package/lib/components/table/YDataTableRow.mjs.map +1 -1
- package/lib/components/table/composibles/header.mjs +1 -1
- package/lib/components/table/composibles/header.mjs.map +1 -1
- package/lib/components/table/composibles/items.mjs +3 -1
- package/lib/components/table/composibles/items.mjs.map +1 -1
- package/lib/components/table/composibles/selection.mjs.map +1 -1
- package/lib/components/table/composibles/sorting.mjs.map +1 -1
- package/lib/components/table/types/common.mjs.map +1 -1
- package/lib/components/table/types/header.mjs.map +1 -1
- package/lib/components/text-interpolation/YTi.mjs +46 -0
- package/lib/components/text-interpolation/YTi.mjs.map +1 -0
- package/lib/components/text-interpolation/index.mjs +2 -0
- package/lib/components/text-interpolation/index.mjs.map +1 -0
- package/lib/components/textarea/YTextarea.mjs +3 -1
- package/lib/components/textarea/YTextarea.mjs.map +1 -1
- package/lib/components/tooltip/YTooltip.mjs +1 -0
- package/lib/components/tooltip/YTooltip.mjs.map +1 -1
- package/lib/components/tree-view/YTreeViewNode.mjs +47 -21
- package/lib/components/tree-view/YTreeViewNode.mjs.map +1 -1
- package/lib/composables/coordinate/index.mjs.map +1 -1
- package/lib/composables/coordinate/levitation.mjs.map +1 -1
- package/lib/composables/icon.mjs.map +1 -1
- package/lib/composables/index.mjs +1 -0
- package/lib/composables/index.mjs.map +1 -1
- package/lib/composables/theme/index.mjs +6 -3
- package/lib/composables/theme/index.mjs.map +1 -1
- package/lib/index.mjs +1 -1
- package/lib/index.mjs.map +1 -1
- package/lib/util/parser.mjs +31 -0
- package/lib/util/parser.mjs.map +1 -0
- package/lib/util/string.mjs +30 -0
- package/lib/util/string.mjs.map +1 -1
- package/package.json +12 -11
- package/types/abstract/items.d.ts +5 -4
- package/types/components/alert/YAlert.d.ts +3 -2
- package/types/components/app/YApp.d.ts +3 -2
- package/types/components/badge/YBadge.d.ts +9 -8
- package/types/components/bench/YBench.d.ts +4 -0
- package/types/components/bench/index.d.ts +1 -0
- package/types/components/button/YButton.d.ts +27 -29
- package/types/components/card/YCard.d.ts +6 -3
- package/types/components/card/YCardBody.d.ts +1 -1
- package/types/components/card/YCardFooter.d.ts +1 -1
- package/types/components/card/YCardHeader.d.ts +1 -1
- package/types/components/checkbox/YCheckbox.d.ts +4 -3
- package/types/components/checkbox/YInputCheckbox.d.ts +7 -6
- package/types/components/checkbox/index.d.ts +1 -1
- package/types/components/chip/YChip.d.ts +3 -2
- package/types/components/date-picker/YDateCalendar.d.ts +16 -15
- package/types/components/date-picker/YDatePicker.d.ts +41 -40
- package/types/components/date-picker/YDatePickerControl.d.ts +29 -28
- package/types/components/date-picker/YMonthPicker.d.ts +6 -5
- package/types/components/date-picker/YYearPicker.d.ts +3 -2
- package/types/components/default-provider/YDefaultProvider.d.ts +0 -0
- package/types/components/default-provider/index.d.ts +0 -0
- package/types/components/dialog/YDialog.d.ts +416 -335
- package/types/components/divider/YDivider.d.ts +4 -3
- package/types/components/dropdown/YDropdown.d.ts +507 -61
- package/types/components/field-input/YFieldInput.d.ts +27 -26
- package/types/components/form/YForm.d.ts +9 -8
- package/types/components/hover/YHover.d.ts +79 -0
- package/types/components/hover/index.d.ts +1 -0
- package/types/components/icon/YIcon.d.ts +5 -4
- package/types/components/icons/YIconCheckbox.d.ts +5 -4
- package/types/components/icons/YIconClear.d.ts +1 -1
- package/types/components/icons/YIconDropdown.d.ts +1 -1
- package/types/components/icons/YIconExpand.d.ts +1 -1
- package/types/components/icons/YIconPageControl.d.ts +6 -5
- package/types/components/icons/YIconSort.d.ts +5 -4
- package/types/components/icons/index.d.ts +26 -26
- package/types/components/index.d.ts +3 -0
- package/types/components/input/YInput.d.ts +21 -20
- package/types/components/ip-field/YIpv4Field.d.ts +133 -0
- package/types/components/ip-field/index.d.ts +1 -0
- package/types/components/layer/YLayer.d.ts +154 -106
- package/types/components/layer/active-stack.d.ts +3 -2
- package/types/components/layer/base.d.ts +8 -7
- package/types/components/layer/content.d.ts +21 -0
- package/types/components/layer/scroll-strategies.d.ts +41 -0
- package/types/components/list/YList.d.ts +8 -7
- package/types/components/list/YListItem.d.ts +19 -13
- package/types/components/loading/YSpinnerRing.d.ts +2 -1
- package/types/components/menu/YMenu.d.ts +175 -125
- package/types/components/navigation/YNavigation.d.ts +1 -0
- package/types/components/navigation/index.d.ts +1 -0
- package/types/components/pagination/YPagination.d.ts +20 -19
- package/types/components/panel/YDividePanel.d.ts +4 -3
- package/types/components/plate/YPlate.d.ts +3 -2
- package/types/components/progress-bar/YProgressBar.d.ts +5 -4
- package/types/components/select/YSelect.d.ts +1304 -944
- package/types/components/snackbar/YSnackbar.d.ts +494 -30
- package/types/components/switch/YSwitch.d.ts +4 -3
- package/types/components/tab/YTab.d.ts +30 -29
- package/types/components/tab/YTabs.d.ts +12 -11
- package/types/components/tab/index.d.ts +1 -1
- package/types/components/tab/shared.d.ts +1 -0
- package/types/components/tab/types.d.ts +1 -1
- package/types/components/table/YDataTable.d.ts +225 -62
- package/types/components/table/YDataTableBody.d.ts +10 -9
- package/types/components/table/YDataTableCell.d.ts +6 -5
- package/types/components/table/YDataTableControl.d.ts +5 -4
- package/types/components/table/YDataTableHead.d.ts +10 -10
- package/types/components/table/YDataTableLayer.d.ts +4 -3
- package/types/components/table/YDataTableRow.d.ts +3 -2
- package/types/components/table/YDataTableServer.d.ts +225 -62
- package/types/components/table/YTable.d.ts +7 -6
- package/types/components/table/composibles/header.d.ts +103 -12
- package/types/components/table/composibles/items.d.ts +5 -4
- package/types/components/table/composibles/options.d.ts +2 -1
- package/types/components/table/composibles/pagination.d.ts +6 -5
- package/types/components/table/composibles/selection.d.ts +7 -5
- package/types/components/table/composibles/sorting.d.ts +26 -7
- package/types/components/table/types/common.d.ts +1 -0
- package/types/components/table/types/header.d.ts +3 -2
- package/types/components/table/types/index.d.ts +5 -4
- package/types/components/table/types/item.d.ts +1 -0
- package/types/components/table/types/row.d.ts +1 -0
- package/types/components/text-ellipsis/YTextEllipsis.d.ts +3 -2
- package/types/components/text-highlighter/YTextHighlighter.d.ts +3 -2
- package/types/components/text-highlighter/index.d.ts +1 -0
- package/types/components/text-interpolation/YTi.d.ts +20 -0
- package/types/components/text-interpolation/index.d.ts +1 -0
- package/types/components/textarea/YTextarea.d.ts +39 -39
- package/types/components/toggle-button/YToggleButton.d.ts +1 -0
- package/types/components/tooltip/YTooltip.d.ts +217 -150
- package/types/components/transitions/expand-transition.d.ts +4 -3
- package/types/components/transitions/index.d.ts +10 -10
- package/types/components/tree-view/YTreeView.d.ts +20 -13
- package/types/components/tree-view/YTreeViewNode.d.ts +42 -20
- package/types/components/tree-view/types.d.ts +2 -1
- package/types/components/tree-view/util.d.ts +1 -0
- package/types/composables/choice-link.d.ts +2 -1
- package/types/composables/choice.d.ts +3 -2
- package/types/composables/communication.d.ts +2 -1
- package/types/composables/component.d.ts +1 -0
- package/types/composables/coordinate/arrangement.d.ts +2 -1
- package/types/composables/coordinate/index.d.ts +23 -22
- package/types/composables/coordinate/levitation.d.ts +2 -1
- package/types/composables/coordinate/types.d.ts +2 -1
- package/types/composables/coordinate/utils/point.d.ts +1 -0
- package/types/composables/date/factory.d.ts +1 -0
- package/types/composables/date/index.d.ts +1 -0
- package/types/composables/date/setting.d.ts +2 -1
- package/types/composables/date/types.d.ts +2 -1
- package/types/composables/dimension.d.ts +4 -3
- package/types/composables/focus.d.ts +4 -3
- package/types/composables/form.d.ts +7 -6
- package/types/composables/i18n/index.d.ts +1 -0
- package/types/composables/i18n/locale.d.ts +2 -1
- package/types/composables/i18n/rtl.d.ts +2 -1
- package/types/composables/icon.d.ts +9 -10
- package/types/composables/index.d.ts +1 -0
- package/types/composables/layer-group.d.ts +3 -2
- package/types/composables/layout.d.ts +10 -0
- package/types/composables/list-items.d.ts +36 -35
- package/types/composables/progress.d.ts +1 -1
- package/types/composables/ref.d.ts +2 -1
- package/types/composables/resize-observer.d.ts +2 -2
- package/types/composables/scope.d.ts +2 -1
- package/types/composables/theme/factory.d.ts +1 -0
- package/types/composables/theme/index.d.ts +5 -4
- package/types/composables/theme/setting.d.ts +1 -0
- package/types/composables/timing.d.ts +2 -1
- package/types/composables/transition.d.ts +2 -1
- package/types/composables/validation.d.ts +19 -18
- package/types/composables/vue-router.d.ts +3 -3
- package/types/directives/complement-click/index.d.ts +1 -0
- package/types/directives/plate-wave/index.d.ts +2 -1
- package/types/directives/theme-class.d.ts +1 -0
- package/types/globals.d.ts +1 -1
- package/types/i18n/built-in.d.ts +2 -1
- package/types/i18n/types.d.ts +2 -1
- package/types/index.d.ts +2 -1
- package/types/locales/index.d.ts +2 -0
- package/types/locales/ko.d.ts +6 -0
- package/types/mixins/di.d.ts +1 -1
- package/types/mixins/rebind-attrs.d.ts +2 -2
- package/types/shims.d.ts +5 -45
- package/types/types/index.d.ts +2 -1
- package/types/util/anchor.d.ts +1 -1
- package/types/util/color/contrast/contrast.d.ts +74 -0
- package/types/util/color/conversion.d.ts +1 -0
- package/types/util/color/hct/cam16.d.ts +2 -17
- package/types/util/color/hct/hct-solver.d.ts +131 -0
- package/types/util/color/hct/hct.d.ts +2 -17
- package/types/util/color/hct/viewing-conditions.d.ts +58 -0
- package/types/util/color/index.d.ts +1 -1
- package/types/util/color/palettes/core-palette.d.ts +44 -0
- package/types/util/color/palettes/tonal-palette.d.ts +40 -0
- package/types/util/date/adapters/yuyeon-date-adapter.d.ts +1 -0
- package/types/util/date/built-in.d.ts +2 -1
- package/types/util/date/index.d.ts +1 -1
- package/types/util/parser.d.ts +4 -0
- package/types/util/reactivity.d.ts +3 -2
- package/types/util/string.d.ts +4 -0
- package/types/util/vue-component.d.ts +4 -3
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export function simpleBraceParse(input) {
|
|
2
|
+
const pattern = /\{([^{}]+)\}/g;
|
|
3
|
+
const results = [];
|
|
4
|
+
let match;
|
|
5
|
+
let pointer = 0;
|
|
6
|
+
while ((match = pattern.exec(input)) !== null) {
|
|
7
|
+
const variable = match[1];
|
|
8
|
+
const start = match.index;
|
|
9
|
+
const end = pattern.lastIndex;
|
|
10
|
+
if (start > 0) {
|
|
11
|
+
const prevText = input.substring(pointer, start);
|
|
12
|
+
results.push({
|
|
13
|
+
type: 'text',
|
|
14
|
+
content: prevText
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
if (variable.trim()) {
|
|
18
|
+
results.push({
|
|
19
|
+
type: 'variable',
|
|
20
|
+
content: variable.trim()
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
pointer = end;
|
|
24
|
+
}
|
|
25
|
+
results.push({
|
|
26
|
+
type: 'text',
|
|
27
|
+
content: input.substring(pointer, input.length)
|
|
28
|
+
});
|
|
29
|
+
return results;
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=parser.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parser.mjs","names":["simpleBraceParse","input","pattern","results","match","pointer","exec","variable","start","index","end","lastIndex","prevText","substring","push","type","content","trim","length"],"sources":["../../src/util/parser.ts"],"sourcesContent":["export function simpleBraceParse(input: string) {\r\n const pattern = /\\{([^{}]+)\\}/g;\r\n const results = [];\r\n let match;\r\n let pointer = 0;\r\n\r\n while ((match = pattern.exec(input)) !== null) {\r\n const variable = match[1];\r\n const start = match.index;\r\n const end = pattern.lastIndex;\r\n if (start > 0) {\r\n const prevText = input.substring(pointer, start);\r\n results.push({\r\n type: 'text',\r\n content: prevText,\r\n });\r\n }\r\n if (variable.trim()) {\r\n results.push({\r\n type: 'variable',\r\n content: variable.trim(),\r\n });\r\n }\r\n\r\n pointer = end;\r\n }\r\n\r\n results.push({\r\n type: 'text',\r\n content: input.substring(pointer, input.length),\r\n });\r\n\r\n return results;\r\n}\r\n"],"mappings":"AAAA,OAAO,SAASA,gBAAgBA,CAACC,KAAa,EAAE;EAC9C,MAAMC,OAAO,GAAG,eAAe;EAC/B,MAAMC,OAAO,GAAG,EAAE;EAClB,IAAIC,KAAK;EACT,IAAIC,OAAO,GAAG,CAAC;EAEf,OAAO,CAACD,KAAK,GAAGF,OAAO,CAACI,IAAI,CAACL,KAAK,CAAC,MAAM,IAAI,EAAE;IAC7C,MAAMM,QAAQ,GAAGH,KAAK,CAAC,CAAC,CAAC;IACzB,MAAMI,KAAK,GAAGJ,KAAK,CAACK,KAAK;IACzB,MAAMC,GAAG,GAAGR,OAAO,CAACS,SAAS;IAC7B,IAAIH,KAAK,GAAG,CAAC,EAAE;MACb,MAAMI,QAAQ,GAAGX,KAAK,CAACY,SAAS,CAACR,OAAO,EAAEG,KAAK,CAAC;MAChDL,OAAO,CAACW,IAAI,CAAC;QACXC,IAAI,EAAE,MAAM;QACZC,OAAO,EAAEJ;MACX,CAAC,CAAC;IACJ;IACA,IAAIL,QAAQ,CAACU,IAAI,CAAC,CAAC,EAAE;MACnBd,OAAO,CAACW,IAAI,CAAC;QACXC,IAAI,EAAE,UAAU;QAChBC,OAAO,EAAET,QAAQ,CAACU,IAAI,CAAC;MACzB,CAAC,CAAC;IACJ;IAEAZ,OAAO,GAAGK,GAAG;EACf;EAEAP,OAAO,CAACW,IAAI,CAAC;IACXC,IAAI,EAAE,MAAM;IACZC,OAAO,EAAEf,KAAK,CAACY,SAAS,CAACR,OAAO,EAAEJ,KAAK,CAACiB,MAAM;EAChD,CAAC,CAAC;EAEF,OAAOf,OAAO;AAChB"}
|
package/lib/util/string.mjs
CHANGED
|
@@ -36,4 +36,34 @@ export function randomCharOne(str) {
|
|
|
36
36
|
}
|
|
37
37
|
return '';
|
|
38
38
|
}
|
|
39
|
+
export function simpleBraceParse(input) {
|
|
40
|
+
const pattern = /\{([^{}]+)\}/g;
|
|
41
|
+
const results = [];
|
|
42
|
+
let match;
|
|
43
|
+
let pointer = 0;
|
|
44
|
+
while ((match = pattern.exec(input)) !== null) {
|
|
45
|
+
const variable = match[1];
|
|
46
|
+
const start = match.index;
|
|
47
|
+
const end = pattern.lastIndex;
|
|
48
|
+
if (start > 0) {
|
|
49
|
+
const prevText = input.substring(pointer, start);
|
|
50
|
+
results.push({
|
|
51
|
+
type: 'text',
|
|
52
|
+
content: prevText
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
if (variable.trim()) {
|
|
56
|
+
results.push({
|
|
57
|
+
type: 'variable',
|
|
58
|
+
content: variable.trim()
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
pointer = end;
|
|
62
|
+
}
|
|
63
|
+
results.push({
|
|
64
|
+
type: 'text',
|
|
65
|
+
content: input.substring(pointer, input.length)
|
|
66
|
+
});
|
|
67
|
+
return results;
|
|
68
|
+
}
|
|
39
69
|
//# sourceMappingURL=string.mjs.map
|
package/lib/util/string.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"string.mjs","names":["camelToPascal","str","charAt","toUpperCase","slice","toKebabCase","from","arguments","length","undefined","res","index","char","charCode","charCodeAt","toLowerCase","kebabToCamel","randomCharOne","Math","floor","random"],"sources":["../../src/util/string.ts"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"string.mjs","names":["camelToPascal","str","charAt","toUpperCase","slice","toKebabCase","from","arguments","length","undefined","res","index","char","charCode","charCodeAt","toLowerCase","kebabToCamel","randomCharOne","Math","floor","random","simpleBraceParse","input","pattern","results","match","pointer","exec","variable","start","end","lastIndex","prevText","substring","push","type","content","trim"],"sources":["../../src/util/string.ts"],"sourcesContent":["export function camelToPascal(str: string) {\n return str.charAt(0).toUpperCase() + str.slice(1);\n}\n\nexport function toKebabCase(str: string, from: 'camel' | 'pascal' = 'camel') {\n let res = '';\n for (let index = 0; index < str.length; index += 1) {\n const char = str[index];\n const charCode = char.charCodeAt(0);\n if (charCode >= 65 && charCode <= 90) {\n res += `${\n index === 0 && from === 'camel' ? '' : '-'\n }${char.toLowerCase()}`;\n } else {\n res += char;\n }\n }\n return res;\n}\n\nexport function kebabToCamel(str: string) {\n let res = '';\n let index = 0;\n while (index < str.length) {\n const char = str[index];\n if (char === '-') {\n index += 1;\n res += str[index].toUpperCase();\n } else {\n res += char;\n }\n index += 1;\n }\n return res;\n}\n\nexport function randomCharOne(str: string) {\n if (str) {\n return str.charAt(Math.floor(Math.random() * str.length));\n }\n return '';\n}\n\nexport function simpleBraceParse(input: string) {\n const pattern = /\\{([^{}]+)\\}/g;\n const results = [];\n let match;\n let pointer = 0;\n\n while ((match = pattern.exec(input)) !== null) {\n const variable = match[1];\n const start = match.index;\n const end = pattern.lastIndex;\n if (start > 0) {\n const prevText = input.substring(pointer, start);\n results.push({\n type: 'text',\n content: prevText,\n });\n }\n if (variable.trim()) {\n results.push({\n type: 'variable',\n content: variable.trim(),\n });\n }\n\n pointer = end;\n }\n\n results.push({\n type: 'text',\n content: input.substring(pointer, input.length),\n });\n\n return results;\n}\n"],"mappings":"AAAA,OAAO,SAASA,aAAaA,CAACC,GAAW,EAAE;EACzC,OAAOA,GAAG,CAACC,MAAM,CAAC,CAAC,CAAC,CAACC,WAAW,CAAC,CAAC,GAAGF,GAAG,CAACG,KAAK,CAAC,CAAC,CAAC;AACnD;AAEA,OAAO,SAASC,WAAWA,CAACJ,GAAW,EAAsC;EAAA,IAApCK,IAAwB,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,OAAO;EACzE,IAAIG,GAAG,GAAG,EAAE;EACZ,KAAK,IAAIC,KAAK,GAAG,CAAC,EAAEA,KAAK,GAAGV,GAAG,CAACO,MAAM,EAAEG,KAAK,IAAI,CAAC,EAAE;IAClD,MAAMC,IAAI,GAAGX,GAAG,CAACU,KAAK,CAAC;IACvB,MAAME,QAAQ,GAAGD,IAAI,CAACE,UAAU,CAAC,CAAC,CAAC;IACnC,IAAID,QAAQ,IAAI,EAAE,IAAIA,QAAQ,IAAI,EAAE,EAAE;MACpCH,GAAG,IAAK,GACNC,KAAK,KAAK,CAAC,IAAIL,IAAI,KAAK,OAAO,GAAG,EAAE,GAAG,GACxC,GAAEM,IAAI,CAACG,WAAW,CAAC,CAAE,EAAC;IACzB,CAAC,MAAM;MACLL,GAAG,IAAIE,IAAI;IACb;EACF;EACA,OAAOF,GAAG;AACZ;AAEA,OAAO,SAASM,YAAYA,CAACf,GAAW,EAAE;EACxC,IAAIS,GAAG,GAAG,EAAE;EACZ,IAAIC,KAAK,GAAG,CAAC;EACb,OAAOA,KAAK,GAAGV,GAAG,CAACO,MAAM,EAAE;IACzB,MAAMI,IAAI,GAAGX,GAAG,CAACU,KAAK,CAAC;IACvB,IAAIC,IAAI,KAAK,GAAG,EAAE;MAChBD,KAAK,IAAI,CAAC;MACVD,GAAG,IAAIT,GAAG,CAACU,KAAK,CAAC,CAACR,WAAW,CAAC,CAAC;IACjC,CAAC,MAAM;MACLO,GAAG,IAAIE,IAAI;IACb;IACAD,KAAK,IAAI,CAAC;EACZ;EACA,OAAOD,GAAG;AACZ;AAEA,OAAO,SAASO,aAAaA,CAAChB,GAAW,EAAE;EACzC,IAAIA,GAAG,EAAE;IACP,OAAOA,GAAG,CAACC,MAAM,CAACgB,IAAI,CAACC,KAAK,CAACD,IAAI,CAACE,MAAM,CAAC,CAAC,GAAGnB,GAAG,CAACO,MAAM,CAAC,CAAC;EAC3D;EACA,OAAO,EAAE;AACX;AAEA,OAAO,SAASa,gBAAgBA,CAACC,KAAa,EAAE;EAC9C,MAAMC,OAAO,GAAG,eAAe;EAC/B,MAAMC,OAAO,GAAG,EAAE;EAClB,IAAIC,KAAK;EACT,IAAIC,OAAO,GAAG,CAAC;EAEf,OAAO,CAACD,KAAK,GAAGF,OAAO,CAACI,IAAI,CAACL,KAAK,CAAC,MAAM,IAAI,EAAE;IAC7C,MAAMM,QAAQ,GAAGH,KAAK,CAAC,CAAC,CAAC;IACzB,MAAMI,KAAK,GAAGJ,KAAK,CAACd,KAAK;IACzB,MAAMmB,GAAG,GAAGP,OAAO,CAACQ,SAAS;IAC7B,IAAIF,KAAK,GAAG,CAAC,EAAE;MACb,MAAMG,QAAQ,GAAGV,KAAK,CAACW,SAAS,CAACP,OAAO,EAAEG,KAAK,CAAC;MAChDL,OAAO,CAACU,IAAI,CAAC;QACXC,IAAI,EAAE,MAAM;QACZC,OAAO,EAAEJ;MACX,CAAC,CAAC;IACJ;IACA,IAAIJ,QAAQ,CAACS,IAAI,CAAC,CAAC,EAAE;MACnBb,OAAO,CAACU,IAAI,CAAC;QACXC,IAAI,EAAE,UAAU;QAChBC,OAAO,EAAER,QAAQ,CAACS,IAAI,CAAC;MACzB,CAAC,CAAC;IACJ;IAEAX,OAAO,GAAGI,GAAG;EACf;EAEAN,OAAO,CAACU,IAAI,CAAC;IACXC,IAAI,EAAE,MAAM;IACZC,OAAO,EAAEd,KAAK,CAACW,SAAS,CAACP,OAAO,EAAEJ,KAAK,CAACd,MAAM;EAChD,CAAC,CAAC;EAEF,OAAOgB,OAAO;AAChB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "yuyeon",
|
|
3
|
-
"version": "0.1.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"UI Library",
|
|
6
6
|
"Vue"
|
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
"module": "./lib/util/index.mjs"
|
|
43
43
|
},
|
|
44
44
|
"./components/*": "./lib/components/*/index.mjs",
|
|
45
|
+
"./shims": "./types/shims.d.ts",
|
|
45
46
|
"./types/*": "./types/*",
|
|
46
47
|
"./*": "./*"
|
|
47
48
|
},
|
|
@@ -75,15 +76,15 @@
|
|
|
75
76
|
"@babel/preset-typescript": "^7.21.0",
|
|
76
77
|
"@rollup/plugin-alias": "^4.0.3",
|
|
77
78
|
"@rollup/plugin-babel": "^6.0.3",
|
|
78
|
-
"@rollup/plugin-node-resolve": "^15.
|
|
79
|
+
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
79
80
|
"@rollup/plugin-typescript": "^11.0.0",
|
|
80
|
-
"@trivago/prettier-plugin-sort-imports": "^4.
|
|
81
|
+
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
|
|
81
82
|
"@types/jest": "^28.1.8",
|
|
82
|
-
"@types/node": "^18.
|
|
83
|
+
"@types/node": "^18.19.1",
|
|
83
84
|
"@types/resize-observer-browser": "^0.1.7",
|
|
84
|
-
"@vitejs/plugin-vue": "^
|
|
85
|
-
"@vitejs/plugin-vue-jsx": "^
|
|
86
|
-
"@vue/babel-plugin-jsx": "^1.
|
|
85
|
+
"@vitejs/plugin-vue": "^5.0.5",
|
|
86
|
+
"@vitejs/plugin-vue-jsx": "^4.0.0",
|
|
87
|
+
"@vue/babel-plugin-jsx": "^1.2.2",
|
|
87
88
|
"@vue/test-utils": "2.4.6",
|
|
88
89
|
"autoprefixer": "^10.4.14",
|
|
89
90
|
"babel-plugin-add-import-extension": "1.5.1",
|
|
@@ -98,10 +99,10 @@
|
|
|
98
99
|
"rollup-plugin-sourcemaps": "^0.6.3",
|
|
99
100
|
"rollup-plugin-terser": "^7.0.2",
|
|
100
101
|
"sass": "^1.63.3",
|
|
101
|
-
"vite": "^5.
|
|
102
|
-
"vite-plugin-dts": "^
|
|
103
|
-
"vue-router": "^4.
|
|
104
|
-
"vue-tsc": "^
|
|
102
|
+
"vite": "^5.3.1",
|
|
103
|
+
"vite-plugin-dts": "^3.9.1",
|
|
104
|
+
"vue-router": "^4.3.3",
|
|
105
|
+
"vue-tsc": "^2.0.21"
|
|
105
106
|
},
|
|
106
107
|
"peerDependencies": {
|
|
107
108
|
"motion": "^10.15.5",
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
+
|
|
2
3
|
export declare const pressItemsPropsOptions: <Defaults extends {
|
|
3
4
|
items?: unknown;
|
|
4
5
|
itemKey?: unknown;
|
|
@@ -11,7 +12,7 @@ export declare const pressItemsPropsOptions: <Defaults extends {
|
|
|
11
12
|
} : Omit<{
|
|
12
13
|
type: PropType<any[]>;
|
|
13
14
|
default: () => never[];
|
|
14
|
-
}, "
|
|
15
|
+
}, "default" | "type"> & {
|
|
15
16
|
type: PropType<unknown extends Defaults["items"] ? any[] : any[] | Defaults["items"]>;
|
|
16
17
|
default: unknown extends Defaults["items"] ? any[] : any[] | Defaults["items"];
|
|
17
18
|
};
|
|
@@ -21,7 +22,7 @@ export declare const pressItemsPropsOptions: <Defaults extends {
|
|
|
21
22
|
} : Omit<{
|
|
22
23
|
type: PropType<string>;
|
|
23
24
|
default: string;
|
|
24
|
-
}, "
|
|
25
|
+
}, "default" | "type"> & {
|
|
25
26
|
type: PropType<unknown extends Defaults["itemKey"] ? string : string | Defaults["itemKey"]>;
|
|
26
27
|
default: unknown extends Defaults["itemKey"] ? string : string | Defaults["itemKey"];
|
|
27
28
|
};
|
|
@@ -31,7 +32,7 @@ export declare const pressItemsPropsOptions: <Defaults extends {
|
|
|
31
32
|
} : Omit<{
|
|
32
33
|
type: PropType<string>;
|
|
33
34
|
default: string;
|
|
34
|
-
}, "
|
|
35
|
+
}, "default" | "type"> & {
|
|
35
36
|
type: PropType<unknown extends Defaults["itemText"] ? string : string | Defaults["itemText"]>;
|
|
36
37
|
default: unknown extends Defaults["itemText"] ? string : string | Defaults["itemText"];
|
|
37
38
|
};
|
|
@@ -41,7 +42,7 @@ export declare const pressItemsPropsOptions: <Defaults extends {
|
|
|
41
42
|
} : Omit<{
|
|
42
43
|
type: PropType<string | boolean>;
|
|
43
44
|
default: string;
|
|
44
|
-
}, "
|
|
45
|
+
}, "default" | "type"> & {
|
|
45
46
|
type: PropType<unknown extends Defaults["itemChildren"] ? string | boolean : NonNullable<string | boolean> | Defaults["itemChildren"]>;
|
|
46
47
|
default: unknown extends Defaults["itemChildren"] ? string | boolean : NonNullable<string | boolean> | Defaults["itemChildren"];
|
|
47
48
|
};
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { PropType, SlotsType } from 'vue';
|
|
2
|
+
|
|
2
3
|
/**
|
|
3
4
|
* # Component
|
|
4
5
|
*/
|
|
5
|
-
export declare const YAlert: import(
|
|
6
|
+
export declare const YAlert: import('vue').DefineComponent<{
|
|
6
7
|
semantic: PropType<string>;
|
|
7
8
|
variation: PropType<string>;
|
|
8
9
|
color: PropType<string>;
|
|
9
10
|
textColor: PropType<string>;
|
|
10
11
|
outlineColor: PropType<string>;
|
|
11
|
-
}, void, unknown, {}, {}, import(
|
|
12
|
+
}, void, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
12
13
|
semantic: PropType<string>;
|
|
13
14
|
variation: PropType<string>;
|
|
14
15
|
color: PropType<string>;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
|
|
1
2
|
/**
|
|
2
3
|
* # App Component
|
|
3
4
|
*/
|
|
4
|
-
export declare const YApp: import(
|
|
5
|
+
export declare const YApp: import('vue').DefineComponent<{}, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
5
6
|
[key: string]: any;
|
|
6
|
-
}>, {}, {}, {}, import(
|
|
7
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>;
|
|
7
8
|
export type YApp = InstanceType<typeof YApp>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { PropType, SlotsType } from 'vue';
|
|
2
2
|
import { IconValue } from '../../composables/icon';
|
|
3
|
+
|
|
3
4
|
export declare const pressYBadgePropsOptions: <Defaults extends {
|
|
4
5
|
tag?: unknown;
|
|
5
6
|
dot?: unknown;
|
|
@@ -20,7 +21,7 @@ export declare const pressYBadgePropsOptions: <Defaults extends {
|
|
|
20
21
|
} : Omit<{
|
|
21
22
|
type: PropType<string>;
|
|
22
23
|
default: string;
|
|
23
|
-
}, "
|
|
24
|
+
}, "default" | "type"> & {
|
|
24
25
|
type: PropType<unknown extends Defaults["tag"] ? string : string | Defaults["tag"]>;
|
|
25
26
|
default: unknown extends Defaults["tag"] ? string : string | Defaults["tag"];
|
|
26
27
|
};
|
|
@@ -58,7 +59,7 @@ export declare const pressYBadgePropsOptions: <Defaults extends {
|
|
|
58
59
|
} : Omit<{
|
|
59
60
|
type: StringConstructor;
|
|
60
61
|
default: string;
|
|
61
|
-
}, "
|
|
62
|
+
}, "default" | "type"> & {
|
|
62
63
|
type: PropType<unknown extends Defaults["label"] ? string : string | Defaults["label"]>;
|
|
63
64
|
default: unknown extends Defaults["label"] ? string : string | Defaults["label"];
|
|
64
65
|
};
|
|
@@ -76,12 +77,12 @@ export declare const pressYBadgePropsOptions: <Defaults extends {
|
|
|
76
77
|
} : Omit<{
|
|
77
78
|
type: StringConstructor;
|
|
78
79
|
default: string;
|
|
79
|
-
}, "
|
|
80
|
+
}, "default" | "type"> & {
|
|
80
81
|
type: PropType<unknown extends Defaults["transition"] ? string : string | Defaults["transition"]>;
|
|
81
82
|
default: unknown extends Defaults["transition"] ? string : string | Defaults["transition"];
|
|
82
83
|
};
|
|
83
84
|
};
|
|
84
|
-
export declare const YBadge: import(
|
|
85
|
+
export declare const YBadge: import('vue').DefineComponent<{
|
|
85
86
|
tag: {
|
|
86
87
|
type: PropType<string>;
|
|
87
88
|
default: string;
|
|
@@ -103,7 +104,7 @@ export declare const YBadge: import("vue").DefineComponent<{
|
|
|
103
104
|
type: StringConstructor;
|
|
104
105
|
default: string;
|
|
105
106
|
};
|
|
106
|
-
}, void, unknown, {}, {}, import(
|
|
107
|
+
}, void, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
107
108
|
tag: {
|
|
108
109
|
type: PropType<string>;
|
|
109
110
|
default: string;
|
|
@@ -126,14 +127,14 @@ export declare const YBadge: import("vue").DefineComponent<{
|
|
|
126
127
|
default: string;
|
|
127
128
|
};
|
|
128
129
|
}>>, {
|
|
129
|
-
tag: string;
|
|
130
130
|
label: string;
|
|
131
131
|
floating: boolean;
|
|
132
132
|
transition: string;
|
|
133
|
-
dot: boolean;
|
|
134
|
-
bordered: boolean;
|
|
135
133
|
inline: boolean;
|
|
136
134
|
hide: boolean;
|
|
135
|
+
dot: boolean;
|
|
136
|
+
tag: string;
|
|
137
|
+
bordered: boolean;
|
|
137
138
|
}, SlotsType<{
|
|
138
139
|
default: any;
|
|
139
140
|
badge: any;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* # Base Component
|
|
3
|
+
*/
|
|
4
|
+
export declare const YBench: import('vue').DefineComponent<{}, void, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './YBench';
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
* Style
|
|
4
|
-
*/
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
|
|
5
3
|
export declare const pressYButtonProps: <Defaults extends {
|
|
6
4
|
value?: unknown;
|
|
7
5
|
disabled?: unknown;
|
|
@@ -42,9 +40,9 @@ export declare const pressYButtonProps: <Defaults extends {
|
|
|
42
40
|
type: PropType<unknown extends Defaults["replace"] ? boolean : boolean | Defaults["replace"]>;
|
|
43
41
|
default: unknown extends Defaults["replace"] ? boolean : boolean | Defaults["replace"];
|
|
44
42
|
};
|
|
45
|
-
to: unknown extends Defaults["to"] ? PropType<import(
|
|
46
|
-
type: PropType<unknown extends Defaults["to"] ? import(
|
|
47
|
-
default: unknown extends Defaults["to"] ? import(
|
|
43
|
+
to: unknown extends Defaults["to"] ? PropType<import('vue-router').RouteLocationRaw> : {
|
|
44
|
+
type: PropType<unknown extends Defaults["to"] ? import('vue-router').RouteLocationRaw : NonNullable<import('vue-router').RouteLocationRaw> | Defaults["to"]>;
|
|
45
|
+
default: unknown extends Defaults["to"] ? import('vue-router').RouteLocationRaw : NonNullable<import('vue-router').RouteLocationRaw> | Defaults["to"];
|
|
48
46
|
};
|
|
49
47
|
exact: unknown extends Defaults["exact"] ? BooleanConstructor : {
|
|
50
48
|
type: PropType<unknown extends Defaults["exact"] ? boolean : boolean | Defaults["exact"]>;
|
|
@@ -60,17 +58,17 @@ export declare const pressYButtonProps: <Defaults extends {
|
|
|
60
58
|
} : Omit<{
|
|
61
59
|
type: BooleanConstructor;
|
|
62
60
|
default: undefined;
|
|
63
|
-
}, "
|
|
61
|
+
}, "default" | "type"> & {
|
|
64
62
|
type: PropType<unknown extends Defaults["active"] ? boolean : boolean | Defaults["active"]>;
|
|
65
63
|
default: unknown extends Defaults["active"] ? boolean : boolean | Defaults["active"];
|
|
66
64
|
};
|
|
67
65
|
injectSymbol: unknown extends Defaults["injectSymbol"] ? {
|
|
68
66
|
type: null;
|
|
69
|
-
default: import(
|
|
67
|
+
default: import('vue').InjectionKey<import('../../composables/choice').ChoiceProvide>;
|
|
70
68
|
} : Omit<{
|
|
71
69
|
type: null;
|
|
72
|
-
default: import(
|
|
73
|
-
}, "
|
|
70
|
+
default: import('vue').InjectionKey<import('../../composables/choice').ChoiceProvide>;
|
|
71
|
+
}, "default" | "type"> & {
|
|
74
72
|
type: PropType<unknown extends Defaults["injectSymbol"] ? any : any>;
|
|
75
73
|
default: unknown extends Defaults["injectSymbol"] ? any : any;
|
|
76
74
|
};
|
|
@@ -78,7 +76,7 @@ export declare const pressYButtonProps: <Defaults extends {
|
|
|
78
76
|
type: PropType<string>;
|
|
79
77
|
} : Omit<{
|
|
80
78
|
type: PropType<string>;
|
|
81
|
-
}, "
|
|
79
|
+
}, "default" | "type"> & {
|
|
82
80
|
type: PropType<unknown extends Defaults["variation"] ? string : string | Defaults["variation"]>;
|
|
83
81
|
default: unknown extends Defaults["variation"] ? string : string | Defaults["variation"];
|
|
84
82
|
};
|
|
@@ -96,7 +94,7 @@ export declare const pressYButtonProps: <Defaults extends {
|
|
|
96
94
|
} : Omit<{
|
|
97
95
|
type: BooleanConstructor;
|
|
98
96
|
default: boolean;
|
|
99
|
-
}, "
|
|
97
|
+
}, "default" | "type"> & {
|
|
100
98
|
type: PropType<unknown extends Defaults["outlined"] ? boolean : boolean | Defaults["outlined"]>;
|
|
101
99
|
default: unknown extends Defaults["outlined"] ? boolean : boolean | Defaults["outlined"];
|
|
102
100
|
};
|
|
@@ -106,7 +104,7 @@ export declare const pressYButtonProps: <Defaults extends {
|
|
|
106
104
|
} : Omit<{
|
|
107
105
|
type: BooleanConstructor;
|
|
108
106
|
default: boolean;
|
|
109
|
-
}, "
|
|
107
|
+
}, "default" | "type"> & {
|
|
110
108
|
type: PropType<unknown extends Defaults["rounded"] ? boolean : boolean | Defaults["rounded"]>;
|
|
111
109
|
default: unknown extends Defaults["rounded"] ? boolean : boolean | Defaults["rounded"];
|
|
112
110
|
};
|
|
@@ -116,7 +114,7 @@ export declare const pressYButtonProps: <Defaults extends {
|
|
|
116
114
|
} : Omit<{
|
|
117
115
|
type: BooleanConstructor;
|
|
118
116
|
default: boolean;
|
|
119
|
-
}, "
|
|
117
|
+
}, "default" | "type"> & {
|
|
120
118
|
type: PropType<unknown extends Defaults["filled"] ? boolean : boolean | Defaults["filled"]>;
|
|
121
119
|
default: unknown extends Defaults["filled"] ? boolean : boolean | Defaults["filled"];
|
|
122
120
|
};
|
|
@@ -124,7 +122,7 @@ export declare const pressYButtonProps: <Defaults extends {
|
|
|
124
122
|
type: StringConstructor;
|
|
125
123
|
} : Omit<{
|
|
126
124
|
type: StringConstructor;
|
|
127
|
-
}, "
|
|
125
|
+
}, "default" | "type"> & {
|
|
128
126
|
type: PropType<unknown extends Defaults["color"] ? string : string | Defaults["color"]>;
|
|
129
127
|
default: unknown extends Defaults["color"] ? string : string | Defaults["color"];
|
|
130
128
|
};
|
|
@@ -134,18 +132,18 @@ export declare const pressYButtonProps: <Defaults extends {
|
|
|
134
132
|
} : Omit<{
|
|
135
133
|
type: BooleanConstructor;
|
|
136
134
|
default: boolean;
|
|
137
|
-
}, "
|
|
135
|
+
}, "default" | "type"> & {
|
|
138
136
|
type: PropType<unknown extends Defaults["noWave"] ? boolean : boolean | Defaults["noWave"]>;
|
|
139
137
|
default: unknown extends Defaults["noWave"] ? boolean : boolean | Defaults["noWave"];
|
|
140
138
|
};
|
|
141
139
|
};
|
|
142
|
-
export declare const YButton: import(
|
|
140
|
+
export declare const YButton: import('vue').DefineComponent<{
|
|
143
141
|
value: null;
|
|
144
142
|
disabled: BooleanConstructor;
|
|
145
143
|
selectedClass: StringConstructor;
|
|
146
144
|
href: StringConstructor;
|
|
147
145
|
replace: BooleanConstructor;
|
|
148
|
-
to: PropType<import(
|
|
146
|
+
to: PropType<import('vue-router').RouteLocationRaw>;
|
|
149
147
|
exact: BooleanConstructor;
|
|
150
148
|
loading: BooleanConstructor;
|
|
151
149
|
active: {
|
|
@@ -154,7 +152,7 @@ export declare const YButton: import("vue").DefineComponent<{
|
|
|
154
152
|
};
|
|
155
153
|
injectSymbol: {
|
|
156
154
|
type: null;
|
|
157
|
-
default: import(
|
|
155
|
+
default: import('vue').InjectionKey<import('../../composables/choice').ChoiceProvide>;
|
|
158
156
|
};
|
|
159
157
|
variation: {
|
|
160
158
|
type: PropType<string>;
|
|
@@ -181,19 +179,19 @@ export declare const YButton: import("vue").DefineComponent<{
|
|
|
181
179
|
default: boolean;
|
|
182
180
|
};
|
|
183
181
|
}, {
|
|
184
|
-
link: import(
|
|
185
|
-
}, unknown, {}, {}, import(
|
|
182
|
+
link: import('../../composables/vue-router').UseLink;
|
|
183
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
186
184
|
click: (event: MouseEvent) => true;
|
|
187
185
|
'choice:selected': (choice: {
|
|
188
186
|
value: boolean;
|
|
189
187
|
}) => true;
|
|
190
|
-
}, string, import(
|
|
188
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
191
189
|
value: null;
|
|
192
190
|
disabled: BooleanConstructor;
|
|
193
191
|
selectedClass: StringConstructor;
|
|
194
192
|
href: StringConstructor;
|
|
195
193
|
replace: BooleanConstructor;
|
|
196
|
-
to: PropType<import(
|
|
194
|
+
to: PropType<import('vue-router').RouteLocationRaw>;
|
|
197
195
|
exact: BooleanConstructor;
|
|
198
196
|
loading: BooleanConstructor;
|
|
199
197
|
active: {
|
|
@@ -202,7 +200,7 @@ export declare const YButton: import("vue").DefineComponent<{
|
|
|
202
200
|
};
|
|
203
201
|
injectSymbol: {
|
|
204
202
|
type: null;
|
|
205
|
-
default: import(
|
|
203
|
+
default: import('vue').InjectionKey<import('../../composables/choice').ChoiceProvide>;
|
|
206
204
|
};
|
|
207
205
|
variation: {
|
|
208
206
|
type: PropType<string>;
|
|
@@ -234,17 +232,17 @@ export declare const YButton: import("vue").DefineComponent<{
|
|
|
234
232
|
value: boolean;
|
|
235
233
|
}) => any) | undefined;
|
|
236
234
|
}, {
|
|
237
|
-
icon: boolean;
|
|
238
|
-
disabled: boolean;
|
|
239
|
-
replace: boolean;
|
|
240
235
|
small: boolean;
|
|
236
|
+
replace: boolean;
|
|
237
|
+
disabled: boolean;
|
|
238
|
+
exact: boolean;
|
|
241
239
|
loading: boolean;
|
|
242
240
|
active: boolean;
|
|
243
241
|
injectSymbol: any;
|
|
242
|
+
icon: boolean;
|
|
244
243
|
outlined: boolean;
|
|
245
244
|
rounded: boolean;
|
|
246
245
|
filled: boolean;
|
|
247
246
|
noWave: boolean;
|
|
248
|
-
exact: boolean;
|
|
249
247
|
}, {}>;
|
|
250
248
|
export type YButton = InstanceType<typeof YButton>;
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
|
|
3
|
+
export declare const YCard: import('vue').DefineComponent<{
|
|
4
|
+
theme: PropType<string>;
|
|
3
5
|
outline: {
|
|
4
6
|
type: PropType<boolean>;
|
|
5
7
|
};
|
|
6
|
-
},
|
|
8
|
+
}, void, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
9
|
+
theme: PropType<string>;
|
|
7
10
|
outline: {
|
|
8
11
|
type: PropType<boolean>;
|
|
9
12
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const YCardBody: import(
|
|
1
|
+
export declare const YCardBody: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>;
|
|
2
2
|
export type YCardBody = InstanceType<typeof YCardBody>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const YCardFooter: import(
|
|
1
|
+
export declare const YCardFooter: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>;
|
|
2
2
|
export type YCardFooter = InstanceType<typeof YCardFooter>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const YCardHeader: import(
|
|
1
|
+
export declare const YCardHeader: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>;
|
|
2
2
|
export type YCardHeader = InstanceType<typeof YCardHeader>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
|
|
2
|
+
|
|
3
|
+
export declare const YCheckbox: import('vue').DefineComponent<{
|
|
3
4
|
modelValue: PropType<boolean | any[]>;
|
|
4
5
|
value: PropType<any>;
|
|
5
6
|
label: PropType<string>;
|
|
@@ -17,8 +18,8 @@ export declare const YCheckbox: import("vue").DefineComponent<{
|
|
|
17
18
|
disabled: PropType<boolean>;
|
|
18
19
|
readonly: PropType<boolean>;
|
|
19
20
|
}, {
|
|
20
|
-
checked: import(
|
|
21
|
-
}, unknown, {}, {}, import(
|
|
21
|
+
checked: import('vue').Ref<boolean>;
|
|
22
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("blur" | "change" | "click" | "focus" | "update:modelValue")[], "blur" | "change" | "click" | "focus" | "update:modelValue", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
22
23
|
modelValue: PropType<boolean | any[]>;
|
|
23
24
|
value: PropType<any>;
|
|
24
25
|
label: PropType<string>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<{
|
|
3
4
|
id: PropType<string>;
|
|
4
5
|
value: PropType<boolean>;
|
|
5
6
|
icon: PropType<string>;
|
|
@@ -17,24 +18,24 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
17
18
|
coloredClass(): string | undefined;
|
|
18
19
|
classes(): Record<string, boolean>;
|
|
19
20
|
inputId(): string;
|
|
20
|
-
iconComponent(): import(
|
|
21
|
+
iconComponent(): import('vue').DefineComponent<{
|
|
21
22
|
checked: BooleanConstructor;
|
|
22
23
|
indeterminate: BooleanConstructor;
|
|
23
24
|
disabled: BooleanConstructor;
|
|
24
|
-
}, unknown, unknown, {}, {}, import(
|
|
25
|
+
}, unknown, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
25
26
|
checked: BooleanConstructor;
|
|
26
27
|
indeterminate: BooleanConstructor;
|
|
27
28
|
disabled: BooleanConstructor;
|
|
28
29
|
}>>, {
|
|
29
|
-
checked: boolean;
|
|
30
|
-
indeterminate: boolean;
|
|
31
30
|
disabled: boolean;
|
|
31
|
+
indeterminate: boolean;
|
|
32
|
+
checked: boolean;
|
|
32
33
|
}, {}> | null;
|
|
33
34
|
}, {
|
|
34
35
|
onFocus(e: FocusEvent): void;
|
|
35
36
|
onBlur(e: FocusEvent): void;
|
|
36
37
|
onClick(event: MouseEvent): void;
|
|
37
|
-
}, import(
|
|
38
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("blur" | "click" | "focus")[], "blur" | "click" | "focus", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
38
39
|
id: PropType<string>;
|
|
39
40
|
value: PropType<boolean>;
|
|
40
41
|
icon: PropType<string>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
|
+
export declare const YChip: import('vue').DefineComponent<{
|
|
2
3
|
color: StringConstructor;
|
|
3
4
|
background: StringConstructor;
|
|
4
5
|
small: BooleanConstructor;
|
|
@@ -20,7 +21,7 @@ export declare const YChip: import("vue").DefineComponent<{
|
|
|
20
21
|
};
|
|
21
22
|
}, {
|
|
22
23
|
colorRgb(color: string): string;
|
|
23
|
-
}, import(
|
|
24
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
24
25
|
color: StringConstructor;
|
|
25
26
|
background: StringConstructor;
|
|
26
27
|
small: BooleanConstructor;
|