@edifice.io/wiki 3.5.15 → 3.6.0-develop.20260603155049
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/BAGVG3AX.js +6 -6
- package/lib/DeleteListModal.js +1 -1
- package/lib/KZB72KQG.js +4 -4
- package/lib/NITRNJ62.js +4 -4
- package/lib/PrintModal.js +3 -3
- package/lib/components/WikiApp/WikiApp.d.ts +28 -8
- package/lib/components/WikiApp/providers/WikiAppProvider.context.d.ts +2 -2
- package/lib/components/WikiApp/providers/WikiAppProvider.d.ts +3 -3
- package/lib/features/app/AppActions/AppActions.d.ts +1 -0
- package/lib/index.d.ts +1 -1
- package/lib/index.js +2 -2
- package/lib/index2.js +939 -926
- package/package.json +5 -5
package/lib/BAGVG3AX.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { c, T as l,
|
|
2
|
-
import {
|
|
3
|
-
var
|
|
1
|
+
import { c, T as l, P as m, a as u, D as v, Q as i } from "./NITRNJ62.js";
|
|
2
|
+
import { g as d, d as f, e } from "./index2.js";
|
|
3
|
+
var h = (t) => {
|
|
4
4
|
const [r, o] = c({
|
|
5
5
|
prefix: "TanstackQueryDevtools"
|
|
6
|
-
}), n =
|
|
6
|
+
}), n = d(), s = f(() => {
|
|
7
7
|
const a = t.theme || r.theme_preference || l;
|
|
8
8
|
return a !== "system" ? a : n();
|
|
9
9
|
});
|
|
@@ -27,7 +27,7 @@ var f = (t) => {
|
|
|
27
27
|
});
|
|
28
28
|
}
|
|
29
29
|
});
|
|
30
|
-
},
|
|
30
|
+
}, C = h;
|
|
31
31
|
export {
|
|
32
|
-
|
|
32
|
+
C as default
|
|
33
33
|
};
|
package/lib/DeleteListModal.js
CHANGED
|
@@ -5,7 +5,7 @@ import { useTranslation as k } from "react-i18next";
|
|
|
5
5
|
import { useParams as b, useFetcher as y } from "react-router-dom";
|
|
6
6
|
import "@edifice.io/client";
|
|
7
7
|
import "@tanstack/react-query";
|
|
8
|
-
import {
|
|
8
|
+
import { u as M, a as C, b as S, c as D } from "./index2.js";
|
|
9
9
|
import "react";
|
|
10
10
|
const R = ({
|
|
11
11
|
selectedPages: d
|
package/lib/KZB72KQG.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as s, T as c,
|
|
2
|
-
import {
|
|
1
|
+
import { c as s, T as c, P as u, a as i, b as m, C as d, Q as P } from "./NITRNJ62.js";
|
|
2
|
+
import { g as h, d as v, e } from "./index2.js";
|
|
3
3
|
var C = (r) => {
|
|
4
4
|
const [t, o] = s({
|
|
5
5
|
prefix: "TanstackQueryDevtools"
|
|
@@ -7,7 +7,7 @@ var C = (r) => {
|
|
|
7
7
|
const n = r.theme || t.theme_preference || c;
|
|
8
8
|
return n !== "system" ? n : a();
|
|
9
9
|
});
|
|
10
|
-
return e(
|
|
10
|
+
return e(P.Provider, {
|
|
11
11
|
value: r,
|
|
12
12
|
get children() {
|
|
13
13
|
return e(u, {
|
|
@@ -20,7 +20,7 @@ var C = (r) => {
|
|
|
20
20
|
get children() {
|
|
21
21
|
return e(m, {
|
|
22
22
|
get children() {
|
|
23
|
-
return e(
|
|
23
|
+
return e(d, {
|
|
24
24
|
localStore: t,
|
|
25
25
|
setLocalStore: o,
|
|
26
26
|
get onClose() {
|
package/lib/NITRNJ62.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var xs = Object.defineProperty;
|
|
2
2
|
var $s = (e, t, n) => t in e ? xs(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var Re = (e, t, n) => $s(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
|
-
import {
|
|
4
|
+
import { f as B, h as H, d as P, e as m, i as $e, o as ft, P as No, m as ve, S as K, j as k, k as U, l as F, n as Cs, p as ur, q as Ce, r as V, s as Qn, t as Yn, v as gt, w as T, x as _, y as Ss, z as Ut, A as _t, B as qe, C as ks, D as Rt, E as Bt, F as Es, G as Ds, H as En, I as As, J as Ht, $ as Ho, K as Ms, L as W, M as Vr, N as Ts, O as Fs, Q as cr, R as Is, T as Os, U as Ls, V as Hn, W as Ps, X as qs, Y as ie, Z as _s, _ as Rs } from "./index2.js";
|
|
5
5
|
var zs = (e) => e != null, Ks = (e) => e.filter(zs);
|
|
6
6
|
function Bs(e) {
|
|
7
7
|
return (...t) => {
|
|
@@ -9206,10 +9206,10 @@ ur(["click", "mousedown", "keydown", "input"]);
|
|
|
9206
9206
|
export {
|
|
9207
9207
|
bs as C,
|
|
9208
9208
|
g0 as D,
|
|
9209
|
-
|
|
9209
|
+
f0 as P,
|
|
9210
9210
|
Js as Q,
|
|
9211
9211
|
d0 as T,
|
|
9212
|
-
|
|
9213
|
-
|
|
9212
|
+
ea as a,
|
|
9213
|
+
h0 as b,
|
|
9214
9214
|
c0 as c
|
|
9215
9215
|
};
|
package/lib/PrintModal.js
CHANGED
|
@@ -4,7 +4,7 @@ import { createPortal as M } from "react-dom";
|
|
|
4
4
|
import { useTranslation as y } from "react-i18next";
|
|
5
5
|
import { useState as h } from "react";
|
|
6
6
|
import { useParams as I } from "react-router-dom";
|
|
7
|
-
import { a0 as W,
|
|
7
|
+
import { a0 as W, b, a1 as $, a2 as G } from "./index2.js";
|
|
8
8
|
import "@edifice.io/client";
|
|
9
9
|
import "@tanstack/react-query";
|
|
10
10
|
const A = () => {
|
|
@@ -40,7 +40,7 @@ const A = () => {
|
|
|
40
40
|
pageId: n
|
|
41
41
|
};
|
|
42
42
|
};
|
|
43
|
-
function
|
|
43
|
+
function Q() {
|
|
44
44
|
const {
|
|
45
45
|
t: e
|
|
46
46
|
} = y("wiki"), l = G(), {
|
|
@@ -70,5 +70,5 @@ function L() {
|
|
|
70
70
|
] }) }), document.getElementById("portal"));
|
|
71
71
|
}
|
|
72
72
|
export {
|
|
73
|
-
|
|
73
|
+
Q as default
|
|
74
74
|
};
|
|
@@ -1,16 +1,36 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
action: () => void;
|
|
7
|
-
visibility: boolean;
|
|
8
|
-
}
|
|
2
|
+
import { ActionDropdownMenuOptions } from '../../features';
|
|
3
|
+
/**
|
|
4
|
+
* Wiki App Component Props
|
|
5
|
+
*/
|
|
9
6
|
export interface WikiAppProps {
|
|
7
|
+
/** Wiki Id to retrieve wiki information and pages */
|
|
10
8
|
wikiId: string;
|
|
9
|
+
/**
|
|
10
|
+
* Show or not the Wiki application header.
|
|
11
|
+
* When Wiki is integrated in an app (for example Communities) then we can hide the Wiki app header.
|
|
12
|
+
*/
|
|
11
13
|
header?: boolean;
|
|
12
|
-
|
|
14
|
+
/** Additional Actions to show in the Wiki Page dropdown menu */
|
|
15
|
+
additionalActions?: AdditionalActions;
|
|
16
|
+
/** Additional CSS classes for styling purposes, can be helpful to fix some visual integration issues inside another app. */
|
|
13
17
|
className?: string;
|
|
14
18
|
}
|
|
19
|
+
/**
|
|
20
|
+
* Additional Actions to show in the Wiki Page dropdown menu.
|
|
21
|
+
* Those actions can be displayed in a specific Dropdown Menu Group if the dropdownMenuGroupLabel is set.
|
|
22
|
+
*/
|
|
23
|
+
export interface AdditionalActions {
|
|
24
|
+
/** Additional Actions */
|
|
25
|
+
actions: ActionDropdownMenuOptions[];
|
|
26
|
+
/** Dropdown Menu Group Label */
|
|
27
|
+
dropdownMenuGroupLabel?: string;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Wiki App component that can be called to integrate Wiki App inside another app.
|
|
31
|
+
* For example "Cours à la Une" in Communities.
|
|
32
|
+
*
|
|
33
|
+
* See WikiAppProps to know what props can be passed to the component.
|
|
34
|
+
*/
|
|
15
35
|
declare const WikiApp: React.FC<WikiAppProps>;
|
|
16
36
|
export default WikiApp;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AdditionalActions } from '../WikiApp';
|
|
2
2
|
export interface WikiAppContextProps {
|
|
3
3
|
wikiId?: string;
|
|
4
4
|
header?: boolean;
|
|
5
|
-
|
|
5
|
+
additionalActions?: AdditionalActions;
|
|
6
6
|
}
|
|
7
7
|
export declare const WikiAppContext: import('react').Context<WikiAppContextProps | null>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AdditionalActions } from '../WikiApp';
|
|
2
2
|
export interface WikiAppProviderProps {
|
|
3
3
|
wikiId?: string;
|
|
4
4
|
header?: boolean;
|
|
5
|
-
|
|
5
|
+
additionalActions?: AdditionalActions;
|
|
6
6
|
children: React.ReactNode;
|
|
7
7
|
}
|
|
8
|
-
export declare function WikiAppProvider({ wikiId, header,
|
|
8
|
+
export declare function WikiAppProvider({ wikiId, header, additionalActions, children, }: WikiAppProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
export default WikiAppProvider;
|
package/lib/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default as WikiApp } from './components/WikiApp/WikiApp';
|
|
2
|
-
export type { WikiAppProps,
|
|
2
|
+
export type { WikiAppProps, AdditionalActions, } from './components/WikiApp/WikiApp';
|
package/lib/index.js
CHANGED