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,34 +1,34 @@
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, query, state, define, conf, cssvar } from "../deps.js";
8
- import STD from "./std.js";
9
- let SelectInput = class SelectInput extends STD {
10
- constructor() {
11
- super(...arguments);
12
- this.open = false;
13
- this.selcls = `${conf.tag("select-input")}-selected`;
14
- this.pla = undefined;
15
- this.only = false;
16
- this.def = "";
17
- this.value = [];
18
- this.name = "select";
19
- this.text = [];
20
- this.autofocus = false;
21
- }
22
- get assigned() {
23
- return this.shadowRoot.querySelector("slot").assignedElements();
24
- }
25
- 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, query, state, define, conf, cssvar } from "../deps.js";
8
+ import STD from "./std.js";
9
+ let SelectInput = class SelectInput extends STD {
10
+ constructor() {
11
+ super(...arguments);
12
+ this.open = false;
13
+ this.selcls = `${conf.tag("select-input")}-selected`;
14
+ this.pla = undefined;
15
+ this.only = false;
16
+ this.def = "";
17
+ this.value = [];
18
+ this.name = "select";
19
+ this.text = [];
20
+ this.autofocus = false;
21
+ }
22
+ get assigned() {
23
+ return this.shadowRoot.querySelector("slot").assignedElements();
24
+ }
25
+ render() {
26
26
  return html `<div>
27
27
  <section>${this.lists()}</section>
28
28
  <input
29
29
  id="input"
30
- @focus=${() => {
31
- this.open = true;
30
+ @focus=${() => {
31
+ this.open = true;
32
32
  }}
33
33
  @input=${this._handleInput}
34
34
  placeholder=${this.pla}
@@ -37,17 +37,17 @@ let SelectInput = class SelectInput extends STD {
37
37
  <svg viewBox="0 0 48 48" fill="none"><path d="M36 19L24 31L12 19H36Z" fill="currentColor" stroke="currentColor" stroke-width="3" stroke-linejoin="round" /></svg>
38
38
  </label>
39
39
  <aside ?open=${this.open}><slot></slot></aside>
40
- </div>`;
41
- }
42
- lists() {
43
- const itemTemplates = [];
44
- if (this.value.length)
45
- for (const i in this.value) {
40
+ </div>`;
41
+ }
42
+ lists() {
43
+ const itemTemplates = [];
44
+ if (this.value.length)
45
+ for (const i in this.value) {
46
46
  itemTemplates.push(html `<i class="selected-item">
47
47
  ${this.text[i] || this.value[i]}
48
48
  <svg
49
- @click=${() => {
50
- this.select(this.value[i]);
49
+ @click=${() => {
50
+ this.select(this.value[i]);
51
51
  }}
52
52
  t="1678769821062"
53
53
  viewBox="0 0 1024 1024"
@@ -56,187 +56,187 @@ let SelectInput = class SelectInput extends STD {
56
56
  >
57
57
  <path d="M960 512c0-249.6-198.4-448-448-448S64 262.4 64 512s198.4 448 448 448 448-198.4 448-448zM691.2 736L512 556.8 332.8 736c-12.8 12.8-32 12.8-44.8 0-12.8-12.8-12.8-32 0-44.8L467.2 512 288 332.8c-12.8-12.8-12.8-32 0-44.8 12.8-12.8 32-12.8 44.8 0L512 467.2 691.2 288c12.8-12.8 32-12.8 44.8 0 12.8 12.8 12.8 32 0 44.8L556.8 512 736 691.2c12.8 12.8 12.8 32 0 44.8-12.8 12.8-32 12.8-44.8 0z" fill="currentColor" p-id="2771"></path>
58
58
  </svg>
59
- </i>`);
60
- }
61
- return itemTemplates;
62
- }
63
- _focusCheck() {
64
- var _a;
65
- if (this.autofocus) {
66
- (_a = this._input) === null || _a === void 0 ? void 0 : _a.focus();
67
- this.open = true;
68
- }
69
- }
70
- focus(options) {
71
- var _a;
72
- (_a = this._input) === null || _a === void 0 ? void 0 : _a.focus(options);
73
- this.open = true;
74
- }
75
- firstUpdated() {
76
- this._focusCheck();
77
- this.assigned.forEach((option) => {
78
- if (option.value) {
79
- option.addEventListener("click", () => {
80
- this.select(option.value, option.innerText);
81
- });
82
- }
83
- else if (option.children) {
84
- [...option.children].forEach((option) => {
85
- option.addEventListener("click", () => {
86
- this.select(option.value, option.innerText);
87
- });
88
- });
89
- }
90
- });
91
- this.addEventListener("change", (e) => {
92
- this.open = !this.only;
93
- });
94
- document.addEventListener("click", (e) => {
95
- if (!this.contains(e.target)) {
96
- this.open = false;
97
- }
98
- });
99
- }
100
- select(value, text) {
101
- if (text === undefined || text === null) {
102
- this.assigned.forEach((option) => {
103
- if (option.value) {
104
- if (option.value == value) {
105
- text = option.innerText;
106
- }
107
- }
108
- else if (option.children) {
109
- [...option.children].forEach((option) => {
110
- if (option.value == value) {
111
- text = option.innerText;
112
- }
113
- });
114
- }
115
- });
116
- }
117
- if (this.value.includes(value)) {
118
- if (!this.only) {
119
- this.value = this.value.filter((v) => v != value);
120
- this.text = this.text.filter((v) => v != text);
121
- }
122
- else {
123
- this.value = [];
124
- this.text = [];
125
- }
126
- }
127
- else {
128
- if (!this.only) {
129
- this.value.push(value);
130
- this.text.push(text);
131
- }
132
- else {
133
- this.value = [value];
134
- this.text = [text];
135
- }
136
- }
137
- this.assigned.forEach((option) => {
138
- if (option.value) {
139
- if (this.value.includes(option.value)) {
140
- option.classList.add(this.selcls);
141
- }
142
- else {
143
- option.classList.remove(this.selcls);
144
- }
145
- }
146
- else if (option.children) {
147
- [...option.children].forEach((option) => {
148
- if (this.value.includes(option.value)) {
149
- option.classList.add(this.selcls);
150
- }
151
- else {
152
- option.classList.remove(this.selcls);
153
- }
154
- });
155
- }
156
- });
157
- this._input.value = "";
158
- this.dispatchEvent(new CustomEvent("change", { detail: this.namevalue() }));
159
- this.requestUpdate();
160
- }
161
- _handleInput() {
162
- let value = this._input.value.trim();
163
- if (!this.only && value.includes(";")) {
164
- value = value.split(";").pop().trim();
165
- }
166
- this.assigned.forEach((option) => {
167
- if (option.value) {
168
- option.style.display = "block";
169
- }
170
- if (option.children) {
171
- option.style.display = "block";
172
- [...option.children].forEach((option) => {
173
- option.style.display = "block";
174
- });
175
- }
176
- });
177
- if (value) {
178
- this.assigned.forEach((option) => {
179
- if (option.value) {
180
- if (option.value.toLowerCase().includes(value.toLowerCase()) || option.innerText.toLowerCase().includes(value.toLowerCase())) {
181
- option.style.display = "block";
182
- }
183
- else {
184
- option.style.display = "none";
185
- }
186
- }
187
- else if (option.children) {
188
- [...option.children].forEach((option) => {
189
- if (option.value.toLowerCase().includes(value.toLowerCase()) || option.innerText.toLowerCase().includes(value.toLowerCase())) {
190
- option.style.display = "block";
191
- }
192
- else {
193
- option.style.display = "none";
194
- }
195
- });
196
- if ([...option.children].filter((option) => option.style.display == "block").length == 0) {
197
- option.style.display = "none";
198
- }
199
- }
200
- });
201
- }
202
- this.dispatchEvent(new CustomEvent("input", { detail: this.namevalue() }));
203
- }
204
- namevalue() {
205
- if (!this.only) {
206
- return [this.name, this.value];
207
- }
208
- return [this.name, this.value[0]];
209
- }
210
- reset() {
211
- this.value = [];
212
- this.text = [];
213
- this._input.value = "";
214
- this.assigned.forEach((option) => {
215
- if (option.value) {
216
- option.classList.remove(this.selcls);
217
- }
218
- else if (option.children) {
219
- [...option.children].forEach((option) => {
220
- option.classList.remove(this.selcls);
221
- });
222
- }
223
- });
224
- if (this.def) {
225
- if (!this.only) {
226
- this.def.split(";").forEach((def) => {
227
- if (def.trim())
228
- this.select(def.trim(), null);
229
- });
230
- }
231
- else {
232
- if (this.def.split(";")[0].trim())
233
- this.select(this.def.split(";")[0].trim(), null);
234
- }
235
- }
236
- }
237
- };
238
- SelectInput.styles = [
239
- STD.styles,
59
+ </i>`);
60
+ }
61
+ return itemTemplates;
62
+ }
63
+ _focusCheck() {
64
+ var _a;
65
+ if (this.autofocus) {
66
+ (_a = this._input) === null || _a === void 0 ? void 0 : _a.focus();
67
+ this.open = true;
68
+ }
69
+ }
70
+ focus(options) {
71
+ var _a;
72
+ (_a = this._input) === null || _a === void 0 ? void 0 : _a.focus(options);
73
+ this.open = true;
74
+ }
75
+ firstUpdated() {
76
+ this._focusCheck();
77
+ this.assigned.forEach((option) => {
78
+ if (option.value) {
79
+ option.addEventListener("click", () => {
80
+ this.select(option.value, option.innerText);
81
+ });
82
+ }
83
+ else if (option.children) {
84
+ [...option.children].forEach((option) => {
85
+ option.addEventListener("click", () => {
86
+ this.select(option.value, option.innerText);
87
+ });
88
+ });
89
+ }
90
+ });
91
+ this.addEventListener("change", (e) => {
92
+ this.open = !this.only;
93
+ });
94
+ document.addEventListener("click", (e) => {
95
+ if (!this.contains(e.target)) {
96
+ this.open = false;
97
+ }
98
+ });
99
+ }
100
+ select(value, text) {
101
+ if (text === undefined || text === null) {
102
+ this.assigned.forEach((option) => {
103
+ if (option.value) {
104
+ if (option.value == value) {
105
+ text = option.innerText;
106
+ }
107
+ }
108
+ else if (option.children) {
109
+ [...option.children].forEach((option) => {
110
+ if (option.value == value) {
111
+ text = option.innerText;
112
+ }
113
+ });
114
+ }
115
+ });
116
+ }
117
+ if (this.value.includes(value)) {
118
+ if (!this.only) {
119
+ this.value = this.value.filter((v) => v != value);
120
+ this.text = this.text.filter((v) => v != text);
121
+ }
122
+ else {
123
+ this.value = [];
124
+ this.text = [];
125
+ }
126
+ }
127
+ else {
128
+ if (!this.only) {
129
+ this.value.push(value);
130
+ this.text.push(text);
131
+ }
132
+ else {
133
+ this.value = [value];
134
+ this.text = [text];
135
+ }
136
+ }
137
+ this.assigned.forEach((option) => {
138
+ if (option.value) {
139
+ if (this.value.includes(option.value)) {
140
+ option.classList.add(this.selcls);
141
+ }
142
+ else {
143
+ option.classList.remove(this.selcls);
144
+ }
145
+ }
146
+ else if (option.children) {
147
+ [...option.children].forEach((option) => {
148
+ if (this.value.includes(option.value)) {
149
+ option.classList.add(this.selcls);
150
+ }
151
+ else {
152
+ option.classList.remove(this.selcls);
153
+ }
154
+ });
155
+ }
156
+ });
157
+ this._input.value = "";
158
+ this.dispatchEvent(new CustomEvent("change", { detail: this.namevalue() }));
159
+ this.requestUpdate();
160
+ }
161
+ _handleInput() {
162
+ let value = this._input.value.trim();
163
+ if (!this.only && value.includes(";")) {
164
+ value = value.split(";").pop().trim();
165
+ }
166
+ this.assigned.forEach((option) => {
167
+ if (option.value) {
168
+ option.style.display = "block";
169
+ }
170
+ if (option.children) {
171
+ option.style.display = "block";
172
+ [...option.children].forEach((option) => {
173
+ option.style.display = "block";
174
+ });
175
+ }
176
+ });
177
+ if (value) {
178
+ this.assigned.forEach((option) => {
179
+ if (option.value) {
180
+ if (option.value.toLowerCase().includes(value.toLowerCase()) || option.innerText.toLowerCase().includes(value.toLowerCase())) {
181
+ option.style.display = "block";
182
+ }
183
+ else {
184
+ option.style.display = "none";
185
+ }
186
+ }
187
+ else if (option.children) {
188
+ [...option.children].forEach((option) => {
189
+ if (option.value.toLowerCase().includes(value.toLowerCase()) || option.innerText.toLowerCase().includes(value.toLowerCase())) {
190
+ option.style.display = "block";
191
+ }
192
+ else {
193
+ option.style.display = "none";
194
+ }
195
+ });
196
+ if ([...option.children].filter((option) => option.style.display == "block").length == 0) {
197
+ option.style.display = "none";
198
+ }
199
+ }
200
+ });
201
+ }
202
+ this.dispatchEvent(new CustomEvent("input", { detail: this.namevalue() }));
203
+ }
204
+ namevalue() {
205
+ if (!this.only) {
206
+ return [this.name, this.value];
207
+ }
208
+ return [this.name, this.value[0]];
209
+ }
210
+ reset() {
211
+ this.value = [];
212
+ this.text = [];
213
+ this._input.value = "";
214
+ this.assigned.forEach((option) => {
215
+ if (option.value) {
216
+ option.classList.remove(this.selcls);
217
+ }
218
+ else if (option.children) {
219
+ [...option.children].forEach((option) => {
220
+ option.classList.remove(this.selcls);
221
+ });
222
+ }
223
+ });
224
+ if (this.def) {
225
+ if (!this.only) {
226
+ this.def.split(";").forEach((def) => {
227
+ if (def.trim())
228
+ this.select(def.trim(), null);
229
+ });
230
+ }
231
+ else {
232
+ if (this.def.split(";")[0].trim())
233
+ this.select(this.def.split(";")[0].trim(), null);
234
+ }
235
+ }
236
+ }
237
+ };
238
+ SelectInput.styles = [
239
+ STD.styles,
240
240
  css `
241
241
  :host {
242
242
  background: var(${cssvar}--input-background);
@@ -312,43 +312,43 @@ SelectInput.styles = [
312
312
  aside[open] {
313
313
  visibility: visible;
314
314
  }
315
- `,
316
- ];
317
- __decorate([
318
- property({ type: Boolean, reflect: true })
319
- ], SelectInput.prototype, "open", void 0);
320
- __decorate([
321
- property()
322
- ], SelectInput.prototype, "selcls", void 0);
323
- __decorate([
324
- property()
325
- ], SelectInput.prototype, "pla", void 0);
326
- __decorate([
327
- property({ type: Boolean })
328
- ], SelectInput.prototype, "only", void 0);
329
- __decorate([
330
- property()
331
- ], SelectInput.prototype, "def", void 0);
332
- __decorate([
333
- property({ type: Array })
334
- ], SelectInput.prototype, "value", void 0);
335
- __decorate([
336
- property()
337
- ], SelectInput.prototype, "name", void 0);
338
- __decorate([
339
- state()
340
- ], SelectInput.prototype, "text", void 0);
341
- __decorate([
342
- property({ type: Boolean })
343
- ], SelectInput.prototype, "autofocus", void 0);
344
- __decorate([
345
- query("input")
346
- ], SelectInput.prototype, "_input", void 0);
347
- __decorate([
348
- query("aside")
349
- ], SelectInput.prototype, "_aside", void 0);
350
- SelectInput = __decorate([
351
- define("select-input")
352
- ], SelectInput);
353
- export { SelectInput };
354
- export default SelectInput;
315
+ `,
316
+ ];
317
+ __decorate([
318
+ property({ type: Boolean, reflect: true })
319
+ ], SelectInput.prototype, "open", void 0);
320
+ __decorate([
321
+ property()
322
+ ], SelectInput.prototype, "selcls", void 0);
323
+ __decorate([
324
+ property()
325
+ ], SelectInput.prototype, "pla", void 0);
326
+ __decorate([
327
+ property({ type: Boolean })
328
+ ], SelectInput.prototype, "only", void 0);
329
+ __decorate([
330
+ property()
331
+ ], SelectInput.prototype, "def", void 0);
332
+ __decorate([
333
+ property({ type: Array })
334
+ ], SelectInput.prototype, "value", void 0);
335
+ __decorate([
336
+ property()
337
+ ], SelectInput.prototype, "name", void 0);
338
+ __decorate([
339
+ state()
340
+ ], SelectInput.prototype, "text", void 0);
341
+ __decorate([
342
+ property({ type: Boolean })
343
+ ], SelectInput.prototype, "autofocus", void 0);
344
+ __decorate([
345
+ query("input")
346
+ ], SelectInput.prototype, "_input", void 0);
347
+ __decorate([
348
+ query("aside")
349
+ ], SelectInput.prototype, "_aside", void 0);
350
+ SelectInput = __decorate([
351
+ define("select-input")
352
+ ], SelectInput);
353
+ export { SelectInput };
354
+ export default SelectInput;
@@ -1,26 +1,26 @@
1
- import STD from "./std.js";
2
- import "./label-input.js";
3
- export declare class SignForm extends STD {
4
- name: string;
5
- set: 0 | 1 | 2;
6
- static styles: (import("lit").CSSResult | import("@lit/reactive-element/css-tag.js").CSSResultGroup[])[];
7
- _form: HTMLFormElement;
8
- render(): import("lit-html").TemplateResult<1>;
9
- opt(): any[];
10
- reset(): void;
11
- namevalue(): [string, {
12
- [key: string]: any;
13
- }];
14
- FormData(): FormData;
15
- }
16
- export declare class BaseForm extends SignForm {
17
- constructor();
18
- }
19
- export default SignForm;
20
- declare global {
21
- interface HTMLElementTagNameMap {
22
- "sign-form": SignForm;
23
- "base-form": BaseForm;
24
- }
25
- }
1
+ import STD from "./std.js";
2
+ import "./label-input.js";
3
+ export declare class SignForm extends STD {
4
+ name: string;
5
+ set: 0 | 1 | 2;
6
+ static styles: (import("lit").CSSResult | import("@lit/reactive-element/css-tag.js").CSSResultGroup[])[];
7
+ _form: HTMLFormElement;
8
+ render(): import("lit-html").TemplateResult<1>;
9
+ opt(): any[];
10
+ reset(): void;
11
+ namevalue(): [string, {
12
+ [key: string]: any;
13
+ }];
14
+ FormData(): FormData;
15
+ }
16
+ export declare class BaseForm extends SignForm {
17
+ constructor();
18
+ }
19
+ export default SignForm;
20
+ declare global {
21
+ interface HTMLElementTagNameMap {
22
+ "sign-form": SignForm;
23
+ "base-form": BaseForm;
24
+ }
25
+ }
26
26
  //# sourceMappingURL=sign-form.d.ts.map