iobroker.mywebui 1.37.14 → 1.37.16
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/io-package.json +2 -2
- package/package.json +1 -1
- package/www/dist/frontend/common/IobrokerHandler.js +1 -1
- package/www/dist/frontend/config/ConfigureWebcomponentDesigner.js +7 -7
- package/www/dist/frontend/config/IobrokerWebuiAppShell.js +6 -6
- package/www/dist/frontend/config/IobrokerWebuiBindingsEditor.js +1 -1
- package/www/dist/frontend/config/IobrokerWebuiConfirmationWrapper.js +1 -1
- package/www/dist/frontend/config/IobrokerWebuiControlPropertiesEditor.js +1 -1
- package/www/dist/frontend/config/IobrokerWebuiEventAssignment.js +2 -2
- package/www/dist/frontend/config/IobrokerWebuiIconsView.js +2 -2
- package/www/dist/frontend/config/IobrokerWebuiMonacoEditor.js +2 -2
- package/www/dist/frontend/config/IobrokerWebuiPropertyGrid.js +1 -1
- package/www/dist/frontend/config/IobrokerWebuiScreenEditor.js +2 -2
- package/www/dist/frontend/config/IobrokerWebuiScreensView.js +2 -2
- package/www/dist/frontend/config/IobrokerWebuiSignalPropertyEditor.js +1 -1
- package/www/dist/frontend/config/IobrokerWebuiSolutionExplorer.js +3 -3
- package/www/dist/frontend/helper/DialogHelper.js +1 -1
- package/www/dist/frontend/runtime/CustomControls.js +2 -2
- package/www/dist/frontend/runtime/HabPanelLikeMenu.js +1 -1
- package/www/dist/frontend/runtime/ScreenViewer.js +4 -4
- package/www/dist/frontend/runtime/TranslateableText.js +1 -1
- package/www/dist/frontend/runtime/init.js +2 -2
- package/www/dist/frontend/scripting/IobrokerWebuiScriptSystem.js +1 -1
- package/www/dist/frontend/scripting/blockly/webuiBlocklyToolbox.js +1 -1
- package/www/dist/frontend/services/IobrokerWebuiBindableLocalObjectsService.js +1 -1
- package/www/dist/frontend/services/IobrokerWebuiBindableObjectDragDropService.js +2 -2
- package/www/dist/frontend/services/IobrokerWebuiBindableObjectsService.js +1 -1
- package/www/dist/frontend/services/IobrokerWebuiConfigButtonProvider.js +1 -1
- package/www/dist/frontend/services/IobrokerWebuiCopyPasteService.js +1 -1
- package/www/dist/frontend/services/IobrokerWebuiCustomControlEventsService.js +1 -1
- package/www/dist/frontend/services/IobrokerWebuiDemoProviderService.js +1 -1
- package/www/dist/frontend/services/IobrokerWebuiExternalDragDropService.js +1 -1
- package/www/dist/frontend/services/IobrokerWebuiPropertiesService.js +1 -1
- package/www/dist/frontend/services/IobrokerWebuiRefactorService.js +1 -1
- package/www/dist/frontend/services/IobrokerWebuiSpecialPropertiesService.js +1 -1
- package/www/dist/frontend/services/IobrokerWebuiVisibilityPropertiesService.js +1 -1
- package/www/dist/importmaps/importmap-config.js +4 -0
- package/www/dist/importmaps/importmap-runtime.js +4 -0
package/io-package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "mywebui",
|
|
4
|
-
"version": "1.37.
|
|
4
|
+
"version": "1.37.16",
|
|
5
5
|
"titleLang": {
|
|
6
6
|
"en": "mywebui",
|
|
7
7
|
"de": "mywebui",
|
|
@@ -294,7 +294,7 @@
|
|
|
294
294
|
"color": "#c8ffe1",
|
|
295
295
|
"order": 1
|
|
296
296
|
},
|
|
297
|
-
"installedFrom": "iobroker.mywebui@1.37.
|
|
297
|
+
"installedFrom": "iobroker.mywebui@1.37.16"
|
|
298
298
|
},
|
|
299
299
|
"native": {
|
|
300
300
|
"licenseKey": ""
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Connection } from "@iobroker/socket-client";
|
|
2
|
-
import { TypedEvent, cssFromString } from "@
|
|
2
|
+
import { TypedEvent, cssFromString } from "@gokturk413/base-custom-webcomponent";
|
|
3
3
|
import { sleep } from "../helper/Helper.js";
|
|
4
4
|
import { generateCustomControl } from "../runtime/CustomControls.js";
|
|
5
5
|
export class IobrokerHandler {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { BaseCustomWebcomponentBindingsService, EventsService, JsonFileElementsService, PreDefinedElementsService, SeperatorContextMenu, TextRefactorService, createDefaultServiceContainer } from "@
|
|
2
|
-
import { NodeHtmlParserService } from '@
|
|
3
|
-
import { CodeViewMonaco } from '@
|
|
4
|
-
import { CssToolsStylesheetService } from '@
|
|
5
|
-
import { VisualizationBindingsService, PropertyGridDragDropService, ScriptRefactorService, VisualizationBindingsRefactorService } from "@
|
|
1
|
+
import { BaseCustomWebcomponentBindingsService, EventsService, JsonFileElementsService, PreDefinedElementsService, SeperatorContextMenu, TextRefactorService, createDefaultServiceContainer } from "@gokturk413/web-component-designer";
|
|
2
|
+
import { NodeHtmlParserService } from '@gokturk413/web-component-designer-htmlparserservice-nodehtmlparser';
|
|
3
|
+
import { CodeViewMonaco } from '@gokturk413/web-component-designer-codeview-monaco';
|
|
4
|
+
import { CssToolsStylesheetService } from '@gokturk413/web-component-designer-stylesheetservice-css-tools';
|
|
5
|
+
import { VisualizationBindingsService, PropertyGridDragDropService, ScriptRefactorService, VisualizationBindingsRefactorService } from "@gokturk413/web-component-designer-visualization-addons";
|
|
6
6
|
import { IobrokerWebuiBindableObjectsService } from "../services/IobrokerWebuiBindableObjectsService.js";
|
|
7
7
|
import { IobrokerWebuiDemoProviderService } from "../services/IobrokerWebuiDemoProviderService.js";
|
|
8
8
|
import { IobrokerWebuiConfirmationWrapper } from "./IobrokerWebuiConfirmationWrapper.js";
|
|
@@ -16,7 +16,7 @@ import { IobrokerWebuiRefactorService } from "../services/IobrokerWebuiRefactorS
|
|
|
16
16
|
import { IobrokerWebuiSpecialPropertiesService } from "../services/IobrokerWebuiSpecialPropertiesService.js";
|
|
17
17
|
// import { IobrokerWebuiVisibilityPropertiesService } from "../services/IobrokerWebuiVisibilityPropertiesService.js";
|
|
18
18
|
import { iobrokerHandler } from "../common/IobrokerHandler.js";
|
|
19
|
-
import { ExpandCollapseContextMenu } from "@
|
|
19
|
+
import { ExpandCollapseContextMenu } from "@gokturk413/web-component-designer-widgets-wunderbaum";
|
|
20
20
|
import { IobrokerWebuiScreenContextMenu } from "../services/IobrokerWebuiScreenContextMenu.js";
|
|
21
21
|
import { IobrokerWebuiEventsService } from "../services/IobrokerWebuiEventsService.js";
|
|
22
22
|
import { IobrokerWebuiCustomControlEventsService } from "../services/IobrokerWebuiCustomControlEventsService.js";
|
|
@@ -46,7 +46,7 @@ export function configureDesigner(bindingsHelper) {
|
|
|
46
46
|
serviceContainer.register("stylesheetService", designerCanvas => new CssToolsStylesheetService(designerCanvas));
|
|
47
47
|
serviceContainer.config.codeViewWidget = CodeViewMonaco;
|
|
48
48
|
serviceContainer.register('elementsService', new JsonFileElementsService('webui', './dist/frontend/elements-webui.json'));
|
|
49
|
-
serviceContainer.register('elementsService', new JsonFileElementsService('native', './node_modules/@
|
|
49
|
+
serviceContainer.register('elementsService', new JsonFileElementsService('native', './node_modules/@gokturk413/web-component-designer/config/elements-native.json'));
|
|
50
50
|
serviceContainer.register('propertyService', new IobrokerWebuiPropertiesService());
|
|
51
51
|
serviceContainer.register('propertyService', new IobrokerWebuiSpecialPropertiesService());
|
|
52
52
|
// Visibility is now handled directly in PropertyGrid
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { iobrokerHandler } from '../common/IobrokerHandler.js';
|
|
2
2
|
import { IobrokerWebuiScriptSystem } from '../scripting/IobrokerWebuiScriptSystem.js';
|
|
3
|
-
import { BindingsHelper } from '@
|
|
3
|
+
import { BindingsHelper } from '@gokturk413/web-component-designer-visualization-addons/dist/helpers/BindingsHelper.js';
|
|
4
4
|
import Toastify from 'toastify-js';
|
|
5
5
|
//@ts-ignore
|
|
6
6
|
await LazyLoader.LoadJavascript(window.iobrokerSocketScriptUrl);
|
|
@@ -8,13 +8,13 @@ iobrokerHandler.init();
|
|
|
8
8
|
const scriptSystem = new IobrokerWebuiScriptSystem(iobrokerHandler);
|
|
9
9
|
const bindingsHelper = new BindingsHelper(iobrokerHandler);
|
|
10
10
|
LazyLoader.LoadJavascript('./node_modules/monaco-editor/min/vs/loader.js');
|
|
11
|
-
import '@
|
|
12
|
-
import { ValueType } from '@
|
|
13
|
-
import { BindableObjectsBrowser } from '@
|
|
11
|
+
import '@gokturk413/web-component-designer';
|
|
12
|
+
import { ValueType } from '@gokturk413/web-component-designer';
|
|
13
|
+
import { BindableObjectsBrowser } from '@gokturk413/web-component-designer-widgets-wunderbaum';
|
|
14
14
|
import { PanelContainer, PanelType } from 'dock-spawn-ts';
|
|
15
15
|
import { configureDesigner } from './ConfigureWebcomponentDesigner.js';
|
|
16
16
|
const serviceContainer = configureDesigner(bindingsHelper);
|
|
17
|
-
import { BaseCustomWebComponentConstructorAppend, LazyLoader, css, html } from '@
|
|
17
|
+
import { BaseCustomWebComponentConstructorAppend, LazyLoader, css, html } from '@gokturk413/base-custom-webcomponent';
|
|
18
18
|
import { CommandHandling } from './CommandHandling.js';
|
|
19
19
|
import propertiesTypeInfo from "../generated/Properties.json" with { type: 'json' };
|
|
20
20
|
import "../runtime/controls.js";
|
|
@@ -27,7 +27,7 @@ import { IobrokerWebuiScreenEditor } from './IobrokerWebuiScreenEditor.js';
|
|
|
27
27
|
import { IobrokerWebuiConfirmationWrapper } from './IobrokerWebuiConfirmationWrapper.js';
|
|
28
28
|
import { getPanelContainerForElement } from './DockHelper.js';
|
|
29
29
|
import { IobrokerWebuiPropertyGrid } from './IobrokerWebuiPropertyGrid.js';
|
|
30
|
-
import { typeInfoFromJsonSchema } from '@
|
|
30
|
+
import { typeInfoFromJsonSchema } from '@gokturk413/propertygrid.webcomponent';
|
|
31
31
|
import { openSelectIdDialog } from "@iobroker/webcomponent-selectid-dialog/dist/selectIdHelper.js";
|
|
32
32
|
import "./IobrokerWebuiTranslationEditor.js";
|
|
33
33
|
export class IobrokerWebuiAppShell extends BaseCustomWebComponentConstructorAppend {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BindingsEditor } from "@
|
|
1
|
+
import { BindingsEditor } from "@gokturk413/web-component-designer-visualization-addons";
|
|
2
2
|
import { openSelectIdDialog } from "@iobroker/webcomponent-selectid-dialog/dist/selectIdHelper.js";
|
|
3
3
|
//@ts-ignore
|
|
4
4
|
export class IobrokerWebuiBindingsEditor extends BindingsEditor {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseCustomWebComponentConstructorAppend, TypedEvent, css, html } from "@
|
|
1
|
+
import { BaseCustomWebComponentConstructorAppend, TypedEvent, css, html } from "@gokturk413/base-custom-webcomponent";
|
|
2
2
|
export class IobrokerWebuiConfirmationWrapper extends BaseCustomWebComponentConstructorAppend {
|
|
3
3
|
static style = css `
|
|
4
4
|
#upper {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseCustomWebComponentConstructorAppend, css, html } from "@
|
|
1
|
+
import { BaseCustomWebComponentConstructorAppend, css, html } from "@gokturk413/base-custom-webcomponent";
|
|
2
2
|
const notAllowedChars = '!"§$%&/()=?`´-:.,;<>|\\\'#+*°^';
|
|
3
3
|
export class IobrokerWebuiControlPropertiesEditor extends BaseCustomWebComponentConstructorAppend {
|
|
4
4
|
static style = css `
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DomHelper } from "@
|
|
2
|
-
import { EventAssignment } from "@
|
|
1
|
+
import { DomHelper } from "@gokturk413/base-custom-webcomponent";
|
|
2
|
+
import { EventAssignment } from "@gokturk413/web-component-designer-visualization-addons";
|
|
3
3
|
import { IobrokerWebuiScreenEditor } from "./IobrokerWebuiScreenEditor.js";
|
|
4
4
|
import { findExportFunctionDeclarations } from "../helper/EsprimaHelper.js";
|
|
5
5
|
import { iobrokerHandler } from "../common/IobrokerHandler.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { BaseCustomWebComponentConstructorAppend, html, css } from '@
|
|
1
|
+
import { BaseCustomWebComponentConstructorAppend, html, css } from '@gokturk413/base-custom-webcomponent';
|
|
2
2
|
import { iobrokerHandler } from '../common/IobrokerHandler.js';
|
|
3
|
-
import { dragDropFormatNameElementDefinition, dragDropFormatNamePropertyGrid } from '@
|
|
3
|
+
import { dragDropFormatNameElementDefinition, dragDropFormatNamePropertyGrid } from '@gokturk413/web-component-designer';
|
|
4
4
|
export class IobrokerWebuiIconsView extends BaseCustomWebComponentConstructorAppend {
|
|
5
5
|
static template = html `
|
|
6
6
|
<div id="root"></div>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BaseCustomWebComponentConstructorAppend, LazyLoader, css, html } from "@
|
|
2
|
-
import { sleep } from "@
|
|
1
|
+
import { BaseCustomWebComponentConstructorAppend, LazyLoader, css, html } from "@gokturk413/base-custom-webcomponent";
|
|
2
|
+
import { sleep } from "@gokturk413/web-component-designer";
|
|
3
3
|
import { iobrokerHandler } from "../common/IobrokerHandler.js";
|
|
4
4
|
export class IobrokerWebuiMonacoEditor extends BaseCustomWebComponentConstructorAppend {
|
|
5
5
|
static style = css `
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { VisualizationPropertyGrid } from "@
|
|
1
|
+
import { VisualizationPropertyGrid } from "@gokturk413/web-component-designer-visualization-addons";
|
|
2
2
|
import { iobrokerHandler } from "../common/IobrokerHandler.js";
|
|
3
3
|
|
|
4
4
|
export class IobrokerWebuiPropertyGrid extends VisualizationPropertyGrid {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BaseCustomWebComponentConstructorAppend, css, html } from "@
|
|
2
|
-
import { DocumentContainer, PropertiesHelper, } from "@
|
|
1
|
+
import { BaseCustomWebComponentConstructorAppend, css, html } from "@gokturk413/base-custom-webcomponent";
|
|
2
|
+
import { DocumentContainer, PropertiesHelper, } from "@gokturk413/web-component-designer";
|
|
3
3
|
import { iobrokerHandler } from "../common/IobrokerHandler.js";
|
|
4
4
|
export const defaultNewStyle = `:host {
|
|
5
5
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { BaseCustomWebComponentConstructorAppend, html, css } from '@
|
|
1
|
+
import { BaseCustomWebComponentConstructorAppend, html, css } from '@gokturk413/base-custom-webcomponent';
|
|
2
2
|
import { iobrokerHandler } from '../common/IobrokerHandler.js';
|
|
3
|
-
import { dragDropFormatNameElementDefinition } from '@
|
|
3
|
+
import { dragDropFormatNameElementDefinition } from '@gokturk413/web-component-designer';
|
|
4
4
|
import { ScreenViewer } from '../runtime/ScreenViewer.js';
|
|
5
5
|
export class IobrokerWebuiScreensView extends BaseCustomWebComponentConstructorAppend {
|
|
6
6
|
static template = html `
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SignalPropertyEditor } from "@
|
|
1
|
+
import { SignalPropertyEditor } from "@gokturk413/web-component-designer-visualization-addons";
|
|
2
2
|
import { openSelectIdDialog } from "@iobroker/webcomponent-selectid-dialog/dist/selectIdHelper.js";
|
|
3
3
|
export class IobrokerWebuiSignalPropertyEditor extends SignalPropertyEditor {
|
|
4
4
|
constructor(property, shell) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { BaseCustomWebComponentConstructorAppend, LazyLoader, css, html } from "@
|
|
2
|
-
import { dragDropFormatNameBindingObject, dragDropFormatNameElementDefinition, ContextMenu, sleep, dragDropFormatNamePropertyGrid, PropertiesHelper, copyTextToClipboard, NamedTools } from "@
|
|
1
|
+
import { BaseCustomWebComponentConstructorAppend, LazyLoader, css, html } from "@gokturk413/base-custom-webcomponent";
|
|
2
|
+
import { dragDropFormatNameBindingObject, dragDropFormatNameElementDefinition, ContextMenu, sleep, dragDropFormatNamePropertyGrid, PropertiesHelper, copyTextToClipboard, NamedTools } from "@gokturk413/web-component-designer";
|
|
3
3
|
import { iobrokerHandler } from "../common/IobrokerHandler.js";
|
|
4
4
|
import { exportData, openFileDialog } from "../helper/Helper.js";
|
|
5
5
|
import { getCustomControlName, webuiCustomControlPrefix } from "../runtime/CustomControls.js";
|
|
6
|
-
import { defaultOptions, defaultStyle } from "@
|
|
6
|
+
import { defaultOptions, defaultStyle } from "@gokturk413/web-component-designer-widgets-wunderbaum";
|
|
7
7
|
import { Wunderbaum } from 'wunderbaum';
|
|
8
8
|
//@ts-ignore
|
|
9
9
|
import wunderbaumStyle from 'wunderbaum/dist/wunderbaum.css' with { type: 'css' };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseCustomWebComponentConstructorAppend, css, html } from "@
|
|
1
|
+
import { BaseCustomWebComponentConstructorAppend, css, html } from "@gokturk413/base-custom-webcomponent";
|
|
2
2
|
export class IoBrokerWebuiDialog extends BaseCustomWebComponentConstructorAppend {
|
|
3
3
|
container;
|
|
4
4
|
uniqueId;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { BaseCustomWebComponentConstructorAppend, css, cssFromString } from "@
|
|
1
|
+
import { BaseCustomWebComponentConstructorAppend, css, cssFromString } from "@gokturk413/base-custom-webcomponent";
|
|
2
2
|
import { iobrokerHandler } from "../common/IobrokerHandler.js";
|
|
3
|
-
import { PropertiesHelper } from "@
|
|
3
|
+
import { PropertiesHelper } from "@gokturk413/web-component-designer/dist/elements/services/propertiesService/services/PropertiesHelper.js";
|
|
4
4
|
import { visibilityService } from "./VisibilityService.js";
|
|
5
5
|
export const webuiCustomControlPrefix = 'webui-';
|
|
6
6
|
export const webuiCustomControlSymbol = Symbol('webuiCustomControlSymbol');
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __decorate } from "tslib";
|
|
2
|
-
import { BaseCustomWebComponentConstructorAppend, css, customElement, html, property } from "@
|
|
2
|
+
import { BaseCustomWebComponentConstructorAppend, css, customElement, html, property } from "@gokturk413/base-custom-webcomponent";
|
|
3
3
|
let HabPanelLikeMenu = class HabPanelLikeMenu extends BaseCustomWebComponentConstructorAppend {
|
|
4
4
|
static style = css `
|
|
5
5
|
:host {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
var ScreenViewer_1;
|
|
2
2
|
import { __decorate } from "tslib";
|
|
3
|
-
import { BaseCustomWebComponentConstructorAppend, css, cssFromString, customElement, DomHelper, html, property } from "@
|
|
3
|
+
import { BaseCustomWebComponentConstructorAppend, css, cssFromString, customElement, DomHelper, html, property } from "@gokturk413/base-custom-webcomponent";
|
|
4
4
|
import { iobrokerHandler } from "../common/IobrokerHandler.js";
|
|
5
|
-
import { convertCssUnitToPixel } from "@
|
|
6
|
-
import { isFirefox } from "@
|
|
7
|
-
import { PropertiesHelper } from "@
|
|
5
|
+
import { convertCssUnitToPixel } from "@gokturk413/web-component-designer/dist/elements/helper/CssUnitConverter.js";
|
|
6
|
+
import { isFirefox } from "@gokturk413/web-component-designer/dist/elements/helper/Browser.js";
|
|
7
|
+
import { PropertiesHelper } from "@gokturk413/web-component-designer/dist/elements/services/propertiesService/services/PropertiesHelper.js";
|
|
8
8
|
import { visibilityService } from "./VisibilityService.js";
|
|
9
9
|
let ScreenViewer = class ScreenViewer extends BaseCustomWebComponentConstructorAppend {
|
|
10
10
|
static { ScreenViewer_1 = this; }
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __decorate } from "tslib";
|
|
2
|
-
import { BaseCustomWebComponentConstructorAppend, DomHelper, css, customElement } from "@
|
|
2
|
+
import { BaseCustomWebComponentConstructorAppend, DomHelper, css, customElement } from "@gokturk413/base-custom-webcomponent";
|
|
3
3
|
import { iobrokerHandler } from "../common/IobrokerHandler.js";
|
|
4
4
|
let TranslateableText = class TranslateableText extends BaseCustomWebComponentConstructorAppend {
|
|
5
5
|
static style = css `
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { iobrokerHandler } from '../common/IobrokerHandler.js';
|
|
2
|
-
import { LazyLoader } from '@
|
|
3
|
-
import { BindingsHelper } from '@
|
|
2
|
+
import { LazyLoader } from '@gokturk413/base-custom-webcomponent';
|
|
3
|
+
import { BindingsHelper } from '@gokturk413/web-component-designer-visualization-addons/dist/helpers/BindingsHelper.js';
|
|
4
4
|
import { IobrokerWebuiScriptSystem } from '../scripting/IobrokerWebuiScriptSystem.js';
|
|
5
5
|
//@ts-ignore
|
|
6
6
|
await LazyLoader.LoadJavascript(window.iobrokerSocketScriptUrl);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ScreenViewer } from "../runtime/ScreenViewer.js";
|
|
2
2
|
import { iobrokerHandler } from "../common/IobrokerHandler.js";
|
|
3
3
|
import { IoBrokerWebuiDialog } from "../helper/DialogHelper.js";
|
|
4
|
-
import { ScriptSystem } from "@
|
|
4
|
+
import { ScriptSystem } from "@gokturk413/web-component-designer-visualization-addons/dist/scripting/ScriptSystem.js";
|
|
5
5
|
export class IobrokerWebuiScriptSystem extends ScriptSystem {
|
|
6
6
|
//@ts-ignore
|
|
7
7
|
async runScriptCommand(command, context) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import toolbox from "@
|
|
1
|
+
import toolbox from "@gokturk413/web-component-designer-visualization-addons/dist/blockly/BlocklyToolbox.js";
|
|
2
2
|
const tb = structuredClone(toolbox);
|
|
3
3
|
const systemLst = tb.contents.find(x => x.name === 'System').contents;
|
|
4
4
|
//@ts-ignore
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BindableObjectType } from "@
|
|
1
|
+
import { BindableObjectType } from "@gokturk413/web-component-designer";
|
|
2
2
|
import { iobrokerHandler } from "../common/IobrokerHandler.js";
|
|
3
3
|
export class IobrokerWebuiBindableLocalObjectsService {
|
|
4
4
|
name = 'locals';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DesignItem, BindingTarget, InsertAction } from "@
|
|
2
|
-
import { BindableObjectDragDropService } from "@
|
|
1
|
+
import { DesignItem, BindingTarget, InsertAction } from "@gokturk413/web-component-designer";
|
|
2
|
+
import { BindableObjectDragDropService } from "@gokturk413/web-component-designer-visualization-addons";
|
|
3
3
|
export class IobrokerWebuiBindableObjectDragDropService extends BindableObjectDragDropService {
|
|
4
4
|
async drop(designerCanvas, event, bindableObject, element) {
|
|
5
5
|
const position = designerCanvas.getNormalizedEventCoordinates(event);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BindableObjectType } from "@
|
|
1
|
+
import { BindableObjectType } from "@gokturk413/web-component-designer";
|
|
2
2
|
import { iobrokerHandler } from "../common/IobrokerHandler.js";
|
|
3
3
|
export class IobrokerWebuiBindableObjectsService {
|
|
4
4
|
name = 'iobroker';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DomHelper } from "@
|
|
1
|
+
import { DomHelper } from "@gokturk413/base-custom-webcomponent";
|
|
2
2
|
import { IobrokerWebuiScreenEditor } from "../config/IobrokerWebuiScreenEditor.js";
|
|
3
3
|
export class IobrokerWebuiConfigButtonProvider {
|
|
4
4
|
constructor() { }
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CopyPasteAsJsonService, DesignItem, getFromClipboard } from "@
|
|
1
|
+
import { CopyPasteAsJsonService, DesignItem, getFromClipboard } from "@gokturk413/web-component-designer";
|
|
2
2
|
import { iobrokerHandler } from "../common/IobrokerHandler.js";
|
|
3
3
|
export class IobrokerWebuiCopyPasteService extends CopyPasteAsJsonService {
|
|
4
4
|
async getPasteItems(serviceContainer, instanceServiceContainer) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EventsService, PropertiesHelper } from "@
|
|
1
|
+
import { EventsService, PropertiesHelper } from "@gokturk413/web-component-designer";
|
|
2
2
|
import { BaseCustomControl, webuiCustomControlSymbol } from "../runtime/CustomControls.js";
|
|
3
3
|
export class IobrokerWebuiCustomControlEventsService {
|
|
4
4
|
isHandledElementFromEventsService(designItem) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DomHelper } from "@
|
|
1
|
+
import { DomHelper } from "@gokturk413/base-custom-webcomponent";
|
|
2
2
|
import { ScreenViewer } from "../runtime/ScreenViewer.js";
|
|
3
3
|
export class IobrokerWebuiDemoProviderService {
|
|
4
4
|
async provideDemo(container, serviceContainer, instanceServiceContainer, code) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DesignItem, ExternalDragDropService, InsertAction } from "@
|
|
1
|
+
import { DesignItem, ExternalDragDropService, InsertAction } from "@gokturk413/web-component-designer";
|
|
2
2
|
import { iobrokerHandler } from "../common/IobrokerHandler.js";
|
|
3
3
|
export class IobrokerWebuiExternalDragDropService extends ExternalDragDropService {
|
|
4
4
|
async drop(designerCanvas, event) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseCustomWebComponentPropertiesService, PropertyType } from "@
|
|
1
|
+
import { BaseCustomWebComponentPropertiesService, PropertyType } from "@gokturk413/web-component-designer";
|
|
2
2
|
import { BaseCustomControl, webuiCustomControlSymbol } from "../runtime/CustomControls.js";
|
|
3
3
|
import { iobrokerHandler } from "../common/IobrokerHandler.js";
|
|
4
4
|
import { ScreenViewer } from "../runtime/ScreenViewer.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BindingTarget, PropertiesHelper } from "@
|
|
1
|
+
import { BindingTarget, PropertiesHelper } from "@gokturk413/web-component-designer";
|
|
2
2
|
import { BaseCustomControl, webuiCustomControlSymbol } from "../runtime/CustomControls.js";
|
|
3
3
|
export class IobrokerWebuiRefactorService {
|
|
4
4
|
getRefactorings(designItems) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { NativeElementsPropertiesService, PropertyType } from "@
|
|
1
|
+
import { NativeElementsPropertiesService, PropertyType } from "@gokturk413/web-component-designer";
|
|
2
2
|
export class IobrokerWebuiSpecialPropertiesService extends NativeElementsPropertiesService {
|
|
3
3
|
isHandledElement(designItem) {
|
|
4
4
|
return designItem.element instanceof HTMLInputElement;
|
|
@@ -31,6 +31,10 @@ const importMapConfig = {
|
|
|
31
31
|
"@gokturk413/web-component-designer-visualization-addons": "./node_modules/@gokturk413/web-component-designer-visualization-addons/dist/index.js",
|
|
32
32
|
"@gokturk413/web-component-designer-codeview-monaco": "./node_modules/@gokturk413/web-component-designer-codeview-monaco/dist/widgets/codeView/code-view-monaco.js",
|
|
33
33
|
"@gokturk413/web-component-designer-htmlparserservice-nodehtmlparser": "./node_modules/@gokturk413/web-component-designer-htmlparserservice-nodehtmlparser/dist/service/htmlParserService/NodeHtmlParserService.js",
|
|
34
|
+
"@gokturk413/base-custom-webcomponent": "./node_modules/@node-projects/base-custom-webcomponent/dist/index-min.js",
|
|
35
|
+
"@gokturk413/base-custom-webcomponent/": "./node_modules/@node-projects/base-custom-webcomponent/",
|
|
36
|
+
"@gokturk413/propertygrid.webcomponent": "./node_modules/@node-projects/propertygrid.webcomponent/dist/index.js",
|
|
37
|
+
"@gokturk413/propertygrid.webcomponent/": "./node_modules/@node-projects/propertygrid.webcomponent/",
|
|
34
38
|
"@gokturk413/": "./node_modules/@gokturk413/",
|
|
35
39
|
"@iobroker/socket-client/": "./node_modules/@iobroker/socket-client/",
|
|
36
40
|
"@iobroker/socket-client": "./node_modules/@iobroker/socket-client/dist/esm/index.js",
|
|
@@ -9,6 +9,10 @@ const importMapRuntime = {
|
|
|
9
9
|
"@gokturk413/": "./node_modules/@gokturk413/",
|
|
10
10
|
"@gokturk413/web-component-designer": "./node_modules/@gokturk413/web-component-designer/dist/index.js",
|
|
11
11
|
"@gokturk413/web-component-designer-visualization-addons": "./node_modules/@gokturk413/web-component-designer-visualization-addons/dist/index.js",
|
|
12
|
+
"@gokturk413/base-custom-webcomponent": "./node_modules/@node-projects/base-custom-webcomponent/dist/index.js",
|
|
13
|
+
"@gokturk413/base-custom-webcomponent/": "./node_modules/@node-projects/base-custom-webcomponent/",
|
|
14
|
+
"@gokturk413/propertygrid.webcomponent": "./node_modules/@node-projects/propertygrid.webcomponent/dist/index.js",
|
|
15
|
+
"@gokturk413/propertygrid.webcomponent/": "./node_modules/@node-projects/propertygrid.webcomponent/",
|
|
12
16
|
"@iobroker/socket-client/": "./node_modules/@iobroker/socket-client/",
|
|
13
17
|
"@iobroker/socket-client": "./node_modules/@iobroker/socket-client/dist/esm/index.js",
|
|
14
18
|
"tslib": "./node_modules/tslib/tslib.es6.mjs",
|