@fctc/interface-logic 3.4.1 → 3.4.3

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/dist/hooks.js CHANGED
@@ -4752,12 +4752,12 @@ function useViewService() {
4752
4752
  path,
4753
4753
  scope
4754
4754
  }) => {
4755
- const params = new URLSearchParams({
4756
- response_type,
4757
- client_id,
4755
+ const params = Object.entries({
4758
4756
  redirect_uri,
4759
- state
4760
- });
4757
+ state,
4758
+ client_id,
4759
+ response_type
4760
+ }).map(([key, value]) => `${key}=${value}`).join("&");
4761
4761
  const queryString = `${params.toString()}&scope=${encodeURIComponent(
4762
4762
  scope
4763
4763
  )}`;
@@ -5249,7 +5249,8 @@ function useViewService() {
5249
5249
  "pos.note",
5250
5250
  "ir.ui.view",
5251
5251
  "product.tag",
5252
- "ir.module.module"
5252
+ "ir.module.module",
5253
+ "pos_preparation_display.display"
5253
5254
  ]
5254
5255
  }
5255
5256
  };
package/dist/hooks.mjs CHANGED
@@ -4617,12 +4617,12 @@ function useViewService() {
4617
4617
  path,
4618
4618
  scope
4619
4619
  }) => {
4620
- const params = new URLSearchParams({
4621
- response_type,
4622
- client_id,
4620
+ const params = Object.entries({
4623
4621
  redirect_uri,
4624
- state
4625
- });
4622
+ state,
4623
+ client_id,
4624
+ response_type
4625
+ }).map(([key, value]) => `${key}=${value}`).join("&");
4626
4626
  const queryString = `${params.toString()}&scope=${encodeURIComponent(
4627
4627
  scope
4628
4628
  )}`;
@@ -5114,7 +5114,8 @@ function useViewService() {
5114
5114
  "pos.note",
5115
5115
  "ir.ui.view",
5116
5116
  "product.tag",
5117
- "ir.module.module"
5117
+ "ir.module.module",
5118
+ "pos_preparation_display.display"
5118
5119
  ]
5119
5120
  }
5120
5121
  };
package/dist/provider.js CHANGED
@@ -4746,12 +4746,12 @@ function useViewService() {
4746
4746
  path,
4747
4747
  scope
4748
4748
  }) => {
4749
- const params = new URLSearchParams({
4750
- response_type,
4751
- client_id,
4749
+ const params = Object.entries({
4752
4750
  redirect_uri,
4753
- state
4754
- });
4751
+ state,
4752
+ client_id,
4753
+ response_type
4754
+ }).map(([key, value]) => `${key}=${value}`).join("&");
4755
4755
  const queryString = `${params.toString()}&scope=${encodeURIComponent(
4756
4756
  scope
4757
4757
  )}`;
@@ -5243,7 +5243,8 @@ function useViewService() {
5243
5243
  "pos.note",
5244
5244
  "ir.ui.view",
5245
5245
  "product.tag",
5246
- "ir.module.module"
5246
+ "ir.module.module",
5247
+ "pos_preparation_display.display"
5247
5248
  ]
5248
5249
  }
5249
5250
  };
package/dist/provider.mjs CHANGED
@@ -4703,12 +4703,12 @@ function useViewService() {
4703
4703
  path,
4704
4704
  scope
4705
4705
  }) => {
4706
- const params = new URLSearchParams({
4707
- response_type,
4708
- client_id,
4706
+ const params = Object.entries({
4709
4707
  redirect_uri,
4710
- state
4711
- });
4708
+ state,
4709
+ client_id,
4710
+ response_type
4711
+ }).map(([key, value]) => `${key}=${value}`).join("&");
4712
4712
  const queryString = `${params.toString()}&scope=${encodeURIComponent(
4713
4713
  scope
4714
4714
  )}`;
@@ -5200,7 +5200,8 @@ function useViewService() {
5200
5200
  "pos.note",
5201
5201
  "ir.ui.view",
5202
5202
  "product.tag",
5203
- "ir.module.module"
5203
+ "ir.module.module",
5204
+ "pos_preparation_display.display"
5204
5205
  ]
5205
5206
  }
5206
5207
  };
package/dist/services.js CHANGED
@@ -4932,12 +4932,12 @@ function useViewService() {
4932
4932
  path,
4933
4933
  scope
4934
4934
  }) => {
4935
- const params = new URLSearchParams({
4936
- response_type,
4937
- client_id,
4935
+ const params = Object.entries({
4938
4936
  redirect_uri,
4939
- state
4940
- });
4937
+ state,
4938
+ client_id,
4939
+ response_type
4940
+ }).map(([key, value]) => `${key}=${value}`).join("&");
4941
4941
  const queryString = `${params.toString()}&scope=${encodeURIComponent(
4942
4942
  scope
4943
4943
  )}`;
@@ -5429,7 +5429,8 @@ function useViewService() {
5429
5429
  "pos.note",
5430
5430
  "ir.ui.view",
5431
5431
  "product.tag",
5432
- "ir.module.module"
5432
+ "ir.module.module",
5433
+ "pos_preparation_display.display"
5433
5434
  ]
5434
5435
  }
5435
5436
  };
package/dist/services.mjs CHANGED
@@ -4888,12 +4888,12 @@ function useViewService() {
4888
4888
  path,
4889
4889
  scope
4890
4890
  }) => {
4891
- const params = new URLSearchParams({
4892
- response_type,
4893
- client_id,
4891
+ const params = Object.entries({
4894
4892
  redirect_uri,
4895
- state
4896
- });
4893
+ state,
4894
+ client_id,
4895
+ response_type
4896
+ }).map(([key, value]) => `${key}=${value}`).join("&");
4897
4897
  const queryString = `${params.toString()}&scope=${encodeURIComponent(
4898
4898
  scope
4899
4899
  )}`;
@@ -5385,7 +5385,8 @@ function useViewService() {
5385
5385
  "pos.note",
5386
5386
  "ir.ui.view",
5387
5387
  "product.tag",
5388
- "ir.module.module"
5388
+ "ir.module.module",
5389
+ "pos_preparation_display.display"
5389
5390
  ]
5390
5391
  }
5391
5392
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fctc/interface-logic",
3
- "version": "3.4.1",
3
+ "version": "3.4.3",
4
4
  "types": "dist/index.d.ts",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",