godown 1.1.0 → 1.1.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 +1 -1
- package/conf.d.ts.map +1 -1
- package/deps.d.ts +4 -4
- package/deps.js +4 -4
- package/effect/ov-effect.d.ts +3 -3
- package/effect/ro-effect.js +6 -6
- package/effect/tw-effect.js +6 -6
- package/group/avatar-group.d.ts +3 -3
- package/group/avatar-group.d.ts.map +1 -1
- package/group/avatar-group.js +12 -23
- package/input-form/base-input.d.ts +2 -2
- package/input-form/base-input.d.ts.map +1 -1
- package/input-form/base-input.js +13 -13
- package/input-form/exp-input.d.ts +3 -3
- package/input-form/exp-input.d.ts.map +1 -1
- package/input-form/exp-input.js +5 -4
- package/input-form/label-input.d.ts +3 -3
- package/input-form/label-input.d.ts.map +1 -1
- package/input-form/label-input.js +5 -5
- package/input-form/search-input.d.ts.map +1 -1
- package/input-form/search-input.js +23 -18
- package/input-form/select-input.js +1 -1
- package/input-form/split-input.d.ts.map +1 -1
- package/input-form/split-input.js +5 -2
- package/input-form/std.js +1 -1
- package/input-form/switch-input.d.ts +1 -1
- package/input-form/switch-input.d.ts.map +1 -1
- package/input-form/switch-input.js +12 -15
- package/items/alert-item.js +1 -1
- package/items/avatar-anchor.d.ts +1 -1
- package/items/avatar-anchor.d.ts.map +1 -1
- package/items/avatar-anchor.js +8 -7
- package/items/dialog-item.js +8 -8
- package/items/link-a.d.ts +1 -1
- package/items/link-a.js +1 -1
- package/items/load-track.d.ts +1 -1
- package/items/load-track.js +1 -1
- package/items/super-a.d.ts +2 -2
- package/items/super-a.d.ts.map +1 -1
- package/items/super-a.js +3 -1
- package/layout/div-line.d.ts +2 -2
- package/layout/div-line.js +3 -3
- package/layout/drag-box.d.ts +2 -2
- package/layout/drag-box.js +13 -13
- package/layout/nav-aside.d.ts +2 -2
- package/layout/nav-aside.js +3 -3
- package/layout/nav-layout.d.ts +2 -2
- package/layout/nav-layout.js +6 -6
- package/layout/std.js +1 -1
- package/package.json +3 -3
- package/react/effect.js +7 -7
- package/react/group.js +5 -5
- package/react/input-form.js +14 -14
- package/react/items.js +9 -9
- package/react/layout.js +7 -7
- package/react/view.js +7 -7
- package/view/details-expand.js +1 -1
- package/view/down-drop.d.ts +2 -2
- package/view/down-drop.js +7 -7
- package/view/menu-list.d.ts +0 -1
- package/view/menu-list.d.ts.map +1 -1
- package/view/menu-list.js +12 -11
- package/view/react/effect.d.ts +10 -0
- package/view/react/effect.d.ts.map +1 -0
- package/view/react/effect.js +32 -0
- package/view/react/group.d.ts +5 -0
- package/view/react/group.d.ts.map +1 -0
- package/view/react/group.js +18 -0
- package/view/react/index.d.ts +7 -0
- package/view/react/index.d.ts.map +1 -0
- package/view/react/index.js +6 -0
- package/view/react/input-form.d.ts +33 -0
- package/view/react/input-form.d.ts.map +1 -0
- package/view/react/input-form.js +64 -0
- package/view/react/items.d.ts +9 -0
- package/view/react/items.d.ts.map +1 -0
- package/view/react/items.js +38 -0
- package/view/react/layout.d.ts +7 -0
- package/view/react/layout.d.ts.map +1 -0
- package/view/react/layout.js +28 -0
- package/view/react/view.d.ts +7 -0
- package/view/react/view.d.ts.map +1 -0
- package/view/react/view.js +28 -0
- package/view/route-view.d.ts +4 -4
- package/view/route-view.js +1 -1
- package/view/scroll-x.d.ts.map +1 -1
- package/view/scroll-x.js +18 -9
- package/with.d.ts +7 -2
- package/with.d.ts.map +1 -1
- package/with.js +6 -6
package/react/items.js
CHANGED
@@ -1,38 +1,38 @@
|
|
1
|
-
import * as React from
|
1
|
+
import * as React from "react";
|
2
2
|
import * as X from "../items/index.js";
|
3
|
-
import { createComponent } from
|
3
|
+
import { createComponent } from "@lit-labs/react";
|
4
4
|
export const AvatarAnchor = createComponent({
|
5
|
-
tagName:
|
5
|
+
tagName: "avatar-auchor",
|
6
6
|
elementClass: X.AvatarAnchor,
|
7
7
|
react: React
|
8
8
|
});
|
9
9
|
export const BaseButton = createComponent({
|
10
|
-
tagName:
|
10
|
+
tagName: "base-button",
|
11
11
|
elementClass: X.BaseButton,
|
12
12
|
react: React
|
13
13
|
});
|
14
14
|
export const AlertItem = createComponent({
|
15
|
-
tagName:
|
15
|
+
tagName: "alert-item",
|
16
16
|
elementClass: X.AlertItem,
|
17
17
|
react: React
|
18
18
|
});
|
19
19
|
export const DialogItem = createComponent({
|
20
|
-
tagName:
|
20
|
+
tagName: "dailog-item",
|
21
21
|
elementClass: X.DialogItem,
|
22
22
|
react: React
|
23
23
|
});
|
24
24
|
export const LinkAnchor = createComponent({
|
25
|
-
tagName:
|
25
|
+
tagName: "link-a",
|
26
26
|
elementClass: X.LinkAnchor,
|
27
27
|
react: React
|
28
28
|
});
|
29
29
|
export const LoadTrack = createComponent({
|
30
|
-
tagName:
|
30
|
+
tagName: "load-track",
|
31
31
|
elementClass: X.LoadTrack,
|
32
32
|
react: React
|
33
33
|
});
|
34
34
|
export const SuperAnchor = createComponent({
|
35
|
-
tagName:
|
35
|
+
tagName: "super-a",
|
36
36
|
elementClass: X.SuperAnchor,
|
37
37
|
react: React
|
38
38
|
});
|
package/react/layout.js
CHANGED
@@ -1,28 +1,28 @@
|
|
1
|
-
import * as React from
|
1
|
+
import * as React from "react";
|
2
2
|
import * as X from "../layout/index.js";
|
3
|
-
import { createComponent } from
|
3
|
+
import { createComponent } from "@lit-labs/react";
|
4
4
|
export const NavLayout = createComponent({
|
5
|
-
tagName:
|
5
|
+
tagName: "nav-layout",
|
6
6
|
elementClass: X.NavLayout,
|
7
7
|
react: React
|
8
8
|
});
|
9
9
|
export const AsideNav = createComponent({
|
10
|
-
tagName:
|
10
|
+
tagName: "nav-aside",
|
11
11
|
elementClass: X.NavAside,
|
12
12
|
react: React
|
13
13
|
});
|
14
14
|
export const DivLine = createComponent({
|
15
|
-
tagName:
|
15
|
+
tagName: "div-line",
|
16
16
|
elementClass: X.DivLine,
|
17
17
|
react: React
|
18
18
|
});
|
19
19
|
export const FlexFlow = createComponent({
|
20
|
-
tagName:
|
20
|
+
tagName: "flex-flow",
|
21
21
|
elementClass: X.FlexFlow,
|
22
22
|
react: React
|
23
23
|
});
|
24
24
|
export const DragBox = createComponent({
|
25
|
-
tagName:
|
25
|
+
tagName: "drag-box",
|
26
26
|
elementClass: X.DragBox,
|
27
27
|
react: React
|
28
28
|
});
|
package/react/view.js
CHANGED
@@ -1,28 +1,28 @@
|
|
1
|
-
import * as React from
|
1
|
+
import * as React from "react";
|
2
2
|
import * as X from "../view/index.js";
|
3
|
-
import { createComponent } from
|
3
|
+
import { createComponent } from "@lit-labs/react";
|
4
4
|
export const DetailsExpand = createComponent({
|
5
|
-
tagName:
|
5
|
+
tagName: "details-expand",
|
6
6
|
elementClass: X.DetailsExpand,
|
7
7
|
react: React
|
8
8
|
});
|
9
9
|
export const DownDrop = createComponent({
|
10
|
-
tagName:
|
10
|
+
tagName: "down-drop",
|
11
11
|
elementClass: X.DownDrop,
|
12
12
|
react: React
|
13
13
|
});
|
14
14
|
export const MenuList = createComponent({
|
15
|
-
tagName:
|
15
|
+
tagName: "menu-list",
|
16
16
|
elementClass: X.MenuList,
|
17
17
|
react: React
|
18
18
|
});
|
19
19
|
export const RouteView = createComponent({
|
20
|
-
tagName:
|
20
|
+
tagName: "route-view",
|
21
21
|
elementClass: X.RouteView,
|
22
22
|
react: React
|
23
23
|
});
|
24
24
|
export const ScrollX = createComponent({
|
25
|
-
tagName:
|
25
|
+
tagName: "scroll-x",
|
26
26
|
elementClass: X.ScrollX,
|
27
27
|
react: React
|
28
28
|
});
|
package/view/details-expand.js
CHANGED
@@ -18,7 +18,7 @@ let DetailsExpand = class DetailsExpand extends STD {
|
|
18
18
|
return html `<dl>
|
19
19
|
<dt ?open=${this.open} @click=${() => this.toggle()} style="flex-direction:row${this.reverse ? "-reverse" : ""}">
|
20
20
|
<span>${this.summary}<slot name="summary"></slot></span>
|
21
|
-
<i style="transform: rotate(${this.reverse ? "-18" : ""}0deg);">${!this.querySelector(
|
21
|
+
<i style="transform: rotate(${this.reverse ? "-18" : ""}0deg);">${!this.querySelector(`slot[name="icon"]`) ? html `<svg fill="currentColor" viewBox="0 0 16 16"><path d="m3.86 8.753 5.482 4.796c.646.566 1.658.106 1.658-.753V3.204a1 1 0 0 0-1.659-.753l-5.48 4.796a1 1 0 0 0 0 1.506z"/></svg>` : html `<slot name="icon"></slot>`}</i>
|
22
22
|
</dt>
|
23
23
|
<dd ?open=${this.open} ?float=${this.float}>
|
24
24
|
<section><slot></slot></section>
|
package/view/down-drop.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import STD from
|
1
|
+
import STD from "../layout/std.js";
|
2
2
|
export declare class DownDrop extends STD {
|
3
3
|
static styles: import("@lit/reactive-element/css-tag.js").CSSResultGroup[];
|
4
4
|
_div: HTMLDivElement;
|
@@ -13,7 +13,7 @@ export declare class DownDrop extends STD {
|
|
13
13
|
export default DownDrop;
|
14
14
|
declare global {
|
15
15
|
interface HTMLElementTagNameMap {
|
16
|
-
|
16
|
+
"down-drop": DownDrop;
|
17
17
|
}
|
18
18
|
}
|
19
19
|
//# sourceMappingURL=down-drop.d.ts.map
|
package/view/down-drop.js
CHANGED
@@ -4,8 +4,8 @@ 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 { html, css, query, define } from
|
8
|
-
import STD from
|
7
|
+
import { html, css, query, define } from "../deps.js";
|
8
|
+
import STD from "../layout/std.js";
|
9
9
|
let DownDrop = class DownDrop extends STD {
|
10
10
|
render() {
|
11
11
|
return html `<main>
|
@@ -15,8 +15,8 @@ let DownDrop = class DownDrop extends STD {
|
|
15
15
|
</main>`;
|
16
16
|
}
|
17
17
|
async firstUpdated() {
|
18
|
-
if (this.querySelector(
|
19
|
-
document.addEventListener(
|
18
|
+
if (this.querySelector(`[slot="focus"]`)) {
|
19
|
+
document.addEventListener("click", (e) => {
|
20
20
|
if (!this.contains(e.target)) {
|
21
21
|
this.close();
|
22
22
|
}
|
@@ -24,7 +24,7 @@ let DownDrop = class DownDrop extends STD {
|
|
24
24
|
}
|
25
25
|
await this.updateComplete;
|
26
26
|
this.resize();
|
27
|
-
window.addEventListener(
|
27
|
+
window.addEventListener("resize", () => {
|
28
28
|
clearTimeout(this._timer);
|
29
29
|
this._timer = setTimeout(() => {
|
30
30
|
this._div.style.transform = `translateX(0)`;
|
@@ -85,10 +85,10 @@ DownDrop.styles = [STD.styles, css `
|
|
85
85
|
}
|
86
86
|
`];
|
87
87
|
__decorate([
|
88
|
-
query(
|
88
|
+
query("div")
|
89
89
|
], DownDrop.prototype, "_div", void 0);
|
90
90
|
DownDrop = __decorate([
|
91
|
-
define(
|
91
|
+
define("down-drop")
|
92
92
|
], DownDrop);
|
93
93
|
export { DownDrop };
|
94
94
|
export default DownDrop;
|
package/view/menu-list.d.ts
CHANGED
@@ -6,7 +6,6 @@ export declare class MenuList extends STD {
|
|
6
6
|
_section: HTMLElement;
|
7
7
|
static styles: import("@lit/reactive-element/css-tag.js").CSSResultGroup[];
|
8
8
|
render(): import("lit-html").TemplateResult<1>;
|
9
|
-
firstUpdated(): void;
|
10
9
|
toggle(to?: boolean): void;
|
11
10
|
}
|
12
11
|
export default MenuList;
|
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":"AACA,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,
|
1
|
+
{"version":3,"file":"menu-list.d.ts","sourceRoot":"","sources":["../../src/view/menu-list.ts"],"names":[],"mappings":"AACA,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,8DAqBV;IACH,MAAM;IAcN,MAAM,CAAC,EAAE,UAAa;CAKvB;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
@@ -13,22 +13,19 @@ let MenuList = class MenuList extends STD {
|
|
13
13
|
this.open = false;
|
14
14
|
}
|
15
15
|
render() {
|
16
|
+
const notitle = !this.summary && !this.querySelector(`[slot="summary"]`);
|
17
|
+
if (notitle) {
|
18
|
+
this.open = true;
|
19
|
+
}
|
16
20
|
return html `<dl>
|
17
|
-
<dt ?open=${this.open} >
|
21
|
+
<dt ?open=${this.open} ?notitle=${notitle} >
|
18
22
|
<span>${this.summary}<slot name="summary"></slot></span>
|
19
|
-
<i @click=${() => this.toggle()}>${!this.querySelector(
|
23
|
+
<i @click=${() => this.toggle()}>${!this.querySelector(`[slot="icon"]`) ? 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>` : html `<slot name="icon"></slot>`}</i>
|
20
24
|
</dt>
|
21
25
|
<dd ?open=${this.open}>
|
22
26
|
<section><slot></slot></section>
|
23
27
|
</dd></dl>`;
|
24
28
|
}
|
25
|
-
firstUpdated() {
|
26
|
-
const NoTitle = !this.summary && !this.querySelector('[slot="summary"]');
|
27
|
-
if (NoTitle) {
|
28
|
-
this.shadowRoot.querySelector("dt").style.display = "none";
|
29
|
-
this.open = true;
|
30
|
-
}
|
31
|
-
}
|
32
29
|
toggle(to = !this.open) {
|
33
30
|
this.open = to;
|
34
31
|
this.dispatchEvent(new CustomEvent("change", { detail: this.open }));
|
@@ -51,7 +48,11 @@ MenuList.styles = [STD.styles, DLsharecss, css `
|
|
51
48
|
}
|
52
49
|
[open] svg{
|
53
50
|
transform: rotate(90deg);
|
54
|
-
}
|
51
|
+
}
|
52
|
+
[notitle]{
|
53
|
+
display: none;
|
54
|
+
}
|
55
|
+
`];
|
55
56
|
__decorate([
|
56
57
|
property()
|
57
58
|
], MenuList.prototype, "summary", void 0);
|
@@ -62,7 +63,7 @@ __decorate([
|
|
62
63
|
state()
|
63
64
|
], MenuList.prototype, "def", void 0);
|
64
65
|
__decorate([
|
65
|
-
query(
|
66
|
+
query("section")
|
66
67
|
], MenuList.prototype, "_section", void 0);
|
67
68
|
MenuList = __decorate([
|
68
69
|
define("menu-list")
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import * as X from "../../effect/index.js";
|
2
|
+
export declare const OVText: import("@lit-labs/react").ReactWebComponent<X.OVText, {}>;
|
3
|
+
export declare const OVPort: import("@lit-labs/react").ReactWebComponent<X.OVPort, {}>;
|
4
|
+
export declare const OVButton: import("@lit-labs/react").ReactWebComponent<X.OVButton, {}>;
|
5
|
+
export declare const ROPort: import("@lit-labs/react").ReactWebComponent<X.ROPort, {}>;
|
6
|
+
export declare const TWText: import("@lit-labs/react").ReactWebComponent<X.TWText, {
|
7
|
+
onChange: string;
|
8
|
+
onDone: string;
|
9
|
+
}>;
|
10
|
+
//# sourceMappingURL=effect.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"effect.d.ts","sourceRoot":"","sources":["../../../src/view/react/effect.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,uBAAuB,CAAC;AAE3C,eAAO,MAAM,MAAM,2DAIjB,CAAC;AACH,eAAO,MAAM,MAAM,2DAIjB,CAAC;AACH,eAAO,MAAM,QAAQ,6DAInB,CAAC;AACH,eAAO,MAAM,MAAM,2DAIjB,CAAC;AACH,eAAO,MAAM,MAAM;;;EAQjB,CAAC"}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
import * as React from "react";
|
2
|
+
import * as X from "../../effect/index.js";
|
3
|
+
import { createComponent } from "@lit-labs/react";
|
4
|
+
export const OVText = createComponent({
|
5
|
+
tagName: "ov-text",
|
6
|
+
elementClass: X.OVText,
|
7
|
+
react: React
|
8
|
+
});
|
9
|
+
export const OVPort = createComponent({
|
10
|
+
tagName: "ov-port",
|
11
|
+
elementClass: X.OVPort,
|
12
|
+
react: React
|
13
|
+
});
|
14
|
+
export const OVButton = createComponent({
|
15
|
+
tagName: "ov-button",
|
16
|
+
elementClass: X.OVButton,
|
17
|
+
react: React
|
18
|
+
});
|
19
|
+
export const ROPort = createComponent({
|
20
|
+
tagName: "ro-port",
|
21
|
+
elementClass: X.ROPort,
|
22
|
+
react: React
|
23
|
+
});
|
24
|
+
export const TWText = createComponent({
|
25
|
+
tagName: "tw-text",
|
26
|
+
elementClass: X.TWText,
|
27
|
+
react: React,
|
28
|
+
events: {
|
29
|
+
onChange: "change",
|
30
|
+
onDone: "done"
|
31
|
+
}
|
32
|
+
});
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import * as X from "../../group/index.js";
|
2
|
+
export declare const AvatarGroup: import("@lit-labs/react").ReactWebComponent<X.AvatarGroup, {}>;
|
3
|
+
export declare const ButtonGroup: import("@lit-labs/react").ReactWebComponent<X.ButtonGroup, {}>;
|
4
|
+
export declare const DetailsGroup: import("@lit-labs/react").ReactWebComponent<X.DetailsGroup, {}>;
|
5
|
+
//# sourceMappingURL=group.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"group.d.ts","sourceRoot":"","sources":["../../../src/view/react/group.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,sBAAsB,CAAC;AAE1C,eAAO,MAAM,WAAW,gEAItB,CAAC;AACH,eAAO,MAAM,WAAW,gEAItB,CAAC;AACH,eAAO,MAAM,YAAY,iEAIvB,CAAC"}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import * as React from "react";
|
2
|
+
import * as X from "../../group/index.js";
|
3
|
+
import { createComponent } from "@lit-labs/react";
|
4
|
+
export const AvatarGroup = createComponent({
|
5
|
+
tagName: "avatar-group",
|
6
|
+
elementClass: X.AvatarGroup,
|
7
|
+
react: React
|
8
|
+
});
|
9
|
+
export const ButtonGroup = createComponent({
|
10
|
+
tagName: "button-group",
|
11
|
+
elementClass: X.ButtonGroup,
|
12
|
+
react: React
|
13
|
+
});
|
14
|
+
export const DetailsGroup = createComponent({
|
15
|
+
tagName: "details-group",
|
16
|
+
elementClass: X.DetailsGroup,
|
17
|
+
react: React
|
18
|
+
});
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/view/react/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC"}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
import * as X from "../../input-form/index.js";
|
2
|
+
export declare const BaseForm: import("@lit-labs/react").ReactWebComponent<X.BaseForm, {}>;
|
3
|
+
export declare const BaseInput: import("@lit-labs/react").ReactWebComponent<X.BaseInput, {
|
4
|
+
onInput: string;
|
5
|
+
onChange: string;
|
6
|
+
}>;
|
7
|
+
export declare const ExpInput: import("@lit-labs/react").ReactWebComponent<X.ExpInput, {
|
8
|
+
onInput: string;
|
9
|
+
onChange: string;
|
10
|
+
}>;
|
11
|
+
export declare const LabelInput: import("@lit-labs/react").ReactWebComponent<X.LabelInput, {
|
12
|
+
onInput: string;
|
13
|
+
onChange: string;
|
14
|
+
}>;
|
15
|
+
export declare const SearchInput: import("@lit-labs/react").ReactWebComponent<X.SearchInput, {
|
16
|
+
onInput: string;
|
17
|
+
onChange: string;
|
18
|
+
}>;
|
19
|
+
export declare const SearchW: import("@lit-labs/react").ReactWebComponent<X.SearchW, {}>;
|
20
|
+
export declare const SelectInput: import("@lit-labs/react").ReactWebComponent<X.SelectInput, {
|
21
|
+
onInput: string;
|
22
|
+
onChange: string;
|
23
|
+
}>;
|
24
|
+
export declare const SignForm: import("@lit-labs/react").ReactWebComponent<X.SignForm, {}>;
|
25
|
+
export declare const SplitInput: import("@lit-labs/react").ReactWebComponent<X.SplitInput, {
|
26
|
+
onInput: string;
|
27
|
+
onChange: string;
|
28
|
+
}>;
|
29
|
+
export declare const SwitchInput: import("@lit-labs/react").ReactWebComponent<X.SwitchInput, {
|
30
|
+
onInput: string;
|
31
|
+
onChange: string;
|
32
|
+
}>;
|
33
|
+
//# sourceMappingURL=input-form.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"input-form.d.ts","sourceRoot":"","sources":["../../../src/view/react/input-form.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,2BAA2B,CAAC;AAM/C,eAAO,MAAM,QAAQ,6DAInB,CAAC;AACH,eAAO,MAAM,SAAS;;;EAKpB,CAAC;AACH,eAAO,MAAM,QAAQ;;;EAKnB,CAAC;AACH,eAAO,MAAM,UAAU;;;EAKrB,CAAC;AACH,eAAO,MAAM,WAAW;;;EAKtB,CAAC;AACH,eAAO,MAAM,OAAO,4DAIlB,CAAC;AACH,eAAO,MAAM,WAAW;;;EAKtB,CAAC;AACH,eAAO,MAAM,QAAQ,6DAInB,CAAC;AACH,eAAO,MAAM,UAAU;;;EAKrB,CAAC;AACH,eAAO,MAAM,WAAW;;;EAKtB,CAAC"}
|
@@ -0,0 +1,64 @@
|
|
1
|
+
import * as React from "react";
|
2
|
+
import * as X from "../../input-form/index.js";
|
3
|
+
import { createComponent } from "@lit-labs/react";
|
4
|
+
const stdevent = {
|
5
|
+
onInput: "input",
|
6
|
+
onChange: "change"
|
7
|
+
};
|
8
|
+
export const BaseForm = createComponent({
|
9
|
+
tagName: "base-form",
|
10
|
+
elementClass: X.BaseForm,
|
11
|
+
react: React
|
12
|
+
});
|
13
|
+
export const BaseInput = createComponent({
|
14
|
+
tagName: "base-input",
|
15
|
+
elementClass: X.BaseInput,
|
16
|
+
react: React,
|
17
|
+
events: stdevent
|
18
|
+
});
|
19
|
+
export const ExpInput = createComponent({
|
20
|
+
tagName: "exp-input",
|
21
|
+
elementClass: X.ExpInput,
|
22
|
+
react: React,
|
23
|
+
events: stdevent
|
24
|
+
});
|
25
|
+
export const LabelInput = createComponent({
|
26
|
+
tagName: "label-input",
|
27
|
+
elementClass: X.LabelInput,
|
28
|
+
react: React,
|
29
|
+
events: stdevent
|
30
|
+
});
|
31
|
+
export const SearchInput = createComponent({
|
32
|
+
tagName: "search-input",
|
33
|
+
elementClass: X.SearchInput,
|
34
|
+
react: React,
|
35
|
+
events: stdevent
|
36
|
+
});
|
37
|
+
export const SearchW = createComponent({
|
38
|
+
tagName: "search-w",
|
39
|
+
elementClass: X.SearchW,
|
40
|
+
react: React
|
41
|
+
});
|
42
|
+
export const SelectInput = createComponent({
|
43
|
+
tagName: "select-input",
|
44
|
+
elementClass: X.SelectInput,
|
45
|
+
react: React,
|
46
|
+
events: stdevent
|
47
|
+
});
|
48
|
+
export const SignForm = createComponent({
|
49
|
+
tagName: "sign-form",
|
50
|
+
elementClass: X.SignForm,
|
51
|
+
react: React
|
52
|
+
});
|
53
|
+
export const SplitInput = createComponent({
|
54
|
+
tagName: "split-input",
|
55
|
+
elementClass: X.SplitInput,
|
56
|
+
react: React,
|
57
|
+
events: stdevent
|
58
|
+
});
|
59
|
+
export const SwitchInput = createComponent({
|
60
|
+
tagName: "switch-input",
|
61
|
+
elementClass: X.SwitchInput,
|
62
|
+
react: React,
|
63
|
+
events: stdevent
|
64
|
+
});
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import * as X from "../../items/index.js";
|
2
|
+
export declare const AvatarAnchor: import("@lit-labs/react").ReactWebComponent<X.AvatarAnchor, {}>;
|
3
|
+
export declare const BaseButton: import("@lit-labs/react").ReactWebComponent<X.BaseButton, {}>;
|
4
|
+
export declare const AlertItem: import("@lit-labs/react").ReactWebComponent<X.AlertItem, {}>;
|
5
|
+
export declare const DialogItem: import("@lit-labs/react").ReactWebComponent<X.DialogItem, {}>;
|
6
|
+
export declare const LinkAnchor: import("@lit-labs/react").ReactWebComponent<X.LinkAnchor, {}>;
|
7
|
+
export declare const LoadTrack: import("@lit-labs/react").ReactWebComponent<X.LoadTrack, {}>;
|
8
|
+
export declare const SuperAnchor: import("@lit-labs/react").ReactWebComponent<X.SuperAnchor, {}>;
|
9
|
+
//# sourceMappingURL=items.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"items.d.ts","sourceRoot":"","sources":["../../../src/view/react/items.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,sBAAsB,CAAC;AAE1C,eAAO,MAAM,YAAY,iEAIvB,CAAC;AACH,eAAO,MAAM,UAAU,+DAIrB,CAAC;AACH,eAAO,MAAM,SAAS,8DAIpB,CAAC;AACH,eAAO,MAAM,UAAU,+DAIrB,CAAC;AACH,eAAO,MAAM,UAAU,+DAIrB,CAAC;AACH,eAAO,MAAM,SAAS,8DAIpB,CAAC;AACH,eAAO,MAAM,WAAW,gEAItB,CAAC"}
|
@@ -0,0 +1,38 @@
|
|
1
|
+
import * as React from "react";
|
2
|
+
import * as X from "../../items/index.js";
|
3
|
+
import { createComponent } from "@lit-labs/react";
|
4
|
+
export const AvatarAnchor = createComponent({
|
5
|
+
tagName: "avatar-auchor",
|
6
|
+
elementClass: X.AvatarAnchor,
|
7
|
+
react: React
|
8
|
+
});
|
9
|
+
export const BaseButton = createComponent({
|
10
|
+
tagName: "base-button",
|
11
|
+
elementClass: X.BaseButton,
|
12
|
+
react: React
|
13
|
+
});
|
14
|
+
export const AlertItem = createComponent({
|
15
|
+
tagName: "alert-item",
|
16
|
+
elementClass: X.AlertItem,
|
17
|
+
react: React
|
18
|
+
});
|
19
|
+
export const DialogItem = createComponent({
|
20
|
+
tagName: "dailog-item",
|
21
|
+
elementClass: X.DialogItem,
|
22
|
+
react: React
|
23
|
+
});
|
24
|
+
export const LinkAnchor = createComponent({
|
25
|
+
tagName: "link-a",
|
26
|
+
elementClass: X.LinkAnchor,
|
27
|
+
react: React
|
28
|
+
});
|
29
|
+
export const LoadTrack = createComponent({
|
30
|
+
tagName: "load-track",
|
31
|
+
elementClass: X.LoadTrack,
|
32
|
+
react: React
|
33
|
+
});
|
34
|
+
export const SuperAnchor = createComponent({
|
35
|
+
tagName: "super-a",
|
36
|
+
elementClass: X.SuperAnchor,
|
37
|
+
react: React
|
38
|
+
});
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import * as X from "../../layout/index.js";
|
2
|
+
export declare const NavLayout: import("@lit-labs/react").ReactWebComponent<X.NavLayout, {}>;
|
3
|
+
export declare const AsideNav: import("@lit-labs/react").ReactWebComponent<X.NavAside, {}>;
|
4
|
+
export declare const DivLine: import("@lit-labs/react").ReactWebComponent<X.DivLine, {}>;
|
5
|
+
export declare const FlexFlow: import("@lit-labs/react").ReactWebComponent<X.FlexFlow, {}>;
|
6
|
+
export declare const DragBox: import("@lit-labs/react").ReactWebComponent<X.DragBox, {}>;
|
7
|
+
//# sourceMappingURL=layout.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../../src/view/react/layout.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,uBAAuB,CAAC;AAE3C,eAAO,MAAM,SAAS,8DAIpB,CAAC;AACH,eAAO,MAAM,QAAQ,6DAInB,CAAC;AACH,eAAO,MAAM,OAAO,4DAIlB,CAAC;AACH,eAAO,MAAM,QAAQ,6DAInB,CAAC;AACH,eAAO,MAAM,OAAO,4DAIlB,CAAC"}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
import * as React from "react";
|
2
|
+
import * as X from "../../layout/index.js";
|
3
|
+
import { createComponent } from "@lit-labs/react";
|
4
|
+
export const NavLayout = createComponent({
|
5
|
+
tagName: "nav-layout",
|
6
|
+
elementClass: X.NavLayout,
|
7
|
+
react: React
|
8
|
+
});
|
9
|
+
export const AsideNav = createComponent({
|
10
|
+
tagName: "nav-aside",
|
11
|
+
elementClass: X.NavAside,
|
12
|
+
react: React
|
13
|
+
});
|
14
|
+
export const DivLine = createComponent({
|
15
|
+
tagName: "div-line",
|
16
|
+
elementClass: X.DivLine,
|
17
|
+
react: React
|
18
|
+
});
|
19
|
+
export const FlexFlow = createComponent({
|
20
|
+
tagName: "flex-flow",
|
21
|
+
elementClass: X.FlexFlow,
|
22
|
+
react: React
|
23
|
+
});
|
24
|
+
export const DragBox = createComponent({
|
25
|
+
tagName: "drag-box",
|
26
|
+
elementClass: X.DragBox,
|
27
|
+
react: React
|
28
|
+
});
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import * as X from "../index.js";
|
2
|
+
export declare const DetailsExpand: import("@lit-labs/react").ReactWebComponent<X.DetailsExpand, {}>;
|
3
|
+
export declare const DownDrop: import("@lit-labs/react").ReactWebComponent<X.DownDrop, {}>;
|
4
|
+
export declare const MenuList: import("@lit-labs/react").ReactWebComponent<X.MenuList, {}>;
|
5
|
+
export declare const RouteView: import("@lit-labs/react").ReactWebComponent<X.RouteView, {}>;
|
6
|
+
export declare const ScrollX: import("@lit-labs/react").ReactWebComponent<X.ScrollX, {}>;
|
7
|
+
//# sourceMappingURL=view.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"view.d.ts","sourceRoot":"","sources":["../../../src/view/react/view.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,eAAO,MAAM,aAAa,kEAIxB,CAAC;AACH,eAAO,MAAM,QAAQ,6DAInB,CAAC;AACH,eAAO,MAAM,QAAQ,6DAInB,CAAC;AACH,eAAO,MAAM,SAAS,8DAIpB,CAAC;AACH,eAAO,MAAM,OAAO,4DAIlB,CAAC"}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
import * as React from "react";
|
2
|
+
import * as X from "../index.js";
|
3
|
+
import { createComponent } from "@lit-labs/react";
|
4
|
+
export const DetailsExpand = createComponent({
|
5
|
+
tagName: "details-expand",
|
6
|
+
elementClass: X.DetailsExpand,
|
7
|
+
react: React
|
8
|
+
});
|
9
|
+
export const DownDrop = createComponent({
|
10
|
+
tagName: "down-drop",
|
11
|
+
elementClass: X.DownDrop,
|
12
|
+
react: React
|
13
|
+
});
|
14
|
+
export const MenuList = createComponent({
|
15
|
+
tagName: "menu-list",
|
16
|
+
elementClass: X.MenuList,
|
17
|
+
react: React
|
18
|
+
});
|
19
|
+
export const RouteView = createComponent({
|
20
|
+
tagName: "route-view",
|
21
|
+
elementClass: X.RouteView,
|
22
|
+
react: React
|
23
|
+
});
|
24
|
+
export const ScrollX = createComponent({
|
25
|
+
tagName: "scroll-x",
|
26
|
+
elementClass: X.ScrollX,
|
27
|
+
react: React
|
28
|
+
});
|
package/view/route-view.d.ts
CHANGED
@@ -21,15 +21,15 @@ export declare class RouteView extends LitElement {
|
|
21
21
|
path: string;
|
22
22
|
}[];
|
23
23
|
static styles: import("lit").CSSResult;
|
24
|
-
render(): TemplateResult<
|
24
|
+
render(): TemplateResult<1 | 2>;
|
25
25
|
useRouter(): {
|
26
26
|
path: string;
|
27
27
|
params: Record<string, string>;
|
28
28
|
};
|
29
29
|
connectedCallback(): void;
|
30
|
-
render_united(): TemplateResult<
|
31
|
-
render_slotted(): TemplateResult<
|
32
|
-
render_field(): TemplateResult<
|
30
|
+
render_united(): TemplateResult<1 | 2>;
|
31
|
+
render_slotted(): TemplateResult<1 | 2>;
|
32
|
+
render_field(): TemplateResult<1 | 2>;
|
33
33
|
fieldComponent(usedRouteTemplate: string): null | TemplateResult;
|
34
34
|
slottedCompoent(usedRouteTemplate: string, ObjectArrayIncludePath: Array<{
|
35
35
|
path: string;
|
package/view/route-view.js
CHANGED
package/view/scroll-x.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"scroll-x.d.ts","sourceRoot":"","sources":["../../src/view/scroll-x.ts"],"names":[],"mappings":"AACA,OAAO,GAAG,MAAM,UAAU,CAAC;AAC3B,qBACa,OAAQ,SAAQ,GAAG;IAC9B,MAAM,CAAC,MAAM,0BAyBV;IACH,IAAI,QAAQ,gBAEX;IACD,MAAM;IAGN,YAAY;IASZ,MAAM;
|
1
|
+
{"version":3,"file":"scroll-x.d.ts","sourceRoot":"","sources":["../../src/view/scroll-x.ts"],"names":[],"mappings":"AACA,OAAO,GAAG,MAAM,UAAU,CAAC;AAC3B,qBACa,OAAQ,SAAQ,GAAG;IAC9B,MAAM,CAAC,MAAM,0BAyBV;IACH,IAAI,QAAQ,gBAEX;IACD,MAAM;IAGN,YAAY;IASZ,MAAM;CAcP;AACD,eAAe,OAAO,CAAC;AACvB,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,UAAU,EAAE,OAAO,CAAC;KACrB;CACF"}
|