hyperclayjs 1.1.2 → 1.3.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/README.md +44 -59
- package/communication/behaviorCollector.js +8 -1
- package/communication/sendMessage.js +8 -2
- package/communication/uploadFile.js +8 -2
- package/core/adminSystem.js +3 -0
- package/core/autosave.js +95 -0
- package/core/editmodeSystem.js +10 -8
- package/core/enablePersistentFormInputValues.js +8 -1
- package/core/optionVisibilityRuleGenerator.js +9 -1
- package/core/savePage.js +28 -71
- package/core/savePageCore.js +7 -14
- package/custom-attributes/ajaxElements.js +4 -0
- package/custom-attributes/domHelpers.js +9 -0
- package/custom-attributes/events.js +3 -0
- package/custom-attributes/inputHelpers.js +3 -0
- package/custom-attributes/sortable.js +9 -1
- package/dom-utilities/All.js +4 -7
- package/dom-utilities/getDataFromForm.js +9 -2
- package/dom-utilities/insertStyleTag.js +9 -2
- package/dom-utilities/onDomReady.js +8 -2
- package/dom-utilities/onLoad.js +8 -2
- package/hyperclay.js +109 -673
- package/module-dependency-graph.json +193 -137
- package/package.json +3 -3
- package/string-utilities/copy-to-clipboard.js +3 -7
- package/string-utilities/emmet-html.js +8 -2
- package/string-utilities/query.js +8 -1
- package/string-utilities/slugify.js +4 -7
- package/ui/info.js +9 -1
- package/ui/prompts.js +19 -12
- package/ui/theModal.js +4 -4
- package/ui/toast-hyperclay.js +21 -0
- package/ui/toast.js +4 -7
- package/utilities/cookie.js +4 -7
- package/utilities/debounce.js +10 -4
- package/utilities/mutation.js +5 -0
- package/utilities/nearest.js +6 -1
- package/utilities/throttle.js +8 -2
- package/vendor/idiomorph.min.js +9 -1
- package/README.template.md +0 -276
|
@@ -47,11 +47,13 @@
|
|
|
47
47
|
"core/adminOnClick.js",
|
|
48
48
|
"core/adminResources.js"
|
|
49
49
|
],
|
|
50
|
+
"core/autosave.js": [],
|
|
50
51
|
"core/editmode.js": [
|
|
51
52
|
"core/isAdminOfCurrentResource.js"
|
|
52
53
|
],
|
|
53
54
|
"core/editmodeSystem.js": [
|
|
54
55
|
"core/editmode.js",
|
|
56
|
+
"core/isAdminOfCurrentResource.js",
|
|
55
57
|
"core/setPageTypeOnDocumentElement.js"
|
|
56
58
|
],
|
|
57
59
|
"core/enablePersistentFormInputValues.js": [
|
|
@@ -64,13 +66,7 @@
|
|
|
64
66
|
"core/optionVisibilityRuleGenerator.js": [
|
|
65
67
|
"utilities/mutation.js"
|
|
66
68
|
],
|
|
67
|
-
"core/savePage.js": [
|
|
68
|
-
"core/isAdminOfCurrentResource.js",
|
|
69
|
-
"core/savePageCore.js",
|
|
70
|
-
"ui/toast.js",
|
|
71
|
-
"utilities/mutation.js",
|
|
72
|
-
"utilities/throttle.js"
|
|
73
|
-
],
|
|
69
|
+
"core/savePage.js": [],
|
|
74
70
|
"core/savePageCore.js": [
|
|
75
71
|
"core/isAdminOfCurrentResource.js",
|
|
76
72
|
"utilities/cookie.js"
|
|
@@ -134,10 +130,14 @@
|
|
|
134
130
|
"ui/prompts.js": [
|
|
135
131
|
"dom-utilities/onDomReady.js",
|
|
136
132
|
"string-utilities/copy-to-clipboard.js",
|
|
133
|
+
"ui/info.js",
|
|
137
134
|
"ui/theModal.js",
|
|
138
135
|
"ui/toast.js"
|
|
139
136
|
],
|
|
140
137
|
"ui/theModal.js": [],
|
|
138
|
+
"ui/toast-hyperclay.js": [
|
|
139
|
+
"ui/toast.js"
|
|
140
|
+
],
|
|
141
141
|
"ui/toast.js": [],
|
|
142
142
|
"utilities/cookie.js": [],
|
|
143
143
|
"utilities/debounce.js": [],
|
|
@@ -153,9 +153,9 @@
|
|
|
153
153
|
},
|
|
154
154
|
"modules": {
|
|
155
155
|
"save-core": {
|
|
156
|
-
"name": "
|
|
156
|
+
"name": "save-core",
|
|
157
157
|
"category": "core",
|
|
158
|
-
"size": 5.
|
|
158
|
+
"size": 5.8,
|
|
159
159
|
"files": [
|
|
160
160
|
"core/savePageCore.js"
|
|
161
161
|
],
|
|
@@ -166,14 +166,14 @@
|
|
|
166
166
|
]
|
|
167
167
|
}
|
|
168
168
|
},
|
|
169
|
-
"save": {
|
|
170
|
-
"name": "
|
|
169
|
+
"save-system": {
|
|
170
|
+
"name": "save-system",
|
|
171
171
|
"category": "core",
|
|
172
|
-
"size": 4.
|
|
172
|
+
"size": 4.1,
|
|
173
173
|
"files": [
|
|
174
174
|
"core/savePage.js"
|
|
175
175
|
],
|
|
176
|
-
"description": "
|
|
176
|
+
"description": "Manual save: keyboard shortcut (CMD+S), save button, change tracking",
|
|
177
177
|
"exports": {
|
|
178
178
|
"beforeSave": [
|
|
179
179
|
"hyperclay"
|
|
@@ -189,6 +189,20 @@
|
|
|
189
189
|
],
|
|
190
190
|
"initSaveKeyboardShortcut": [
|
|
191
191
|
"hyperclay"
|
|
192
|
+
]
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
"autosave": {
|
|
196
|
+
"name": "autosave",
|
|
197
|
+
"category": "core",
|
|
198
|
+
"size": 2.4,
|
|
199
|
+
"files": [
|
|
200
|
+
"core/autosave.js"
|
|
201
|
+
],
|
|
202
|
+
"description": "Auto-save on DOM changes, unsaved changes warning",
|
|
203
|
+
"exports": {
|
|
204
|
+
"savePageThrottled": [
|
|
205
|
+
"hyperclay"
|
|
192
206
|
],
|
|
193
207
|
"initSavePageOnChange": [
|
|
194
208
|
"hyperclay"
|
|
@@ -196,9 +210,9 @@
|
|
|
196
210
|
}
|
|
197
211
|
},
|
|
198
212
|
"admin": {
|
|
199
|
-
"name": "
|
|
213
|
+
"name": "admin",
|
|
200
214
|
"category": "core",
|
|
201
|
-
"size": 5.
|
|
215
|
+
"size": 5.4,
|
|
202
216
|
"files": [
|
|
203
217
|
"core/adminSystem.js",
|
|
204
218
|
"core/adminContenteditable.js",
|
|
@@ -210,9 +224,9 @@
|
|
|
210
224
|
"exports": {}
|
|
211
225
|
},
|
|
212
226
|
"persist": {
|
|
213
|
-
"name": "
|
|
227
|
+
"name": "persist",
|
|
214
228
|
"category": "core",
|
|
215
|
-
"size": 2.
|
|
229
|
+
"size": 2.4,
|
|
216
230
|
"files": [
|
|
217
231
|
"core/enablePersistentFormInputValues.js"
|
|
218
232
|
],
|
|
@@ -223,14 +237,14 @@
|
|
|
223
237
|
]
|
|
224
238
|
}
|
|
225
239
|
},
|
|
226
|
-
"
|
|
227
|
-
"name": "
|
|
240
|
+
"option-visibility": {
|
|
241
|
+
"name": "option-visibility",
|
|
228
242
|
"category": "core",
|
|
229
|
-
"size": 4.
|
|
243
|
+
"size": 4.7,
|
|
230
244
|
"files": [
|
|
231
245
|
"core/optionVisibilityRuleGenerator.js"
|
|
232
246
|
],
|
|
233
|
-
"description": "Dynamic show/hide based on
|
|
247
|
+
"description": "Dynamic show/hide based on ancestor state with option:attribute=\"value\"",
|
|
234
248
|
"exports": {
|
|
235
249
|
"optionVisibilityRuleGenerator": [
|
|
236
250
|
"window",
|
|
@@ -238,10 +252,10 @@
|
|
|
238
252
|
]
|
|
239
253
|
}
|
|
240
254
|
},
|
|
241
|
-
"
|
|
242
|
-
"name": "
|
|
255
|
+
"edit-mode": {
|
|
256
|
+
"name": "edit-mode",
|
|
243
257
|
"category": "core",
|
|
244
|
-
"size": 1.
|
|
258
|
+
"size": 1.7,
|
|
245
259
|
"files": [
|
|
246
260
|
"core/editmodeSystem.js",
|
|
247
261
|
"core/editmode.js",
|
|
@@ -260,10 +274,10 @@
|
|
|
260
274
|
]
|
|
261
275
|
}
|
|
262
276
|
},
|
|
263
|
-
"
|
|
264
|
-
"name": "
|
|
277
|
+
"event-attrs": {
|
|
278
|
+
"name": "event-attrs",
|
|
265
279
|
"category": "custom-attributes",
|
|
266
|
-
"size": 3.
|
|
280
|
+
"size": 3.6000000000000005,
|
|
267
281
|
"files": [
|
|
268
282
|
"custom-attributes/events.js",
|
|
269
283
|
"custom-attributes/onclickaway.js",
|
|
@@ -274,10 +288,10 @@
|
|
|
274
288
|
"description": "[onclickaway], [onclone], [onpagemutation], [onrender]",
|
|
275
289
|
"exports": {}
|
|
276
290
|
},
|
|
277
|
-
"ajax": {
|
|
278
|
-
"name": "
|
|
291
|
+
"ajax-elements": {
|
|
292
|
+
"name": "ajax-elements",
|
|
279
293
|
"category": "custom-attributes",
|
|
280
|
-
"size": 2.
|
|
294
|
+
"size": 2.8,
|
|
281
295
|
"files": [
|
|
282
296
|
"custom-attributes/ajaxElements.js"
|
|
283
297
|
],
|
|
@@ -285,9 +299,9 @@
|
|
|
285
299
|
"exports": {}
|
|
286
300
|
},
|
|
287
301
|
"sortable": {
|
|
288
|
-
"name": "
|
|
302
|
+
"name": "sortable",
|
|
289
303
|
"category": "custom-attributes",
|
|
290
|
-
"size":
|
|
304
|
+
"size": 118.1,
|
|
291
305
|
"files": [
|
|
292
306
|
"custom-attributes/sortable.js",
|
|
293
307
|
"vendor/Sortable.js"
|
|
@@ -300,10 +314,10 @@
|
|
|
300
314
|
]
|
|
301
315
|
}
|
|
302
316
|
},
|
|
303
|
-
"helpers": {
|
|
304
|
-
"name": "
|
|
317
|
+
"dom-helpers": {
|
|
318
|
+
"name": "dom-helpers",
|
|
305
319
|
"category": "custom-attributes",
|
|
306
|
-
"size": 5.
|
|
320
|
+
"size": 5.6,
|
|
307
321
|
"files": [
|
|
308
322
|
"custom-attributes/domHelpers.js"
|
|
309
323
|
],
|
|
@@ -315,8 +329,8 @@
|
|
|
315
329
|
]
|
|
316
330
|
}
|
|
317
331
|
},
|
|
318
|
-
"
|
|
319
|
-
"name": "
|
|
332
|
+
"input-helpers": {
|
|
333
|
+
"name": "input-helpers",
|
|
320
334
|
"category": "custom-attributes",
|
|
321
335
|
"size": 1.2,
|
|
322
336
|
"files": [
|
|
@@ -327,14 +341,15 @@
|
|
|
327
341
|
"description": "[prevent-enter], [autosize] for textareas",
|
|
328
342
|
"exports": {}
|
|
329
343
|
},
|
|
330
|
-
"
|
|
331
|
-
"name": "
|
|
344
|
+
"dialogs": {
|
|
345
|
+
"name": "dialogs",
|
|
332
346
|
"category": "ui",
|
|
333
|
-
"size":
|
|
347
|
+
"size": 11.2,
|
|
334
348
|
"files": [
|
|
335
|
-
"ui/prompts.js"
|
|
349
|
+
"ui/prompts.js",
|
|
350
|
+
"ui/info.js"
|
|
336
351
|
],
|
|
337
|
-
"description": "ask(), consent(), tell(), snippet() functions",
|
|
352
|
+
"description": "ask(), consent(), tell(), info(), snippet() functions",
|
|
338
353
|
"exports": {
|
|
339
354
|
"ask": [
|
|
340
355
|
"window",
|
|
@@ -348,6 +363,10 @@
|
|
|
348
363
|
"window",
|
|
349
364
|
"hyperclay"
|
|
350
365
|
],
|
|
366
|
+
"info": [
|
|
367
|
+
"window",
|
|
368
|
+
"hyperclay"
|
|
369
|
+
],
|
|
351
370
|
"snippet": [
|
|
352
371
|
"hyperclay"
|
|
353
372
|
],
|
|
@@ -357,7 +376,7 @@
|
|
|
357
376
|
}
|
|
358
377
|
},
|
|
359
378
|
"toast": {
|
|
360
|
-
"name": "
|
|
379
|
+
"name": "toast",
|
|
361
380
|
"category": "ui",
|
|
362
381
|
"size": 7.3,
|
|
363
382
|
"files": [
|
|
@@ -371,50 +390,51 @@
|
|
|
371
390
|
]
|
|
372
391
|
}
|
|
373
392
|
},
|
|
374
|
-
"
|
|
375
|
-
"name": "
|
|
393
|
+
"toast-hyperclay": {
|
|
394
|
+
"name": "toast-hyperclay",
|
|
376
395
|
"category": "ui",
|
|
377
|
-
"size":
|
|
396
|
+
"size": 7.8999999999999995,
|
|
378
397
|
"files": [
|
|
379
|
-
"ui/
|
|
398
|
+
"ui/toast-hyperclay.js",
|
|
399
|
+
"ui/toast.js"
|
|
380
400
|
],
|
|
381
|
-
"description": "
|
|
401
|
+
"description": "Toast with legacy Hyperclay platform styling (hidden feature)",
|
|
382
402
|
"exports": {
|
|
383
|
-
"
|
|
403
|
+
"toast": [
|
|
384
404
|
"window",
|
|
385
405
|
"hyperclay"
|
|
386
406
|
]
|
|
387
407
|
}
|
|
388
408
|
},
|
|
389
|
-
"
|
|
390
|
-
"name": "
|
|
409
|
+
"modal": {
|
|
410
|
+
"name": "modal",
|
|
391
411
|
"category": "ui",
|
|
392
|
-
"size":
|
|
412
|
+
"size": 18.5,
|
|
393
413
|
"files": [
|
|
394
|
-
"ui/
|
|
414
|
+
"ui/theModal.js"
|
|
395
415
|
],
|
|
396
|
-
"description": "
|
|
416
|
+
"description": "Full modal window creation system - window.theModal",
|
|
397
417
|
"exports": {
|
|
398
|
-
"
|
|
418
|
+
"themodal": [
|
|
399
419
|
"window",
|
|
400
420
|
"hyperclay"
|
|
401
421
|
]
|
|
402
422
|
}
|
|
403
423
|
},
|
|
404
424
|
"tailwind-play": {
|
|
405
|
-
"name": "
|
|
425
|
+
"name": "tailwind-play",
|
|
406
426
|
"category": "ui",
|
|
407
427
|
"size": 362.3,
|
|
408
428
|
"files": [
|
|
409
429
|
"vendor/tailwind-play.js"
|
|
410
430
|
],
|
|
411
|
-
"description": "Live Tailwind CSS editing -
|
|
431
|
+
"description": "Live Tailwind CSS editing - no need for a build system",
|
|
412
432
|
"exports": {}
|
|
413
433
|
},
|
|
414
434
|
"mutation": {
|
|
415
|
-
"name": "
|
|
435
|
+
"name": "mutation",
|
|
416
436
|
"category": "utilities",
|
|
417
|
-
"size": 12.
|
|
437
|
+
"size": 12.9,
|
|
418
438
|
"files": [
|
|
419
439
|
"utilities/mutation.js"
|
|
420
440
|
],
|
|
@@ -427,9 +447,9 @@
|
|
|
427
447
|
}
|
|
428
448
|
},
|
|
429
449
|
"nearest": {
|
|
430
|
-
"name": "
|
|
450
|
+
"name": "nearest",
|
|
431
451
|
"category": "utilities",
|
|
432
|
-
"size": 3.
|
|
452
|
+
"size": 3.3,
|
|
433
453
|
"files": [
|
|
434
454
|
"utilities/nearest.js"
|
|
435
455
|
],
|
|
@@ -442,7 +462,7 @@
|
|
|
442
462
|
}
|
|
443
463
|
},
|
|
444
464
|
"cookie": {
|
|
445
|
-
"name": "
|
|
465
|
+
"name": "cookie",
|
|
446
466
|
"category": "utilities",
|
|
447
467
|
"size": 1.3,
|
|
448
468
|
"files": [
|
|
@@ -457,9 +477,9 @@
|
|
|
457
477
|
}
|
|
458
478
|
},
|
|
459
479
|
"throttle": {
|
|
460
|
-
"name": "
|
|
480
|
+
"name": "throttle",
|
|
461
481
|
"category": "utilities",
|
|
462
|
-
"size": 0.
|
|
482
|
+
"size": 0.7,
|
|
463
483
|
"files": [
|
|
464
484
|
"utilities/throttle.js"
|
|
465
485
|
],
|
|
@@ -471,9 +491,9 @@
|
|
|
471
491
|
}
|
|
472
492
|
},
|
|
473
493
|
"debounce": {
|
|
474
|
-
"name": "
|
|
494
|
+
"name": "debounce",
|
|
475
495
|
"category": "utilities",
|
|
476
|
-
"size": 0.
|
|
496
|
+
"size": 0.4,
|
|
477
497
|
"files": [
|
|
478
498
|
"utilities/debounce.js"
|
|
479
499
|
],
|
|
@@ -485,9 +505,9 @@
|
|
|
485
505
|
}
|
|
486
506
|
},
|
|
487
507
|
"dom-ready": {
|
|
488
|
-
"name": "
|
|
508
|
+
"name": "dom-ready",
|
|
489
509
|
"category": "dom-utilities",
|
|
490
|
-
"size": 0.
|
|
510
|
+
"size": 0.3,
|
|
491
511
|
"files": [
|
|
492
512
|
"dom-utilities/onDomReady.js"
|
|
493
513
|
],
|
|
@@ -499,9 +519,9 @@
|
|
|
499
519
|
}
|
|
500
520
|
},
|
|
501
521
|
"window-load": {
|
|
502
|
-
"name": "
|
|
522
|
+
"name": "window-load",
|
|
503
523
|
"category": "dom-utilities",
|
|
504
|
-
"size": 0.
|
|
524
|
+
"size": 0.3,
|
|
505
525
|
"files": [
|
|
506
526
|
"dom-utilities/onLoad.js"
|
|
507
527
|
],
|
|
@@ -512,8 +532,8 @@
|
|
|
512
532
|
]
|
|
513
533
|
}
|
|
514
534
|
},
|
|
515
|
-
"
|
|
516
|
-
"name": "
|
|
535
|
+
"all-js": {
|
|
536
|
+
"name": "all-js",
|
|
517
537
|
"category": "dom-utilities",
|
|
518
538
|
"size": 13.9,
|
|
519
539
|
"files": [
|
|
@@ -528,9 +548,9 @@
|
|
|
528
548
|
}
|
|
529
549
|
},
|
|
530
550
|
"style-injection": {
|
|
531
|
-
"name": "
|
|
551
|
+
"name": "style-injection",
|
|
532
552
|
"category": "dom-utilities",
|
|
533
|
-
"size":
|
|
553
|
+
"size": 1,
|
|
534
554
|
"files": [
|
|
535
555
|
"dom-utilities/insertStyleTag.js"
|
|
536
556
|
],
|
|
@@ -542,10 +562,10 @@
|
|
|
542
562
|
]
|
|
543
563
|
}
|
|
544
564
|
},
|
|
545
|
-
"
|
|
546
|
-
"name": "
|
|
565
|
+
"form-data": {
|
|
566
|
+
"name": "form-data",
|
|
547
567
|
"category": "dom-utilities",
|
|
548
|
-
"size": 1.
|
|
568
|
+
"size": 1.9,
|
|
549
569
|
"files": [
|
|
550
570
|
"dom-utilities/getDataFromForm.js"
|
|
551
571
|
],
|
|
@@ -557,14 +577,14 @@
|
|
|
557
577
|
]
|
|
558
578
|
}
|
|
559
579
|
},
|
|
560
|
-
"
|
|
561
|
-
"name": "
|
|
580
|
+
"idiomorph": {
|
|
581
|
+
"name": "idiomorph",
|
|
562
582
|
"category": "vendor",
|
|
563
|
-
"size":
|
|
583
|
+
"size": 8.1,
|
|
564
584
|
"files": [
|
|
565
585
|
"vendor/idiomorph.min.js"
|
|
566
586
|
],
|
|
567
|
-
"description": "Efficient DOM
|
|
587
|
+
"description": "Efficient DOM morphing library",
|
|
568
588
|
"exports": {
|
|
569
589
|
"Idiomorph": [
|
|
570
590
|
"hyperclay"
|
|
@@ -572,9 +592,9 @@
|
|
|
572
592
|
}
|
|
573
593
|
},
|
|
574
594
|
"slugify": {
|
|
575
|
-
"name": "
|
|
595
|
+
"name": "slugify",
|
|
576
596
|
"category": "string-utilities",
|
|
577
|
-
"size": 0.
|
|
597
|
+
"size": 0.6,
|
|
578
598
|
"files": [
|
|
579
599
|
"string-utilities/slugify.js"
|
|
580
600
|
],
|
|
@@ -586,10 +606,10 @@
|
|
|
586
606
|
]
|
|
587
607
|
}
|
|
588
608
|
},
|
|
589
|
-
"emmet
|
|
590
|
-
"name": "
|
|
609
|
+
"emmet": {
|
|
610
|
+
"name": "emmet",
|
|
591
611
|
"category": "string-utilities",
|
|
592
|
-
"size": 1.
|
|
612
|
+
"size": 1.5,
|
|
593
613
|
"files": [
|
|
594
614
|
"string-utilities/emmet-html.js"
|
|
595
615
|
],
|
|
@@ -600,10 +620,10 @@
|
|
|
600
620
|
]
|
|
601
621
|
}
|
|
602
622
|
},
|
|
603
|
-
"
|
|
604
|
-
"name": "
|
|
623
|
+
"clipboard": {
|
|
624
|
+
"name": "clipboard",
|
|
605
625
|
"category": "string-utilities",
|
|
606
|
-
"size": 0.
|
|
626
|
+
"size": 0.8,
|
|
607
627
|
"files": [
|
|
608
628
|
"string-utilities/copy-to-clipboard.js"
|
|
609
629
|
],
|
|
@@ -614,10 +634,10 @@
|
|
|
614
634
|
]
|
|
615
635
|
}
|
|
616
636
|
},
|
|
617
|
-
"query-
|
|
618
|
-
"name": "
|
|
637
|
+
"query-params": {
|
|
638
|
+
"name": "query-params",
|
|
619
639
|
"category": "string-utilities",
|
|
620
|
-
"size": 0.
|
|
640
|
+
"size": 0.2,
|
|
621
641
|
"files": [
|
|
622
642
|
"string-utilities/query.js"
|
|
623
643
|
],
|
|
@@ -630,9 +650,9 @@
|
|
|
630
650
|
}
|
|
631
651
|
},
|
|
632
652
|
"behavior-collector": {
|
|
633
|
-
"name": "
|
|
653
|
+
"name": "behavior-collector",
|
|
634
654
|
"category": "communication",
|
|
635
|
-
"size": 5.
|
|
655
|
+
"size": 5.4,
|
|
636
656
|
"files": [
|
|
637
657
|
"communication/behaviorCollector.js"
|
|
638
658
|
],
|
|
@@ -644,9 +664,9 @@
|
|
|
644
664
|
}
|
|
645
665
|
},
|
|
646
666
|
"send-message": {
|
|
647
|
-
"name": "
|
|
667
|
+
"name": "send-message",
|
|
648
668
|
"category": "communication",
|
|
649
|
-
"size": 1.
|
|
669
|
+
"size": 1.3,
|
|
650
670
|
"files": [
|
|
651
671
|
"communication/sendMessage.js"
|
|
652
672
|
],
|
|
@@ -658,9 +678,9 @@
|
|
|
658
678
|
}
|
|
659
679
|
},
|
|
660
680
|
"file-upload": {
|
|
661
|
-
"name": "
|
|
681
|
+
"name": "file-upload",
|
|
662
682
|
"category": "communication",
|
|
663
|
-
"size": 10.
|
|
683
|
+
"size": 10.6,
|
|
664
684
|
"files": [
|
|
665
685
|
"communication/uploadFile.js"
|
|
666
686
|
],
|
|
@@ -678,38 +698,75 @@
|
|
|
678
698
|
}
|
|
679
699
|
}
|
|
680
700
|
},
|
|
701
|
+
"modulePaths": {
|
|
702
|
+
"save-core": "./core/savePageCore.js",
|
|
703
|
+
"save-system": "./core/savePage.js",
|
|
704
|
+
"autosave": "./core/autosave.js",
|
|
705
|
+
"admin": "./core/adminSystem.js",
|
|
706
|
+
"persist": "./core/enablePersistentFormInputValues.js",
|
|
707
|
+
"option-visibility": "./core/optionVisibilityRuleGenerator.js",
|
|
708
|
+
"edit-mode": "./core/editmodeSystem.js",
|
|
709
|
+
"event-attrs": "./custom-attributes/events.js",
|
|
710
|
+
"ajax-elements": "./custom-attributes/ajaxElements.js",
|
|
711
|
+
"sortable": "./custom-attributes/sortable.js",
|
|
712
|
+
"dom-helpers": "./custom-attributes/domHelpers.js",
|
|
713
|
+
"input-helpers": "./custom-attributes/inputHelpers.js",
|
|
714
|
+
"dialogs": "./ui/prompts.js",
|
|
715
|
+
"toast": "./ui/toast.js",
|
|
716
|
+
"toast-hyperclay": "./ui/toast-hyperclay.js",
|
|
717
|
+
"modal": "./ui/theModal.js",
|
|
718
|
+
"tailwind-play": "./vendor/tailwind-play.js",
|
|
719
|
+
"mutation": "./utilities/mutation.js",
|
|
720
|
+
"nearest": "./utilities/nearest.js",
|
|
721
|
+
"cookie": "./utilities/cookie.js",
|
|
722
|
+
"throttle": "./utilities/throttle.js",
|
|
723
|
+
"debounce": "./utilities/debounce.js",
|
|
724
|
+
"dom-ready": "./dom-utilities/onDomReady.js",
|
|
725
|
+
"window-load": "./dom-utilities/onLoad.js",
|
|
726
|
+
"all-js": "./dom-utilities/All.js",
|
|
727
|
+
"style-injection": "./dom-utilities/insertStyleTag.js",
|
|
728
|
+
"form-data": "./dom-utilities/getDataFromForm.js",
|
|
729
|
+
"idiomorph": "./vendor/idiomorph.min.js",
|
|
730
|
+
"slugify": "./string-utilities/slugify.js",
|
|
731
|
+
"emmet": "./string-utilities/emmet-html.js",
|
|
732
|
+
"clipboard": "./string-utilities/copy-to-clipboard.js",
|
|
733
|
+
"query-params": "./string-utilities/query.js",
|
|
734
|
+
"behavior-collector": "./communication/behaviorCollector.js",
|
|
735
|
+
"send-message": "./communication/sendMessage.js",
|
|
736
|
+
"file-upload": "./communication/uploadFile.js"
|
|
737
|
+
},
|
|
681
738
|
"categories": {
|
|
682
739
|
"core": {
|
|
683
740
|
"name": "Core Features",
|
|
684
741
|
"description": "Essential functionality",
|
|
685
742
|
"modules": [
|
|
686
743
|
"save-core",
|
|
687
|
-
"save",
|
|
744
|
+
"save-system",
|
|
745
|
+
"autosave",
|
|
688
746
|
"admin",
|
|
689
747
|
"persist",
|
|
690
|
-
"
|
|
691
|
-
"
|
|
748
|
+
"option-visibility",
|
|
749
|
+
"edit-mode"
|
|
692
750
|
]
|
|
693
751
|
},
|
|
694
752
|
"custom-attributes": {
|
|
695
753
|
"name": "Custom Attributes",
|
|
696
754
|
"description": "HTML enhancements",
|
|
697
755
|
"modules": [
|
|
698
|
-
"
|
|
699
|
-
"ajax",
|
|
756
|
+
"event-attrs",
|
|
757
|
+
"ajax-elements",
|
|
700
758
|
"sortable",
|
|
701
|
-
"helpers",
|
|
702
|
-
"
|
|
759
|
+
"dom-helpers",
|
|
760
|
+
"input-helpers"
|
|
703
761
|
]
|
|
704
762
|
},
|
|
705
763
|
"ui": {
|
|
706
764
|
"name": "UI Components",
|
|
707
765
|
"description": "User interface elements",
|
|
708
766
|
"modules": [
|
|
709
|
-
"
|
|
767
|
+
"dialogs",
|
|
710
768
|
"toast",
|
|
711
|
-
"
|
|
712
|
-
"info",
|
|
769
|
+
"modal",
|
|
713
770
|
"tailwind-play"
|
|
714
771
|
]
|
|
715
772
|
},
|
|
@@ -729,10 +786,9 @@
|
|
|
729
786
|
"description": "DOM manipulation helpers",
|
|
730
787
|
"modules": [
|
|
731
788
|
"dom-ready",
|
|
732
|
-
"
|
|
733
|
-
"alljs",
|
|
789
|
+
"all-js",
|
|
734
790
|
"style-injection",
|
|
735
|
-
"
|
|
791
|
+
"form-data"
|
|
736
792
|
]
|
|
737
793
|
},
|
|
738
794
|
"string-utilities": {
|
|
@@ -740,16 +796,15 @@
|
|
|
740
796
|
"description": "String manipulation helpers",
|
|
741
797
|
"modules": [
|
|
742
798
|
"slugify",
|
|
743
|
-
"emmet
|
|
744
|
-
"
|
|
745
|
-
"query-
|
|
799
|
+
"emmet",
|
|
800
|
+
"clipboard",
|
|
801
|
+
"query-params"
|
|
746
802
|
]
|
|
747
803
|
},
|
|
748
804
|
"communication": {
|
|
749
805
|
"name": "Communication & Files",
|
|
750
806
|
"description": "File handling and messaging",
|
|
751
807
|
"modules": [
|
|
752
|
-
"behavior-collector",
|
|
753
808
|
"send-message",
|
|
754
809
|
"file-upload"
|
|
755
810
|
]
|
|
@@ -758,7 +813,7 @@
|
|
|
758
813
|
"name": "Vendor Libraries",
|
|
759
814
|
"description": "Third-party libraries",
|
|
760
815
|
"modules": [
|
|
761
|
-
"
|
|
816
|
+
"idiomorph"
|
|
762
817
|
]
|
|
763
818
|
}
|
|
764
819
|
},
|
|
@@ -768,7 +823,7 @@
|
|
|
768
823
|
"description": "Essential features for basic editing",
|
|
769
824
|
"modules": [
|
|
770
825
|
"save-core",
|
|
771
|
-
"save",
|
|
826
|
+
"save-system",
|
|
772
827
|
"admin",
|
|
773
828
|
"toast"
|
|
774
829
|
]
|
|
@@ -778,12 +833,12 @@
|
|
|
778
833
|
"description": "Standard feature set for most use cases",
|
|
779
834
|
"modules": [
|
|
780
835
|
"save-core",
|
|
781
|
-
"save",
|
|
836
|
+
"save-system",
|
|
782
837
|
"admin",
|
|
783
838
|
"persist",
|
|
784
|
-
"
|
|
785
|
-
"
|
|
786
|
-
"helpers",
|
|
839
|
+
"option-visibility",
|
|
840
|
+
"event-attrs",
|
|
841
|
+
"dom-helpers",
|
|
787
842
|
"toast"
|
|
788
843
|
]
|
|
789
844
|
},
|
|
@@ -792,20 +847,21 @@
|
|
|
792
847
|
"description": "All available features",
|
|
793
848
|
"modules": [
|
|
794
849
|
"save-core",
|
|
795
|
-
"save",
|
|
850
|
+
"save-system",
|
|
851
|
+
"autosave",
|
|
796
852
|
"admin",
|
|
797
853
|
"persist",
|
|
798
|
-
"
|
|
799
|
-
"
|
|
800
|
-
"
|
|
801
|
-
"ajax",
|
|
854
|
+
"option-visibility",
|
|
855
|
+
"edit-mode",
|
|
856
|
+
"event-attrs",
|
|
857
|
+
"ajax-elements",
|
|
802
858
|
"sortable",
|
|
803
|
-
"helpers",
|
|
804
|
-
"
|
|
805
|
-
"
|
|
859
|
+
"dom-helpers",
|
|
860
|
+
"input-helpers",
|
|
861
|
+
"dialogs",
|
|
806
862
|
"toast",
|
|
807
|
-
"
|
|
808
|
-
"
|
|
863
|
+
"toast-hyperclay",
|
|
864
|
+
"modal",
|
|
809
865
|
"tailwind-play",
|
|
810
866
|
"mutation",
|
|
811
867
|
"nearest",
|
|
@@ -814,14 +870,14 @@
|
|
|
814
870
|
"debounce",
|
|
815
871
|
"dom-ready",
|
|
816
872
|
"window-load",
|
|
817
|
-
"
|
|
873
|
+
"all-js",
|
|
818
874
|
"style-injection",
|
|
819
|
-
"
|
|
820
|
-
"
|
|
875
|
+
"form-data",
|
|
876
|
+
"idiomorph",
|
|
821
877
|
"slugify",
|
|
822
|
-
"emmet
|
|
823
|
-
"
|
|
824
|
-
"query-
|
|
878
|
+
"emmet",
|
|
879
|
+
"clipboard",
|
|
880
|
+
"query-params",
|
|
825
881
|
"behavior-collector",
|
|
826
882
|
"send-message",
|
|
827
883
|
"file-upload"
|