litos-ui 0.23.0 → 0.24.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/README.md +2 -2
- package/README.zh-CN.md +2 -2
- package/lib/base.d.ts +3 -2
- package/lib/base.js +11 -8
- package/lib/button/index.d.ts +21 -5
- package/lib/button/index.js +115 -62
- package/lib/button/index.less_inline.js +2 -3
- package/lib/button/style.js +1 -2
- package/lib/calendar/index.d.ts +1 -0
- package/lib/calendar/index.js +19 -17
- package/lib/calendar/index.less_inline.js +1 -2
- package/lib/calendar/langs.js +21 -11
- package/lib/card/index.js +8 -9
- package/lib/card/index.less_inline.js +1 -2
- package/lib/carousel/index.js +10 -11
- package/lib/carousel/index.less_inline.js +1 -2
- package/lib/carousel/item.js +1 -2
- package/lib/carousel/item.less_inline.js +1 -2
- package/lib/carousel/timer.js +1 -2
- package/lib/check/check.d.ts +40 -8
- package/lib/check/check.js +200 -65
- package/lib/check/check.less_inline.js +2 -3
- package/lib/check/checkbox.js +2 -3
- package/lib/check/checkbox.less_inline.js +2 -3
- package/lib/check/checkbox_group.js +1 -2
- package/lib/check/index.d.ts +28 -8
- package/lib/check/index.js +151 -46
- package/lib/check/index.less_inline.js +1 -2
- package/lib/check/radio.js +2 -3
- package/lib/check/radio.less_inline.js +1 -2
- package/lib/check/radio_group.js +2 -3
- package/lib/collapse/index.d.ts +12 -4
- package/lib/collapse/index.js +80 -46
- package/lib/collapse/index.less_inline.js +2 -3
- package/lib/collapse/item.d.ts +35 -9
- package/lib/collapse/item.js +219 -57
- package/lib/collapse/item.less_inline.js +2 -3
- package/lib/collapse/types.d.ts +17 -3
- package/lib/color_picker/index.d.ts +4 -2
- package/lib/color_picker/index.js +26 -17
- package/lib/color_picker/index.less_inline.js +1 -2
- package/lib/date_picker/index.d.ts +5 -1
- package/lib/date_picker/index.js +39 -23
- package/lib/date_picker/index.less_inline.js +1 -2
- package/lib/date_picker_ori/index.d.ts +7 -2
- package/lib/date_picker_ori/index.js +123 -47
- package/lib/date_picker_ori/index.less_inline.js +1 -2
- package/lib/description_panel/index.js +2 -10
- package/lib/description_panel/index.less_inline.js +1 -2
- package/lib/dialog/dialog_box.js +28 -29
- package/lib/dialog/dialog_container.css_inline.js +1 -2
- package/lib/dialog/dialog_container.js +13 -14
- package/lib/dialog/dialog_container_style.js +1 -2
- package/lib/dialog/index.d.ts +2 -0
- package/lib/dialog/index.js +11 -9
- package/lib/dropdown/index.d.ts +39 -0
- package/lib/dropdown/index.js +98 -0
- package/lib/entries/base.js +1 -2
- package/lib/entries/button.js +5 -6
- package/lib/entries/calendar.js +5 -6
- package/lib/entries/card.js +5 -6
- package/lib/entries/carousel-item.js +5 -6
- package/lib/entries/carousel.js +5 -6
- package/lib/entries/checkbox-group.js +5 -6
- package/lib/entries/checkbox.js +5 -6
- package/lib/entries/collapse-item.d.ts +0 -1
- package/lib/entries/collapse-item.js +6 -6
- package/lib/entries/collapse.d.ts +0 -1
- package/lib/entries/collapse.js +11 -6
- package/lib/entries/color-picker.js +5 -6
- package/lib/entries/date-picker-ori.js +5 -6
- package/lib/entries/date-picker.js +5 -6
- package/lib/entries/description-panel.js +5 -6
- package/lib/entries/dialog-box.js +1 -2
- package/lib/entries/dialog-container.js +5 -6
- package/lib/entries/dialog.js +1 -2
- package/lib/entries/dropdown.d.ts +2 -0
- package/lib/entries/dropdown.js +1 -0
- package/lib/entries/form-item.js +5 -6
- package/lib/entries/form.js +5 -6
- package/lib/entries/icon-arrow-down.js +5 -6
- package/lib/entries/icon-arrow-left.js +5 -6
- package/lib/entries/icon-arrow-right.js +5 -6
- package/lib/entries/icon-arrow-up.js +5 -6
- package/lib/entries/icon-base.js +5 -6
- package/lib/entries/icon-calendar.js +5 -6
- package/lib/entries/icon-caret-bottom.js +5 -6
- package/lib/entries/icon-caret-top.js +5 -6
- package/lib/entries/icon-close-filled.js +5 -6
- package/lib/entries/icon-close.js +5 -6
- package/lib/entries/icon-copy.js +5 -6
- package/lib/entries/icon-d-arrow-left.js +5 -6
- package/lib/entries/icon-d-arrow-right.js +5 -6
- package/lib/entries/icon-delete.js +5 -6
- package/lib/entries/icon-eye-outline.js +5 -6
- package/lib/entries/icon-font-icon.js +5 -6
- package/lib/entries/icon-info.js +5 -6
- package/lib/entries/icon-loading.js +5 -6
- package/lib/entries/icon-minus.js +5 -6
- package/lib/entries/icon-moon.js +5 -6
- package/lib/entries/icon-more.js +5 -6
- package/lib/entries/icon-picture.js +5 -6
- package/lib/entries/icon-plus.js +5 -6
- package/lib/entries/icon-reduction.js +5 -6
- package/lib/entries/icon-refresh-left.js +5 -6
- package/lib/entries/icon-refresh-right.js +5 -6
- package/lib/entries/icon-refresh.js +5 -6
- package/lib/entries/icon-search.js +5 -6
- package/lib/entries/icon-select.js +5 -6
- package/lib/entries/icon-sort.js +5 -6
- package/lib/entries/icon-success.js +5 -6
- package/lib/entries/icon-sun.js +5 -6
- package/lib/entries/icon-theme-default.js +5 -6
- package/lib/entries/icon-warn.js +5 -6
- package/lib/entries/icon-zoom-in.js +5 -6
- package/lib/entries/icon-zoom-out.js +5 -6
- package/lib/entries/image-preview.js +5 -6
- package/lib/entries/image.js +5 -6
- package/lib/entries/input-number.js +5 -6
- package/lib/entries/input.js +5 -6
- package/lib/entries/list.js +5 -6
- package/lib/entries/loading.js +1 -2
- package/lib/entries/mask.js +5 -6
- package/lib/entries/md-input.js +5 -6
- package/lib/entries/menu.js +5 -6
- package/lib/entries/message.js +1 -2
- package/lib/entries/modal-box.js +1 -2
- package/lib/entries/modal.js +5 -6
- package/lib/entries/notification-box.js +1 -2
- package/lib/entries/notification.js +1 -2
- package/lib/entries/page-header.js +5 -6
- package/lib/entries/pagination.js +5 -6
- package/lib/entries/polygon.js +5 -6
- package/lib/entries/popconfirm.js +1 -2
- package/lib/entries/popover.js +1 -2
- package/lib/entries/qrcode.js +5 -6
- package/lib/entries/radio-group.js +5 -6
- package/lib/entries/radio.js +5 -6
- package/lib/entries/select-ori.js +5 -6
- package/lib/entries/select.js +5 -6
- package/lib/entries/space.js +5 -6
- package/lib/entries/switch.js +5 -6
- package/lib/entries/tabbar-item.js +5 -6
- package/lib/entries/tabbar.js +5 -6
- package/lib/entries/table.js +5 -6
- package/lib/entries/tabs.js +1 -2
- package/lib/entries/tag.js +5 -6
- package/lib/entries/theme-color.js +5 -6
- package/lib/entries/theme.js +5 -6
- package/lib/entries/transition.js +1 -2
- package/lib/entries/upload.js +5 -6
- package/lib/entries/utils.js +1 -2
- package/lib/form/accessibility.d.ts +15 -0
- package/lib/form/accessibility.js +56 -0
- package/lib/form/autocomplete.d.ts +21 -0
- package/lib/form/autocomplete.js +59 -0
- package/lib/form/context.d.ts +157 -0
- package/lib/form/context.js +88 -0
- package/lib/form/form_inner.d.ts +99 -24
- package/lib/form/form_inner.js +424 -72
- package/lib/form/form_item.d.ts +35 -11
- package/lib/form/form_item.js +210 -78
- package/lib/form/form_item.less_inline.js +2 -3
- package/lib/form/form_item_style.d.ts +3 -0
- package/lib/form/form_item_style.js +7 -0
- package/lib/form/index.d.ts +69 -15
- package/lib/form/index.js +501 -101
- package/lib/form/index.less_inline.js +1 -2
- package/lib/form/owner.d.ts +78 -0
- package/lib/form/owner.js +138 -0
- package/lib/form/style.d.ts +3 -0
- package/lib/form/style.js +7 -0
- package/lib/icon/arrow_down.js +1 -2
- package/lib/icon/arrow_left.js +1 -2
- package/lib/icon/arrow_right.js +1 -2
- package/lib/icon/arrow_up.js +1 -2
- package/lib/icon/base.js +1 -2
- package/lib/icon/calendar.js +1 -2
- package/lib/icon/caret_bottom.js +1 -2
- package/lib/icon/caret_top.js +1 -2
- package/lib/icon/close.js +1 -2
- package/lib/icon/close_filled.js +1 -2
- package/lib/icon/copy.js +1 -2
- package/lib/icon/d_arrow_left.js +1 -2
- package/lib/icon/d_arrow_right.js +1 -2
- package/lib/icon/delete.js +1 -2
- package/lib/icon/eye_outline.js +1 -2
- package/lib/icon/font_icon.js +1 -2
- package/lib/icon/icon_style.js +1 -2
- package/lib/icon/index.less_inline.js +1 -2
- package/lib/icon/info.js +1 -2
- package/lib/icon/loading.js +1 -2
- package/lib/icon/minus.js +1 -2
- package/lib/icon/moon.js +1 -2
- package/lib/icon/more.js +1 -2
- package/lib/icon/picture.js +1 -2
- package/lib/icon/plus.js +1 -2
- package/lib/icon/reduction.js +1 -2
- package/lib/icon/refresh.js +1 -2
- package/lib/icon/refresh_left.js +1 -2
- package/lib/icon/refresh_right.js +1 -2
- package/lib/icon/search.js +1 -2
- package/lib/icon/select.js +1 -2
- package/lib/icon/sort.js +1 -2
- package/lib/icon/success.js +1 -2
- package/lib/icon/sun.js +1 -2
- package/lib/icon/theme_default.js +1 -2
- package/lib/icon/warn.js +1 -2
- package/lib/icon/zoom_in.js +1 -2
- package/lib/icon/zoom_out.js +1 -2
- package/lib/image/image_preview.js +1 -2
- package/lib/image/image_preview.less_inline.js +1 -2
- package/lib/image/index.js +1 -2
- package/lib/image/index.less_inline.js +1 -2
- package/lib/index.d.ts +2 -1
- package/lib/index.js +88 -87
- package/lib/input/index.d.ts +18 -1
- package/lib/input/index.js +151 -48
- package/lib/input/index.less_inline.js +2 -3
- package/lib/input/input_inner.less_inline.js +1 -2
- package/lib/input/style.d.ts +3 -0
- package/lib/input/style.js +7 -0
- package/lib/input_number/index.d.ts +7 -0
- package/lib/input_number/index.js +70 -48
- package/lib/input_number/index.less_inline.js +1 -2
- package/lib/input_number/style.js +1 -2
- package/lib/list/index.js +4 -5
- package/lib/list/index.less_inline.js +1 -2
- package/lib/loading/index.js +1 -2
- package/lib/mask/index.js +2 -7
- package/lib/mask/index.less_inline.js +1 -2
- package/lib/md_input/index.d.ts +11 -2
- package/lib/md_input/index.js +63 -27
- package/lib/md_input/index.less_inline.js +2 -3
- package/lib/menu/index.js +2 -7
- package/lib/menu/index.less_inline.js +1 -2
- package/lib/message/index.js +1 -2
- package/lib/modal/index.js +15 -16
- package/lib/modal/index.less_inline.js +1 -2
- package/lib/modal/modal_box.js +24 -25
- package/lib/notification/index.js +15 -29
- package/lib/notification/index.less_inline.js +1 -2
- package/lib/notification/notification_box.js +2 -3
- package/lib/notification/placement.js +1 -2
- package/lib/notification/style.js +1 -2
- package/lib/page_header/index.js +1 -2
- package/lib/page_header/index.less_inline.js +1 -2
- package/lib/pagination/index.js +26 -25
- package/lib/pagination/index.less_inline.js +2 -3
- package/lib/polygon/index.js +1 -2
- package/lib/polygon/index.less_inline.js +1 -2
- package/lib/qrcode/index.js +1 -2
- package/lib/qrcode/index.less_inline.js +1 -2
- package/lib/select/index.d.ts +21 -2
- package/lib/select/index.js +138 -77
- package/lib/select/index.less_inline.js +1 -2
- package/lib/select_ori/index.d.ts +9 -1
- package/lib/select_ori/index.js +36 -24
- package/lib/select_ori/index.less_inline.js +1 -2
- package/lib/space/index.js +1 -2
- package/lib/space/index.less_inline.js +1 -2
- package/lib/styles/animation/index.css_inline.js +1 -2
- package/lib/styles/animation/index.js +1 -2
- package/lib/styles/mask/index.css_inline.js +1 -2
- package/lib/styles/mask/index.js +1 -2
- package/lib/switch/index.d.ts +6 -0
- package/lib/switch/index.js +31 -16
- package/lib/switch/index.less_inline.js +1 -2
- package/lib/tabbar/index.js +1 -2
- package/lib/tabbar/index.less_inline.js +1 -2
- package/lib/tabbar/item.js +1 -2
- package/lib/tabbar/item.less_inline.js +1 -2
- package/lib/table/index.d.ts +2 -0
- package/lib/table/index.js +12 -4
- package/lib/table/index.less_inline.js +1 -2
- package/lib/tabs/index.js +1 -2
- package/lib/tag/index.d.ts +11 -3
- package/lib/tag/index.js +25 -24
- package/lib/tag/index.less_inline.js +2 -3
- package/lib/theme/appearance.d.ts +5 -0
- package/lib/theme/appearance.js +34 -0
- package/lib/theme/index.js +83 -39
- package/lib/theme/index.less_inline.js +1 -2
- package/lib/theme/theme_color.js +1 -2
- package/lib/upload/index.js +28 -41
- package/lib/upload/index.less_inline.js +2 -3
- package/lib/upload/style.js +1 -2
- package/lib/utils/clickoutside.js +1 -2
- package/lib/utils/event.js +1 -2
- package/lib/utils/index.d.ts +27 -5
- package/lib/utils/index.js +43 -22
- package/lib/utils/popover.js +7 -16
- package/lib/utils/transition.js +1 -2
- package/package.json +16 -13
- package/styles/dark.css +10 -2
- package/styles/dropdown.css +46 -0
- package/styles/reset.css +0 -1
- package/styles/select.css +5 -0
- package/styles/themes/apple.css +47 -0
- package/styles/{theme-coral.css → themes/coral.css} +5 -3
- package/styles/themes/deep-sea-blue.css +12 -0
- package/styles/themes/gamboge.css +15 -0
- package/styles/{theme-jade.css → themes/jade.css} +5 -3
- package/styles/themes/lotus-seed.css +12 -0
- package/styles/{theme-tangerine.css → themes/tangerine.css} +5 -3
- package/styles/themes.css +8 -0
- package/styles/vars.css +8 -2
- package/types/preact.d.ts +43 -0
- package/lib/form/types.d.ts +0 -7
- package/lib/utils/context_provide.d.ts +0 -10
- package/lib/utils/context_provide.js +0 -22
- package/lib/utils/signal_types.d.ts +0 -5
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { Popover as e } from "../utils/popover.js";
|
|
2
|
+
// src/components/dropdown/index.ts
|
|
3
|
+
function t(t) {
|
|
4
|
+
let n = typeof t.reference == "string" ? Array.from(document.querySelectorAll(t.reference)) : Array.isArray(t.reference) ? [...t.reference] : [t.reference];
|
|
5
|
+
if (!n.length || n.some((e) => !(e instanceof HTMLElement))) throw TypeError("Dropdown requires at least one valid reference element");
|
|
6
|
+
let r = document.createElement("div");
|
|
7
|
+
r.className = "l-popover l-dropdown-menu", r.setAttribute("role", t.items === void 0 && t.content ? "group" : "menu"), r.style.display = "none";
|
|
8
|
+
let i = [], a, o = !1, s = !1, c = n.map((e) => ({
|
|
9
|
+
reference: e,
|
|
10
|
+
expanded: e.getAttribute("aria-expanded"),
|
|
11
|
+
popup: e.getAttribute("aria-haspopup")
|
|
12
|
+
})), l = t.items === void 0 ? t.content : void 0, u = l?.parentNode, d = l?.nextSibling;
|
|
13
|
+
l && r.append(l), document.body.append(r);
|
|
14
|
+
function f(e) {
|
|
15
|
+
i = Array.isArray(e) ? e.filter((e) => e && typeof e == "object").map((e) => ({
|
|
16
|
+
key: String(e.key ?? ""),
|
|
17
|
+
label: String(e.label ?? ""),
|
|
18
|
+
disabled: !!e.disabled,
|
|
19
|
+
danger: !!e.danger,
|
|
20
|
+
divider: !!e.divider
|
|
21
|
+
})) : [], r.replaceChildren(), r.setAttribute("role", "menu"), i.forEach((e, t) => {
|
|
22
|
+
if (e.divider) {
|
|
23
|
+
let e = document.createElement("div");
|
|
24
|
+
e.setAttribute("role", "separator"), r.append(e);
|
|
25
|
+
return;
|
|
26
|
+
}
|
|
27
|
+
let n = document.createElement("button");
|
|
28
|
+
n.type = "button", n.setAttribute("role", "menuitem"), n.disabled = !!e.disabled, n.setAttribute("aria-disabled", String(!!e.disabled)), n.dataset.dropdownIndex = String(t), n.className = e.danger ? "l-dropdown-item l-dropdown-item--danger" : "l-dropdown-item", n.textContent = e.label, r.append(n);
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
l || f(t.items || []);
|
|
32
|
+
let p;
|
|
33
|
+
p = new e({
|
|
34
|
+
reference: n,
|
|
35
|
+
popover: r,
|
|
36
|
+
trigger: t.trigger || "click",
|
|
37
|
+
placement: t.placement || "bottom-start",
|
|
38
|
+
arrow: !1,
|
|
39
|
+
offset: 6,
|
|
40
|
+
disabled: !!t.disabled,
|
|
41
|
+
updateContent: () => {},
|
|
42
|
+
onOpenChange: (e) => {
|
|
43
|
+
n.forEach((t) => t.setAttribute("aria-expanded", String(e && t === a))), o !== e && (o = e, t.onOpenChange?.(e));
|
|
44
|
+
},
|
|
45
|
+
onOutsideTap: (e, t, n) => {
|
|
46
|
+
!t && !n && p.hide();
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
let m = (e) => {
|
|
50
|
+
a = e.currentTarget;
|
|
51
|
+
};
|
|
52
|
+
n.forEach((e) => {
|
|
53
|
+
e.setAttribute("aria-haspopup", l ? "true" : "menu"), e.setAttribute("aria-expanded", "false"), e.addEventListener("click", m, !0), e.addEventListener("mouseenter", m, !0);
|
|
54
|
+
});
|
|
55
|
+
let h = (e) => {
|
|
56
|
+
let n = e.target.closest("button[data-dropdown-index]");
|
|
57
|
+
if (!n || !r.contains(n) || n.disabled || p.options.disabled) return;
|
|
58
|
+
let o = Number(n.dataset.dropdownIndex), s = i[o];
|
|
59
|
+
if (!s) return;
|
|
60
|
+
let c = a;
|
|
61
|
+
t.closeOnSelect !== !1 && p.hide(), t.onSelect?.({
|
|
62
|
+
key: s.key,
|
|
63
|
+
item: { ...s },
|
|
64
|
+
index: o,
|
|
65
|
+
reference: c
|
|
66
|
+
});
|
|
67
|
+
};
|
|
68
|
+
return r.addEventListener("click", h), {
|
|
69
|
+
popover: p,
|
|
70
|
+
menu: r,
|
|
71
|
+
show(e = n[0]) {
|
|
72
|
+
if (!s) {
|
|
73
|
+
if (!n.includes(e)) throw TypeError("Unknown Dropdown reference");
|
|
74
|
+
a = e, p.show(e);
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
hide() {
|
|
78
|
+
s || p.hide();
|
|
79
|
+
},
|
|
80
|
+
isOpen() {
|
|
81
|
+
return !s && p.isShow();
|
|
82
|
+
},
|
|
83
|
+
setItems(e) {
|
|
84
|
+
s || (l && r.contains(l) && (u ? u.insertBefore(l, d?.parentNode === u ? d : null) : l.remove()), f(e), n.forEach((e) => e.setAttribute("aria-haspopup", "menu")), o && a && (p.hide(), p.show(a)));
|
|
85
|
+
},
|
|
86
|
+
setDisabled(e) {
|
|
87
|
+
s || (p.setOption("disabled", !!e), e && p.hide());
|
|
88
|
+
},
|
|
89
|
+
destroy() {
|
|
90
|
+
s || (s = !0, r.removeEventListener("click", h), n.forEach((e) => {
|
|
91
|
+
e.removeEventListener("click", m, !0), e.removeEventListener("mouseenter", m, !0);
|
|
92
|
+
}), p.destroy(), l && r.contains(l) && (u ? u.insertBefore(l, d?.parentNode === u ? d : null) : l.remove()), c.forEach(({ reference: e, expanded: t, popup: n }) => {
|
|
93
|
+
t === null ? e.removeAttribute("aria-expanded") : e.setAttribute("aria-expanded", t), n === null ? e.removeAttribute("aria-haspopup") : e.setAttribute("aria-haspopup", n);
|
|
94
|
+
}));
|
|
95
|
+
}
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
export { t as createDropdown, t as default };
|
package/lib/entries/base.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { e as default };
|
|
1
|
+
export { default } from "../base.js";
|
package/lib/entries/button.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import t from "../
|
|
3
|
-
|
|
4
|
-
e
|
|
5
|
-
|
|
6
|
-
export { t as default };
|
|
1
|
+
import e from "../button/index.js";
|
|
2
|
+
import { regist as t } from "../utils/index.js";
|
|
3
|
+
// src/components/entries/button.ts
|
|
4
|
+
t(e);
|
|
5
|
+
export { e as default };
|
package/lib/entries/calendar.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import t from "../
|
|
3
|
-
|
|
4
|
-
e
|
|
5
|
-
|
|
6
|
-
export { t as default };
|
|
1
|
+
import e from "../calendar/index.js";
|
|
2
|
+
import { regist as t } from "../utils/index.js";
|
|
3
|
+
// src/components/entries/calendar.ts
|
|
4
|
+
t(e);
|
|
5
|
+
export { e as default };
|
package/lib/entries/card.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import t from "../
|
|
3
|
-
|
|
4
|
-
e
|
|
5
|
-
|
|
6
|
-
export { t as default };
|
|
1
|
+
import e from "../card/index.js";
|
|
2
|
+
import { regist as t } from "../utils/index.js";
|
|
3
|
+
// src/components/entries/card.ts
|
|
4
|
+
t(e);
|
|
5
|
+
export { e as default };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import t from "../
|
|
3
|
-
|
|
4
|
-
e
|
|
5
|
-
|
|
6
|
-
export { t as default };
|
|
1
|
+
import e from "../carousel/item.js";
|
|
2
|
+
import { regist as t } from "../utils/index.js";
|
|
3
|
+
// src/components/entries/carousel-item.ts
|
|
4
|
+
t(e);
|
|
5
|
+
export { e as default };
|
package/lib/entries/carousel.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import t from "../
|
|
3
|
-
|
|
4
|
-
e
|
|
5
|
-
|
|
6
|
-
export { t as default };
|
|
1
|
+
import e from "../carousel/index.js";
|
|
2
|
+
import { regist as t } from "../utils/index.js";
|
|
3
|
+
// src/components/entries/carousel.ts
|
|
4
|
+
t(e);
|
|
5
|
+
export { e as default };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import t from "../
|
|
3
|
-
|
|
4
|
-
e
|
|
5
|
-
|
|
6
|
-
export { t as default };
|
|
1
|
+
import e from "../check/checkbox_group.js";
|
|
2
|
+
import { regist as t } from "../utils/index.js";
|
|
3
|
+
// src/components/entries/checkbox-group.ts
|
|
4
|
+
t(e);
|
|
5
|
+
export { e as default };
|
package/lib/entries/checkbox.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import t from "../
|
|
3
|
-
|
|
4
|
-
e
|
|
5
|
-
|
|
6
|
-
export { t as default };
|
|
1
|
+
import e from "../check/checkbox.js";
|
|
2
|
+
import { regist as t } from "../utils/index.js";
|
|
3
|
+
// src/components/entries/checkbox.ts
|
|
4
|
+
t(e);
|
|
5
|
+
export { e as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import t from "../
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export {
|
|
1
|
+
import e from "../collapse/item.js";
|
|
2
|
+
import t from "../icon/arrow_right.js";
|
|
3
|
+
import { regist as n } from "../utils/index.js";
|
|
4
|
+
// src/components/entries/collapse-item.ts
|
|
5
|
+
n([t, e]);
|
|
6
|
+
export { e as default };
|
package/lib/entries/collapse.js
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
import t from "../collapse/
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import e from "../collapse/index.js";
|
|
2
|
+
import t from "../collapse/item.js";
|
|
3
|
+
import n from "../icon/arrow_right.js";
|
|
4
|
+
import { regist as r } from "../utils/index.js";
|
|
5
|
+
// src/components/entries/collapse.ts
|
|
6
|
+
r([
|
|
7
|
+
n,
|
|
8
|
+
t,
|
|
9
|
+
e
|
|
10
|
+
]);
|
|
11
|
+
export { e as default };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import t from "../
|
|
3
|
-
|
|
4
|
-
e
|
|
5
|
-
|
|
6
|
-
export { t as default };
|
|
1
|
+
import e from "../color_picker/index.js";
|
|
2
|
+
import { regist as t } from "../utils/index.js";
|
|
3
|
+
// src/components/entries/color-picker.ts
|
|
4
|
+
t(e);
|
|
5
|
+
export { e as default };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import t from "../
|
|
3
|
-
|
|
4
|
-
e
|
|
5
|
-
|
|
6
|
-
export { t as default };
|
|
1
|
+
import e from "../date_picker_ori/index.js";
|
|
2
|
+
import { regist as t } from "../utils/index.js";
|
|
3
|
+
// src/components/entries/date-picker-ori.ts
|
|
4
|
+
t(e);
|
|
5
|
+
export { e as default };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import t from "../
|
|
3
|
-
|
|
4
|
-
e
|
|
5
|
-
|
|
6
|
-
export { t as default };
|
|
1
|
+
import e from "../date_picker/index.js";
|
|
2
|
+
import { regist as t } from "../utils/index.js";
|
|
3
|
+
// src/components/entries/date-picker.ts
|
|
4
|
+
t(e);
|
|
5
|
+
export { e as default };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import t from "../
|
|
3
|
-
|
|
4
|
-
e
|
|
5
|
-
|
|
6
|
-
export { t as default };
|
|
1
|
+
import e from "../description_panel/index.js";
|
|
2
|
+
import { regist as t } from "../utils/index.js";
|
|
3
|
+
// src/components/entries/description-panel.ts
|
|
4
|
+
t(e);
|
|
5
|
+
export { e as default };
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { e as default };
|
|
1
|
+
export { default } from "../dialog/dialog_box.js";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import t from "../
|
|
3
|
-
|
|
4
|
-
e
|
|
5
|
-
|
|
6
|
-
export { t as default };
|
|
1
|
+
import e from "../dialog/dialog_container.js";
|
|
2
|
+
import { regist as t } from "../utils/index.js";
|
|
3
|
+
// src/components/entries/dialog-container.ts
|
|
4
|
+
t(e);
|
|
5
|
+
export { e as default };
|
package/lib/entries/dialog.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { e as default };
|
|
1
|
+
export { default } from "../dialog/index.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { createDropdown, createDropdown as default } from "../dropdown/index.js";
|
package/lib/entries/form-item.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import t from "../
|
|
3
|
-
|
|
4
|
-
e
|
|
5
|
-
|
|
6
|
-
export { t as default };
|
|
1
|
+
import e from "../form/form_item.js";
|
|
2
|
+
import { regist as t } from "../utils/index.js";
|
|
3
|
+
// src/components/entries/form-item.ts
|
|
4
|
+
t(e);
|
|
5
|
+
export { e as default };
|
package/lib/entries/form.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import t from "../
|
|
3
|
-
|
|
4
|
-
e
|
|
5
|
-
|
|
6
|
-
export { t as default };
|
|
1
|
+
import e from "../form/index.js";
|
|
2
|
+
import { regist as t } from "../utils/index.js";
|
|
3
|
+
// src/components/entries/form.ts
|
|
4
|
+
t(e);
|
|
5
|
+
export { e as default };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import t from "../
|
|
3
|
-
|
|
4
|
-
e
|
|
5
|
-
|
|
6
|
-
export { t as default };
|
|
1
|
+
import e from "../icon/arrow_down.js";
|
|
2
|
+
import { regist as t } from "../utils/index.js";
|
|
3
|
+
// src/components/entries/icon-arrow-down.ts
|
|
4
|
+
t(e);
|
|
5
|
+
export { e as default };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import t from "../
|
|
3
|
-
|
|
4
|
-
e
|
|
5
|
-
|
|
6
|
-
export { t as default };
|
|
1
|
+
import e from "../icon/arrow_left.js";
|
|
2
|
+
import { regist as t } from "../utils/index.js";
|
|
3
|
+
// src/components/entries/icon-arrow-left.ts
|
|
4
|
+
t(e);
|
|
5
|
+
export { e as default };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import t from "../
|
|
3
|
-
|
|
4
|
-
e
|
|
5
|
-
|
|
6
|
-
export { t as default };
|
|
1
|
+
import e from "../icon/arrow_right.js";
|
|
2
|
+
import { regist as t } from "../utils/index.js";
|
|
3
|
+
// src/components/entries/icon-arrow-right.ts
|
|
4
|
+
t(e);
|
|
5
|
+
export { e as default };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import t from "../
|
|
3
|
-
|
|
4
|
-
e
|
|
5
|
-
|
|
6
|
-
export { t as default };
|
|
1
|
+
import e from "../icon/arrow_up.js";
|
|
2
|
+
import { regist as t } from "../utils/index.js";
|
|
3
|
+
// src/components/entries/icon-arrow-up.ts
|
|
4
|
+
t(e);
|
|
5
|
+
export { e as default };
|
package/lib/entries/icon-base.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import t from "../
|
|
3
|
-
|
|
4
|
-
e
|
|
5
|
-
|
|
6
|
-
export { t as default };
|
|
1
|
+
import e from "../icon/base.js";
|
|
2
|
+
import { regist as t } from "../utils/index.js";
|
|
3
|
+
// src/components/entries/icon-base.ts
|
|
4
|
+
t(e);
|
|
5
|
+
export { e as default };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import t from "../
|
|
3
|
-
|
|
4
|
-
e
|
|
5
|
-
|
|
6
|
-
export { t as default };
|
|
1
|
+
import e from "../icon/calendar.js";
|
|
2
|
+
import { regist as t } from "../utils/index.js";
|
|
3
|
+
// src/components/entries/icon-calendar.ts
|
|
4
|
+
t(e);
|
|
5
|
+
export { e as default };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import t from "../
|
|
3
|
-
|
|
4
|
-
e
|
|
5
|
-
|
|
6
|
-
export { t as default };
|
|
1
|
+
import e from "../icon/caret_bottom.js";
|
|
2
|
+
import { regist as t } from "../utils/index.js";
|
|
3
|
+
// src/components/entries/icon-caret-bottom.ts
|
|
4
|
+
t(e);
|
|
5
|
+
export { e as default };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import t from "../
|
|
3
|
-
|
|
4
|
-
e
|
|
5
|
-
|
|
6
|
-
export { t as default };
|
|
1
|
+
import e from "../icon/caret_top.js";
|
|
2
|
+
import { regist as t } from "../utils/index.js";
|
|
3
|
+
// src/components/entries/icon-caret-top.ts
|
|
4
|
+
t(e);
|
|
5
|
+
export { e as default };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import t from "../
|
|
3
|
-
|
|
4
|
-
e
|
|
5
|
-
|
|
6
|
-
export { t as default };
|
|
1
|
+
import e from "../icon/close_filled.js";
|
|
2
|
+
import { regist as t } from "../utils/index.js";
|
|
3
|
+
// src/components/entries/icon-close-filled.ts
|
|
4
|
+
t(e);
|
|
5
|
+
export { e as default };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import t from "../
|
|
3
|
-
|
|
4
|
-
e
|
|
5
|
-
|
|
6
|
-
export { t as default };
|
|
1
|
+
import e from "../icon/close.js";
|
|
2
|
+
import { regist as t } from "../utils/index.js";
|
|
3
|
+
// src/components/entries/icon-close.ts
|
|
4
|
+
t(e);
|
|
5
|
+
export { e as default };
|
package/lib/entries/icon-copy.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import t from "../
|
|
3
|
-
|
|
4
|
-
e
|
|
5
|
-
|
|
6
|
-
export { t as default };
|
|
1
|
+
import e from "../icon/copy.js";
|
|
2
|
+
import { regist as t } from "../utils/index.js";
|
|
3
|
+
// src/components/entries/icon-copy.ts
|
|
4
|
+
t(e);
|
|
5
|
+
export { e as default };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import t from "../
|
|
3
|
-
|
|
4
|
-
e
|
|
5
|
-
|
|
6
|
-
export { t as default };
|
|
1
|
+
import e from "../icon/d_arrow_left.js";
|
|
2
|
+
import { regist as t } from "../utils/index.js";
|
|
3
|
+
// src/components/entries/icon-d-arrow-left.ts
|
|
4
|
+
t(e);
|
|
5
|
+
export { e as default };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import t from "../
|
|
3
|
-
|
|
4
|
-
e
|
|
5
|
-
|
|
6
|
-
export { t as default };
|
|
1
|
+
import e from "../icon/d_arrow_right.js";
|
|
2
|
+
import { regist as t } from "../utils/index.js";
|
|
3
|
+
// src/components/entries/icon-d-arrow-right.ts
|
|
4
|
+
t(e);
|
|
5
|
+
export { e as default };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import t from "../
|
|
3
|
-
|
|
4
|
-
e
|
|
5
|
-
|
|
6
|
-
export { t as default };
|
|
1
|
+
import e from "../icon/delete.js";
|
|
2
|
+
import { regist as t } from "../utils/index.js";
|
|
3
|
+
// src/components/entries/icon-delete.ts
|
|
4
|
+
t(e);
|
|
5
|
+
export { e as default };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import t from "../
|
|
3
|
-
|
|
4
|
-
e
|
|
5
|
-
|
|
6
|
-
export { t as default };
|
|
1
|
+
import e from "../icon/eye_outline.js";
|
|
2
|
+
import { regist as t } from "../utils/index.js";
|
|
3
|
+
// src/components/entries/icon-eye-outline.ts
|
|
4
|
+
t(e);
|
|
5
|
+
export { e as default };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import t from "../
|
|
3
|
-
|
|
4
|
-
e
|
|
5
|
-
|
|
6
|
-
export { t as default };
|
|
1
|
+
import e from "../icon/font_icon.js";
|
|
2
|
+
import { regist as t } from "../utils/index.js";
|
|
3
|
+
// src/components/entries/icon-font-icon.ts
|
|
4
|
+
t(e);
|
|
5
|
+
export { e as default };
|
package/lib/entries/icon-info.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import t from "../
|
|
3
|
-
|
|
4
|
-
e
|
|
5
|
-
|
|
6
|
-
export { t as default };
|
|
1
|
+
import e from "../icon/info.js";
|
|
2
|
+
import { regist as t } from "../utils/index.js";
|
|
3
|
+
// src/components/entries/icon-info.ts
|
|
4
|
+
t(e);
|
|
5
|
+
export { e as default };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import t from "../
|
|
3
|
-
|
|
4
|
-
e
|
|
5
|
-
|
|
6
|
-
export { t as default };
|
|
1
|
+
import e from "../icon/loading.js";
|
|
2
|
+
import { regist as t } from "../utils/index.js";
|
|
3
|
+
// src/components/entries/icon-loading.ts
|
|
4
|
+
t(e);
|
|
5
|
+
export { e as default };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import t from "../
|
|
3
|
-
|
|
4
|
-
e
|
|
5
|
-
|
|
6
|
-
export { t as default };
|
|
1
|
+
import e from "../icon/minus.js";
|
|
2
|
+
import { regist as t } from "../utils/index.js";
|
|
3
|
+
// src/components/entries/icon-minus.ts
|
|
4
|
+
t(e);
|
|
5
|
+
export { e as default };
|
package/lib/entries/icon-moon.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import t from "../
|
|
3
|
-
|
|
4
|
-
e
|
|
5
|
-
|
|
6
|
-
export { t as default };
|
|
1
|
+
import e from "../icon/moon.js";
|
|
2
|
+
import { regist as t } from "../utils/index.js";
|
|
3
|
+
// src/components/entries/icon-moon.ts
|
|
4
|
+
t(e);
|
|
5
|
+
export { e as default };
|