@infomaximum/package-cli 2.2.1 → 2.3.0
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
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [2.3.0](https://github.com/Infomaximum/package-cli/compare/v2.2.1...v2.3.0) (2024-03-25)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* передача манифеста при регистрации виджета ([f24a231](https://github.com/Infomaximum/package-cli/commit/f24a23144b061d5627b69919575d5de7fb138940))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* убран baseUrl ([2448a1a](https://github.com/Infomaximum/package-cli/commit/2448a1ad7ec69af8369576b544364dc519df5060))
|
|
16
|
+
|
|
5
17
|
### [2.2.1](https://github.com/Infomaximum/package-cli/compare/v2.2.0...v2.2.1) (2024-03-22)
|
|
6
18
|
|
|
7
19
|
|
|
@@ -9,8 +9,8 @@ import type {
|
|
|
9
9
|
IWidgetDimensionHierarchy,
|
|
10
10
|
IWidgetMeasure,
|
|
11
11
|
} from "${WIDGET_SDK_LIB_NAME}";
|
|
12
|
-
import { fillSettings, type WidgetSettings } from "
|
|
13
|
-
import { createPanelDescription } from "
|
|
12
|
+
import { fillSettings, type WidgetSettings } from "./settings";
|
|
13
|
+
import { createPanelDescription } from "./panel";
|
|
14
14
|
|
|
15
15
|
export class Definition implements IDefinition<WidgetSettings, IGroupSettings> {
|
|
16
16
|
public createPanelDescription: IPanelDescriptionCreator<
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
type IPanelDescriptionCreator,
|
|
5
5
|
type IGroupSettings,
|
|
6
6
|
} from "${WIDGET_SDK_LIB_NAME}";
|
|
7
|
-
import type { WidgetSettings } from "
|
|
7
|
+
import type { WidgetSettings } from "./settings";
|
|
8
8
|
|
|
9
9
|
export const createPanelDescription: IPanelDescriptionCreator<
|
|
10
10
|
WidgetSettings,
|
|
@@ -10,8 +10,8 @@ import {
|
|
|
10
10
|
type ICustomWidgetProps,
|
|
11
11
|
} from "${WIDGET_SDK_LIB_NAME}";
|
|
12
12
|
import manifest from "../${MANIFEST_JSON_FILE_NAME}";
|
|
13
|
-
import { type WidgetSettings } from "definition/settings";
|
|
14
|
-
import { Definition } from "definition/definition";
|
|
13
|
+
import { type WidgetSettings } from "./definition/settings";
|
|
14
|
+
import { Definition } from "./definition/definition";
|
|
15
15
|
|
|
16
16
|
class CustomWidget implements IWidget<WidgetSettings> {
|
|
17
17
|
public static definition = new Definition();
|
|
@@ -49,5 +49,5 @@ class CustomWidget implements IWidget<WidgetSettings> {
|
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
window.im.widget.defineWidget(manifest.uuid, CustomWidget);
|
|
52
|
+
window.im.widget.defineWidget(manifest.uuid, CustomWidget, { manifest });
|
|
53
53
|
`;
|