@gisce/react-ooui 2.92.0 → 2.92.2
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/README.md
CHANGED
|
@@ -7,7 +7,8 @@ export declare enum ErpFeatureKeys {
|
|
|
7
7
|
FEATURE_GET_TOOLBAR = "get_toolbar",
|
|
8
8
|
FEATURE_MANY2ONE_SORT = "many2one_sort",
|
|
9
9
|
FEATURE_LOGGABLE_ACTIONS = "user_action_logs",
|
|
10
|
-
FEATURE_USER_FLAGS = "user_feature_flags"
|
|
10
|
+
FEATURE_USER_FLAGS = "user_feature_flags",
|
|
11
|
+
FEATURE_CHECK_PERMS = "check_perms"
|
|
11
12
|
}
|
|
12
13
|
export declare const ErpAllFeatureKeys: string[];
|
|
13
14
|
export interface ErpFeatureState {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"erpFeature.d.ts","sourceRoot":"","sources":["../../src/models/erpFeature.ts"],"names":[],"mappings":"AAAA,oBAAY,cAAc;IACxB,uBAAuB,oBAAoB;IAC3C,uBAAuB,iBAAiB;IACxC,kBAAkB,eAAe;IACjC,mBAAmB,kBAAkB;IACrC,qBAAqB,oBAAoB;IACzC,mBAAmB,gBAAgB;IACnC,qBAAqB,kBAAkB;IACvC,wBAAwB,qBAAqB;IAC7C,kBAAkB,uBAAuB;
|
|
1
|
+
{"version":3,"file":"erpFeature.d.ts","sourceRoot":"","sources":["../../src/models/erpFeature.ts"],"names":[],"mappings":"AAAA,oBAAY,cAAc;IACxB,uBAAuB,oBAAoB;IAC3C,uBAAuB,iBAAiB;IACxC,kBAAkB,eAAe;IACjC,mBAAmB,kBAAkB;IACrC,qBAAqB,oBAAoB;IACzC,mBAAmB,gBAAgB;IACnC,qBAAqB,kBAAkB;IACvC,wBAAwB,qBAAqB;IAC7C,kBAAkB,uBAAuB;IACzC,mBAAmB,gBAAgB;CAEpC;AAED,eAAO,MAAM,iBAAiB,EAAE,MAAM,EAAkC,CAAC;AAEzE,MAAM,WAAW,eAAe;IAC9B,SAAS,EAAE,OAAO,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACjC;AAED,MAAM,MAAM,cAAc,GAAG;KAC1B,GAAG,IAAI,cAAc,CAAC,CAAC,EAAE,eAAe;CAC1C,CAAC"}
|
package/dist/react-ooui.es.js
CHANGED
|
@@ -3415,7 +3415,7 @@ function vf(e) {
|
|
|
3415
3415
|
}
|
|
3416
3416
|
);
|
|
3417
3417
|
}
|
|
3418
|
-
var Dt = /* @__PURE__ */ ((e) => (e.FEATURE_VIEW_JSON_ATTRS = "view_json_attrs", e.FEATURE_ADVANCED_EXPORT = "export_data2", e.FEATURE_OMNISEARCH = "omnisearch", e.FEATURE_READFORVIEW = "read_for_view", e.FEATURE_USERVIEWPREFS = "user_view_prefs", e.FEATURE_GET_TOOLBAR = "get_toolbar", e.FEATURE_MANY2ONE_SORT = "many2one_sort", e.FEATURE_LOGGABLE_ACTIONS = "user_action_logs", e.FEATURE_USER_FLAGS = "user_feature_flags", e))(Dt || {});
|
|
3418
|
+
var Dt = /* @__PURE__ */ ((e) => (e.FEATURE_VIEW_JSON_ATTRS = "view_json_attrs", e.FEATURE_ADVANCED_EXPORT = "export_data2", e.FEATURE_OMNISEARCH = "omnisearch", e.FEATURE_READFORVIEW = "read_for_view", e.FEATURE_USERVIEWPREFS = "user_view_prefs", e.FEATURE_GET_TOOLBAR = "get_toolbar", e.FEATURE_MANY2ONE_SORT = "many2one_sort", e.FEATURE_LOGGABLE_ACTIONS = "user_action_logs", e.FEATURE_USER_FLAGS = "user_feature_flags", e.FEATURE_CHECK_PERMS = "check_perms", e))(Dt || {});
|
|
3419
3419
|
const cw = Object.values(Dt), Vt = tn.createContext(null), bf = (e) => {
|
|
3420
3420
|
const {
|
|
3421
3421
|
children: t,
|
|
@@ -15838,7 +15838,8 @@ Please, make sure the view ids on the fields_view_get responses are the same as
|
|
|
15838
15838
|
ot = (ze = await V.getHandler().readObjects({
|
|
15839
15839
|
model: r,
|
|
15840
15840
|
ids: [Ie],
|
|
15841
|
-
context: o
|
|
15841
|
+
context: o,
|
|
15842
|
+
fieldsToRetrieve: ["id"]
|
|
15842
15843
|
})) == null ? void 0 : ze[0];
|
|
15843
15844
|
} catch {
|
|
15844
15845
|
}
|