godown 1.1.5 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +9 -9
- package/conf.d.ts +17 -18
- package/conf.d.ts.map +1 -1
- package/conf.js +24 -22
- package/deps.d.ts +7 -7
- package/deps.d.ts.map +1 -1
- package/deps.js +7 -7
- package/effect/index.d.ts +3 -3
- package/effect/index.js +3 -3
- package/effect/ov-effect.d.ts +23 -23
- package/effect/ov-effect.js +85 -85
- package/effect/ro-effect.d.ts +19 -19
- package/effect/ro-effect.js +76 -76
- package/effect/std.d.ts +3 -3
- package/effect/std.js +3 -3
- package/effect/tw-effect.d.ts +21 -21
- package/effect/tw-effect.js +90 -90
- package/glob.d.ts +11 -8
- package/glob.d.ts.map +1 -1
- package/glob.js +20 -9
- package/group/avatar-group.d.ts +20 -20
- package/group/avatar-group.js +88 -88
- package/group/button-group.d.ts +12 -12
- package/group/button-group.js +26 -26
- package/group/details-group.d.ts +16 -16
- package/group/details-group.js +51 -51
- package/group/index.d.ts +3 -3
- package/group/index.js +3 -3
- package/group/std.d.ts +3 -3
- package/group/std.js +3 -3
- package/index.d.ts +7 -7
- package/index.js +7 -7
- package/input-form/base-input.d.ts +33 -32
- package/input-form/base-input.d.ts.map +1 -1
- package/input-form/base-input.js +129 -129
- package/input-form/exp-input.d.ts +23 -22
- package/input-form/exp-input.d.ts.map +1 -1
- package/input-form/exp-input.js +67 -67
- package/input-form/index.d.ts +8 -8
- package/input-form/index.js +8 -8
- package/input-form/label-input.d.ts +22 -21
- package/input-form/label-input.d.ts.map +1 -1
- package/input-form/label-input.js +69 -69
- package/input-form/search-input.d.ts +37 -36
- package/input-form/search-input.d.ts.map +1 -1
- package/input-form/search-input.js +163 -163
- package/input-form/select-input.d.ts +35 -31
- package/input-form/select-input.d.ts.map +1 -1
- package/input-form/select-input.js +290 -259
- package/input-form/sign-form.d.ts +26 -25
- package/input-form/sign-form.d.ts.map +1 -1
- package/input-form/sign-form.js +147 -147
- package/input-form/split-input.d.ts +27 -26
- package/input-form/split-input.d.ts.map +1 -1
- package/input-form/split-input.js +127 -127
- package/input-form/std.d.ts +20 -19
- package/input-form/std.d.ts.map +1 -1
- package/input-form/std.js +56 -55
- package/input-form/switch-input.d.ts +23 -22
- package/input-form/switch-input.d.ts.map +1 -1
- package/input-form/switch-input.js +73 -73
- package/items/alert-item.d.ts +16 -16
- package/items/alert-item.js +69 -69
- package/items/avatar-anchor.d.ts +19 -19
- package/items/avatar-anchor.js +71 -71
- package/items/base-button.d.ts +16 -16
- package/items/base-button.js +117 -117
- package/items/dialog-item.d.ts +24 -24
- package/items/dialog-item.js +92 -92
- package/items/index.d.ts +7 -7
- package/items/index.js +7 -7
- package/items/link-a.d.ts +19 -19
- package/items/link-a.js +76 -76
- package/items/load-track.d.ts +21 -20
- package/items/load-track.d.ts.map +1 -1
- package/items/load-track.js +76 -76
- package/items/std.d.ts +3 -3
- package/items/std.js +3 -3
- package/items/super-a.d.ts +15 -15
- package/items/super-a.js +46 -46
- package/layout/div-line.d.ts +15 -15
- package/layout/div-line.js +39 -39
- package/layout/drag-box.d.ts +25 -25
- package/layout/drag-box.js +88 -88
- package/layout/flex-flow.d.ts +13 -13
- package/layout/flex-flow.js +32 -32
- package/layout/index.d.ts +5 -5
- package/layout/index.js +5 -5
- package/layout/nav-aside.d.ts +14 -13
- package/layout/nav-aside.d.ts.map +1 -1
- package/layout/nav-aside.js +38 -38
- package/layout/nav-layout.d.ts +17 -16
- package/layout/nav-layout.d.ts.map +1 -1
- package/layout/nav-layout.js +51 -51
- package/layout/std.d.ts +4 -4
- package/layout/std.js +4 -4
- package/package.json +17 -13
- package/react/effect.d.ts +9 -9
- package/react/effect.d.ts.map +1 -1
- package/react/effect.js +33 -33
- package/react/group.d.ts +4 -4
- package/react/group.d.ts.map +1 -1
- package/react/group.js +19 -19
- package/react/index.d.ts +7 -7
- package/react/index.d.ts.map +1 -1
- package/react/index.js +7 -7
- package/react/input-form.d.ts +32 -32
- package/react/input-form.d.ts.map +1 -1
- package/react/input-form.js +65 -65
- package/react/items.d.ts +8 -8
- package/react/items.d.ts.map +1 -1
- package/react/items.js +39 -39
- package/react/layout.d.ts +6 -6
- package/react/layout.d.ts.map +1 -1
- package/react/layout.js +29 -29
- package/react/view.d.ts +6 -6
- package/react/view.d.ts.map +1 -1
- package/react/view.js +29 -29
- package/view/details-expand.d.ts +19 -18
- package/view/details-expand.d.ts.map +1 -1
- package/view/details-expand.js +53 -53
- package/view/down-drop.d.ts +19 -18
- package/view/down-drop.d.ts.map +1 -1
- package/view/down-drop.js +71 -71
- package/view/index.d.ts +5 -5
- package/view/index.js +5 -5
- package/view/menu-list.d.ts +17 -16
- package/view/menu-list.d.ts.map +1 -1
- package/view/menu-list.js +48 -48
- package/view/route-view.d.ts +46 -57
- package/view/route-view.d.ts.map +1 -1
- package/view/route-view.js +256 -257
- package/view/scroll-x.d.ts +14 -14
- package/view/scroll-x.js +47 -47
- package/view/std.d.ts +4 -4
- package/view/std.js +4 -4
- package/with.d.ts +23 -27
- package/with.d.ts.map +1 -1
- package/with.js +70 -77
- package/items/no-support.d.ts +0 -7
- package/items/no-support.d.ts.map +0 -1
- package/items/no-support.js +0 -23
package/view/menu-list.d.ts
CHANGED
@@ -1,17 +1,18 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
}
|
1
|
+
import { CSSResultGroup } from "../deps.js";
|
2
|
+
import STD from "./std.js";
|
3
|
+
export declare class MenuList extends STD {
|
4
|
+
summary: string;
|
5
|
+
open: boolean;
|
6
|
+
def: boolean;
|
7
|
+
_section: HTMLElement;
|
8
|
+
static styles: CSSResultGroup[];
|
9
|
+
render(): import("lit").TemplateResult<1>;
|
10
|
+
toggle(to?: boolean): void;
|
11
|
+
}
|
12
|
+
export default MenuList;
|
13
|
+
declare global {
|
14
|
+
interface HTMLElementTagNameMap {
|
15
|
+
"menu-list": MenuList;
|
16
|
+
}
|
17
|
+
}
|
17
18
|
//# sourceMappingURL=menu-list.d.ts.map
|
package/view/menu-list.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"menu-list.d.ts","sourceRoot":"","sources":["../../src/view/menu-list.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"menu-list.d.ts","sourceRoot":"","sources":["../../src/view/menu-list.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6C,cAAc,EAAE,MAAM,YAAY,CAAC;AACvF,OAAO,GAAmB,MAAM,UAAU,CAAC;AAC3C,qBACa,QAAS,SAAQ,GAAG;IACnB,OAAO,SAAM;IACmB,IAAI,UAAS;IAChD,GAAG,EAAE,OAAO,CAAC;IACJ,QAAQ,EAAE,WAAW,CAAC;IACxC,MAAM,CAAC,MAAM,mBAyBS;IACtB,MAAM;IAeN,MAAM,CAAC,EAAE,UAAa;CAIvB;AACD,eAAe,QAAQ,CAAC;AACxB,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,WAAW,EAAE,QAAQ,CAAC;KACvB;CACF"}
|
package/view/menu-list.js
CHANGED
@@ -1,22 +1,22 @@
|
|
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, state, query } from "../deps.js";
|
8
|
-
import STD, { DLsharecss } from "./std.js";
|
9
|
-
let MenuList = class MenuList extends STD {
|
10
|
-
constructor() {
|
11
|
-
super(...arguments);
|
12
|
-
this.summary = "";
|
13
|
-
this.open = false;
|
14
|
-
}
|
15
|
-
render() {
|
16
|
-
const notitle = !this.summary && !this.querySelector(`[slot="summary"]`);
|
17
|
-
if (notitle) {
|
18
|
-
this.open = true;
|
19
|
-
}
|
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, state, query } from "../deps.js";
|
8
|
+
import STD, { DLsharecss } from "./std.js";
|
9
|
+
let MenuList = class MenuList extends STD {
|
10
|
+
constructor() {
|
11
|
+
super(...arguments);
|
12
|
+
this.summary = "";
|
13
|
+
this.open = false;
|
14
|
+
}
|
15
|
+
render() {
|
16
|
+
const notitle = !this.summary && !this.querySelector(`[slot="summary"]`);
|
17
|
+
if (notitle) {
|
18
|
+
this.open = true;
|
19
|
+
}
|
20
20
|
return html `<dl>
|
21
21
|
<dt ?open=${this.open} ?notitle=${notitle}>
|
22
22
|
<span>${this.summary}<slot name="summary"></slot></span>
|
@@ -25,16 +25,16 @@ let MenuList = class MenuList extends STD {
|
|
25
25
|
<dd ?open=${this.open}>
|
26
26
|
<section><slot></slot></section>
|
27
27
|
</dd>
|
28
|
-
</dl>`;
|
29
|
-
}
|
30
|
-
toggle(to = !this.open) {
|
31
|
-
this.open = to;
|
32
|
-
this.dispatchEvent(new CustomEvent("change", { detail: this.open }));
|
33
|
-
}
|
34
|
-
};
|
35
|
-
MenuList.styles = [
|
36
|
-
STD.styles,
|
37
|
-
DLsharecss,
|
28
|
+
</dl>`;
|
29
|
+
}
|
30
|
+
toggle(to = !this.open) {
|
31
|
+
this.open = to;
|
32
|
+
this.dispatchEvent(new CustomEvent("change", { detail: this.open }));
|
33
|
+
}
|
34
|
+
};
|
35
|
+
MenuList.styles = [
|
36
|
+
STD.styles,
|
37
|
+
DLsharecss,
|
38
38
|
css `
|
39
39
|
i {
|
40
40
|
width: 1.2em;
|
@@ -56,22 +56,22 @@ MenuList.styles = [
|
|
56
56
|
[notitle] {
|
57
57
|
display: none;
|
58
58
|
}
|
59
|
-
`,
|
60
|
-
];
|
61
|
-
__decorate([
|
62
|
-
property()
|
63
|
-
], MenuList.prototype, "summary", void 0);
|
64
|
-
__decorate([
|
65
|
-
property({ type: Boolean, reflect: true })
|
66
|
-
], MenuList.prototype, "open", void 0);
|
67
|
-
__decorate([
|
68
|
-
state()
|
69
|
-
], MenuList.prototype, "def", void 0);
|
70
|
-
__decorate([
|
71
|
-
query("section")
|
72
|
-
], MenuList.prototype, "_section", void 0);
|
73
|
-
MenuList = __decorate([
|
74
|
-
define("menu-list")
|
75
|
-
], MenuList);
|
76
|
-
export { MenuList };
|
77
|
-
export default MenuList;
|
59
|
+
`,
|
60
|
+
];
|
61
|
+
__decorate([
|
62
|
+
property()
|
63
|
+
], MenuList.prototype, "summary", void 0);
|
64
|
+
__decorate([
|
65
|
+
property({ type: Boolean, reflect: true })
|
66
|
+
], MenuList.prototype, "open", void 0);
|
67
|
+
__decorate([
|
68
|
+
state()
|
69
|
+
], MenuList.prototype, "def", void 0);
|
70
|
+
__decorate([
|
71
|
+
query("section")
|
72
|
+
], MenuList.prototype, "_section", void 0);
|
73
|
+
MenuList = __decorate([
|
74
|
+
define("menu-list")
|
75
|
+
], MenuList);
|
76
|
+
export { MenuList };
|
77
|
+
export default MenuList;
|
package/view/route-view.d.ts
CHANGED
@@ -1,58 +1,47 @@
|
|
1
|
-
import type { TemplateResult } from "lit";
|
2
|
-
import { LitElement } from "../deps.js";
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
static
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
[key: string]: any;
|
48
|
-
}>, path: string, baseURL?: string): string;
|
49
|
-
static parseRouterParams(routeTemplate: string, originpath: string): Record<string, string>;
|
50
|
-
static updateAll(): void;
|
51
|
-
}
|
52
|
-
export default RouteView;
|
53
|
-
declare global {
|
54
|
-
interface HTMLElementTagNameMap {
|
55
|
-
"route-view": RouteView;
|
56
|
-
}
|
57
|
-
}
|
1
|
+
import type { TemplateResult } from "lit";
|
2
|
+
import { LitElement } from "../deps.js";
|
3
|
+
type WithRecord<T extends string> = Record<string, any> & Record<T, string>;
|
4
|
+
export declare class RouteView extends LitElement {
|
5
|
+
_routes: Array<{
|
6
|
+
path: string;
|
7
|
+
[key: string]: any;
|
8
|
+
}>;
|
9
|
+
params: Record<string, string>;
|
10
|
+
static: boolean;
|
11
|
+
type: "united" | "child" | "slotted" | "field";
|
12
|
+
baseURL: string;
|
13
|
+
path: string;
|
14
|
+
override: boolean;
|
15
|
+
compoent: any;
|
16
|
+
set routes(v: {
|
17
|
+
[key: string]: any;
|
18
|
+
path: string;
|
19
|
+
}[]);
|
20
|
+
get routes(): {
|
21
|
+
[key: string]: any;
|
22
|
+
path: string;
|
23
|
+
}[];
|
24
|
+
static styles: import("lit").CSSResult;
|
25
|
+
render(): TemplateResult;
|
26
|
+
useRouter(): {
|
27
|
+
path: string;
|
28
|
+
params: Record<string, string>;
|
29
|
+
};
|
30
|
+
connectedCallback(): void;
|
31
|
+
render_united(): TemplateResult;
|
32
|
+
render_slotted(): TemplateResult;
|
33
|
+
render_field(): TemplateResult;
|
34
|
+
fieldComponent(usedRouteTemplate: string): null | TemplateResult;
|
35
|
+
slottedCompoent(usedRouteTemplate: string, ObjectArrayIncludePath: Array<WithRecord<"path" | "slotElement">>): null | TemplateResult;
|
36
|
+
static sortRoutesPaths(ObjectArrayIncludePath: Array<WithRecord<"path">>): Array<WithRecord<"path">>;
|
37
|
+
static useWhichRoute(ObjectArrayIncludePath: Array<WithRecord<"path">>, path: string, baseURL?: string): string;
|
38
|
+
static parseRouterParams(routeTemplate: string, originpath: string): Record<string, string>;
|
39
|
+
static updateAll(): void;
|
40
|
+
}
|
41
|
+
export default RouteView;
|
42
|
+
declare global {
|
43
|
+
interface HTMLElementTagNameMap {
|
44
|
+
"route-view": RouteView;
|
45
|
+
}
|
46
|
+
}
|
58
47
|
//# sourceMappingURL=route-view.d.ts.map
|
package/view/route-view.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"route-view.d.ts","sourceRoot":"","sources":["../../src/view/route-view.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAC1C,OAAO,EAA2B,UAAU,EAAY,MAAM,YAAY,CAAC;
|
1
|
+
{"version":3,"file":"route-view.d.ts","sourceRoot":"","sources":["../../src/view/route-view.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAC1C,OAAO,EAA2B,UAAU,EAAY,MAAM,YAAY,CAAC;AAC3E,KAAK,UAAU,CAAC,CAAC,SAAS,MAAM,IAAI,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM,CAAC,CAAC,E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