godown 1.2.0 → 2.0.1
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/conf.d.ts +6 -6
- package/conf.d.ts.map +1 -1
- package/conf.js +7 -6
- package/conf.js.map +1 -0
- package/deps.d.ts +4 -4
- package/deps.d.ts.map +1 -1
- package/deps.js +5 -4
- package/deps.js.map +1 -0
- package/effect/clip-text.d.ts +13 -0
- package/effect/clip-text.d.ts.map +1 -0
- package/effect/clip-text.js +35 -0
- package/effect/clip-text.js.map +1 -0
- package/effect/index.d.ts +3 -3
- package/effect/index.d.ts.map +1 -1
- package/effect/index.js +4 -3
- package/effect/index.js.map +1 -0
- package/effect/overbreath-text.d.ts +14 -0
- package/effect/overbreath-text.d.ts.map +1 -0
- package/effect/{ov-effect.js → overbreath-text.js} +57 -112
- package/effect/overbreath-text.js.map +1 -0
- package/effect/std.d.ts +2 -2
- package/effect/std.d.ts.map +1 -1
- package/effect/std.js +3 -2
- package/effect/std.js.map +1 -0
- package/effect/typewriter-text.d.ts +27 -0
- package/effect/typewriter-text.d.ts.map +1 -0
- package/effect/typewriter-text.js +121 -0
- package/effect/typewriter-text.js.map +1 -0
- package/glob.d.ts +15 -2
- package/glob.d.ts.map +1 -1
- package/glob.js +101 -5
- package/glob.js.map +1 -0
- package/group/avatar-group.d.ts +5 -7
- package/group/avatar-group.d.ts.map +1 -1
- package/group/avatar-group.js +24 -47
- package/group/avatar-group.js.map +1 -0
- package/group/details-group.d.ts +3 -4
- package/group/details-group.d.ts.map +1 -1
- package/group/details-group.js +7 -8
- package/group/details-group.js.map +1 -0
- package/group/index.d.ts +0 -1
- package/group/index.d.ts.map +1 -1
- package/group/index.js +1 -1
- package/group/index.js.map +1 -0
- package/group/std.d.ts +2 -2
- package/group/std.d.ts.map +1 -1
- package/group/std.js +3 -2
- package/group/std.js.map +1 -0
- package/index.js +1 -0
- package/index.js.map +1 -0
- package/input-form/base-input.d.ts +6 -10
- package/input-form/base-input.d.ts.map +1 -1
- package/input-form/base-input.js +40 -47
- package/input-form/base-input.js.map +1 -0
- package/input-form/index.d.ts +0 -1
- package/input-form/index.d.ts.map +1 -1
- package/input-form/index.js +1 -1
- package/input-form/index.js.map +1 -0
- package/input-form/label-input.d.ts +4 -9
- package/input-form/label-input.d.ts.map +1 -1
- package/input-form/label-input.js +45 -57
- package/input-form/label-input.js.map +1 -0
- package/input-form/search-input.d.ts +6 -17
- package/input-form/search-input.d.ts.map +1 -1
- package/input-form/search-input.js +31 -148
- package/input-form/search-input.js.map +1 -0
- package/input-form/select-input.d.ts +5 -8
- package/input-form/select-input.d.ts.map +1 -1
- package/input-form/select-input.js +49 -63
- package/input-form/select-input.js.map +1 -0
- package/input-form/sign-form.d.ts +6 -11
- package/input-form/sign-form.d.ts.map +1 -1
- package/input-form/sign-form.js +29 -40
- package/input-form/sign-form.js.map +1 -0
- package/input-form/split-input.d.ts +3 -5
- package/input-form/split-input.d.ts.map +1 -1
- package/input-form/split-input.js +26 -29
- package/input-form/split-input.js.map +1 -0
- package/input-form/std.d.ts +25 -8
- package/input-form/std.d.ts.map +1 -1
- package/input-form/std.js +95 -20
- package/input-form/std.js.map +1 -0
- package/input-form/switch-input.d.ts +3 -3
- package/input-form/switch-input.d.ts.map +1 -1
- package/input-form/switch-input.js +27 -7
- package/input-form/switch-input.js.map +1 -0
- package/items/alert-item.d.ts +4 -3
- package/items/alert-item.d.ts.map +1 -1
- package/items/alert-item.js +99 -96
- package/items/alert-item.js.map +1 -0
- package/items/avatar-a.d.ts +17 -0
- package/items/avatar-a.d.ts.map +1 -0
- package/items/avatar-a.js +102 -0
- package/items/avatar-a.js.map +1 -0
- package/items/base-button.d.ts +23 -6
- package/items/base-button.d.ts.map +1 -1
- package/items/base-button.js +186 -142
- package/items/base-button.js.map +1 -0
- package/items/dialog-item.d.ts +10 -9
- package/items/dialog-item.d.ts.map +1 -1
- package/items/dialog-item.js +69 -43
- package/items/dialog-item.js.map +1 -0
- package/items/index.d.ts +2 -1
- package/items/index.d.ts.map +1 -1
- package/items/index.js +3 -1
- package/items/index.js.map +1 -0
- package/items/link-a.d.ts +6 -5
- package/items/link-a.d.ts.map +1 -1
- package/items/link-a.js +24 -49
- package/items/link-a.js.map +1 -0
- package/items/load-track.d.ts +4 -4
- package/items/load-track.d.ts.map +1 -1
- package/items/load-track.js +19 -15
- package/items/load-track.js.map +1 -0
- package/items/std.d.ts +2 -2
- package/items/std.d.ts.map +1 -1
- package/items/std.js +3 -2
- package/items/std.js.map +1 -0
- package/items/super-a.d.ts +3 -3
- package/items/super-a.d.ts.map +1 -1
- package/items/super-a.js +26 -17
- package/items/super-a.js.map +1 -0
- package/items/time-bar.d.ts +22 -0
- package/items/time-bar.d.ts.map +1 -0
- package/items/time-bar.js +99 -0
- package/items/time-bar.js.map +1 -0
- package/layout/div-line.d.ts +2 -2
- package/layout/div-line.d.ts.map +1 -1
- package/layout/div-line.js +12 -7
- package/layout/div-line.js.map +1 -0
- package/layout/drag-box.d.ts +10 -12
- package/layout/drag-box.d.ts.map +1 -1
- package/layout/drag-box.js +10 -18
- package/layout/drag-box.js.map +1 -0
- package/layout/flex-flow.d.ts +2 -2
- package/layout/flex-flow.d.ts.map +1 -1
- package/layout/flex-flow.js +7 -5
- package/layout/flex-flow.js.map +1 -0
- package/layout/index.d.ts +1 -0
- package/layout/index.d.ts.map +1 -1
- package/layout/index.js +2 -0
- package/layout/index.js.map +1 -0
- package/layout/nav-aside.d.ts +3 -3
- package/layout/nav-aside.d.ts.map +1 -1
- package/layout/nav-aside.js +9 -6
- package/layout/nav-aside.js.map +1 -0
- package/layout/nav-layout.d.ts +2 -4
- package/layout/nav-layout.d.ts.map +1 -1
- package/layout/nav-layout.js +23 -42
- package/layout/nav-layout.js.map +1 -0
- package/layout/std.d.ts +3 -3
- package/layout/std.d.ts.map +1 -1
- package/layout/std.js +4 -3
- package/layout/std.js.map +1 -0
- package/layout/with-wrap.d.ts +13 -0
- package/layout/with-wrap.d.ts.map +1 -0
- package/layout/with-wrap.js +32 -0
- package/layout/with-wrap.js.map +1 -0
- package/package.json +7 -5
- package/react/effect.d.ts +2 -5
- package/react/effect.d.ts.map +1 -1
- package/react/effect.js +8 -22
- package/react/effect.js.map +1 -0
- package/react/group.d.ts +0 -1
- package/react/group.d.ts.map +1 -1
- package/react/group.js +2 -6
- package/react/group.js.map +1 -0
- package/react/index.js +1 -0
- package/react/index.js.map +1 -0
- package/react/input-form.d.ts +0 -5
- package/react/input-form.d.ts.map +1 -1
- package/react/input-form.js +9 -19
- package/react/input-form.js.map +1 -0
- package/react/items.d.ts +2 -1
- package/react/items.d.ts.map +1 -1
- package/react/items.js +9 -3
- package/react/items.js.map +1 -0
- package/react/layout.d.ts.map +1 -1
- package/react/layout.js +2 -1
- package/react/layout.js.map +1 -0
- package/react/view.d.ts +1 -0
- package/react/view.d.ts.map +1 -1
- package/react/view.js +7 -1
- package/react/view.js.map +1 -0
- package/tmpl.d.ts +20 -0
- package/tmpl.d.ts.map +1 -0
- package/tmpl.js +39 -0
- package/tmpl.js.map +1 -0
- package/view/details-expand.d.ts +6 -4
- package/view/details-expand.d.ts.map +1 -1
- package/view/details-expand.js +30 -26
- package/view/details-expand.js.map +1 -0
- package/view/down-drop.d.ts +8 -4
- package/view/down-drop.d.ts.map +1 -1
- package/view/down-drop.js +45 -24
- package/view/down-drop.js.map +1 -0
- package/view/index.d.ts +1 -0
- package/view/index.d.ts.map +1 -1
- package/view/index.js +2 -0
- package/view/index.js.map +1 -0
- package/view/menu-list.d.ts +4 -2
- package/view/menu-list.d.ts.map +1 -1
- package/view/menu-list.js +26 -13
- package/view/menu-list.js.map +1 -0
- package/view/rotation-pool.d.ts +23 -0
- package/view/rotation-pool.d.ts.map +1 -0
- package/{effect/ro-effect.js → view/rotation-pool.js} +74 -41
- package/view/rotation-pool.js.map +1 -0
- package/view/route-view.d.ts +9 -18
- package/view/route-view.d.ts.map +1 -1
- package/view/route-view.js +20 -23
- package/view/route-view.js.map +1 -0
- package/view/scroll-x.d.ts +3 -2
- package/view/scroll-x.d.ts.map +1 -1
- package/view/scroll-x.js +14 -10
- package/view/scroll-x.js.map +1 -0
- package/view/std.d.ts +3 -3
- package/view/std.d.ts.map +1 -1
- package/view/std.js +21 -4
- package/view/std.js.map +1 -0
- package/with.d.ts +17 -5
- package/with.d.ts.map +1 -1
- package/with.js +36 -7
- package/with.js.map +1 -0
- package/effect/ov-effect.d.ts +0 -24
- package/effect/ov-effect.d.ts.map +0 -1
- package/effect/ro-effect.d.ts +0 -20
- package/effect/ro-effect.d.ts.map +0 -1
- package/effect/tw-effect.d.ts +0 -22
- package/effect/tw-effect.d.ts.map +0 -1
- package/effect/tw-effect.js +0 -108
- package/group/button-group.d.ts +0 -13
- package/group/button-group.d.ts.map +0 -1
- package/group/button-group.js +0 -79
- package/input-form/exp-input.d.ts +0 -24
- package/input-form/exp-input.d.ts.map +0 -1
- package/input-form/exp-input.js +0 -218
- package/items/avatar-anchor.d.ts +0 -20
- package/items/avatar-anchor.d.ts.map +0 -1
- package/items/avatar-anchor.js +0 -150
package/input-form/base-input.js
CHANGED
@@ -4,18 +4,15 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
4
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
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
6
6
|
};
|
7
|
-
import {
|
8
|
-
import
|
9
|
-
|
7
|
+
import { css, cssvar, define, html, ifDefined, property, query } from "../deps.js";
|
8
|
+
import { htmlSlot } from "../tmpl.js";
|
9
|
+
import { InputSTD } from "./std.js";
|
10
|
+
let BaseInput = class BaseInput extends InputSTD {
|
10
11
|
constructor() {
|
11
12
|
super(...arguments);
|
12
13
|
this.accept = undefined;
|
13
|
-
this.label = "";
|
14
|
-
this.name = "";
|
15
|
-
this.pla = undefined;
|
16
14
|
this.type = "text";
|
17
15
|
this.value = undefined;
|
18
|
-
this.def = "";
|
19
16
|
this.only = false;
|
20
17
|
this.min = 0;
|
21
18
|
this.max = 100;
|
@@ -23,32 +20,29 @@ let BaseInput = class BaseInput extends STD {
|
|
23
20
|
this.autofocus = false;
|
24
21
|
}
|
25
22
|
render() {
|
26
|
-
var _a;
|
27
|
-
if (!this.name)
|
28
|
-
this.name = ((_a = this.label) === null || _a === void 0 ? void 0 : _a.toLowerCase()) || this.type;
|
29
23
|
return html `<label for="input">
|
30
|
-
|
31
|
-
<
|
32
|
-
|
33
|
-
<slot name="suf"></slot>
|
24
|
+
${htmlSlot("pre")}
|
25
|
+
<div class="${this.type}">${this._typeSwitcher()}</div>
|
26
|
+
${htmlSlot("suf")}
|
34
27
|
</label>`;
|
35
28
|
}
|
36
29
|
connectedCallback() {
|
37
30
|
super.connectedCallback();
|
38
|
-
if (!this.def && this.type !== "file")
|
31
|
+
if (!this.def && this.type !== "file") {
|
39
32
|
this.def = this.value || "";
|
40
|
-
|
33
|
+
}
|
34
|
+
if (!this.value) {
|
41
35
|
this.value = this.def;
|
36
|
+
}
|
42
37
|
}
|
43
38
|
firstUpdated() {
|
39
|
+
super.firstUpdated();
|
44
40
|
if (this.type === "range") {
|
45
41
|
this._ranged.style.width = 100 * (parseInt(this.value) / (this.max - this.min)) + "%";
|
46
42
|
if (this.childNodes.length) {
|
47
43
|
this.shadowRoot.querySelector("div").style.margin = "0";
|
48
44
|
}
|
49
45
|
}
|
50
|
-
this._focusCheck();
|
51
|
-
this._compositionCheck();
|
52
46
|
}
|
53
47
|
_handleRange(e) {
|
54
48
|
this.value = e.target.value;
|
@@ -73,63 +67,68 @@ let BaseInput = class BaseInput extends STD {
|
|
73
67
|
_typeSwitcher() {
|
74
68
|
switch (this.type) {
|
75
69
|
case "range":
|
76
|
-
return html `<input id="input" type="range" min
|
70
|
+
return html `<input id="input" type="range" min="${this.min}" max="${this.max}" step="${this.step}" @input="${this._handleRange}" @change="${this._handleChange}" /><i></i>`;
|
77
71
|
case "file":
|
78
|
-
return html `<input id="input" type="file" accept
|
72
|
+
return html `<input id="input" type="file" accept="${ifDefined(this.accept)}" ?multiple="${!this.only}" class="input" @change="${this._handleFile}" />`;
|
79
73
|
default:
|
80
|
-
return html `<input id="input" class="input" type
|
74
|
+
return html `<input id="input" class="input" type="${this.type}" placeholder="${ifDefined(this.pla)}" @input="${this._handleInput}" @change="${this._handleChange}" />`;
|
81
75
|
}
|
82
76
|
}
|
83
77
|
};
|
84
78
|
BaseInput.styles = [
|
85
|
-
|
79
|
+
InputSTD.styles,
|
86
80
|
css `
|
87
81
|
:host {
|
88
|
-
|
89
|
-
|
82
|
+
${cssvar}--input-control: rgb(240 240 240);
|
83
|
+
${cssvar}--input-control-edge: var(${cssvar}--input-true);
|
90
84
|
display: inline-flex;
|
85
|
+
width: var(${cssvar}--input-width);
|
86
|
+
height: var(${cssvar}--input-height);
|
91
87
|
background-color: var(${cssvar}--input-background);
|
92
|
-
|
93
|
-
outline: 0.18em solid transparent;
|
88
|
+
outline: transparent solid var(${cssvar}--input-outline-width);
|
94
89
|
color: var(${cssvar}--text);
|
90
|
+
border-radius: 0.2em;
|
95
91
|
}
|
96
|
-
|
97
|
-
outline-color: var(${cssvar}--input-outline-focus);
|
98
|
-
}
|
92
|
+
|
99
93
|
:host([type="range"]) {
|
100
|
-
outline: none;
|
101
94
|
height: auto;
|
95
|
+
outline-width: var(${cssvar}--input-outline-width);
|
96
|
+
outline-style: solid;
|
102
97
|
}
|
98
|
+
|
103
99
|
:host([type="file"]) {
|
104
100
|
height: auto;
|
105
101
|
width: auto;
|
106
102
|
min-height: 0.5em;
|
107
103
|
min-width: 0.5em;
|
108
104
|
}
|
105
|
+
|
109
106
|
div,
|
110
107
|
label {
|
111
108
|
display: flex;
|
112
109
|
flex: 1;
|
113
110
|
}
|
111
|
+
|
114
112
|
* {
|
115
113
|
border-radius: inherit;
|
116
114
|
cursor: inherit;
|
117
115
|
font-family: inherit;
|
118
116
|
}
|
117
|
+
|
119
118
|
.input[type="color"] {
|
120
119
|
padding: 0;
|
121
120
|
height: 100% !important;
|
122
121
|
}
|
122
|
+
|
123
123
|
.input[type="file"] {
|
124
124
|
display: none;
|
125
125
|
}
|
126
|
+
|
126
127
|
.input {
|
127
128
|
box-sizing: border-box;
|
128
129
|
height: 100%;
|
129
130
|
width: 100%;
|
130
131
|
font-size: 0.8em;
|
131
|
-
outline: 0;
|
132
|
-
border: 0;
|
133
132
|
margin: 0;
|
134
133
|
border: none;
|
135
134
|
color: inherit;
|
@@ -137,6 +136,7 @@ BaseInput.styles = [
|
|
137
136
|
padding: 0 0.25em;
|
138
137
|
border-radius: 0.25em;
|
139
138
|
}
|
139
|
+
|
140
140
|
.range {
|
141
141
|
position: relative;
|
142
142
|
display: inline-flex;
|
@@ -145,14 +145,16 @@ BaseInput.styles = [
|
|
145
145
|
box-shadow: 0 0.5px 0.1em var(${cssvar}--shadow);
|
146
146
|
background-color: var(${cssvar}--input-false);
|
147
147
|
}
|
148
|
+
|
148
149
|
.range input ~ i {
|
149
150
|
position: absolute;
|
150
151
|
left: 0;
|
151
152
|
width: 50%;
|
153
|
+
height: 100%;
|
152
154
|
pointer-events: none;
|
153
155
|
background-color: var(${cssvar}--input-true);
|
154
|
-
height: calc(0.6em - 1.1px);
|
155
156
|
}
|
157
|
+
|
156
158
|
.range input {
|
157
159
|
height: 0.6em;
|
158
160
|
margin: 0px -0.5em;
|
@@ -162,9 +164,11 @@ BaseInput.styles = [
|
|
162
164
|
outline: none;
|
163
165
|
background-color: transparent;
|
164
166
|
}
|
167
|
+
|
165
168
|
.range input::-webkit-slider-runnable-track {
|
166
169
|
height: 0.6em;
|
167
170
|
}
|
171
|
+
|
168
172
|
.range input::-webkit-slider-thumb {
|
169
173
|
z-index: 1;
|
170
174
|
appearance: none;
|
@@ -175,7 +179,7 @@ BaseInput.styles = [
|
|
175
179
|
margin-top: -0.3em;
|
176
180
|
background-color: var(${cssvar}--input-control);
|
177
181
|
border-radius: 50%;
|
178
|
-
border: solid 0.125em
|
182
|
+
border: solid 0.125em var(${cssvar}--input-control-edge);
|
179
183
|
box-shadow: 0 0.1em 0.1em var(${cssvar}--shadow);
|
180
184
|
}
|
181
185
|
`,
|
@@ -190,23 +194,11 @@ __decorate([
|
|
190
194
|
property()
|
191
195
|
], BaseInput.prototype, "accept", void 0);
|
192
196
|
__decorate([
|
193
|
-
property()
|
194
|
-
], BaseInput.prototype, "label", void 0);
|
195
|
-
__decorate([
|
196
|
-
property()
|
197
|
-
], BaseInput.prototype, "name", void 0);
|
198
|
-
__decorate([
|
199
|
-
property()
|
200
|
-
], BaseInput.prototype, "pla", void 0);
|
201
|
-
__decorate([
|
202
|
-
property()
|
197
|
+
property({ reflect: true })
|
203
198
|
], BaseInput.prototype, "type", void 0);
|
204
199
|
__decorate([
|
205
200
|
property()
|
206
201
|
], BaseInput.prototype, "value", void 0);
|
207
|
-
__decorate([
|
208
|
-
property()
|
209
|
-
], BaseInput.prototype, "def", void 0);
|
210
202
|
__decorate([
|
211
203
|
property({ type: Boolean })
|
212
204
|
], BaseInput.prototype, "only", void 0);
|
@@ -227,3 +219,4 @@ BaseInput = __decorate([
|
|
227
219
|
], BaseInput);
|
228
220
|
export { BaseInput };
|
229
221
|
export default BaseInput;
|
222
|
+
//# sourceMappingURL=base-input.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"base-input.js","sourceRoot":"","sources":["../../src/input-form/base-input.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,GAAG,EAAkB,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnG,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAI7B,IAAM,SAAS,GAAf,MAAM,SAAU,SAAQ,QAAQ;IAAhC;;QAgHO,WAAM,GAAG,SAAS,CAAC;QACF,S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,EAAE,IAAI,EAAE,CAAC;uCAA0B;AAC1C;IAAX,QAAQ,EAAE;wCAA6C;AAC3B;IAA5B,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;uCAAc;AACd;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;sCAAS;AACR;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;sCAAW;AACV;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;uCAAU;AACR;IAA5B,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;4CAAmB;AAvHpC,SAAS;IADrB,MAAM,CAAC,YAAY,CAAC;GACR,SAAS,CAqLrB;;AAED,eAAe,SAAS,CAAC"}
|
package/input-form/index.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/input-form/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/input-form/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC"}
|
package/input-form/index.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
export * from "./base-input.js";
|
2
|
-
export * from "./exp-input.js";
|
3
2
|
export * from "./label-input.js";
|
4
3
|
export * from "./select-input.js";
|
5
4
|
export * from "./search-input.js";
|
6
5
|
export * from "./sign-form.js";
|
7
6
|
export * from "./split-input.js";
|
8
7
|
export * from "./switch-input.js";
|
8
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/input-form/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC"}
|
@@ -1,18 +1,13 @@
|
|
1
1
|
import { CSSResultGroup } from "../deps.js";
|
2
|
-
import
|
3
|
-
|
4
|
-
export declare class LabelInput extends STD {
|
2
|
+
import { InputSTD, type InputType } from "./std.js";
|
3
|
+
export declare class LabelInput extends InputSTD {
|
5
4
|
type: InputType;
|
6
|
-
label: string;
|
7
|
-
def: string;
|
8
|
-
pla: any;
|
9
|
-
name: string;
|
10
|
-
value: string;
|
11
5
|
autofocus: boolean;
|
12
6
|
_input: HTMLInputElement;
|
13
7
|
static styles: CSSResultGroup[];
|
14
8
|
render(): import("lit").TemplateResult<1>;
|
15
|
-
|
9
|
+
protected render_suf(): import("lit").TemplateResult<1>;
|
10
|
+
protected _passwordSwitcher(): void;
|
16
11
|
}
|
17
12
|
export default LabelInput;
|
18
13
|
declare global {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"label-input.d.ts","sourceRoot":"","sources":["../../src/input-form/label-input.ts"],"names":[],"mappings":"AAAA,OAAO,
|
1
|
+
{"version":3,"file":"label-input.d.ts","sourceRoot":"","sources":["../../src/input-form/label-input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,cAAc,EAAoD,MAAM,YAAY,CAAC;AAEnG,OAAO,EAAE,QAAQ,EAAE,KAAK,SAAS,EAAE,MAAM,UAAU,CAAC;AAEpD,qBACa,UAAW,SAAQ,QAAQ;IACT,IAAI,EAAE,SAAS,CAAU;IACzB,SAAS,UAAS;IAC/B,MAAM,EAAE,gBAAgB,CAAC;IACzC,MAAM,CAAC,MAAM,mBAsES;IAEtB,MAAM;IAWN,SAAS,CAAC,UAAU;IAkBpB,SAAS,CAAC,iBAAiB;CAO5B;AAED,eAAe,UAAU,CAAC;AAC1B,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,aAAa,EAAE,UAAU,CAAC;KAC3B;CACF"}
|
@@ -4,41 +4,43 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
4
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
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
6
6
|
};
|
7
|
-
import {
|
8
|
-
import
|
9
|
-
|
7
|
+
import { css, cssvar, define, html, ifDefined, property, query } from "../deps.js";
|
8
|
+
import { htmlSlot, svgEye } from "../tmpl.js";
|
9
|
+
import { InputSTD } from "./std.js";
|
10
|
+
let LabelInput = class LabelInput extends InputSTD {
|
10
11
|
constructor() {
|
11
12
|
super(...arguments);
|
12
13
|
this.type = "text";
|
13
|
-
this.label = "";
|
14
|
-
this.def = "";
|
15
|
-
this.pla = undefined;
|
16
|
-
this.name = "";
|
17
|
-
this.value = "";
|
18
14
|
this.autofocus = false;
|
19
15
|
}
|
20
16
|
render() {
|
21
|
-
|
22
|
-
|
23
|
-
this.name = ((_a = this.label) === null || _a === void 0 ? void 0 : _a.toLowerCase()) || this.type;
|
24
|
-
return html `<label for=${this.name}>
|
25
|
-
<span>${this.label}<slot></slot></span>
|
17
|
+
return html `<label for="${this.name}">
|
18
|
+
<span>${this.label}${htmlSlot()}</span>
|
26
19
|
<fieldset>
|
27
|
-
<i
|
28
|
-
<input @input
|
29
|
-
|
30
|
-
${this.type === "password" && !this.querySelector(`[slot="suf"]`)
|
31
|
-
? html `<i @mousedown=${this._passwordSwitcher} @mouseup=${() => (this._input.type = "password")} @mouseleave=${() => (this._input.type = "password")}>
|
32
|
-
<svg viewBox="0 0 48 48" fill="none">
|
33
|
-
<path d="M9.85786 18C6.23858 21 4 24 4 24C4 24 12.9543 36 24 36C25.3699 36 26.7076 35.8154 28 35.4921M20.0318 12.5C21.3144 12.1816 22.6414 12 24 12C35.0457 12 44 24 44 24C44 24 41.7614 27 38.1421 30" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" />
|
34
|
-
<path d="M20.3142 20.6211C19.4981 21.5109 19 22.6972 19 23.9998C19 26.7612 21.2386 28.9998 24 28.9998C25.3627 28.9998 26.5981 28.4546 27.5 27.5705" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" />
|
35
|
-
<path d="M42 42L6 6" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" />
|
36
|
-
</svg>
|
37
|
-
</i>`
|
38
|
-
: undefined}
|
20
|
+
<i>${htmlSlot("pre")}</i>
|
21
|
+
<input @input="${this._handleInput}" @change="${this._handleChange}" id="${this.name}" type="${this.type}" placeholder="${ifDefined(this.pla)}" class="${this.type}" />
|
22
|
+
${this.render_suf()}
|
39
23
|
</fieldset>
|
40
24
|
</label>`;
|
41
25
|
}
|
26
|
+
render_suf() {
|
27
|
+
if (this.type === "password") {
|
28
|
+
return html `<i
|
29
|
+
@mousedown="${this._passwordSwitcher}"
|
30
|
+
@mouseup="${() => {
|
31
|
+
this._input.type = "password";
|
32
|
+
}}"
|
33
|
+
@mouseleave="${() => {
|
34
|
+
this._input.type = "password";
|
35
|
+
}}"
|
36
|
+
>
|
37
|
+
${!this.querySelector("[slot=suf]") ? svgEye() : htmlSlot("suf")}
|
38
|
+
</i>`;
|
39
|
+
}
|
40
|
+
else {
|
41
|
+
return html `<i>${htmlSlot("suf")}</i>`;
|
42
|
+
}
|
43
|
+
}
|
42
44
|
_passwordSwitcher() {
|
43
45
|
if (this._input.type === "password") {
|
44
46
|
this._input.type = "text";
|
@@ -49,13 +51,15 @@ let LabelInput = class LabelInput extends STD {
|
|
49
51
|
}
|
50
52
|
};
|
51
53
|
LabelInput.styles = [
|
52
|
-
|
54
|
+
InputSTD.styles,
|
53
55
|
css `
|
54
56
|
:host {
|
57
|
+
max-width: calc(2 * var(${cssvar}--input-width));
|
55
58
|
background-color: inherit;
|
56
59
|
display: block;
|
57
|
-
border-radius:
|
60
|
+
border-radius: 0.2em;
|
58
61
|
}
|
62
|
+
|
59
63
|
label {
|
60
64
|
margin: auto;
|
61
65
|
width: 100%;
|
@@ -66,24 +70,25 @@ LabelInput.styles = [
|
|
66
70
|
align-items: center;
|
67
71
|
border-radius: inherit;
|
68
72
|
}
|
73
|
+
|
69
74
|
span {
|
70
75
|
flex: 1;
|
71
76
|
}
|
77
|
+
|
72
78
|
input {
|
79
|
+
padding: 0 0.125em;
|
73
80
|
background-color: transparent;
|
74
81
|
font-size: 102.5%;
|
75
|
-
line-height: 1.2em;
|
76
|
-
border: 0;
|
77
82
|
border-radius: inherit;
|
78
|
-
outline: 0;
|
79
|
-
box-sizing: border-box;
|
80
83
|
flex: 1;
|
81
84
|
width: 100%;
|
82
|
-
|
85
|
+
height: inherit;
|
83
86
|
}
|
87
|
+
|
84
88
|
fieldset:focus-within {
|
85
|
-
outline: 0.18em solid var(${cssvar}--input-outline-
|
89
|
+
outline: 0.18em solid var(${cssvar}--input-outline-color);
|
86
90
|
}
|
91
|
+
|
87
92
|
@media screen and (max-width: 540px) {
|
88
93
|
label {
|
89
94
|
justify-content: flex-start;
|
@@ -92,51 +97,33 @@ LabelInput.styles = [
|
|
92
97
|
width: fit-content;
|
93
98
|
}
|
94
99
|
}
|
95
|
-
|
96
|
-
display: inline-flex;
|
97
|
-
justify-content: center;
|
98
|
-
align-items: center;
|
99
|
-
font-style: normal;
|
100
|
-
}
|
100
|
+
|
101
101
|
i > svg {
|
102
102
|
height: 1em;
|
103
103
|
width: 1.5em;
|
104
104
|
}
|
105
|
+
|
105
106
|
fieldset {
|
106
107
|
color: var(${cssvar}--text);
|
107
108
|
position: relative;
|
108
109
|
background-color: var(${cssvar}--input-background);
|
109
110
|
display: flex;
|
110
|
-
|
111
|
+
align-items: baseline;
|
111
112
|
border-radius: inherit;
|
112
113
|
outline: none;
|
113
114
|
border: 0;
|
114
|
-
|
115
|
+
height: var(${cssvar}--input-height);
|
115
116
|
width: var(${cssvar}--input-width);
|
116
117
|
}
|
118
|
+
|
117
119
|
::-ms-reveal {
|
118
120
|
display: none;
|
119
121
|
}
|
120
122
|
`,
|
121
123
|
];
|
122
124
|
__decorate([
|
123
|
-
property()
|
125
|
+
property({ reflect: true })
|
124
126
|
], LabelInput.prototype, "type", void 0);
|
125
|
-
__decorate([
|
126
|
-
property()
|
127
|
-
], LabelInput.prototype, "label", void 0);
|
128
|
-
__decorate([
|
129
|
-
property()
|
130
|
-
], LabelInput.prototype, "def", void 0);
|
131
|
-
__decorate([
|
132
|
-
property()
|
133
|
-
], LabelInput.prototype, "pla", void 0);
|
134
|
-
__decorate([
|
135
|
-
property()
|
136
|
-
], LabelInput.prototype, "name", void 0);
|
137
|
-
__decorate([
|
138
|
-
property()
|
139
|
-
], LabelInput.prototype, "value", void 0);
|
140
127
|
__decorate([
|
141
128
|
property({ type: Boolean })
|
142
129
|
], LabelInput.prototype, "autofocus", void 0);
|
@@ -148,3 +135,4 @@ LabelInput = __decorate([
|
|
148
135
|
], LabelInput);
|
149
136
|
export { LabelInput };
|
150
137
|
export default LabelInput;
|
138
|
+
//# sourceMappingURL=label-input.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"label-input.js","sourceRoot":"","sources":["../../src/input-form/label-input.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,GAAG,EAAkB,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnG,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAkB,MAAM,UAAU,CAAC;AAG7C,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,QAAQ;IAAjC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M;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAgCJ,MAAM;;;;;;;;;;;;;;;;;;qBAkBrB,MAAM;;gCAEK,MAAM;;;;;;sBAMhB,MAAM;qBACP,MAAM;;;;;;KAMtB;CACkB,AAtER,CAsES;AAzEO;IAA5B,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;wCAA0B;AACzB;IAA5B,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;6CAAmB;AAC/B;IAAf,KAAK,CAAC,OAAO,CAAC;0CAA0B;AAH9B,UAAU;IADtB,MAAM,CAAC,aAAa,CAAC;GACT,UAAU,CAgHtB;;AAED,eAAe,UAAU,CAAC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { CSSResultGroup } from "../deps.js";
|
2
|
-
import
|
3
|
-
export declare class SearchInput extends
|
2
|
+
import { InputSTD } from "./std.js";
|
3
|
+
export declare class SearchInput extends InputSTD {
|
4
4
|
_input: HTMLInputElement;
|
5
5
|
query: string;
|
6
6
|
target: string;
|
@@ -9,30 +9,19 @@ export declare class SearchInput extends STD {
|
|
9
9
|
action: string;
|
10
10
|
method: "get" | "post";
|
11
11
|
name: string;
|
12
|
-
|
13
|
-
pla: any;
|
12
|
+
pla?: string;
|
14
13
|
list: any[];
|
15
14
|
autofocus: boolean;
|
16
|
-
|
15
|
+
useInfer: (x: string) => Promise<string[]>;
|
17
16
|
static styles: CSSResultGroup[];
|
18
17
|
render(): import("lit").TemplateResult<1>;
|
19
|
-
_handleSubmit(e:
|
20
|
-
_handleInput(e:
|
21
|
-
}
|
22
|
-
export declare class SearchW extends STD {
|
23
|
-
static styles: (import("lit").CSSResult | CSSResultGroup[])[];
|
24
|
-
action: string;
|
25
|
-
name: string;
|
26
|
-
pla: string;
|
27
|
-
origin: string;
|
28
|
-
constructor();
|
29
|
-
render(): import("lit").TemplateResult<1>;
|
18
|
+
protected _handleSubmit(e: Event): void;
|
19
|
+
protected _handleInput(e: Event): Promise<void>;
|
30
20
|
}
|
31
21
|
export default SearchInput;
|
32
22
|
declare global {
|
33
23
|
interface HTMLElementTagNameMap {
|
34
24
|
"search-input": SearchInput;
|
35
|
-
"search-w": SearchW;
|
36
25
|
}
|
37
26
|
}
|
38
27
|
//# sourceMappingURL=search-input.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"search-input.d.ts","sourceRoot":"","sources":["../../src/input-form/search-input.ts"],"names":[],"mappings":"AAAA,OAAO,
|
1
|
+
{"version":3,"file":"search-input.d.ts","sourceRoot":"","sources":["../../src/input-form/search-input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,cAAc,EAAoD,MAAM,YAAY,CAAC;AAEnG,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEpC,qBACa,WAAY,SAAQ,QAAQ;IACvB,MAAM,EAAG,gBAAgB,CAAC;IAC9B,KAAK,SAAM;IACX,MAAM,SAAM;IACK,KAAK,UAAS;IACd,MAAM,UAAS;IAChC,MAAM,SAAQ;IACd,MAAM,EAAE,KAAK,GAAG,MAAM,CAAS;IAC/B,IAAI,SAAO;IACX,GAAG,CAAC,EAAE,MAAM,CAAa;IACV,IAAI,EAAE,GAAG,EAAE,CAAM;IACf,SAAS,UAAS;IACf,QAAQ,MAAa,MAAM,uBAOzD;IACF,MAAM,CAAC,MAAM,mBAoES;IAEtB,MAAM;IAeN,SAAS,CAAC,aAAa,CAAC,CAAC,EAAE,KAAK;cAKhB,YAAY,CAAC,CAAC,EAAE,KAAK;CA6BtC;AAED,eAAe,WAAW,CAAC;AAC3B,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,cAAc,EAAE,WAAW,CAAC;KAC7B;CACF"}
|