x4js 2.0.18 → 2.0.20
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/README.md +1 -0
- package/lib/src/components/boxes/boxes.ts +2 -2
- package/lib/src/components/breadcrumb/breadcrumb.ts +4 -4
- package/lib/src/components/btngroup/btngroup.ts +4 -4
- package/lib/src/components/button/button.ts +2 -2
- package/lib/src/components/calendar/calendar.ts +1 -1
- package/lib/src/components/canvas/canvas.ts +2 -2
- package/lib/src/components/checkbox/checkbox.ts +4 -4
- package/lib/src/components/colorinput/colorinput.ts +3 -3
- package/lib/src/components/combobox/combobox.ts +3 -3
- package/lib/src/components/dialog/dialog.ts +7 -7
- package/lib/src/components/form/form.ts +1 -1
- package/lib/src/components/header/header.ts +5 -5
- package/lib/src/components/icon/icon.ts +1 -1
- package/lib/src/components/image/image.ts +3 -3
- package/lib/src/components/input/input.ts +2 -2
- package/lib/src/components/keyboard/keyboard.ts +5 -5
- package/lib/src/components/label/label.ts +1 -1
- package/lib/src/components/listbox/listbox.ts +4 -4
- package/lib/src/components/messages/messages.ts +1 -1
- package/lib/src/components/notification/notification.ts +8 -8
- package/lib/src/components/popup/popup.ts +1 -1
- package/lib/src/components/progress/progress.ts +1 -1
- package/lib/src/components/propgrid/propgrid.ts +1 -1
- package/lib/src/components/radio/radio.ts +2 -2
- package/lib/src/components/rating/rating.ts +6 -6
- package/lib/src/components/select/select.ts +1 -1
- package/lib/src/components/sizers/sizer.ts +1 -1
- package/lib/src/components/slider/slider.ts +3 -3
- package/lib/src/components/switch/switch.ts +3 -3
- package/lib/src/components/tabs/tabs.ts +1 -1
- package/lib/src/components/textarea/textarea.ts +1 -1
- package/lib/src/components/textedit/textedit.ts +1 -1
- package/lib/src/components/tickline/tickline.ts +1 -1
- 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/core_application.ts +3 -3
- package/lib/src/core/core_data.ts +4 -4
- package/lib/src/core/core_element.ts +1 -1
- package/lib/src/core/core_react.ts +2 -2
- package/lib/src/core/core_router.ts +2 -2
- package/lib/src/core/core_styles.ts +1 -1
- package/package.json +1 -1
- package/src/components/boxes/boxes.ts +2 -2
- package/src/components/breadcrumb/breadcrumb.ts +4 -4
- package/src/components/btngroup/btngroup.ts +4 -4
- package/src/components/button/button.ts +2 -2
- package/src/components/calendar/calendar.ts +1 -1
- package/src/components/canvas/canvas.ts +2 -2
- package/src/components/checkbox/checkbox.ts +4 -4
- package/src/components/colorinput/colorinput.ts +3 -3
- package/src/components/combobox/combobox.ts +3 -3
- package/src/components/dialog/dialog.ts +7 -7
- package/src/components/form/form.ts +1 -1
- package/src/components/header/header.ts +5 -5
- package/src/components/icon/icon.ts +1 -1
- package/src/components/image/image.ts +3 -3
- package/src/components/input/input.ts +2 -2
- package/src/components/keyboard/keyboard.ts +5 -5
- package/src/components/label/label.ts +1 -1
- package/src/components/listbox/listbox.ts +4 -4
- package/src/components/messages/messages.ts +1 -1
- package/src/components/notification/notification.ts +8 -8
- package/src/components/popup/popup.ts +1 -1
- package/src/components/progress/progress.ts +1 -1
- package/src/components/propgrid/propgrid.ts +1 -1
- package/src/components/radio/radio.ts +2 -2
- package/src/components/rating/rating.ts +6 -6
- package/src/components/select/select.ts +1 -1
- package/src/components/sizers/sizer.ts +1 -1
- package/src/components/slider/slider.ts +3 -3
- package/src/components/switch/switch.ts +3 -3
- package/src/components/tabs/tabs.ts +1 -1
- package/src/components/textarea/textarea.ts +1 -1
- package/src/components/textedit/textedit.ts +1 -1
- package/src/components/tickline/tickline.ts +1 -1
- package/src/components/tooltips/tooltips.ts +2 -2
- package/src/components/treeview/treeview.ts +1 -1
- package/src/components/viewport/viewport.ts +1 -1
- package/src/core/core_application.ts +3 -3
- package/src/core/core_data.ts +4 -4
- package/src/core/core_element.ts +1 -1
- package/src/core/core_react.ts +2 -2
- package/src/core/core_router.ts +2 -2
- package/src/core/core_styles.ts +1 -1
|
@@ -14,12 +14,12 @@
|
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
15
15
|
**/
|
|
16
16
|
|
|
17
|
-
import { class_ns } from '
|
|
18
|
-
import { parseRoute, Router } from '
|
|
17
|
+
import { class_ns } from '../../core/core_tools';
|
|
18
|
+
import { parseRoute, Router } from '../../core/core_router';
|
|
19
19
|
|
|
20
20
|
import { BoxProps, Button, HBox, Icon } from '../components';
|
|
21
|
-
import { Component, ComponentEvents, EvClick } from '
|
|
22
|
-
import { EventCallback } from '
|
|
21
|
+
import { Component, ComponentEvents, EvClick } from '../../core/component';
|
|
22
|
+
import { EventCallback } from '../../core/core_events';
|
|
23
23
|
|
|
24
24
|
import "./breadcrumb.scss"
|
|
25
25
|
|
|
@@ -20,12 +20,12 @@ import { class_ns, isString } from '../../core/core_tools';
|
|
|
20
20
|
import { _tr } from '../../core/core_i18n'
|
|
21
21
|
|
|
22
22
|
import { Button } from '../button/button';
|
|
23
|
-
import { Box } from '../boxes/boxes
|
|
24
|
-
import { Label } from '../label/label
|
|
25
|
-
import { EvBtnClick } from '../dialog/dialog
|
|
23
|
+
import { Box } from '../boxes/boxes';
|
|
24
|
+
import { Label } from '../label/label';
|
|
25
|
+
import { EvBtnClick } from '../dialog/dialog';
|
|
26
26
|
|
|
27
27
|
import "./btngroup.module.scss"
|
|
28
|
-
import { Input } from '../components
|
|
28
|
+
import { Input } from '../components';
|
|
29
29
|
|
|
30
30
|
/**
|
|
31
31
|
* accept "ok" or "ok.<classname>"
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
**/
|
|
16
16
|
|
|
17
17
|
import { Component, ComponentEvents, ComponentProps, EvClick } from "../../core/component"
|
|
18
|
-
import { EventCallback } from '../../core/core_events
|
|
19
|
-
import { class_ns, UnsafeHtml } from '../../core/core_tools
|
|
18
|
+
import { EventCallback } from '../../core/core_events';
|
|
19
|
+
import { class_ns, UnsafeHtml } from '../../core/core_tools';
|
|
20
20
|
|
|
21
21
|
import { Icon } from "../icon/icon"
|
|
22
22
|
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
import { Component, ComponentEvents, ComponentProps, EvChange, Flex } from '../../core/component'
|
|
18
18
|
import { class_ns, date_clone, date_hash, formatIntlDate, Point, unsafeHtml } from "../../core/core_tools"
|
|
19
19
|
import { _tr } from '../../core/core_i18n';
|
|
20
|
-
import { EventCallback } from '../../core/core_events
|
|
20
|
+
import { EventCallback } from '../../core/core_events';
|
|
21
21
|
|
|
22
22
|
import { Button } from '../button/button';
|
|
23
23
|
import { Label } from '../label/label';
|
|
@@ -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 { class_ns } from '
|
|
17
|
+
import { class_ns } from '../../core/core_tools';
|
|
18
18
|
import { Component, ComponentEvent, ComponentEvents, ComponentProps } from '../../core/component';
|
|
19
19
|
import { EventCallback } from "../../core/core_events"
|
|
20
|
-
import { CanvasEx, createPainter } from './canvas_ex
|
|
20
|
+
import { CanvasEx, createPainter } from './canvas_ex';
|
|
21
21
|
|
|
22
22
|
import './canvas.module.scss'
|
|
23
23
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { Component, ComponentEvents, ComponentProps, EvChange, makeUniqueComponentId } from '../../core/component
|
|
2
|
-
import { EventCallback } from '../../core/core_events
|
|
1
|
+
import { Component, ComponentEvents, ComponentProps, EvChange, makeUniqueComponentId } from '../../core/component';
|
|
2
|
+
import { EventCallback } from '../../core/core_events';
|
|
3
3
|
|
|
4
4
|
import { Input } from '../input/input';
|
|
5
5
|
import { Label } from '../label/label';
|
|
6
6
|
|
|
7
|
-
import { svgLoader } from '../icon/icon
|
|
7
|
+
import { svgLoader } from '../icon/icon';
|
|
8
8
|
|
|
9
9
|
import "./checkbox.module.scss"
|
|
10
10
|
import icon from "./check.svg";
|
|
11
|
-
import { class_ns } from '
|
|
11
|
+
import { class_ns } from '../../core/core_tools';
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* Checkbox events
|
|
@@ -15,12 +15,12 @@
|
|
|
15
15
|
**/
|
|
16
16
|
|
|
17
17
|
import { Component } from '../../core/component';
|
|
18
|
-
import { isFeatureAvailable, class_ns } from '../../core/core_tools
|
|
18
|
+
import { isFeatureAvailable, class_ns } from '../../core/core_tools';
|
|
19
19
|
import { Color } from '../../core/core_colors';
|
|
20
20
|
|
|
21
21
|
import { BoxProps, HBox } from '../boxes/boxes';
|
|
22
|
-
import { Input } from '../input/input
|
|
23
|
-
import { Button } from '../button/button
|
|
22
|
+
import { Input } from '../input/input';
|
|
23
|
+
import { Button } from '../button/button';
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
import "./colorinput.module.scss"
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
**/
|
|
16
16
|
|
|
17
17
|
import { Component, ComponentEvents, ComponentProps, EvSelectionChange, makeUniqueComponentId } from '../../core/component';
|
|
18
|
-
import { class_ns, IComponentInterface, IFormElement, kbNav } from '
|
|
19
|
-
import { EventCallback } from '
|
|
18
|
+
import { class_ns, IComponentInterface, IFormElement, kbNav } from '../../core/core_tools';
|
|
19
|
+
import { EventCallback } from '../../core/core_events';
|
|
20
20
|
|
|
21
21
|
import { Listbox, ListboxID, ListItem } from '../listbox/listbox';
|
|
22
|
-
import { Popup, PopupEvents, PopupProps } from '../popup/popup
|
|
22
|
+
import { Popup, PopupEvents, PopupProps } from '../popup/popup';
|
|
23
23
|
import { Label } from '../label/label';
|
|
24
24
|
import { Input } from '../input/input';
|
|
25
25
|
import { Button } from '../button/button';
|
|
@@ -15,14 +15,14 @@
|
|
|
15
15
|
**/
|
|
16
16
|
|
|
17
17
|
import { Form } from "../form/form.js"
|
|
18
|
-
import { PopupEvents, PopupProps, Popup } from '../popup/popup
|
|
18
|
+
import { PopupEvents, PopupProps, Popup } from '../popup/popup';
|
|
19
19
|
import { BtnGroup, BtnGroupItem } from "../btngroup/btngroup"
|
|
20
|
-
import { HBox } from '../boxes/boxes
|
|
21
|
-
import { Label } from '../label/label
|
|
22
|
-
import { CoreEvent, EventCallback } from '
|
|
23
|
-
import { class_ns, getFocusableElements, IComponentInterface, isString, ITabHandler } from '
|
|
24
|
-
import { ComponentEvent } from '../../core/component
|
|
25
|
-
import { Button } from '../button/button
|
|
20
|
+
import { HBox } from '../boxes/boxes';
|
|
21
|
+
import { Label } from '../label/label';
|
|
22
|
+
import { CoreEvent, EventCallback } from '../../core/core_events';
|
|
23
|
+
import { class_ns, getFocusableElements, IComponentInterface, isString, ITabHandler } from '../../core/core_tools';
|
|
24
|
+
import { ComponentEvent } from '../../core/component';
|
|
25
|
+
import { Button } from '../button/button';
|
|
26
26
|
|
|
27
27
|
import "./dialog.module.scss"
|
|
28
28
|
import close_icon from "./xmark-sharp-light.svg";
|
|
@@ -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 { class_ns, IFormElement } from '
|
|
17
|
+
import { class_ns, IFormElement } from '../../core/core_tools';
|
|
18
18
|
import { Box, BoxProps } from '../boxes/boxes';
|
|
19
19
|
|
|
20
20
|
import "./form.module.scss"
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { class_ns } from '
|
|
2
|
-
import { Component, ComponentProps } from '../../core/component
|
|
3
|
-
import { HBox } from '../boxes/boxes
|
|
4
|
-
import { Label } from '../label/label
|
|
5
|
-
import { CSizer } from '../sizers/sizer
|
|
1
|
+
import { class_ns } from '../../core/core_tools';
|
|
2
|
+
import { Component, ComponentProps } from '../../core/component';
|
|
3
|
+
import { HBox } from '../boxes/boxes';
|
|
4
|
+
import { Label } from '../label/label';
|
|
5
|
+
import { CSizer } from '../sizers/sizer';
|
|
6
6
|
|
|
7
7
|
import "./header.module.scss"
|
|
8
8
|
|
|
@@ -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 { class_ns } from '
|
|
17
|
+
import { class_ns } from '../../core/core_tools';
|
|
18
18
|
import { Component, ComponentProps } from '../../core/component';
|
|
19
19
|
|
|
20
20
|
import "./icon.module.scss"
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
|
|
17
17
|
import { class_ns } from '../../core/core_tools';
|
|
18
18
|
import { Component, ComponentEvents, ComponentProps } from '../../core/component';
|
|
19
|
-
import { EventCallback, CoreEvent } from '../../core/core_events
|
|
20
|
-
import { dragManager } from '../../core/core_dragdrop
|
|
19
|
+
import { EventCallback, CoreEvent } from '../../core/core_events';
|
|
20
|
+
import { dragManager } from '../../core/core_dragdrop';
|
|
21
21
|
|
|
22
22
|
import { EvDropChange, FileDialog } from '../filedrop/filedrop';
|
|
23
23
|
import { Menu } from '../menu/menu';
|
|
@@ -25,7 +25,7 @@ import { Menu } from '../menu/menu';
|
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
import "./image.module.scss"
|
|
28
|
-
import { _tr } from '
|
|
28
|
+
import { _tr } from '../../core/core_i18n';
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
interface ImageEvents extends ComponentEvents {
|
|
@@ -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 { EventCallback } from '
|
|
17
|
+
import { EventCallback } from '../../core/core_events';
|
|
18
18
|
import { Component, ComponentEvent, ComponentProps, EvChange, EvFocus } from '../../core/component';
|
|
19
|
-
import { class_ns, formatIntlDate, IComponentInterface, IFormElement, isString } from '../../core/core_tools
|
|
19
|
+
import { class_ns, formatIntlDate, IComponentInterface, IFormElement, isString } from '../../core/core_tools';
|
|
20
20
|
|
|
21
21
|
import "./input.module.scss"
|
|
22
22
|
|
|
@@ -14,13 +14,13 @@
|
|
|
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, Flex } from '
|
|
18
|
-
import { Box, BoxProps, Button, HBox, VBox } from '../components
|
|
19
|
-
import { _tr } from '
|
|
17
|
+
import { Component, ComponentProps, Flex } from '../../core/component';
|
|
18
|
+
import { Box, BoxProps, Button, HBox, VBox } from '../components';
|
|
19
|
+
import { _tr } from '../../core/core_i18n';
|
|
20
20
|
|
|
21
21
|
import "./keyboard.module.scss"
|
|
22
|
-
import { class_ns } from '
|
|
23
|
-
import { Application } from '
|
|
22
|
+
import { class_ns } from '../../core/core_tools';
|
|
23
|
+
import { Application } from '../../core/core_application';
|
|
24
24
|
|
|
25
25
|
import icon_bksp from "./delete-left.svg";
|
|
26
26
|
import icon_shift from "./arrow-up.svg";
|
|
@@ -18,7 +18,7 @@ import { Component, ComponentProps } from "../../core/component"
|
|
|
18
18
|
import { Icon } from "../icon/icon"
|
|
19
19
|
|
|
20
20
|
import "./label.module.scss";
|
|
21
|
-
import { class_ns, UnsafeHtml } from '../../core/core_tools
|
|
21
|
+
import { class_ns, UnsafeHtml } from '../../core/core_tools';
|
|
22
22
|
|
|
23
23
|
export interface LabelProps extends ComponentProps {
|
|
24
24
|
text?: string | UnsafeHtml;
|
|
@@ -15,12 +15,12 @@
|
|
|
15
15
|
**/
|
|
16
16
|
|
|
17
17
|
import { Component, ComponentEvent, ComponentEvents, componentFromDOM, ComponentProps, EvChange, EvClick, EvContextMenu, EvDblClick, EvSelectionChange } from '../../core/component';
|
|
18
|
-
import { EventCallback } from '../../core/core_events
|
|
19
|
-
import { kbNav, class_ns, isArray, UnsafeHtml } from '
|
|
18
|
+
import { EventCallback } from '../../core/core_events';
|
|
19
|
+
import { kbNav, class_ns, isArray, UnsafeHtml } from '../../core/core_tools';
|
|
20
20
|
|
|
21
21
|
import { ScrollView, Viewport } from '../viewport/viewport';
|
|
22
|
-
import { HBox } from '../boxes/boxes
|
|
23
|
-
import { Label } from '../label/label
|
|
22
|
+
import { HBox } from '../boxes/boxes';
|
|
23
|
+
import { Label } from '../label/label';
|
|
24
24
|
|
|
25
25
|
import "./listbox.module.scss"
|
|
26
26
|
|
|
@@ -16,7 +16,7 @@ import "./messages.module.scss";
|
|
|
16
16
|
|
|
17
17
|
import error_icon from "./circle-exclamation.svg";
|
|
18
18
|
import pen_icon from "./pen-field.svg";
|
|
19
|
-
import { Component } from '
|
|
19
|
+
import { Component } from '../../core/component';
|
|
20
20
|
|
|
21
21
|
export interface MessageBoxProps extends DialogProps {
|
|
22
22
|
message: string;
|
|
@@ -14,14 +14,14 @@
|
|
|
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 '../../core/component
|
|
18
|
-
import { class_ns, Rect, UnsafeHtml } from '../../core/core_tools
|
|
19
|
-
|
|
20
|
-
import { Popup } from '../popup/popup
|
|
21
|
-
import { HBox, VBox } from '../boxes/boxes
|
|
22
|
-
import { Icon } from '../icon/icon
|
|
23
|
-
import { Label } from '../label/label
|
|
24
|
-
import { Button } from '../button/button
|
|
17
|
+
import { ComponentProps } from '../../core/component';
|
|
18
|
+
import { class_ns, Rect, UnsafeHtml } from '../../core/core_tools';
|
|
19
|
+
|
|
20
|
+
import { Popup } from '../popup/popup';
|
|
21
|
+
import { HBox, VBox } from '../boxes/boxes';
|
|
22
|
+
import { Icon } from '../icon/icon';
|
|
23
|
+
import { Label } from '../label/label';
|
|
24
|
+
import { Button } from '../button/button';
|
|
25
25
|
|
|
26
26
|
import "./notification.module.scss";
|
|
27
27
|
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
import { Component, ComponentEvent, ComponentEvents, ComponentProps, componentFromDOM, makeUniqueComponentId } from "../../core/component"
|
|
18
18
|
|
|
19
19
|
import { CSizer } from '../sizers/sizer';
|
|
20
|
-
import { Rect, Point, class_ns, asap } from '../../core/core_tools
|
|
20
|
+
import { Rect, Point, class_ns, asap } from '../../core/core_tools';
|
|
21
21
|
import { Box } from '../boxes/boxes'
|
|
22
22
|
|
|
23
23
|
import "./popup.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 { class_ns } from '
|
|
17
|
+
import { class_ns } from '../../core/core_tools';
|
|
18
18
|
import { Component, ComponentProps } from '../../core/component';
|
|
19
19
|
|
|
20
20
|
import "./progress.module.scss";
|
|
@@ -22,7 +22,7 @@ import { Input, InputProps } from "../input/input"
|
|
|
22
22
|
import { ListItem } from "../listbox/listbox"
|
|
23
23
|
import { Label, SimpleText } from "../label/label"
|
|
24
24
|
import { class_ns, isFunction } from '../../core/core_tools';
|
|
25
|
-
import { Icon } from '../components
|
|
25
|
+
import { Icon } from '../components'
|
|
26
26
|
|
|
27
27
|
import "./progrid.module.scss"
|
|
28
28
|
import updown_icon from "./updown.svg"
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
**/
|
|
16
16
|
|
|
17
17
|
import { Component, ComponentEvents, ComponentProps, EvChange, makeUniqueComponentId } from '../../core/component';
|
|
18
|
-
import { class_ns } from '
|
|
19
|
-
import { EventCallback } from '
|
|
18
|
+
import { class_ns } from '../../core/core_tools';
|
|
19
|
+
import { EventCallback } from '../../core/core_events';
|
|
20
20
|
|
|
21
21
|
import { Label } from '../label/label';
|
|
22
22
|
import { Input } from '../input/input'
|
|
@@ -14,15 +14,15 @@
|
|
|
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 '../../core/component
|
|
18
|
-
import { EventCallback } from '../../core/core_events
|
|
19
|
-
import { HBox } from '../boxes/boxes
|
|
20
|
-
import { Input } from '../input/input
|
|
21
|
-
import { Icon } from '../icon/icon
|
|
17
|
+
import { Component, ComponentEvents, componentFromDOM, ComponentProps, EvChange } from '../../core/component';
|
|
18
|
+
import { EventCallback } from '../../core/core_events';
|
|
19
|
+
import { HBox } from '../boxes/boxes';
|
|
20
|
+
import { Input } from '../input/input';
|
|
21
|
+
import { Icon } from '../icon/icon';
|
|
22
22
|
|
|
23
23
|
import "./rating.module.scss"
|
|
24
24
|
import star_icon from "./star-sharp-solid.svg"
|
|
25
|
-
import { class_ns } from '
|
|
25
|
+
import { class_ns } from '../../core/core_tools';
|
|
26
26
|
|
|
27
27
|
interface RatingEventMap extends ComponentEvents {
|
|
28
28
|
change: EvChange;
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
**/
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
import { EventCallback } from '../../core/core_events
|
|
18
|
+
import { EventCallback } from '../../core/core_events';
|
|
19
19
|
import { Component, ComponentEvent, ComponentProps, EvChange, EvFocus } from '../../core/component';
|
|
20
20
|
import { class_ns } from '../../core/core_tools';
|
|
21
21
|
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
**/
|
|
16
16
|
|
|
17
17
|
import { Component, ComponentEvent, ComponentEvents, ComponentProps, componentFromDOM } from '../../core/component';
|
|
18
|
-
import { class_ns, Point } from '../../core/core_tools
|
|
18
|
+
import { class_ns, Point } from '../../core/core_tools';
|
|
19
19
|
|
|
20
20
|
import "./sizer.module.scss"
|
|
21
21
|
|
|
@@ -14,12 +14,12 @@
|
|
|
14
14
|
* that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
15
15
|
**/
|
|
16
16
|
|
|
17
|
-
import { EventCallback } from '
|
|
17
|
+
import { EventCallback } from '../../core/core_events';
|
|
18
18
|
import { Component, ComponentEvents, ComponentProps, EvChange } from '../../core/component';
|
|
19
|
-
import { class_ns, Rect } from '../../core/core_tools
|
|
19
|
+
import { class_ns, Rect } from '../../core/core_tools';
|
|
20
20
|
|
|
21
21
|
import { HBox } from '../boxes/boxes';
|
|
22
|
-
import { Input } from '../input/input
|
|
22
|
+
import { Input } from '../input/input';
|
|
23
23
|
|
|
24
24
|
import './slider.module.scss';
|
|
25
25
|
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
|
|
17
17
|
import { Component, ComponentProps, makeUniqueComponentId } from '../../core/component';
|
|
18
18
|
|
|
19
|
-
//import { Checkbox } from '@controls/controls
|
|
19
|
+
//import { Checkbox } from '@controls/controls';
|
|
20
20
|
import { Input } from '../input/input';
|
|
21
21
|
import { Label } from '../label/label';
|
|
22
|
-
import { HBox } from '../boxes/boxes
|
|
22
|
+
import { HBox } from '../boxes/boxes';
|
|
23
23
|
|
|
24
24
|
import "./switch.module.scss";
|
|
25
|
-
import { class_ns } from '
|
|
25
|
+
import { class_ns } from '../../core/core_tools';
|
|
26
26
|
|
|
27
27
|
interface SwitchProps extends ComponentProps {
|
|
28
28
|
label: string;
|
|
@@ -20,7 +20,7 @@ import { Button, ButtonProps } from '../button/button';
|
|
|
20
20
|
import { HBox, VBox, StackBox } from '../boxes/boxes';
|
|
21
21
|
|
|
22
22
|
import "./tabs.module.scss"
|
|
23
|
-
import { class_ns } from '
|
|
23
|
+
import { class_ns } from '../../core/core_tools';
|
|
24
24
|
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
@@ -21,7 +21,7 @@ import { Label } from '../label/label';
|
|
|
21
21
|
import { VBox } from '../boxes/boxes';
|
|
22
22
|
|
|
23
23
|
import "./textarea.module.scss";
|
|
24
|
-
import { class_ns, IFormElement } from '
|
|
24
|
+
import { class_ns, IFormElement } from '../../core/core_tools';
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
27
|
*
|
|
@@ -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 { EventCallback } from '
|
|
17
|
+
//import { EventCallback } from '../../core/core_events';
|
|
18
18
|
import { Component, makeUniqueComponentId } from '../../core/component';
|
|
19
19
|
import { class_ns, UnsafeHtml } from '../../core/core_tools';
|
|
20
20
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SvgBuilder, SvgComponent } from '../../core/core_svg';
|
|
2
2
|
import { Color } from '../../core/core_colors';
|
|
3
|
-
import { Component, ComponentProps } from '
|
|
3
|
+
import { Component, ComponentProps } from '../../core/component';
|
|
4
4
|
|
|
5
5
|
import "./tickline.module.scss"
|
|
6
6
|
|
|
@@ -18,8 +18,8 @@ import { Component, componentFromDOM, wrapDOM } from '../../core/component';
|
|
|
18
18
|
import { class_ns, ITipHandler, Point, Rect, Timer, UnsafeHtml, unsafeHtml } from '../../core/core_tools';
|
|
19
19
|
|
|
20
20
|
import { HBox } from '../boxes/boxes';
|
|
21
|
-
import { Popup, PopupProps } from '../popup/popup
|
|
22
|
-
import { Icon } from '../icon/icon
|
|
21
|
+
import { Popup, PopupProps } from '../popup/popup';
|
|
22
|
+
import { Icon } from '../icon/icon';
|
|
23
23
|
|
|
24
24
|
import "./tooltips.scss"
|
|
25
25
|
|
|
@@ -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 { class_ns } from '
|
|
17
|
+
import { class_ns } from '../../core/core_tools';
|
|
18
18
|
import { Component, ComponentEvent, ComponentEvents, ComponentProps, EvSelectionChange, componentFromDOM } from '../../core/component';
|
|
19
19
|
|
|
20
20
|
import { ScrollView, Viewport } from '../viewport/viewport';
|
|
@@ -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 { class_ns } from '
|
|
17
|
+
import { class_ns } from '../../core/core_tools';
|
|
18
18
|
import { Component, ComponentProps } from "../../core/component"
|
|
19
19
|
|
|
20
20
|
import "./viewport.module.scss"
|
|
@@ -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, componentFromDOM } from './component
|
|
18
|
-
import { CoreElement } from './core_element
|
|
17
|
+
import { Component, componentFromDOM } from './component';
|
|
18
|
+
import { CoreElement } from './core_element';
|
|
19
19
|
import { CoreEvent, EventMap } from './core_events';
|
|
20
|
-
import { getFocusableElements, ITabHandler } from './core_tools
|
|
20
|
+
import { getFocusableElements, ITabHandler } from './core_tools';
|
|
21
21
|
|
|
22
22
|
const socket_sent = Symbol( 'socket' );
|
|
23
23
|
|
package/src/core/core_data.ts
CHANGED
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
**/
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
import { EvChange } from '
|
|
19
|
-
import { CoreElement } from '
|
|
20
|
-
import { CoreEvent, EventCallback, EventMap, EventSource } from '
|
|
21
|
-
import { isArray, isString } from '
|
|
18
|
+
import { EvChange } from './component';
|
|
19
|
+
import { CoreElement } from './core_element';
|
|
20
|
+
import { CoreEvent, EventCallback, EventMap, EventSource } from './core_events';
|
|
21
|
+
import { isArray, isString } from './core_tools';
|
|
22
22
|
|
|
23
23
|
export type DataRecordID = any;
|
|
24
24
|
export type DataFieldValue = string | Date | number | boolean;
|
package/src/core/core_element.ts
CHANGED
package/src/core/core_react.ts
CHANGED
package/src/core/core_router.ts
CHANGED
|
@@ -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 { EvChange, EvError } from './component
|
|
18
|
-
import { EventMap, EventSource } from './core_events
|
|
17
|
+
import { EvChange, EvError } from './component';
|
|
18
|
+
import { EventMap, EventSource } from './core_events';
|
|
19
19
|
|
|
20
20
|
type RouteHandler = ( params: any, path: string ) => void;
|
|
21
21
|
|
package/src/core/core_styles.ts
CHANGED
|
@@ -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 { isString } from './core_tools
|
|
17
|
+
import { isString } from './core_tools';
|
|
18
18
|
|
|
19
19
|
export const unitless: Record<string,1> = {
|
|
20
20
|
animationIterationCount: 1,
|