@preference-sl/prefconfigurator-wasm 1.3.2 → 2.0.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/_framework/PrefConfigurator.Abstractions.1yznk6sqco.wasm +0 -0
- package/_framework/PrefConfigurator.Abstractions.1yznk6sqco.wasm.br +0 -0
- package/_framework/PrefConfigurator.Abstractions.1yznk6sqco.wasm.gz +0 -0
- package/_framework/PrefConfigurator.Application.lr3i5lxos0.wasm +0 -0
- package/_framework/PrefConfigurator.Application.lr3i5lxos0.wasm.br +0 -0
- package/_framework/PrefConfigurator.Application.lr3i5lxos0.wasm.gz +0 -0
- package/_framework/{PrefConfigurator.Infrastructure.yancem7w3j.wasm → PrefConfigurator.Infrastructure.0259fp5kaj.wasm} +0 -0
- package/_framework/PrefConfigurator.Infrastructure.0259fp5kaj.wasm.br +0 -0
- package/_framework/PrefConfigurator.Infrastructure.0259fp5kaj.wasm.gz +0 -0
- package/_framework/PrefConfigurator.Wasm.pxmidb5bkr.wasm +0 -0
- package/_framework/PrefConfigurator.Wasm.pxmidb5bkr.wasm.br +0 -0
- package/_framework/PrefConfigurator.Wasm.pxmidb5bkr.wasm.gz +0 -0
- package/_framework/System.Linq.woe2vgkbht.wasm +0 -0
- package/_framework/System.Linq.woe2vgkbht.wasm.br +0 -0
- package/_framework/System.Linq.woe2vgkbht.wasm.gz +0 -0
- package/_framework/System.Private.CoreLib.tuttj8u7r1.wasm +0 -0
- package/_framework/System.Private.CoreLib.tuttj8u7r1.wasm.br +0 -0
- package/_framework/System.Private.CoreLib.tuttj8u7r1.wasm.gz +0 -0
- package/_framework/blazor.boot.json +15 -15
- package/_framework/blazor.boot.json.br +0 -0
- package/_framework/blazor.boot.json.gz +0 -0
- package/_framework/{dotnet.native.6knj68ydzo.wasm → dotnet.native.uk4t9xi2vc.wasm} +0 -0
- package/_framework/dotnet.native.uk4t9xi2vc.wasm.br +0 -0
- package/_framework/{dotnet.native.6knj68ydzo.wasm.gz → dotnet.native.uk4t9xi2vc.wasm.gz} +0 -0
- package/js/prefconfigurator-api.d.ts +20 -2
- package/package.json +1 -1
- package/_framework/PrefConfigurator.Abstractions.i7p8pwbygl.wasm +0 -0
- package/_framework/PrefConfigurator.Abstractions.i7p8pwbygl.wasm.br +0 -0
- package/_framework/PrefConfigurator.Abstractions.i7p8pwbygl.wasm.gz +0 -0
- package/_framework/PrefConfigurator.Application.uqniiczief.wasm +0 -0
- package/_framework/PrefConfigurator.Application.uqniiczief.wasm.br +0 -0
- package/_framework/PrefConfigurator.Application.uqniiczief.wasm.gz +0 -0
- package/_framework/PrefConfigurator.Infrastructure.yancem7w3j.wasm.br +0 -0
- package/_framework/PrefConfigurator.Infrastructure.yancem7w3j.wasm.gz +0 -0
- package/_framework/PrefConfigurator.Wasm.gwzpgrijyt.wasm +0 -0
- package/_framework/PrefConfigurator.Wasm.gwzpgrijyt.wasm.br +0 -0
- package/_framework/PrefConfigurator.Wasm.gwzpgrijyt.wasm.gz +0 -0
- package/_framework/System.Linq.u56iv5e4yk.wasm +0 -0
- package/_framework/System.Linq.u56iv5e4yk.wasm.br +0 -0
- package/_framework/System.Linq.u56iv5e4yk.wasm.gz +0 -0
- package/_framework/System.Private.CoreLib.w91kjoh040.wasm +0 -0
- package/_framework/System.Private.CoreLib.w91kjoh040.wasm.br +0 -0
- package/_framework/System.Private.CoreLib.w91kjoh040.wasm.gz +0 -0
- package/_framework/dotnet.native.6knj68ydzo.wasm.br +0 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"mainAssemblyName": "PrefConfigurator.Wasm",
|
|
3
3
|
"resources": {
|
|
4
|
-
"hash": "sha256-
|
|
4
|
+
"hash": "sha256-LSGqJM+DP6K6vtEns5Ay4P3VJxGPpyjxm54jX1/QI/Y=",
|
|
5
5
|
"fingerprinting": {
|
|
6
6
|
"Microsoft.CSharp.soa7iupusj.wasm": "Microsoft.CSharp.wasm",
|
|
7
7
|
"Microsoft.Extensions.Caching.Abstractions.9tfokavdri.wasm": "Microsoft.Extensions.Caching.Abstractions.wasm",
|
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
"Microsoft.Extensions.Options.bzdoshyjeq.wasm": "Microsoft.Extensions.Options.wasm",
|
|
35
35
|
"Microsoft.Extensions.Primitives.ii8zcoqmmf.wasm": "Microsoft.Extensions.Primitives.wasm",
|
|
36
36
|
"Newtonsoft.Json.ou6h2ikg0u.wasm": "Newtonsoft.Json.wasm",
|
|
37
|
-
"PrefConfigurator.Abstractions.
|
|
38
|
-
"PrefConfigurator.Application.
|
|
39
|
-
"PrefConfigurator.Infrastructure.
|
|
40
|
-
"PrefConfigurator.Wasm.
|
|
37
|
+
"PrefConfigurator.Abstractions.1yznk6sqco.wasm": "PrefConfigurator.Abstractions.wasm",
|
|
38
|
+
"PrefConfigurator.Application.lr3i5lxos0.wasm": "PrefConfigurator.Application.wasm",
|
|
39
|
+
"PrefConfigurator.Infrastructure.0259fp5kaj.wasm": "PrefConfigurator.Infrastructure.wasm",
|
|
40
|
+
"PrefConfigurator.Wasm.pxmidb5bkr.wasm": "PrefConfigurator.Wasm.wasm",
|
|
41
41
|
"Preference.Hydra.OpenApi.oba396x8m7.wasm": "Preference.Hydra.OpenApi.wasm",
|
|
42
42
|
"System.Collections.Concurrent.kq7l3koqtq.wasm": "System.Collections.Concurrent.wasm",
|
|
43
43
|
"System.Collections.NonGeneric.u4veqqwbpo.wasm": "System.Collections.NonGeneric.wasm",
|
|
@@ -56,13 +56,13 @@
|
|
|
56
56
|
"System.IO.FileSystem.Watcher.yoykqg093g.wasm": "System.IO.FileSystem.Watcher.wasm",
|
|
57
57
|
"System.IO.Pipelines.j7hw5n5kz8.wasm": "System.IO.Pipelines.wasm",
|
|
58
58
|
"System.Linq.Expressions.eqozg56eyz.wasm": "System.Linq.Expressions.wasm",
|
|
59
|
-
"System.Linq.
|
|
59
|
+
"System.Linq.woe2vgkbht.wasm": "System.Linq.wasm",
|
|
60
60
|
"System.Memory.kmqbercdt6.wasm": "System.Memory.wasm",
|
|
61
61
|
"System.Net.Http.Json.bsdba5wf1r.wasm": "System.Net.Http.Json.wasm",
|
|
62
62
|
"System.Net.Http.gt1jllox6p.wasm": "System.Net.Http.wasm",
|
|
63
63
|
"System.Net.Primitives.evghnwnikt.wasm": "System.Net.Primitives.wasm",
|
|
64
64
|
"System.ObjectModel.5pc4wvg8um.wasm": "System.ObjectModel.wasm",
|
|
65
|
-
"System.Private.CoreLib.
|
|
65
|
+
"System.Private.CoreLib.tuttj8u7r1.wasm": "System.Private.CoreLib.wasm",
|
|
66
66
|
"System.Private.Uri.jc206q478k.wasm": "System.Private.Uri.wasm",
|
|
67
67
|
"System.Private.Xml.Linq.9ysa0v1ttg.wasm": "System.Private.Xml.Linq.wasm",
|
|
68
68
|
"System.Private.Xml.2mzmg6bx15.wasm": "System.Private.Xml.wasm",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"System.t8xd33e5pv.wasm": "System.wasm",
|
|
78
78
|
"System.Xml.Linq.mglmvb8jto.wasm": "System.Xml.Linq.wasm",
|
|
79
79
|
"dotnet.native.5hgeczey1o.js": "dotnet.native.js",
|
|
80
|
-
"dotnet.native.
|
|
80
|
+
"dotnet.native.uk4t9xi2vc.wasm": "dotnet.native.wasm",
|
|
81
81
|
"dotnet.js": "dotnet.js",
|
|
82
82
|
"dotnet.runtime.ew19f13umk.js": "dotnet.runtime.js",
|
|
83
83
|
"icudt_CJK.tjcz0u77k5.dat": "icudt_CJK.dat",
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"dotnet.runtime.ew19f13umk.js": "sha256-Isv/63htfX73xgn3/2cZMtk4S8xBcbmlXRgJMDv4mhI="
|
|
92
92
|
},
|
|
93
93
|
"wasmNative": {
|
|
94
|
-
"dotnet.native.
|
|
94
|
+
"dotnet.native.uk4t9xi2vc.wasm": "sha256-ktb6m0diwkj6MMO9jU7XW9y5TAt5eBE9k/PXx0FTBq4="
|
|
95
95
|
},
|
|
96
96
|
"icu": {
|
|
97
97
|
"icudt_CJK.tjcz0u77k5.dat": "sha256-SZLtQnRc0JkwqHab0VUVP7T3uBPSeYzxzDnpxPpUnHk=",
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
"icudt_no_CJK.lfu7j35m59.dat": "sha256-L7sV7NEYP37/Qr2FPCePo5cJqRgTXRwGHuwF5Q+0Nfs="
|
|
100
100
|
},
|
|
101
101
|
"coreAssembly": {
|
|
102
|
-
"System.Private.CoreLib.
|
|
102
|
+
"System.Private.CoreLib.tuttj8u7r1.wasm": "sha256-Ze/XwGxz7iQV4RRLQobECwqlZcGfXEK6q6rdqYbmp6Q=",
|
|
103
103
|
"System.Runtime.InteropServices.JavaScript.xnuh5xkf65.wasm": "sha256-gwGn+1zEmSSBNVtq68eXqAfQDvhxlVCpZ2wEZ1p6RTw="
|
|
104
104
|
},
|
|
105
105
|
"assembly": {
|
|
@@ -134,10 +134,10 @@
|
|
|
134
134
|
"Microsoft.Extensions.Options.bzdoshyjeq.wasm": "sha256-OUMXYxUKhNC6l0LAh4xpi+gy+X9b0XXW3pZh9YdZ9C8=",
|
|
135
135
|
"Microsoft.Extensions.Primitives.ii8zcoqmmf.wasm": "sha256-Jt5QBSXSDEahiZ89Pn1MhJ9A3C/ftN8ZXaBGV9JgqwQ=",
|
|
136
136
|
"Newtonsoft.Json.ou6h2ikg0u.wasm": "sha256-8EZ4H5Mb5yxuavrUzuw5k75ewxJQbdU+Y1rksETqPVo=",
|
|
137
|
-
"PrefConfigurator.Abstractions.
|
|
138
|
-
"PrefConfigurator.Application.
|
|
139
|
-
"PrefConfigurator.Infrastructure.
|
|
140
|
-
"PrefConfigurator.Wasm.
|
|
137
|
+
"PrefConfigurator.Abstractions.1yznk6sqco.wasm": "sha256-ucEFR8XJ6GtADcJ4t8HtMj1u+x59+zR+ndQfewl4jyE=",
|
|
138
|
+
"PrefConfigurator.Application.lr3i5lxos0.wasm": "sha256-kYw/Thx6DmVT6MvO3NydXdYBeeTfYLRRSI2GR8JpTZ0=",
|
|
139
|
+
"PrefConfigurator.Infrastructure.0259fp5kaj.wasm": "sha256-KLugSeR45UutfU01vVgmAgia7csLdX4DK+Nmil5VMG0=",
|
|
140
|
+
"PrefConfigurator.Wasm.pxmidb5bkr.wasm": "sha256-nY1XwGNNnClZM0N1c+hqaAm/zcM8D/uxKuWqzW5aF2A=",
|
|
141
141
|
"Preference.Hydra.OpenApi.oba396x8m7.wasm": "sha256-BOitG9XqTGoVdagU40GvNefDuOylKCPs3Gp5VG0M3oY=",
|
|
142
142
|
"System.Collections.Concurrent.kq7l3koqtq.wasm": "sha256-lDJetX8MOCPfYgq+j+JjNEwEFA9oW7BLaaNmAFUZQaE=",
|
|
143
143
|
"System.Collections.NonGeneric.u4veqqwbpo.wasm": "sha256-Hlfxail2eLYOSROomwSdgZ3zfxPgxeQCs+6AiZn4uBE=",
|
|
@@ -156,7 +156,7 @@
|
|
|
156
156
|
"System.IO.FileSystem.Watcher.yoykqg093g.wasm": "sha256-osZ2dLDQcw9XEc+jkYtywCOjtgHlDyhHOvAxDvULOf0=",
|
|
157
157
|
"System.IO.Pipelines.j7hw5n5kz8.wasm": "sha256-H1CHBmaAMS4PKAPtP+BRNwndUH6Sgof2IjdMGHxUFvI=",
|
|
158
158
|
"System.Linq.Expressions.eqozg56eyz.wasm": "sha256-9ovo4pBFk4QaMjV1BcTz3Qnzg41YFXgHCrX0oXw+s8w=",
|
|
159
|
-
"System.Linq.
|
|
159
|
+
"System.Linq.woe2vgkbht.wasm": "sha256-IIoq8A1F9vqXy5N3+4squXZAfnU45HM1AI2NMO1GeEU=",
|
|
160
160
|
"System.Memory.kmqbercdt6.wasm": "sha256-jHUxYsvLYsoOdqHU7eyYfNLbS8nGuuBvXqxOR3dPfq0=",
|
|
161
161
|
"System.Net.Http.Json.bsdba5wf1r.wasm": "sha256-dafdf576k9LA9iLSdpxe6AG3GLufSQKtpqfbnRSf4i4=",
|
|
162
162
|
"System.Net.Http.gt1jllox6p.wasm": "sha256-DAcvj8km0/ecDg4LwSqpg7EYYsEX/3ab2U9picbPrPg=",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -56,6 +56,7 @@ export interface OptionLocation {
|
|
|
56
56
|
|
|
57
57
|
export interface EnhancedOptionInfo extends OptionInfo {
|
|
58
58
|
PartitionPart?: string | null;
|
|
59
|
+
ValueChanged: boolean;
|
|
59
60
|
Locations?: OptionLocation[] | null;
|
|
60
61
|
}
|
|
61
62
|
|
|
@@ -86,6 +87,23 @@ export interface SetOptionValueResponse {
|
|
|
86
87
|
succeeded: boolean;
|
|
87
88
|
status?: string | null;
|
|
88
89
|
message?: string | null;
|
|
90
|
+
optionChanged?: boolean | null;
|
|
91
|
+
}
|
|
92
|
+
export interface SetOptionValueRequest {
|
|
93
|
+
optionName: string;
|
|
94
|
+
optionValue: string;
|
|
95
|
+
}
|
|
96
|
+
export interface SetOptionValueBatchResult {
|
|
97
|
+
optionName: string;
|
|
98
|
+
sent: boolean;
|
|
99
|
+
reason?: string | null;
|
|
100
|
+
response?: SetOptionValueResponse | null;
|
|
101
|
+
}
|
|
102
|
+
export interface SetOptionsResponse {
|
|
103
|
+
requestedCount: number;
|
|
104
|
+
sentCount: number;
|
|
105
|
+
skippedCount: number;
|
|
106
|
+
results: SetOptionValueBatchResult[];
|
|
89
107
|
}
|
|
90
108
|
|
|
91
109
|
export interface SceneTexCoord {
|
|
@@ -140,11 +158,11 @@ export interface Scene {
|
|
|
140
158
|
export interface JsInteropApiRaw {
|
|
141
159
|
InitializeFromEnvJson(json: string): void;
|
|
142
160
|
GetOptions<T = EnhancedOptionList>(): Promise<OperationResult<T> | string>;
|
|
143
|
-
UpdateOptions<T = EnhancedOptionList>(optionListJson: string): Promise<OperationResult<T> | string>;
|
|
161
|
+
UpdateOptions<T = EnhancedOptionList>(optionListJson: string, optionNameChanged: string): Promise<OperationResult<T> | string>;
|
|
144
162
|
CreateItem<T = CreateItemResponse>(modelCode: string, isPersistable: boolean): Promise<OperationResult<T> | string>;
|
|
145
163
|
GetDimensions<T = DimensionsResponse>(modelId: string): Promise<OperationResult<T> | string>;
|
|
146
164
|
SetDimensions<T = SetDimensionsResponse>(modelId: string, dimensionName: string, dimensionValue: number): Promise<OperationResult<T> | string>;
|
|
147
|
-
|
|
165
|
+
SetOptions<T = SetOptionsResponse>(modelId: string, options: SetOptionValueRequest[]): Promise<OperationResult<T> | string>;
|
|
148
166
|
GetModelOptions<T = OptionInfo[]>(modelId: string): Promise<OperationResult<T> | string>;
|
|
149
167
|
GetScene<T = Scene>(sceneName?: string, sceneFormat?: string, texturesRootPath?: string): Promise<OperationResult<T> | string>;
|
|
150
168
|
GetModelImage(modelId: string, modelImageConfigJson: string, sceneName?: string): Promise<OperationResult<string> | string>;
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"postinstall": "node scripts/postinstall.js"
|
|
4
4
|
},
|
|
5
5
|
"description": ".NET WebAssembly runtime package that centralizes logic for building product configurators, exposing a simple API for integration into ecommerce platforms.",
|
|
6
|
-
"version": "
|
|
6
|
+
"version": "2.0.0",
|
|
7
7
|
"files": [
|
|
8
8
|
"_framework/**",
|
|
9
9
|
"**/*.js",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|