godown 1.1.5 → 1.1.6

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 (118) hide show
  1. package/conf.d.ts +18 -18
  2. package/conf.js +22 -22
  3. package/deps.d.ts +7 -7
  4. package/deps.js +7 -7
  5. package/effect/index.d.ts +3 -3
  6. package/effect/index.js +3 -3
  7. package/effect/ov-effect.d.ts +23 -23
  8. package/effect/ov-effect.js +63 -63
  9. package/effect/ro-effect.d.ts +19 -19
  10. package/effect/ro-effect.js +76 -76
  11. package/effect/std.d.ts +3 -3
  12. package/effect/std.js +3 -3
  13. package/effect/tw-effect.d.ts +21 -21
  14. package/effect/tw-effect.js +90 -90
  15. package/glob.d.ts +8 -8
  16. package/glob.js +9 -9
  17. package/group/avatar-group.d.ts +20 -20
  18. package/group/avatar-group.js +88 -88
  19. package/group/button-group.d.ts +12 -12
  20. package/group/button-group.js +26 -26
  21. package/group/details-group.d.ts +16 -16
  22. package/group/details-group.js +51 -51
  23. package/group/index.d.ts +3 -3
  24. package/group/index.js +3 -3
  25. package/group/std.d.ts +3 -3
  26. package/group/std.js +3 -3
  27. package/index.d.ts +7 -7
  28. package/index.js +7 -7
  29. package/input-form/base-input.d.ts +32 -32
  30. package/input-form/base-input.js +129 -129
  31. package/input-form/exp-input.d.ts +22 -22
  32. package/input-form/exp-input.js +67 -67
  33. package/input-form/index.d.ts +8 -8
  34. package/input-form/index.js +8 -8
  35. package/input-form/label-input.d.ts +21 -21
  36. package/input-form/label-input.js +69 -69
  37. package/input-form/search-input.d.ts +36 -36
  38. package/input-form/search-input.js +162 -162
  39. package/input-form/select-input.d.ts +31 -31
  40. package/input-form/select-input.js +256 -256
  41. package/input-form/sign-form.d.ts +25 -25
  42. package/input-form/sign-form.js +147 -147
  43. package/input-form/split-input.d.ts +26 -26
  44. package/input-form/split-input.js +127 -127
  45. package/input-form/std.d.ts +19 -19
  46. package/input-form/std.js +56 -55
  47. package/input-form/switch-input.d.ts +22 -22
  48. package/input-form/switch-input.js +73 -73
  49. package/items/alert-item.d.ts +16 -16
  50. package/items/alert-item.js +46 -46
  51. package/items/avatar-anchor.d.ts +19 -19
  52. package/items/avatar-anchor.js +62 -62
  53. package/items/base-button.d.ts +16 -16
  54. package/items/base-button.js +44 -44
  55. package/items/dialog-item.d.ts +24 -24
  56. package/items/dialog-item.js +92 -92
  57. package/items/index.d.ts +7 -7
  58. package/items/index.js +7 -7
  59. package/items/link-a.d.ts +19 -19
  60. package/items/link-a.js +76 -76
  61. package/items/load-track.d.ts +20 -20
  62. package/items/load-track.js +76 -76
  63. package/items/std.d.ts +3 -3
  64. package/items/std.js +3 -3
  65. package/items/super-a.d.ts +15 -15
  66. package/items/super-a.js +46 -46
  67. package/layout/div-line.d.ts +15 -15
  68. package/layout/div-line.js +39 -39
  69. package/layout/drag-box.d.ts +25 -25
  70. package/layout/drag-box.js +88 -88
  71. package/layout/flex-flow.d.ts +13 -13
  72. package/layout/flex-flow.js +32 -32
  73. package/layout/index.d.ts +5 -5
  74. package/layout/index.js +5 -5
  75. package/layout/nav-aside.d.ts +13 -13
  76. package/layout/nav-aside.js +38 -38
  77. package/layout/nav-layout.d.ts +16 -16
  78. package/layout/nav-layout.js +51 -51
  79. package/layout/std.d.ts +4 -4
  80. package/layout/std.js +4 -4
  81. package/package.json +6 -5
  82. package/react/effect.d.ts +9 -9
  83. package/react/effect.d.ts.map +1 -1
  84. package/react/effect.js +33 -33
  85. package/react/group.d.ts +4 -4
  86. package/react/group.d.ts.map +1 -1
  87. package/react/group.js +19 -19
  88. package/react/index.d.ts +7 -7
  89. package/react/index.d.ts.map +1 -1
  90. package/react/index.js +7 -7
  91. package/react/input-form.d.ts +32 -32
  92. package/react/input-form.d.ts.map +1 -1
  93. package/react/input-form.js +65 -65
  94. package/react/items.d.ts +8 -8
  95. package/react/items.d.ts.map +1 -1
  96. package/react/items.js +39 -39
  97. package/react/layout.d.ts +6 -6
  98. package/react/layout.d.ts.map +1 -1
  99. package/react/layout.js +29 -29
  100. package/react/view.d.ts +6 -6
  101. package/react/view.d.ts.map +1 -1
  102. package/react/view.js +29 -29
  103. package/view/details-expand.d.ts +18 -18
  104. package/view/details-expand.js +53 -53
  105. package/view/down-drop.d.ts +18 -18
  106. package/view/down-drop.js +71 -71
  107. package/view/index.d.ts +5 -5
  108. package/view/index.js +5 -5
  109. package/view/menu-list.d.ts +16 -16
  110. package/view/menu-list.js +48 -48
  111. package/view/route-view.d.ts +57 -57
  112. package/view/route-view.js +257 -257
  113. package/view/scroll-x.d.ts +14 -14
  114. package/view/scroll-x.js +47 -47
  115. package/view/std.d.ts +4 -4
  116. package/view/std.js +4 -4
  117. package/with.d.ts +27 -27
  118. package/with.js +77 -77
@@ -1,59 +1,59 @@
1
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
- return c > 3 && r && Object.defineProperty(target, key, r), r;
6
- };
7
- import { html, css, property, classMap, define, state, cssvar } from "../deps.js";
8
- import STD from "./std.js";
9
- import InputFormSTD from "../input-form/std.js";
10
- let LoadTrack = class LoadTrack extends STD {
11
- constructor() {
12
- super(...arguments);
13
- this.current = 20;
14
- this.isValue = false;
15
- this.max = 1;
16
- this.min = 0;
17
- this.modify = false;
18
- }
19
- set value(val) {
20
- if (val === null || val === undefined || val === "") {
21
- this.removeAttribute("value");
22
- this.isValue = false;
23
- }
24
- else {
25
- this.setAttribute("value", val);
26
- this.isValue = true;
27
- }
28
- this.current = this.parsePercent(val || 20);
29
- }
30
- get value() {
31
- return this.getAttribute("value");
32
- }
33
- render() {
34
- if (this.value !== null) {
35
- this.isValue = true;
36
- this.current = this.parsePercent(this.value);
37
- }
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ import { html, css, property, classMap, define, state, cssvar } from "../deps.js";
8
+ import STD from "./std.js";
9
+ import InputFormSTD from "../input-form/std.js";
10
+ let LoadTrack = class LoadTrack extends STD {
11
+ constructor() {
12
+ super(...arguments);
13
+ this.current = 20;
14
+ this.isValue = false;
15
+ this.max = 1;
16
+ this.min = 0;
17
+ this.modify = false;
18
+ }
19
+ set value(val) {
20
+ if (val === null || val === undefined || val === "") {
21
+ this.removeAttribute("value");
22
+ this.isValue = false;
23
+ }
24
+ else {
25
+ this.setAttribute("value", val);
26
+ this.isValue = true;
27
+ }
28
+ this.current = this.parsePercent(val || 20);
29
+ }
30
+ get value() {
31
+ return this.getAttribute("value");
32
+ }
33
+ render() {
34
+ if (this.value !== null) {
35
+ this.isValue = true;
36
+ this.current = this.parsePercent(this.value);
37
+ }
38
38
  return html `<div class=${classMap({ value: this.isValue })} @click=${this._handleClick}>
39
39
  <i style="width:${this.current}%;"><slot></slot></i>
40
- </div>`;
41
- }
42
- parsePercent(s = "0") {
43
- if (String(s).includes("%")) {
44
- return parseFloat(String(s));
45
- }
46
- return (parseFloat(String(s)) / (this.max - this.min)) * 100;
47
- }
48
- _handleClick(e) {
49
- if (this.modify) {
50
- this.value = ((e.offsetX / this.offsetWidth) * (this.max - this.min)).toString();
51
- this.dispatchEvent(new CustomEvent("change", { detail: e.offsetX / this.offsetWidth }));
52
- }
53
- }
54
- };
55
- LoadTrack.styles = [
56
- InputFormSTD.styles,
40
+ </div>`;
41
+ }
42
+ parsePercent(s = "0") {
43
+ if (String(s).includes("%")) {
44
+ return parseFloat(String(s));
45
+ }
46
+ return (parseFloat(String(s)) / (this.max - this.min)) * 100;
47
+ }
48
+ _handleClick(e) {
49
+ if (this.modify) {
50
+ this.value = ((e.offsetX / this.offsetWidth) * (this.max - this.min)).toString();
51
+ this.dispatchEvent(new CustomEvent("change", { detail: e.offsetX / this.offsetWidth }));
52
+ }
53
+ }
54
+ };
55
+ LoadTrack.styles = [
56
+ InputFormSTD.styles,
57
57
  css `
58
58
  :host,
59
59
  div {
@@ -91,25 +91,25 @@ LoadTrack.styles = [
91
91
  animation: none;
92
92
  width: 20%;
93
93
  }
94
- `,
95
- ];
96
- __decorate([
97
- state()
98
- ], LoadTrack.prototype, "current", void 0);
99
- __decorate([
100
- state()
101
- ], LoadTrack.prototype, "isValue", void 0);
102
- __decorate([
103
- property({ type: Number })
104
- ], LoadTrack.prototype, "max", void 0);
105
- __decorate([
106
- property({ type: Number })
107
- ], LoadTrack.prototype, "min", void 0);
108
- __decorate([
109
- property({ type: Boolean })
110
- ], LoadTrack.prototype, "modify", void 0);
111
- LoadTrack = __decorate([
112
- define("load-track")
113
- ], LoadTrack);
114
- export { LoadTrack };
115
- export default LoadTrack;
94
+ `,
95
+ ];
96
+ __decorate([
97
+ state()
98
+ ], LoadTrack.prototype, "current", void 0);
99
+ __decorate([
100
+ state()
101
+ ], LoadTrack.prototype, "isValue", void 0);
102
+ __decorate([
103
+ property({ type: Number })
104
+ ], LoadTrack.prototype, "max", void 0);
105
+ __decorate([
106
+ property({ type: Number })
107
+ ], LoadTrack.prototype, "min", void 0);
108
+ __decorate([
109
+ property({ type: Boolean })
110
+ ], LoadTrack.prototype, "modify", void 0);
111
+ LoadTrack = __decorate([
112
+ define("load-track")
113
+ ], LoadTrack);
114
+ export { LoadTrack };
115
+ export default LoadTrack;
package/items/std.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { GLOBSTD } from "../deps.js";
2
- export default class ItemsSTD extends GLOBSTD {
3
- }
1
+ import { GLOBSTD } from "../deps.js";
2
+ export default class ItemsSTD extends GLOBSTD {
3
+ }
4
4
  //# sourceMappingURL=std.d.ts.map
package/items/std.js CHANGED
@@ -1,3 +1,3 @@
1
- import { GLOBSTD } from "../deps.js";
2
- export default class ItemsSTD extends GLOBSTD {
3
- }
1
+ import { GLOBSTD } from "../deps.js";
2
+ export default class ItemsSTD extends GLOBSTD {
3
+ }
@@ -1,16 +1,16 @@
1
- import STD from "./std.js";
2
- export declare class SuperAnchor extends STD {
3
- href: string;
4
- target: string;
5
- arrow: "" | "delta" | "arrow" | "angle" | "hand";
6
- static styles: import("lit").CSSResult;
7
- render(): import("lit-html").TemplateResult<1>;
8
- _arrowSwitcher(): import("lit-html").TemplateResult<1>;
9
- }
10
- export default SuperAnchor;
11
- declare global {
12
- interface HTMLElementTagNameMap {
13
- "super-a": SuperAnchor;
14
- }
15
- }
1
+ import STD from "./std.js";
2
+ export declare class SuperAnchor extends STD {
3
+ href: string;
4
+ target: string;
5
+ arrow: "" | "delta" | "arrow" | "angle" | "hand";
6
+ static styles: import("lit").CSSResult;
7
+ render(): import("lit-html").TemplateResult<1>;
8
+ _arrowSwitcher(): import("lit-html").TemplateResult<1>;
9
+ }
10
+ export default SuperAnchor;
11
+ declare global {
12
+ interface HTMLElementTagNameMap {
13
+ "super-a": SuperAnchor;
14
+ }
15
+ }
16
16
  //# sourceMappingURL=super-a.d.ts.map
package/items/super-a.js CHANGED
@@ -1,43 +1,43 @@
1
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
- return c > 3 && r && Object.defineProperty(target, key, r), r;
6
- };
7
- import { html, css, property, ifDefined, define } from "../deps.js";
8
- import STD from "./std.js";
9
- let SuperAnchor = class SuperAnchor extends STD {
10
- constructor() {
11
- super(...arguments);
12
- this.href = undefined;
13
- this.target = "_self";
14
- this.arrow = "";
15
- }
16
- render() {
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ import { html, css, property, ifDefined, define } from "../deps.js";
8
+ import STD from "./std.js";
9
+ let SuperAnchor = class SuperAnchor extends STD {
10
+ constructor() {
11
+ super(...arguments);
12
+ this.href = undefined;
13
+ this.target = "_self";
14
+ this.arrow = "";
15
+ }
16
+ render() {
17
17
  return html `<a href=${ifDefined(this.href)} target=${this.target}>
18
18
  <slot name="pre"></slot><slot></slot><slot name="suf"></slot>
19
19
  <i style="font-style:normal"><slot name="icon"></slot>${this._arrowSwitcher()}</i>
20
- </a>`;
21
- }
22
- _arrowSwitcher() {
23
- switch (this.arrow) {
24
- case "delta":
25
- return html `<svg viewBox="0 0 48 48" fill="none"><path d="M20 12L32 24L20 36V12Z" fill="currentColor" stroke="currentColor" stroke-width="3" stroke-linejoin="round" /></svg>`;
26
- case "arrow":
20
+ </a>`;
21
+ }
22
+ _arrowSwitcher() {
23
+ switch (this.arrow) {
24
+ case "delta":
25
+ return html `<svg viewBox="0 0 48 48" fill="none"><path d="M20 12L32 24L20 36V12Z" fill="currentColor" stroke="currentColor" stroke-width="3" stroke-linejoin="round" /></svg>`;
26
+ case "arrow":
27
27
  return html `<svg width="38" height="38" viewBox="0 0 48 48" fill="none">
28
28
  <path d="M36 24.0083H12" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" />
29
29
  <path d="M24 12L36 24L24 36" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" />
30
- </svg>`;
31
- case "angle":
32
- return html `<svg viewBox="0 0 48 48" fill="none"><path d="M19 12L31 24L19 36" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" /></svg>`;
33
- case "hand":
30
+ </svg>`;
31
+ case "angle":
32
+ return html `<svg viewBox="0 0 48 48" fill="none"><path d="M19 12L31 24L19 36" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" /></svg>`;
33
+ case "hand":
34
34
  return html `<svg viewBox="-10 -5 64 58" fill="none">
35
35
  <path d="M10.0264 40.9736L10.0264 18.9736H4.02637L4.02637 40.9736H10.0264Z" fill="currentColor" stroke="currentColor" stroke-width="3" stroke-linejoin="round" />
36
36
  <path fill-rule="evenodd" clip-rule="evenodd" d="M10.0264 18.9738C17.1493 12.4548 21.2772 8.71418 22.4102 7.75192C24.1096 6.30854 26.0304 6.91463 26.0304 10.5268C26.0304 14.139 20.7449 16.2222 20.7449 18.9738C20.7415 18.9902 27.5007 18.9913 41.0223 18.9771C42.6797 18.9753 44.0246 20.3174 44.0264 21.9748L44.0264 21.9779C44.0264 23.6371 42.6814 24.9821 41.0222 24.9821H33.0128C31.8039 32.9549 31.137 37.2894 31.012 37.9858C30.8244 39.0303 29.8274 40.9738 26.9583 40.9738C25.0456 40.9738 20.0683 40.9738 10.0264 40.9738V18.9738Z" stroke="currentColor" stroke-width="3" stroke-linejoin="round" />
37
- </svg>`;
38
- }
39
- }
40
- };
37
+ </svg>`;
38
+ }
39
+ }
40
+ };
41
41
  SuperAnchor.styles = css `
42
42
  :host {
43
43
  display: inline-block;
@@ -82,18 +82,18 @@ SuperAnchor.styles = css `
82
82
  transform: translateX(0);
83
83
  }
84
84
  }
85
- `;
86
- __decorate([
87
- property()
88
- ], SuperAnchor.prototype, "href", void 0);
89
- __decorate([
90
- property()
91
- ], SuperAnchor.prototype, "target", void 0);
92
- __decorate([
93
- property()
94
- ], SuperAnchor.prototype, "arrow", void 0);
95
- SuperAnchor = __decorate([
96
- define("super-a")
97
- ], SuperAnchor);
98
- export { SuperAnchor };
99
- export default SuperAnchor;
85
+ `;
86
+ __decorate([
87
+ property()
88
+ ], SuperAnchor.prototype, "href", void 0);
89
+ __decorate([
90
+ property()
91
+ ], SuperAnchor.prototype, "target", void 0);
92
+ __decorate([
93
+ property()
94
+ ], SuperAnchor.prototype, "arrow", void 0);
95
+ SuperAnchor = __decorate([
96
+ define("super-a")
97
+ ], SuperAnchor);
98
+ export { SuperAnchor };
99
+ export default SuperAnchor;
@@ -1,16 +1,16 @@
1
- import STD from "./std.js";
2
- export declare class DivLine extends STD {
3
- static styles: import("lit").CSSResult;
4
- pre: string;
5
- suf: string;
6
- v: boolean;
7
- b: string;
8
- render(): import("lit-html").TemplateResult<1>;
9
- }
10
- export default DivLine;
11
- declare global {
12
- interface HTMLElementTagNameMap {
13
- "div-line": DivLine;
14
- }
15
- }
1
+ import STD from "./std.js";
2
+ export declare class DivLine extends STD {
3
+ static styles: import("lit").CSSResult;
4
+ pre: string;
5
+ suf: string;
6
+ v: boolean;
7
+ b: string;
8
+ render(): import("lit-html").TemplateResult<1>;
9
+ }
10
+ export default DivLine;
11
+ declare global {
12
+ interface HTMLElementTagNameMap {
13
+ "div-line": DivLine;
14
+ }
15
+ }
16
16
  //# sourceMappingURL=div-line.d.ts.map
@@ -1,21 +1,21 @@
1
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
- return c > 3 && r && Object.defineProperty(target, key, r), r;
6
- };
7
- import { html, css, property, define } from "../deps.js";
8
- import STD from "./std.js";
9
- let DivLine = class DivLine extends STD {
10
- constructor() {
11
- super(...arguments);
12
- this.pre = "auto";
13
- this.suf = "auto";
14
- this.v = false;
15
- this.b = "2.2px";
16
- }
17
- render() {
18
- const hrstyle = `.before{height:${this.b};max-width:${this.pre}}.after{height:${this.b};max-width:${this.suf}}.v .before{width:${this.b};max-height:${this.pre}}.v .after{width:${this.b};max-height:${this.suf}}`;
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ import { html, css, property, define } from "../deps.js";
8
+ import STD from "./std.js";
9
+ let DivLine = class DivLine extends STD {
10
+ constructor() {
11
+ super(...arguments);
12
+ this.pre = "auto";
13
+ this.suf = "auto";
14
+ this.v = false;
15
+ this.b = "2.2px";
16
+ }
17
+ render() {
18
+ const hrstyle = `.before{height:${this.b};max-width:${this.pre}}.after{height:${this.b};max-width:${this.suf}}.v .before{width:${this.b};max-height:${this.pre}}.v .after{width:${this.b};max-height:${this.suf}}`;
19
19
  return html `<div class=${this.v ? "v" : "h"}>
20
20
  <hr class="before" />
21
21
  <slot></slot>
@@ -23,9 +23,9 @@ let DivLine = class DivLine extends STD {
23
23
  <style>
24
24
  ${hrstyle}
25
25
  </style>
26
- </div>`;
27
- }
28
- };
26
+ </div>`;
27
+ }
28
+ };
29
29
  DivLine.styles = css `
30
30
  :host {
31
31
  display: block;
@@ -51,21 +51,21 @@ DivLine.styles = css `
51
51
  display: flex;
52
52
  flex-direction: column;
53
53
  }
54
- `;
55
- __decorate([
56
- property()
57
- ], DivLine.prototype, "pre", void 0);
58
- __decorate([
59
- property()
60
- ], DivLine.prototype, "suf", void 0);
61
- __decorate([
62
- property({ type: Boolean })
63
- ], DivLine.prototype, "v", void 0);
64
- __decorate([
65
- property()
66
- ], DivLine.prototype, "b", void 0);
67
- DivLine = __decorate([
68
- define("div-line")
69
- ], DivLine);
70
- export { DivLine };
71
- export default DivLine;
54
+ `;
55
+ __decorate([
56
+ property()
57
+ ], DivLine.prototype, "pre", void 0);
58
+ __decorate([
59
+ property()
60
+ ], DivLine.prototype, "suf", void 0);
61
+ __decorate([
62
+ property({ type: Boolean })
63
+ ], DivLine.prototype, "v", void 0);
64
+ __decorate([
65
+ property()
66
+ ], DivLine.prototype, "b", void 0);
67
+ DivLine = __decorate([
68
+ define("div-line")
69
+ ], DivLine);
70
+ export { DivLine };
71
+ export default DivLine;
@@ -1,26 +1,26 @@
1
- import STD from "./std.js";
2
- export declare class DragBox extends STD {
3
- x: string;
4
- y: string;
5
- static styles: import("lit").CSSResult;
6
- get offsetsWidth(): number;
7
- get offsetsHeight(): number;
8
- render(): import("lit-html").TemplateResult<1>;
9
- firstUpdated(): void;
10
- drag: boolean;
11
- t: number;
12
- l: number;
13
- cx: number;
14
- cy: number;
15
- _startDrag(e: MouseEvent): void;
16
- _endDrag(): void;
17
- _handleDrag(e: MouseEvent): void;
18
- reset(): void;
19
- }
20
- export default DragBox;
21
- declare global {
22
- interface HTMLElementTagNameMap {
23
- "drag-box": DragBox;
24
- }
25
- }
1
+ import STD from "./std.js";
2
+ export declare class DragBox extends STD {
3
+ x: string;
4
+ y: string;
5
+ static styles: import("lit").CSSResult;
6
+ get offsetsWidth(): number;
7
+ get offsetsHeight(): number;
8
+ render(): import("lit-html").TemplateResult<1>;
9
+ firstUpdated(): void;
10
+ drag: boolean;
11
+ t: number;
12
+ l: number;
13
+ cx: number;
14
+ cy: number;
15
+ _startDrag(e: MouseEvent): void;
16
+ _endDrag(): void;
17
+ _handleDrag(e: MouseEvent): void;
18
+ reset(): void;
19
+ }
20
+ export default DragBox;
21
+ declare global {
22
+ interface HTMLElementTagNameMap {
23
+ "drag-box": DragBox;
24
+ }
25
+ }
26
26
  //# sourceMappingURL=drag-box.d.ts.map