x-essential-lib 0.9.5 → 0.9.7

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.
@@ -1,5 +1,6 @@
1
1
  export * from './color';
2
2
  export * from './microApp';
3
+ export * from './nameHelper';
3
4
  export * from './permission';
4
5
  export * from './system';
5
6
  export * from './viewStack';
@@ -0,0 +1,5 @@
1
+ export declare function useNameHelper(): {
2
+ nameOfVerbObject: (verb: string, object: string) => string;
3
+ nameOfObjectsInstance: (objects: string[], instance?: string) => string;
4
+ nameOfDeleteObjectText: (object: string) => string;
5
+ };
@@ -103,6 +103,7 @@ const e = {
103
103
  common: {
104
104
  cancel: "Cancel",
105
105
  confirm: "Confirm",
106
+ deleteObjectText: "Do you want to delete 「{name}」?",
106
107
  responding: "Responding..."
107
108
  }
108
109
  }, a = {
@@ -103,6 +103,7 @@ const e = {
103
103
  common: {
104
104
  cancel: "取消",
105
105
  confirm: "确定",
106
+ deleteObjectText: "你想要删除「{name}」?",
106
107
  responding: "响应中..."
107
108
  }
108
109
  }, a = {