@almadar/std 16.3.3 → 16.3.4

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "std-signature-capture",
3
3
  "version": "1.0.0",
4
- "description": "std-signature-capture — hand-drawn signature primitive. Use when the user voices ANY scenario where a person must attest to or sign off on something via a captured signature — proof of completion, consent acknowledgement, delivery confirmation, agreement assent, attestation on a form. Covers field-service sign-off, consent capture, delivery proof, in-person agreement assent. Owns a Signature entity; CHANGE binds @entity.signatureDataUrl; SUBMIT persists @payload.data and emits SignatureSubmitted.",
4
+ "description": "std-signature-capture — proof-of-completion signature capture for field-service jobs and healthcare consent forms. Owns a Signature entity; CHANGE binds @entity.signatureDataUrl; SUBMIT persists @payload.data and emits SignatureSubmitted.",
5
5
  "orbitals": [
6
6
  {
7
7
  "name": "SignatureCaptureOrbital",
@@ -258,8 +258,8 @@
258
258
  "Signature",
259
259
  {
260
260
  "emit": {
261
- "failure": "SignatureLoadFailed",
262
- "success": "SignatureLoaded"
261
+ "success": "SignatureLoaded",
262
+ "failure": "SignatureLoadFailed"
263
263
  }
264
264
  }
265
265
  ],
@@ -267,22 +267,22 @@
267
267
  "render-ui",
268
268
  "main",
269
269
  {
270
+ "type": "stack",
271
+ "gap": "md",
270
272
  "children": [
271
273
  {
272
274
  "type": "spinner"
273
275
  },
274
276
  {
277
+ "type": "typography",
275
278
  "content": "Loading…",
276
- "variant": "caption",
277
279
  "color": "muted",
278
- "type": "typography"
280
+ "variant": "caption"
279
281
  }
280
282
  ],
281
- "className": "py-12",
282
283
  "direction": "vertical",
283
- "type": "stack",
284
- "gap": "md",
285
- "align": "center"
284
+ "align": "center",
285
+ "className": "py-12"
286
286
  }
287
287
  ]
288
288
  ]
@@ -296,48 +296,48 @@
296
296
  "render-ui",
297
297
  "main",
298
298
  {
299
- "direction": "vertical",
300
- "gap": "md",
301
299
  "type": "stack",
300
+ "direction": "vertical",
302
301
  "children": [
303
302
  {
303
+ "type": "typography",
304
304
  "content": "@config.title",
305
- "variant": "h3",
306
- "type": "typography"
305
+ "variant": "h3"
307
306
  },
308
307
  {
309
- "variant": "caption",
310
- "content": "@config.instructions",
308
+ "color": "muted",
311
309
  "type": "typography",
312
- "color": "muted"
310
+ "content": "@config.instructions",
311
+ "variant": "caption"
313
312
  },
314
313
  {
315
314
  "onChange": "CHANGE",
316
- "type": "signature-pad",
317
- "value": "@entity.signatureDataUrl"
315
+ "value": "@entity.signatureDataUrl",
316
+ "type": "signature-pad"
318
317
  },
319
318
  {
320
- "gap": "sm",
321
- "type": "stack",
322
- "direction": "horizontal",
323
319
  "children": [
324
320
  {
325
- "label": "Clear",
326
- "action": "CLEAR",
321
+ "icon": "trash",
327
322
  "type": "button",
323
+ "label": "Clear",
328
324
  "variant": "secondary",
329
- "icon": "trash"
325
+ "action": "CLEAR"
330
326
  },
331
327
  {
332
- "action": "SUBMIT",
333
328
  "variant": "primary",
334
- "label": "Submit",
335
329
  "icon": "send",
330
+ "action": "SUBMIT",
331
+ "label": "Submit",
336
332
  "type": "button"
337
333
  }
338
- ]
334
+ ],
335
+ "type": "stack",
336
+ "gap": "sm",
337
+ "direction": "horizontal"
339
338
  }
340
- ]
339
+ ],
340
+ "gap": "md"
341
341
  }
342
342
  ]
343
343
  ]
@@ -351,8 +351,8 @@
351
351
  "render-ui",
352
352
  "main",
353
353
  {
354
- "message": "@payload.error",
355
354
  "variant": "error",
355
+ "message": "@payload.error",
356
356
  "type": "alert"
357
357
  }
358
358
  ]
@@ -384,48 +384,48 @@
384
384
  "render-ui",
385
385
  "main",
386
386
  {
387
+ "type": "stack",
387
388
  "direction": "vertical",
389
+ "gap": "md",
388
390
  "children": [
389
391
  {
390
392
  "type": "typography",
391
- "content": "@config.title",
392
- "variant": "h3"
393
+ "variant": "h3",
394
+ "content": "@config.title"
393
395
  },
394
396
  {
395
397
  "type": "typography",
398
+ "content": "@config.instructions",
396
399
  "variant": "caption",
397
- "color": "muted",
398
- "content": "@config.instructions"
400
+ "color": "muted"
399
401
  },
400
402
  {
401
- "value": "@entity.signatureDataUrl",
403
+ "type": "signature-pad",
402
404
  "onChange": "CHANGE",
403
- "type": "signature-pad"
405
+ "value": "@entity.signatureDataUrl"
404
406
  },
405
407
  {
406
- "direction": "horizontal",
408
+ "type": "stack",
409
+ "gap": "sm",
407
410
  "children": [
408
411
  {
409
412
  "icon": "trash",
413
+ "variant": "secondary",
410
414
  "action": "CLEAR",
411
415
  "type": "button",
412
- "label": "Clear",
413
- "variant": "secondary"
416
+ "label": "Clear"
414
417
  },
415
418
  {
416
- "variant": "primary",
417
419
  "action": "SUBMIT",
418
420
  "label": "Submit",
419
- "icon": "send",
420
- "type": "button"
421
+ "type": "button",
422
+ "variant": "primary",
423
+ "icon": "send"
421
424
  }
422
425
  ],
423
- "type": "stack",
424
- "gap": "sm"
426
+ "direction": "horizontal"
425
427
  }
426
- ],
427
- "type": "stack",
428
- "gap": "md"
428
+ ]
429
429
  }
430
430
  ]
431
431
  ]
@@ -442,8 +442,8 @@
442
442
  "@payload.data",
443
443
  {
444
444
  "emit": {
445
- "success": "SignatureSubmitted",
446
- "failure": "SignatureSubmitFailed"
445
+ "failure": "SignatureSubmitFailed",
446
+ "success": "SignatureSubmitted"
447
447
  }
448
448
  }
449
449
  ],
@@ -451,21 +451,21 @@
451
451
  "render-ui",
452
452
  "main",
453
453
  {
454
- "direction": "vertical",
455
454
  "align": "center",
455
+ "type": "stack",
456
456
  "children": [
457
457
  {
458
458
  "type": "spinner"
459
459
  },
460
460
  {
461
- "type": "typography",
462
- "content": "Submitting your signature…",
461
+ "variant": "caption",
463
462
  "color": "muted",
464
- "variant": "caption"
463
+ "type": "typography",
464
+ "content": "Submitting your signature…"
465
465
  }
466
466
  ],
467
- "type": "stack",
468
467
  "gap": "md",
468
+ "direction": "vertical",
469
469
  "className": "py-12"
470
470
  }
471
471
  ]
@@ -480,23 +480,23 @@
480
480
  "render-ui",
481
481
  "main",
482
482
  {
483
- "className": "py-12",
483
+ "gap": "md",
484
484
  "direction": "vertical",
485
- "type": "stack",
485
+ "align": "center",
486
+ "className": "py-12",
486
487
  "children": [
487
488
  {
488
- "type": "icon",
489
+ "name": "check-circle",
489
490
  "color": "success",
490
- "name": "check-circle"
491
+ "type": "icon"
491
492
  },
492
493
  {
493
- "content": "Signature recorded. Thank you.",
494
+ "variant": "h3",
494
495
  "type": "typography",
495
- "variant": "h3"
496
+ "content": "Signature recorded. Thank you."
496
497
  }
497
498
  ],
498
- "align": "center",
499
- "gap": "md"
499
+ "type": "stack"
500
500
  }
501
501
  ]
502
502
  ]
@@ -510,8 +510,8 @@
510
510
  "render-ui",
511
511
  "main",
512
512
  {
513
- "message": "@payload.error",
514
513
  "variant": "error",
514
+ "message": "@payload.error",
515
515
  "type": "alert"
516
516
  }
517
517
  ]
@@ -531,47 +531,47 @@
531
531
  "render-ui",
532
532
  "main",
533
533
  {
534
- "gap": "md",
535
- "direction": "vertical",
536
534
  "children": [
537
535
  {
538
- "type": "typography",
536
+ "content": "@config.title",
539
537
  "variant": "h3",
540
- "content": "@config.title"
538
+ "type": "typography"
541
539
  },
542
540
  {
543
- "variant": "caption",
544
- "type": "typography",
541
+ "color": "muted",
545
542
  "content": "@config.instructions",
546
- "color": "muted"
543
+ "variant": "caption",
544
+ "type": "typography"
547
545
  },
548
546
  {
549
- "onChange": "CHANGE",
550
547
  "value": "@entity.signatureDataUrl",
548
+ "onChange": "CHANGE",
551
549
  "type": "signature-pad"
552
550
  },
553
551
  {
554
552
  "direction": "horizontal",
553
+ "gap": "sm",
555
554
  "type": "stack",
556
555
  "children": [
557
556
  {
558
- "variant": "secondary",
559
557
  "action": "CLEAR",
560
- "type": "button",
558
+ "variant": "secondary",
561
559
  "label": "Clear",
562
- "icon": "trash"
560
+ "icon": "trash",
561
+ "type": "button"
563
562
  },
564
563
  {
565
564
  "type": "button",
566
- "action": "SUBMIT",
565
+ "label": "Submit",
567
566
  "variant": "primary",
568
567
  "icon": "send",
569
- "label": "Submit"
568
+ "action": "SUBMIT"
570
569
  }
571
- ],
572
- "gap": "sm"
570
+ ]
573
571
  }
574
572
  ],
573
+ "gap": "md",
574
+ "direction": "vertical",
575
575
  "type": "stack"
576
576
  }
577
577
  ]
@@ -587,47 +587,47 @@
587
587
  "main",
588
588
  {
589
589
  "type": "stack",
590
+ "direction": "vertical",
590
591
  "children": [
591
592
  {
593
+ "content": "@config.title",
592
594
  "variant": "h3",
593
- "type": "typography",
594
- "content": "@config.title"
595
+ "type": "typography"
595
596
  },
596
597
  {
597
- "type": "typography",
598
598
  "color": "muted",
599
+ "content": "@config.instructions",
599
600
  "variant": "caption",
600
- "content": "@config.instructions"
601
+ "type": "typography"
601
602
  },
602
603
  {
603
- "onChange": "CHANGE",
604
604
  "type": "signature-pad",
605
- "value": "@entity.signatureDataUrl"
605
+ "value": "@entity.signatureDataUrl",
606
+ "onChange": "CHANGE"
606
607
  },
607
608
  {
608
- "direction": "horizontal",
609
609
  "gap": "sm",
610
- "type": "stack",
611
610
  "children": [
612
611
  {
613
- "label": "Clear",
612
+ "action": "CLEAR",
614
613
  "variant": "secondary",
614
+ "label": "Clear",
615
615
  "type": "button",
616
- "icon": "trash",
617
- "action": "CLEAR"
616
+ "icon": "trash"
618
617
  },
619
618
  {
619
+ "icon": "send",
620
620
  "label": "Submit",
621
- "variant": "primary",
621
+ "type": "button",
622
622
  "action": "SUBMIT",
623
- "icon": "send",
624
- "type": "button"
623
+ "variant": "primary"
625
624
  }
626
- ]
625
+ ],
626
+ "direction": "horizontal",
627
+ "type": "stack"
627
628
  }
628
629
  ],
629
- "gap": "md",
630
- "direction": "vertical"
630
+ "gap": "md"
631
631
  }
632
632
  ]
633
633
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@almadar/std",
3
- "version": "16.3.3",
3
+ "version": "16.3.4",
4
4
  "description": "Standard library operators for Almadar (math, string, array, etc.)",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",