@tempots/beatui 0.54.2 → 0.56.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.
Files changed (80) hide show
  1. package/dist/{2019-DzVg1z5j.cjs → 2019-B4jrQ2Q8.cjs} +1 -1
  2. package/dist/{2019-ByDeUdzE.js → 2019-DH5GYJC9.js} +2 -2
  3. package/dist/{2020-C2cAo3Kx.cjs → 2020-BVrVGeh-.cjs} +1 -1
  4. package/dist/{2020-P72Z0RIB.js → 2020-C3vh26yT.js} +2 -2
  5. package/dist/{ar-jKiWO1bA.js → ar-CKheF7Rb.js} +21 -13
  6. package/dist/{ar-128v2WAg.cjs → ar-x9O6JsRN.cjs} +1 -1
  7. package/dist/auth/index.cjs.js +1 -1
  8. package/dist/auth/index.es.js +4 -4
  9. package/dist/beatui.css +425 -2
  10. package/dist/beatui.tailwind.css +425 -2
  11. package/dist/{de-Doo_UynL.cjs → de-C0nhZh4a.cjs} +1 -1
  12. package/dist/{de-CsZH8Z4V.js → de-CqFnIl0Y.js} +16 -8
  13. package/dist/{es-C6ksQm_M.cjs → es-C3c1-2iA.cjs} +1 -1
  14. package/dist/{es-DHzABlc2.js → es-Cv9ZSjqz.js} +16 -8
  15. package/dist/{fa-C0ZVnkuX.cjs → fa-BbV4_mYi.cjs} +1 -1
  16. package/dist/{fa-Rlsar6Fo.js → fa-CG8B9M9O.js} +21 -13
  17. package/dist/{fr-DzrAiW9Q.js → fr-B2f1Pmal.js} +16 -8
  18. package/dist/{fr-eyQiRZu8.cjs → fr-DlFsnCqK.cjs} +1 -1
  19. package/dist/{he-B3ehch8T.js → he-BmHa696l.js} +21 -13
  20. package/dist/{he-fifXa9Ks.cjs → he-DwQ2QMJE.cjs} +1 -1
  21. package/dist/{hi-B90ZON10.js → hi-DNII_Adz.js} +19 -11
  22. package/dist/{hi-BBbV2iwE.cjs → hi-DaHMe_1C.cjs} +1 -1
  23. package/dist/{hls-C6lKM-CG.cjs → hls-B5PliUq8.cjs} +4 -4
  24. package/dist/{hls-B7ZdiUxL.js → hls-DLd3ClAs.js} +28 -21
  25. package/dist/{index-BQear_Jy.js → index-BYflP18C.js} +172 -164
  26. package/dist/{index-BwkYjXhr.cjs → index-COM8WyaG.cjs} +1 -1
  27. package/dist/{index-BWMybo2K.js → index-DCOaDJ8f.js} +1 -1
  28. package/dist/{index-CSv_TMiz.js → index-Dd3PocYl.js} +1 -1
  29. package/dist/{index-Be-6-fQW.cjs → index-Dhaodhgr.cjs} +2 -2
  30. package/dist/{index-aFA1CLKZ.cjs → index-DjLKVVL-.cjs} +1 -1
  31. package/dist/{index-Cj2zgGLp.cjs → index-ZRQP8j2O.cjs} +4 -4
  32. package/dist/{index-Kox58YHG.js → index-gZaps7_A.js} +5 -5
  33. package/dist/index.cjs.js +4 -4
  34. package/dist/index.es.js +2283 -2034
  35. package/dist/{it-WOitrlIv.js → it-894w7K0i.js} +16 -8
  36. package/dist/{it-CEM-R_5J.cjs → it-Cli1u40l.cjs} +1 -1
  37. package/dist/{ja-CWzwG1fp.cjs → ja-DY7Zij7O.cjs} +1 -1
  38. package/dist/{ja-jVLb-kyU.js → ja-j4AV8eVy.js} +22 -14
  39. package/dist/json-schema/index.cjs.js +1 -1
  40. package/dist/json-schema/index.es.js +1 -1
  41. package/dist/{ko-DV2NgunR.cjs → ko-CHlprpVP.cjs} +1 -1
  42. package/dist/{ko-CUpM9wfr.js → ko-CNZqypvW.js} +18 -10
  43. package/dist/{modal-C4x5C70f.js → modal-1Y-q1wDn.js} +2 -2
  44. package/dist/{modal-C5xWtKaZ.cjs → modal-D765-SiT.cjs} +1 -1
  45. package/dist/{nl-C_MHm9AB.cjs → nl-CgMv4O0P.cjs} +1 -1
  46. package/dist/{nl-BFLwQeEn.js → nl-CzTp9ds0.js} +19 -11
  47. package/dist/{notice-BhxWf3Dh.cjs → notice-D8w_39td.cjs} +1 -1
  48. package/dist/{notice-DdYpd69I.js → notice-DJ-olOQx.js} +1 -1
  49. package/dist/{pl-Dcgxv0xK.cjs → pl-Cm8Lerxg.cjs} +1 -1
  50. package/dist/{pl-dlo59Xei.js → pl-DQid7ctL.js} +17 -9
  51. package/dist/prosemirror/index.cjs.js +1 -1
  52. package/dist/prosemirror/index.es.js +1 -1
  53. package/dist/{pt-CqkhyKon.js → pt-BAU0nrtN.js} +16 -8
  54. package/dist/{pt-As8BblbM.cjs → pt-k6sIkC0v.cjs} +1 -1
  55. package/dist/{ru-DOl7nkP-.js → ru-CtYj3NlJ.js} +21 -13
  56. package/dist/{ru-Du4sI8M1.cjs → ru-Dioznrt_.cjs} +1 -1
  57. package/dist/{toolbar-BnaquvB9.cjs → toolbar-BMzapKW0.cjs} +1 -1
  58. package/dist/{toolbar-Czc8cSjl.js → toolbar-Bo4GA6tM.js} +1 -1
  59. package/dist/{tr-DTLlM4Pf.cjs → tr-CwCsfbe5.cjs} +1 -1
  60. package/dist/{tr-3O7PDT8q.js → tr-wS-zWzvh.js} +21 -13
  61. package/dist/{translations-BH2Dg5AP.cjs → translations-CD_Qi9EQ.cjs} +1 -1
  62. package/dist/{translations-CsO0g7yz.js → translations-Dm7vjy7D.js} +1 -1
  63. package/dist/{translations-B3P1v3E6.js → translations-Do71ycSR.js} +53 -45
  64. package/dist/translations-t-neYabN.cjs +1 -0
  65. package/dist/types/beatui-i18n/default.d.ts +7 -0
  66. package/dist/types/beatui-i18n/locales/en.d.ts +7 -0
  67. package/dist/types/beatui-i18n/translations.d.ts +7 -0
  68. package/dist/types/components/media/index.d.ts +1 -0
  69. package/dist/types/components/media/pdf-page-viewer.d.ts +64 -0
  70. package/dist/types/pdfjs/lazy-loader.d.ts +2 -0
  71. package/dist/{ur-DB8mA3fq.js → ur-8NSFWrMo.js} +21 -13
  72. package/dist/{ur-DRhqXQpq.cjs → ur-D3nkqfyQ.cjs} +1 -1
  73. package/dist/{utils-CPZHwfiH.js → utils-DzKhEJ__.js} +2 -2
  74. package/dist/{utils-DCa_lhhW.cjs → utils-dY__yBXk.cjs} +1 -1
  75. package/dist/{vi-D_MzLijT.cjs → vi-BAAJHs3a.cjs} +1 -1
  76. package/dist/{vi-vGJhQVsV.js → vi-CngHpCNM.js} +18 -10
  77. package/dist/{zh-C_OkXlxM.js → zh-Bkxc6ZmR.js} +21 -13
  78. package/dist/{zh-CFMBeH1A.cjs → zh-CRWrZhUp.cjs} +1 -1
  79. package/package.json +7 -6
  80. package/dist/translations-DZWe3znu.cjs +0 -1
@@ -3325,7 +3325,7 @@ a:focus-visible {
3325
3325
 
3326
3326
  .bc-file-input__compact-input {
3327
3327
  width: 100%;
3328
- min-height: 26px;
3328
+ min-height: 19px;
3329
3329
  display: flex;
3330
3330
  align-items: center;
3331
3331
  }
@@ -5180,7 +5180,7 @@ a:focus-visible {
5180
5180
 
5181
5181
  .bc-native-select {
5182
5182
  /* Match input height; container handles padding */
5183
- height: 26px;
5183
+ height: 19px;
5184
5184
  width: 100%;
5185
5185
  /* Reset native styling so BeatUI theme applies (Safari, Chrome, Firefox) */
5186
5186
  -webkit-appearance: none;
@@ -7992,6 +7992,429 @@ span.bc-sidebar-link {
7992
7992
  flex: 1 1 auto;
7993
7993
  }
7994
7994
 
7995
+ /* PDF Page Viewer Component */
7996
+ /* .bc-pdf-page-viewer {
7997
+ --pdf-viewer-text: var(--text-normal-light);
7998
+ --pdf-viewer-text-dark: var(--text-normal-dark);
7999
+
8000
+ position: relative;
8001
+ display: flex;
8002
+ align-items: center;
8003
+ justify-content: center;
8004
+ width: 100%;
8005
+ height: 100%;
8006
+ color: var(--pdf-viewer-text);
8007
+ overflow: auto;
8008
+ }
8009
+
8010
+ .b-dark .bc-pdf-page-viewer {
8011
+ background-color: var(--pdf-viewer-bg-dark);
8012
+ color: var(--pdf-viewer-text-dark);
8013
+ } */
8014
+
8015
+ .bc-pdf-page-viewer {
8016
+ position: relative;
8017
+ display: inline-block;
8018
+ max-width: 100%;
8019
+ max-height: 100%;
8020
+ }
8021
+
8022
+ /* Fit modes */
8023
+ .bc-pdf-page-viewer--fit-width {
8024
+ display: block;
8025
+ width: 100%;
8026
+ max-width: 100%;
8027
+ }
8028
+
8029
+ .bc-pdf-page-viewer--fit-height {
8030
+ display: block;
8031
+ height: 100%;
8032
+ max-height: 100%;
8033
+ }
8034
+
8035
+ .bc-pdf-page-viewer--fit-contain,
8036
+ .bc-pdf-page-viewer--fit-cover {
8037
+ display: flex;
8038
+ align-items: center;
8039
+ justify-content: center;
8040
+ width: 100%;
8041
+ height: 100%;
8042
+ }
8043
+
8044
+ /* Content wrapper - provides positioning context for layers */
8045
+ .bc-pdf-page-viewer__content {
8046
+ position: relative;
8047
+ display: inline-block;
8048
+ }
8049
+
8050
+ .bc-pdf-page-viewer__canvas {
8051
+ display: block;
8052
+ }
8053
+
8054
+ /* Text layer for text selection */
8055
+ /* Must be both absolutely positioned AND a positioning context for text spans */
8056
+ .bc-pdf-page-viewer__text-layer {
8057
+ position: absolute;
8058
+ top: 0;
8059
+ left: 0;
8060
+ right: 0;
8061
+ bottom: 0;
8062
+ overflow: hidden;
8063
+ opacity: 0.2;
8064
+ line-height: 1;
8065
+ text-align: initial;
8066
+ forced-color-adjust: none;
8067
+ transform-origin: 0 0;
8068
+ caret-color: CanvasText;
8069
+ }
8070
+
8071
+ .bc-pdf-page-viewer__text-layer :is(span, br) {
8072
+ color: transparent;
8073
+ position: absolute;
8074
+ white-space: pre;
8075
+ cursor: text;
8076
+ transform-origin: 0% 0%;
8077
+ }
8078
+
8079
+ .bc-pdf-page-viewer__text-layer span.markedContent {
8080
+ top: 0;
8081
+ height: 0;
8082
+ }
8083
+
8084
+ .bc-pdf-page-viewer__text-layer .highlight {
8085
+ margin: -1px;
8086
+ padding: 1px;
8087
+ background-color: rgba(180, 0, 170, 1);
8088
+ border-radius: 4px;
8089
+ }
8090
+
8091
+ .bc-pdf-page-viewer__text-layer .highlight.appended {
8092
+ position: initial;
8093
+ }
8094
+
8095
+ .bc-pdf-page-viewer__text-layer .highlight.begin {
8096
+ border-radius: 4px 0 0 4px;
8097
+ }
8098
+
8099
+ .bc-pdf-page-viewer__text-layer .highlight.end {
8100
+ border-radius: 0 4px 4px 0;
8101
+ }
8102
+
8103
+ .bc-pdf-page-viewer__text-layer .highlight.middle {
8104
+ border-radius: 0;
8105
+ }
8106
+
8107
+ .bc-pdf-page-viewer__text-layer .highlight.selected {
8108
+ background-color: rgba(0, 100, 0, 1);
8109
+ }
8110
+
8111
+ .bc-pdf-page-viewer__text-layer ::selection {
8112
+ background: rgba(0, 0, 255, 0.3);
8113
+ }
8114
+
8115
+ .bc-pdf-page-viewer__text-layer br::selection {
8116
+ background: transparent;
8117
+ }
8118
+
8119
+ .bc-pdf-page-viewer__text-layer .endOfContent {
8120
+ display: block;
8121
+ position: absolute;
8122
+ left: 0;
8123
+ top: 100%;
8124
+ right: 0;
8125
+ bottom: 0;
8126
+ z-index: -1;
8127
+ cursor: default;
8128
+ user-select: none;
8129
+ }
8130
+
8131
+ .bc-pdf-page-viewer__text-layer .endOfContent.active {
8132
+ top: 0;
8133
+ }
8134
+
8135
+ /* Annotation layer for links, forms, etc. */
8136
+ .bc-pdf-page-viewer__annotation-layer {
8137
+ position: absolute;
8138
+ top: 0;
8139
+ left: 0;
8140
+ right: 0;
8141
+ bottom: 0;
8142
+ }
8143
+
8144
+ .bc-pdf-page-viewer__annotation-layer section {
8145
+ position: absolute;
8146
+ text-align: initial;
8147
+ pointer-events: auto;
8148
+ }
8149
+
8150
+ .bc-pdf-page-viewer__annotation-layer .linkAnnotation > a,
8151
+ .bc-pdf-page-viewer__annotation-layer .buttonWidgetAnnotation.pushButton > a {
8152
+ position: absolute;
8153
+ font-size: 1em;
8154
+ top: 0;
8155
+ left: 0;
8156
+ width: 100%;
8157
+ height: 100%;
8158
+ }
8159
+
8160
+ .bc-pdf-page-viewer__annotation-layer
8161
+ .buttonWidgetAnnotation.pushButton
8162
+ > canvas {
8163
+ width: 100%;
8164
+ height: 100%;
8165
+ }
8166
+
8167
+ .bc-pdf-page-viewer__annotation-layer .linkAnnotation > a:hover,
8168
+ .bc-pdf-page-viewer__annotation-layer
8169
+ .buttonWidgetAnnotation.pushButton
8170
+ > a:hover {
8171
+ opacity: 0.2;
8172
+ background: rgba(255, 255, 0, 1);
8173
+ box-shadow: 0 2px 10px rgba(255, 255, 0, 1);
8174
+ }
8175
+
8176
+ .bc-pdf-page-viewer__annotation-layer .textAnnotation img {
8177
+ position: absolute;
8178
+ cursor: pointer;
8179
+ width: 100%;
8180
+ height: 100%;
8181
+ }
8182
+
8183
+ .bc-pdf-page-viewer__annotation-layer .textWidgetAnnotation input,
8184
+ .bc-pdf-page-viewer__annotation-layer .textWidgetAnnotation textarea,
8185
+ .bc-pdf-page-viewer__annotation-layer .choiceWidgetAnnotation select,
8186
+ .bc-pdf-page-viewer__annotation-layer .buttonWidgetAnnotation.checkBox input,
8187
+ .bc-pdf-page-viewer__annotation-layer
8188
+ .buttonWidgetAnnotation.radioButton
8189
+ input {
8190
+ background-image: none;
8191
+ border: 1px solid transparent;
8192
+ box-sizing: border-box;
8193
+ font: calc(9px * var(--scale-factor)) sans-serif;
8194
+ height: 100%;
8195
+ margin: 0;
8196
+ vertical-align: top;
8197
+ width: 100%;
8198
+ }
8199
+
8200
+ .bc-pdf-page-viewer__annotation-layer .choiceWidgetAnnotation select option {
8201
+ padding: 0;
8202
+ }
8203
+
8204
+ .bc-pdf-page-viewer__annotation-layer
8205
+ .buttonWidgetAnnotation.radioButton
8206
+ input {
8207
+ border-radius: 50%;
8208
+ }
8209
+
8210
+ .bc-pdf-page-viewer__annotation-layer .textWidgetAnnotation textarea {
8211
+ resize: none;
8212
+ }
8213
+
8214
+ .bc-pdf-page-viewer__annotation-layer .textWidgetAnnotation input[disabled],
8215
+ .bc-pdf-page-viewer__annotation-layer .textWidgetAnnotation textarea[disabled],
8216
+ .bc-pdf-page-viewer__annotation-layer .choiceWidgetAnnotation select[disabled],
8217
+ .bc-pdf-page-viewer__annotation-layer
8218
+ .buttonWidgetAnnotation.checkBox
8219
+ input[disabled],
8220
+ .bc-pdf-page-viewer__annotation-layer
8221
+ .buttonWidgetAnnotation.radioButton
8222
+ input[disabled] {
8223
+ background: none;
8224
+ border: 1px solid transparent;
8225
+ cursor: not-allowed;
8226
+ }
8227
+
8228
+ .bc-pdf-page-viewer__annotation-layer .textWidgetAnnotation input:hover,
8229
+ .bc-pdf-page-viewer__annotation-layer .textWidgetAnnotation textarea:hover,
8230
+ .bc-pdf-page-viewer__annotation-layer .choiceWidgetAnnotation select:hover,
8231
+ .bc-pdf-page-viewer__annotation-layer
8232
+ .buttonWidgetAnnotation.checkBox
8233
+ input:hover,
8234
+ .bc-pdf-page-viewer__annotation-layer
8235
+ .buttonWidgetAnnotation.radioButton
8236
+ input:hover {
8237
+ border: 1px solid rgba(0, 0, 0, 1);
8238
+ }
8239
+
8240
+ .bc-pdf-page-viewer__annotation-layer .textWidgetAnnotation input:focus,
8241
+ .bc-pdf-page-viewer__annotation-layer .textWidgetAnnotation textarea:focus,
8242
+ .bc-pdf-page-viewer__annotation-layer .choiceWidgetAnnotation select:focus {
8243
+ background: none;
8244
+ border: 1px solid transparent;
8245
+ }
8246
+
8247
+ .bc-pdf-page-viewer__annotation-layer
8248
+ .buttonWidgetAnnotation.checkBox
8249
+ :is(input:checked:before, input:checked:after),
8250
+ .bc-pdf-page-viewer__annotation-layer
8251
+ .buttonWidgetAnnotation.radioButton
8252
+ input:checked:before {
8253
+ background-color: CanvasText;
8254
+ content: '';
8255
+ display: block;
8256
+ position: absolute;
8257
+ }
8258
+
8259
+ .bc-pdf-page-viewer__annotation-layer
8260
+ .buttonWidgetAnnotation.checkBox
8261
+ input:checked:before,
8262
+ .bc-pdf-page-viewer__annotation-layer
8263
+ .buttonWidgetAnnotation.checkBox
8264
+ input:checked:after {
8265
+ height: 80%;
8266
+ left: 45%;
8267
+ width: 1px;
8268
+ }
8269
+
8270
+ .bc-pdf-page-viewer__annotation-layer
8271
+ .buttonWidgetAnnotation.checkBox
8272
+ input:checked:before {
8273
+ transform: rotate(45deg);
8274
+ }
8275
+
8276
+ .bc-pdf-page-viewer__annotation-layer
8277
+ .buttonWidgetAnnotation.checkBox
8278
+ input:checked:after {
8279
+ transform: rotate(-45deg);
8280
+ }
8281
+
8282
+ .bc-pdf-page-viewer__annotation-layer
8283
+ .buttonWidgetAnnotation.radioButton
8284
+ input:checked:before {
8285
+ border-radius: 50%;
8286
+ height: 50%;
8287
+ left: 25%;
8288
+ top: 25%;
8289
+ width: 50%;
8290
+ }
8291
+
8292
+ .bc-pdf-page-viewer__annotation-layer .textWidgetAnnotation input.comb {
8293
+ font-family: monospace;
8294
+ padding-left: 2px;
8295
+ padding-right: 0;
8296
+ }
8297
+
8298
+ .bc-pdf-page-viewer__annotation-layer .textWidgetAnnotation input.comb:focus {
8299
+ width: 103%;
8300
+ }
8301
+
8302
+ .bc-pdf-page-viewer__annotation-layer .buttonWidgetAnnotation.checkBox input,
8303
+ .bc-pdf-page-viewer__annotation-layer
8304
+ .buttonWidgetAnnotation.radioButton
8305
+ input {
8306
+ appearance: none;
8307
+ }
8308
+
8309
+ .bc-pdf-page-viewer__annotation-layer .popupTriggerArea {
8310
+ height: 100%;
8311
+ width: 100%;
8312
+ }
8313
+
8314
+ .bc-pdf-page-viewer__annotation-layer .popupWrapper {
8315
+ position: absolute;
8316
+ font-size: calc(9px * var(--scale-factor));
8317
+ width: 100%;
8318
+ min-width: calc(180px * var(--scale-factor));
8319
+ pointer-events: none;
8320
+ }
8321
+
8322
+ .bc-pdf-page-viewer__annotation-layer .popup {
8323
+ position: absolute;
8324
+ max-width: calc(180px * var(--scale-factor));
8325
+ background-color: rgba(255, 255, 153, 1);
8326
+ box-shadow: 0 calc(2px * var(--scale-factor)) calc(5px * var(--scale-factor))
8327
+ rgba(136, 136, 136, 1);
8328
+ border-radius: calc(2px * var(--scale-factor));
8329
+ padding: calc(6px * var(--scale-factor));
8330
+ margin-left: calc(5px * var(--scale-factor));
8331
+ cursor: pointer;
8332
+ font: message-box;
8333
+ white-space: normal;
8334
+ word-wrap: break-word;
8335
+ pointer-events: auto;
8336
+ }
8337
+
8338
+ .bc-pdf-page-viewer__annotation-layer .popup > * {
8339
+ font-size: calc(9px * var(--scale-factor));
8340
+ }
8341
+
8342
+ .bc-pdf-page-viewer__annotation-layer .popup h1 {
8343
+ display: inline-block;
8344
+ }
8345
+
8346
+ .bc-pdf-page-viewer__annotation-layer .popupDate {
8347
+ display: inline-block;
8348
+ margin-left: calc(5px * var(--scale-factor));
8349
+ }
8350
+
8351
+ .bc-pdf-page-viewer__annotation-layer .popupContent {
8352
+ border-top: 1px solid rgba(51, 51, 51, 1);
8353
+ margin-top: calc(2px * var(--scale-factor));
8354
+ padding-top: calc(2px * var(--scale-factor));
8355
+ }
8356
+
8357
+ .bc-pdf-page-viewer__annotation-layer .richText > * {
8358
+ white-space: pre-wrap;
8359
+ font-size: calc(9px * var(--scale-factor));
8360
+ }
8361
+
8362
+ .bc-pdf-page-viewer__annotation-layer .highlightAnnotation,
8363
+ .bc-pdf-page-viewer__annotation-layer .underlineAnnotation,
8364
+ .bc-pdf-page-viewer__annotation-layer .squigglyAnnotation,
8365
+ .bc-pdf-page-viewer__annotation-layer .strikeoutAnnotation,
8366
+ .bc-pdf-page-viewer__annotation-layer .freeTextAnnotation,
8367
+ .bc-pdf-page-viewer__annotation-layer .lineAnnotation svg line,
8368
+ .bc-pdf-page-viewer__annotation-layer .squareAnnotation svg rect,
8369
+ .bc-pdf-page-viewer__annotation-layer .circleAnnotation svg ellipse,
8370
+ .bc-pdf-page-viewer__annotation-layer .polylineAnnotation svg polyline,
8371
+ .bc-pdf-page-viewer__annotation-layer .polygonAnnotation svg polygon,
8372
+ .bc-pdf-page-viewer__annotation-layer .caretAnnotation,
8373
+ .bc-pdf-page-viewer__annotation-layer .inkAnnotation svg polyline,
8374
+ .bc-pdf-page-viewer__annotation-layer .stampAnnotation,
8375
+ .bc-pdf-page-viewer__annotation-layer .fileAttachmentAnnotation {
8376
+ cursor: pointer;
8377
+ }
8378
+
8379
+ /* Loading state */
8380
+ .bc-pdf-page-viewer__loading {
8381
+ display: flex;
8382
+ flex-direction: column;
8383
+ align-items: center;
8384
+ justify-content: center;
8385
+ gap: var(--spacing-md);
8386
+ padding: var(--spacing-xl);
8387
+ }
8388
+
8389
+ .bc-pdf-page-viewer__loading-text {
8390
+ font-size: var(--font-size-md);
8391
+ color: var(--text-muted-light);
8392
+ }
8393
+
8394
+ .b-dark .bc-pdf-page-viewer__loading-text {
8395
+ color: var(--text-muted-dark);
8396
+ }
8397
+
8398
+ /* Error state */
8399
+ .bc-pdf-page-viewer__error {
8400
+ display: flex;
8401
+ flex-direction: column;
8402
+ align-items: center;
8403
+ justify-content: center;
8404
+ gap: var(--spacing-md);
8405
+ padding: var(--spacing-xl);
8406
+ }
8407
+
8408
+ .bc-pdf-page-viewer__error-text {
8409
+ font-size: var(--font-size-md);
8410
+ color: var(--color-danger-600);
8411
+ text-align: center;
8412
+ }
8413
+
8414
+ .b-dark .bc-pdf-page-viewer__error-text {
8415
+ color: var(--color-danger-400);
8416
+ }
8417
+
7995
8418
 
7996
8419
  /* Ribbon component - diagonal label at specified corner */
7997
8420
 
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./translations-DZWe3znu.cjs"),o={loadingExtended:"Lädt, bitte warten",loadingShort:"Lädt...",iconDescription:"Symbol",loadingIcon:"Ladesymbol",locale:"Landesvariante",failedToLoadIcon:"Symbol konnte nicht geladen werden",editLabel:"Bearbeiten",selectOne:"Eines auswählen",selectMany:"Mehrere auswählen",noResults:"Keine Ergebnisse",passwordPlaceholderText:"Geheimes Passwort",togglePasswordVisibility:"Passwort-Sichtbarkeit umschalten",toggleMenu:"Menü umschalten",toggleAside:"Seitenleiste umschalten",mainNavigation:"Hauptnavigation",sidebar:"Seitenleiste",closeDrawer:"Schublade schließen",closeModal:"Modal schließen",confirm:"Bestätigen",cancel:"Abbrechen",addLabel:"Hinzufügen",removeItem:"Element entfernen",currentLocale:"Deutsch",ar:"Arabisch",de:"Deutsch",en:"Englisch",es:"Spanisch",fr:"Französisch",hi:"Hindi",it:"Italienisch",ja:"Japanisch",ko:"Koreanisch",nl:"Niederländisch",pl:"Polnisch",pt:"Portugiesisch",ru:"Russisch",tr:"Türkisch",vi:"Vietnamesisch",zh:"Chinesisch",he:"Hebräisch",fa:"Persisch",ur:"Urdu",emailPlaceholderText:"E-Mail eingeben",incrementValue:"Wert erhöhen",decrementValue:"Wert verringern",dropZoneInstructions:e=>e?"Klicken zum Auswählen oder Dateien hierher ziehen, oder Enter oder Leertaste drücken, um Dateiauswahl zu öffnen":"Dateien hierher ziehen",fileSizeUnits:["Bytes","KB","MB","GB","TB"],removeFile:"Datei entfernen",clearAllFiles:"Alle Dateien löschen",clearValue:"Wert löschen",unknownType:"Unbekannter Typ",filesInputInstructions:(e,i,t)=>{let r=e==null||e>1?"Klicken zum Auswählen oder Dateien hierher ziehen":"Klicken zum Auswählen oder Datei hierher ziehen";if(e||i){const n=[];if(e!=null&&e>1&&n.push(`bis zu ${e} Dateien`),i&&t){const l=s.formatFileSize(i,{units:t});n.push(`max ${l} je Datei`)}n.length>0&&(r+=` (${n.join(", ")})`)}return r},prosemirror:{bold:"Fett",italic:"Kursiv",code:"Inline-Code",link:"Link einfügen",removeLink:"Link entfernen",heading:e=>`Überschrift ${e}`,bulletList:"Aufzählung",orderedList:"Nummerierte Liste",blockquote:"Zitat",codeBlock:"Code-Block",horizontalRule:"Horizontale Linie",linkUrlPlaceholder:"https://beispiel.com"}};exports.default=o;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./translations-t-neYabN.cjs"),s={loadingExtended:"Lädt, bitte warten",loadingShort:"Lädt...",iconDescription:"Symbol",loadingIcon:"Ladesymbol",locale:"Landesvariante",failedToLoadIcon:"Symbol konnte nicht geladen werden",editLabel:"Bearbeiten",selectOne:"Eines auswählen",selectMany:"Mehrere auswählen",noResults:"Keine Ergebnisse",passwordPlaceholderText:"Geheimes Passwort",togglePasswordVisibility:"Passwort-Sichtbarkeit umschalten",toggleMenu:"Menü umschalten",toggleAside:"Seitenleiste umschalten",mainNavigation:"Hauptnavigation",sidebar:"Seitenleiste",closeDrawer:"Schublade schließen",closeModal:"Modal schließen",confirm:"Bestätigen",cancel:"Abbrechen",addLabel:"Hinzufügen",removeItem:"Element entfernen",currentLocale:"Deutsch",ar:"Arabisch",de:"Deutsch",en:"Englisch",es:"Spanisch",fr:"Französisch",hi:"Hindi",it:"Italienisch",ja:"Japanisch",ko:"Koreanisch",nl:"Niederländisch",pl:"Polnisch",pt:"Portugiesisch",ru:"Russisch",tr:"Türkisch",vi:"Vietnamesisch",zh:"Chinesisch",he:"Hebräisch",fa:"Persisch",ur:"Urdu",emailPlaceholderText:"E-Mail eingeben",incrementValue:"Wert erhöhen",decrementValue:"Wert verringern",dropZoneInstructions:e=>e?"Klicken zum Auswählen oder Dateien hierher ziehen, oder Enter oder Leertaste drücken, um Dateiauswahl zu öffnen":"Dateien hierher ziehen",fileSizeUnits:["Bytes","KB","MB","GB","TB"],removeFile:"Datei entfernen",clearAllFiles:"Alle Dateien löschen",clearValue:"Wert löschen",unknownType:"Unbekannter Typ",filesInputInstructions:(e,n,t)=>{let r=e==null||e>1?"Klicken zum Auswählen oder Dateien hierher ziehen":"Klicken zum Auswählen oder Datei hierher ziehen";if(e||n){const i=[];if(e!=null&&e>1&&i.push(`bis zu ${e} Dateien`),n&&t){const l=a.formatFileSize(n,{units:t});i.push(`max ${l} je Datei`)}i.length>0&&(r+=` (${i.join(", ")})`)}return r},prosemirror:{bold:"Fett",italic:"Kursiv",code:"Inline-Code",link:"Link einfügen",removeLink:"Link entfernen",heading:e=>`Überschrift ${e}`,bulletList:"Aufzählung",orderedList:"Nummerierte Liste",blockquote:"Zitat",codeBlock:"Code-Block",horizontalRule:"Horizontale Linie",linkUrlPlaceholder:"https://beispiel.com"},pdfPageViewer:{loading:"PDF wird geladen...",loadFailed:"PDF konnte nicht geladen werden",invalidPdf:"Ungültige PDF-Datei",pageOutOfRange:(e,n)=>`Seite ${e} liegt außerhalb des Bereichs (1-${n})`,renderFailed:"PDF-Seite konnte nicht gerendert werden"}};exports.default=s;
@@ -1,4 +1,4 @@
1
- import { f as l } from "./translations-B3P1v3E6.js";
1
+ import { f as a } from "./translations-Do71ycSR.js";
2
2
  const o = {
3
3
  loadingExtended: "Lädt, bitte warten",
4
4
  loadingShort: "Lädt...",
@@ -57,17 +57,17 @@ const o = {
57
57
  // inputs reset
58
58
  clearValue: "Wert löschen",
59
59
  unknownType: "Unbekannter Typ",
60
- filesInputInstructions: (e, i, t) => {
60
+ filesInputInstructions: (e, n, t) => {
61
61
  let r = e == null || e > 1 ? "Klicken zum Auswählen oder Dateien hierher ziehen" : "Klicken zum Auswählen oder Datei hierher ziehen";
62
- if (e || i) {
63
- const n = [];
64
- if (e != null && e > 1 && n.push(`bis zu ${e} Dateien`), i && t) {
65
- const s = l(i, {
62
+ if (e || n) {
63
+ const i = [];
64
+ if (e != null && e > 1 && i.push(`bis zu ${e} Dateien`), n && t) {
65
+ const l = a(n, {
66
66
  units: t
67
67
  });
68
- n.push(`max ${s} je Datei`);
68
+ i.push(`max ${l} je Datei`);
69
69
  }
70
- n.length > 0 && (r += ` (${n.join(", ")})`);
70
+ i.length > 0 && (r += ` (${i.join(", ")})`);
71
71
  }
72
72
  return r;
73
73
  },
@@ -85,6 +85,14 @@ const o = {
85
85
  codeBlock: "Code-Block",
86
86
  horizontalRule: "Horizontale Linie",
87
87
  linkUrlPlaceholder: "https://beispiel.com"
88
+ },
89
+ // PDF Page Viewer
90
+ pdfPageViewer: {
91
+ loading: "PDF wird geladen...",
92
+ loadFailed: "PDF konnte nicht geladen werden",
93
+ invalidPdf: "Ungültige PDF-Datei",
94
+ pageOutOfRange: (e, n) => `Seite ${e} liegt außerhalb des Bereichs (1-${n})`,
95
+ renderFailed: "PDF-Seite konnte nicht gerendert werden"
88
96
  }
89
97
  };
90
98
  export {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./translations-DZWe3znu.cjs"),t={loadingExtended:"Cargando, por favor espere",loadingShort:"Cargando...",locale:"Idioma",iconDescription:"Icono",loadingIcon:"Icono de carga",failedToLoadIcon:"Error al cargar el icono",editLabel:"Editar",selectOne:"Seleccionar uno",selectMany:"Seleccionar varios",noResults:"Sin resultados",passwordPlaceholderText:"Contraseña Secreta",togglePasswordVisibility:"Alternar visibilidad de contraseña",toggleMenu:"Alternar menú",toggleAside:"Alternar panel lateral",mainNavigation:"Navegación principal",sidebar:"Barra lateral",closeDrawer:"Cerrar cajón",closeModal:"Cerrar modal",confirm:"Confirmar",cancel:"Cancelar",addLabel:"Agregar",removeItem:"Eliminar elemento",currentLocale:"Español",ar:"Árabe",de:"Alemán",en:"Inglés",es:"Español",fr:"Francés",hi:"Hindi",it:"Italiano",ja:"Japonés",ko:"Coreano",nl:"Neerlandés",pl:"Polaco",pt:"Portugués",ru:"Ruso",tr:"Turco",vi:"Vietnamita",zh:"Chino",he:"Hebreo",fa:"Persa",ur:"Urdu",emailPlaceholderText:"Correo electrónico",incrementValue:"Incrementar valor",decrementValue:"Decrementar valor",dropZoneInstructions:a=>a?"Haz clic para elegir o arrastra archivos aquí, o presiona Enter o Espacio para abrir el selector de archivos":"Arrastra archivos aquí",fileSizeUnits:["Bytes","KB","MB","GB","TB"],removeFile:"Eliminar archivo",clearAllFiles:"Borrar todos los archivos",clearValue:"Borrar valor",unknownType:"Tipo desconocido",filesInputInstructions:(a,r,o)=>{let n=a==null||a>1?"Haz clic para elegir o arrastra archivos aquí":"Haz clic para elegir o arrastra un archivo aquí";if(a||r){const e=[];if(a!=null&&a>1&&e.push(`hasta ${a} archivos`),r&&o){const i=l.formatFileSize(r,{units:o});e.push(`máx ${i} cada uno`)}e.length>0&&(n+=` (${e.join(", ")})`)}return n},prosemirror:{bold:"Negrita",italic:"Cursiva",code:"Código en línea",link:"Insertar enlace",removeLink:"Eliminar enlace",heading:a=>`Encabezado ${a}`,bulletList:"Lista con viñetas",orderedList:"Lista numerada",blockquote:"Cita",codeBlock:"Bloque de código",horizontalRule:"Línea horizontal",linkUrlPlaceholder:"https://ejemplo.com"}};exports.default=t;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./translations-t-neYabN.cjs"),t={loadingExtended:"Cargando, por favor espere",loadingShort:"Cargando...",locale:"Idioma",iconDescription:"Icono",loadingIcon:"Icono de carga",failedToLoadIcon:"Error al cargar el icono",editLabel:"Editar",selectOne:"Seleccionar uno",selectMany:"Seleccionar varios",noResults:"Sin resultados",passwordPlaceholderText:"Contraseña Secreta",togglePasswordVisibility:"Alternar visibilidad de contraseña",toggleMenu:"Alternar menú",toggleAside:"Alternar panel lateral",mainNavigation:"Navegación principal",sidebar:"Barra lateral",closeDrawer:"Cerrar cajón",closeModal:"Cerrar modal",confirm:"Confirmar",cancel:"Cancelar",addLabel:"Agregar",removeItem:"Eliminar elemento",currentLocale:"Español",ar:"Árabe",de:"Alemán",en:"Inglés",es:"Español",fr:"Francés",hi:"Hindi",it:"Italiano",ja:"Japonés",ko:"Coreano",nl:"Neerlandés",pl:"Polaco",pt:"Portugués",ru:"Ruso",tr:"Turco",vi:"Vietnamita",zh:"Chino",he:"Hebreo",fa:"Persa",ur:"Urdu",emailPlaceholderText:"Correo electrónico",incrementValue:"Incrementar valor",decrementValue:"Decrementar valor",dropZoneInstructions:a=>a?"Haz clic para elegir o arrastra archivos aquí, o presiona Enter o Espacio para abrir el selector de archivos":"Arrastra archivos aquí",fileSizeUnits:["Bytes","KB","MB","GB","TB"],removeFile:"Eliminar archivo",clearAllFiles:"Borrar todos los archivos",clearValue:"Borrar valor",unknownType:"Tipo desconocido",filesInputInstructions:(a,r,o)=>{let n=a==null||a>1?"Haz clic para elegir o arrastra archivos aquí":"Haz clic para elegir o arrastra un archivo aquí";if(a||r){const e=[];if(a!=null&&a>1&&e.push(`hasta ${a} archivos`),r&&o){const i=l.formatFileSize(r,{units:o});e.push(`máx ${i} cada uno`)}e.length>0&&(n+=` (${e.join(", ")})`)}return n},prosemirror:{bold:"Negrita",italic:"Cursiva",code:"Código en línea",link:"Insertar enlace",removeLink:"Eliminar enlace",heading:a=>`Encabezado ${a}`,bulletList:"Lista con viñetas",orderedList:"Lista numerada",blockquote:"Cita",codeBlock:"Bloque de código",horizontalRule:"Línea horizontal",linkUrlPlaceholder:"https://ejemplo.com"},pdfPageViewer:{loading:"Cargando PDF...",loadFailed:"Error al cargar el PDF",invalidPdf:"Archivo PDF inválido",pageOutOfRange:(a,r)=>`La página ${a} está fuera de rango (1-${r})`,renderFailed:"Error al renderizar la página del PDF"}};exports.default=t;
@@ -1,4 +1,4 @@
1
- import { f as l } from "./translations-B3P1v3E6.js";
1
+ import { f as l } from "./translations-Do71ycSR.js";
2
2
  const c = {
3
3
  loadingExtended: "Cargando, por favor espere",
4
4
  loadingShort: "Cargando...",
@@ -57,17 +57,17 @@ const c = {
57
57
  // inputs reset
58
58
  clearValue: "Borrar valor",
59
59
  unknownType: "Tipo desconocido",
60
- filesInputInstructions: (a, e, o) => {
60
+ filesInputInstructions: (a, r, o) => {
61
61
  let n = a == null || a > 1 ? "Haz clic para elegir o arrastra archivos aquí" : "Haz clic para elegir o arrastra un archivo aquí";
62
- if (a || e) {
63
- const r = [];
64
- if (a != null && a > 1 && r.push(`hasta ${a} archivos`), e && o) {
65
- const i = l(e, {
62
+ if (a || r) {
63
+ const e = [];
64
+ if (a != null && a > 1 && e.push(`hasta ${a} archivos`), r && o) {
65
+ const i = l(r, {
66
66
  units: o
67
67
  });
68
- r.push(`máx ${i} cada uno`);
68
+ e.push(`máx ${i} cada uno`);
69
69
  }
70
- r.length > 0 && (n += ` (${r.join(", ")})`);
70
+ e.length > 0 && (n += ` (${e.join(", ")})`);
71
71
  }
72
72
  return n;
73
73
  },
@@ -85,6 +85,14 @@ const c = {
85
85
  codeBlock: "Bloque de código",
86
86
  horizontalRule: "Línea horizontal",
87
87
  linkUrlPlaceholder: "https://ejemplo.com"
88
+ },
89
+ // PDF Page Viewer
90
+ pdfPageViewer: {
91
+ loading: "Cargando PDF...",
92
+ loadFailed: "Error al cargar el PDF",
93
+ invalidPdf: "Archivo PDF inválido",
94
+ pageOutOfRange: (a, r) => `La página ${a} está fuera de rango (1-${r})`,
95
+ renderFailed: "Error al renderizar la página del PDF"
88
96
  }
89
97
  };
90
98
  export {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./translations-DZWe3znu.cjs"),a={loadingExtended:"در حال بارگذاری، لطفاً صبر کنید",loadingShort:"در حال بارگذاری...",locale:"زبان",iconDescription:"نماد",loadingIcon:"نماد بارگذاری",failedToLoadIcon:"بارگذاری نماد ناموفق بود",editLabel:"ویرایش",selectOne:"یکی را انتخاب کنید",selectMany:"چند مورد را انتخاب کنید",noResults:"بدون نتیجه",passwordPlaceholderText:"رمز عبور محرمانه",togglePasswordVisibility:"نمایش/مخفی کردن رمز عبور",toggleMenu:"نمایش/مخفی کردن منو",toggleAside:"نمایش/مخفی کردن پانل کناری",mainNavigation:"ناوبری اصلی",sidebar:"نوار کناری",closeDrawer:"بستن کشو",closeModal:"بستن پنجره",confirm:"تأیید",cancel:"لغو",addLabel:"افزودن",removeItem:"حذف مورد",currentLocale:"فارسی",ar:"عربی",de:"آلمانی",en:"انگلیسی",es:"اسپانیایی",fr:"فرانسوی",he:"عبری",hi:"هندی",it:"ایتالیایی",ja:"ژاپنی",ko:"کره‌ای",nl:"هلندی",pl:"لهستانی",pt:"پرتغالی",ru:"روسی",tr:"ترکی",vi:"ویتنامی",zh:"چینی",fa:"فارسی",ur:"اردو",emailPlaceholderText:"ایمیل خود را وارد کنید",incrementValue:"افزایش مقدار",decrementValue:"کاهش مقدار",dropZoneInstructions:e=>e?"برای انتخاب کلیک کنید یا فایل‌ها را بکشید، یا Enter یا Space را فشار دهید تا انتخابگر فایل باز شود":"فایل‌ها را بکشید",fileSizeUnits:["بایت","کیلوبایت","مگابایت","گیگابایت","ترابایت"],removeFile:"حذف فایل",clearAllFiles:"حذف همه فایل‌ها",clearValue:"حذف مقدار",unknownType:"نوع ناشناخته",filesInputInstructions:(e,t,l)=>{let n=e==null||e>1?"برای انتخاب کلیک کنید یا فایل‌ها را بکشید":"برای انتخاب کلیک کنید یا فایل را بکشید";if(e||t){const o=[];if(e!=null&&e>1&&o.push(`تا ${e} فایل`),t&&l){const i=r.formatFileSize(t,{units:l});o.push(`حداکثر ${i} هر کدام`)}o.length>0&&(n+=` (${o.join("، ")})`)}return n},prosemirror:{bold:"Bold",italic:"Italic",code:"Code",link:"Link",removeLink:"Remove Link",heading:e=>`Heading ${e}`,bulletList:"Bullet List",orderedList:"Ordered List",blockquote:"Blockquote",codeBlock:"Code Block",horizontalRule:"Horizontal Rule",linkUrlPlaceholder:"https://example.com"}};exports.default=a;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./translations-t-neYabN.cjs"),a={loadingExtended:"در حال بارگذاری، لطفاً صبر کنید",loadingShort:"در حال بارگذاری...",locale:"زبان",iconDescription:"نماد",loadingIcon:"نماد بارگذاری",failedToLoadIcon:"بارگذاری نماد ناموفق بود",editLabel:"ویرایش",selectOne:"یکی را انتخاب کنید",selectMany:"چند مورد را انتخاب کنید",noResults:"بدون نتیجه",passwordPlaceholderText:"رمز عبور محرمانه",togglePasswordVisibility:"نمایش/مخفی کردن رمز عبور",toggleMenu:"نمایش/مخفی کردن منو",toggleAside:"نمایش/مخفی کردن پانل کناری",mainNavigation:"ناوبری اصلی",sidebar:"نوار کناری",closeDrawer:"بستن کشو",closeModal:"بستن پنجره",confirm:"تأیید",cancel:"لغو",addLabel:"افزودن",removeItem:"حذف مورد",currentLocale:"فارسی",ar:"عربی",de:"آلمانی",en:"انگلیسی",es:"اسپانیایی",fr:"فرانسوی",he:"عبری",hi:"هندی",it:"ایتالیایی",ja:"ژاپنی",ko:"کره‌ای",nl:"هلندی",pl:"لهستانی",pt:"پرتغالی",ru:"روسی",tr:"ترکی",vi:"ویتنامی",zh:"چینی",fa:"فارسی",ur:"اردو",emailPlaceholderText:"ایمیل خود را وارد کنید",incrementValue:"افزایش مقدار",decrementValue:"کاهش مقدار",dropZoneInstructions:e=>e?"برای انتخاب کلیک کنید یا فایل‌ها را بکشید، یا Enter یا Space را فشار دهید تا انتخابگر فایل باز شود":"فایل‌ها را بکشید",fileSizeUnits:["بایت","کیلوبایت","مگابایت","گیگابایت","ترابایت"],removeFile:"حذف فایل",clearAllFiles:"حذف همه فایل‌ها",clearValue:"حذف مقدار",unknownType:"نوع ناشناخته",filesInputInstructions:(e,o,t)=>{let n=e==null||e>1?"برای انتخاب کلیک کنید یا فایل‌ها را بکشید":"برای انتخاب کلیک کنید یا فایل را بکشید";if(e||o){const l=[];if(e!=null&&e>1&&l.push(`تا ${e} فایل`),o&&t){const i=r.formatFileSize(o,{units:t});l.push(`حداکثر ${i} هر کدام`)}l.length>0&&(n+=` (${l.join("، ")})`)}return n},prosemirror:{bold:"Bold",italic:"Italic",code:"Code",link:"Link",removeLink:"Remove Link",heading:e=>`Heading ${e}`,bulletList:"Bullet List",orderedList:"Ordered List",blockquote:"Blockquote",codeBlock:"Code Block",horizontalRule:"Horizontal Rule",linkUrlPlaceholder:"https://example.com"},pdfPageViewer:{loading:"Loading PDF...",loadFailed:"Failed to load PDF",invalidPdf:"Invalid PDF file",pageOutOfRange:(e,o)=>`Page ${e} is out of range (1-${o})`,renderFailed:"Failed to render PDF page"}};exports.default=a;
@@ -1,5 +1,5 @@
1
- import { f as r } from "./translations-B3P1v3E6.js";
2
- const c = {
1
+ import { f as a } from "./translations-Do71ycSR.js";
2
+ const d = {
3
3
  loadingExtended: "در حال بارگذاری، لطفاً صبر کنید",
4
4
  loadingShort: "در حال بارگذاری...",
5
5
  locale: "زبان",
@@ -57,19 +57,19 @@ const c = {
57
57
  // inputs reset
58
58
  clearValue: "حذف مقدار",
59
59
  unknownType: "نوع ناشناخته",
60
- filesInputInstructions: (e, l, t) => {
61
- let n = e == null || e > 1 ? "برای انتخاب کلیک کنید یا فایل‌ها را بکشید" : "برای انتخاب کلیک کنید یا فایل را بکشید";
62
- if (e || l) {
63
- const o = [];
64
- if (e != null && e > 1 && o.push(`تا ${e} فایل`), l && t) {
65
- const i = r(l, {
66
- units: t
60
+ filesInputInstructions: (e, o, n) => {
61
+ let t = e == null || e > 1 ? "برای انتخاب کلیک کنید یا فایل‌ها را بکشید" : "برای انتخاب کلیک کنید یا فایل را بکشید";
62
+ if (e || o) {
63
+ const l = [];
64
+ if (e != null && e > 1 && l.push(`تا ${e} فایل`), o && n) {
65
+ const i = a(o, {
66
+ units: n
67
67
  });
68
- o.push(`حداکثر ${i} هر کدام`);
68
+ l.push(`حداکثر ${i} هر کدام`);
69
69
  }
70
- o.length > 0 && (n += ` (${o.join("، ")})`);
70
+ l.length > 0 && (t += ` (${l.join("، ")})`);
71
71
  }
72
- return n;
72
+ return t;
73
73
  },
74
74
  // prosemirror
75
75
  prosemirror: {
@@ -85,8 +85,16 @@ const c = {
85
85
  codeBlock: "Code Block",
86
86
  horizontalRule: "Horizontal Rule",
87
87
  linkUrlPlaceholder: "https://example.com"
88
+ },
89
+ // PDF Page Viewer
90
+ pdfPageViewer: {
91
+ loading: "Loading PDF...",
92
+ loadFailed: "Failed to load PDF",
93
+ invalidPdf: "Invalid PDF file",
94
+ pageOutOfRange: (e, o) => `Page ${e} is out of range (1-${o})`,
95
+ renderFailed: "Failed to render PDF page"
88
96
  }
89
97
  };
90
98
  export {
91
- c as default
99
+ d as default
92
100
  };
@@ -1,4 +1,4 @@
1
- import { f as t } from "./translations-B3P1v3E6.js";
1
+ import { f as o } from "./translations-Do71ycSR.js";
2
2
  const s = {
3
3
  loadingExtended: "Chargement, veuillez patienter",
4
4
  loadingShort: "Chargement...",
@@ -57,17 +57,17 @@ const s = {
57
57
  // inputs reset
58
58
  clearValue: "Réinitialiser",
59
59
  unknownType: "Type inconnu",
60
- filesInputInstructions: (e, r, n) => {
60
+ filesInputInstructions: (e, i, n) => {
61
61
  let l = e == null || e > 1 ? "Cliquez pour choisir ou glissez des fichiers ici" : "Cliquez pour choisir ou glissez un fichier ici";
62
- if (e || r) {
63
- const i = [];
64
- if (e != null && e > 1 && i.push(`jusqu'à ${e} fichiers`), r && n) {
65
- const o = t(r, {
62
+ if (e || i) {
63
+ const r = [];
64
+ if (e != null && e > 1 && r.push(`jusqu'à ${e} fichiers`), i && n) {
65
+ const a = o(i, {
66
66
  units: n
67
67
  });
68
- i.push(`max ${o} chacun`);
68
+ r.push(`max ${a} chacun`);
69
69
  }
70
- i.length > 0 && (l += ` (${i.join(", ")})`);
70
+ r.length > 0 && (l += ` (${r.join(", ")})`);
71
71
  }
72
72
  return l;
73
73
  },
@@ -85,6 +85,14 @@ const s = {
85
85
  codeBlock: "Bloc de code",
86
86
  horizontalRule: "Ligne horizontale",
87
87
  linkUrlPlaceholder: "https://exemple.com"
88
+ },
89
+ // PDF Page Viewer
90
+ pdfPageViewer: {
91
+ loading: "Chargement du PDF...",
92
+ loadFailed: "Échec du chargement du PDF",
93
+ invalidPdf: "Fichier PDF invalide",
94
+ pageOutOfRange: (e, i) => `La page ${e} est hors limites (1-${i})`,
95
+ renderFailed: "Échec du rendu de la page PDF"
88
96
  }
89
97
  };
90
98
  export {