@tachybase/utils 1.1.1 → 1.1.8

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/lib/client.d.ts CHANGED
@@ -8,7 +8,6 @@ export * from './getValuesByPath';
8
8
  export * from './json-templates';
9
9
  export * from './log';
10
10
  export * from './merge';
11
- export * from './notification';
12
11
  export * from './number';
13
12
  export * from './parse-filter';
14
13
  export * from './registry';
package/lib/client.js CHANGED
@@ -42,7 +42,6 @@ __reExport(client_exports, require("./getValuesByPath"), module.exports);
42
42
  __reExport(client_exports, require("./json-templates"), module.exports);
43
43
  __reExport(client_exports, require("./log"), module.exports);
44
44
  __reExport(client_exports, require("./merge"), module.exports);
45
- __reExport(client_exports, require("./notification"), module.exports);
46
45
  __reExport(client_exports, require("./number"), module.exports);
47
46
  __reExport(client_exports, require("./parse-filter"), module.exports);
48
47
  __reExport(client_exports, require("./registry"), module.exports);
@@ -64,7 +63,6 @@ __reExport(client_exports, require("./currencyUtils"), module.exports);
64
63
  ...require("./json-templates"),
65
64
  ...require("./log"),
66
65
  ...require("./merge"),
67
- ...require("./notification"),
68
66
  ...require("./number"),
69
67
  ...require("./parse-filter"),
70
68
  ...require("./registry"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tachybase/utils",
3
- "version": "1.1.1",
3
+ "version": "1.1.8",
4
4
  "license": "Apache-2.0",
5
5
  "exports": {
6
6
  ".": {
@@ -29,7 +29,6 @@
29
29
  "dependencies": {
30
30
  "@hapi/topo": "^6.0.2",
31
31
  "@rc-component/mini-decimal": "^1.1.0",
32
- "antd": "5.22.5",
33
32
  "dayjs": "1.11.13",
34
33
  "dedupe": "^3.0.3",
35
34
  "deepmerge": "^4.3.1",
@@ -1 +0,0 @@
1
- export declare const showToast: (message: any, type?: string, duration?: number) => void;
@@ -1,34 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var notification_exports = {};
20
- __export(notification_exports, {
21
- showToast: () => showToast
22
- });
23
- module.exports = __toCommonJS(notification_exports);
24
- var import_antd = require("antd");
25
- const showToast = /* @__PURE__ */ __name((message, type = "info", duration = 5e3) => {
26
- import_antd.notification[type]({
27
- message,
28
- duration
29
- });
30
- }, "showToast");
31
- // Annotate the CommonJS export names for ESM import in node:
32
- 0 && (module.exports = {
33
- showToast
34
- });