@pisell/materials 1.0.1093 → 1.0.1094
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/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/render/default/view.js +31 -31
- package/build/lowcode/view.js +31 -31
- package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanClient.js +2 -1
- package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanClient.js +3 -1
- package/package.json +3 -3
|
@@ -3,6 +3,7 @@ import { _objectWithoutProperties } from "../../../_virtual/_@oxc-project_runtim
|
|
|
3
3
|
import { SHOP_FLOOR_PLAN_DUPLICATE_CODE } from "./shopFloorPlanTypes.js";
|
|
4
4
|
import { isFloorPlanDuplicateCodeError, isHttpNotFoundError, isShopFloorPlanNotFoundResponse, pickFloorPlanDetail } from "./shopFloorPlanPure.js";
|
|
5
5
|
import { _asyncToGenerator } from "../../../_virtual/_@oxc-project_runtime@0.122.0/helpers/asyncToGenerator.js";
|
|
6
|
+
import { isWebposOsServerEnv } from "@pisell/utils";
|
|
6
7
|
//#region src/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanClient.ts
|
|
7
8
|
const _excluded = ["buildDefaultPostBody"];
|
|
8
9
|
function fetchShopFloorPlanByCodeResponse(_x, _x2, _x3, _x4) {
|
|
@@ -92,7 +93,7 @@ function createShopFloorPlanClient(options) {
|
|
|
92
93
|
return {
|
|
93
94
|
unsubscribeShopFloorPlanCodeQuery(subscriberId) {
|
|
94
95
|
return _asyncToGenerator(function* () {
|
|
95
|
-
if (!subscriberId) return;
|
|
96
|
+
if (!subscriberId || !isWebposOsServerEnv()) return;
|
|
96
97
|
yield http.get("/shop/schedule/floor-plan/code/unsubscribe", { subscriberId }, _objectSpread2(_objectSpread2({}, useShopApi ? { isShopApi: true } : {}), {}, { osServer: true }));
|
|
97
98
|
})();
|
|
98
99
|
},
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
require("../../../_virtual/_rolldown/runtime.js");
|
|
1
2
|
const require_objectSpread2 = require("../../../_virtual/_@oxc-project_runtime@0.122.0/helpers/objectSpread2.js");
|
|
2
3
|
const require_objectWithoutProperties = require("../../../_virtual/_@oxc-project_runtime@0.122.0/helpers/objectWithoutProperties.js");
|
|
3
4
|
const require_shopFloorPlanTypes = require("./shopFloorPlanTypes.js");
|
|
4
5
|
const require_shopFloorPlanPure = require("./shopFloorPlanPure.js");
|
|
5
6
|
const require_asyncToGenerator = require("../../../_virtual/_@oxc-project_runtime@0.122.0/helpers/asyncToGenerator.js");
|
|
7
|
+
let _pisell_utils = require("@pisell/utils");
|
|
6
8
|
//#region src/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanClient.ts
|
|
7
9
|
const _excluded = ["buildDefaultPostBody"];
|
|
8
10
|
function fetchShopFloorPlanByCodeResponse(_x, _x2, _x3, _x4) {
|
|
@@ -92,7 +94,7 @@ function createShopFloorPlanClient(options) {
|
|
|
92
94
|
return {
|
|
93
95
|
unsubscribeShopFloorPlanCodeQuery(subscriberId) {
|
|
94
96
|
return require_asyncToGenerator._asyncToGenerator(function* () {
|
|
95
|
-
if (!subscriberId) return;
|
|
97
|
+
if (!subscriberId || !(0, _pisell_utils.isWebposOsServerEnv)()) return;
|
|
96
98
|
yield http.get("/shop/schedule/floor-plan/code/unsubscribe", { subscriberId }, require_objectSpread2._objectSpread2(require_objectSpread2._objectSpread2({}, useShopApi ? { isShopApi: true } : {}), {}, { osServer: true }));
|
|
97
99
|
})();
|
|
98
100
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/materials",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1094",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -97,8 +97,8 @@
|
|
|
97
97
|
"antd-mobile": "^5.38.1",
|
|
98
98
|
"vod-js-sdk-v6": "^1.4.11",
|
|
99
99
|
"@pisell/date-picker": "1.0.145",
|
|
100
|
-
"@pisell/
|
|
101
|
-
"@pisell/
|
|
100
|
+
"@pisell/utils": "1.0.72",
|
|
101
|
+
"@pisell/icon": "0.0.10"
|
|
102
102
|
},
|
|
103
103
|
"peerDependencies": {
|
|
104
104
|
"react": "^18.0.0",
|