@abyss-project/commons-front-core 13.3.0 → 14.0.0
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/catalog/captures-plan.ts +4 -1
- package/catalog/catalog-entries.ts +6 -1
- package/catalog/expected-error.ts +6 -0
- package/catalog/pages/CookieConsent.tsx +38 -0
- package/catalog/pages/ErrorBoundary.tsx +22 -0
- package/catalog/pages/PasswordField.tsx +62 -0
- package/catalog/pages/Toast.tsx +17 -6
- package/catalog/pages/index.ts +6 -0
- package/catalog/specs/captures.spec.ts +10 -0
- package/catalog/specs/catalog-page.ts +6 -1
- package/catalog/specs/write-capture-index.ts +1 -0
- package/dist/{AbyssCloud-D_AbU9k7.js → AbyssCloud-B3rMelRi.js} +636 -712
- package/dist/CookieConsentSettings-DyJGEnVA.js +505 -0
- package/dist/{use-rich-intl.hook-BETUyCkW.js → Surface-B_J_I_1i.js} +700 -147
- package/dist/Tabs-_TzugjHZ.js +1941 -0
- package/dist/auth/components/AuthHeroLayout/auth-hero-gradient.d.ts +18 -0
- package/dist/auth/components/shared/AuthLoadingScreen.component.d.ts +5 -0
- package/dist/auth/components/shared/use-async-resource.hook.d.ts +4 -1
- package/dist/auth/components/shared/use-async-resource.hook.spec.d.ts +1 -0
- package/dist/components/business/CookieConsent/AbyssCookieConsentProvider.spec.d.ts +1 -0
- package/dist/components/business/CookieConsent/CookieConsent.spec.d.ts +1 -0
- package/dist/{legacy/components/CookieConsent/CookieConsentBanner.component.d.ts → components/business/CookieConsent/CookieConsentBanner.d.ts} +1 -2
- package/dist/components/business/CookieConsent/CookieConsentSettings.d.ts +1 -0
- package/dist/{legacy/components → components/business}/CookieConsent/index.d.ts +2 -2
- package/dist/components/business/index.d.ts +3 -0
- package/dist/components/inputs/FormField/FormField.d.ts +5 -1
- package/dist/components/inputs/PasswordField/PasswordField.d.ts +40 -0
- package/dist/components/inputs/PasswordField/PasswordField.spec.d.ts +1 -0
- package/dist/components/inputs/index.d.ts +1 -0
- package/dist/components/layers/Toast/Toast.d.ts +3 -18
- package/dist/components/layers/Toast/toast-clearance.d.ts +6 -0
- package/dist/components/layers/Toast/toast-store.d.ts +76 -0
- package/dist/components/states/ErrorBoundary/ErrorBoundary.d.ts +17 -0
- package/dist/components/states/ErrorBoundary/ErrorBoundary.spec.d.ts +1 -0
- package/dist/components/states/PageState/PageState.d.ts +3 -1
- package/dist/components/states/index.d.ts +1 -0
- package/dist/cookie-consent.d.ts +1 -1
- package/dist/cookie-consent.js +14 -15
- package/dist/demo/DemoBanner/DemoBanner.d.ts +16 -0
- package/dist/demo/DemoBanner/DemoBanner.spec.d.ts +1 -0
- package/dist/demo/DemoBanner/index.d.ts +1 -0
- package/dist/demo/demo-blocked.interceptor.d.ts +7 -0
- package/dist/demo/demo.en.d.ts +17 -0
- package/dist/demo/demo.fr.d.ts +17 -0
- package/dist/demo/index.d.ts +3 -0
- package/dist/demo/tests/demo-blocked.interceptor.spec.d.ts +1 -0
- package/dist/demo/use-demo-account.hook.d.ts +19 -0
- package/dist/design-theme-D5L0JNbX.js +26599 -0
- package/dist/{editors-CUsZNFfw.js → editors-C6Rocm6M.js} +83 -83
- package/dist/editors.js +1 -1
- package/dist/hooks/use-rich-intl.hook.d.ts +80 -0
- package/dist/{index-BQ4GXlMJ.js → index-5AavH8Oo.js} +1 -1
- package/dist/{index-Bn4gTAno.js → index-B58_3EoW.js} +2 -2
- package/dist/{index-DuMzZrqc.js → index-BElPTqLa.js} +2 -2
- package/dist/{index-D1ro2oTw.js → index-BI4ooqu1.js} +2 -2
- package/dist/{index-TB7ekLl-.js → index-BYDMmzla.js} +2 -2
- package/dist/{index-CM0x-TnE.js → index-C1GCQ2Ke.js} +2 -2
- package/dist/{index-DEBTvCWD.js → index-C1I7MW-q.js} +3 -3
- package/dist/{index-pnfk6VZ7.js → index-CDI4_t7D.js} +4 -4
- package/dist/{index-Lyt4_W7a.js → index-CDWJlhuZ.js} +2 -2
- package/dist/{index-C7a2XXcz.js → index-CKJMsjnV.js} +4 -4
- package/dist/{index-CDpC4_po.js → index-Cskjr11h.js} +2 -2
- package/dist/{index-DErJ9c2q.js → index-CuYK_i3Q.js} +2 -2
- package/dist/{index-GTkZik4b.js → index-Cwgj3j50.js} +3 -3
- package/dist/{index-CjV5ui_B.js → index-Czhx2OUB.js} +2 -2
- package/dist/{index-CiDg4J7c.js → index-DGoR-pBV.js} +4 -4
- package/dist/{index-YzYX-H93.js → index-DjAZPCEQ.js} +3 -3
- package/dist/{index-Ba41aBBN.js → index-Dutd4cJm.js} +2 -2
- package/dist/{index-DobX4g2g.js → index-Dym_r-do.js} +2 -2
- package/dist/{index-BhFOCfCj.js → index-TshVV9T4.js} +2 -2
- package/dist/{index-BzoBMWdL.js → index-UjGNADrL.js} +3 -3
- package/dist/{index-CYUixRIB.js → index-u-EAOYOb.js} +2 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.js +5483 -4750
- package/dist/legacy/components/Spotlight/ProjectLinkSelector/index.d.ts +1 -4
- package/dist/legacy/components/Support/AbyssServiceSelect.component.d.ts +1 -1
- package/dist/legacy/components/index.d.ts +1 -1
- package/dist/legacy.js +9626 -8129
- package/dist/translations/en.d.ts +39 -0
- package/dist/translations/fr.d.ts +39 -0
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/project-link-mode.d.ts +4 -0
- package/dist/utils/project-link-wording.utils.d.ts +1 -1
- package/dist/utils/service-config.d.ts +8 -0
- package/dist/utils/service-config.spec.d.ts +1 -0
- package/package.json +3 -3
- package/vite.config.ts +1 -1
- package/dist/AbyssCookieConsentProvider-Ds99df0E.js +0 -4562
- package/dist/CookieConsentSettings.component-DoWLHqw5.js +0 -78
- package/dist/Tabs-C1qcQ2i5.js +0 -2335
- package/dist/design-theme-CYGZ6mAh.js +0 -23975
- package/dist/legacy/components/CookieConsent/CookieConsentSettings.component.d.ts +0 -2
- /package/dist/{legacy/components/CookieConsent/AbyssCookieConsentProvider.spec.d.ts → auth/components/SecuritySettings/sections/SessionsSection.component.spec.d.ts} +0 -0
- /package/dist/{legacy/components → components/business}/CookieConsent/AbyssCookieConsentProvider.d.ts +0 -0
|
@@ -6,17 +6,17 @@ var I = (l, t, e) => (MN(l, t, "read from private field"), e ? e.call(l) : t.get
|
|
|
6
6
|
import { jsx as G, jsxs as Lt, Fragment as _i } from "react/jsx-runtime";
|
|
7
7
|
import ln, { useRef as Pt, useState as wt, useMemo as Oe, createContext as EU, useContext as Cc, useCallback as Ot, useLayoutEffect as Ez, useEffect as le, forwardRef as lO, useImperativeHandle as nO, memo as iO, useReducer as gz } from "react";
|
|
8
8
|
import { z as sO, p as Ec, C as HG, b as Oz, D as dO, E as jz, r as cO, F as aO, l as oO, c as rO, k as vz, s as UO, G as hO, d as PG, q as FO, u as ZO, j as uO, A as mO, H as AG, I as VO, v as QO, w as WO, B as fn } from "./clsx-D8ItxkrZ.js";
|
|
9
|
-
import { g as pO
|
|
10
|
-
import { styled as Rt, useTheme as
|
|
9
|
+
import { g as pO } from "./AbyssCloud-B3rMelRi.js";
|
|
10
|
+
import { styled as Rt, useTheme as NO } from "@mui/material/styles";
|
|
11
11
|
import { useIntl as El } from "react-intl";
|
|
12
|
-
import { s as NU, d as ys, D as ds, p as j, h as gl, M as Zo,
|
|
12
|
+
import { s as NU, d as ys, D as ds, p as j, h as gl, M as Zo, b as uo, a as _d, S as RO, t as bu, g as Z0, e as jo, v as RF, c as PW, i as bO, u as MO } from "./Surface-B_J_I_1i.js";
|
|
13
13
|
import Vl from "@mui/material/Button";
|
|
14
|
-
import
|
|
14
|
+
import LM from "@mui/material/Checkbox";
|
|
15
15
|
import zQ from "@mui/material/CircularProgress";
|
|
16
16
|
import mo from "@mui/material/FormControlLabel";
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import { f as
|
|
17
|
+
import WV from "@mui/material/OutlinedInput";
|
|
18
|
+
import DM from "@mui/material/Switch";
|
|
19
|
+
import { f as wb, F as pV, C as bF, a as MF, g as Mu, S as iZ, D as Kz, k as SO, T as TO, N as fM, h as JO, j as GO, d as yO, i as BO } from "./Tabs-_TzugjHZ.js";
|
|
20
20
|
import { PDFDocument as Ka, PDFTextField as Hz, PDFCheckBox as Pz, PDFDropdown as Az, PDFRadioGroup as _z, PDFOptionList as XO, degrees as Ib, StandardFonts as SN, BlendMode as YO, rgb as kO } from "pdf-lib";
|
|
21
21
|
import * as _G from "pdfjs-dist";
|
|
22
22
|
import zO from "@mui/icons-material/OpenInNew";
|
|
@@ -14225,7 +14225,7 @@ function Ut(l) {
|
|
|
14225
14225
|
return new IH(oS.define(l));
|
|
14226
14226
|
}
|
|
14227
14227
|
function ra(l) {
|
|
14228
|
-
return import("./index-
|
|
14228
|
+
return import("./index-B58_3EoW.js").then((t) => t.sql({ dialect: t[l] }));
|
|
14229
14229
|
}
|
|
14230
14230
|
const B7 = [
|
|
14231
14231
|
// New-style language modes
|
|
@@ -14233,7 +14233,7 @@ const B7 = [
|
|
|
14233
14233
|
name: "C",
|
|
14234
14234
|
extensions: ["c", "h", "ino"],
|
|
14235
14235
|
load() {
|
|
14236
|
-
return import("./index-
|
|
14236
|
+
return import("./index-Cskjr11h.js").then((l) => l.cpp());
|
|
14237
14237
|
}
|
|
14238
14238
|
}),
|
|
14239
14239
|
/* @__PURE__ */ A.of({
|
|
@@ -14241,7 +14241,7 @@ const B7 = [
|
|
|
14241
14241
|
alias: ["cpp"],
|
|
14242
14242
|
extensions: ["cpp", "c++", "cc", "cxx", "hpp", "h++", "hh", "hxx"],
|
|
14243
14243
|
load() {
|
|
14244
|
-
return import("./index-
|
|
14244
|
+
return import("./index-Cskjr11h.js").then((l) => l.cpp());
|
|
14245
14245
|
}
|
|
14246
14246
|
}),
|
|
14247
14247
|
/* @__PURE__ */ A.of({
|
|
@@ -14256,14 +14256,14 @@ const B7 = [
|
|
|
14256
14256
|
name: "CSS",
|
|
14257
14257
|
extensions: ["css"],
|
|
14258
14258
|
load() {
|
|
14259
|
-
return import("./index-
|
|
14259
|
+
return import("./index-u-EAOYOb.js").then((l) => l.css());
|
|
14260
14260
|
}
|
|
14261
14261
|
}),
|
|
14262
14262
|
/* @__PURE__ */ A.of({
|
|
14263
14263
|
name: "Go",
|
|
14264
14264
|
extensions: ["go"],
|
|
14265
14265
|
load() {
|
|
14266
|
-
return import("./index-
|
|
14266
|
+
return import("./index-Czhx2OUB.js").then((l) => l.go());
|
|
14267
14267
|
}
|
|
14268
14268
|
}),
|
|
14269
14269
|
/* @__PURE__ */ A.of({
|
|
@@ -14271,14 +14271,14 @@ const B7 = [
|
|
|
14271
14271
|
alias: ["xhtml"],
|
|
14272
14272
|
extensions: ["html", "htm", "handlebars", "hbs"],
|
|
14273
14273
|
load() {
|
|
14274
|
-
return import("./index-
|
|
14274
|
+
return import("./index-CDI4_t7D.js").then((l) => l.html());
|
|
14275
14275
|
}
|
|
14276
14276
|
}),
|
|
14277
14277
|
/* @__PURE__ */ A.of({
|
|
14278
14278
|
name: "Java",
|
|
14279
14279
|
extensions: ["java"],
|
|
14280
14280
|
load() {
|
|
14281
|
-
return import("./index-
|
|
14281
|
+
return import("./index-CuYK_i3Q.js").then((l) => l.java());
|
|
14282
14282
|
}
|
|
14283
14283
|
}),
|
|
14284
14284
|
/* @__PURE__ */ A.of({
|
|
@@ -14286,7 +14286,7 @@ const B7 = [
|
|
|
14286
14286
|
alias: ["ecmascript", "js", "node"],
|
|
14287
14287
|
extensions: ["js", "mjs", "cjs"],
|
|
14288
14288
|
load() {
|
|
14289
|
-
return import("./index-
|
|
14289
|
+
return import("./index-CDWJlhuZ.js").then((l) => l.javascript());
|
|
14290
14290
|
}
|
|
14291
14291
|
}),
|
|
14292
14292
|
/* @__PURE__ */ A.of({
|
|
@@ -14294,28 +14294,28 @@ const B7 = [
|
|
|
14294
14294
|
alias: ["json5"],
|
|
14295
14295
|
extensions: ["json", "map"],
|
|
14296
14296
|
load() {
|
|
14297
|
-
return import("./index-
|
|
14297
|
+
return import("./index-TshVV9T4.js").then((l) => l.json());
|
|
14298
14298
|
}
|
|
14299
14299
|
}),
|
|
14300
14300
|
/* @__PURE__ */ A.of({
|
|
14301
14301
|
name: "JSX",
|
|
14302
14302
|
extensions: ["jsx"],
|
|
14303
14303
|
load() {
|
|
14304
|
-
return import("./index-
|
|
14304
|
+
return import("./index-CDWJlhuZ.js").then((l) => l.javascript({ jsx: !0 }));
|
|
14305
14305
|
}
|
|
14306
14306
|
}),
|
|
14307
14307
|
/* @__PURE__ */ A.of({
|
|
14308
14308
|
name: "LESS",
|
|
14309
14309
|
extensions: ["less"],
|
|
14310
14310
|
load() {
|
|
14311
|
-
return import("./index-
|
|
14311
|
+
return import("./index-C1I7MW-q.js").then((l) => l.less());
|
|
14312
14312
|
}
|
|
14313
14313
|
}),
|
|
14314
14314
|
/* @__PURE__ */ A.of({
|
|
14315
14315
|
name: "Liquid",
|
|
14316
14316
|
extensions: ["liquid"],
|
|
14317
14317
|
load() {
|
|
14318
|
-
return import("./index-
|
|
14318
|
+
return import("./index-Cwgj3j50.js").then((l) => l.liquid());
|
|
14319
14319
|
}
|
|
14320
14320
|
}),
|
|
14321
14321
|
/* @__PURE__ */ A.of({
|
|
@@ -14328,7 +14328,7 @@ const B7 = [
|
|
|
14328
14328
|
name: "Markdown",
|
|
14329
14329
|
extensions: ["md", "markdown", "mkd"],
|
|
14330
14330
|
load() {
|
|
14331
|
-
return import("./index-
|
|
14331
|
+
return import("./index-Dym_r-do.js").then((l) => l.markdown());
|
|
14332
14332
|
}
|
|
14333
14333
|
}),
|
|
14334
14334
|
/* @__PURE__ */ A.of({
|
|
@@ -14347,7 +14347,7 @@ const B7 = [
|
|
|
14347
14347
|
name: "PHP",
|
|
14348
14348
|
extensions: ["php", "php3", "php4", "php5", "php7", "phtml"],
|
|
14349
14349
|
load() {
|
|
14350
|
-
return import("./index-
|
|
14350
|
+
return import("./index-UjGNADrL.js").then((l) => l.php());
|
|
14351
14351
|
}
|
|
14352
14352
|
}),
|
|
14353
14353
|
/* @__PURE__ */ A.of({
|
|
@@ -14368,28 +14368,28 @@ const B7 = [
|
|
|
14368
14368
|
extensions: ["BUILD", "bzl", "py", "pyw"],
|
|
14369
14369
|
filename: /^(BUCK|BUILD)$/,
|
|
14370
14370
|
load() {
|
|
14371
|
-
return import("./index-
|
|
14371
|
+
return import("./index-BI4ooqu1.js").then((l) => l.python());
|
|
14372
14372
|
}
|
|
14373
14373
|
}),
|
|
14374
14374
|
/* @__PURE__ */ A.of({
|
|
14375
14375
|
name: "Rust",
|
|
14376
14376
|
extensions: ["rs"],
|
|
14377
14377
|
load() {
|
|
14378
|
-
return import("./index-
|
|
14378
|
+
return import("./index-C1GCQ2Ke.js").then((l) => l.rust());
|
|
14379
14379
|
}
|
|
14380
14380
|
}),
|
|
14381
14381
|
/* @__PURE__ */ A.of({
|
|
14382
14382
|
name: "Sass",
|
|
14383
14383
|
extensions: ["sass"],
|
|
14384
14384
|
load() {
|
|
14385
|
-
return import("./index-
|
|
14385
|
+
return import("./index-DjAZPCEQ.js").then((l) => l.sass({ indented: !0 }));
|
|
14386
14386
|
}
|
|
14387
14387
|
}),
|
|
14388
14388
|
/* @__PURE__ */ A.of({
|
|
14389
14389
|
name: "SCSS",
|
|
14390
14390
|
extensions: ["scss"],
|
|
14391
14391
|
load() {
|
|
14392
|
-
return import("./index-
|
|
14392
|
+
return import("./index-DjAZPCEQ.js").then((l) => l.sass());
|
|
14393
14393
|
}
|
|
14394
14394
|
}),
|
|
14395
14395
|
/* @__PURE__ */ A.of({
|
|
@@ -14409,7 +14409,7 @@ const B7 = [
|
|
|
14409
14409
|
name: "TSX",
|
|
14410
14410
|
extensions: ["tsx"],
|
|
14411
14411
|
load() {
|
|
14412
|
-
return import("./index-
|
|
14412
|
+
return import("./index-CDWJlhuZ.js").then((l) => l.javascript({ jsx: !0, typescript: !0 }));
|
|
14413
14413
|
}
|
|
14414
14414
|
}),
|
|
14415
14415
|
/* @__PURE__ */ A.of({
|
|
@@ -14417,14 +14417,14 @@ const B7 = [
|
|
|
14417
14417
|
alias: ["ts"],
|
|
14418
14418
|
extensions: ["ts", "mts", "cts"],
|
|
14419
14419
|
load() {
|
|
14420
|
-
return import("./index-
|
|
14420
|
+
return import("./index-CDWJlhuZ.js").then((l) => l.javascript({ typescript: !0 }));
|
|
14421
14421
|
}
|
|
14422
14422
|
}),
|
|
14423
14423
|
/* @__PURE__ */ A.of({
|
|
14424
14424
|
name: "WebAssembly",
|
|
14425
14425
|
extensions: ["wat", "wast"],
|
|
14426
14426
|
load() {
|
|
14427
|
-
return import("./index-
|
|
14427
|
+
return import("./index-Dutd4cJm.js").then((l) => l.wast());
|
|
14428
14428
|
}
|
|
14429
14429
|
}),
|
|
14430
14430
|
/* @__PURE__ */ A.of({
|
|
@@ -14432,7 +14432,7 @@ const B7 = [
|
|
|
14432
14432
|
alias: ["rss", "wsdl", "xsd"],
|
|
14433
14433
|
extensions: ["xml", "xsl", "xsd", "svg"],
|
|
14434
14434
|
load() {
|
|
14435
|
-
return import("./index-
|
|
14435
|
+
return import("./index-BElPTqLa.js").then((l) => l.xml());
|
|
14436
14436
|
}
|
|
14437
14437
|
}),
|
|
14438
14438
|
/* @__PURE__ */ A.of({
|
|
@@ -14440,7 +14440,7 @@ const B7 = [
|
|
|
14440
14440
|
alias: ["yml"],
|
|
14441
14441
|
extensions: ["yaml", "yml"],
|
|
14442
14442
|
load() {
|
|
14443
|
-
return import("./index-
|
|
14443
|
+
return import("./index-BYDMmzla.js").then((l) => l.yaml());
|
|
14444
14444
|
}
|
|
14445
14445
|
}),
|
|
14446
14446
|
// Legacy modes ported from CodeMirror 5
|
|
@@ -15236,13 +15236,13 @@ const B7 = [
|
|
|
15236
15236
|
name: "Vue",
|
|
15237
15237
|
extensions: ["vue"],
|
|
15238
15238
|
load() {
|
|
15239
|
-
return import("./index-
|
|
15239
|
+
return import("./index-CKJMsjnV.js").then((l) => l.vue());
|
|
15240
15240
|
}
|
|
15241
15241
|
}),
|
|
15242
15242
|
/* @__PURE__ */ A.of({
|
|
15243
15243
|
name: "Angular Template",
|
|
15244
15244
|
load() {
|
|
15245
|
-
return import("./index-
|
|
15245
|
+
return import("./index-DGoR-pBV.js").then((l) => l.angular());
|
|
15246
15246
|
}
|
|
15247
15247
|
})
|
|
15248
15248
|
], X7 = "#e5c07b", G5 = "#e06c75", Y7 = "#56b6c2", k7 = "#ffffff", kV = "#abb2bf", D2 = "#7d8799", z7 = "#61afef", L7 = "#98c379", y5 = "#d19a66", D7 = "#c678dd", f7 = "#21252b", B5 = "#2c313a", X5 = "#282c34", HN = "#353a42", w7 = "#3E4451", Y5 = "#528bff", I7 = /* @__PURE__ */ At.theme({
|
|
@@ -66526,8 +66526,8 @@ function Gg({
|
|
|
66526
66526
|
}))
|
|
66527
66527
|
}
|
|
66528
66528
|
),
|
|
66529
|
-
/* @__PURE__ */ G(
|
|
66530
|
-
|
|
66529
|
+
/* @__PURE__ */ G(pV, { label: p("ds.editors.pdf.signature.save.name"), children: /* @__PURE__ */ G(
|
|
66530
|
+
WV,
|
|
66531
66531
|
{
|
|
66532
66532
|
value: d,
|
|
66533
66533
|
autoFocus: !0,
|
|
@@ -66539,9 +66539,9 @@ function Gg({
|
|
|
66539
66539
|
}
|
|
66540
66540
|
) }),
|
|
66541
66541
|
Z !== null && /* @__PURE__ */ G(
|
|
66542
|
-
|
|
66542
|
+
bF,
|
|
66543
66543
|
{
|
|
66544
|
-
severity:
|
|
66544
|
+
severity: MF.Danger,
|
|
66545
66545
|
onClose: () => u(null),
|
|
66546
66546
|
children: Z
|
|
66547
66547
|
}
|
|
@@ -66652,7 +66652,7 @@ function Imt({
|
|
|
66652
66652
|
] }),
|
|
66653
66653
|
/* @__PURE__ */ Lt(Lmt, { children: [
|
|
66654
66654
|
/* @__PURE__ */ G(
|
|
66655
|
-
|
|
66655
|
+
Mu,
|
|
66656
66656
|
{
|
|
66657
66657
|
label: R,
|
|
66658
66658
|
value: c,
|
|
@@ -66790,7 +66790,7 @@ const JM = "all", yg = wM(() => [
|
|
|
66790
66790
|
overflow: "hidden",
|
|
66791
66791
|
textOverflow: "ellipsis"
|
|
66792
66792
|
};
|
|
66793
|
-
}), Kmt = Rt(
|
|
66793
|
+
}), Kmt = Rt(RO)({ overflow: "hidden" }), Hmt = Rt("p")(({ theme: l }) => ({
|
|
66794
66794
|
margin: 0,
|
|
66795
66795
|
padding: j(l.design.space[6]),
|
|
66796
66796
|
textAlign: "center",
|
|
@@ -66967,9 +66967,9 @@ function tVt({
|
|
|
66967
66967
|
}
|
|
66968
66968
|
),
|
|
66969
66969
|
o !== null && /* @__PURE__ */ G(
|
|
66970
|
-
|
|
66970
|
+
bF,
|
|
66971
66971
|
{
|
|
66972
|
-
severity:
|
|
66972
|
+
severity: MF.Danger,
|
|
66973
66973
|
onClose: () => r(null),
|
|
66974
66974
|
children: o
|
|
66975
66975
|
}
|
|
@@ -67074,12 +67074,12 @@ function nVt({
|
|
|
67074
67074
|
}
|
|
67075
67075
|
) }),
|
|
67076
67076
|
/* @__PURE__ */ G(
|
|
67077
|
-
|
|
67077
|
+
SO,
|
|
67078
67078
|
{
|
|
67079
67079
|
items: u,
|
|
67080
67080
|
value: F,
|
|
67081
67081
|
onChange: Z,
|
|
67082
|
-
variant:
|
|
67082
|
+
variant: TO.Primary,
|
|
67083
67083
|
"aria-label": r("ds.editors.pdf.signature-ui.tabs.label")
|
|
67084
67084
|
}
|
|
67085
67085
|
)
|
|
@@ -67122,7 +67122,7 @@ const iVt = Rt(AW)(({ theme: l }) => {
|
|
|
67122
67122
|
width: "100%",
|
|
67123
67123
|
justifyContent: "flex-start",
|
|
67124
67124
|
gap: j(e[3]),
|
|
67125
|
-
minHeight: j(
|
|
67125
|
+
minHeight: j(RF(l)),
|
|
67126
67126
|
padding: `0 ${j(e[3])}`,
|
|
67127
67127
|
borderRadius: j(n.md),
|
|
67128
67128
|
fontFamily: s.sans,
|
|
@@ -67138,7 +67138,7 @@ const iVt = Rt(AW)(({ theme: l }) => {
|
|
|
67138
67138
|
"&.Mui-disabled": { color: t["text.muted"] },
|
|
67139
67139
|
"&.Mui-focusVisible": Z0(l),
|
|
67140
67140
|
"& > svg": { flex: "none", width: j(e[4]), height: j(e[4]) },
|
|
67141
|
-
...
|
|
67141
|
+
...bu(l)
|
|
67142
67142
|
};
|
|
67143
67143
|
});
|
|
67144
67144
|
function mz({
|
|
@@ -67237,7 +67237,7 @@ const sVt = (l, t) => {
|
|
|
67237
67237
|
objectFit: "contain",
|
|
67238
67238
|
pointerEvents: "none"
|
|
67239
67239
|
},
|
|
67240
|
-
...
|
|
67240
|
+
...bu(l)
|
|
67241
67241
|
};
|
|
67242
67242
|
}), cVt = Rt(AW)(({ theme: l }) => {
|
|
67243
67243
|
const { tokens: t, radii: e, space: n, typeScale: i, fonts: s } = l.design;
|
|
@@ -67260,7 +67260,7 @@ const sVt = (l, t) => {
|
|
|
67260
67260
|
textOverflow: "ellipsis",
|
|
67261
67261
|
whiteSpace: "nowrap"
|
|
67262
67262
|
},
|
|
67263
|
-
...
|
|
67263
|
+
...bu(l)
|
|
67264
67264
|
};
|
|
67265
67265
|
});
|
|
67266
67266
|
function aVt({
|
|
@@ -67284,7 +67284,7 @@ function aVt({
|
|
|
67284
67284
|
mo,
|
|
67285
67285
|
{
|
|
67286
67286
|
control: /* @__PURE__ */ G(
|
|
67287
|
-
|
|
67287
|
+
DM,
|
|
67288
67288
|
{
|
|
67289
67289
|
checked: t,
|
|
67290
67290
|
onChange: (d, c) => e(c)
|
|
@@ -67461,7 +67461,7 @@ function hVt({ settings: l, onChange: t }) {
|
|
|
67461
67461
|
const e = El();
|
|
67462
67462
|
return /* @__PURE__ */ Lt(tr, { children: [
|
|
67463
67463
|
/* @__PURE__ */ G(
|
|
67464
|
-
|
|
67464
|
+
Mu,
|
|
67465
67465
|
{
|
|
67466
67466
|
label: e.formatMessage({ id: "ds.editors.pdf.draw.color" }),
|
|
67467
67467
|
value: l.drawColor,
|
|
@@ -67470,7 +67470,7 @@ function hVt({ settings: l, onChange: t }) {
|
|
|
67470
67470
|
}
|
|
67471
67471
|
),
|
|
67472
67472
|
/* @__PURE__ */ G(
|
|
67473
|
-
|
|
67473
|
+
fM,
|
|
67474
67474
|
{
|
|
67475
67475
|
label: e.formatMessage({ id: "ds.editors.pdf.draw.width" }),
|
|
67476
67476
|
value: l.drawStrokeWidth,
|
|
@@ -67537,7 +67537,7 @@ function ZVt({
|
|
|
67537
67537
|
mo,
|
|
67538
67538
|
{
|
|
67539
67539
|
control: /* @__PURE__ */ G(
|
|
67540
|
-
|
|
67540
|
+
LM,
|
|
67541
67541
|
{
|
|
67542
67542
|
checked: r === !0,
|
|
67543
67543
|
onChange: (h) => d(o.name, h.target.checked)
|
|
@@ -67598,7 +67598,7 @@ function ZVt({
|
|
|
67598
67598
|
mo,
|
|
67599
67599
|
{
|
|
67600
67600
|
control: /* @__PURE__ */ G(
|
|
67601
|
-
|
|
67601
|
+
DM,
|
|
67602
67602
|
{
|
|
67603
67603
|
checked: !!c,
|
|
67604
67604
|
onChange: (o, r) => a(r)
|
|
@@ -67620,7 +67620,7 @@ function uVt({
|
|
|
67620
67620
|
}) {
|
|
67621
67621
|
const e = El();
|
|
67622
67622
|
return /* @__PURE__ */ G(tr, { children: /* @__PURE__ */ G(
|
|
67623
|
-
|
|
67623
|
+
Mu,
|
|
67624
67624
|
{
|
|
67625
67625
|
label: e.formatMessage({ id: "ds.editors.pdf.draw.color" }),
|
|
67626
67626
|
value: l.highlightColor,
|
|
@@ -67672,7 +67672,7 @@ function WVt({ settings: l, onChange: t }) {
|
|
|
67672
67672
|
}
|
|
67673
67673
|
) }),
|
|
67674
67674
|
/* @__PURE__ */ G(
|
|
67675
|
-
|
|
67675
|
+
Mu,
|
|
67676
67676
|
{
|
|
67677
67677
|
label: e.formatMessage({ id: "ds.editors.pdf.draw.color" }),
|
|
67678
67678
|
value: l.drawColor,
|
|
@@ -67705,7 +67705,7 @@ function WVt({ settings: l, onChange: t }) {
|
|
|
67705
67705
|
}
|
|
67706
67706
|
) }),
|
|
67707
67707
|
/* @__PURE__ */ G(
|
|
67708
|
-
|
|
67708
|
+
fM,
|
|
67709
67709
|
{
|
|
67710
67710
|
label: e.formatMessage({ id: "ds.editors.pdf.draw.width" }),
|
|
67711
67711
|
value: l.drawStrokeWidth,
|
|
@@ -67757,7 +67757,7 @@ function RVt({ settings: l, onChange: t }) {
|
|
|
67757
67757
|
}
|
|
67758
67758
|
) }),
|
|
67759
67759
|
/* @__PURE__ */ G(
|
|
67760
|
-
|
|
67760
|
+
fM,
|
|
67761
67761
|
{
|
|
67762
67762
|
label: e.formatMessage({ id: "ds.editors.pdf.text.size" }),
|
|
67763
67763
|
value: l.textSize,
|
|
@@ -67769,7 +67769,7 @@ function RVt({ settings: l, onChange: t }) {
|
|
|
67769
67769
|
}
|
|
67770
67770
|
),
|
|
67771
67771
|
/* @__PURE__ */ G(
|
|
67772
|
-
|
|
67772
|
+
Mu,
|
|
67773
67773
|
{
|
|
67774
67774
|
label: e.formatMessage({ id: "ds.editors.pdf.draw.color" }),
|
|
67775
67775
|
value: l.textColor,
|
|
@@ -68024,8 +68024,8 @@ const JVt = Rt(AW, {
|
|
|
68024
68024
|
return {
|
|
68025
68025
|
flex: "none",
|
|
68026
68026
|
gap: j(n[2]),
|
|
68027
|
-
minHeight: j(
|
|
68028
|
-
minWidth: t ? j(
|
|
68027
|
+
minHeight: j(RF(l)),
|
|
68028
|
+
minWidth: t ? j(RF(l)) : void 0,
|
|
68029
68029
|
padding: `0 ${j(n[2])}`,
|
|
68030
68030
|
borderRadius: j(i.md),
|
|
68031
68031
|
border: gl("transparent"),
|
|
@@ -68049,7 +68049,7 @@ const JVt = Rt(AW, {
|
|
|
68049
68049
|
// Below 1200 px the names would push the bar onto a second line: icons only (the name stays on
|
|
68050
68050
|
// the accessible label), with the chevron of a group still showing it opens a panel.
|
|
68051
68051
|
[ys.down(ds.Desktop)]: {
|
|
68052
|
-
minWidth: j(
|
|
68052
|
+
minWidth: j(RF(l)),
|
|
68053
68053
|
"& .pdf-bar-label": { display: "none" }
|
|
68054
68054
|
},
|
|
68055
68055
|
// Below 768 px, icons alone, each in a 44 px target.
|
|
@@ -68113,7 +68113,7 @@ const GVt = Rt("div")(({ theme: l }) => {
|
|
|
68113
68113
|
alignItems: "center",
|
|
68114
68114
|
gap: j(t[2]),
|
|
68115
68115
|
minWidth: 0,
|
|
68116
|
-
minHeight: j(
|
|
68116
|
+
minHeight: j(RF(l)),
|
|
68117
68117
|
[ys.down(ds.Tablet)]: {
|
|
68118
68118
|
gap: 0,
|
|
68119
68119
|
minHeight: j(e.touchTarget)
|
|
@@ -68252,7 +68252,7 @@ function YVt(l) {
|
|
|
68252
68252
|
b.map(V)
|
|
68253
68253
|
] }),
|
|
68254
68254
|
o !== null && !s && /* @__PURE__ */ G(
|
|
68255
|
-
|
|
68255
|
+
JO,
|
|
68256
68256
|
{
|
|
68257
68257
|
open: !0,
|
|
68258
68258
|
anchorEl: o.anchor,
|
|
@@ -68576,7 +68576,7 @@ const pz = {
|
|
|
68576
68576
|
scale: b = t0,
|
|
68577
68577
|
rotation: R = 0
|
|
68578
68578
|
}) => {
|
|
68579
|
-
const M =
|
|
68579
|
+
const M = NO(), J = El(), y = Oe(() => xVt(M), [M]), z = Pt(null), k = Pt(null);
|
|
68580
68580
|
le(() => {
|
|
68581
68581
|
if (k.current = null, !c)
|
|
68582
68582
|
return;
|
|
@@ -72354,7 +72354,7 @@ const kb = 0.32, zWt = Rt("div", {
|
|
|
72354
72354
|
operations: c,
|
|
72355
72355
|
dispatch: a
|
|
72356
72356
|
}) => {
|
|
72357
|
-
const o = El(), { confirm: r } =
|
|
72357
|
+
const o = El(), { confirm: r } = GO(), U = Pt(null), {
|
|
72358
72358
|
attributes: h,
|
|
72359
72359
|
listeners: F,
|
|
72360
72360
|
setNodeRef: Z,
|
|
@@ -72478,7 +72478,7 @@ const kb = 0.32, zWt = Rt("div", {
|
|
|
72478
72478
|
confirmLabel: o.formatMessage({
|
|
72479
72479
|
id: "ds.editors.pdf.page.confirm-delete.confirm"
|
|
72480
72480
|
}),
|
|
72481
|
-
tone:
|
|
72481
|
+
tone: yO.Danger
|
|
72482
72482
|
}) && a(
|
|
72483
72483
|
Mi({
|
|
72484
72484
|
opId: pn(),
|
|
@@ -72695,7 +72695,7 @@ const kb = 0.32, zWt = Rt("div", {
|
|
|
72695
72695
|
/* @__PURE__ */ G(KWt, { children: Array.from({ length: t.numPages }, (Z, u) => /* @__PURE__ */ G(
|
|
72696
72696
|
mo,
|
|
72697
72697
|
{
|
|
72698
|
-
control: /* @__PURE__ */ G(
|
|
72698
|
+
control: /* @__PURE__ */ G(LM, { checked: r.has(u), onChange: () => h(u) }),
|
|
72699
72699
|
label: a.formatMessage(
|
|
72700
72700
|
{ id: "ds.editors.pdf.insert-dialog.page-label" },
|
|
72701
72701
|
{ num: u + 1 }
|
|
@@ -72712,7 +72712,7 @@ const kb = 0.32, zWt = Rt("div", {
|
|
|
72712
72712
|
e += String.fromCharCode(...l.subarray(n, n + 32768));
|
|
72713
72713
|
return btoa(e);
|
|
72714
72714
|
}, AWt = Rt(Vl)(({ theme: l }) => ({
|
|
72715
|
-
...
|
|
72715
|
+
...bu(l)
|
|
72716
72716
|
})), _Wt = ({
|
|
72717
72717
|
afterVirtualIndex: l,
|
|
72718
72718
|
dispatch: t,
|
|
@@ -73001,7 +73001,7 @@ const kb = 0.32, zWt = Rt("div", {
|
|
|
73001
73001
|
color: t["text.primary"],
|
|
73002
73002
|
"&:hover": { backgroundColor: t["bg.hover"] },
|
|
73003
73003
|
"&:focus-visible": Z0(l),
|
|
73004
|
-
...
|
|
73004
|
+
...bu(l)
|
|
73005
73005
|
};
|
|
73006
73006
|
}), opt = Rt("span")(({ theme: l }) => ({
|
|
73007
73007
|
alignSelf: "stretch",
|
|
@@ -73296,7 +73296,7 @@ const kb = 0.32, zWt = Rt("div", {
|
|
|
73296
73296
|
}
|
|
73297
73297
|
};
|
|
73298
73298
|
function LRt(l) {
|
|
73299
|
-
return /* @__PURE__ */ G(
|
|
73299
|
+
return /* @__PURE__ */ G(BO, { children: /* @__PURE__ */ G(kpt, { ...l }) });
|
|
73300
73300
|
}
|
|
73301
73301
|
function kpt({
|
|
73302
73302
|
source: l,
|
|
@@ -73395,7 +73395,7 @@ function kpt({
|
|
|
73395
73395
|
}, [J, M, W.operations]), It = Ot(async () => {
|
|
73396
73396
|
const lt = await st();
|
|
73397
73397
|
return lt ? wW(lt.bytes, lt.ops) : null;
|
|
73398
|
-
}, [st]), Wt = l.fileName.replace(/\.pdf$/i, ""), [Dt, O] = wt(t0), [$, Mt] = wt(0), [Xt, se] = wt(!0), [be, Ee] = wt(!0), [Ke, sl] = wt(0), Zl = Pt(null), Me = Pt(null), Le =
|
|
73398
|
+
}, [st]), Wt = l.fileName.replace(/\.pdf$/i, ""), [Dt, O] = wt(t0), [$, Mt] = wt(0), [Xt, se] = wt(!0), [be, Ee] = wt(!0), [Ke, sl] = wt(0), Zl = Pt(null), Me = Pt(null), Le = bO() === ds.Mobile, ul = !r && Xt && !Le ? qg : 0, ll = Ot(() => {
|
|
73399
73399
|
Ee(!1), O((lt) => Math.min(zM, lt * fz));
|
|
73400
73400
|
}, []), ui = Ot(() => {
|
|
73401
73401
|
Ee(!1), O((lt) => Math.max(Dz, lt / fz));
|
|
@@ -73665,7 +73665,7 @@ function kpt({
|
|
|
73665
73665
|
] }) });
|
|
73666
73666
|
if (z)
|
|
73667
73667
|
return /* @__PURE__ */ G(QV, { children: /* @__PURE__ */ Lt(Lb, { children: [
|
|
73668
|
-
/* @__PURE__ */ G(mpt, { children: /* @__PURE__ */ G(
|
|
73668
|
+
/* @__PURE__ */ G(mpt, { children: /* @__PURE__ */ G(bF, { severity: MF.Danger, children: V("ds.editors.pdf.error.load-failed", {
|
|
73669
73669
|
message: z.message
|
|
73670
73670
|
}) }) }),
|
|
73671
73671
|
F && /* @__PURE__ */ G(Vl, { variant: "outlined", onClick: F, children: V("ds.editors.pdf.error.try-another") })
|
|
@@ -73678,12 +73678,12 @@ function kpt({
|
|
|
73678
73678
|
/* @__PURE__ */ G(Zpt, { children: V("ds.editors.pdf.unlock.title") }),
|
|
73679
73679
|
/* @__PURE__ */ G(upt, { children: V("ds.editors.pdf.unlock.help") }),
|
|
73680
73680
|
/* @__PURE__ */ G(Vpt, { children: /* @__PURE__ */ G(
|
|
73681
|
-
|
|
73681
|
+
pV,
|
|
73682
73682
|
{
|
|
73683
73683
|
label: V("ds.editors.pdf.password.label"),
|
|
73684
73684
|
error: w ? V("ds.editors.pdf.unlock.wrong") : void 0,
|
|
73685
73685
|
children: /* @__PURE__ */ G(
|
|
73686
|
-
|
|
73686
|
+
WV,
|
|
73687
73687
|
{
|
|
73688
73688
|
autoFocus: !0,
|
|
73689
73689
|
type: "password",
|
|
@@ -73772,17 +73772,17 @@ function kpt({
|
|
|
73772
73772
|
),
|
|
73773
73773
|
(q !== null || Zt !== null) && /* @__PURE__ */ Lt(Wpt, { children: [
|
|
73774
73774
|
q !== null && /* @__PURE__ */ G(
|
|
73775
|
-
|
|
73775
|
+
bF,
|
|
73776
73776
|
{
|
|
73777
|
-
severity:
|
|
73777
|
+
severity: MF.Danger,
|
|
73778
73778
|
onClose: () => tt(null),
|
|
73779
73779
|
children: q
|
|
73780
73780
|
}
|
|
73781
73781
|
),
|
|
73782
73782
|
Zt !== null && /* @__PURE__ */ G(
|
|
73783
|
-
|
|
73783
|
+
bF,
|
|
73784
73784
|
{
|
|
73785
|
-
severity:
|
|
73785
|
+
severity: MF.Success,
|
|
73786
73786
|
onClose: () => ht(null),
|
|
73787
73787
|
children: Zt
|
|
73788
73788
|
}
|
|
@@ -73890,7 +73890,7 @@ function kpt({
|
|
|
73890
73890
|
{
|
|
73891
73891
|
sx: { m: 0 },
|
|
73892
73892
|
control: /* @__PURE__ */ G(
|
|
73893
|
-
|
|
73893
|
+
DM,
|
|
73894
73894
|
{
|
|
73895
73895
|
size: "small",
|
|
73896
73896
|
checked: W.pendingApplyAllPages,
|
|
@@ -73974,7 +73974,7 @@ function kpt({
|
|
|
73974
73974
|
num: Yt + 1
|
|
73975
73975
|
}),
|
|
73976
73976
|
control: /* @__PURE__ */ G(
|
|
73977
|
-
|
|
73977
|
+
LM,
|
|
73978
73978
|
{
|
|
73979
73979
|
checked: xi.has(Yt),
|
|
73980
73980
|
onChange: (Se) => Us((hn) => {
|
|
@@ -74009,8 +74009,8 @@ function kpt({
|
|
|
74009
74009
|
}
|
|
74010
74010
|
)
|
|
74011
74011
|
] }),
|
|
74012
|
-
children: /* @__PURE__ */ G(
|
|
74013
|
-
|
|
74012
|
+
children: /* @__PURE__ */ G(pV, { label: V("ds.editors.pdf.password.label"), children: /* @__PURE__ */ G(
|
|
74013
|
+
WV,
|
|
74014
74014
|
{
|
|
74015
74015
|
autoFocus: !0,
|
|
74016
74016
|
type: "password",
|
|
@@ -74043,8 +74043,8 @@ function kpt({
|
|
|
74043
74043
|
}
|
|
74044
74044
|
)
|
|
74045
74045
|
] }),
|
|
74046
|
-
children: /* @__PURE__ */ G(
|
|
74047
|
-
|
|
74046
|
+
children: /* @__PURE__ */ G(pV, { label: V("ds.editors.pdf.watermark.label"), children: /* @__PURE__ */ G(
|
|
74047
|
+
WV,
|
|
74048
74048
|
{
|
|
74049
74049
|
autoFocus: !0,
|
|
74050
74050
|
value: Be,
|
|
@@ -74250,7 +74250,7 @@ const ua = {
|
|
|
74250
74250
|
multiline: s = !1,
|
|
74251
74251
|
prose: d = !1
|
|
74252
74252
|
}) => {
|
|
74253
|
-
const c = Xj(), a = Yj(c.breakpoints.down("md")), o =
|
|
74253
|
+
const c = Xj(), a = Yj(c.breakpoints.down("md")), o = MO(), r = Pt(e), [U, h] = wt(e), F = Pt(null);
|
|
74254
74254
|
ln.useEffect(() => {
|
|
74255
74255
|
l && (r.current = e, h(e));
|
|
74256
74256
|
}, [l, e]);
|
package/dist/editors.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Q as o, R as s, S as r, M as t, O as i, K as n, Y as d, U as g, W as p, X as E, V as l, Z as f } from "./editors-
|
|
1
|
+
import { Q as o, R as s, S as r, M as t, O as i, K as n, Y as d, U as g, W as p, X as E, V as l, Z as f } from "./editors-C6Rocm6M.js";
|
|
2
2
|
export {
|
|
3
3
|
o as CodeEditor,
|
|
4
4
|
s as ExpressionCodeEditor,
|