@gisce/react-ooui 1.2.0-rc.8 → 1.2.0-rc.9

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 +1 @@
1
- {"version":3,"file":"ContentRootContext.d.ts","sourceRoot":"","sources":["ContentRootContext.tsx"],"names":[],"mappings":"AACA,OAAO,KAMN,MAAM,OAAO,CAAC;AAcf,oBAAY,sBAAsB,GAAG;IACnC,aAAa,EAAE,CAAC,EACd,UAAU,EACV,MAAM,EACN,MAAM,EACN,OAAO,GACR,EAAE;QACD,UAAU,EAAE,GAAG,CAAC;QAChB,MAAM,EAAE,GAAG,CAAC;QACZ,MAAM,EAAE,GAAG,CAAC;QACZ,OAAO,CAAC,EAAE,GAAG,CAAC;QACd,qBAAqB,CAAC,EAAE,MAAM,IAAI,CAAC;KACpC,KAAK,OAAO,CAAC,GAAG,CAAC,CAAC;IACnB,YAAY,CAAC,EAAE,GAAG,CAAC;CACpB,CAAC;AAUF,eAAO,MAAM,kBAAkB,8CAE9B,CAAC;AAEF,aAAK,wBAAwB,GAAG;IAC9B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,YAAY,CAAC,EAAE,GAAG,CAAC;CACpB,CAAC;;AAqWF,wBAA+C"}
1
+ {"version":3,"file":"ContentRootContext.d.ts","sourceRoot":"","sources":["ContentRootContext.tsx"],"names":[],"mappings":"AACA,OAAO,KAMN,MAAM,OAAO,CAAC;AAcf,oBAAY,sBAAsB,GAAG;IACnC,aAAa,EAAE,CAAC,EACd,UAAU,EACV,MAAM,EACN,MAAM,EACN,OAAO,GACR,EAAE;QACD,UAAU,EAAE,GAAG,CAAC;QAChB,MAAM,EAAE,GAAG,CAAC;QACZ,MAAM,EAAE,GAAG,CAAC;QACZ,OAAO,CAAC,EAAE,GAAG,CAAC;QACd,qBAAqB,CAAC,EAAE,MAAM,IAAI,CAAC;KACpC,KAAK,OAAO,CAAC,GAAG,CAAC,CAAC;IACnB,YAAY,CAAC,EAAE,GAAG,CAAC;CACpB,CAAC;AAUF,eAAO,MAAM,kBAAkB,8CAC2B,CAAC;AAE3D,aAAK,wBAAwB,GAAG;IAC9B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,YAAY,CAAC,EAAE,GAAG,CAAC;CACpB,CAAC;;AA6WF,wBAA+C"}
@@ -16774,13 +16774,17 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
16774
16774
  },
16775
16775
  children: r
16776
16776
  });
16777
- }, ContentRootContext = React__default.createContext(null), ContentRootProvider = (e, r) => {
16777
+ }, ContentRootContext = React__default.createContext(null), callRefreshValues = async (e) => {
16778
+ var r;
16779
+ for (let o = 0; o < e.length; o++)
16780
+ await ((r = e == null ? void 0 : e[o]) == null ? void 0 : r.call(e));
16781
+ }, ContentRootProvider = (e, r) => {
16778
16782
  const {
16779
16783
  children: o,
16780
16784
  globalValues: a = {}
16781
16785
  } = e, s = useRef(), l = useRef(), [c, u] = useState(!1), d = useContext(TabManagerContext), {
16782
16786
  openAction: f
16783
- } = d || {}, p = useRef(), {
16787
+ } = d || {}, p = useRef([]), {
16784
16788
  t: h
16785
16789
  } = useContext(LocaleContext);
16786
16790
  useImperativeHandle(r, () => ({
@@ -16857,7 +16861,7 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
16857
16861
  const {
16858
16862
  type: J
16859
16863
  } = N;
16860
- return p.current = W, J === "ir.actions.report.xml" ? await b({
16864
+ return p.current.push(W), J === "ir.actions.report.xml" ? await b({
16861
16865
  reportData: N,
16862
16866
  fields: E,
16863
16867
  values: P,
@@ -16998,8 +17002,7 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
16998
17002
  }), m(!0);
16999
17003
  }
17000
17004
  async function F() {
17001
- var N;
17002
- (N = p.current) == null || N.call(p), m(!1), C({
17005
+ callRefreshValues(p.current), p.current = [], m(!1), C({
17003
17006
  domain: void 0,
17004
17007
  model: void 0,
17005
17008
  context: {},
@@ -17030,8 +17033,7 @@ const DEFAULT_SEARCH_LIMIT$1 = 80, useSearch = (e) => {
17030
17033
  visible: g,
17031
17034
  onSubmitSucceed: F,
17032
17035
  onCancel: () => {
17033
- var N;
17034
- (N = p.current) == null || N.call(p), m(!1), C({
17036
+ callRefreshValues(p.current), p.current = [], m(!1), C({
17035
17037
  domain: void 0,
17036
17038
  model: void 0,
17037
17039
  context: {},