@golemui/gui-lit 0.12.2 → 0.13.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/CHANGELOG.md +16 -0
- package/abstract-calendar-YDgwwbqe.js +528 -0
- package/{accordion.element-81uTv6Ms.js → accordion.element-ChLmV6QT.js} +24 -22
- package/{alert.element-DWrS5ggK.js → alert.element-9QFlqjj9.js} +23 -21
- package/button.element-ATNRRDN3.js +121 -0
- package/calendar-P9DzVryu.js +96 -0
- package/{calendar.element-C1rLK7aY.js → calendar.element-O2of7VBr.js} +25 -22
- package/checkbox.element-DMmer4Jw.js +199 -0
- package/currency.element-C7SZkoPP.js +266 -0
- package/date-CG1562vW.js +786 -0
- package/date-input-VJG8lMVN.js +266 -0
- package/{date-picker.element-GNC8f3Qi.js → date-picker.element-Bcyhc0fb.js} +29 -25
- package/{date.element-Dzw-UJzC.js → date.element-DfXmcgZi.js} +25 -22
- package/{dropdown.element-CebROj9s.js → dropdown.element-DCUI5Y7I.js} +24 -22
- package/errors-QjKhr6mA.js +109 -0
- package/{flex.element-BMqqfxjI.js → flex.element-B0sG0YT1.js} +24 -22
- package/{grid.element-CBMoOuLt.js → grid.element-Bf5aEjkj.js} +24 -22
- package/index.js +2708 -1174
- package/index.umd.cjs +982 -108
- package/lib/components/accordion.element.d.ts +7 -7
- package/lib/components/alert.element.d.ts +6 -6
- package/lib/components/button.element.d.ts +6 -6
- package/lib/components/calendar.element.d.ts +6 -6
- package/lib/components/checkbox.element.d.ts +6 -6
- package/lib/components/currency.element.d.ts +6 -6
- package/lib/components/date-picker.element.d.ts +6 -6
- package/lib/components/date.element.d.ts +6 -6
- package/lib/components/dropdown.element.d.ts +6 -6
- package/lib/components/flex.element.d.ts +6 -6
- package/lib/components/grid.element.d.ts +6 -6
- package/lib/components/list.element.d.ts +6 -6
- package/lib/components/markdown-text.element.d.ts +6 -6
- package/lib/components/markdown.element.d.ts +6 -6
- package/lib/components/number.element.d.ts +6 -6
- package/lib/components/password.element.d.ts +6 -6
- package/lib/components/radiogroup.element.d.ts +6 -6
- package/lib/components/range-calendar.element.d.ts +6 -6
- package/lib/components/range-date-input.element.d.ts +6 -6
- package/lib/components/range-date-picker.element.d.ts +6 -6
- package/lib/components/renderer.element.d.ts +6 -6
- package/lib/components/repeater.element.d.ts +6 -6
- package/lib/components/select.element.d.ts +6 -6
- package/lib/components/tabs.element.d.ts +6 -6
- package/lib/components/textarea.element.d.ts +6 -6
- package/lib/components/textinput.element.d.ts +6 -6
- package/lib/components/toggle.element.d.ts +6 -6
- package/lib/widget.loaders.d.ts +2 -2
- package/list-CtFsv7GB.js +284 -0
- package/{list.element-DIIgN_Ww.js → list.element-G8RNRZXU.js} +30 -27
- package/markdown-text-X-BRJT6K.js +30 -0
- package/{markdown-text.element-DY7b-dU5.js → markdown-text.element-C_1OqrGa.js} +23 -20
- package/markdown.element-CT1JOOM3.js +596 -0
- package/number.element-HaXEg_7U.js +282 -0
- package/one-of-DifUsEYY.js +48 -0
- package/package.json +6 -6
- package/password.element-B4-0SCe4.js +238 -0
- package/radiogroup.element-DzHLgRh1.js +232 -0
- package/range-calendar-qpakwAba.js +326 -0
- package/{range-calendar.element-Bli9UfhN.js → range-calendar.element-C-4qqRGK.js} +20 -17
- package/range-date-input-CrNpOVHt.js +507 -0
- package/{range-date-input.element-BwPvGk5F.js → range-date-input.element-Iq5Y7uLQ.js} +20 -17
- package/{range-date-picker.element-DJQOwDPh.js → range-date-picker.element-4bg4Uraq.js} +29 -25
- package/{renderer.element-B99qD2mz.js → renderer.element-DMsheQGi.js} +19 -17
- package/{repeater.element-AaifWsOB.js → repeater.element-Ry8HyMfW.js} +41 -27
- package/select.element-DuGZjlZY.js +257 -0
- package/tabs-DzSCq_98.js +13 -0
- package/{tabs.element-k8JMNDXi.js → tabs.element-VLrtF1j5.js} +31 -29
- package/templates-Dk1jxLwS.js +75 -0
- package/textarea.element-C8yx2u0o.js +237 -0
- package/textinput.element-DKuplF1A.js +204 -0
- package/toggle.element-NXRrhALB.js +201 -0
- package/button.element-hjhVBamJ.js +0 -56
- package/checkbox.element-bu9_MvED.js +0 -65
- package/currency.element-Bxv2WxAx.js +0 -72
- package/default-list-item-renderer-DNVEjKSX.js +0 -23
- package/markdown.element-ZD_n4ObO.js +0 -73
- package/number.element-B0E7W2TK.js +0 -70
- package/password.element-C4_eLdUO.js +0 -71
- package/radiogroup.element-BD8qBNoO.js +0 -68
- package/select.element-BLxtqB0A.js +0 -74
- package/textarea.element-DgDwfzYP.js +0 -70
- package/textinput.element-DSLFDjfb.js +0 -67
- package/toggle.element-BLu6F99u.js +0 -65
|
@@ -1,21 +1,21 @@
|
|
|
1
|
+
import { FormWidget, LayoutWidget, WithWidget } from '@golemui/core';
|
|
2
|
+
import { LayoutWidgetAdapter, LitFormContext } from '@golemui/lit';
|
|
1
3
|
import { AccordionProps } from '@golemui/gui-shared';
|
|
2
4
|
import { LitElement } from 'lit';
|
|
3
5
|
import { Subscription } from 'rxjs';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export declare class AccordionElement extends LitElement implements Core.WithWidget {
|
|
7
|
-
widget: Core.LayoutWidget;
|
|
6
|
+
export declare class AccordionElement extends LitElement implements WithWidget {
|
|
7
|
+
widget: LayoutWidget;
|
|
8
8
|
activeSections: {
|
|
9
9
|
[key: string]: boolean;
|
|
10
10
|
};
|
|
11
|
-
formContext:
|
|
12
|
-
adapter:
|
|
11
|
+
formContext: LitFormContext<any>;
|
|
12
|
+
adapter: LayoutWidgetAdapter<AccordionProps>;
|
|
13
13
|
subscriptions: Subscription[];
|
|
14
14
|
createRenderRoot(): this;
|
|
15
15
|
updated(changedProperties: any): void;
|
|
16
16
|
connectedCallback(): void;
|
|
17
17
|
onClickButton(uid: string): void;
|
|
18
|
-
getChild(uid: string):
|
|
18
|
+
getChild(uid: string): FormWidget<string>;
|
|
19
19
|
render(): import('lit-html').TemplateResult<1>;
|
|
20
20
|
disconnectedCallback(): void;
|
|
21
21
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { LitElement } from 'lit';
|
|
2
|
+
import { DisplayWidget, WithWidget } from '@golemui/core';
|
|
3
|
+
import { DisplayWidgetAdapter, LitFormContext } from '@golemui/lit';
|
|
2
4
|
import { AlertProps } from '@golemui/gui-shared';
|
|
3
5
|
import { Subscription } from 'rxjs';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
formContext: Lit.LitFormContext<any>;
|
|
9
|
-
adapter: Lit.DisplayWidgetAdapter<AlertProps>;
|
|
6
|
+
export declare class AlertElement extends LitElement implements WithWidget {
|
|
7
|
+
widget: DisplayWidget;
|
|
8
|
+
formContext: LitFormContext<any>;
|
|
9
|
+
adapter: DisplayWidgetAdapter<AlertProps>;
|
|
10
10
|
subscriptions: Subscription[];
|
|
11
11
|
createRenderRoot(): this;
|
|
12
12
|
updated(changedProperties: any): void;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import { ActionWidget, WithWidget } from '@golemui/core';
|
|
2
|
+
import { ActionWidgetAdapter, LitFormContext } from '@golemui/lit';
|
|
1
3
|
import { LitElement } from 'lit';
|
|
2
4
|
import { Subscription } from 'rxjs';
|
|
3
5
|
import { ButtonProps } from '@golemui/gui-shared';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
formContext: Lit.LitFormContext<any>;
|
|
9
|
-
adapter: Lit.ActionWidgetAdapter<ButtonProps>;
|
|
6
|
+
export declare class ButtonElement extends LitElement implements WithWidget {
|
|
7
|
+
widget: ActionWidget;
|
|
8
|
+
formContext: LitFormContext<any>;
|
|
9
|
+
adapter: ActionWidgetAdapter<ButtonProps>;
|
|
10
10
|
subscriptions: Subscription[];
|
|
11
11
|
createRenderRoot(): this;
|
|
12
12
|
updated(changedProperties: any): void;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import { InputWidget, WithWidget } from '@golemui/core';
|
|
2
|
+
import { InputWidgetAdapter, LitFormContext } from '@golemui/lit';
|
|
1
3
|
import { CalendarProps } from '@golemui/gui-shared';
|
|
2
4
|
import { LitElement } from 'lit';
|
|
3
5
|
import { Subscription } from 'rxjs';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
formContext: Lit.LitFormContext<any>;
|
|
9
|
-
adapter: Lit.InputWidgetAdapter<string, CalendarProps>;
|
|
6
|
+
export declare class CalendarElement extends LitElement implements WithWidget {
|
|
7
|
+
widget: InputWidget<string>;
|
|
8
|
+
formContext: LitFormContext<any>;
|
|
9
|
+
adapter: InputWidgetAdapter<string, CalendarProps>;
|
|
10
10
|
subscriptions: Subscription[];
|
|
11
11
|
createRenderRoot(): this;
|
|
12
12
|
updated(changedProperties: any): void;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import { InputWidget, WithWidget } from '@golemui/core';
|
|
2
|
+
import { InputWidgetAdapter, LitFormContext } from '@golemui/lit';
|
|
1
3
|
import { CheckboxProps } from '@golemui/gui-shared';
|
|
2
4
|
import { LitElement } from 'lit';
|
|
3
5
|
import { Subscription } from 'rxjs';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
formContext: Lit.LitFormContext<any>;
|
|
9
|
-
adapter: Lit.InputWidgetAdapter<boolean, CheckboxProps>;
|
|
6
|
+
export declare class CheckboxElement extends LitElement implements WithWidget {
|
|
7
|
+
widget: InputWidget<boolean>;
|
|
8
|
+
formContext: LitFormContext<any>;
|
|
9
|
+
adapter: InputWidgetAdapter<boolean, CheckboxProps>;
|
|
10
10
|
subscriptions: Subscription[];
|
|
11
11
|
createRenderRoot(): this;
|
|
12
12
|
updated(changedProperties: any): void;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import { InputWidget, WithWidget } from '@golemui/core';
|
|
2
|
+
import { InputWidgetAdapter, LitFormContext } from '@golemui/lit';
|
|
1
3
|
import { CurrencyProps } from '@golemui/gui-shared';
|
|
2
4
|
import { LitElement } from 'lit';
|
|
3
5
|
import { Subscription } from 'rxjs';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
formContext: Lit.LitFormContext<any>;
|
|
9
|
-
adapter: Lit.InputWidgetAdapter<number, CurrencyProps>;
|
|
6
|
+
export declare class CurrencyElement extends LitElement implements WithWidget {
|
|
7
|
+
widget: InputWidget<number>;
|
|
8
|
+
formContext: LitFormContext<any>;
|
|
9
|
+
adapter: InputWidgetAdapter<number, CurrencyProps>;
|
|
10
10
|
subscriptions: Subscription[];
|
|
11
11
|
createRenderRoot(): this;
|
|
12
12
|
updated(changedProperties: any): void;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import { InputWidget, WithWidget } from '@golemui/core';
|
|
2
|
+
import { InputWidgetAdapter, LitFormContext } from '@golemui/lit';
|
|
1
3
|
import { DatePickerProps } from '@golemui/gui-shared';
|
|
2
4
|
import { LitElement } from 'lit';
|
|
3
5
|
import { Subscription } from 'rxjs';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
formContext: Lit.LitFormContext<any>;
|
|
9
|
-
adapter: Lit.InputWidgetAdapter<string, DatePickerProps>;
|
|
6
|
+
export declare class DatePickerElement extends LitElement implements WithWidget {
|
|
7
|
+
widget: InputWidget<string>;
|
|
8
|
+
formContext: LitFormContext<any>;
|
|
9
|
+
adapter: InputWidgetAdapter<string, DatePickerProps>;
|
|
10
10
|
dateInput?: HTMLElement;
|
|
11
11
|
calendarInput?: HTMLElement;
|
|
12
12
|
isCalendarOpen: boolean;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import { InputWidget, WithWidget } from '@golemui/core';
|
|
2
|
+
import { InputWidgetAdapter, LitFormContext } from '@golemui/lit';
|
|
1
3
|
import { DatePickerProps } from '@golemui/gui-shared';
|
|
2
4
|
import { LitElement } from 'lit';
|
|
3
5
|
import { Subscription } from 'rxjs';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
formContext: Lit.LitFormContext<any>;
|
|
9
|
-
adapter: Lit.InputWidgetAdapter<string, DatePickerProps>;
|
|
6
|
+
export declare class DateElement extends LitElement implements WithWidget {
|
|
7
|
+
widget: InputWidget<string>;
|
|
8
|
+
formContext: LitFormContext<any>;
|
|
9
|
+
adapter: InputWidgetAdapter<string, DatePickerProps>;
|
|
10
10
|
subscriptions: Subscription[];
|
|
11
11
|
createRenderRoot(): this;
|
|
12
12
|
updated(changedProperties: any): void;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import { InputWidget, WithWidget } from '@golemui/core';
|
|
2
|
+
import { InputWidgetAdapter, LitFormContext } from '@golemui/lit';
|
|
1
3
|
import { DropdownProps } from '@golemui/gui-shared';
|
|
2
4
|
import { LitElement } from 'lit';
|
|
3
5
|
import { Subject, Subscription } from 'rxjs';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
formContext: Lit.LitFormContext<any>;
|
|
9
|
-
adapter: Lit.InputWidgetAdapter<string, DropdownProps<never>>;
|
|
6
|
+
export declare class DropdownElement extends LitElement implements WithWidget {
|
|
7
|
+
widget: InputWidget<string>;
|
|
8
|
+
formContext: LitFormContext<any>;
|
|
9
|
+
adapter: InputWidgetAdapter<string, DropdownProps<never>>;
|
|
10
10
|
debouncer: Subject<string>;
|
|
11
11
|
subscriptions: Subscription[];
|
|
12
12
|
private _range;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import { LayoutWidget, WithWidget } from '@golemui/core';
|
|
2
|
+
import { LayoutWidgetAdapter, LitFormContext } from '@golemui/lit';
|
|
1
3
|
import { FlexProps } from '@golemui/gui-shared';
|
|
2
4
|
import { LitElement } from 'lit';
|
|
3
5
|
import { Subscription } from 'rxjs';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
formContext: Lit.LitFormContext<any>;
|
|
9
|
-
adapter: Lit.LayoutWidgetAdapter<FlexProps>;
|
|
6
|
+
export declare class FlexElement extends LitElement implements WithWidget {
|
|
7
|
+
widget: LayoutWidget;
|
|
8
|
+
formContext: LitFormContext<any>;
|
|
9
|
+
adapter: LayoutWidgetAdapter<FlexProps>;
|
|
10
10
|
subscriptions: Subscription[];
|
|
11
11
|
createRenderRoot(): this;
|
|
12
12
|
updated(changedProperties: any): void;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import { LayoutWidget, WithWidget } from '@golemui/core';
|
|
2
|
+
import { LayoutWidgetAdapter, LitFormContext } from '@golemui/lit';
|
|
1
3
|
import { GridProps } from '@golemui/gui-shared';
|
|
2
4
|
import { LitElement } from 'lit';
|
|
3
5
|
import { Subscription } from 'rxjs';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
formContext: Lit.LitFormContext<any>;
|
|
9
|
-
adapter: Lit.LayoutWidgetAdapter<GridProps>;
|
|
6
|
+
export declare class GridElement extends LitElement implements WithWidget {
|
|
7
|
+
widget: LayoutWidget;
|
|
8
|
+
formContext: LitFormContext<any>;
|
|
9
|
+
adapter: LayoutWidgetAdapter<GridProps>;
|
|
10
10
|
subscriptions: Subscription[];
|
|
11
11
|
createRenderRoot(): this;
|
|
12
12
|
updated(changedProperties: any): void;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import { InputWidget, WithWidget } from '@golemui/core';
|
|
2
|
+
import { InputWidgetAdapter, LitFormContext } from '@golemui/lit';
|
|
1
3
|
import { ListProps } from '@golemui/gui-shared';
|
|
2
4
|
import { LitElement } from 'lit';
|
|
3
5
|
import { Subscription } from 'rxjs';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
formContext: Lit.LitFormContext<any>;
|
|
9
|
-
adapter: Lit.InputWidgetAdapter<string, ListProps<any>>;
|
|
6
|
+
export declare class ListElement extends LitElement implements WithWidget {
|
|
7
|
+
widget: InputWidget<string>;
|
|
8
|
+
formContext: LitFormContext<any>;
|
|
9
|
+
adapter: InputWidgetAdapter<string, ListProps<any>>;
|
|
10
10
|
subscriptions: Subscription[];
|
|
11
11
|
private _range;
|
|
12
12
|
private _listItems;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { LitElement } from 'lit';
|
|
2
|
+
import { DisplayWidget, WithWidget } from '@golemui/core';
|
|
3
|
+
import { DisplayWidgetAdapter, LitFormContext } from '@golemui/lit';
|
|
2
4
|
import { MarkdownTextProps } from '@golemui/gui-shared';
|
|
3
5
|
import { Subscription } from 'rxjs';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
formContext: Lit.LitFormContext<any>;
|
|
9
|
-
adapter: Lit.DisplayWidgetAdapter<MarkdownTextProps>;
|
|
6
|
+
export declare class MarkdownTextElement extends LitElement implements WithWidget {
|
|
7
|
+
widget: DisplayWidget;
|
|
8
|
+
formContext: LitFormContext<any>;
|
|
9
|
+
adapter: DisplayWidgetAdapter<MarkdownTextProps>;
|
|
10
10
|
subscriptions: Subscription[];
|
|
11
11
|
createRenderRoot(): this;
|
|
12
12
|
updated(changedProperties: any): void;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import { InputWidget, WithWidget } from '@golemui/core';
|
|
2
|
+
import { InputWidgetAdapter, LitFormContext } from '@golemui/lit';
|
|
1
3
|
import { MarkdownProps } from '@golemui/gui-shared';
|
|
2
4
|
import { LitElement } from 'lit';
|
|
3
5
|
import { Subscription } from 'rxjs';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
formContext: Lit.LitFormContext<any>;
|
|
9
|
-
adapter: Lit.InputWidgetAdapter<string, MarkdownProps>;
|
|
6
|
+
export declare class MarkdownElement extends LitElement implements WithWidget {
|
|
7
|
+
widget: InputWidget<string>;
|
|
8
|
+
formContext: LitFormContext<any>;
|
|
9
|
+
adapter: InputWidgetAdapter<string, MarkdownProps>;
|
|
10
10
|
subscriptions: Subscription[];
|
|
11
11
|
createRenderRoot(): this;
|
|
12
12
|
updated(changedProperties: any): void;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import { InputWidget, WithWidget } from '@golemui/core';
|
|
2
|
+
import { InputWidgetAdapter, LitFormContext } from '@golemui/lit';
|
|
1
3
|
import { NumberinputProps } from '@golemui/gui-shared';
|
|
2
4
|
import { LitElement } from 'lit';
|
|
3
5
|
import { Subscription } from 'rxjs';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
formContext: Lit.LitFormContext<any>;
|
|
9
|
-
adapter: Lit.InputWidgetAdapter<number, NumberinputProps>;
|
|
6
|
+
export declare class NumberElement extends LitElement implements WithWidget {
|
|
7
|
+
widget: InputWidget<number>;
|
|
8
|
+
formContext: LitFormContext<any>;
|
|
9
|
+
adapter: InputWidgetAdapter<number, NumberinputProps>;
|
|
10
10
|
subscriptions: Subscription[];
|
|
11
11
|
createRenderRoot(): this;
|
|
12
12
|
updated(changedProperties: any): void;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import { InputWidget, WithWidget } from '@golemui/core';
|
|
2
|
+
import { InputWidgetAdapter, LitFormContext } from '@golemui/lit';
|
|
1
3
|
import { PasswordProps } from '@golemui/gui-shared';
|
|
2
4
|
import { LitElement } from 'lit';
|
|
3
5
|
import { Subscription } from 'rxjs';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
formContext: Lit.LitFormContext<any>;
|
|
9
|
-
adapter: Lit.InputWidgetAdapter<string, PasswordProps>;
|
|
6
|
+
export declare class PasswordElement extends LitElement implements WithWidget {
|
|
7
|
+
widget: InputWidget<string>;
|
|
8
|
+
formContext: LitFormContext<any>;
|
|
9
|
+
adapter: InputWidgetAdapter<string, PasswordProps>;
|
|
10
10
|
subscriptions: Subscription[];
|
|
11
11
|
createRenderRoot(): this;
|
|
12
12
|
updated(changedProperties: any): void;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import { InputWidget, WithWidget } from '@golemui/core';
|
|
2
|
+
import { InputWidgetAdapter, LitFormContext } from '@golemui/lit';
|
|
1
3
|
import { RadiogroupProps } from '@golemui/gui-shared';
|
|
2
4
|
import { LitElement } from 'lit';
|
|
3
5
|
import { Subscription } from 'rxjs';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
formContext: Lit.LitFormContext<any>;
|
|
9
|
-
adapter: Lit.InputWidgetAdapter<string, RadiogroupProps>;
|
|
6
|
+
export declare class RadiogroupElement extends LitElement implements WithWidget {
|
|
7
|
+
widget: InputWidget<string>;
|
|
8
|
+
formContext: LitFormContext<any>;
|
|
9
|
+
adapter: InputWidgetAdapter<string, RadiogroupProps>;
|
|
10
10
|
subscriptions: Subscription[];
|
|
11
11
|
createRenderRoot(): this;
|
|
12
12
|
updated(changedProperties: any): void;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import { InputWidget, WithWidget } from '@golemui/core';
|
|
2
|
+
import { InputWidgetAdapter, LitFormContext } from '@golemui/lit';
|
|
1
3
|
import { DateRange, RangeCalendarProps } from '@golemui/gui-shared';
|
|
2
4
|
import { LitElement } from 'lit';
|
|
3
5
|
import { Subscription } from 'rxjs';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
formContext: Lit.LitFormContext<any>;
|
|
9
|
-
adapter: Lit.InputWidgetAdapter<DateRange[], RangeCalendarProps>;
|
|
6
|
+
export declare class RangeCalendarElement extends LitElement implements WithWidget {
|
|
7
|
+
widget: InputWidget<DateRange[]>;
|
|
8
|
+
formContext: LitFormContext<any>;
|
|
9
|
+
adapter: InputWidgetAdapter<DateRange[], RangeCalendarProps>;
|
|
10
10
|
subscriptions: Subscription[];
|
|
11
11
|
createRenderRoot(): this;
|
|
12
12
|
updated(changedProperties: any): void;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import { InputWidget, WithWidget } from '@golemui/core';
|
|
2
|
+
import { InputWidgetAdapter, LitFormContext } from '@golemui/lit';
|
|
1
3
|
import { DateRange, RangeDateInputProps } from '@golemui/gui-shared';
|
|
2
4
|
import { LitElement } from 'lit';
|
|
3
5
|
import { Subscription } from 'rxjs';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
formContext: Lit.LitFormContext<any>;
|
|
9
|
-
adapter: Lit.InputWidgetAdapter<DateRange[], RangeDateInputProps>;
|
|
6
|
+
export declare class RangeDateInputElement extends LitElement implements WithWidget {
|
|
7
|
+
widget: InputWidget<DateRange[]>;
|
|
8
|
+
formContext: LitFormContext<any>;
|
|
9
|
+
adapter: InputWidgetAdapter<DateRange[], RangeDateInputProps>;
|
|
10
10
|
subscriptions: Subscription[];
|
|
11
11
|
createRenderRoot(): this;
|
|
12
12
|
updated(changedProperties: any): void;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import { InputWidget, WithWidget } from '@golemui/core';
|
|
2
|
+
import { InputWidgetAdapter, LitFormContext } from '@golemui/lit';
|
|
1
3
|
import { DateRange, RangeDatePickerProps } from '@golemui/gui-shared';
|
|
2
4
|
import { LitElement } from 'lit';
|
|
3
5
|
import { Subscription } from 'rxjs';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
formContext: Lit.LitFormContext<any>;
|
|
9
|
-
adapter: Lit.InputWidgetAdapter<DateRange[], RangeDatePickerProps>;
|
|
6
|
+
export declare class RangeDatePickerElement extends LitElement implements WithWidget {
|
|
7
|
+
widget: InputWidget<DateRange[]>;
|
|
8
|
+
formContext: LitFormContext<any>;
|
|
9
|
+
adapter: InputWidgetAdapter<DateRange[], RangeDatePickerProps>;
|
|
10
10
|
dateInput?: HTMLElement;
|
|
11
11
|
calendarInput?: HTMLElement;
|
|
12
12
|
isCalendarOpen: boolean;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import { DisplayWidget, WithWidget } from '@golemui/core';
|
|
2
|
+
import { DisplayWidgetAdapter, LitFormContext } from '@golemui/lit';
|
|
1
3
|
import { RendererProps } from '@golemui/gui-shared';
|
|
2
4
|
import { LitElement } from 'lit';
|
|
3
5
|
import { Subscription } from 'rxjs';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
formContext: Lit.LitFormContext<any>;
|
|
9
|
-
adapter: Lit.DisplayWidgetAdapter<RendererProps>;
|
|
6
|
+
export declare class RendererElement extends LitElement implements WithWidget {
|
|
7
|
+
widget: DisplayWidget;
|
|
8
|
+
formContext: LitFormContext<any>;
|
|
9
|
+
adapter: DisplayWidgetAdapter<RendererProps>;
|
|
10
10
|
subscriptions: Subscription[];
|
|
11
11
|
createRenderRoot(): this;
|
|
12
12
|
updated(changedProperties: any): void;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import { InputWidget, WithWidget } from '@golemui/core';
|
|
1
2
|
import { RepeaterProps } from '@golemui/gui-shared';
|
|
3
|
+
import { InputWidgetAdapter, LitFormContext } from '@golemui/lit';
|
|
2
4
|
import { LitElement } from 'lit';
|
|
3
5
|
import { Subscription } from 'rxjs';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
formContext: Lit.LitFormContext<any>;
|
|
9
|
-
adapter: Lit.InputWidgetAdapter<Record<string, unknown>[], RepeaterProps<any>>;
|
|
6
|
+
export declare class RepeaterElement extends LitElement implements WithWidget {
|
|
7
|
+
widget: InputWidget<Record<string, unknown>[]>;
|
|
8
|
+
formContext: LitFormContext<any>;
|
|
9
|
+
adapter: InputWidgetAdapter<Record<string, unknown>[], RepeaterProps<any>>;
|
|
10
10
|
isFocused: boolean;
|
|
11
11
|
private _repeaterRef;
|
|
12
12
|
subscriptions: Subscription[];
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import { InputWidget, WithWidget } from '@golemui/core';
|
|
2
|
+
import { InputWidgetAdapter, LitFormContext } from '@golemui/lit';
|
|
1
3
|
import { SelectProps } from '@golemui/gui-shared';
|
|
2
4
|
import { LitElement } from 'lit';
|
|
3
5
|
import { Subscription } from 'rxjs';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
formContext: Lit.LitFormContext<any>;
|
|
9
|
-
adapter: Lit.InputWidgetAdapter<string, SelectProps>;
|
|
6
|
+
export declare class SelectElement extends LitElement implements WithWidget {
|
|
7
|
+
widget: InputWidget<string>;
|
|
8
|
+
formContext: LitFormContext<any>;
|
|
9
|
+
adapter: InputWidgetAdapter<string, SelectProps>;
|
|
10
10
|
subscriptions: Subscription[];
|
|
11
11
|
createRenderRoot(): this;
|
|
12
12
|
updated(changedProperties: any): void;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
+
import { LayoutWidget, WithWidget } from '@golemui/core';
|
|
2
|
+
import { LayoutWidgetAdapter, LitFormContext } from '@golemui/lit';
|
|
1
3
|
import { TabsProps } from '@golemui/gui-shared';
|
|
2
4
|
import { LitElement, PropertyValues } from 'lit';
|
|
3
5
|
import { Subscription } from 'rxjs';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export declare class TabsElement extends LitElement implements Core.WithWidget {
|
|
7
|
-
widget: Core.LayoutWidget;
|
|
6
|
+
export declare class TabsElement extends LitElement implements WithWidget {
|
|
7
|
+
widget: LayoutWidget;
|
|
8
8
|
startSentinel: HTMLElement;
|
|
9
9
|
endSentinel: HTMLElement;
|
|
10
10
|
isStartVisible: boolean;
|
|
11
11
|
isEndVisible: boolean;
|
|
12
12
|
tabButtons: HTMLButtonElement[];
|
|
13
13
|
activeTab: string;
|
|
14
|
-
formContext:
|
|
15
|
-
adapter:
|
|
14
|
+
formContext: LitFormContext<any>;
|
|
15
|
+
adapter: LayoutWidgetAdapter<TabsProps>;
|
|
16
16
|
subscriptions: Subscription[];
|
|
17
17
|
private startObserver?;
|
|
18
18
|
private endObserver?;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import { InputWidget, WithWidget } from '@golemui/core';
|
|
2
|
+
import { InputWidgetAdapter, LitFormContext } from '@golemui/lit';
|
|
1
3
|
import { TextareaProps } from '@golemui/gui-shared';
|
|
2
4
|
import { LitElement } from 'lit';
|
|
3
5
|
import { Subscription } from 'rxjs';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
formContext: Lit.LitFormContext<any>;
|
|
9
|
-
adapter: Lit.InputWidgetAdapter<string, TextareaProps>;
|
|
6
|
+
export declare class TextareaElement extends LitElement implements WithWidget {
|
|
7
|
+
widget: InputWidget<string>;
|
|
8
|
+
formContext: LitFormContext<any>;
|
|
9
|
+
adapter: InputWidgetAdapter<string, TextareaProps>;
|
|
10
10
|
subscriptions: Subscription[];
|
|
11
11
|
createRenderRoot(): this;
|
|
12
12
|
updated(changedProperties: any): void;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import { InputWidget, WithWidget } from '@golemui/core';
|
|
2
|
+
import { InputWidgetAdapter, LitFormContext } from '@golemui/lit';
|
|
1
3
|
import { TextinputProps } from '@golemui/gui-shared';
|
|
2
4
|
import { LitElement } from 'lit';
|
|
3
5
|
import { Subscription } from 'rxjs';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
formContext: Lit.LitFormContext<any>;
|
|
9
|
-
adapter: Lit.InputWidgetAdapter<string, TextinputProps>;
|
|
6
|
+
export declare class TextinputElement extends LitElement implements WithWidget {
|
|
7
|
+
widget: InputWidget<string>;
|
|
8
|
+
formContext: LitFormContext<any>;
|
|
9
|
+
adapter: InputWidgetAdapter<string, TextinputProps>;
|
|
10
10
|
subscriptions: Subscription[];
|
|
11
11
|
createRenderRoot(): this;
|
|
12
12
|
updated(changedProperties: any): void;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import { InputWidget, WithWidget } from '@golemui/core';
|
|
2
|
+
import { InputWidgetAdapter, LitFormContext } from '@golemui/lit';
|
|
1
3
|
import { ToggleProps } from '@golemui/gui-shared';
|
|
2
4
|
import { LitElement } from 'lit';
|
|
3
5
|
import { Subscription } from 'rxjs';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
formContext: Lit.LitFormContext<any>;
|
|
9
|
-
adapter: Lit.InputWidgetAdapter<boolean, ToggleProps>;
|
|
6
|
+
export declare class ToggleElement extends LitElement implements WithWidget {
|
|
7
|
+
widget: InputWidget<boolean>;
|
|
8
|
+
formContext: LitFormContext<any>;
|
|
9
|
+
adapter: InputWidgetAdapter<boolean, ToggleProps>;
|
|
10
10
|
subscriptions: Subscription[];
|
|
11
11
|
createRenderRoot(): this;
|
|
12
12
|
updated(changedProperties: any): void;
|
package/lib/widget.loaders.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
+
import { WidgetLoaders, WithWidget } from '@golemui/core';
|
|
1
2
|
import { GolemWidget } from '@golemui/gui-shared';
|
|
2
3
|
import { Type } from '@golemui/lit';
|
|
3
|
-
|
|
4
|
-
export declare const widgetLoaders: Core.WidgetLoaders<Type<Core.WithWidget>, GolemWidget>;
|
|
4
|
+
export declare const widgetLoaders: WidgetLoaders<Type<WithWidget>, GolemWidget>;
|