rita-workspace 0.5.39 → 0.5.42
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/index.js +36 -23
- package/dist/index.mjs +36 -23
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2418,28 +2418,6 @@ var DrawingsDialog = ({
|
|
|
2418
2418
|
]
|
|
2419
2419
|
}
|
|
2420
2420
|
),
|
|
2421
|
-
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
|
|
2422
|
-
"div",
|
|
2423
|
-
{
|
|
2424
|
-
style: {
|
|
2425
|
-
padding: "8px 20px",
|
|
2426
|
-
backgroundColor: "#fff3cd",
|
|
2427
|
-
color: "#856404",
|
|
2428
|
-
fontSize: "12px",
|
|
2429
|
-
borderBottom: "1px solid #ffc107",
|
|
2430
|
-
display: "flex",
|
|
2431
|
-
alignItems: "center",
|
|
2432
|
-
gap: "8px"
|
|
2433
|
-
},
|
|
2434
|
-
children: [
|
|
2435
|
-
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { children: "\u26A0\uFE0F" }),
|
|
2436
|
-
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("span", { children: [
|
|
2437
|
-
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("strong", { children: "Beta:" }),
|
|
2438
|
-
' Arbetsyta \xE4r under utveckling. Ta regelbundet backup via "Spara alla ritningar".'
|
|
2439
|
-
] })
|
|
2440
|
-
]
|
|
2441
|
-
}
|
|
2442
|
-
),
|
|
2443
2421
|
drawings.length > 3 && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { style: { padding: "8px 20px", borderBottom: "1px solid var(--default-border-color, #e0e0e0)" }, children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
2444
2422
|
"input",
|
|
2445
2423
|
{
|
|
@@ -2594,7 +2572,42 @@ var DrawingsDialog = ({
|
|
|
2594
2572
|
)
|
|
2595
2573
|
] }),
|
|
2596
2574
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { style: sectionHeaderStyle, children: t.sectionWorkspace }),
|
|
2597
|
-
daysSinceBackup !== null && daysSinceBackup >= 7 && /* @__PURE__ */ (0, import_jsx_runtime6.
|
|
2575
|
+
daysSinceBackup !== null && daysSinceBackup >= 7 && /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
|
|
2576
|
+
"div",
|
|
2577
|
+
{
|
|
2578
|
+
style: {
|
|
2579
|
+
margin: "0 20px 12px",
|
|
2580
|
+
padding: "10px 14px",
|
|
2581
|
+
backgroundColor: daysSinceBackup >= 30 ? "#f8d7da" : "#fff3cd",
|
|
2582
|
+
color: daysSinceBackup >= 30 ? "#721c24" : "#856404",
|
|
2583
|
+
fontSize: "13px",
|
|
2584
|
+
fontWeight: 500,
|
|
2585
|
+
border: `1px solid ${daysSinceBackup >= 30 ? "#dc3545" : "#ffc107"}`,
|
|
2586
|
+
borderRadius: "6px",
|
|
2587
|
+
display: "flex",
|
|
2588
|
+
alignItems: "center",
|
|
2589
|
+
gap: "8px"
|
|
2590
|
+
},
|
|
2591
|
+
children: [
|
|
2592
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { style: { fontSize: "16px" }, children: daysSinceBackup >= 30 ? "\u{1F6A8}" : "\u26A0\uFE0F" }),
|
|
2593
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { children: daysSinceBackup >= 999 ? /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
|
|
2594
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("strong", { children: "Ingen backup gjord \xE4nnu." }),
|
|
2595
|
+
' Klicka "Spara alla ritningar" nedan f\xF6r att ladda ner en kopia.'
|
|
2596
|
+
] }) : daysSinceBackup >= 30 ? /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
|
|
2597
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("strong", { children: [
|
|
2598
|
+
"Ingen backup p\xE5 ",
|
|
2599
|
+
daysSinceBackup,
|
|
2600
|
+
" dagar."
|
|
2601
|
+
] }),
|
|
2602
|
+
" Det \xE4r dags att spara en kopia av dina ritningar."
|
|
2603
|
+
] }) : /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
|
|
2604
|
+
"Senaste backup f\xF6r ",
|
|
2605
|
+
daysSinceBackup,
|
|
2606
|
+
" dagar sedan. \xD6verv\xE4g att spara en ny."
|
|
2607
|
+
] }) })
|
|
2608
|
+
]
|
|
2609
|
+
}
|
|
2610
|
+
),
|
|
2598
2611
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { style: { padding: "0 20px 16px", display: "flex", gap: "8px" }, children: [
|
|
2599
2612
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
2600
2613
|
ActionButton,
|
package/dist/index.mjs
CHANGED
|
@@ -2346,28 +2346,6 @@ var DrawingsDialog = ({
|
|
|
2346
2346
|
]
|
|
2347
2347
|
}
|
|
2348
2348
|
),
|
|
2349
|
-
/* @__PURE__ */ jsxs4(
|
|
2350
|
-
"div",
|
|
2351
|
-
{
|
|
2352
|
-
style: {
|
|
2353
|
-
padding: "8px 20px",
|
|
2354
|
-
backgroundColor: "#fff3cd",
|
|
2355
|
-
color: "#856404",
|
|
2356
|
-
fontSize: "12px",
|
|
2357
|
-
borderBottom: "1px solid #ffc107",
|
|
2358
|
-
display: "flex",
|
|
2359
|
-
alignItems: "center",
|
|
2360
|
-
gap: "8px"
|
|
2361
|
-
},
|
|
2362
|
-
children: [
|
|
2363
|
-
/* @__PURE__ */ jsx6("span", { children: "\u26A0\uFE0F" }),
|
|
2364
|
-
/* @__PURE__ */ jsxs4("span", { children: [
|
|
2365
|
-
/* @__PURE__ */ jsx6("strong", { children: "Beta:" }),
|
|
2366
|
-
' Arbetsyta \xE4r under utveckling. Ta regelbundet backup via "Spara alla ritningar".'
|
|
2367
|
-
] })
|
|
2368
|
-
]
|
|
2369
|
-
}
|
|
2370
|
-
),
|
|
2371
2349
|
drawings.length > 3 && /* @__PURE__ */ jsx6("div", { style: { padding: "8px 20px", borderBottom: "1px solid var(--default-border-color, #e0e0e0)" }, children: /* @__PURE__ */ jsx6(
|
|
2372
2350
|
"input",
|
|
2373
2351
|
{
|
|
@@ -2522,7 +2500,42 @@ var DrawingsDialog = ({
|
|
|
2522
2500
|
)
|
|
2523
2501
|
] }),
|
|
2524
2502
|
/* @__PURE__ */ jsx6("div", { style: sectionHeaderStyle, children: t.sectionWorkspace }),
|
|
2525
|
-
daysSinceBackup !== null && daysSinceBackup >= 7 && /* @__PURE__ */
|
|
2503
|
+
daysSinceBackup !== null && daysSinceBackup >= 7 && /* @__PURE__ */ jsxs4(
|
|
2504
|
+
"div",
|
|
2505
|
+
{
|
|
2506
|
+
style: {
|
|
2507
|
+
margin: "0 20px 12px",
|
|
2508
|
+
padding: "10px 14px",
|
|
2509
|
+
backgroundColor: daysSinceBackup >= 30 ? "#f8d7da" : "#fff3cd",
|
|
2510
|
+
color: daysSinceBackup >= 30 ? "#721c24" : "#856404",
|
|
2511
|
+
fontSize: "13px",
|
|
2512
|
+
fontWeight: 500,
|
|
2513
|
+
border: `1px solid ${daysSinceBackup >= 30 ? "#dc3545" : "#ffc107"}`,
|
|
2514
|
+
borderRadius: "6px",
|
|
2515
|
+
display: "flex",
|
|
2516
|
+
alignItems: "center",
|
|
2517
|
+
gap: "8px"
|
|
2518
|
+
},
|
|
2519
|
+
children: [
|
|
2520
|
+
/* @__PURE__ */ jsx6("span", { style: { fontSize: "16px" }, children: daysSinceBackup >= 30 ? "\u{1F6A8}" : "\u26A0\uFE0F" }),
|
|
2521
|
+
/* @__PURE__ */ jsx6("span", { children: daysSinceBackup >= 999 ? /* @__PURE__ */ jsxs4(Fragment3, { children: [
|
|
2522
|
+
/* @__PURE__ */ jsx6("strong", { children: "Ingen backup gjord \xE4nnu." }),
|
|
2523
|
+
' Klicka "Spara alla ritningar" nedan f\xF6r att ladda ner en kopia.'
|
|
2524
|
+
] }) : daysSinceBackup >= 30 ? /* @__PURE__ */ jsxs4(Fragment3, { children: [
|
|
2525
|
+
/* @__PURE__ */ jsxs4("strong", { children: [
|
|
2526
|
+
"Ingen backup p\xE5 ",
|
|
2527
|
+
daysSinceBackup,
|
|
2528
|
+
" dagar."
|
|
2529
|
+
] }),
|
|
2530
|
+
" Det \xE4r dags att spara en kopia av dina ritningar."
|
|
2531
|
+
] }) : /* @__PURE__ */ jsxs4(Fragment3, { children: [
|
|
2532
|
+
"Senaste backup f\xF6r ",
|
|
2533
|
+
daysSinceBackup,
|
|
2534
|
+
" dagar sedan. \xD6verv\xE4g att spara en ny."
|
|
2535
|
+
] }) })
|
|
2536
|
+
]
|
|
2537
|
+
}
|
|
2538
|
+
),
|
|
2526
2539
|
/* @__PURE__ */ jsxs4("div", { style: { padding: "0 20px 16px", display: "flex", gap: "8px" }, children: [
|
|
2527
2540
|
/* @__PURE__ */ jsx6(
|
|
2528
2541
|
ActionButton,
|