litos-ui 0.20.1 → 0.21.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.
Files changed (53) hide show
  1. package/lib/dialog/dialog_box.js +1 -1
  2. package/lib/dialog/dialog_container.d.ts +1 -1
  3. package/lib/dialog/dialog_container.js +156 -2
  4. package/lib/dialog/dialog_container_style.d.ts +2 -0
  5. package/lib/dialog/dialog_container_style.js +2 -0
  6. package/lib/dialog_container_style-C1s0aBf7.js +5 -0
  7. package/lib/icon/arrow_down.js +1 -1
  8. package/lib/icon/arrow_left.js +1 -1
  9. package/lib/icon/arrow_right.js +1 -1
  10. package/lib/icon/arrow_up.js +1 -1
  11. package/lib/icon/base.d.ts +2 -1
  12. package/lib/icon/base.js +63 -2
  13. package/lib/icon/calendar.js +1 -1
  14. package/lib/icon/caret_bottom.js +1 -1
  15. package/lib/icon/caret_top.js +1 -1
  16. package/lib/icon/close.js +1 -1
  17. package/lib/icon/close_filled.js +1 -1
  18. package/lib/icon/copy.d.ts +6 -0
  19. package/lib/icon/copy.js +13 -0
  20. package/lib/icon/d_arrow_left.js +1 -1
  21. package/lib/icon/d_arrow_right.js +1 -1
  22. package/lib/icon/font_icon.js +1 -1
  23. package/lib/icon/icon_style.d.ts +2 -0
  24. package/lib/icon/icon_style.js +2 -0
  25. package/lib/icon/info.js +1 -1
  26. package/lib/icon/loading.js +1 -1
  27. package/lib/icon/moon.js +1 -1
  28. package/lib/icon/more.js +1 -1
  29. package/lib/icon/reduction.js +1 -1
  30. package/lib/icon/refresh.js +1 -1
  31. package/lib/icon/refresh_left.js +1 -1
  32. package/lib/icon/refresh_right.js +1 -1
  33. package/lib/icon/search.js +1 -1
  34. package/lib/icon/select.js +1 -1
  35. package/lib/icon/sort.js +1 -1
  36. package/lib/icon/success.js +1 -1
  37. package/lib/icon/sun.js +1 -1
  38. package/lib/icon/theme_default.js +1 -1
  39. package/lib/icon/warn.js +1 -1
  40. package/lib/icon/zoom_in.js +1 -1
  41. package/lib/icon/zoom_out.js +1 -1
  42. package/lib/icon_style-J7iiDS_a.js +5 -0
  43. package/lib/index.d.ts +3 -0
  44. package/lib/index.js +66 -63
  45. package/lib/input_number/index.d.ts +59 -0
  46. package/lib/input_number/index.js +203 -0
  47. package/lib/input_number/style.d.ts +2 -0
  48. package/lib/input_number/style.js +2 -0
  49. package/lib/modal/modal_box.d.ts +22 -0
  50. package/lib/style-C5wUmE2b.js +5 -0
  51. package/package.json +1 -1
  52. package/lib/base-Dyj1rzaK.js +0 -61
  53. package/lib/dialog_container-BNPQ9n0V.js +0 -145
@@ -1,7 +1,7 @@
1
1
  import { regist as e } from "../utils/index.js";
2
2
  import t from "../icon/info.js";
3
3
  import n from "./index.js";
4
- import { t as r } from "../dialog_container-BNPQ9n0V.js";
4
+ import r from "./dialog_container.js";
5
5
  import i from "../button/index.js";
6
6
  import a from "../icon/close.js";
7
7
  import { t as o } from "../form_item-BqPMRABd.js";
@@ -32,8 +32,8 @@ export default class DialogContainer extends BaseComponent<DialogContainerState>
32
32
  static get observedAttributes(): string[] | null | undefined;
33
33
  protected attributeChanged(name: string, oldValue: string, newValue: string): void;
34
34
  render_v2(): {
35
- style: string;
36
35
  template: DocumentFragment;
36
+ styleSheets: CSSStyleSheet[];
37
37
  };
38
38
  render(): DocumentFragment;
39
39
  }
@@ -1,2 +1,156 @@
1
- import { t as e } from "../dialog_container-BNPQ9n0V.js";
2
- export { e as default };
1
+ import e from "../base.js";
2
+ import { t } from "../dialog_container_style-C1s0aBf7.js";
3
+ import { $ as n, $$ as r, $one as i, formatClass as a, iterate as o, off as s, on as c, shouldEventNext as l } from "ph-utils/browser";
4
+ //#region src/components/dialog/dialog_container.ts
5
+ var u = class extends e {
6
+ static baseName = "dialog-container";
7
+ constructor() {
8
+ super(), this.version = 2, this._state = {
9
+ showHeader: !0,
10
+ showFooter: !0,
11
+ showCancel: !0,
12
+ cancelText: "取消",
13
+ showOk: !0,
14
+ okText: "确定",
15
+ close: 1,
16
+ mobile: !1,
17
+ confirmLoading: !1
18
+ };
19
+ }
20
+ afterInit() {
21
+ this._state.close === 2 && this.classList.add("l-container-close-outside");
22
+ let e = n("[data-action]", this.root);
23
+ o(e, (e) => {
24
+ c(e, "click", this.#e);
25
+ });
26
+ }
27
+ beforeDestroy() {
28
+ let e = n("[data-action]", this.root);
29
+ o(e, (e) => {
30
+ s(e, "click", this.#e);
31
+ });
32
+ }
33
+ #e(e) {
34
+ let [t, n] = l(e, "data-action");
35
+ t && this.emit("dialogAction", { detail: { action: n } });
36
+ }
37
+ static get observedAttributes() {
38
+ return [
39
+ "show-header",
40
+ "header",
41
+ "show-footer",
42
+ "show-cancel",
43
+ "cancel-text",
44
+ "show-ok",
45
+ "ok-text",
46
+ "close",
47
+ "container-class",
48
+ "mobile",
49
+ "confirm-loading"
50
+ ];
51
+ }
52
+ attributeChanged(e, t, n) {
53
+ switch (e) {
54
+ case "show-header":
55
+ this._state.showHeader = n !== null, this.connectedCallback();
56
+ break;
57
+ case "header":
58
+ this._state.header = n || void 0, this.connectedCallback();
59
+ break;
60
+ case "show-footer":
61
+ this._state.showFooter = n !== null, this.connectedCallback();
62
+ break;
63
+ case "show-cancel":
64
+ this._state.showCancel = n !== null, this.connectedCallback();
65
+ break;
66
+ case "cancel-text":
67
+ this._state.cancelText = n || "取消", this.connectedCallback();
68
+ break;
69
+ case "show-ok":
70
+ this._state.showOk = n !== null, this.connectedCallback();
71
+ break;
72
+ case "ok-text":
73
+ this._state.okText = n || "确定", this.connectedCallback();
74
+ break;
75
+ case "close":
76
+ this._state.close = Number(n), this._state.close === 2 ? this.classList.add("l-container-close-outside") : this.classList.remove("l-container-close-outside");
77
+ let e = i(".l-btn-dialog-close", this.root);
78
+ this._state.close === 0 && e ? (s(e, "click", this.#e), e.remove()) : e ? e.className = this.#t() : (e = this.#n(), c(e, "click", this.#e), this.root.appendChild(e));
79
+ break;
80
+ case "container-class":
81
+ this._state.containerClass = n || void 0, this.connectedCallback();
82
+ break;
83
+ case "mobile":
84
+ this._state.mobile = n !== null, this.connectedCallback();
85
+ break;
86
+ case "confirm-loading":
87
+ this._state.confirmLoading = n !== null;
88
+ let t = i("[data-action=\"ok\"]", this.root);
89
+ t && t.setAttribute("loading", this._state.confirmLoading.toString());
90
+ }
91
+ }
92
+ #t() {
93
+ return `l-btn-dialog-close l-dialog-close${this._state.close}`;
94
+ }
95
+ #n() {
96
+ let e = r("l-button", {
97
+ shape: "circle",
98
+ type: "normal",
99
+ class: this.#t(),
100
+ "data-action": "close",
101
+ part: "close-icon"
102
+ }), t = r("l-close-icon");
103
+ return e.appendChild(t), e;
104
+ }
105
+ render_v2() {
106
+ return {
107
+ template: this.render(),
108
+ styleSheets: [t]
109
+ };
110
+ }
111
+ render() {
112
+ let e = document.createDocumentFragment();
113
+ this._state.close !== 0 && e.appendChild(this.#n());
114
+ let t = r("div", {
115
+ class: ["l-dialog-main", this._state.mobile ? "l-dialog-main--mobile" : ""],
116
+ part: "main"
117
+ });
118
+ if (this._state.showHeader) {
119
+ let e = r("header", {
120
+ class: "l-dialog-header",
121
+ part: "header"
122
+ }), n = r("slot", { name: "header" });
123
+ n.textContent = this._state.header || "", e.appendChild(n), t.appendChild(e);
124
+ }
125
+ let n = r("div", {
126
+ class: a(["l-dialog-container", this._state.containerClass]),
127
+ part: "container"
128
+ }), i = r("slot");
129
+ if (n.appendChild(i), t.appendChild(n), this._state.showFooter) {
130
+ let e = r("div", {
131
+ class: "l-dialog-footer",
132
+ part: "footer"
133
+ }), n = r("slot", { name: "footer" });
134
+ if (this._state.showCancel) {
135
+ let e = r("l-button", {
136
+ "data-action": "cancel",
137
+ text: this._state.mobile
138
+ });
139
+ e.textContent = this._state.cancelText, n.appendChild(e);
140
+ }
141
+ if (this._state.showOk) {
142
+ let e = r("l-button", {
143
+ type: "primary",
144
+ "data-action": "ok",
145
+ loading: this._state.confirmLoading,
146
+ text: this._state.mobile
147
+ });
148
+ e.textContent = this._state.okText, n.appendChild(e);
149
+ }
150
+ e.appendChild(n), t.appendChild(e);
151
+ }
152
+ return e.appendChild(t), e;
153
+ }
154
+ };
155
+ //#endregion
156
+ export { u as default };
@@ -0,0 +1,2 @@
1
+ declare const buttonSheet: CSSStyleSheet;
2
+ export default buttonSheet;
@@ -0,0 +1,2 @@
1
+ import { t as e } from "../dialog_container_style-C1s0aBf7.js";
2
+ export { e as default };
@@ -0,0 +1,5 @@
1
+ //#region src/components/dialog/dialog_container.css?inline
2
+ var e = ":host{display:block;position:relative}:host(.l-container-close-outside){padding-top:10px;padding-right:10px}.l-dialog-main{padding:var(--l-dialog-main-padding,0);background-color:#fff;border-radius:5px;box-shadow:0 0 8px #0000001a}.l-dialog-header{padding:var(--l-dialog-header-padding,10px);border-bottom:1px solid var(--l-dialog-line-color,#0000000f);align-items:center;gap:5px;font-size:16px;font-weight:600;display:flex}.l-dialog-footer{padding:var(--l-dialog-footer-padding,10px);border-top:1px solid var(--l-dialog-line-color,#0000000f);justify-content:flex-end;gap:10px;display:flex}.l-dialog-container{padding:var(--l-dialog-container-padding,15px 10px);font-size:14px}.l-btn-dialog-close{--l-form-control-height:auto;position:absolute}.l-dialog-close1{right:var(--l-dialog-close-right,5px);top:var(--l-dialog-close-top,6px)}.l-dialog-close1::part(default){border:none;width:auto;height:auto;padding:5px;font-size:16px}.l-dialog-close2{right:var(--l-dialog-close-right,0);top:var(--l-dialog-close-top,0)}.l-dialog-close2::part(default){background-color:#fff;width:20px;height:20px;padding:0}.l-dialog-main--mobile{border-radius:10px}.l-dialog-main--mobile .l-dialog-header{text-align:center;border-bottom-color:#0000;justify-content:center;padding:20px 10px 5px;display:flex}.l-dialog-main--mobile .l-dialog-container{text-align:center;padding:5px 15px 20px}.l-dialog-main--mobile .l-dialog-footer{text-align:center;justify-content:stretch;align-items:stretch;gap:0;height:50px;padding:0;display:flex}.l-dialog-main--mobile .l-dialog-footer l-button{flex-grow:1;height:100%}.l-dialog-main--mobile .l-dialog-footer l-button+l-button{border-left:1px solid var(--l-dialog-line-color,#0000000f)}", t = new CSSStyleSheet();
3
+ t.replaceSync(e);
4
+ //#endregion
5
+ export { t };
@@ -1,4 +1,4 @@
1
- import { t as e } from "../base-Dyj1rzaK.js";
1
+ import e from "./base.js";
2
2
  //#region src/components/icon/arrow_down.ts
3
3
  var t = class extends e {
4
4
  static baseName = "arrow-down-icon";
@@ -1,4 +1,4 @@
1
- import { t as e } from "../base-Dyj1rzaK.js";
1
+ import e from "./base.js";
2
2
  //#region src/components/icon/arrow_left.ts
3
3
  var t = class extends e {
4
4
  static baseName = "arrow-left-icon";
@@ -1,4 +1,4 @@
1
- import { t as e } from "../base-Dyj1rzaK.js";
1
+ import e from "./base.js";
2
2
  //#region src/components/icon/arrow_right.ts
3
3
  var t = class extends e {
4
4
  static baseName = "arrow-right-icon";
@@ -1,4 +1,4 @@
1
- import { t as e } from "../base-Dyj1rzaK.js";
1
+ import e from "./base.js";
2
2
  //#region src/components/icon/arrow_up.ts
3
3
  var t = class extends e {
4
4
  static baseName = "arrow-up-icon";
@@ -7,6 +7,7 @@ export default class BaseIcon extends BaseComponent<ColorState> {
7
7
  static baseName: string;
8
8
  useLink: boolean;
9
9
  viewBox: string;
10
+ strokeIcon: boolean;
10
11
  constructor();
11
12
  static get observedAttributes(): string[] | null | undefined;
12
13
  protected attributeChanged(name: string, oldValue: string, newValue: string): void;
@@ -16,7 +17,7 @@ export default class BaseIcon extends BaseComponent<ColorState> {
16
17
  private _updateColor;
17
18
  render_v2(): {
18
19
  template: any;
19
- style: string;
20
+ styleSheets: CSSStyleSheet[];
20
21
  };
21
22
  renderChildren(): string;
22
23
  createEl(tagName: string): SVGElement;
package/lib/icon/base.js CHANGED
@@ -1,2 +1,63 @@
1
- import { t as e } from "../base-Dyj1rzaK.js";
2
- export { e as default };
1
+ import e from "../base.js";
2
+ import { unitNumberStr as t } from "../utils/index.js";
3
+ import { t as n } from "../icon_style-J7iiDS_a.js";
4
+ //#region src/components/icon/base.ts
5
+ var r = class extends e {
6
+ static baseName = "base-icon";
7
+ useLink;
8
+ viewBox;
9
+ strokeIcon;
10
+ constructor() {
11
+ super(), this.useLink = !1, this.viewBox = "0 0 1024 1024", this.strokeIcon = !1, this.version = 2, this._state = {};
12
+ }
13
+ static get observedAttributes() {
14
+ return ["color", "size"];
15
+ }
16
+ attributeChanged(e, n, r) {
17
+ switch (e) {
18
+ case "color":
19
+ this._state.color = r;
20
+ break;
21
+ case "size": this._state.size = t(r);
22
+ }
23
+ }
24
+ connectedCallback() {
25
+ super.connectedCallback(), this._updateColor(), this._updateSize();
26
+ }
27
+ updateDOM(e) {
28
+ e.has("color") && this._updateColor(), e.has("size") && this._updateSize();
29
+ }
30
+ _updateSize() {
31
+ this._state.size ? this.style.setProperty("--l-icon-size", this._state.size) : this.style.removeProperty("--l-icon-size");
32
+ }
33
+ _updateColor() {
34
+ this._state.color ? this.style.setProperty("--l-icon-color", this._state.color) : this.style.removeProperty("--l-icon-color");
35
+ }
36
+ render_v2() {
37
+ let e = this.createEl("svg");
38
+ e.classList.add("l-icon"), this.strokeIcon && e.classList.add("l-stroke-icon"), this.useLink || e.setAttribute("viewBox", this.viewBox);
39
+ let t = this.renderChildren();
40
+ if (typeof t == "string") {
41
+ if (t === "") {
42
+ let t = this.children, n = [];
43
+ for (let e = 0, r = t.length; e < r; e++) {
44
+ let r = t[e];
45
+ n.push(r.outerHTML);
46
+ }
47
+ e.innerHTML = n.join("");
48
+ } else e.innerHTML = t;
49
+ } else e.append(t);
50
+ return {
51
+ template: e,
52
+ styleSheets: [n]
53
+ };
54
+ }
55
+ renderChildren() {
56
+ return "";
57
+ }
58
+ createEl(e) {
59
+ return document.createElementNS("http://www.w3.org/2000/svg", e);
60
+ }
61
+ };
62
+ //#endregion
63
+ export { r as default };
@@ -1,4 +1,4 @@
1
- import { t as e } from "../base-Dyj1rzaK.js";
1
+ import e from "./base.js";
2
2
  //#region src/components/icon/calendar.ts
3
3
  var t = class extends e {
4
4
  static baseName = "calendar-icon";
@@ -1,4 +1,4 @@
1
- import { t as e } from "../base-Dyj1rzaK.js";
1
+ import e from "./base.js";
2
2
  //#region src/components/icon/caret_bottom.ts
3
3
  var t = class extends e {
4
4
  static baseName = "caret-bottom-icon";
@@ -1,4 +1,4 @@
1
- import { t as e } from "../base-Dyj1rzaK.js";
1
+ import e from "./base.js";
2
2
  //#region src/components/icon/caret_top.ts
3
3
  var t = class extends e {
4
4
  static baseName = "caret-top-icon";
package/lib/icon/close.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as e } from "../base-Dyj1rzaK.js";
1
+ import e from "./base.js";
2
2
  //#region src/components/icon/close.ts
3
3
  var t = class extends e {
4
4
  static baseName = "close-icon";
@@ -1,4 +1,4 @@
1
- import { t as e } from "../base-Dyj1rzaK.js";
1
+ import e from "./base.js";
2
2
  //#region src/components/icon/close_filled.ts
3
3
  var t = class extends e {
4
4
  static baseName = "close-filled-icon";
@@ -0,0 +1,6 @@
1
+ import BaseIcon from "./base";
2
+ export default class Close extends BaseIcon {
3
+ static baseName: string;
4
+ constructor();
5
+ renderChildren(): string;
6
+ }
@@ -0,0 +1,13 @@
1
+ import e from "./base.js";
2
+ //#region src/components/icon/copy.ts
3
+ var t = class extends e {
4
+ static baseName = "copy-icon";
5
+ constructor() {
6
+ super(), this.viewBox = "0 0 24 24", this.strokeIcon = !0;
7
+ }
8
+ renderChildren() {
9
+ return "<rect width=\"14\" height=\"14\" x=\"8\" y=\"8\" rx=\"2\" ry=\"2\" /><path d=\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\" />";
10
+ }
11
+ };
12
+ //#endregion
13
+ export { t as default };
@@ -1,4 +1,4 @@
1
- import { t as e } from "../base-Dyj1rzaK.js";
1
+ import e from "./base.js";
2
2
  //#region src/components/icon/d_arrow_left.ts
3
3
  var t = class extends e {
4
4
  static baseName = "d-arrow-left-icon";
@@ -1,4 +1,4 @@
1
- import { t as e } from "../base-Dyj1rzaK.js";
1
+ import e from "./base.js";
2
2
  //#region src/components/icon/d_arrow_right.ts
3
3
  var t = class extends e {
4
4
  static baseName = "d-arrow-right-icon";
@@ -1,4 +1,4 @@
1
- import { t as e } from "../base-Dyj1rzaK.js";
1
+ import e from "./base.js";
2
2
  //#region src/components/icon/font_icon.ts
3
3
  var t = class extends e {
4
4
  static baseName = "font-icon";
@@ -0,0 +1,2 @@
1
+ declare const buttonSheet: CSSStyleSheet;
2
+ export default buttonSheet;
@@ -0,0 +1,2 @@
1
+ import { t as e } from "../icon_style-J7iiDS_a.js";
2
+ export { e as default };
package/lib/icon/info.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as e } from "../base-Dyj1rzaK.js";
1
+ import e from "./base.js";
2
2
  //#region src/components/icon/info.ts
3
3
  var t = class extends e {
4
4
  static baseName = "info-icon";
@@ -1,4 +1,4 @@
1
- import { t as e } from "../base-Dyj1rzaK.js";
1
+ import e from "./base.js";
2
2
  //#region src/components/icon/loading.ts
3
3
  var t = class extends e {
4
4
  static baseName = "loading-icon";
package/lib/icon/moon.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as e } from "../base-Dyj1rzaK.js";
1
+ import e from "./base.js";
2
2
  //#region src/components/icon/moon.ts
3
3
  var t = class extends e {
4
4
  static baseName = "moon-icon";
package/lib/icon/more.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as e } from "../base-Dyj1rzaK.js";
1
+ import e from "./base.js";
2
2
  //#region src/components/icon/more.ts
3
3
  var t = class extends e {
4
4
  static baseName = "more-icon";
@@ -1,4 +1,4 @@
1
- import { t as e } from "../base-Dyj1rzaK.js";
1
+ import e from "./base.js";
2
2
  //#region src/components/icon/reduction.ts
3
3
  var t = class extends e {
4
4
  static baseName = "reduction-icon";
@@ -1,4 +1,4 @@
1
- import { t as e } from "../base-Dyj1rzaK.js";
1
+ import e from "./base.js";
2
2
  //#region src/components/icon/refresh.ts
3
3
  var t = class extends e {
4
4
  static baseName = "refresh-icon";
@@ -1,4 +1,4 @@
1
- import { t as e } from "../base-Dyj1rzaK.js";
1
+ import e from "./base.js";
2
2
  //#region src/components/icon/refresh_left.ts
3
3
  var t = class extends e {
4
4
  static baseName = "refresh-left-icon";
@@ -1,4 +1,4 @@
1
- import { t as e } from "../base-Dyj1rzaK.js";
1
+ import e from "./base.js";
2
2
  //#region src/components/icon/refresh_right.ts
3
3
  var t = class extends e {
4
4
  static baseName = "refresh-right-icon";
@@ -1,4 +1,4 @@
1
- import { t as e } from "../base-Dyj1rzaK.js";
1
+ import e from "./base.js";
2
2
  //#region src/components/icon/search.ts
3
3
  var t = class extends e {
4
4
  static baseName = "search-icon";
@@ -1,4 +1,4 @@
1
- import { t as e } from "../base-Dyj1rzaK.js";
1
+ import e from "./base.js";
2
2
  //#region src/components/icon/select.ts
3
3
  var t = class extends e {
4
4
  static baseName = "select-icon";
package/lib/icon/sort.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as e } from "../base-Dyj1rzaK.js";
1
+ import e from "./base.js";
2
2
  //#region src/components/icon/sort.ts
3
3
  var t = class extends e {
4
4
  static baseName = "sort-icon";
@@ -1,4 +1,4 @@
1
- import { t as e } from "../base-Dyj1rzaK.js";
1
+ import e from "./base.js";
2
2
  //#region src/components/icon/success.ts
3
3
  var t = class extends e {
4
4
  static baseName = "success-icon";
package/lib/icon/sun.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as e } from "../base-Dyj1rzaK.js";
1
+ import e from "./base.js";
2
2
  //#region src/components/icon/sun.ts
3
3
  var t = class extends e {
4
4
  static baseName = "sun-icon";
@@ -1,4 +1,4 @@
1
- import { t as e } from "../base-Dyj1rzaK.js";
1
+ import e from "./base.js";
2
2
  //#region src/components/icon/theme_default.ts
3
3
  var t = class extends e {
4
4
  static baseName = "theme-default-icon";
package/lib/icon/warn.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as e } from "../base-Dyj1rzaK.js";
1
+ import e from "./base.js";
2
2
  //#region src/components/icon/warn.ts
3
3
  var t = class extends e {
4
4
  static baseName = "warn-icon";
@@ -1,4 +1,4 @@
1
- import { t as e } from "../base-Dyj1rzaK.js";
1
+ import e from "./base.js";
2
2
  //#region src/components/icon/zoom_in.ts
3
3
  var t = class extends e {
4
4
  static baseName = "zoom-in-icon";
@@ -1,4 +1,4 @@
1
- import { t as e } from "../base-Dyj1rzaK.js";
1
+ import e from "./base.js";
2
2
  //#region src/components/icon/zoom_out.ts
3
3
  var t = class extends e {
4
4
  static baseName = "zoom-out-icon";
@@ -0,0 +1,5 @@
1
+ //#region src/components/icon/index.less?inline
2
+ var e = ":host{display:inline-flex}.l-icon{fill:currentColor;vertical-align:middle;width:1em;height:1em;color:var(--l-icon-color,inherit);font-size:var(--l-icon-size,inherit);display:inline-block}.l-stroke-icon{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}", t = new CSSStyleSheet();
3
+ t.replaceSync(e);
4
+ //#endregion
5
+ export { t };
package/lib/index.d.ts CHANGED
@@ -8,6 +8,7 @@ export { default as DialogBox } from "./dialog/dialog_box";
8
8
  export { default as Loading } from "./loading";
9
9
  export { default as Tabs } from "./tabs";
10
10
  export { default as Modal } from "./modal";
11
+ export { default as ModalBox } from "./modal/modal_box";
11
12
  export { default as BaseIcon } from "./icon/base";
12
13
  export { default as ArrowDownIcon } from "./icon/arrow_down";
13
14
  export { default as ArrowLeftIcon } from "./icon/arrow_left";
@@ -38,6 +39,7 @@ export { default as ZoomOutIcon } from "./icon/zoom_out";
38
39
  export { default as SelectIcon } from "./icon/select";
39
40
  export { default as CalendarIcon } from "./icon/calendar";
40
41
  export { default as RefreshIcon } from "./icon/refresh";
42
+ export { default as CopyIcon } from "./icon/copy";
41
43
  export { default as Form } from "./form";
42
44
  export { default as FormItem } from "./form/form_item";
43
45
  export { default as RadioGroup } from "./check/radio_group";
@@ -46,6 +48,7 @@ export { default as Checkbox } from "./check/checkbox";
46
48
  export { default as CheckboxGroup } from "./check/checkbox_group";
47
49
  export { default as Button } from "./button";
48
50
  export { default as Input } from "./input";
51
+ export { default as InputNumber } from "./input_number";
49
52
  export { default as SelectOri } from "./select_ori";
50
53
  export { default as Switch } from "./switch";
51
54
  export { default as MdInput } from "./md_input";