@infomaximum/widget-sdk 7.0.0-12 → 7.0.0-13
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 +7 -0
- package/README.md +1 -1
- package/dist/index.d.ts +15 -0
- package/dist/index.esm.js +2 -0
- package/dist/index.js +2 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
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
|
+
## [7.0.0-13](https://github.com/Infomaximum/widget-sdk/compare/v7.0.0-12...v7.0.0-13) (2026-03-24)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* Добавлено поле для изменения подписи кнопки запуска скрипта из модального окна ([f2aa4ae](https://github.com/Infomaximum/widget-sdk/commit/f2aa4ae35feaa4547b02a9820f2c1aeffd5ecd1c))
|
|
11
|
+
|
|
5
12
|
## [7.0.0-12](https://github.com/Infomaximum/widget-sdk/compare/v7.0.0-11...v7.0.0-12) (2026-02-20)
|
|
6
13
|
|
|
7
14
|
|
package/README.md
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1146,6 +1146,7 @@ declare const WidgetColumnIndicatorSchema: (z: TZod) => zod.ZodObject<{
|
|
|
1146
1146
|
option: zod.ZodDefault<zod.ZodEnum<typeof EDataModelOption>>;
|
|
1147
1147
|
parent: zod.ZodDefault<zod.ZodNullable<zod.ZodString>>;
|
|
1148
1148
|
}, zod_v4_core.$strip>], "inputMethod">>>>;
|
|
1149
|
+
runButtonText: zod.ZodDefault<zod.ZodString>;
|
|
1149
1150
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
1150
1151
|
id: zod.ZodPipe<zod.ZodDefault<zod.ZodNumber>, zod.ZodTransform<number, number>>;
|
|
1151
1152
|
name: zod.ZodString;
|
|
@@ -2380,6 +2381,7 @@ declare const WidgetDimensionSchema: (z: TZod) => zod.ZodObject<{
|
|
|
2380
2381
|
option: zod.ZodDefault<zod.ZodEnum<typeof EDataModelOption>>;
|
|
2381
2382
|
parent: zod.ZodDefault<zod.ZodNullable<zod.ZodString>>;
|
|
2382
2383
|
}, zod_v4_core.$strip>], "inputMethod">>>>;
|
|
2384
|
+
runButtonText: zod.ZodDefault<zod.ZodString>;
|
|
2383
2385
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
2384
2386
|
id: zod.ZodPipe<zod.ZodDefault<zod.ZodNumber>, zod.ZodTransform<number, number>>;
|
|
2385
2387
|
name: zod.ZodString;
|
|
@@ -3611,6 +3613,7 @@ declare const WidgetDimensionInHierarchySchema: (z: TZod) => zod.ZodObject<{
|
|
|
3611
3613
|
option: zod.ZodDefault<zod.ZodEnum<typeof EDataModelOption>>;
|
|
3612
3614
|
parent: zod.ZodDefault<zod.ZodNullable<zod.ZodString>>;
|
|
3613
3615
|
}, zod_v4_core.$strip>], "inputMethod">>>>;
|
|
3616
|
+
runButtonText: zod.ZodDefault<zod.ZodString>;
|
|
3614
3617
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
3615
3618
|
id: zod.ZodPipe<zod.ZodDefault<zod.ZodNumber>, zod.ZodTransform<number, number>>;
|
|
3616
3619
|
name: zod.ZodString;
|
|
@@ -4734,6 +4737,7 @@ declare const WidgetDimensionHierarchySchema: <D extends {
|
|
|
4734
4737
|
option: EDataModelOption;
|
|
4735
4738
|
parent: string | null;
|
|
4736
4739
|
}))[];
|
|
4740
|
+
runButtonText: string;
|
|
4737
4741
|
} | {
|
|
4738
4742
|
id: number;
|
|
4739
4743
|
name: string;
|
|
@@ -6732,6 +6736,7 @@ declare const WidgetMeasureSchema: (z: TZod) => zod.ZodObject<{
|
|
|
6732
6736
|
option: zod.ZodDefault<zod.ZodEnum<typeof EDataModelOption>>;
|
|
6733
6737
|
parent: zod.ZodDefault<zod.ZodNullable<zod.ZodString>>;
|
|
6734
6738
|
}, zod_v4_core.$strip>], "inputMethod">>>>;
|
|
6739
|
+
runButtonText: zod.ZodDefault<zod.ZodString>;
|
|
6735
6740
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
6736
6741
|
id: zod.ZodPipe<zod.ZodDefault<zod.ZodNumber>, zod.ZodTransform<number, number>>;
|
|
6737
6742
|
name: zod.ZodString;
|
|
@@ -8005,6 +8010,7 @@ declare const MarkdownMeasureSchema: (z: TZod) => zod.ZodObject<{
|
|
|
8005
8010
|
option: zod.ZodDefault<zod.ZodEnum<typeof EDataModelOption>>;
|
|
8006
8011
|
parent: zod.ZodDefault<zod.ZodNullable<zod.ZodString>>;
|
|
8007
8012
|
}, zod_v4_core.$strip>], "inputMethod">>>>;
|
|
8013
|
+
runButtonText: zod.ZodDefault<zod.ZodString>;
|
|
8008
8014
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
8009
8015
|
id: zod.ZodPipe<zod.ZodDefault<zod.ZodNumber>, zod.ZodTransform<number, number>>;
|
|
8010
8016
|
name: zod.ZodString;
|
|
@@ -9624,6 +9630,7 @@ declare const BaseWidgetSettingsSchema: (z: TZod) => zod.ZodObject<{
|
|
|
9624
9630
|
option: zod.ZodDefault<zod.ZodEnum<typeof EDataModelOption>>;
|
|
9625
9631
|
parent: zod.ZodDefault<zod.ZodNullable<zod.ZodString>>;
|
|
9626
9632
|
}, zod_v4_core.$strip>], "inputMethod">>>>;
|
|
9633
|
+
runButtonText: zod.ZodDefault<zod.ZodString>;
|
|
9627
9634
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
9628
9635
|
id: zod.ZodPipe<zod.ZodDefault<zod.ZodNumber>, zod.ZodTransform<number, number>>;
|
|
9629
9636
|
name: zod.ZodString;
|
|
@@ -10998,6 +11005,7 @@ declare const BaseWidgetSettingsSchema: (z: TZod) => zod.ZodObject<{
|
|
|
10998
11005
|
option: zod.ZodDefault<zod.ZodEnum<typeof EDataModelOption>>;
|
|
10999
11006
|
parent: zod.ZodDefault<zod.ZodNullable<zod.ZodString>>;
|
|
11000
11007
|
}, zod_v4_core.$strip>], "inputMethod">>>>;
|
|
11008
|
+
runButtonText: zod.ZodDefault<zod.ZodString>;
|
|
11001
11009
|
}, zod_v4_core.$strip>>>;
|
|
11002
11010
|
buttonType: zod.ZodDefault<zod.ZodEnum<typeof EActionButtonsTypes>>;
|
|
11003
11011
|
backgroundColor: zod.ZodDefault<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
|
|
@@ -12768,6 +12776,7 @@ declare const ActionRunScriptSchema: (z: TZod) => zod.ZodObject<{
|
|
|
12768
12776
|
option: zod.ZodDefault<zod.ZodEnum<typeof EDataModelOption>>;
|
|
12769
12777
|
parent: zod.ZodDefault<zod.ZodNullable<zod.ZodString>>;
|
|
12770
12778
|
}, zod_v4_core.$strip>], "inputMethod">>>>;
|
|
12779
|
+
runButtonText: zod.ZodDefault<zod.ZodString>;
|
|
12771
12780
|
}, zod_v4_core.$strip>;
|
|
12772
12781
|
declare const ActionUpdateVariableSchema: (z: TZod) => zod.ZodObject<{
|
|
12773
12782
|
id: zod.ZodPipe<zod.ZodDefault<zod.ZodNumber>, zod.ZodTransform<number, number>>;
|
|
@@ -13694,6 +13703,7 @@ declare const ActionsOnClickSchema: (z: TZod) => zod.ZodUnion<readonly [zod.ZodO
|
|
|
13694
13703
|
option: zod.ZodDefault<zod.ZodEnum<typeof EDataModelOption>>;
|
|
13695
13704
|
parent: zod.ZodDefault<zod.ZodNullable<zod.ZodString>>;
|
|
13696
13705
|
}, zod_v4_core.$strip>], "inputMethod">>>>;
|
|
13706
|
+
runButtonText: zod.ZodDefault<zod.ZodString>;
|
|
13697
13707
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
13698
13708
|
id: zod.ZodPipe<zod.ZodDefault<zod.ZodNumber>, zod.ZodTransform<number, number>>;
|
|
13699
13709
|
name: zod.ZodString;
|
|
@@ -14683,6 +14693,7 @@ declare const WidgetActionSchema: (z: TZod) => zod.ZodObject<{
|
|
|
14683
14693
|
option: zod.ZodDefault<zod.ZodEnum<typeof EDataModelOption>>;
|
|
14684
14694
|
parent: zod.ZodDefault<zod.ZodNullable<zod.ZodString>>;
|
|
14685
14695
|
}, zod_v4_core.$strip>], "inputMethod">>>>;
|
|
14696
|
+
runButtonText: zod.ZodDefault<zod.ZodString>;
|
|
14686
14697
|
}, zod_v4_core.$strip>;
|
|
14687
14698
|
declare const ViewActionParameterSchema: (z: TZod) => zod.ZodIntersection<zod.ZodObject<{
|
|
14688
14699
|
id: zod.ZodPipe<zod.ZodDefault<zod.ZodNumber>, zod.ZodTransform<number, number>>;
|
|
@@ -15020,6 +15031,7 @@ declare const ActionSchema: (z: TZod) => zod.ZodUnion<readonly [zod.ZodUnion<rea
|
|
|
15020
15031
|
option: zod.ZodDefault<zod.ZodEnum<typeof EDataModelOption>>;
|
|
15021
15032
|
parent: zod.ZodDefault<zod.ZodNullable<zod.ZodString>>;
|
|
15022
15033
|
}, zod_v4_core.$strip>], "inputMethod">>>>;
|
|
15034
|
+
runButtonText: zod.ZodDefault<zod.ZodString>;
|
|
15023
15035
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
15024
15036
|
id: zod.ZodPipe<zod.ZodDefault<zod.ZodNumber>, zod.ZodTransform<number, number>>;
|
|
15025
15037
|
name: zod.ZodString;
|
|
@@ -15918,6 +15930,7 @@ declare const ActionSchema: (z: TZod) => zod.ZodUnion<readonly [zod.ZodUnion<rea
|
|
|
15918
15930
|
option: zod.ZodDefault<zod.ZodEnum<typeof EDataModelOption>>;
|
|
15919
15931
|
parent: zod.ZodDefault<zod.ZodNullable<zod.ZodString>>;
|
|
15920
15932
|
}, zod_v4_core.$strip>], "inputMethod">>>>;
|
|
15933
|
+
runButtonText: zod.ZodDefault<zod.ZodString>;
|
|
15921
15934
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
15922
15935
|
id: zod.ZodPipe<zod.ZodDefault<zod.ZodNumber>, zod.ZodTransform<number, number>>;
|
|
15923
15936
|
name: zod.ZodString;
|
|
@@ -16138,6 +16151,7 @@ declare const ActionButtonSchema: (z: TZod) => zod.ZodObject<{
|
|
|
16138
16151
|
option: zod.ZodDefault<zod.ZodEnum<typeof EDataModelOption>>;
|
|
16139
16152
|
parent: zod.ZodDefault<zod.ZodNullable<zod.ZodString>>;
|
|
16140
16153
|
}, zod_v4_core.$strip>], "inputMethod">>>>;
|
|
16154
|
+
runButtonText: zod.ZodDefault<zod.ZodString>;
|
|
16141
16155
|
}, zod_v4_core.$strip>>>;
|
|
16142
16156
|
buttonType: zod.ZodDefault<zod.ZodEnum<typeof EActionButtonsTypes>>;
|
|
16143
16157
|
backgroundColor: zod.ZodDefault<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
|
|
@@ -16750,6 +16764,7 @@ type TActionsConfig = Partial<{
|
|
|
16750
16764
|
[EActionTypes.OPEN_URL]: Omit<ICommonActionConfig, "extraInputMethods">;
|
|
16751
16765
|
[EActionTypes.EXECUTE_SCRIPT]: ICommonActionConfig & {
|
|
16752
16766
|
showActivateCondition?: boolean;
|
|
16767
|
+
enableRunButtonText?: (parameters: IActionRunScript["parameters"]) => boolean;
|
|
16753
16768
|
};
|
|
16754
16769
|
}>;
|
|
16755
16770
|
declare const defaultActionsConfig: {
|
package/dist/index.esm.js
CHANGED
|
@@ -870,6 +870,7 @@ var ActionRunScriptSchema = function (z) {
|
|
|
870
870
|
activateCondition: ActivateConditionSchema(z),
|
|
871
871
|
hint: z.string().default(""),
|
|
872
872
|
variables: z.array(ActionOnClickParameterSchema(z)).default([]),
|
|
873
|
+
runButtonText: z.string().default(""),
|
|
873
874
|
});
|
|
874
875
|
};
|
|
875
876
|
var ActionUpdateVariableSchema = function (z) {
|
|
@@ -966,6 +967,7 @@ var WidgetActionSchema = function (z) {
|
|
|
966
967
|
hint: z.string().default(""),
|
|
967
968
|
activateCondition: ActivateConditionSchema(z),
|
|
968
969
|
variables: z.array(WidgetActionParameterSchema(z)).default([]),
|
|
970
|
+
runButtonText: z.string().default(""),
|
|
969
971
|
});
|
|
970
972
|
};
|
|
971
973
|
var ViewActionParameterSchema = function (z) {
|
package/dist/index.js
CHANGED
|
@@ -871,6 +871,7 @@ var ActionRunScriptSchema = function (z) {
|
|
|
871
871
|
activateCondition: ActivateConditionSchema(z),
|
|
872
872
|
hint: z.string().default(""),
|
|
873
873
|
variables: z.array(ActionOnClickParameterSchema(z)).default([]),
|
|
874
|
+
runButtonText: z.string().default(""),
|
|
874
875
|
});
|
|
875
876
|
};
|
|
876
877
|
var ActionUpdateVariableSchema = function (z) {
|
|
@@ -967,6 +968,7 @@ var WidgetActionSchema = function (z) {
|
|
|
967
968
|
hint: z.string().default(""),
|
|
968
969
|
activateCondition: ActivateConditionSchema(z),
|
|
969
970
|
variables: z.array(WidgetActionParameterSchema(z)).default([]),
|
|
971
|
+
runButtonText: z.string().default(""),
|
|
970
972
|
});
|
|
971
973
|
};
|
|
972
974
|
var ViewActionParameterSchema = function (z) {
|