x4js 2.0.8 → 2.0.10
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/lib/cjs/x4.js +1 -1
- package/lib/esm/x4.mjs +1 -1
- package/lib/output.d.ts +1472 -0
- package/lib/src/components/boxes/boxes.ts +1 -1
- package/lib/src/components/btngroup/btngroup.ts +7 -11
- package/lib/src/components/button/button.ts +3 -3
- package/lib/src/components/calendar/calendar.ts +6 -6
- package/lib/src/components/checkbox/checkbox.ts +3 -3
- package/lib/src/components/colorinput/colorinput.ts +3 -3
- package/lib/src/components/colorpicker/colorpicker.ts +3 -3
- package/lib/src/components/combobox/combobox.ts +1 -1
- package/lib/src/components/dialog/dialog.ts +3 -2
- package/lib/src/components/header/header.ts +1 -1
- package/lib/src/components/icon/icon.ts +1 -1
- package/lib/src/components/image/image.ts +1 -1
- package/lib/src/components/input/input.ts +2 -2
- package/lib/src/components/label/label.ts +2 -2
- package/lib/src/components/listbox/listbox.ts +1 -1
- package/lib/src/components/menu/menu.ts +3 -3
- package/lib/src/components/messages/messages.ts +2 -2
- package/lib/src/components/notification/notification.ts +2 -2
- package/lib/src/components/panel/panel.ts +2 -2
- package/lib/src/components/popup/popup.ts +2 -2
- package/lib/src/components/progress/progress.ts +1 -1
- package/lib/src/components/rating/rating.ts +2 -2
- package/lib/src/components/sizers/sizer.ts +2 -2
- package/lib/src/components/slider/slider.ts +2 -2
- package/lib/src/components/switch/switch.ts +1 -1
- package/lib/src/components/tabs/tabs.ts +2 -2
- package/lib/src/components/textarea/textarea.ts +1 -1
- package/lib/src/components/textedit/textedit.ts +2 -2
- package/lib/src/components/tooltips/tooltips.ts +2 -2
- package/lib/src/components/treeview/treeview.ts +1 -1
- package/lib/src/components/viewport/viewport.ts +1 -1
- package/lib/src/core/component.ts +1 -1
- package/lib/src/core/core_styles.ts +0 -1
- package/lib/src/types/scss.d.ts +4 -0
- package/lib/src/types/svg.d.ts +1 -0
- package/lib/src/types/x4react.d.ts +9 -0
- package/lib/types/x4js.d.ts +1472 -0
- package/package.json +2 -1
- package/lib/types/x4.d.ts +0 -56992
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
15
15
|
**/
|
|
16
16
|
|
|
17
|
-
import { Component, ComponentEvents, ComponentProps } from "
|
|
17
|
+
import { Component, ComponentEvents, ComponentProps } from "../../core/component"
|
|
18
18
|
|
|
19
19
|
import "./boxes.module.scss";
|
|
20
20
|
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
15
15
|
**/
|
|
16
16
|
|
|
17
|
-
import { Component, ComponentEvent, ComponentEvents, ComponentProps, Flex } from '
|
|
18
|
-
import { EventCallback } from '
|
|
19
|
-
import { isString } from '
|
|
20
|
-
import { _tr } from '
|
|
17
|
+
import { Component, ComponentEvent, ComponentEvents, ComponentProps, Flex } from '../../core/component';
|
|
18
|
+
import { EventCallback } from '../../core/core_events';
|
|
19
|
+
import { isString } from '../../core/core_tools';
|
|
20
|
+
import { _tr } from '../../core/core_i18n'
|
|
21
21
|
|
|
22
22
|
import { Button } from '../button/button';
|
|
23
23
|
import { Box } from '../boxes/boxes.js';
|
|
@@ -30,12 +30,8 @@ import "./btngroup.module.scss"
|
|
|
30
30
|
type predefined = "ok" | "cancel" | "yes" | "no" | "retry" | "abort" | "-"; // - = flex
|
|
31
31
|
export type BtnGroupItem = predefined | Button | Label;
|
|
32
32
|
|
|
33
|
-
interface BtnClickEvent extends ComponentEvent {
|
|
34
|
-
emitter: predefined;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
33
|
interface BtnGroupEvents extends ComponentEvents {
|
|
38
|
-
btnclick:
|
|
34
|
+
btnclick: EvBtnClick;
|
|
39
35
|
}
|
|
40
36
|
|
|
41
37
|
interface BtnGroupProps extends Omit<ComponentProps,"content"> {
|
|
@@ -78,7 +74,7 @@ export class BtnGroup extends Box<BtnGroupProps,BtnGroupEvents> {
|
|
|
78
74
|
btns?.forEach( (b: string | Component) => {
|
|
79
75
|
|
|
80
76
|
if( b==="-" ) {
|
|
81
|
-
b = new Flex(
|
|
77
|
+
b = new Flex( );
|
|
82
78
|
}
|
|
83
79
|
else if( isString(b) ) {
|
|
84
80
|
let title: string;
|
|
@@ -94,7 +90,7 @@ export class BtnGroup extends Box<BtnGroupProps,BtnGroupEvents> {
|
|
|
94
90
|
}
|
|
95
91
|
|
|
96
92
|
b = new Button( { label: title, click: ( ) => {
|
|
97
|
-
this.fire( "btnclick", {
|
|
93
|
+
this.fire( "btnclick", {button:nm as string} )
|
|
98
94
|
} } );
|
|
99
95
|
}
|
|
100
96
|
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
15
15
|
**/
|
|
16
16
|
|
|
17
|
-
import { Component, ComponentEvents, ComponentProps, EvClick } from "
|
|
18
|
-
import { EventCallback } from '
|
|
19
|
-
import { UnsafeHtml } from '
|
|
17
|
+
import { Component, ComponentEvents, ComponentProps, EvClick } from "../../core/component"
|
|
18
|
+
import { EventCallback } from '../../core/core_events.js';
|
|
19
|
+
import { UnsafeHtml } from '../../core/core_tools.js';
|
|
20
20
|
|
|
21
21
|
import { Icon } from "../icon/icon"
|
|
22
22
|
|
|
@@ -14,18 +14,18 @@
|
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
15
15
|
**/
|
|
16
16
|
|
|
17
|
-
import { Component, ComponentEvents, ComponentProps, EvChange, Flex } from '
|
|
18
|
-
import { date_clone, date_hash, formatIntlDate, Point, unsafeHtml } from "
|
|
19
|
-
import { _tr } from '
|
|
20
|
-
import { EventCallback } from '
|
|
17
|
+
import { Component, ComponentEvents, ComponentProps, EvChange, Flex } from '../../core/component'
|
|
18
|
+
import { date_clone, date_hash, formatIntlDate, Point, unsafeHtml } from "../../core/core_tools"
|
|
19
|
+
import { _tr } from '../../core/core_i18n';
|
|
20
|
+
import { EventCallback } from '../../core/core_events.js';
|
|
21
21
|
|
|
22
22
|
import { Button } from '../button/button';
|
|
23
|
-
import { Popup } from '../popup/popup';
|
|
24
23
|
import { Label } from '../label/label';
|
|
25
24
|
import { HBox, VBox } from '../boxes/boxes'
|
|
26
25
|
import { Menu, MenuItem } from '../menu/menu';
|
|
27
26
|
|
|
28
27
|
import "./calendar.module.scss"
|
|
28
|
+
|
|
29
29
|
import icon_prev from "./chevron-left-sharp-light.svg";
|
|
30
30
|
import icon_today from "./calendar-check-sharp-light.svg";
|
|
31
31
|
import icon_next from "./chevron-right-sharp-light.svg";
|
|
@@ -145,7 +145,7 @@ export class Calendar extends VBox<CalendarProps, CalendarEventMap>
|
|
|
145
145
|
let first = true;
|
|
146
146
|
while (date_hash(dte) <= end_of_month) {
|
|
147
147
|
|
|
148
|
-
let days = [
|
|
148
|
+
let days: Component[] = [
|
|
149
149
|
new HBox({ cls: 'weeknum cell', content: new Component({ tag: 'span', content: formatIntlDate(dte, 'w') }) })
|
|
150
150
|
];
|
|
151
151
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Component, ComponentEvents, ComponentProps, EvChange, makeUniqueComponentId } from '
|
|
2
|
-
import { EventCallback } from '
|
|
1
|
+
import { Component, ComponentEvents, ComponentProps, EvChange, makeUniqueComponentId } from '../../core/component.js';
|
|
2
|
+
import { EventCallback } from '../../core/core_events.js';
|
|
3
3
|
|
|
4
4
|
import { Input } from '../input/input';
|
|
5
5
|
import { Label } from '../label/label';
|
|
@@ -24,7 +24,7 @@ interface CheckBoxEvents extends ComponentEvents {
|
|
|
24
24
|
interface CheckboxProps extends ComponentProps {
|
|
25
25
|
label: string; // The text label for the checkbox.
|
|
26
26
|
checked?: boolean; // Optional boolean indicating if the checkbox is checked by default.
|
|
27
|
-
value?: string; // Optional value associated with the checkbox.
|
|
27
|
+
value?: boolean | number | string; // Optional value associated with the checkbox.
|
|
28
28
|
change?: EventCallback<EvChange>;
|
|
29
29
|
}
|
|
30
30
|
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
15
15
|
**/
|
|
16
16
|
|
|
17
|
-
import { Component } from '
|
|
18
|
-
import { isFeatureAvailable } from '
|
|
19
|
-
import { Color } from '
|
|
17
|
+
import { Component } from '../../core/component';
|
|
18
|
+
import { isFeatureAvailable } from '../../core/core_tools.js';
|
|
19
|
+
import { Color } from '../../core/core_colors';
|
|
20
20
|
|
|
21
21
|
import { BoxProps, HBox } from '../boxes/boxes';
|
|
22
22
|
import { Input } from '../input/input.js';
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
15
15
|
**/
|
|
16
16
|
|
|
17
|
-
import { Color, Hsv } from '
|
|
18
|
-
import { Rect, clamp, isFeatureAvailable } from '
|
|
17
|
+
import { Color, Hsv } from '../../core/core_colors';
|
|
18
|
+
import { Rect, clamp, isFeatureAvailable } from '../../core/core_tools';
|
|
19
19
|
|
|
20
|
-
import { Component, ComponentEvent, ComponentEvents, ComponentProps } from '
|
|
20
|
+
import { Component, ComponentEvent, ComponentEvents, ComponentProps } from '../../core/component';
|
|
21
21
|
import { Box, BoxProps, HBox, VBox } from '../boxes/boxes';
|
|
22
22
|
|
|
23
23
|
import "./colorpicker.module.scss"
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
15
15
|
**/
|
|
16
16
|
|
|
17
|
-
import { Component, ComponentEvent, ComponentProps, EvChange, EvSelectionChange, makeUniqueComponentId } from '
|
|
17
|
+
import { Component, ComponentEvent, ComponentProps, EvChange, EvSelectionChange, makeUniqueComponentId } from '../../core/component';
|
|
18
18
|
import { Listbox, ListboxID, ListItem, kbNav } from '../listbox/listbox';
|
|
19
19
|
import { Popup, PopupEvents, PopupProps } from '../popup/popup.js';
|
|
20
20
|
import { Label } from '../label/label';
|
|
@@ -19,11 +19,12 @@ import { PopupEvents, PopupProps, Popup } from '../popup/popup.js';
|
|
|
19
19
|
import { BtnGroup, BtnGroupItem } from "../btngroup/btngroup"
|
|
20
20
|
import { HBox } from '../boxes/boxes.js';
|
|
21
21
|
import { Label } from '../label/label.js';
|
|
22
|
-
import { ComponentContent, ComponentEvent } from '
|
|
22
|
+
import { ComponentContent, ComponentEvent } from '../../core/component.js';
|
|
23
23
|
import { Button } from '../button/button.js';
|
|
24
24
|
|
|
25
25
|
import "./dialog.module.scss"
|
|
26
26
|
import close_icon from "./xmark-sharp-light.svg";
|
|
27
|
+
import { CoreEvent } from '@core/core_events.js';
|
|
27
28
|
|
|
28
29
|
export interface DialogProps extends PopupProps {
|
|
29
30
|
icon?: string;
|
|
@@ -34,7 +35,7 @@ export interface DialogProps extends PopupProps {
|
|
|
34
35
|
}
|
|
35
36
|
|
|
36
37
|
|
|
37
|
-
export interface EvBtnClick extends
|
|
38
|
+
export interface EvBtnClick extends CoreEvent {
|
|
38
39
|
button: string;
|
|
39
40
|
}
|
|
40
41
|
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
15
15
|
**/
|
|
16
16
|
|
|
17
|
-
import { Component, ComponentProps } from '
|
|
17
|
+
import { Component, ComponentProps } from '../../core/component';
|
|
18
18
|
|
|
19
19
|
import "./icon.module.scss"
|
|
20
20
|
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
15
15
|
**/
|
|
16
16
|
|
|
17
|
-
import { Component, ComponentProps } from '
|
|
17
|
+
import { Component, ComponentProps } from '../../core/component.js';
|
|
18
18
|
|
|
19
19
|
import "./image.module.scss"
|
|
20
20
|
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
15
15
|
**/
|
|
16
16
|
|
|
17
|
-
import { Component, ComponentProps } from '
|
|
18
|
-
import { IComponentInterface, IFormElement } from '
|
|
17
|
+
import { Component, ComponentProps } from '../../core/component';
|
|
18
|
+
import { IComponentInterface, IFormElement } from '../../core/core_tools.js';
|
|
19
19
|
|
|
20
20
|
import "./input.module.scss"
|
|
21
21
|
|
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
15
15
|
**/
|
|
16
16
|
|
|
17
|
-
import { Component, ComponentProps } from "
|
|
17
|
+
import { Component, ComponentProps } from "../../core/component"
|
|
18
18
|
import { Icon } from "../icon/icon"
|
|
19
19
|
|
|
20
20
|
import "./label.module.scss";
|
|
21
|
-
import { UnsafeHtml } from '
|
|
21
|
+
import { UnsafeHtml } from '../../core/core_tools.js';
|
|
22
22
|
|
|
23
23
|
interface LabelProps extends ComponentProps {
|
|
24
24
|
text?: string | UnsafeHtml;
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
15
15
|
**/
|
|
16
16
|
|
|
17
|
-
import { Component, ComponentEvent, ComponentEvents, componentFromDOM, ComponentProps, EvChange, EvClick, EvContextMenu, EvDblClick, EvSelectionChange } from '
|
|
17
|
+
import { Component, ComponentEvent, ComponentEvents, componentFromDOM, ComponentProps, EvChange, EvClick, EvContextMenu, EvDblClick, EvSelectionChange } from '../../core/component';
|
|
18
18
|
|
|
19
19
|
import { ScrollView, Viewport } from '../viewport/viewport';
|
|
20
20
|
import { HBox } from '../boxes/boxes.js';
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
15
15
|
**/
|
|
16
16
|
|
|
17
|
-
import { Component } from "
|
|
18
|
-
import { DOMEventHandler } from '
|
|
19
|
-
import { Timer, UnsafeHtml, isString } from '
|
|
17
|
+
import { Component } from "../../core/component"
|
|
18
|
+
import { DOMEventHandler } from '../../core/core_dom';
|
|
19
|
+
import { Timer, UnsafeHtml, isString } from '../../core/core_tools';
|
|
20
20
|
|
|
21
21
|
import { Popup, PopupProps } from '../popup/popup';
|
|
22
22
|
import { Icon } from '../icon/icon';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
// :: MESSAGEBOX ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
|
3
3
|
|
|
4
|
-
import { _tr } from '
|
|
4
|
+
import { _tr } from '../../core/core_i18n';
|
|
5
5
|
|
|
6
6
|
import { HBox } from '../boxes/boxes';
|
|
7
7
|
import { Icon } from '../icon/icon';
|
|
@@ -11,7 +11,7 @@ import { Dialog, DialogProps } from "../dialog/dialog"
|
|
|
11
11
|
import "./messages.module.scss";
|
|
12
12
|
|
|
13
13
|
import error_icon from "./circle-exclamation.svg";
|
|
14
|
-
import { asap, UnsafeHtml } from '
|
|
14
|
+
import { asap, UnsafeHtml } from '../../core/core_tools.js';
|
|
15
15
|
import { Form } from '../form/form.js';
|
|
16
16
|
|
|
17
17
|
export interface MessageBoxProps extends DialogProps {
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
15
15
|
**/
|
|
16
16
|
|
|
17
|
-
import { ComponentProps } from '
|
|
18
|
-
import { Rect, UnsafeHtml } from '
|
|
17
|
+
import { ComponentProps } from '../../core/component.js';
|
|
18
|
+
import { Rect, UnsafeHtml } from '../../core/core_tools.js';
|
|
19
19
|
|
|
20
20
|
import { Popup } from '../popup/popup.js';
|
|
21
21
|
import { HBox, VBox } from '../boxes/boxes.js';
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
15
15
|
**/
|
|
16
16
|
|
|
17
|
-
import { Component, ComponentContent, ComponentProps } from '
|
|
18
|
-
import { UnsafeHtml, Constructor } from '
|
|
17
|
+
import { Component, ComponentContent, ComponentProps } from '../../core/component';
|
|
18
|
+
import { UnsafeHtml, Constructor } from '../../core/core_tools';
|
|
19
19
|
|
|
20
20
|
import { VBox } from '../boxes/boxes';
|
|
21
21
|
import { Label } from '../label/label';
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
15
15
|
**/
|
|
16
16
|
|
|
17
|
-
import { Component, ComponentEvent, ComponentEvents, ComponentProps, componentFromDOM, makeUniqueComponentId } from "
|
|
17
|
+
import { Component, ComponentEvent, ComponentEvents, ComponentProps, componentFromDOM, makeUniqueComponentId } from "../../core/component"
|
|
18
18
|
import { CSizer } from '../sizers/sizer';
|
|
19
|
-
import { Rect, Point } from '
|
|
19
|
+
import { Rect, Point } from '../../core/core_tools.js';
|
|
20
20
|
|
|
21
21
|
import "./popup.module.scss"
|
|
22
22
|
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
15
15
|
**/
|
|
16
16
|
|
|
17
|
-
import { Component, ComponentProps } from '
|
|
17
|
+
import { Component, ComponentProps } from '../../core/component';
|
|
18
18
|
|
|
19
19
|
import "./progress.module.scss";
|
|
20
20
|
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
15
15
|
**/
|
|
16
16
|
|
|
17
|
-
import { Component, ComponentEvents, componentFromDOM, ComponentProps, EvChange } from '
|
|
18
|
-
import { EventCallback } from '
|
|
17
|
+
import { Component, ComponentEvents, componentFromDOM, ComponentProps, EvChange } from '../../core/component.js';
|
|
18
|
+
import { EventCallback } from '../../core/core_events.js';
|
|
19
19
|
import { HBox } from '../boxes/boxes.js';
|
|
20
20
|
import { Input } from '../input/input.js';
|
|
21
21
|
import { Icon } from '../icon/icon.js';
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
15
15
|
**/
|
|
16
16
|
|
|
17
|
-
import { Component, ComponentEvent, ComponentEvents, ComponentProps, componentFromDOM } from '
|
|
18
|
-
import { Point } from '
|
|
17
|
+
import { Component, ComponentEvent, ComponentEvents, ComponentProps, componentFromDOM } from '../../core/component';
|
|
18
|
+
import { Point } from '../../core/core_tools.js';
|
|
19
19
|
|
|
20
20
|
import "./sizer.module.scss"
|
|
21
21
|
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
15
15
|
**/
|
|
16
16
|
|
|
17
|
-
import { Component, ComponentEvents, ComponentProps, ComponentEvent } from '
|
|
18
|
-
import { Rect } from '
|
|
17
|
+
import { Component, ComponentEvents, ComponentProps, ComponentEvent } from '../../core/component';
|
|
18
|
+
import { Rect } from '../../core/core_tools.js';
|
|
19
19
|
|
|
20
20
|
import { HBox } from '../boxes/boxes';
|
|
21
21
|
import { Input } from '../input/input.js';
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
15
15
|
**/
|
|
16
16
|
|
|
17
|
-
import { Component, ComponentProps, makeUniqueComponentId } from '
|
|
17
|
+
import { Component, ComponentProps, makeUniqueComponentId } from '../../core/component';
|
|
18
18
|
|
|
19
19
|
//import { Checkbox } from '@controls/controls.js';
|
|
20
20
|
import { Input } from '../input/input';
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
* Use of this source code is governed by an MIT-style license
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
15
15
|
**/
|
|
16
|
-
import { Component, ComponentEvents, ComponentProps, EvClick } from '
|
|
17
|
-
import { CoreEvent } from '
|
|
16
|
+
import { Component, ComponentEvents, ComponentProps, EvClick } from '../../core/component';
|
|
17
|
+
import { CoreEvent } from '../../core/core_events';
|
|
18
18
|
|
|
19
19
|
import { Button, ButtonProps } from '../button/button';
|
|
20
20
|
import { HBox, VBox, StackBox } from '../boxes/boxes';
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
15
15
|
**/
|
|
16
16
|
|
|
17
|
-
import { Component, ComponentProps, makeUniqueComponentId } from '
|
|
18
|
-
import { UnsafeHtml } from '
|
|
17
|
+
import { Component, ComponentProps, makeUniqueComponentId } from '../../core/component';
|
|
18
|
+
import { UnsafeHtml } from '../../core/core_tools';
|
|
19
19
|
|
|
20
20
|
import { HBox } from '../boxes/boxes';
|
|
21
21
|
import { Input, TextInputProps } from "../input/input"
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
15
15
|
**/
|
|
16
16
|
|
|
17
|
-
import { Component, wrapDOM } from '
|
|
18
|
-
import { Point, Rect, Timer, UnsafeHtml, unsafeHtml } from '
|
|
17
|
+
import { Component, wrapDOM } from '../../core/component';
|
|
18
|
+
import { Point, Rect, Timer, UnsafeHtml, unsafeHtml } from '../../core/core_tools';
|
|
19
19
|
|
|
20
20
|
import { HBox } from '../boxes/boxes';
|
|
21
21
|
import { Popup, PopupProps } from '../popup/popup.js';
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
15
15
|
**/
|
|
16
16
|
|
|
17
|
-
import { Component, ComponentEvent, ComponentEvents, ComponentProps, componentFromDOM } from '
|
|
17
|
+
import { Component, ComponentEvent, ComponentEvents, ComponentProps, componentFromDOM } from '../../core/component';
|
|
18
18
|
|
|
19
19
|
import { Label } from '../label/label';
|
|
20
20
|
import { ListboxID, ListItem, kbNav } from '../listbox/listbox';
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
15
15
|
**/
|
|
16
16
|
|
|
17
|
-
import { Component, ComponentProps } from "
|
|
17
|
+
import { Component, ComponentProps } from "../../core/component"
|
|
18
18
|
|
|
19
19
|
import "./viewport.module.scss"
|
|
20
20
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
declare module '*.svg';
|