@ws-ui/settings-editor 1.11.12-rc7 → 1.11.12-rc9
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/dist/Standalone/index.d.ts +2 -0
- package/dist/Standalone/style.css +1 -0
- package/dist/adapter/reducer/adapter.d.ts +1 -1
- package/dist/common.cjs.js +2 -0
- package/dist/common.cjs.js.map +1 -0
- package/dist/common.d.ts +1 -0
- package/dist/common.es.js +5 -0
- package/dist/common.es.js.map +1 -0
- package/dist/index.cjs.js +15 -15
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.es.js +17 -14
- package/dist/index.es.js.map +1 -1
- package/package.json +4 -2
package/dist/index.d.ts
CHANGED
package/dist/index.es.js
CHANGED
|
@@ -5,6 +5,7 @@ import { useAppDispatch as jx, useAppSelector as di, selectPreferences as Xx, se
|
|
|
5
5
|
import { useDidMountEffect as iy, ModalType as ay, FolderRootPath as un, FileFolderType as Es, validateName as od, SETTINGS_TAB_PATH as sy } from "@ws-ui/shared";
|
|
6
6
|
import { flushSync as ly, createPortal as lp } from "react-dom";
|
|
7
7
|
import { FdWebform as cp, FdCompact as cy, FdAiry as uy, FdEye as dy, FdHidden as py, FdUp as hy, FdDown as fy, FdPlaySettings as gy, FdSameLoaderTab as vy, FdMagic as id, FdTime as by, FdTooltip as my, FdInfoBold as ad, FdUser as wy, FdDatabase as xy } from "@ws-ui/icons";
|
|
8
|
+
import { SETTINGS_EDITOR_SCOPE_CLASS as nE } from "./common.es.js";
|
|
8
9
|
function Jk(r) {
|
|
9
10
|
const i = jx(), n = di(Xx), a = di(Yx), s = di(Zx), l = di(Qx);
|
|
10
11
|
return {
|
|
@@ -14360,11 +14361,11 @@ const Wk = ({
|
|
|
14360
14361
|
className: "w-full h-full"
|
|
14361
14362
|
}) }),
|
|
14362
14363
|
/* @__PURE__ */ z("div", { className: "text-sm", children: i }),
|
|
14363
|
-
/* @__PURE__ */
|
|
14364
|
+
/* @__PURE__ */ Me(
|
|
14364
14365
|
Is.Root,
|
|
14365
14366
|
{
|
|
14366
14367
|
color: s ? "negative" : "primary",
|
|
14367
|
-
className: "w-[208px]",
|
|
14368
|
+
className: "w-[208px] ml-auto",
|
|
14368
14369
|
options: C,
|
|
14369
14370
|
value: w ? { label: w, value: w } : null,
|
|
14370
14371
|
onChange: M,
|
|
@@ -14372,16 +14373,15 @@ const Wk = ({
|
|
|
14372
14373
|
onInputChange: d,
|
|
14373
14374
|
isSearchable: !0,
|
|
14374
14375
|
getOptionLabel: (D) => D.label,
|
|
14375
|
-
getOptionValue: (D) => D.value,
|
|
14376
|
-
formatOptionLabel: (D) => /* @__PURE__ */ Me("div", { className: "flex items-center", children: [
|
|
14377
|
-
!D.__isNew__ && /* @__PURE__ */ z(cp, { className: "mr-2 h-4 w-4" }),
|
|
14378
|
-
D.label
|
|
14379
|
-
] }),
|
|
14380
14376
|
children: [
|
|
14381
14377
|
/* @__PURE__ */ z(
|
|
14382
14378
|
Is.Field,
|
|
14383
14379
|
{
|
|
14384
14380
|
placeholder: "Page",
|
|
14381
|
+
formatOptionLabel: (D) => /* @__PURE__ */ Me("div", { className: "flex items-center", children: [
|
|
14382
|
+
!D.__isNew__ && /* @__PURE__ */ z(cp, { className: "mr-2 h-4 w-4" }),
|
|
14383
|
+
D.label
|
|
14384
|
+
] }),
|
|
14385
14385
|
isClearable: !0,
|
|
14386
14386
|
onBlur: () => {
|
|
14387
14387
|
l(null);
|
|
@@ -14391,7 +14391,7 @@ const Wk = ({
|
|
|
14391
14391
|
s && /* @__PURE__ */ z(Is.Message, { children: s.message })
|
|
14392
14392
|
]
|
|
14393
14393
|
}
|
|
14394
|
-
)
|
|
14394
|
+
)
|
|
14395
14395
|
] })
|
|
14396
14396
|
}
|
|
14397
14397
|
);
|
|
@@ -14584,23 +14584,26 @@ const Wk = ({
|
|
|
14584
14584
|
path: r = sy,
|
|
14585
14585
|
initialValue: i,
|
|
14586
14586
|
defaultActiveTab: n = "session",
|
|
14587
|
-
|
|
14588
|
-
|
|
14589
|
-
|
|
14587
|
+
webforms: a,
|
|
14588
|
+
onChange: s,
|
|
14589
|
+
onFetchFolderContentWithoutExpanding: l,
|
|
14590
|
+
onCreateNewFileAndOpen: u
|
|
14590
14591
|
}) => /* @__PURE__ */ z(
|
|
14591
14592
|
Oy,
|
|
14592
14593
|
{
|
|
14593
14594
|
tabPath: r,
|
|
14595
|
+
webforms: a,
|
|
14594
14596
|
preferences: i,
|
|
14595
|
-
onChange:
|
|
14596
|
-
onFetchFolderContentWithoutExpanding:
|
|
14597
|
-
onCreateNewFileAndOpen:
|
|
14597
|
+
onChange: s,
|
|
14598
|
+
onFetchFolderContentWithoutExpanding: l,
|
|
14599
|
+
onCreateNewFileAndOpen: u,
|
|
14598
14600
|
children: /* @__PURE__ */ z(qk, { path: r, defaultActiveTab: n })
|
|
14599
14601
|
}
|
|
14600
14602
|
);
|
|
14601
14603
|
export {
|
|
14602
14604
|
yy as EditorStateAdapterProvider,
|
|
14603
14605
|
Oy as ReducerAdapterProvider,
|
|
14606
|
+
nE as SETTINGS_EDITOR_SCOPE_CLASS,
|
|
14604
14607
|
Kk as SettingsEditor,
|
|
14605
14608
|
eE as Standalone,
|
|
14606
14609
|
Ny as useReducerAdapter,
|