doc-survival-kit 1.1.0 → 2.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.
Potentially problematic release.
This version of doc-survival-kit might be problematic. Click here for more details.
- package/diagram.html +46 -0
- package/diagram.js +550 -116
- package/diagrammes.js +863 -216
- package/images/img_1774709818351.png +0 -0
- package/images/img_1774711114086.png +0 -0
- package/images/img_1774711575731.png +0 -0
- package/images/img_1774712426980.png +0 -0
- package/package.json +1 -1
- package/style.css +79 -18
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "doc-survival-kit",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Dashboard personnel offline : diagrammes, tâches, notes et liens dans un seul fichier HTML — fonctionne sans serveur via file://",
|
|
5
5
|
"bin": {
|
|
6
6
|
"doc-survival-kit": "./bin/cli.js"
|
package/style.css
CHANGED
|
@@ -1113,6 +1113,16 @@ section.collapsed .links {
|
|
|
1113
1113
|
color: #fff;
|
|
1114
1114
|
border-color: #292524;
|
|
1115
1115
|
}
|
|
1116
|
+
.diagram-back-btn {
|
|
1117
|
+
color: #f97316;
|
|
1118
|
+
border-color: #fed7aa;
|
|
1119
|
+
background: #fff7ed;
|
|
1120
|
+
}
|
|
1121
|
+
.diagram-back-btn:hover {
|
|
1122
|
+
background: #f97316 !important;
|
|
1123
|
+
color: #fff !important;
|
|
1124
|
+
border-color: #f97316 !important;
|
|
1125
|
+
}
|
|
1116
1126
|
.diagram-sep {
|
|
1117
1127
|
color: #d6d3d1;
|
|
1118
1128
|
font-size: 1rem;
|
|
@@ -1228,7 +1238,7 @@ section.collapsed .links {
|
|
|
1228
1238
|
.diagram-list-panel {
|
|
1229
1239
|
position: fixed;
|
|
1230
1240
|
top: 48px;
|
|
1231
|
-
left:
|
|
1241
|
+
left: 0;
|
|
1232
1242
|
width: 220px;
|
|
1233
1243
|
height: calc(100vh - 48px);
|
|
1234
1244
|
background: #fff;
|
|
@@ -1236,11 +1246,12 @@ section.collapsed .links {
|
|
|
1236
1246
|
z-index: 15;
|
|
1237
1247
|
display: flex;
|
|
1238
1248
|
flex-direction: column;
|
|
1239
|
-
|
|
1249
|
+
transform: translateX(calc(-100% - 20px));
|
|
1250
|
+
transition: transform 0.2s ease, width 0.2s ease;
|
|
1240
1251
|
box-shadow: 3px 0 10px rgba(0, 0, 0, 0.06);
|
|
1241
1252
|
}
|
|
1242
1253
|
.diagram-list-panel.open {
|
|
1243
|
-
|
|
1254
|
+
transform: translateX(0);
|
|
1244
1255
|
}
|
|
1245
1256
|
.diagram-list-header {
|
|
1246
1257
|
display: flex;
|
|
@@ -1294,27 +1305,48 @@ section.collapsed .links {
|
|
|
1294
1305
|
.diagram-list-item.active {
|
|
1295
1306
|
background: #fff7ed;
|
|
1296
1307
|
}
|
|
1297
|
-
.diagram-list-
|
|
1298
|
-
|
|
1308
|
+
.diagram-list-grip {
|
|
1309
|
+
display: none;
|
|
1299
1310
|
}
|
|
1300
|
-
.diagram-list-
|
|
1301
|
-
|
|
1302
|
-
background: #fff7ed;
|
|
1311
|
+
.diagram-list-group {
|
|
1312
|
+
display: block;
|
|
1303
1313
|
}
|
|
1304
|
-
.diagram-list-
|
|
1305
|
-
|
|
1306
|
-
background: #fff7ed;
|
|
1314
|
+
.diagram-list-children {
|
|
1315
|
+
display: block;
|
|
1307
1316
|
}
|
|
1308
|
-
.diagram-list-
|
|
1309
|
-
font-size: 0.
|
|
1310
|
-
color: #
|
|
1311
|
-
cursor:
|
|
1317
|
+
.diagram-list-expand {
|
|
1318
|
+
font-size: 0.65rem;
|
|
1319
|
+
color: #a8a29e;
|
|
1320
|
+
cursor: pointer;
|
|
1312
1321
|
flex-shrink: 0;
|
|
1313
1322
|
user-select: none;
|
|
1314
|
-
|
|
1323
|
+
width: 1em;
|
|
1324
|
+
text-align: center;
|
|
1325
|
+
transition: color 0.1s;
|
|
1315
1326
|
}
|
|
1316
|
-
.diagram-list-
|
|
1317
|
-
|
|
1327
|
+
.diagram-list-expand:hover {
|
|
1328
|
+
color: #292524;
|
|
1329
|
+
}
|
|
1330
|
+
.diagram-list-add {
|
|
1331
|
+
opacity: 0;
|
|
1332
|
+
font-size: 0.85rem;
|
|
1333
|
+
padding: 1px 5px;
|
|
1334
|
+
border-radius: 4px;
|
|
1335
|
+
color: #f97316;
|
|
1336
|
+
background: #fff7ed;
|
|
1337
|
+
cursor: pointer;
|
|
1338
|
+
border: none;
|
|
1339
|
+
flex-shrink: 0;
|
|
1340
|
+
transition: opacity 0.1s, background 0.1s;
|
|
1341
|
+
font-weight: 600;
|
|
1342
|
+
line-height: 1.4;
|
|
1343
|
+
}
|
|
1344
|
+
.diagram-list-item:hover .diagram-list-add {
|
|
1345
|
+
opacity: 1;
|
|
1346
|
+
}
|
|
1347
|
+
.diagram-list-add:hover {
|
|
1348
|
+
background: #f97316;
|
|
1349
|
+
color: #fff;
|
|
1318
1350
|
}
|
|
1319
1351
|
.diagram-list-name {
|
|
1320
1352
|
font-size: 0.8rem;
|
|
@@ -1343,6 +1375,31 @@ section.collapsed .links {
|
|
|
1343
1375
|
background: #ef4444;
|
|
1344
1376
|
color: #fff;
|
|
1345
1377
|
}
|
|
1378
|
+
.link-picker-item {
|
|
1379
|
+
padding: 8px 14px;
|
|
1380
|
+
font-size: 0.82rem;
|
|
1381
|
+
color: #292524;
|
|
1382
|
+
cursor: pointer;
|
|
1383
|
+
transition: background 0.1s;
|
|
1384
|
+
white-space: nowrap;
|
|
1385
|
+
overflow: hidden;
|
|
1386
|
+
text-overflow: ellipsis;
|
|
1387
|
+
}
|
|
1388
|
+
.link-picker-item:hover {
|
|
1389
|
+
background: #f5f5f4;
|
|
1390
|
+
}
|
|
1391
|
+
.link-picker-new {
|
|
1392
|
+
padding: 8px 14px;
|
|
1393
|
+
font-size: 0.82rem;
|
|
1394
|
+
color: #f97316;
|
|
1395
|
+
cursor: pointer;
|
|
1396
|
+
font-weight: 600;
|
|
1397
|
+
border-top: 1px solid #e7e5e4;
|
|
1398
|
+
transition: background 0.1s;
|
|
1399
|
+
}
|
|
1400
|
+
.link-picker-new:hover {
|
|
1401
|
+
background: #fff7ed;
|
|
1402
|
+
}
|
|
1346
1403
|
|
|
1347
1404
|
/* ── Palette de couleurs ── */
|
|
1348
1405
|
.diagram-color-panel {
|
|
@@ -1389,6 +1446,10 @@ section.collapsed .links {
|
|
|
1389
1446
|
.color-dot.t-teal {
|
|
1390
1447
|
background: #0d9488;
|
|
1391
1448
|
}
|
|
1449
|
+
.color-dot.t-white {
|
|
1450
|
+
background: #fff;
|
|
1451
|
+
border: 1.5px solid #d4d4d4;
|
|
1452
|
+
}
|
|
1392
1453
|
.diagram-color-edit {
|
|
1393
1454
|
font-size: 1rem;
|
|
1394
1455
|
width: 24px;
|