@pisell/lowcode-renderer 1.0.103 → 1.0.104
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/es/ReactRenderer/index.js +31 -64
- package/es/Render/index.d.ts +17 -13
- package/es/Render/index.js +145 -242
- package/es/_virtual/_@oxc-project_runtime@0.108.0/helpers/asyncToGenerator.js +28 -0
- package/es/_virtual/_@oxc-project_runtime@0.108.0/helpers/defineProperty.js +14 -0
- package/es/_virtual/_@oxc-project_runtime@0.108.0/helpers/objectSpread2.js +27 -0
- package/es/_virtual/_@oxc-project_runtime@0.108.0/helpers/objectWithoutProperties.js +15 -0
- package/es/_virtual/_@oxc-project_runtime@0.108.0/helpers/objectWithoutPropertiesLoose.js +13 -0
- package/es/_virtual/_@oxc-project_runtime@0.108.0/helpers/toPrimitive.js +16 -0
- package/es/_virtual/_@oxc-project_runtime@0.108.0/helpers/toPropertyKey.js +11 -0
- package/es/_virtual/_@oxc-project_runtime@0.108.0/helpers/typeof.js +12 -0
- package/es/api/index.js +11 -6
- package/es/api/report/URL.js +42 -71
- package/es/api/report/index.js +75 -112
- package/es/api/utils/index.js +5 -1
- package/es/appHelper/index.js +28 -26
- package/es/appHelper/others.js +10 -8
- package/es/config/index.d.ts +12 -13
- package/es/config/index.js +13 -14
- package/es/index.d.ts +3 -4
- package/es/index.js +8 -4
- package/lib/ReactRenderer/index.js +40 -75
- package/lib/Render/index.d.ts +16 -12
- package/lib/Render/index.js +152 -187
- package/lib/_virtual/_@oxc-project_runtime@0.108.0/helpers/asyncToGenerator.js +29 -0
- package/lib/_virtual/_@oxc-project_runtime@0.108.0/helpers/defineProperty.js +14 -0
- package/lib/_virtual/_@oxc-project_runtime@0.108.0/helpers/objectSpread2.js +27 -0
- package/lib/_virtual/_@oxc-project_runtime@0.108.0/helpers/objectWithoutProperties.js +15 -0
- package/lib/_virtual/_@oxc-project_runtime@0.108.0/helpers/objectWithoutPropertiesLoose.js +14 -0
- package/lib/_virtual/_@oxc-project_runtime@0.108.0/helpers/toPrimitive.js +16 -0
- package/lib/_virtual/_@oxc-project_runtime@0.108.0/helpers/toPropertyKey.js +11 -0
- package/lib/_virtual/_@oxc-project_runtime@0.108.0/helpers/typeof.js +18 -0
- package/lib/_virtual/rolldown_runtime.js +29 -0
- package/lib/api/index.js +8 -37
- package/lib/api/report/URL.js +40 -98
- package/lib/api/report/index.js +83 -116
- package/lib/api/utils/index.js +4 -23
- package/lib/appHelper/index.js +27 -58
- package/lib/appHelper/others.js +17 -48
- package/lib/config/index.d.ts +12 -13
- package/lib/config/index.js +21 -46
- package/lib/index.d.ts +3 -4
- package/lib/index.js +9 -41
- package/package.json +2 -2
- package/es/ReactRenderer/index.d.ts +0 -3
- package/es/api/index.d.ts +0 -7
- package/es/api/report/URL.d.ts +0 -39
- package/es/api/report/index.d.ts +0 -5
- package/es/api/utils/index.d.ts +0 -2
- package/es/appHelper/index.d.ts +0 -2
- package/es/appHelper/others.d.ts +0 -1
- package/lib/ReactRenderer/index.d.ts +0 -3
- package/lib/api/index.d.ts +0 -7
- package/lib/api/report/URL.d.ts +0 -39
- package/lib/api/report/index.d.ts +0 -5
- package/lib/api/utils/index.d.ts +0 -2
- package/lib/appHelper/index.d.ts +0 -2
- package/lib/appHelper/others.d.ts +0 -1
package/lib/appHelper/others.js
CHANGED
|
@@ -1,50 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
-
};
|
|
11
|
-
var __copyProps = (to, from, except, desc) => {
|
|
12
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
-
for (let key of __getOwnPropNames(from))
|
|
14
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
-
}
|
|
17
|
-
return to;
|
|
18
|
-
};
|
|
19
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
-
mod
|
|
26
|
-
));
|
|
27
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
1
|
+
const require_rolldown_runtime = require('../_virtual/rolldown_runtime.js');
|
|
2
|
+
const require_index = require('../config/index.js');
|
|
3
|
+
let dayjs = require("dayjs");
|
|
4
|
+
dayjs = require_rolldown_runtime.__toESM(dayjs);
|
|
5
|
+
let dayjs_plugin_utc = require("dayjs/plugin/utc");
|
|
6
|
+
dayjs_plugin_utc = require_rolldown_runtime.__toESM(dayjs_plugin_utc);
|
|
7
|
+
let dayjs_plugin_timezone = require("dayjs/plugin/timezone");
|
|
8
|
+
dayjs_plugin_timezone = require_rolldown_runtime.__toESM(dayjs_plugin_timezone);
|
|
28
9
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
});
|
|
34
|
-
|
|
35
|
-
var import_dayjs = __toESM(require("dayjs"));
|
|
36
|
-
var import_utc = __toESM(require("dayjs/plugin/utc"));
|
|
37
|
-
var import_timezone = __toESM(require("dayjs/plugin/timezone"));
|
|
38
|
-
var import_config = require("../config");
|
|
39
|
-
import_dayjs.default.extend(import_utc.default);
|
|
40
|
-
import_dayjs.default.extend(import_timezone.default);
|
|
41
|
-
var getTimezone = () => {
|
|
42
|
-
let { timezone: timezone2 } = (0, import_config.getShopConfig)();
|
|
43
|
-
const now = (0, import_dayjs.default)().tz(timezone2);
|
|
44
|
-
const diff = now.utcOffset() / 60;
|
|
45
|
-
return diff;
|
|
10
|
+
//#region src/appHelper/others.ts
|
|
11
|
+
dayjs.default.extend(dayjs_plugin_utc.default);
|
|
12
|
+
dayjs.default.extend(dayjs_plugin_timezone.default);
|
|
13
|
+
const getTimezone = () => {
|
|
14
|
+
let { timezone } = require_index.getShopConfig();
|
|
15
|
+
return (0, dayjs.default)().tz(timezone).utcOffset() / 60;
|
|
46
16
|
};
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
});
|
|
17
|
+
|
|
18
|
+
//#endregion
|
|
19
|
+
exports.getTimezone = getTimezone;
|
package/lib/config/index.d.ts
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
//#region src/config/index.d.ts
|
|
2
|
+
type ShopConfigType = {
|
|
3
|
+
timezone: string;
|
|
4
|
+
id: number;
|
|
5
|
+
[key: string]: any;
|
|
5
6
|
};
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
type InjectedConfigType = {
|
|
8
|
+
shopConfig: ShopConfigType | (() => ShopConfigType);
|
|
9
|
+
account: any;
|
|
10
|
+
request: any;
|
|
10
11
|
};
|
|
11
|
-
declare
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
export declare const getAccount: () => any;
|
|
15
|
-
export { injectedConfig, getShopConfig };
|
|
12
|
+
declare const injectConfig: (context: InjectedConfigType) => void;
|
|
13
|
+
//#endregion
|
|
14
|
+
export { injectConfig };
|
package/lib/config/index.js
CHANGED
|
@@ -1,50 +1,25 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
-
};
|
|
9
|
-
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
}
|
|
15
|
-
return to;
|
|
16
|
-
};
|
|
17
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
1
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
getShopConfig: () => getShopConfig,
|
|
24
|
-
injectConfig: () => injectConfig,
|
|
25
|
-
injectedConfig: () => injectedConfig
|
|
26
|
-
});
|
|
27
|
-
module.exports = __toCommonJS(config_exports);
|
|
28
|
-
var injectedConfig = {};
|
|
29
|
-
var injectConfig = (context) => {
|
|
30
|
-
injectedConfig = context;
|
|
2
|
+
//#region src/config/index.ts
|
|
3
|
+
let injectedConfig = {};
|
|
4
|
+
const injectConfig = (context) => {
|
|
5
|
+
injectedConfig = context;
|
|
31
6
|
};
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
}
|
|
36
|
-
return injectedConfig.shopConfig;
|
|
7
|
+
const getShopConfig = () => {
|
|
8
|
+
if (typeof injectedConfig.shopConfig === "function") return injectedConfig.shopConfig();
|
|
9
|
+
return injectedConfig.shopConfig;
|
|
37
10
|
};
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}
|
|
42
|
-
return injectedConfig.account;
|
|
11
|
+
const getAccount = () => {
|
|
12
|
+
if (typeof injectedConfig.account === "function") return injectedConfig.account();
|
|
13
|
+
return injectedConfig.account;
|
|
43
14
|
};
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
15
|
+
|
|
16
|
+
//#endregion
|
|
17
|
+
exports.getAccount = getAccount;
|
|
18
|
+
exports.getShopConfig = getShopConfig;
|
|
19
|
+
exports.injectConfig = injectConfig;
|
|
20
|
+
Object.defineProperty(exports, 'injectedConfig', {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: function () {
|
|
23
|
+
return injectedConfig;
|
|
24
|
+
}
|
|
25
|
+
});
|
package/lib/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import Render from "./Render";
|
|
2
|
-
import { injectConfig } from "./config";
|
|
3
|
-
export { injectConfig };
|
|
4
|
-
export default Render;
|
|
1
|
+
import { Render } from "./Render/index.js";
|
|
2
|
+
import { injectConfig } from "./config/index.js";
|
|
3
|
+
export { Render as default, injectConfig };
|
package/lib/index.js
CHANGED
|
@@ -1,42 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var __export = (target, all) => {
|
|
8
|
-
for (var name in all)
|
|
9
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
-
};
|
|
11
|
-
var __copyProps = (to, from, except, desc) => {
|
|
12
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
-
for (let key of __getOwnPropNames(from))
|
|
14
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
-
}
|
|
17
|
-
return to;
|
|
18
|
-
};
|
|
19
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
-
mod
|
|
26
|
-
));
|
|
27
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
1
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
+
const require_index = require('./config/index.js');
|
|
3
|
+
const require_index$1 = require('./Render/index.js');
|
|
28
4
|
|
|
29
|
-
|
|
30
|
-
var
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
module.exports = __toCommonJS(src_exports);
|
|
36
|
-
var import_Render = __toESM(require("./Render"));
|
|
37
|
-
var import_config = require("./config");
|
|
38
|
-
var src_default = import_Render.default;
|
|
39
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
40
|
-
0 && (module.exports = {
|
|
41
|
-
injectConfig
|
|
42
|
-
});
|
|
5
|
+
//#region src/index.tsx
|
|
6
|
+
var src_default = require_index$1.default;
|
|
7
|
+
|
|
8
|
+
//#endregion
|
|
9
|
+
exports.default = src_default;
|
|
10
|
+
exports.injectConfig = require_index.injectConfig;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/lowcode-renderer",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.104",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"module": "./es/index.js",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"@alifd/next": "^1.25.44",
|
|
22
22
|
"lodash-es": "^4.17.21",
|
|
23
23
|
"dayjs": "^1.11.9",
|
|
24
|
-
"@pisell/utils": "1.0.
|
|
24
|
+
"@pisell/utils": "1.0.57"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"react": ">=16.9.0",
|
package/es/api/index.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
report: {
|
|
3
|
-
getReportList: (values: any, url: "REPORT_DETAILED_TRANSACTIONS" | "REPORT_DETAILED_PRODUCT_SALES" | "REPORT_DAILY_SUMMARY_BY_PAYMETHOD" | "REPORT_DAILY_SUMMARY_BY_ORDER" | "REPORT_DETAILED_ORDERS" | "REPORT_MONTH_SUMMARY_BY_ORDER" | "REPORT_WEEK_SUMMARY_BY_ORDER" | "REPORT_DASHBOARD" | "DAILY_SUMMARY_BY_PRODUCT" | "SALES_SUMMARY_BY_PRODUCT" | "TEAM_MEMBERS_COMMISSION_DETAIL" | "TEAM_SELF_COMMISSION_DETAIL" | "TEAM_MEMBERS_COMMISSION_SUMMARY_BY_WEEK" | "BOOKING_BY_CHECK_IN_OUT_DATE" | "SALES_SUMMARY_BY_CHANNEL" | "SALES_SUMMARY_BY_PAYMENT_METHOD" | "SALES_SUMMARY_BY_CHANNEL_PAYMENT_METHOD" | "TEAM_MEMBERS_COMMISSION_SUMMARY_BY_PERIOD") => Promise<any>;
|
|
4
|
-
};
|
|
5
|
-
utils: {};
|
|
6
|
-
};
|
|
7
|
-
export default _default;
|
package/es/api/report/URL.d.ts
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
export declare const REPORT_DETAILED_TRANSACTIONS = "https://default71c6456d7d904a51a050cb7bc314e8.83.environment.api.powerplatform.com:443/powerautomate/automations/direct/workflows/cc1bc2ac0f824122a51b1cc17f099789/triggers/manual/paths/invoke?api-version=1&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=6KPhYcHFqzW9dtDM32SVwiUifZpv1GgWZKIUHe9SJeg";
|
|
2
|
-
export declare const REPORT_DETAILED_PRODUCT_SALES = "https://default71c6456d7d904a51a050cb7bc314e8.83.environment.api.powerplatform.com:443/powerautomate/automations/direct/workflows/40bf1ebddfaf414fb43430843655ebee/triggers/manual/paths/invoke?api-version=1&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=3DkhPvWoEuTqU01_Tw4RX72xYzoGticn2pmUbMOrVVk";
|
|
3
|
-
export declare const REPORT_DAILY_SUMMARY_BY_PAYMETHOD = "https://default71c6456d7d904a51a050cb7bc314e8.83.environment.api.powerplatform.com:443/powerautomate/automations/direct/workflows/69ecf67d14dc4c5494ac6e58e4168b44/triggers/manual/paths/invoke?api-version=1&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=KumpRo7KaVI9t87xHdgck90RUhQzPNho4dj4ZjYIT8A";
|
|
4
|
-
export declare const REPORT_DAILY_SUMMARY_BY_ORDER = "https://default71c6456d7d904a51a050cb7bc314e8.83.environment.api.powerplatform.com:443/powerautomate/automations/direct/workflows/4c579e57f93143518bb0b51675681ba5/triggers/manual/paths/invoke?api-version=1&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=x6yfwsN5Ib4kg60YgUVBt0dedig0xmlHQmLnRPv8sU8";
|
|
5
|
-
export declare const REPORT_DETAILED_ORDERS = "https://default71c6456d7d904a51a050cb7bc314e8.83.environment.api.powerplatform.com:443/powerautomate/automations/direct/workflows/2a71808194724ce7966fc516cbea6889/triggers/manual/paths/invoke?api-version=1&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=C0fbm_bBHwow8vpcaITeFDQvRnLr89h4hn4NI700i-Y";
|
|
6
|
-
export declare const REPORT_MONTH_SUMMARY_BY_ORDER = "https://default71c6456d7d904a51a050cb7bc314e8.83.environment.api.powerplatform.com:443/powerautomate/automations/direct/workflows/bb93098ba15e48b5af16d8519f01c959/triggers/manual/paths/invoke?api-version=1&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=v1XnVmCCrr6b988OWEaAAuss_f_jo7QLRTdI-8e4P0s";
|
|
7
|
-
export declare const REPORT_WEEK_SUMMARY_BY_ORDER = "https://default71c6456d7d904a51a050cb7bc314e8.83.environment.api.powerplatform.com:443/powerautomate/automations/direct/workflows/74eb659a4c264b6ca85cfacd328443eb/triggers/manual/paths/invoke?api-version=1&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=o00TZeefc7pDLarU-_IATCAem44sz6xXo-Eq4YP9g6c";
|
|
8
|
-
export declare const REPORT_DASHBOARD = "https://default71c6456d7d904a51a050cb7bc314e8.83.environment.api.powerplatform.com:443/powerautomate/automations/direct/workflows/5f64fa8f8c614e29aee96f7def6453e2/triggers/manual/paths/invoke?api-version=1&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=fJ0yL-7Z6AGPOyMF7phBI_E8zGWwHZGsw9JzPPxbsx4";
|
|
9
|
-
export declare const DAILY_SUMMARY_BY_PRODUCT = "https://default71c6456d7d904a51a050cb7bc314e8.83.environment.api.powerplatform.com:443/powerautomate/automations/direct/workflows/405cc89013d04a529a214a3e7b1fff09/triggers/manual/paths/invoke?api-version=1&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=z5phYh9UN9xWqIwiSWoPwqjClMDUseXomHg-J3zUVcs";
|
|
10
|
-
export declare const SALES_SUMMARY_BY_PRODUCT = "https://default71c6456d7d904a51a050cb7bc314e8.83.environment.api.powerplatform.com:443/powerautomate/automations/direct/workflows/feb08c0d3c6042aa966be63d75ebd815/triggers/manual/paths/invoke?api-version=1&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=lUVv7NZM-pBSnEwHx6ICyWZ9hGj2rfqkxnk7_-TzsnY";
|
|
11
|
-
export declare const TEAM_MEMBERS_COMMISSION_DETAIL = "https://default71c6456d7d904a51a050cb7bc314e8.83.environment.api.powerplatform.com:443/powerautomate/automations/direct/workflows/4cd03307457146bbbbf49e946f7638ea/triggers/manual/paths/invoke?api-version=1&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=6YQKz5LIzGJ6VAwc9Eb9F8Jdk1gkfGmxXBcSHcgDxEE";
|
|
12
|
-
export declare const TEAM_SELF_COMMISSION_DETAIL = "https://default71c6456d7d904a51a050cb7bc314e8.83.environment.api.powerplatform.com:443/powerautomate/automations/direct/workflows/4cd03307457146bbbbf49e946f7638ea/triggers/manual/paths/invoke?api-version=1&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=6YQKz5LIzGJ6VAwc9Eb9F8Jdk1gkfGmxXBcSHcgDxEE";
|
|
13
|
-
export declare const TEAM_MEMBERS_COMMISSION_SUMMARY_BY_WEEK = "https://default71c6456d7d904a51a050cb7bc314e8.83.environment.api.powerplatform.com:443/powerautomate/automations/direct/workflows/e5a7153200d140a7b77613f76dd4b6ed/triggers/manual/paths/invoke?api-version=1&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=8FV8G4gxpwfHDVGvC3D7iVPHm9z71P2MDGUeFV9E1g8";
|
|
14
|
-
export declare const BOOKING_BY_CHECK_IN_OUT_DATE = "https://default71c6456d7d904a51a050cb7bc314e8.83.environment.api.powerplatform.com:443/powerautomate/automations/direct/workflows/2773a0f0afdb4bd29e8a3d22fd6f0826/triggers/manual/paths/invoke?api-version=1&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=TB43rU-BGNhhPJW216Yna-dKXK3vupnDY8XpuqUaVbg";
|
|
15
|
-
export declare const SALES_SUMMARY_BY_CHANNEL = "https://default71c6456d7d904a51a050cb7bc314e8.83.environment.api.powerplatform.com:443/powerautomate/automations/direct/workflows/aafe09ada85d49a98082fc99560dd611/triggers/manual/paths/invoke?api-version=1&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=tX3d-muq_CuvlFLcGe59H_yQSfkPh4s_VzjpttDYSV0";
|
|
16
|
-
export declare const SALES_SUMMARY_BY_PAYMENT_METHOD = "https://default71c6456d7d904a51a050cb7bc314e8.83.environment.api.powerplatform.com:443/powerautomate/automations/direct/workflows/572b1d5cf9384971bdb03386d94c3ec6/triggers/manual/paths/invoke?api-version=1&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=nbz0iPpbg9yfD5h1RftEOzzoyRcZfqAYJcwuNVb0IKI";
|
|
17
|
-
export declare const SALES_SUMMARY_BY_CHANNEL_PAYMENT_METHOD = "https://default71c6456d7d904a51a050cb7bc314e8.83.environment.api.powerplatform.com:443/powerautomate/automations/direct/workflows/2cfbef5e3f68426f94c2b417b86cb798/triggers/manual/paths/invoke?api-version=1&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=D_0IA0Z-4g8eQJTtGyp9Fs_heC0tZxdMdqdCrm_I_io";
|
|
18
|
-
export declare const TEAM_MEMBERS_COMMISSION_SUMMARY_BY_PERIOD = "https://default71c6456d7d904a51a050cb7bc314e8.83.environment.api.powerplatform.com:443/powerautomate/automations/direct/workflows/de0349380f904e0ab4f08d0e507d678e/triggers/manual/paths/invoke?api-version=1&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=qYePNNR5GBJ-LPAN6-xuoevyMXqZCfVGs7XqoJB14pY";
|
|
19
|
-
declare const _default: {
|
|
20
|
-
REPORT_DETAILED_TRANSACTIONS: string;
|
|
21
|
-
REPORT_DETAILED_PRODUCT_SALES: string;
|
|
22
|
-
REPORT_DAILY_SUMMARY_BY_PAYMETHOD: string;
|
|
23
|
-
REPORT_DAILY_SUMMARY_BY_ORDER: string;
|
|
24
|
-
REPORT_DETAILED_ORDERS: string;
|
|
25
|
-
REPORT_MONTH_SUMMARY_BY_ORDER: string;
|
|
26
|
-
REPORT_WEEK_SUMMARY_BY_ORDER: string;
|
|
27
|
-
REPORT_DASHBOARD: string;
|
|
28
|
-
DAILY_SUMMARY_BY_PRODUCT: string;
|
|
29
|
-
SALES_SUMMARY_BY_PRODUCT: string;
|
|
30
|
-
TEAM_MEMBERS_COMMISSION_DETAIL: string;
|
|
31
|
-
TEAM_SELF_COMMISSION_DETAIL: string;
|
|
32
|
-
TEAM_MEMBERS_COMMISSION_SUMMARY_BY_WEEK: string;
|
|
33
|
-
BOOKING_BY_CHECK_IN_OUT_DATE: string;
|
|
34
|
-
SALES_SUMMARY_BY_CHANNEL: string;
|
|
35
|
-
SALES_SUMMARY_BY_PAYMENT_METHOD: string;
|
|
36
|
-
SALES_SUMMARY_BY_CHANNEL_PAYMENT_METHOD: string;
|
|
37
|
-
TEAM_MEMBERS_COMMISSION_SUMMARY_BY_PERIOD: string;
|
|
38
|
-
};
|
|
39
|
-
export default _default;
|
package/es/api/report/index.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
declare type UrlItem = "REPORT_DETAILED_TRANSACTIONS" | "REPORT_DETAILED_PRODUCT_SALES" | "REPORT_DAILY_SUMMARY_BY_PAYMETHOD" | "REPORT_DAILY_SUMMARY_BY_ORDER" | "REPORT_DETAILED_ORDERS" | "REPORT_MONTH_SUMMARY_BY_ORDER" | "REPORT_WEEK_SUMMARY_BY_ORDER" | "REPORT_DASHBOARD" | "DAILY_SUMMARY_BY_PRODUCT" | "SALES_SUMMARY_BY_PRODUCT" | "TEAM_MEMBERS_COMMISSION_DETAIL" | "TEAM_SELF_COMMISSION_DETAIL" | "TEAM_MEMBERS_COMMISSION_SUMMARY_BY_WEEK" | "BOOKING_BY_CHECK_IN_OUT_DATE" | "SALES_SUMMARY_BY_CHANNEL" | "SALES_SUMMARY_BY_PAYMENT_METHOD" | "SALES_SUMMARY_BY_CHANNEL_PAYMENT_METHOD" | "TEAM_MEMBERS_COMMISSION_SUMMARY_BY_PERIOD";
|
|
2
|
-
declare const _default: {
|
|
3
|
-
getReportList: (values: any, url: UrlItem) => Promise<any>;
|
|
4
|
-
};
|
|
5
|
-
export default _default;
|
package/es/api/utils/index.d.ts
DELETED
package/es/appHelper/index.d.ts
DELETED
package/es/appHelper/others.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getTimezone: () => number;
|
package/lib/api/index.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
report: {
|
|
3
|
-
getReportList: (values: any, url: "REPORT_DETAILED_TRANSACTIONS" | "REPORT_DETAILED_PRODUCT_SALES" | "REPORT_DAILY_SUMMARY_BY_PAYMETHOD" | "REPORT_DAILY_SUMMARY_BY_ORDER" | "REPORT_DETAILED_ORDERS" | "REPORT_MONTH_SUMMARY_BY_ORDER" | "REPORT_WEEK_SUMMARY_BY_ORDER" | "REPORT_DASHBOARD" | "DAILY_SUMMARY_BY_PRODUCT" | "SALES_SUMMARY_BY_PRODUCT" | "TEAM_MEMBERS_COMMISSION_DETAIL" | "TEAM_SELF_COMMISSION_DETAIL" | "TEAM_MEMBERS_COMMISSION_SUMMARY_BY_WEEK" | "BOOKING_BY_CHECK_IN_OUT_DATE" | "SALES_SUMMARY_BY_CHANNEL" | "SALES_SUMMARY_BY_PAYMENT_METHOD" | "SALES_SUMMARY_BY_CHANNEL_PAYMENT_METHOD" | "TEAM_MEMBERS_COMMISSION_SUMMARY_BY_PERIOD") => Promise<any>;
|
|
4
|
-
};
|
|
5
|
-
utils: {};
|
|
6
|
-
};
|
|
7
|
-
export default _default;
|
package/lib/api/report/URL.d.ts
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
export declare const REPORT_DETAILED_TRANSACTIONS = "https://default71c6456d7d904a51a050cb7bc314e8.83.environment.api.powerplatform.com:443/powerautomate/automations/direct/workflows/cc1bc2ac0f824122a51b1cc17f099789/triggers/manual/paths/invoke?api-version=1&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=6KPhYcHFqzW9dtDM32SVwiUifZpv1GgWZKIUHe9SJeg";
|
|
2
|
-
export declare const REPORT_DETAILED_PRODUCT_SALES = "https://default71c6456d7d904a51a050cb7bc314e8.83.environment.api.powerplatform.com:443/powerautomate/automations/direct/workflows/40bf1ebddfaf414fb43430843655ebee/triggers/manual/paths/invoke?api-version=1&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=3DkhPvWoEuTqU01_Tw4RX72xYzoGticn2pmUbMOrVVk";
|
|
3
|
-
export declare const REPORT_DAILY_SUMMARY_BY_PAYMETHOD = "https://default71c6456d7d904a51a050cb7bc314e8.83.environment.api.powerplatform.com:443/powerautomate/automations/direct/workflows/69ecf67d14dc4c5494ac6e58e4168b44/triggers/manual/paths/invoke?api-version=1&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=KumpRo7KaVI9t87xHdgck90RUhQzPNho4dj4ZjYIT8A";
|
|
4
|
-
export declare const REPORT_DAILY_SUMMARY_BY_ORDER = "https://default71c6456d7d904a51a050cb7bc314e8.83.environment.api.powerplatform.com:443/powerautomate/automations/direct/workflows/4c579e57f93143518bb0b51675681ba5/triggers/manual/paths/invoke?api-version=1&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=x6yfwsN5Ib4kg60YgUVBt0dedig0xmlHQmLnRPv8sU8";
|
|
5
|
-
export declare const REPORT_DETAILED_ORDERS = "https://default71c6456d7d904a51a050cb7bc314e8.83.environment.api.powerplatform.com:443/powerautomate/automations/direct/workflows/2a71808194724ce7966fc516cbea6889/triggers/manual/paths/invoke?api-version=1&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=C0fbm_bBHwow8vpcaITeFDQvRnLr89h4hn4NI700i-Y";
|
|
6
|
-
export declare const REPORT_MONTH_SUMMARY_BY_ORDER = "https://default71c6456d7d904a51a050cb7bc314e8.83.environment.api.powerplatform.com:443/powerautomate/automations/direct/workflows/bb93098ba15e48b5af16d8519f01c959/triggers/manual/paths/invoke?api-version=1&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=v1XnVmCCrr6b988OWEaAAuss_f_jo7QLRTdI-8e4P0s";
|
|
7
|
-
export declare const REPORT_WEEK_SUMMARY_BY_ORDER = "https://default71c6456d7d904a51a050cb7bc314e8.83.environment.api.powerplatform.com:443/powerautomate/automations/direct/workflows/74eb659a4c264b6ca85cfacd328443eb/triggers/manual/paths/invoke?api-version=1&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=o00TZeefc7pDLarU-_IATCAem44sz6xXo-Eq4YP9g6c";
|
|
8
|
-
export declare const REPORT_DASHBOARD = "https://default71c6456d7d904a51a050cb7bc314e8.83.environment.api.powerplatform.com:443/powerautomate/automations/direct/workflows/5f64fa8f8c614e29aee96f7def6453e2/triggers/manual/paths/invoke?api-version=1&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=fJ0yL-7Z6AGPOyMF7phBI_E8zGWwHZGsw9JzPPxbsx4";
|
|
9
|
-
export declare const DAILY_SUMMARY_BY_PRODUCT = "https://default71c6456d7d904a51a050cb7bc314e8.83.environment.api.powerplatform.com:443/powerautomate/automations/direct/workflows/405cc89013d04a529a214a3e7b1fff09/triggers/manual/paths/invoke?api-version=1&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=z5phYh9UN9xWqIwiSWoPwqjClMDUseXomHg-J3zUVcs";
|
|
10
|
-
export declare const SALES_SUMMARY_BY_PRODUCT = "https://default71c6456d7d904a51a050cb7bc314e8.83.environment.api.powerplatform.com:443/powerautomate/automations/direct/workflows/feb08c0d3c6042aa966be63d75ebd815/triggers/manual/paths/invoke?api-version=1&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=lUVv7NZM-pBSnEwHx6ICyWZ9hGj2rfqkxnk7_-TzsnY";
|
|
11
|
-
export declare const TEAM_MEMBERS_COMMISSION_DETAIL = "https://default71c6456d7d904a51a050cb7bc314e8.83.environment.api.powerplatform.com:443/powerautomate/automations/direct/workflows/4cd03307457146bbbbf49e946f7638ea/triggers/manual/paths/invoke?api-version=1&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=6YQKz5LIzGJ6VAwc9Eb9F8Jdk1gkfGmxXBcSHcgDxEE";
|
|
12
|
-
export declare const TEAM_SELF_COMMISSION_DETAIL = "https://default71c6456d7d904a51a050cb7bc314e8.83.environment.api.powerplatform.com:443/powerautomate/automations/direct/workflows/4cd03307457146bbbbf49e946f7638ea/triggers/manual/paths/invoke?api-version=1&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=6YQKz5LIzGJ6VAwc9Eb9F8Jdk1gkfGmxXBcSHcgDxEE";
|
|
13
|
-
export declare const TEAM_MEMBERS_COMMISSION_SUMMARY_BY_WEEK = "https://default71c6456d7d904a51a050cb7bc314e8.83.environment.api.powerplatform.com:443/powerautomate/automations/direct/workflows/e5a7153200d140a7b77613f76dd4b6ed/triggers/manual/paths/invoke?api-version=1&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=8FV8G4gxpwfHDVGvC3D7iVPHm9z71P2MDGUeFV9E1g8";
|
|
14
|
-
export declare const BOOKING_BY_CHECK_IN_OUT_DATE = "https://default71c6456d7d904a51a050cb7bc314e8.83.environment.api.powerplatform.com:443/powerautomate/automations/direct/workflows/2773a0f0afdb4bd29e8a3d22fd6f0826/triggers/manual/paths/invoke?api-version=1&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=TB43rU-BGNhhPJW216Yna-dKXK3vupnDY8XpuqUaVbg";
|
|
15
|
-
export declare const SALES_SUMMARY_BY_CHANNEL = "https://default71c6456d7d904a51a050cb7bc314e8.83.environment.api.powerplatform.com:443/powerautomate/automations/direct/workflows/aafe09ada85d49a98082fc99560dd611/triggers/manual/paths/invoke?api-version=1&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=tX3d-muq_CuvlFLcGe59H_yQSfkPh4s_VzjpttDYSV0";
|
|
16
|
-
export declare const SALES_SUMMARY_BY_PAYMENT_METHOD = "https://default71c6456d7d904a51a050cb7bc314e8.83.environment.api.powerplatform.com:443/powerautomate/automations/direct/workflows/572b1d5cf9384971bdb03386d94c3ec6/triggers/manual/paths/invoke?api-version=1&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=nbz0iPpbg9yfD5h1RftEOzzoyRcZfqAYJcwuNVb0IKI";
|
|
17
|
-
export declare const SALES_SUMMARY_BY_CHANNEL_PAYMENT_METHOD = "https://default71c6456d7d904a51a050cb7bc314e8.83.environment.api.powerplatform.com:443/powerautomate/automations/direct/workflows/2cfbef5e3f68426f94c2b417b86cb798/triggers/manual/paths/invoke?api-version=1&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=D_0IA0Z-4g8eQJTtGyp9Fs_heC0tZxdMdqdCrm_I_io";
|
|
18
|
-
export declare const TEAM_MEMBERS_COMMISSION_SUMMARY_BY_PERIOD = "https://default71c6456d7d904a51a050cb7bc314e8.83.environment.api.powerplatform.com:443/powerautomate/automations/direct/workflows/de0349380f904e0ab4f08d0e507d678e/triggers/manual/paths/invoke?api-version=1&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=qYePNNR5GBJ-LPAN6-xuoevyMXqZCfVGs7XqoJB14pY";
|
|
19
|
-
declare const _default: {
|
|
20
|
-
REPORT_DETAILED_TRANSACTIONS: string;
|
|
21
|
-
REPORT_DETAILED_PRODUCT_SALES: string;
|
|
22
|
-
REPORT_DAILY_SUMMARY_BY_PAYMETHOD: string;
|
|
23
|
-
REPORT_DAILY_SUMMARY_BY_ORDER: string;
|
|
24
|
-
REPORT_DETAILED_ORDERS: string;
|
|
25
|
-
REPORT_MONTH_SUMMARY_BY_ORDER: string;
|
|
26
|
-
REPORT_WEEK_SUMMARY_BY_ORDER: string;
|
|
27
|
-
REPORT_DASHBOARD: string;
|
|
28
|
-
DAILY_SUMMARY_BY_PRODUCT: string;
|
|
29
|
-
SALES_SUMMARY_BY_PRODUCT: string;
|
|
30
|
-
TEAM_MEMBERS_COMMISSION_DETAIL: string;
|
|
31
|
-
TEAM_SELF_COMMISSION_DETAIL: string;
|
|
32
|
-
TEAM_MEMBERS_COMMISSION_SUMMARY_BY_WEEK: string;
|
|
33
|
-
BOOKING_BY_CHECK_IN_OUT_DATE: string;
|
|
34
|
-
SALES_SUMMARY_BY_CHANNEL: string;
|
|
35
|
-
SALES_SUMMARY_BY_PAYMENT_METHOD: string;
|
|
36
|
-
SALES_SUMMARY_BY_CHANNEL_PAYMENT_METHOD: string;
|
|
37
|
-
TEAM_MEMBERS_COMMISSION_SUMMARY_BY_PERIOD: string;
|
|
38
|
-
};
|
|
39
|
-
export default _default;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
declare type UrlItem = "REPORT_DETAILED_TRANSACTIONS" | "REPORT_DETAILED_PRODUCT_SALES" | "REPORT_DAILY_SUMMARY_BY_PAYMETHOD" | "REPORT_DAILY_SUMMARY_BY_ORDER" | "REPORT_DETAILED_ORDERS" | "REPORT_MONTH_SUMMARY_BY_ORDER" | "REPORT_WEEK_SUMMARY_BY_ORDER" | "REPORT_DASHBOARD" | "DAILY_SUMMARY_BY_PRODUCT" | "SALES_SUMMARY_BY_PRODUCT" | "TEAM_MEMBERS_COMMISSION_DETAIL" | "TEAM_SELF_COMMISSION_DETAIL" | "TEAM_MEMBERS_COMMISSION_SUMMARY_BY_WEEK" | "BOOKING_BY_CHECK_IN_OUT_DATE" | "SALES_SUMMARY_BY_CHANNEL" | "SALES_SUMMARY_BY_PAYMENT_METHOD" | "SALES_SUMMARY_BY_CHANNEL_PAYMENT_METHOD" | "TEAM_MEMBERS_COMMISSION_SUMMARY_BY_PERIOD";
|
|
2
|
-
declare const _default: {
|
|
3
|
-
getReportList: (values: any, url: UrlItem) => Promise<any>;
|
|
4
|
-
};
|
|
5
|
-
export default _default;
|
package/lib/api/utils/index.d.ts
DELETED
package/lib/appHelper/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getTimezone: () => number;
|