le-kit 0.1.5 → 0.1.7
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/le-kit/assets/custom-elements.json → custom-elements.json} +833 -833
- package/dist/cjs/index-D7B9TPh8.js +1835 -0
- package/dist/cjs/index-D7B9TPh8.js.map +1 -0
- package/dist/cjs/index.cjs.js +119 -0
- package/dist/cjs/index.cjs.js.map +1 -0
- package/dist/cjs/le-box.cjs.entry.js +184 -0
- package/dist/cjs/le-box.entry.cjs.js.map +1 -0
- package/dist/cjs/le-button.le-checkbox.le-component.le-popover.le-slot.le-string-input.entry.cjs.js.map +1 -0
- package/dist/cjs/le-button_6.cjs.entry.js +1200 -0
- package/dist/cjs/le-card.cjs.entry.js +29 -0
- package/dist/cjs/le-card.entry.cjs.js.map +1 -0
- package/dist/cjs/le-kit.cjs.js +25 -0
- package/dist/cjs/le-kit.cjs.js.map +1 -0
- package/dist/cjs/le-number-input.cjs.entry.js +202 -0
- package/dist/cjs/le-number-input.entry.cjs.js.map +1 -0
- package/dist/cjs/le-popup.cjs.entry.js +212 -0
- package/dist/cjs/le-popup.entry.cjs.js.map +1 -0
- package/dist/cjs/le-round-progress.cjs.entry.js +106 -0
- package/dist/cjs/le-round-progress.entry.cjs.js.map +1 -0
- package/dist/cjs/le-stack.cjs.entry.js +135 -0
- package/dist/cjs/le-stack.entry.cjs.js.map +1 -0
- package/dist/cjs/le-text.cjs.entry.js +335 -0
- package/dist/cjs/le-text.entry.cjs.js.map +1 -0
- package/dist/cjs/le-turntable.cjs.entry.js +139 -0
- package/dist/cjs/le-turntable.entry.cjs.js.map +1 -0
- package/dist/cjs/loader.cjs.js +13 -0
- package/dist/cjs/loader.cjs.js.map +1 -0
- package/dist/cjs/utils-DrsoID-a.js +152 -0
- package/dist/cjs/utils-DrsoID-a.js.map +1 -0
- package/dist/collection/collection-manifest.json +26 -0
- package/dist/collection/components/le-box/le-box.default.css +37 -0
- package/dist/collection/components/le-box/le-box.js +614 -0
- package/dist/collection/components/le-box/le-box.js.map +1 -0
- package/dist/collection/components/le-button/le-button.default.css +263 -0
- package/dist/collection/components/le-button/le-button.js +368 -0
- package/dist/collection/components/le-button/le-button.js.map +1 -0
- package/dist/collection/components/le-card/le-card.default.css +74 -0
- package/dist/collection/components/le-card/le-card.js +102 -0
- package/dist/collection/components/le-card/le-card.js.map +1 -0
- package/dist/collection/components/le-checkbox/le-checkbox.css +93 -0
- package/dist/collection/components/le-checkbox/le-checkbox.js +192 -0
- package/dist/collection/components/le-checkbox/le-checkbox.js.map +1 -0
- package/dist/collection/components/le-component/le-component.css +189 -0
- package/dist/{le-kit/le-component.entry.js → collection/components/le-component/le-component.js} +141 -24
- package/dist/collection/components/le-component/le-component.js.map +1 -0
- package/dist/collection/components/le-number-input/le-number-input.css +135 -0
- package/dist/collection/components/le-number-input/le-number-input.js +515 -0
- package/dist/collection/components/le-number-input/le-number-input.js.map +1 -0
- package/dist/collection/components/le-popover/le-popover.css +143 -0
- package/dist/collection/components/le-popover/le-popover.js +693 -0
- package/dist/collection/components/le-popover/le-popover.js.map +1 -0
- package/dist/collection/components/le-popup/le-popup.api.js +101 -0
- package/dist/collection/components/le-popup/le-popup.api.js.map +1 -0
- package/dist/collection/components/le-popup/le-popup.css +222 -0
- package/dist/collection/components/le-popup/le-popup.js +596 -0
- package/dist/collection/components/le-popup/le-popup.js.map +1 -0
- package/dist/collection/components/le-round-progress/le-round-progress.css +34 -0
- package/dist/collection/components/le-round-progress/le-round-progress.js +184 -0
- package/dist/collection/components/le-round-progress/le-round-progress.js.map +1 -0
- package/dist/collection/components/le-slot/le-slot.default.css +222 -0
- package/dist/{le-kit/le-slot.entry.js → collection/components/le-slot/le-slot.js} +270 -20
- package/dist/collection/components/le-slot/le-slot.js.map +1 -0
- package/dist/collection/components/le-stack/le-stack.default.css +37 -0
- package/dist/collection/components/le-stack/le-stack.js +389 -0
- package/dist/collection/components/le-stack/le-stack.js.map +1 -0
- package/dist/collection/components/le-string-input/le-string-input.css +83 -0
- package/dist/collection/components/le-string-input/le-string-input.js +359 -0
- package/dist/collection/components/le-string-input/le-string-input.js.map +1 -0
- package/dist/collection/components/le-text/le-text.default.css +169 -0
- package/dist/collection/components/le-text/le-text.js +475 -0
- package/dist/collection/components/le-text/le-text.js.map +1 -0
- package/dist/collection/components/le-turntable/le-turntable.css +10 -0
- package/dist/collection/components/le-turntable/le-turntable.js +210 -0
- package/dist/collection/components/le-turntable/le-turntable.js.map +1 -0
- package/dist/collection/global/app.js +167 -0
- package/dist/collection/global/app.js.map +1 -0
- package/dist/collection/index.js +15 -0
- package/dist/collection/index.js.map +1 -0
- package/dist/collection/types/blocks.js +115 -0
- package/dist/collection/types/blocks.js.map +1 -0
- package/dist/collection/types/options.js +2 -0
- package/dist/collection/types/options.js.map +1 -0
- package/dist/collection/utils/utils.js +141 -0
- package/dist/collection/utils/utils.js.map +1 -0
- package/dist/components/index.js +127 -0
- package/dist/components/index.js.map +1 -0
- package/dist/components/le-box.js +256 -0
- package/dist/components/le-box.js.map +1 -0
- package/dist/components/le-button.js +9 -0
- package/dist/components/le-button.js.map +1 -0
- package/dist/components/le-button2.js +1446 -0
- package/dist/components/le-button2.js.map +1 -0
- package/dist/components/le-card.js +83 -0
- package/dist/components/le-card.js.map +1 -0
- package/dist/components/le-checkbox.js +9 -0
- package/dist/components/le-checkbox.js.map +1 -0
- package/dist/components/le-component.js +9 -0
- package/dist/components/le-component.js.map +1 -0
- package/dist/components/le-number-input.js +271 -0
- package/dist/components/le-number-input.js.map +1 -0
- package/dist/components/le-popover.js +9 -0
- package/dist/components/le-popover.js.map +1 -0
- package/dist/{le-kit/le-popover.entry.js → components/le-popover2.js} +45 -9
- package/dist/components/le-popover2.js.map +1 -0
- package/dist/components/le-popup.js +279 -0
- package/dist/components/le-popup.js.map +1 -0
- package/dist/components/le-round-progress.js +135 -0
- package/dist/components/le-round-progress.js.map +1 -0
- package/dist/components/le-slot.js +9 -0
- package/dist/components/le-slot.js.map +1 -0
- package/dist/components/le-stack.js +198 -0
- package/dist/components/le-stack.js.map +1 -0
- package/dist/components/le-string-input.js +9 -0
- package/dist/components/le-string-input.js.map +1 -0
- package/dist/components/le-text.js +398 -0
- package/dist/components/le-text.js.map +1 -0
- package/dist/components/le-turntable.js +164 -0
- package/dist/components/le-turntable.js.map +1 -0
- package/dist/docs.d.ts +443 -0
- package/dist/docs.json +5185 -0
- package/dist/esm/index-PS-3Rz-c.js +1818 -0
- package/dist/esm/index-PS-3Rz-c.js.map +1 -0
- package/dist/esm/index.js +106 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/{le-kit → esm}/le-box.entry.js +3 -3
- package/dist/esm/le-box.entry.js.map +1 -0
- package/dist/esm/le-button.le-checkbox.le-component.le-popover.le-slot.le-string-input.entry.js.map +1 -0
- package/dist/esm/le-button_6.entry.js +1193 -0
- package/dist/{le-kit → esm}/le-card.entry.js +3 -3
- package/dist/esm/le-card.entry.js.map +1 -0
- package/dist/esm/le-kit.js +21 -0
- package/dist/esm/le-kit.js.map +1 -0
- package/dist/{le-kit → esm}/le-number-input.entry.js +5 -5
- package/dist/esm/le-number-input.entry.js.map +1 -0
- package/dist/{le-kit → esm}/le-popup.entry.js +6 -6
- package/dist/esm/le-popup.entry.js.map +1 -0
- package/dist/{le-kit → esm}/le-round-progress.entry.js +2 -2
- package/dist/esm/le-round-progress.entry.js.map +1 -0
- package/dist/{le-kit → esm}/le-stack.entry.js +3 -3
- package/dist/esm/le-stack.entry.js.map +1 -0
- package/dist/{le-kit → esm}/le-text.entry.js +3 -3
- package/dist/esm/le-text.entry.js.map +1 -0
- package/dist/{le-kit → esm}/le-turntable.entry.js +2 -2
- package/dist/esm/le-turntable.entry.js.map +1 -0
- package/dist/esm/loader.js +11 -0
- package/dist/esm/loader.js.map +1 -0
- package/dist/{le-kit/utils-FDOApZ53.js → esm/utils-lgjSfQP0.js} +3 -3
- package/dist/{le-kit/utils-FDOApZ53.js.map → esm/utils-lgjSfQP0.js.map} +1 -1
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/le-kit/index.esm.js +2 -116
- package/dist/le-kit/index.esm.js.map +1 -1
- package/dist/le-kit/le-button.le-checkbox.le-component.le-popover.le-slot.le-string-input.entry.esm.js.map +1 -0
- package/dist/le-kit/le-kit.css +1 -1010
- package/dist/le-kit/le-kit.esm.js +2 -48
- package/dist/le-kit/le-kit.esm.js.map +1 -1
- package/dist/le-kit/p-27710b5b.entry.js +2 -0
- package/dist/le-kit/p-27710b5b.entry.js.map +1 -0
- package/dist/le-kit/p-34102cef.entry.js +2 -0
- package/dist/le-kit/p-34102cef.entry.js.map +1 -0
- package/dist/le-kit/p-56a80e6d.entry.js +2 -0
- package/dist/le-kit/p-56a80e6d.entry.js.map +1 -0
- package/dist/le-kit/p-615ea10f.entry.js +2 -0
- package/dist/le-kit/p-615ea10f.entry.js.map +1 -0
- package/dist/le-kit/p-935bb2d4.entry.js +2 -0
- package/dist/le-kit/p-935bb2d4.entry.js.map +1 -0
- package/dist/le-kit/p-9d3dc4e5.entry.js +2 -0
- package/dist/le-kit/p-9d3dc4e5.entry.js.map +1 -0
- package/dist/le-kit/p-DN2JVY-7.js +2 -0
- package/dist/le-kit/p-DN2JVY-7.js.map +1 -0
- package/dist/le-kit/p-PS-3Rz-c.js +3 -0
- package/dist/le-kit/p-PS-3Rz-c.js.map +1 -0
- package/dist/le-kit/p-ccabc638.entry.js +2 -0
- package/dist/le-kit/p-ccabc638.entry.js.map +1 -0
- package/dist/le-kit/p-d8157b06.entry.js +2 -0
- package/dist/le-kit/p-d8157b06.entry.js.map +1 -0
- package/dist/le-kit/p-e8c2ca0e.entry.js +2 -0
- package/dist/le-kit/p-e8c2ca0e.entry.js.map +1 -0
- package/dist/themes/base.css +89 -0
- package/dist/themes/dark.css +100 -0
- package/dist/themes/default.css +108 -0
- package/dist/themes/gradient.css +100 -0
- package/dist/themes/index.css +413 -0
- package/dist/themes/minimal.css +100 -0
- package/dist/themes/warm.css +100 -0
- package/dist/types/components.d.ts +4 -4
- package/dist/types/global/app.d.ts +33 -0
- package/dist/types/index.d.ts +1 -1
- package/package.json +3 -2
- package/readme.md +22 -0
- package/dist/le-kit/index-Da-89pOc.js +0 -4522
- package/dist/le-kit/index-Da-89pOc.js.map +0 -1
- package/dist/le-kit/le-button.entry.esm.js.map +0 -1
- package/dist/le-kit/le-button.entry.js +0 -90
- package/dist/le-kit/le-checkbox.entry.esm.js.map +0 -1
- package/dist/le-kit/le-checkbox.entry.js +0 -59
- package/dist/le-kit/le-component.entry.esm.js.map +0 -1
- package/dist/le-kit/le-popover.entry.esm.js.map +0 -1
- package/dist/le-kit/le-slot.entry.esm.js.map +0 -1
- package/dist/le-kit/le-string-input.entry.esm.js.map +0 -1
- package/dist/le-kit/le-string-input.entry.js +0 -93
|
@@ -445,6 +445,139 @@
|
|
|
445
445
|
}
|
|
446
446
|
]
|
|
447
447
|
},
|
|
448
|
+
{
|
|
449
|
+
"kind": "javascript-module",
|
|
450
|
+
"path": "src/components/le-card/le-card.tsx",
|
|
451
|
+
"declarations": [
|
|
452
|
+
{
|
|
453
|
+
"kind": "class",
|
|
454
|
+
"description": "A flexible card component with header, content, and footer slots.\n\nThe card uses le-slot wrappers for each slot area. In admin mode,\nle-slot shows placeholders for CMS editing. In default mode,\nle-slot acts as a transparent passthrough.",
|
|
455
|
+
"name": "LeCard",
|
|
456
|
+
"cssProperties": [
|
|
457
|
+
{
|
|
458
|
+
"description": "Card background color",
|
|
459
|
+
"name": "--le-card-bg"
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
"description": "Card border radius",
|
|
463
|
+
"name": "--le-card-border-radius"
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
"description": "Card box shadow",
|
|
467
|
+
"name": "--le-card-shadow"
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
"description": "Card content padding",
|
|
471
|
+
"name": "--le-card-padding"
|
|
472
|
+
}
|
|
473
|
+
],
|
|
474
|
+
"cssParts": [
|
|
475
|
+
{
|
|
476
|
+
"description": "The main card container",
|
|
477
|
+
"name": "card"
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
"description": "The card header section",
|
|
481
|
+
"name": "header"
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
"description": "The card content section",
|
|
485
|
+
"name": "content"
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
"description": "The card footer section",
|
|
489
|
+
"name": "footer"
|
|
490
|
+
}
|
|
491
|
+
],
|
|
492
|
+
"slots": [
|
|
493
|
+
{
|
|
494
|
+
"description": "Card header content (title, actions)",
|
|
495
|
+
"name": "header"
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
"description": "Default slot for main card content",
|
|
499
|
+
"name": ""
|
|
500
|
+
},
|
|
501
|
+
{
|
|
502
|
+
"description": "Card footer content (buttons, links)",
|
|
503
|
+
"name": "footer"
|
|
504
|
+
}
|
|
505
|
+
],
|
|
506
|
+
"members": [
|
|
507
|
+
{
|
|
508
|
+
"kind": "field",
|
|
509
|
+
"name": "el",
|
|
510
|
+
"type": {
|
|
511
|
+
"text": "HTMLElement"
|
|
512
|
+
}
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
"kind": "field",
|
|
516
|
+
"name": "variant",
|
|
517
|
+
"type": {
|
|
518
|
+
"text": "'default' | 'outlined' | 'elevated'"
|
|
519
|
+
},
|
|
520
|
+
"default": "'default'",
|
|
521
|
+
"description": "Card variant style"
|
|
522
|
+
},
|
|
523
|
+
{
|
|
524
|
+
"kind": "field",
|
|
525
|
+
"name": "interactive",
|
|
526
|
+
"type": {
|
|
527
|
+
"text": "boolean"
|
|
528
|
+
},
|
|
529
|
+
"default": "false",
|
|
530
|
+
"description": "Whether the card is interactive (clickable)"
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
"kind": "method",
|
|
534
|
+
"name": "render"
|
|
535
|
+
}
|
|
536
|
+
],
|
|
537
|
+
"attributes": [
|
|
538
|
+
{
|
|
539
|
+
"name": "variant",
|
|
540
|
+
"fieldName": "variant",
|
|
541
|
+
"default": "'default'",
|
|
542
|
+
"description": "Card variant style",
|
|
543
|
+
"type": {
|
|
544
|
+
"text": "'default' | 'outlined' | 'elevated'"
|
|
545
|
+
}
|
|
546
|
+
},
|
|
547
|
+
{
|
|
548
|
+
"name": "interactive",
|
|
549
|
+
"fieldName": "interactive",
|
|
550
|
+
"default": "false",
|
|
551
|
+
"description": "Whether the card is interactive (clickable)",
|
|
552
|
+
"type": {
|
|
553
|
+
"text": "boolean"
|
|
554
|
+
}
|
|
555
|
+
}
|
|
556
|
+
],
|
|
557
|
+
"tagName": "le-card",
|
|
558
|
+
"events": [],
|
|
559
|
+
"customElement": true
|
|
560
|
+
}
|
|
561
|
+
],
|
|
562
|
+
"exports": [
|
|
563
|
+
{
|
|
564
|
+
"kind": "js",
|
|
565
|
+
"name": "LeCard",
|
|
566
|
+
"declaration": {
|
|
567
|
+
"name": "LeCard",
|
|
568
|
+
"module": "src/components/le-card/le-card.tsx"
|
|
569
|
+
}
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
"kind": "custom-element-definition",
|
|
573
|
+
"name": "le-card",
|
|
574
|
+
"declaration": {
|
|
575
|
+
"name": "LeCard",
|
|
576
|
+
"module": "src/components/le-card/le-card.tsx"
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
]
|
|
580
|
+
},
|
|
448
581
|
{
|
|
449
582
|
"kind": "javascript-module",
|
|
450
583
|
"path": "src/components/le-button/le-button.tsx",
|
|
@@ -745,60 +878,38 @@
|
|
|
745
878
|
},
|
|
746
879
|
{
|
|
747
880
|
"kind": "javascript-module",
|
|
748
|
-
"path": "src/components/le-
|
|
881
|
+
"path": "src/components/le-checkbox/le-checkbox.tsx",
|
|
749
882
|
"declarations": [
|
|
750
883
|
{
|
|
751
884
|
"kind": "class",
|
|
752
|
-
"description": "A
|
|
753
|
-
"name": "
|
|
885
|
+
"description": "A checkbox component with support for labels, descriptions, and external IDs.",
|
|
886
|
+
"name": "LeCheckbox",
|
|
754
887
|
"cssProperties": [
|
|
755
888
|
{
|
|
756
|
-
"description": "
|
|
757
|
-
"name": "--le-
|
|
758
|
-
},
|
|
759
|
-
{
|
|
760
|
-
"description": "Card border radius",
|
|
761
|
-
"name": "--le-card-border-radius"
|
|
762
|
-
},
|
|
763
|
-
{
|
|
764
|
-
"description": "Card box shadow",
|
|
765
|
-
"name": "--le-card-shadow"
|
|
766
|
-
},
|
|
767
|
-
{
|
|
768
|
-
"description": "Card content padding",
|
|
769
|
-
"name": "--le-card-padding"
|
|
770
|
-
}
|
|
771
|
-
],
|
|
772
|
-
"cssParts": [
|
|
773
|
-
{
|
|
774
|
-
"description": "The main card container",
|
|
775
|
-
"name": "card"
|
|
889
|
+
"description": "Size of the checkbox input",
|
|
890
|
+
"name": "--le-checkbox-size"
|
|
776
891
|
},
|
|
777
892
|
{
|
|
778
|
-
"description": "
|
|
779
|
-
"name": "
|
|
893
|
+
"description": "Color of the checkbox when checked",
|
|
894
|
+
"name": "--le-checkbox-color"
|
|
780
895
|
},
|
|
781
896
|
{
|
|
782
|
-
"description": "
|
|
783
|
-
"name": "
|
|
897
|
+
"description": "Color of the label text",
|
|
898
|
+
"name": "--le-checkbox-label-color"
|
|
784
899
|
},
|
|
785
900
|
{
|
|
786
|
-
"description": "
|
|
787
|
-
"name": "
|
|
901
|
+
"description": "Color of the description text",
|
|
902
|
+
"name": "--le-checkbox-desc-color"
|
|
788
903
|
}
|
|
789
904
|
],
|
|
790
905
|
"slots": [
|
|
791
906
|
{
|
|
792
|
-
"description": "
|
|
793
|
-
"name": "header"
|
|
794
|
-
},
|
|
795
|
-
{
|
|
796
|
-
"description": "Default slot for main card content",
|
|
907
|
+
"description": "The label text for the checkbox",
|
|
797
908
|
"name": ""
|
|
798
909
|
},
|
|
799
910
|
{
|
|
800
|
-
"description": "
|
|
801
|
-
"name": "
|
|
911
|
+
"description": "Additional description text displayed below the label",
|
|
912
|
+
"name": "description"
|
|
802
913
|
}
|
|
803
914
|
],
|
|
804
915
|
"members": [
|
|
@@ -811,21 +922,50 @@
|
|
|
811
922
|
},
|
|
812
923
|
{
|
|
813
924
|
"kind": "field",
|
|
814
|
-
"name": "
|
|
925
|
+
"name": "checked",
|
|
815
926
|
"type": {
|
|
816
|
-
"text": "
|
|
927
|
+
"text": "boolean"
|
|
817
928
|
},
|
|
818
|
-
"default": "
|
|
819
|
-
"description": "
|
|
929
|
+
"default": "false",
|
|
930
|
+
"description": "Whether the checkbox is checked"
|
|
820
931
|
},
|
|
821
932
|
{
|
|
822
933
|
"kind": "field",
|
|
823
|
-
"name": "
|
|
934
|
+
"name": "disabled",
|
|
824
935
|
"type": {
|
|
825
936
|
"text": "boolean"
|
|
826
937
|
},
|
|
827
938
|
"default": "false",
|
|
828
|
-
"description": "Whether the
|
|
939
|
+
"description": "Whether the checkbox is disabled"
|
|
940
|
+
},
|
|
941
|
+
{
|
|
942
|
+
"kind": "field",
|
|
943
|
+
"name": "name",
|
|
944
|
+
"type": {
|
|
945
|
+
"text": "string"
|
|
946
|
+
},
|
|
947
|
+
"description": "The name of the checkbox input"
|
|
948
|
+
},
|
|
949
|
+
{
|
|
950
|
+
"kind": "field",
|
|
951
|
+
"name": "value",
|
|
952
|
+
"type": {
|
|
953
|
+
"text": "string"
|
|
954
|
+
},
|
|
955
|
+
"description": "The value of the checkbox input"
|
|
956
|
+
},
|
|
957
|
+
{
|
|
958
|
+
"kind": "field",
|
|
959
|
+
"name": "externalId",
|
|
960
|
+
"type": {
|
|
961
|
+
"text": "string"
|
|
962
|
+
},
|
|
963
|
+
"description": "External ID for linking with external systems (e.g. database ID, PDF form field ID)"
|
|
964
|
+
},
|
|
965
|
+
{
|
|
966
|
+
"kind": "field",
|
|
967
|
+
"name": "handleChange",
|
|
968
|
+
"privacy": "private"
|
|
829
969
|
},
|
|
830
970
|
{
|
|
831
971
|
"kind": "method",
|
|
@@ -834,98 +974,92 @@
|
|
|
834
974
|
],
|
|
835
975
|
"attributes": [
|
|
836
976
|
{
|
|
837
|
-
"name": "
|
|
838
|
-
"fieldName": "
|
|
839
|
-
"default": "
|
|
840
|
-
"description": "
|
|
977
|
+
"name": "checked",
|
|
978
|
+
"fieldName": "checked",
|
|
979
|
+
"default": "false",
|
|
980
|
+
"description": "Whether the checkbox is checked",
|
|
841
981
|
"type": {
|
|
842
|
-
"text": "
|
|
982
|
+
"text": "boolean"
|
|
843
983
|
}
|
|
844
984
|
},
|
|
845
985
|
{
|
|
846
|
-
"name": "
|
|
847
|
-
"fieldName": "
|
|
986
|
+
"name": "disabled",
|
|
987
|
+
"fieldName": "disabled",
|
|
848
988
|
"default": "false",
|
|
849
|
-
"description": "Whether the
|
|
989
|
+
"description": "Whether the checkbox is disabled",
|
|
850
990
|
"type": {
|
|
851
991
|
"text": "boolean"
|
|
852
992
|
}
|
|
853
|
-
}
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
993
|
+
},
|
|
994
|
+
{
|
|
995
|
+
"name": "name",
|
|
996
|
+
"fieldName": "name",
|
|
997
|
+
"description": "The name of the checkbox input",
|
|
998
|
+
"type": {
|
|
999
|
+
"text": "string"
|
|
1000
|
+
}
|
|
1001
|
+
},
|
|
1002
|
+
{
|
|
1003
|
+
"name": "value",
|
|
1004
|
+
"fieldName": "value",
|
|
1005
|
+
"description": "The value of the checkbox input",
|
|
1006
|
+
"type": {
|
|
1007
|
+
"text": "string"
|
|
1008
|
+
}
|
|
1009
|
+
},
|
|
1010
|
+
{
|
|
1011
|
+
"name": "external-id",
|
|
1012
|
+
"fieldName": "externalId",
|
|
1013
|
+
"description": "External ID for linking with external systems (e.g. database ID, PDF form field ID)",
|
|
1014
|
+
"type": {
|
|
1015
|
+
"text": "string"
|
|
1016
|
+
}
|
|
1017
|
+
}
|
|
1018
|
+
],
|
|
1019
|
+
"tagName": "le-checkbox",
|
|
1020
|
+
"events": [
|
|
1021
|
+
{
|
|
1022
|
+
"name": "change",
|
|
1023
|
+
"type": {
|
|
1024
|
+
"text": "EventEmitter<{ checked: boolean; value: string; name: string; externalId: string }>"
|
|
1025
|
+
},
|
|
1026
|
+
"description": "Emitted when the checked state changes"
|
|
1027
|
+
}
|
|
1028
|
+
],
|
|
1029
|
+
"customElement": true
|
|
1030
|
+
}
|
|
1031
|
+
],
|
|
1032
|
+
"exports": [
|
|
1033
|
+
{
|
|
1034
|
+
"kind": "js",
|
|
1035
|
+
"name": "LeCheckbox",
|
|
1036
|
+
"declaration": {
|
|
1037
|
+
"name": "LeCheckbox",
|
|
1038
|
+
"module": "src/components/le-checkbox/le-checkbox.tsx"
|
|
1039
|
+
}
|
|
1040
|
+
},
|
|
869
1041
|
{
|
|
870
1042
|
"kind": "custom-element-definition",
|
|
871
|
-
"name": "le-
|
|
1043
|
+
"name": "le-checkbox",
|
|
872
1044
|
"declaration": {
|
|
873
|
-
"name": "
|
|
874
|
-
"module": "src/components/le-
|
|
1045
|
+
"name": "LeCheckbox",
|
|
1046
|
+
"module": "src/components/le-checkbox/le-checkbox.tsx"
|
|
875
1047
|
}
|
|
876
1048
|
}
|
|
877
1049
|
]
|
|
878
1050
|
},
|
|
879
1051
|
{
|
|
880
1052
|
"kind": "javascript-module",
|
|
881
|
-
"path": "src/components/le-
|
|
1053
|
+
"path": "src/components/le-component/le-component.tsx",
|
|
882
1054
|
"declarations": [
|
|
883
1055
|
{
|
|
884
1056
|
"kind": "class",
|
|
885
|
-
"description": "
|
|
886
|
-
"name": "
|
|
887
|
-
"cssProperties": [
|
|
888
|
-
{
|
|
889
|
-
"description": "Input background color",
|
|
890
|
-
"name": "--le-input-bg"
|
|
891
|
-
},
|
|
892
|
-
{
|
|
893
|
-
"description": "Input text color",
|
|
894
|
-
"name": "--le-input-color"
|
|
895
|
-
},
|
|
896
|
-
{
|
|
897
|
-
"description": "Input border style",
|
|
898
|
-
"name": "--le-input-border"
|
|
899
|
-
},
|
|
900
|
-
{
|
|
901
|
-
"description": "Input border style when focused",
|
|
902
|
-
"name": "--le-input-border-focus"
|
|
903
|
-
},
|
|
904
|
-
{
|
|
905
|
-
"description": "Input border style when invalid",
|
|
906
|
-
"name": "--le-input-border-error"
|
|
907
|
-
},
|
|
908
|
-
{
|
|
909
|
-
"description": "Input border radius",
|
|
910
|
-
"name": "--le-input-radius"
|
|
911
|
-
},
|
|
912
|
-
{
|
|
913
|
-
"description": "Input padding",
|
|
914
|
-
"name": "--le-input-padding"
|
|
915
|
-
}
|
|
916
|
-
],
|
|
1057
|
+
"description": "Component wrapper for admin mode editing.\n\nThis component is used internally by other components to provide admin-mode\nediting capabilities. It wraps the component's rendered output and shows\na settings popover for editing properties.\n\nIn default mode, it acts as a simple passthrough (display: contents).\nIn admin mode, it shows a border, component name header, and settings popover.\n\nThe host element is found automatically by traversing up through the shadow DOM.\n\nUsage inside a component's render method:\n```tsx\nrender() {\n return (\n <le-component component=\"le-card\">\n <Host>...</Host>\n </le-component>\n );\n}\n```",
|
|
1058
|
+
"name": "LeComponent",
|
|
917
1059
|
"slots": [
|
|
918
1060
|
{
|
|
919
|
-
"description": "The
|
|
1061
|
+
"description": "The component's rendered content",
|
|
920
1062
|
"name": ""
|
|
921
|
-
},
|
|
922
|
-
{
|
|
923
|
-
"description": "Additional description text displayed below the input",
|
|
924
|
-
"name": "description"
|
|
925
|
-
},
|
|
926
|
-
{
|
|
927
|
-
"description": "Icon to display at the start of the input",
|
|
928
|
-
"name": "icon-start"
|
|
929
1063
|
}
|
|
930
1064
|
],
|
|
931
1065
|
"members": [
|
|
@@ -938,193 +1072,217 @@
|
|
|
938
1072
|
},
|
|
939
1073
|
{
|
|
940
1074
|
"kind": "field",
|
|
941
|
-
"name": "
|
|
942
|
-
"type": {
|
|
943
|
-
"text": "number"
|
|
944
|
-
},
|
|
945
|
-
"description": "The value of the input"
|
|
946
|
-
},
|
|
947
|
-
{
|
|
948
|
-
"kind": "field",
|
|
949
|
-
"name": "name",
|
|
950
|
-
"type": {
|
|
951
|
-
"text": "string"
|
|
952
|
-
},
|
|
953
|
-
"description": "The name of the input"
|
|
954
|
-
},
|
|
955
|
-
{
|
|
956
|
-
"kind": "field",
|
|
957
|
-
"name": "label",
|
|
958
|
-
"type": {
|
|
959
|
-
"text": "string"
|
|
960
|
-
},
|
|
961
|
-
"description": "Label for the input"
|
|
962
|
-
},
|
|
963
|
-
{
|
|
964
|
-
"kind": "field",
|
|
965
|
-
"name": "placeholder",
|
|
1075
|
+
"name": "component",
|
|
966
1076
|
"type": {
|
|
967
1077
|
"text": "string"
|
|
968
1078
|
},
|
|
969
|
-
"description": "
|
|
970
|
-
},
|
|
971
|
-
{
|
|
972
|
-
"kind": "field",
|
|
973
|
-
"name": "min",
|
|
974
|
-
"type": {
|
|
975
|
-
"text": "number | undefined"
|
|
976
|
-
},
|
|
977
|
-
"description": "Minimum allowed value"
|
|
1079
|
+
"description": "The tag name of the component (e.g., 'le-card').\nUsed to look up property metadata and display the component name."
|
|
978
1080
|
},
|
|
979
1081
|
{
|
|
980
1082
|
"kind": "field",
|
|
981
|
-
"name": "
|
|
1083
|
+
"name": "displayName",
|
|
982
1084
|
"type": {
|
|
983
|
-
"text": "
|
|
1085
|
+
"text": "string | undefined"
|
|
984
1086
|
},
|
|
985
|
-
"description": "
|
|
1087
|
+
"description": "Optional display name for the component.\nIf not provided, the tag name will be formatted as the display name."
|
|
986
1088
|
},
|
|
987
1089
|
{
|
|
988
1090
|
"kind": "field",
|
|
989
|
-
"name": "
|
|
1091
|
+
"name": "hostClass",
|
|
990
1092
|
"type": {
|
|
991
|
-
"text": "
|
|
1093
|
+
"text": "string | undefined"
|
|
992
1094
|
},
|
|
993
|
-
"
|
|
994
|
-
"description": "Step value for increment/decrement"
|
|
1095
|
+
"description": "Classes to apply to the host element.\nAllows parent components to pass their styling classes."
|
|
995
1096
|
},
|
|
996
1097
|
{
|
|
997
1098
|
"kind": "field",
|
|
998
|
-
"name": "
|
|
1099
|
+
"name": "hostStyle",
|
|
999
1100
|
"type": {
|
|
1000
|
-
"text": "
|
|
1101
|
+
"text": "{ [key: string]: string } | undefined"
|
|
1001
1102
|
},
|
|
1002
|
-
"
|
|
1003
|
-
"description": "Whether the input is required"
|
|
1103
|
+
"description": "Inline styles to apply to the host element.\nAllows parent components to pass dynamic styles (e.g., flex properties)."
|
|
1004
1104
|
},
|
|
1005
1105
|
{
|
|
1006
1106
|
"kind": "field",
|
|
1007
|
-
"name": "
|
|
1107
|
+
"name": "hostElement",
|
|
1008
1108
|
"type": {
|
|
1009
|
-
"text": "
|
|
1109
|
+
"text": "HTMLElement | undefined"
|
|
1010
1110
|
},
|
|
1011
|
-
"
|
|
1012
|
-
"description": "
|
|
1111
|
+
"privacy": "private",
|
|
1112
|
+
"description": "Reference to the host element (found automatically from parent)"
|
|
1013
1113
|
},
|
|
1014
1114
|
{
|
|
1015
1115
|
"kind": "field",
|
|
1016
|
-
"name": "
|
|
1116
|
+
"name": "adminMode",
|
|
1017
1117
|
"type": {
|
|
1018
1118
|
"text": "boolean"
|
|
1019
1119
|
},
|
|
1120
|
+
"privacy": "private",
|
|
1020
1121
|
"default": "false",
|
|
1021
|
-
"description": "
|
|
1022
|
-
},
|
|
1023
|
-
{
|
|
1024
|
-
"kind": "field",
|
|
1025
|
-
"name": "iconStart",
|
|
1026
|
-
"type": {
|
|
1027
|
-
"text": "string | undefined"
|
|
1028
|
-
},
|
|
1029
|
-
"description": "Icon for the start icon"
|
|
1030
|
-
},
|
|
1031
|
-
{
|
|
1032
|
-
"kind": "field",
|
|
1033
|
-
"name": "showSpinners",
|
|
1034
|
-
"type": {
|
|
1035
|
-
"text": "boolean"
|
|
1036
|
-
},
|
|
1037
|
-
"default": "true",
|
|
1038
|
-
"description": "Whether to show the spinner controls"
|
|
1122
|
+
"description": "Internal state to track admin mode"
|
|
1039
1123
|
},
|
|
1040
1124
|
{
|
|
1041
1125
|
"kind": "field",
|
|
1042
|
-
"name": "
|
|
1126
|
+
"name": "componentMeta",
|
|
1043
1127
|
"type": {
|
|
1044
|
-
"text": "
|
|
1128
|
+
"text": "ComponentMetadata | null"
|
|
1045
1129
|
},
|
|
1046
|
-
"
|
|
1130
|
+
"privacy": "private",
|
|
1131
|
+
"default": "null",
|
|
1132
|
+
"description": "Component metadata loaded from Custom Elements Manifest"
|
|
1047
1133
|
},
|
|
1048
1134
|
{
|
|
1049
1135
|
"kind": "field",
|
|
1050
|
-
"name": "
|
|
1136
|
+
"name": "propertyValues",
|
|
1051
1137
|
"type": {
|
|
1052
|
-
"text": "
|
|
1138
|
+
"text": "Record<string, any>"
|
|
1053
1139
|
},
|
|
1054
1140
|
"privacy": "private",
|
|
1055
|
-
"default": "
|
|
1056
|
-
"description": "
|
|
1141
|
+
"default": "{}",
|
|
1142
|
+
"description": "Current property values of the host component"
|
|
1057
1143
|
},
|
|
1058
1144
|
{
|
|
1059
1145
|
"kind": "field",
|
|
1060
|
-
"name": "
|
|
1146
|
+
"name": "disconnectModeObserver",
|
|
1061
1147
|
"type": {
|
|
1062
|
-
"text": "
|
|
1148
|
+
"text": "() => void | undefined"
|
|
1063
1149
|
},
|
|
1064
|
-
"privacy": "private"
|
|
1065
|
-
"default": "''"
|
|
1066
|
-
},
|
|
1067
|
-
{
|
|
1068
|
-
"kind": "method",
|
|
1069
|
-
"name": "valueChanged"
|
|
1150
|
+
"privacy": "private"
|
|
1070
1151
|
},
|
|
1071
1152
|
{
|
|
1072
1153
|
"kind": "method",
|
|
1073
|
-
"name": "
|
|
1074
|
-
"privacy": "private"
|
|
1154
|
+
"name": "findHostElement",
|
|
1155
|
+
"privacy": "private",
|
|
1156
|
+
"description": "Find the host element by traversing up through shadow DOM"
|
|
1075
1157
|
},
|
|
1076
1158
|
{
|
|
1077
1159
|
"kind": "method",
|
|
1078
|
-
"name": "
|
|
1079
|
-
"privacy": "private"
|
|
1160
|
+
"name": "formatDisplayName",
|
|
1161
|
+
"privacy": "private",
|
|
1162
|
+
"return": {
|
|
1163
|
+
"type": {
|
|
1164
|
+
"text": "string"
|
|
1165
|
+
}
|
|
1166
|
+
},
|
|
1167
|
+
"parameters": [
|
|
1168
|
+
{
|
|
1169
|
+
"name": "tagName",
|
|
1170
|
+
"type": {
|
|
1171
|
+
"text": "string"
|
|
1172
|
+
}
|
|
1173
|
+
}
|
|
1174
|
+
],
|
|
1175
|
+
"description": "Formats a tag name into a display name\ne.g., 'le-card' -> 'Card'"
|
|
1080
1176
|
},
|
|
1081
1177
|
{
|
|
1082
1178
|
"kind": "method",
|
|
1083
|
-
"name": "
|
|
1084
|
-
"privacy": "private"
|
|
1179
|
+
"name": "loadComponentMetadata",
|
|
1180
|
+
"privacy": "private",
|
|
1181
|
+
"description": "Load component metadata from the Custom Elements Manifest"
|
|
1085
1182
|
},
|
|
1086
1183
|
{
|
|
1087
1184
|
"kind": "method",
|
|
1088
|
-
"name": "
|
|
1185
|
+
"name": "isInternalAttribute",
|
|
1089
1186
|
"privacy": "private",
|
|
1187
|
+
"return": {
|
|
1188
|
+
"type": {
|
|
1189
|
+
"text": "boolean"
|
|
1190
|
+
}
|
|
1191
|
+
},
|
|
1090
1192
|
"parameters": [
|
|
1091
1193
|
{
|
|
1092
|
-
"name": "
|
|
1194
|
+
"name": "name",
|
|
1093
1195
|
"type": {
|
|
1094
|
-
"text": "
|
|
1196
|
+
"text": "string"
|
|
1095
1197
|
}
|
|
1096
1198
|
}
|
|
1097
|
-
]
|
|
1199
|
+
],
|
|
1200
|
+
"description": "Check if an attribute is internal (should not be shown in editor)"
|
|
1098
1201
|
},
|
|
1099
1202
|
{
|
|
1100
|
-
"kind": "
|
|
1101
|
-
"name": "
|
|
1102
|
-
"privacy": "private"
|
|
1203
|
+
"kind": "method",
|
|
1204
|
+
"name": "readPropertyValues",
|
|
1205
|
+
"privacy": "private",
|
|
1206
|
+
"description": "Read current property values from the host element"
|
|
1103
1207
|
},
|
|
1104
1208
|
{
|
|
1105
|
-
"kind": "
|
|
1106
|
-
"name": "
|
|
1107
|
-
"privacy": "private"
|
|
1209
|
+
"kind": "method",
|
|
1210
|
+
"name": "parseAttributeValue",
|
|
1211
|
+
"privacy": "private",
|
|
1212
|
+
"return": {
|
|
1213
|
+
"type": {
|
|
1214
|
+
"text": "any"
|
|
1215
|
+
}
|
|
1216
|
+
},
|
|
1217
|
+
"parameters": [
|
|
1218
|
+
{
|
|
1219
|
+
"name": "value",
|
|
1220
|
+
"type": {
|
|
1221
|
+
"text": "string | null"
|
|
1222
|
+
}
|
|
1223
|
+
},
|
|
1224
|
+
{
|
|
1225
|
+
"name": "type",
|
|
1226
|
+
"optional": true,
|
|
1227
|
+
"type": {
|
|
1228
|
+
"text": "string"
|
|
1229
|
+
}
|
|
1230
|
+
}
|
|
1231
|
+
],
|
|
1232
|
+
"description": "Parse an attribute value based on its type"
|
|
1108
1233
|
},
|
|
1109
1234
|
{
|
|
1110
|
-
"kind": "
|
|
1111
|
-
"name": "
|
|
1112
|
-
"privacy": "private"
|
|
1235
|
+
"kind": "method",
|
|
1236
|
+
"name": "handlePropertyChange",
|
|
1237
|
+
"privacy": "private",
|
|
1238
|
+
"parameters": [
|
|
1239
|
+
{
|
|
1240
|
+
"name": "attrName",
|
|
1241
|
+
"type": {
|
|
1242
|
+
"text": "string"
|
|
1243
|
+
}
|
|
1244
|
+
},
|
|
1245
|
+
{
|
|
1246
|
+
"name": "value",
|
|
1247
|
+
"type": {
|
|
1248
|
+
"text": "any"
|
|
1249
|
+
}
|
|
1250
|
+
},
|
|
1251
|
+
{
|
|
1252
|
+
"name": "type",
|
|
1253
|
+
"optional": true,
|
|
1254
|
+
"type": {
|
|
1255
|
+
"text": "string"
|
|
1256
|
+
}
|
|
1257
|
+
}
|
|
1258
|
+
],
|
|
1259
|
+
"description": "Handle property value changes from the editor"
|
|
1113
1260
|
},
|
|
1114
1261
|
{
|
|
1115
|
-
"kind": "
|
|
1116
|
-
"name": "
|
|
1117
|
-
"privacy": "private"
|
|
1262
|
+
"kind": "method",
|
|
1263
|
+
"name": "deleteComponent",
|
|
1264
|
+
"privacy": "private",
|
|
1265
|
+
"description": "Delete this component from the DOM"
|
|
1118
1266
|
},
|
|
1119
1267
|
{
|
|
1120
|
-
"kind": "
|
|
1121
|
-
"name": "
|
|
1122
|
-
"privacy": "private"
|
|
1268
|
+
"kind": "method",
|
|
1269
|
+
"name": "renderPropertyEditor",
|
|
1270
|
+
"privacy": "private",
|
|
1271
|
+
"description": "Render the property editor form"
|
|
1123
1272
|
},
|
|
1124
1273
|
{
|
|
1125
|
-
"kind": "
|
|
1126
|
-
"name": "
|
|
1127
|
-
"privacy": "private"
|
|
1274
|
+
"kind": "method",
|
|
1275
|
+
"name": "renderPropertyField",
|
|
1276
|
+
"privacy": "private",
|
|
1277
|
+
"parameters": [
|
|
1278
|
+
{
|
|
1279
|
+
"name": "attr",
|
|
1280
|
+
"type": {
|
|
1281
|
+
"text": "AttributeMetadata"
|
|
1282
|
+
}
|
|
1283
|
+
}
|
|
1284
|
+
],
|
|
1285
|
+
"description": "Render a single property field based on its type"
|
|
1128
1286
|
},
|
|
1129
1287
|
{
|
|
1130
1288
|
"kind": "method",
|
|
@@ -1133,396 +1291,310 @@
|
|
|
1133
1291
|
],
|
|
1134
1292
|
"attributes": [
|
|
1135
1293
|
{
|
|
1136
|
-
"name": "
|
|
1137
|
-
"fieldName": "
|
|
1138
|
-
"description": "The
|
|
1139
|
-
"type": {
|
|
1140
|
-
"text": "number"
|
|
1141
|
-
}
|
|
1142
|
-
},
|
|
1143
|
-
{
|
|
1144
|
-
"name": "name",
|
|
1145
|
-
"fieldName": "name",
|
|
1146
|
-
"description": "The name of the input",
|
|
1147
|
-
"type": {
|
|
1148
|
-
"text": "string"
|
|
1149
|
-
}
|
|
1150
|
-
},
|
|
1151
|
-
{
|
|
1152
|
-
"name": "label",
|
|
1153
|
-
"fieldName": "label",
|
|
1154
|
-
"description": "Label for the input",
|
|
1294
|
+
"name": "component",
|
|
1295
|
+
"fieldName": "component",
|
|
1296
|
+
"description": "The tag name of the component (e.g., 'le-card').\nUsed to look up property metadata and display the component name.",
|
|
1155
1297
|
"type": {
|
|
1156
1298
|
"text": "string"
|
|
1157
1299
|
}
|
|
1158
1300
|
},
|
|
1159
1301
|
{
|
|
1160
|
-
"name": "
|
|
1161
|
-
"fieldName": "
|
|
1162
|
-
"description": "
|
|
1302
|
+
"name": "display-name",
|
|
1303
|
+
"fieldName": "displayName",
|
|
1304
|
+
"description": "Optional display name for the component.\nIf not provided, the tag name will be formatted as the display name.",
|
|
1163
1305
|
"type": {
|
|
1164
1306
|
"text": "string"
|
|
1165
1307
|
}
|
|
1166
1308
|
},
|
|
1167
1309
|
{
|
|
1168
|
-
"name": "
|
|
1169
|
-
"fieldName": "
|
|
1170
|
-
"description": "
|
|
1171
|
-
"type": {
|
|
1172
|
-
"text": "number"
|
|
1173
|
-
}
|
|
1174
|
-
},
|
|
1175
|
-
{
|
|
1176
|
-
"name": "max",
|
|
1177
|
-
"fieldName": "max",
|
|
1178
|
-
"description": "Maximum allowed value",
|
|
1179
|
-
"type": {
|
|
1180
|
-
"text": "number"
|
|
1181
|
-
}
|
|
1182
|
-
},
|
|
1183
|
-
{
|
|
1184
|
-
"name": "step",
|
|
1185
|
-
"fieldName": "step",
|
|
1186
|
-
"default": "1",
|
|
1187
|
-
"description": "Step value for increment/decrement",
|
|
1188
|
-
"type": {
|
|
1189
|
-
"text": "number"
|
|
1190
|
-
}
|
|
1191
|
-
},
|
|
1192
|
-
{
|
|
1193
|
-
"name": "required",
|
|
1194
|
-
"fieldName": "required",
|
|
1195
|
-
"default": "false",
|
|
1196
|
-
"description": "Whether the input is required",
|
|
1197
|
-
"type": {
|
|
1198
|
-
"text": "boolean"
|
|
1199
|
-
}
|
|
1200
|
-
},
|
|
1201
|
-
{
|
|
1202
|
-
"name": "disabled",
|
|
1203
|
-
"fieldName": "disabled",
|
|
1204
|
-
"default": "false",
|
|
1205
|
-
"description": "Whether the input is disabled",
|
|
1206
|
-
"type": {
|
|
1207
|
-
"text": "boolean"
|
|
1208
|
-
}
|
|
1209
|
-
},
|
|
1210
|
-
{
|
|
1211
|
-
"name": "readonly",
|
|
1212
|
-
"fieldName": "readonly",
|
|
1213
|
-
"default": "false",
|
|
1214
|
-
"description": "Whether the input is read-only",
|
|
1215
|
-
"type": {
|
|
1216
|
-
"text": "boolean"
|
|
1217
|
-
}
|
|
1218
|
-
},
|
|
1219
|
-
{
|
|
1220
|
-
"name": "icon-start",
|
|
1221
|
-
"fieldName": "iconStart",
|
|
1222
|
-
"description": "Icon for the start icon",
|
|
1310
|
+
"name": "host-class",
|
|
1311
|
+
"fieldName": "hostClass",
|
|
1312
|
+
"description": "Classes to apply to the host element.\nAllows parent components to pass their styling classes.",
|
|
1223
1313
|
"type": {
|
|
1224
1314
|
"text": "string"
|
|
1225
1315
|
}
|
|
1226
1316
|
},
|
|
1227
1317
|
{
|
|
1228
|
-
"name": "
|
|
1229
|
-
"fieldName": "
|
|
1230
|
-
"
|
|
1231
|
-
"description": "Whether to show the spinner controls",
|
|
1232
|
-
"type": {
|
|
1233
|
-
"text": "boolean"
|
|
1234
|
-
}
|
|
1235
|
-
},
|
|
1236
|
-
{
|
|
1237
|
-
"name": "external-id",
|
|
1238
|
-
"fieldName": "externalId",
|
|
1239
|
-
"description": "External ID for linking with external systems",
|
|
1318
|
+
"name": "host-style",
|
|
1319
|
+
"fieldName": "hostStyle",
|
|
1320
|
+
"description": "Inline styles to apply to the host element.\nAllows parent components to pass dynamic styles (e.g., flex properties).",
|
|
1240
1321
|
"type": {
|
|
1241
|
-
"text": "string"
|
|
1322
|
+
"text": "{ [key: string]: string }"
|
|
1242
1323
|
}
|
|
1243
1324
|
}
|
|
1244
1325
|
],
|
|
1245
|
-
"tagName": "le-
|
|
1246
|
-
"events": [
|
|
1247
|
-
{
|
|
1248
|
-
"name": "leChange",
|
|
1249
|
-
"type": {
|
|
1250
|
-
"text": "EventEmitter<{ value: number; name: string; externalId: string; isValid: boolean }>"
|
|
1251
|
-
},
|
|
1252
|
-
"description": "Emitted when the value changes (on blur or Enter)"
|
|
1253
|
-
},
|
|
1254
|
-
{
|
|
1255
|
-
"name": "leInput",
|
|
1256
|
-
"type": {
|
|
1257
|
-
"text": "EventEmitter<{ value: number; name: string; externalId: string; isValid: boolean }>"
|
|
1258
|
-
},
|
|
1259
|
-
"description": "Emitted when the input value changes (on keystroke/spin)"
|
|
1260
|
-
}
|
|
1261
|
-
],
|
|
1326
|
+
"tagName": "le-component",
|
|
1327
|
+
"events": [],
|
|
1262
1328
|
"customElement": true
|
|
1263
1329
|
}
|
|
1264
1330
|
],
|
|
1265
1331
|
"exports": [
|
|
1266
1332
|
{
|
|
1267
1333
|
"kind": "js",
|
|
1268
|
-
"name": "
|
|
1334
|
+
"name": "LeComponent",
|
|
1269
1335
|
"declaration": {
|
|
1270
|
-
"name": "
|
|
1271
|
-
"module": "src/components/le-
|
|
1336
|
+
"name": "LeComponent",
|
|
1337
|
+
"module": "src/components/le-component/le-component.tsx"
|
|
1272
1338
|
}
|
|
1273
1339
|
},
|
|
1274
1340
|
{
|
|
1275
1341
|
"kind": "custom-element-definition",
|
|
1276
|
-
"name": "le-
|
|
1342
|
+
"name": "le-component",
|
|
1277
1343
|
"declaration": {
|
|
1278
|
-
"name": "
|
|
1279
|
-
"module": "src/components/le-
|
|
1344
|
+
"name": "LeComponent",
|
|
1345
|
+
"module": "src/components/le-component/le-component.tsx"
|
|
1280
1346
|
}
|
|
1281
1347
|
}
|
|
1282
1348
|
]
|
|
1283
1349
|
},
|
|
1284
1350
|
{
|
|
1285
1351
|
"kind": "javascript-module",
|
|
1286
|
-
"path": "src/components/le-
|
|
1352
|
+
"path": "src/components/le-number-input/le-number-input.tsx",
|
|
1287
1353
|
"declarations": [
|
|
1288
1354
|
{
|
|
1289
1355
|
"kind": "class",
|
|
1290
|
-
"description": "A
|
|
1291
|
-
"name": "
|
|
1292
|
-
"
|
|
1356
|
+
"description": "A number input component with validation, keyboard controls, and custom spinners.",
|
|
1357
|
+
"name": "LeNumberInput",
|
|
1358
|
+
"cssProperties": [
|
|
1293
1359
|
{
|
|
1294
|
-
"description": "
|
|
1295
|
-
"name": ""
|
|
1360
|
+
"description": "Input background color",
|
|
1361
|
+
"name": "--le-input-bg"
|
|
1296
1362
|
},
|
|
1297
1363
|
{
|
|
1298
|
-
"description": "
|
|
1299
|
-
"name": "
|
|
1300
|
-
}
|
|
1301
|
-
],
|
|
1302
|
-
"members": [
|
|
1303
|
-
{
|
|
1304
|
-
"kind": "field",
|
|
1305
|
-
"name": "el",
|
|
1306
|
-
"type": {
|
|
1307
|
-
"text": "HTMLElement"
|
|
1308
|
-
}
|
|
1364
|
+
"description": "Input text color",
|
|
1365
|
+
"name": "--le-input-color"
|
|
1309
1366
|
},
|
|
1310
1367
|
{
|
|
1311
|
-
"
|
|
1312
|
-
"name": "
|
|
1313
|
-
"type": {
|
|
1314
|
-
"text": "'default' | 'admin'"
|
|
1315
|
-
},
|
|
1316
|
-
"description": "Mode of the popover should be 'default' for internal use"
|
|
1368
|
+
"description": "Input border style",
|
|
1369
|
+
"name": "--le-input-border"
|
|
1317
1370
|
},
|
|
1371
|
+
{
|
|
1372
|
+
"description": "Input border style when focused",
|
|
1373
|
+
"name": "--le-input-border-focus"
|
|
1374
|
+
},
|
|
1375
|
+
{
|
|
1376
|
+
"description": "Input border style when invalid",
|
|
1377
|
+
"name": "--le-input-border-error"
|
|
1378
|
+
},
|
|
1379
|
+
{
|
|
1380
|
+
"description": "Input border radius",
|
|
1381
|
+
"name": "--le-input-radius"
|
|
1382
|
+
},
|
|
1383
|
+
{
|
|
1384
|
+
"description": "Input padding",
|
|
1385
|
+
"name": "--le-input-padding"
|
|
1386
|
+
}
|
|
1387
|
+
],
|
|
1388
|
+
"slots": [
|
|
1389
|
+
{
|
|
1390
|
+
"description": "The label text for the input",
|
|
1391
|
+
"name": ""
|
|
1392
|
+
},
|
|
1393
|
+
{
|
|
1394
|
+
"description": "Additional description text displayed below the input",
|
|
1395
|
+
"name": "description"
|
|
1396
|
+
},
|
|
1397
|
+
{
|
|
1398
|
+
"description": "Icon to display at the start of the input",
|
|
1399
|
+
"name": "icon-start"
|
|
1400
|
+
}
|
|
1401
|
+
],
|
|
1402
|
+
"members": [
|
|
1318
1403
|
{
|
|
1319
1404
|
"kind": "field",
|
|
1320
|
-
"name": "
|
|
1405
|
+
"name": "el",
|
|
1321
1406
|
"type": {
|
|
1322
|
-
"text": "
|
|
1323
|
-
}
|
|
1324
|
-
"default": "false",
|
|
1325
|
-
"description": "Whether the popover is currently open"
|
|
1407
|
+
"text": "HTMLElement"
|
|
1408
|
+
}
|
|
1326
1409
|
},
|
|
1327
1410
|
{
|
|
1328
1411
|
"kind": "field",
|
|
1329
|
-
"name": "
|
|
1412
|
+
"name": "value",
|
|
1330
1413
|
"type": {
|
|
1331
|
-
"text": "
|
|
1414
|
+
"text": "number"
|
|
1332
1415
|
},
|
|
1333
|
-
"
|
|
1334
|
-
"description": "Position of the popover relative to its trigger"
|
|
1416
|
+
"description": "The value of the input"
|
|
1335
1417
|
},
|
|
1336
1418
|
{
|
|
1337
1419
|
"kind": "field",
|
|
1338
|
-
"name": "
|
|
1420
|
+
"name": "name",
|
|
1339
1421
|
"type": {
|
|
1340
|
-
"text": "
|
|
1422
|
+
"text": "string"
|
|
1341
1423
|
},
|
|
1342
|
-
"
|
|
1343
|
-
"description": "Alignment of the popover"
|
|
1424
|
+
"description": "The name of the input"
|
|
1344
1425
|
},
|
|
1345
1426
|
{
|
|
1346
1427
|
"kind": "field",
|
|
1347
|
-
"name": "
|
|
1428
|
+
"name": "label",
|
|
1348
1429
|
"type": {
|
|
1349
|
-
"text": "string
|
|
1430
|
+
"text": "string"
|
|
1350
1431
|
},
|
|
1351
|
-
"description": "
|
|
1432
|
+
"description": "Label for the input"
|
|
1352
1433
|
},
|
|
1353
1434
|
{
|
|
1354
1435
|
"kind": "field",
|
|
1355
|
-
"name": "
|
|
1436
|
+
"name": "placeholder",
|
|
1356
1437
|
"type": {
|
|
1357
|
-
"text": "
|
|
1438
|
+
"text": "string"
|
|
1358
1439
|
},
|
|
1359
|
-
"
|
|
1360
|
-
"description": "Whether to show a close button in the header"
|
|
1440
|
+
"description": "Placeholder text"
|
|
1361
1441
|
},
|
|
1362
1442
|
{
|
|
1363
1443
|
"kind": "field",
|
|
1364
|
-
"name": "
|
|
1444
|
+
"name": "min",
|
|
1365
1445
|
"type": {
|
|
1366
|
-
"text": "
|
|
1446
|
+
"text": "number | undefined"
|
|
1367
1447
|
},
|
|
1368
|
-
"
|
|
1369
|
-
"description": "Whether clicking outside closes the popover"
|
|
1448
|
+
"description": "Minimum allowed value"
|
|
1370
1449
|
},
|
|
1371
1450
|
{
|
|
1372
1451
|
"kind": "field",
|
|
1373
|
-
"name": "
|
|
1452
|
+
"name": "max",
|
|
1374
1453
|
"type": {
|
|
1375
|
-
"text": "
|
|
1454
|
+
"text": "number | undefined"
|
|
1376
1455
|
},
|
|
1377
|
-
"
|
|
1378
|
-
"description": "Whether pressing Escape closes the popover"
|
|
1456
|
+
"description": "Maximum allowed value"
|
|
1379
1457
|
},
|
|
1380
1458
|
{
|
|
1381
1459
|
"kind": "field",
|
|
1382
|
-
"name": "
|
|
1460
|
+
"name": "step",
|
|
1383
1461
|
"type": {
|
|
1384
1462
|
"text": "number"
|
|
1385
1463
|
},
|
|
1386
|
-
"default": "
|
|
1387
|
-
"description": "
|
|
1464
|
+
"default": "1",
|
|
1465
|
+
"description": "Step value for increment/decrement"
|
|
1388
1466
|
},
|
|
1389
1467
|
{
|
|
1390
1468
|
"kind": "field",
|
|
1391
|
-
"name": "
|
|
1469
|
+
"name": "required",
|
|
1392
1470
|
"type": {
|
|
1393
|
-
"text": "
|
|
1471
|
+
"text": "boolean"
|
|
1394
1472
|
},
|
|
1395
|
-
"
|
|
1473
|
+
"default": "false",
|
|
1474
|
+
"description": "Whether the input is required"
|
|
1396
1475
|
},
|
|
1397
1476
|
{
|
|
1398
1477
|
"kind": "field",
|
|
1399
|
-
"name": "
|
|
1478
|
+
"name": "disabled",
|
|
1400
1479
|
"type": {
|
|
1401
|
-
"text": "
|
|
1480
|
+
"text": "boolean"
|
|
1402
1481
|
},
|
|
1403
|
-
"default": "
|
|
1404
|
-
"description": "
|
|
1482
|
+
"default": "false",
|
|
1483
|
+
"description": "Whether the input is disabled"
|
|
1405
1484
|
},
|
|
1406
1485
|
{
|
|
1407
1486
|
"kind": "field",
|
|
1408
|
-
"name": "
|
|
1487
|
+
"name": "readonly",
|
|
1409
1488
|
"type": {
|
|
1410
|
-
"text": "
|
|
1489
|
+
"text": "boolean"
|
|
1411
1490
|
},
|
|
1412
|
-
"
|
|
1491
|
+
"default": "false",
|
|
1492
|
+
"description": "Whether the input is read-only"
|
|
1413
1493
|
},
|
|
1414
1494
|
{
|
|
1415
1495
|
"kind": "field",
|
|
1416
|
-
"name": "
|
|
1496
|
+
"name": "iconStart",
|
|
1417
1497
|
"type": {
|
|
1418
|
-
"text": "
|
|
1498
|
+
"text": "string | undefined"
|
|
1419
1499
|
},
|
|
1420
|
-
"
|
|
1421
|
-
"default": "false"
|
|
1500
|
+
"description": "Icon for the start icon"
|
|
1422
1501
|
},
|
|
1423
1502
|
{
|
|
1424
1503
|
"kind": "field",
|
|
1425
|
-
"name": "
|
|
1504
|
+
"name": "showSpinners",
|
|
1426
1505
|
"type": {
|
|
1427
|
-
"text": "
|
|
1506
|
+
"text": "boolean"
|
|
1428
1507
|
},
|
|
1429
|
-
"
|
|
1508
|
+
"default": "true",
|
|
1509
|
+
"description": "Whether to show the spinner controls"
|
|
1430
1510
|
},
|
|
1431
1511
|
{
|
|
1432
1512
|
"kind": "field",
|
|
1433
|
-
"name": "
|
|
1513
|
+
"name": "externalId",
|
|
1434
1514
|
"type": {
|
|
1435
|
-
"text": "
|
|
1515
|
+
"text": "string"
|
|
1436
1516
|
},
|
|
1437
|
-
"
|
|
1517
|
+
"description": "External ID for linking with external systems"
|
|
1438
1518
|
},
|
|
1439
1519
|
{
|
|
1440
1520
|
"kind": "field",
|
|
1441
|
-
"name": "
|
|
1521
|
+
"name": "isValid",
|
|
1442
1522
|
"type": {
|
|
1443
|
-
"text": "
|
|
1523
|
+
"text": "boolean"
|
|
1444
1524
|
},
|
|
1445
1525
|
"privacy": "private",
|
|
1446
|
-
"default": "
|
|
1526
|
+
"default": "true",
|
|
1527
|
+
"description": "Internal validation state"
|
|
1447
1528
|
},
|
|
1448
1529
|
{
|
|
1449
1530
|
"kind": "field",
|
|
1450
|
-
"name": "
|
|
1531
|
+
"name": "validationMessage",
|
|
1451
1532
|
"type": {
|
|
1452
|
-
"text": "
|
|
1533
|
+
"text": "string"
|
|
1453
1534
|
},
|
|
1454
1535
|
"privacy": "private",
|
|
1455
|
-
"default": "
|
|
1536
|
+
"default": "''"
|
|
1456
1537
|
},
|
|
1457
1538
|
{
|
|
1458
1539
|
"kind": "method",
|
|
1459
|
-
"name": "
|
|
1460
|
-
"privacy": "private",
|
|
1461
|
-
"return": {
|
|
1462
|
-
"type": {
|
|
1463
|
-
"text": "Element[]"
|
|
1464
|
-
}
|
|
1465
|
-
},
|
|
1466
|
-
"parameters": [
|
|
1467
|
-
{
|
|
1468
|
-
"name": "element",
|
|
1469
|
-
"type": {
|
|
1470
|
-
"text": "Element"
|
|
1471
|
-
}
|
|
1472
|
-
}
|
|
1473
|
-
],
|
|
1474
|
-
"description": "Find all scrollable parent elements"
|
|
1540
|
+
"name": "valueChanged"
|
|
1475
1541
|
},
|
|
1476
1542
|
{
|
|
1477
1543
|
"kind": "method",
|
|
1478
|
-
"name": "
|
|
1479
|
-
"privacy": "private"
|
|
1480
|
-
"description": "Add scroll listeners to all scrollable parents"
|
|
1544
|
+
"name": "validate",
|
|
1545
|
+
"privacy": "private"
|
|
1481
1546
|
},
|
|
1482
1547
|
{
|
|
1483
1548
|
"kind": "method",
|
|
1484
|
-
"name": "
|
|
1485
|
-
"privacy": "private"
|
|
1486
|
-
"description": "Remove scroll listeners"
|
|
1549
|
+
"name": "emitChange",
|
|
1550
|
+
"privacy": "private"
|
|
1487
1551
|
},
|
|
1488
1552
|
{
|
|
1489
|
-
"kind": "
|
|
1490
|
-
"name": "
|
|
1553
|
+
"kind": "method",
|
|
1554
|
+
"name": "emitInput",
|
|
1491
1555
|
"privacy": "private"
|
|
1492
1556
|
},
|
|
1493
1557
|
{
|
|
1494
|
-
"kind": "
|
|
1495
|
-
"name": "
|
|
1496
|
-
"privacy": "private"
|
|
1558
|
+
"kind": "method",
|
|
1559
|
+
"name": "updateValue",
|
|
1560
|
+
"privacy": "private",
|
|
1561
|
+
"parameters": [
|
|
1562
|
+
{
|
|
1563
|
+
"name": "newValue",
|
|
1564
|
+
"type": {
|
|
1565
|
+
"text": "number"
|
|
1566
|
+
}
|
|
1567
|
+
}
|
|
1568
|
+
]
|
|
1497
1569
|
},
|
|
1498
1570
|
{
|
|
1499
1571
|
"kind": "field",
|
|
1500
|
-
"name": "
|
|
1572
|
+
"name": "handleInput",
|
|
1501
1573
|
"privacy": "private"
|
|
1502
1574
|
},
|
|
1503
1575
|
{
|
|
1504
|
-
"kind": "
|
|
1505
|
-
"name": "
|
|
1506
|
-
"
|
|
1576
|
+
"kind": "field",
|
|
1577
|
+
"name": "handleChange",
|
|
1578
|
+
"privacy": "private"
|
|
1507
1579
|
},
|
|
1508
1580
|
{
|
|
1509
|
-
"kind": "
|
|
1510
|
-
"name": "
|
|
1511
|
-
"
|
|
1581
|
+
"kind": "field",
|
|
1582
|
+
"name": "handleKeyDown",
|
|
1583
|
+
"privacy": "private"
|
|
1512
1584
|
},
|
|
1513
1585
|
{
|
|
1514
|
-
"kind": "
|
|
1515
|
-
"name": "
|
|
1516
|
-
"
|
|
1586
|
+
"kind": "field",
|
|
1587
|
+
"name": "handleWheel",
|
|
1588
|
+
"privacy": "private"
|
|
1517
1589
|
},
|
|
1518
1590
|
{
|
|
1519
1591
|
"kind": "field",
|
|
1520
|
-
"name": "
|
|
1592
|
+
"name": "increment",
|
|
1521
1593
|
"privacy": "private"
|
|
1522
1594
|
},
|
|
1523
1595
|
{
|
|
1524
|
-
"kind": "
|
|
1525
|
-
"name": "
|
|
1596
|
+
"kind": "field",
|
|
1597
|
+
"name": "decrement",
|
|
1526
1598
|
"privacy": "private"
|
|
1527
1599
|
},
|
|
1528
1600
|
{
|
|
@@ -1532,125 +1604,130 @@
|
|
|
1532
1604
|
],
|
|
1533
1605
|
"attributes": [
|
|
1534
1606
|
{
|
|
1535
|
-
"name": "
|
|
1536
|
-
"fieldName": "
|
|
1537
|
-
"description": "
|
|
1607
|
+
"name": "value",
|
|
1608
|
+
"fieldName": "value",
|
|
1609
|
+
"description": "The value of the input",
|
|
1538
1610
|
"type": {
|
|
1539
|
-
"text": "
|
|
1611
|
+
"text": "number"
|
|
1540
1612
|
}
|
|
1541
1613
|
},
|
|
1542
1614
|
{
|
|
1543
|
-
"name": "
|
|
1544
|
-
"fieldName": "
|
|
1545
|
-
"
|
|
1546
|
-
"description": "Whether the popover is currently open",
|
|
1615
|
+
"name": "name",
|
|
1616
|
+
"fieldName": "name",
|
|
1617
|
+
"description": "The name of the input",
|
|
1547
1618
|
"type": {
|
|
1548
|
-
"text": "
|
|
1619
|
+
"text": "string"
|
|
1549
1620
|
}
|
|
1550
1621
|
},
|
|
1551
1622
|
{
|
|
1552
|
-
"name": "
|
|
1553
|
-
"fieldName": "
|
|
1554
|
-
"
|
|
1555
|
-
"description": "Position of the popover relative to its trigger",
|
|
1623
|
+
"name": "label",
|
|
1624
|
+
"fieldName": "label",
|
|
1625
|
+
"description": "Label for the input",
|
|
1556
1626
|
"type": {
|
|
1557
|
-
"text": "
|
|
1627
|
+
"text": "string"
|
|
1558
1628
|
}
|
|
1559
1629
|
},
|
|
1560
1630
|
{
|
|
1561
|
-
"name": "
|
|
1562
|
-
"fieldName": "
|
|
1563
|
-
"
|
|
1564
|
-
"description": "Alignment of the popover",
|
|
1631
|
+
"name": "placeholder",
|
|
1632
|
+
"fieldName": "placeholder",
|
|
1633
|
+
"description": "Placeholder text",
|
|
1565
1634
|
"type": {
|
|
1566
|
-
"text": "
|
|
1635
|
+
"text": "string"
|
|
1567
1636
|
}
|
|
1568
1637
|
},
|
|
1569
1638
|
{
|
|
1570
|
-
"name": "
|
|
1571
|
-
"fieldName": "
|
|
1572
|
-
"description": "
|
|
1639
|
+
"name": "min",
|
|
1640
|
+
"fieldName": "min",
|
|
1641
|
+
"description": "Minimum allowed value",
|
|
1573
1642
|
"type": {
|
|
1574
|
-
"text": "
|
|
1643
|
+
"text": "number"
|
|
1575
1644
|
}
|
|
1576
1645
|
},
|
|
1577
1646
|
{
|
|
1578
|
-
"name": "
|
|
1579
|
-
"fieldName": "
|
|
1580
|
-
"
|
|
1581
|
-
"description": "Whether to show a close button in the header",
|
|
1647
|
+
"name": "max",
|
|
1648
|
+
"fieldName": "max",
|
|
1649
|
+
"description": "Maximum allowed value",
|
|
1582
1650
|
"type": {
|
|
1583
|
-
"text": "
|
|
1651
|
+
"text": "number"
|
|
1584
1652
|
}
|
|
1585
1653
|
},
|
|
1586
1654
|
{
|
|
1587
|
-
"name": "
|
|
1588
|
-
"fieldName": "
|
|
1589
|
-
"default": "
|
|
1590
|
-
"description": "
|
|
1655
|
+
"name": "step",
|
|
1656
|
+
"fieldName": "step",
|
|
1657
|
+
"default": "1",
|
|
1658
|
+
"description": "Step value for increment/decrement",
|
|
1659
|
+
"type": {
|
|
1660
|
+
"text": "number"
|
|
1661
|
+
}
|
|
1662
|
+
},
|
|
1663
|
+
{
|
|
1664
|
+
"name": "required",
|
|
1665
|
+
"fieldName": "required",
|
|
1666
|
+
"default": "false",
|
|
1667
|
+
"description": "Whether the input is required",
|
|
1591
1668
|
"type": {
|
|
1592
1669
|
"text": "boolean"
|
|
1593
1670
|
}
|
|
1594
1671
|
},
|
|
1595
1672
|
{
|
|
1596
|
-
"name": "
|
|
1597
|
-
"fieldName": "
|
|
1598
|
-
"default": "
|
|
1599
|
-
"description": "Whether
|
|
1673
|
+
"name": "disabled",
|
|
1674
|
+
"fieldName": "disabled",
|
|
1675
|
+
"default": "false",
|
|
1676
|
+
"description": "Whether the input is disabled",
|
|
1600
1677
|
"type": {
|
|
1601
1678
|
"text": "boolean"
|
|
1602
1679
|
}
|
|
1603
1680
|
},
|
|
1604
1681
|
{
|
|
1605
|
-
"name": "
|
|
1606
|
-
"fieldName": "
|
|
1607
|
-
"default": "
|
|
1608
|
-
"description": "
|
|
1682
|
+
"name": "readonly",
|
|
1683
|
+
"fieldName": "readonly",
|
|
1684
|
+
"default": "false",
|
|
1685
|
+
"description": "Whether the input is read-only",
|
|
1609
1686
|
"type": {
|
|
1610
|
-
"text": "
|
|
1687
|
+
"text": "boolean"
|
|
1611
1688
|
}
|
|
1612
1689
|
},
|
|
1613
1690
|
{
|
|
1614
|
-
"name": "
|
|
1615
|
-
"fieldName": "
|
|
1616
|
-
"description": "
|
|
1691
|
+
"name": "icon-start",
|
|
1692
|
+
"fieldName": "iconStart",
|
|
1693
|
+
"description": "Icon for the start icon",
|
|
1617
1694
|
"type": {
|
|
1618
1695
|
"text": "string"
|
|
1619
1696
|
}
|
|
1620
1697
|
},
|
|
1621
1698
|
{
|
|
1622
|
-
"name": "
|
|
1623
|
-
"fieldName": "
|
|
1624
|
-
"default": "
|
|
1625
|
-
"description": "
|
|
1699
|
+
"name": "show-spinners",
|
|
1700
|
+
"fieldName": "showSpinners",
|
|
1701
|
+
"default": "true",
|
|
1702
|
+
"description": "Whether to show the spinner controls",
|
|
1626
1703
|
"type": {
|
|
1627
|
-
"text": "
|
|
1704
|
+
"text": "boolean"
|
|
1628
1705
|
}
|
|
1629
1706
|
},
|
|
1630
1707
|
{
|
|
1631
|
-
"name": "
|
|
1632
|
-
"fieldName": "
|
|
1633
|
-
"description": "
|
|
1708
|
+
"name": "external-id",
|
|
1709
|
+
"fieldName": "externalId",
|
|
1710
|
+
"description": "External ID for linking with external systems",
|
|
1634
1711
|
"type": {
|
|
1635
1712
|
"text": "string"
|
|
1636
1713
|
}
|
|
1637
1714
|
}
|
|
1638
1715
|
],
|
|
1639
|
-
"tagName": "le-
|
|
1716
|
+
"tagName": "le-number-input",
|
|
1640
1717
|
"events": [
|
|
1641
1718
|
{
|
|
1642
|
-
"name": "
|
|
1719
|
+
"name": "leChange",
|
|
1643
1720
|
"type": {
|
|
1644
|
-
"text": "EventEmitter<
|
|
1721
|
+
"text": "EventEmitter<{ value: number; name: string; externalId: string; isValid: boolean }>"
|
|
1645
1722
|
},
|
|
1646
|
-
"description": "Emitted when the
|
|
1723
|
+
"description": "Emitted when the value changes (on blur or Enter)"
|
|
1647
1724
|
},
|
|
1648
1725
|
{
|
|
1649
|
-
"name": "
|
|
1726
|
+
"name": "leInput",
|
|
1650
1727
|
"type": {
|
|
1651
|
-
"text": "EventEmitter<
|
|
1728
|
+
"text": "EventEmitter<{ value: number; name: string; externalId: string; isValid: boolean }>"
|
|
1652
1729
|
},
|
|
1653
|
-
"description": "Emitted when the
|
|
1730
|
+
"description": "Emitted when the input value changes (on keystroke/spin)"
|
|
1654
1731
|
}
|
|
1655
1732
|
],
|
|
1656
1733
|
"customElement": true
|
|
@@ -1659,34 +1736,38 @@
|
|
|
1659
1736
|
"exports": [
|
|
1660
1737
|
{
|
|
1661
1738
|
"kind": "js",
|
|
1662
|
-
"name": "
|
|
1739
|
+
"name": "LeNumberInput",
|
|
1663
1740
|
"declaration": {
|
|
1664
|
-
"name": "
|
|
1665
|
-
"module": "src/components/le-
|
|
1741
|
+
"name": "LeNumberInput",
|
|
1742
|
+
"module": "src/components/le-number-input/le-number-input.tsx"
|
|
1666
1743
|
}
|
|
1667
1744
|
},
|
|
1668
1745
|
{
|
|
1669
1746
|
"kind": "custom-element-definition",
|
|
1670
|
-
"name": "le-
|
|
1747
|
+
"name": "le-number-input",
|
|
1671
1748
|
"declaration": {
|
|
1672
|
-
"name": "
|
|
1673
|
-
"module": "src/components/le-
|
|
1749
|
+
"name": "LeNumberInput",
|
|
1750
|
+
"module": "src/components/le-number-input/le-number-input.tsx"
|
|
1674
1751
|
}
|
|
1675
1752
|
}
|
|
1676
1753
|
]
|
|
1677
1754
|
},
|
|
1678
1755
|
{
|
|
1679
1756
|
"kind": "javascript-module",
|
|
1680
|
-
"path": "src/components/le-
|
|
1757
|
+
"path": "src/components/le-popover/le-popover.tsx",
|
|
1681
1758
|
"declarations": [
|
|
1682
1759
|
{
|
|
1683
1760
|
"kind": "class",
|
|
1684
|
-
"description": "
|
|
1685
|
-
"name": "
|
|
1761
|
+
"description": "A popover component for displaying floating content.\n\nUses the native HTML Popover API for proper layering with dialogs\nand other top-layer elements. Falls back gracefully in older browsers.",
|
|
1762
|
+
"name": "LePopover",
|
|
1686
1763
|
"slots": [
|
|
1687
1764
|
{
|
|
1688
|
-
"description": "
|
|
1765
|
+
"description": "Content to display inside the popover",
|
|
1689
1766
|
"name": ""
|
|
1767
|
+
},
|
|
1768
|
+
{
|
|
1769
|
+
"description": "Element that triggers the popover (optional)",
|
|
1770
|
+
"name": "trigger"
|
|
1690
1771
|
}
|
|
1691
1772
|
],
|
|
1692
1773
|
"members": [
|
|
@@ -1699,370 +1780,220 @@
|
|
|
1699
1780
|
},
|
|
1700
1781
|
{
|
|
1701
1782
|
"kind": "field",
|
|
1702
|
-
"name": "
|
|
1783
|
+
"name": "mode",
|
|
1703
1784
|
"type": {
|
|
1704
|
-
"text": "
|
|
1785
|
+
"text": "'default' | 'admin'"
|
|
1705
1786
|
},
|
|
1706
|
-
"description": "
|
|
1787
|
+
"description": "Mode of the popover should be 'default' for internal use"
|
|
1707
1788
|
},
|
|
1708
1789
|
{
|
|
1709
1790
|
"kind": "field",
|
|
1710
|
-
"name": "
|
|
1791
|
+
"name": "open",
|
|
1711
1792
|
"type": {
|
|
1712
|
-
"text": "
|
|
1793
|
+
"text": "boolean"
|
|
1713
1794
|
},
|
|
1714
|
-
"
|
|
1795
|
+
"default": "false",
|
|
1796
|
+
"description": "Whether the popover is currently open"
|
|
1715
1797
|
},
|
|
1716
1798
|
{
|
|
1717
1799
|
"kind": "field",
|
|
1718
|
-
"name": "
|
|
1800
|
+
"name": "position",
|
|
1719
1801
|
"type": {
|
|
1720
|
-
"text": "
|
|
1802
|
+
"text": "'top' | 'bottom' | 'left' | 'right' | 'auto'"
|
|
1721
1803
|
},
|
|
1722
|
-
"
|
|
1804
|
+
"default": "'bottom'",
|
|
1805
|
+
"description": "Position of the popover relative to its trigger"
|
|
1723
1806
|
},
|
|
1724
1807
|
{
|
|
1725
1808
|
"kind": "field",
|
|
1726
|
-
"name": "
|
|
1809
|
+
"name": "align",
|
|
1727
1810
|
"type": {
|
|
1728
|
-
"text": "
|
|
1811
|
+
"text": "'start' | 'center' | 'end'"
|
|
1729
1812
|
},
|
|
1730
|
-
"
|
|
1813
|
+
"default": "'start'",
|
|
1814
|
+
"description": "Alignment of the popover"
|
|
1731
1815
|
},
|
|
1732
1816
|
{
|
|
1733
1817
|
"kind": "field",
|
|
1734
|
-
"name": "
|
|
1818
|
+
"name": "popoverTitle",
|
|
1735
1819
|
"type": {
|
|
1736
|
-
"text": "
|
|
1820
|
+
"text": "string | undefined"
|
|
1737
1821
|
},
|
|
1738
|
-
"
|
|
1739
|
-
"description": "Reference to the host element (found automatically from parent)"
|
|
1822
|
+
"description": "Optional title for the popover header"
|
|
1740
1823
|
},
|
|
1741
1824
|
{
|
|
1742
1825
|
"kind": "field",
|
|
1743
|
-
"name": "
|
|
1826
|
+
"name": "showClose",
|
|
1744
1827
|
"type": {
|
|
1745
1828
|
"text": "boolean"
|
|
1746
1829
|
},
|
|
1747
|
-
"
|
|
1748
|
-
"
|
|
1749
|
-
"description": "Internal state to track admin mode"
|
|
1830
|
+
"default": "true",
|
|
1831
|
+
"description": "Whether to show a close button in the header"
|
|
1750
1832
|
},
|
|
1751
1833
|
{
|
|
1752
1834
|
"kind": "field",
|
|
1753
|
-
"name": "
|
|
1835
|
+
"name": "closeOnClickOutside",
|
|
1754
1836
|
"type": {
|
|
1755
|
-
"text": "
|
|
1837
|
+
"text": "boolean"
|
|
1756
1838
|
},
|
|
1757
|
-
"
|
|
1758
|
-
"
|
|
1759
|
-
"description": "Component metadata loaded from Custom Elements Manifest"
|
|
1839
|
+
"default": "true",
|
|
1840
|
+
"description": "Whether clicking outside closes the popover"
|
|
1760
1841
|
},
|
|
1761
1842
|
{
|
|
1762
1843
|
"kind": "field",
|
|
1763
|
-
"name": "
|
|
1844
|
+
"name": "closeOnEscape",
|
|
1764
1845
|
"type": {
|
|
1765
|
-
"text": "
|
|
1846
|
+
"text": "boolean"
|
|
1766
1847
|
},
|
|
1767
|
-
"
|
|
1768
|
-
"
|
|
1769
|
-
"description": "Current property values of the host component"
|
|
1848
|
+
"default": "true",
|
|
1849
|
+
"description": "Whether pressing Escape closes the popover"
|
|
1770
1850
|
},
|
|
1771
1851
|
{
|
|
1772
1852
|
"kind": "field",
|
|
1773
|
-
"name": "
|
|
1853
|
+
"name": "offset",
|
|
1774
1854
|
"type": {
|
|
1775
|
-
"text": "
|
|
1776
|
-
},
|
|
1777
|
-
"privacy": "private"
|
|
1778
|
-
},
|
|
1779
|
-
{
|
|
1780
|
-
"kind": "method",
|
|
1781
|
-
"name": "findHostElement",
|
|
1782
|
-
"privacy": "private",
|
|
1783
|
-
"description": "Find the host element by traversing up through shadow DOM"
|
|
1784
|
-
},
|
|
1785
|
-
{
|
|
1786
|
-
"kind": "method",
|
|
1787
|
-
"name": "formatDisplayName",
|
|
1788
|
-
"privacy": "private",
|
|
1789
|
-
"return": {
|
|
1790
|
-
"type": {
|
|
1791
|
-
"text": "string"
|
|
1792
|
-
}
|
|
1793
|
-
},
|
|
1794
|
-
"parameters": [
|
|
1795
|
-
{
|
|
1796
|
-
"name": "tagName",
|
|
1797
|
-
"type": {
|
|
1798
|
-
"text": "string"
|
|
1799
|
-
}
|
|
1800
|
-
}
|
|
1801
|
-
],
|
|
1802
|
-
"description": "Formats a tag name into a display name\ne.g., 'le-card' -> 'Card'"
|
|
1803
|
-
},
|
|
1804
|
-
{
|
|
1805
|
-
"kind": "method",
|
|
1806
|
-
"name": "loadComponentMetadata",
|
|
1807
|
-
"privacy": "private",
|
|
1808
|
-
"description": "Load component metadata from the Custom Elements Manifest"
|
|
1809
|
-
},
|
|
1810
|
-
{
|
|
1811
|
-
"kind": "method",
|
|
1812
|
-
"name": "isInternalAttribute",
|
|
1813
|
-
"privacy": "private",
|
|
1814
|
-
"return": {
|
|
1815
|
-
"type": {
|
|
1816
|
-
"text": "boolean"
|
|
1817
|
-
}
|
|
1818
|
-
},
|
|
1819
|
-
"parameters": [
|
|
1820
|
-
{
|
|
1821
|
-
"name": "name",
|
|
1822
|
-
"type": {
|
|
1823
|
-
"text": "string"
|
|
1824
|
-
}
|
|
1825
|
-
}
|
|
1826
|
-
],
|
|
1827
|
-
"description": "Check if an attribute is internal (should not be shown in editor)"
|
|
1828
|
-
},
|
|
1829
|
-
{
|
|
1830
|
-
"kind": "method",
|
|
1831
|
-
"name": "readPropertyValues",
|
|
1832
|
-
"privacy": "private",
|
|
1833
|
-
"description": "Read current property values from the host element"
|
|
1834
|
-
},
|
|
1835
|
-
{
|
|
1836
|
-
"kind": "method",
|
|
1837
|
-
"name": "parseAttributeValue",
|
|
1838
|
-
"privacy": "private",
|
|
1839
|
-
"return": {
|
|
1840
|
-
"type": {
|
|
1841
|
-
"text": "any"
|
|
1842
|
-
}
|
|
1855
|
+
"text": "number"
|
|
1843
1856
|
},
|
|
1844
|
-
"
|
|
1845
|
-
|
|
1846
|
-
"name": "value",
|
|
1847
|
-
"type": {
|
|
1848
|
-
"text": "string | null"
|
|
1849
|
-
}
|
|
1850
|
-
},
|
|
1851
|
-
{
|
|
1852
|
-
"name": "type",
|
|
1853
|
-
"optional": true,
|
|
1854
|
-
"type": {
|
|
1855
|
-
"text": "string"
|
|
1856
|
-
}
|
|
1857
|
-
}
|
|
1858
|
-
],
|
|
1859
|
-
"description": "Parse an attribute value based on its type"
|
|
1860
|
-
},
|
|
1861
|
-
{
|
|
1862
|
-
"kind": "method",
|
|
1863
|
-
"name": "handlePropertyChange",
|
|
1864
|
-
"privacy": "private",
|
|
1865
|
-
"parameters": [
|
|
1866
|
-
{
|
|
1867
|
-
"name": "attrName",
|
|
1868
|
-
"type": {
|
|
1869
|
-
"text": "string"
|
|
1870
|
-
}
|
|
1871
|
-
},
|
|
1872
|
-
{
|
|
1873
|
-
"name": "value",
|
|
1874
|
-
"type": {
|
|
1875
|
-
"text": "any"
|
|
1876
|
-
}
|
|
1877
|
-
},
|
|
1878
|
-
{
|
|
1879
|
-
"name": "type",
|
|
1880
|
-
"optional": true,
|
|
1881
|
-
"type": {
|
|
1882
|
-
"text": "string"
|
|
1883
|
-
}
|
|
1884
|
-
}
|
|
1885
|
-
],
|
|
1886
|
-
"description": "Handle property value changes from the editor"
|
|
1887
|
-
},
|
|
1888
|
-
{
|
|
1889
|
-
"kind": "method",
|
|
1890
|
-
"name": "deleteComponent",
|
|
1891
|
-
"privacy": "private",
|
|
1892
|
-
"description": "Delete this component from the DOM"
|
|
1893
|
-
},
|
|
1894
|
-
{
|
|
1895
|
-
"kind": "method",
|
|
1896
|
-
"name": "renderPropertyEditor",
|
|
1897
|
-
"privacy": "private",
|
|
1898
|
-
"description": "Render the property editor form"
|
|
1899
|
-
},
|
|
1900
|
-
{
|
|
1901
|
-
"kind": "method",
|
|
1902
|
-
"name": "renderPropertyField",
|
|
1903
|
-
"privacy": "private",
|
|
1904
|
-
"parameters": [
|
|
1905
|
-
{
|
|
1906
|
-
"name": "attr",
|
|
1907
|
-
"type": {
|
|
1908
|
-
"text": "AttributeMetadata"
|
|
1909
|
-
}
|
|
1910
|
-
}
|
|
1911
|
-
],
|
|
1912
|
-
"description": "Render a single property field based on its type"
|
|
1913
|
-
},
|
|
1914
|
-
{
|
|
1915
|
-
"kind": "method",
|
|
1916
|
-
"name": "render"
|
|
1917
|
-
}
|
|
1918
|
-
],
|
|
1919
|
-
"attributes": [
|
|
1920
|
-
{
|
|
1921
|
-
"name": "component",
|
|
1922
|
-
"fieldName": "component",
|
|
1923
|
-
"description": "The tag name of the component (e.g., 'le-card').\nUsed to look up property metadata and display the component name.",
|
|
1924
|
-
"type": {
|
|
1925
|
-
"text": "string"
|
|
1926
|
-
}
|
|
1927
|
-
},
|
|
1928
|
-
{
|
|
1929
|
-
"name": "display-name",
|
|
1930
|
-
"fieldName": "displayName",
|
|
1931
|
-
"description": "Optional display name for the component.\nIf not provided, the tag name will be formatted as the display name.",
|
|
1932
|
-
"type": {
|
|
1933
|
-
"text": "string"
|
|
1934
|
-
}
|
|
1935
|
-
},
|
|
1936
|
-
{
|
|
1937
|
-
"name": "host-class",
|
|
1938
|
-
"fieldName": "hostClass",
|
|
1939
|
-
"description": "Classes to apply to the host element.\nAllows parent components to pass their styling classes.",
|
|
1940
|
-
"type": {
|
|
1941
|
-
"text": "string"
|
|
1942
|
-
}
|
|
1943
|
-
},
|
|
1944
|
-
{
|
|
1945
|
-
"name": "host-style",
|
|
1946
|
-
"fieldName": "hostStyle",
|
|
1947
|
-
"description": "Inline styles to apply to the host element.\nAllows parent components to pass dynamic styles (e.g., flex properties).",
|
|
1948
|
-
"type": {
|
|
1949
|
-
"text": "{ [key: string]: string }"
|
|
1950
|
-
}
|
|
1951
|
-
}
|
|
1952
|
-
],
|
|
1953
|
-
"tagName": "le-component",
|
|
1954
|
-
"events": [],
|
|
1955
|
-
"customElement": true
|
|
1956
|
-
}
|
|
1957
|
-
],
|
|
1958
|
-
"exports": [
|
|
1959
|
-
{
|
|
1960
|
-
"kind": "js",
|
|
1961
|
-
"name": "LeComponent",
|
|
1962
|
-
"declaration": {
|
|
1963
|
-
"name": "LeComponent",
|
|
1964
|
-
"module": "src/components/le-component/le-component.tsx"
|
|
1965
|
-
}
|
|
1966
|
-
},
|
|
1967
|
-
{
|
|
1968
|
-
"kind": "custom-element-definition",
|
|
1969
|
-
"name": "le-component",
|
|
1970
|
-
"declaration": {
|
|
1971
|
-
"name": "LeComponent",
|
|
1972
|
-
"module": "src/components/le-component/le-component.tsx"
|
|
1973
|
-
}
|
|
1974
|
-
}
|
|
1975
|
-
]
|
|
1976
|
-
},
|
|
1977
|
-
{
|
|
1978
|
-
"kind": "javascript-module",
|
|
1979
|
-
"path": "src/components/le-checkbox/le-checkbox.tsx",
|
|
1980
|
-
"declarations": [
|
|
1981
|
-
{
|
|
1982
|
-
"kind": "class",
|
|
1983
|
-
"description": "A checkbox component with support for labels, descriptions, and external IDs.",
|
|
1984
|
-
"name": "LeCheckbox",
|
|
1985
|
-
"cssProperties": [
|
|
1986
|
-
{
|
|
1987
|
-
"description": "Size of the checkbox input",
|
|
1988
|
-
"name": "--le-checkbox-size"
|
|
1989
|
-
},
|
|
1990
|
-
{
|
|
1991
|
-
"description": "Color of the checkbox when checked",
|
|
1992
|
-
"name": "--le-checkbox-color"
|
|
1857
|
+
"default": "8",
|
|
1858
|
+
"description": "Offset from the trigger element (in pixels)"
|
|
1993
1859
|
},
|
|
1994
1860
|
{
|
|
1995
|
-
"
|
|
1996
|
-
"name": "
|
|
1861
|
+
"kind": "field",
|
|
1862
|
+
"name": "width",
|
|
1863
|
+
"type": {
|
|
1864
|
+
"text": "string | undefined"
|
|
1865
|
+
},
|
|
1866
|
+
"description": "Fixed width for the popover (e.g., '300px', '20rem')"
|
|
1997
1867
|
},
|
|
1998
1868
|
{
|
|
1999
|
-
"
|
|
2000
|
-
"name": "
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
"description": "
|
|
2006
|
-
"name": ""
|
|
1869
|
+
"kind": "field",
|
|
1870
|
+
"name": "minWidth",
|
|
1871
|
+
"type": {
|
|
1872
|
+
"text": "string | undefined"
|
|
1873
|
+
},
|
|
1874
|
+
"default": "'200px'",
|
|
1875
|
+
"description": "Minimum width for the popover (e.g., '200px', '15rem')"
|
|
2007
1876
|
},
|
|
2008
|
-
{
|
|
2009
|
-
"description": "Additional description text displayed below the label",
|
|
2010
|
-
"name": "description"
|
|
2011
|
-
}
|
|
2012
|
-
],
|
|
2013
|
-
"members": [
|
|
2014
1877
|
{
|
|
2015
1878
|
"kind": "field",
|
|
2016
|
-
"name": "
|
|
1879
|
+
"name": "maxWidth",
|
|
2017
1880
|
"type": {
|
|
2018
|
-
"text": "
|
|
2019
|
-
}
|
|
1881
|
+
"text": "string | undefined"
|
|
1882
|
+
},
|
|
1883
|
+
"description": "Maximum width for the popover (e.g., '400px', '25rem')"
|
|
2020
1884
|
},
|
|
2021
1885
|
{
|
|
2022
1886
|
"kind": "field",
|
|
2023
|
-
"name": "
|
|
1887
|
+
"name": "isPositioned",
|
|
2024
1888
|
"type": {
|
|
2025
1889
|
"text": "boolean"
|
|
2026
1890
|
},
|
|
2027
|
-
"
|
|
2028
|
-
"
|
|
1891
|
+
"privacy": "private",
|
|
1892
|
+
"default": "false"
|
|
2029
1893
|
},
|
|
2030
1894
|
{
|
|
2031
1895
|
"kind": "field",
|
|
2032
|
-
"name": "
|
|
1896
|
+
"name": "triggerEl",
|
|
2033
1897
|
"type": {
|
|
2034
|
-
"text": "
|
|
1898
|
+
"text": "HTMLElement | undefined"
|
|
2035
1899
|
},
|
|
2036
|
-
"
|
|
2037
|
-
"description": "Whether the checkbox is disabled"
|
|
1900
|
+
"privacy": "private"
|
|
2038
1901
|
},
|
|
2039
1902
|
{
|
|
2040
1903
|
"kind": "field",
|
|
2041
|
-
"name": "
|
|
1904
|
+
"name": "popoverEl",
|
|
2042
1905
|
"type": {
|
|
2043
|
-
"text": "
|
|
1906
|
+
"text": "HTMLElement | undefined"
|
|
2044
1907
|
},
|
|
2045
|
-
"
|
|
1908
|
+
"privacy": "private"
|
|
2046
1909
|
},
|
|
2047
1910
|
{
|
|
2048
1911
|
"kind": "field",
|
|
2049
|
-
"name": "
|
|
1912
|
+
"name": "uniqueId",
|
|
2050
1913
|
"type": {
|
|
2051
1914
|
"text": "string"
|
|
2052
1915
|
},
|
|
2053
|
-
"
|
|
1916
|
+
"privacy": "private",
|
|
1917
|
+
"default": "`le-popover-${Math.random().toString(36).substr(2, 9)}`"
|
|
2054
1918
|
},
|
|
2055
1919
|
{
|
|
2056
1920
|
"kind": "field",
|
|
2057
|
-
"name": "
|
|
1921
|
+
"name": "scrollParents",
|
|
2058
1922
|
"type": {
|
|
2059
|
-
"text": "
|
|
1923
|
+
"text": "Element[]"
|
|
2060
1924
|
},
|
|
2061
|
-
"
|
|
1925
|
+
"privacy": "private",
|
|
1926
|
+
"default": "[]"
|
|
1927
|
+
},
|
|
1928
|
+
{
|
|
1929
|
+
"kind": "method",
|
|
1930
|
+
"name": "getScrollParents",
|
|
1931
|
+
"privacy": "private",
|
|
1932
|
+
"return": {
|
|
1933
|
+
"type": {
|
|
1934
|
+
"text": "Element[]"
|
|
1935
|
+
}
|
|
1936
|
+
},
|
|
1937
|
+
"parameters": [
|
|
1938
|
+
{
|
|
1939
|
+
"name": "element",
|
|
1940
|
+
"type": {
|
|
1941
|
+
"text": "Element"
|
|
1942
|
+
}
|
|
1943
|
+
}
|
|
1944
|
+
],
|
|
1945
|
+
"description": "Find all scrollable parent elements"
|
|
1946
|
+
},
|
|
1947
|
+
{
|
|
1948
|
+
"kind": "method",
|
|
1949
|
+
"name": "addScrollListeners",
|
|
1950
|
+
"privacy": "private",
|
|
1951
|
+
"description": "Add scroll listeners to all scrollable parents"
|
|
1952
|
+
},
|
|
1953
|
+
{
|
|
1954
|
+
"kind": "method",
|
|
1955
|
+
"name": "removeScrollListeners",
|
|
1956
|
+
"privacy": "private",
|
|
1957
|
+
"description": "Remove scroll listeners"
|
|
2062
1958
|
},
|
|
2063
1959
|
{
|
|
2064
1960
|
"kind": "field",
|
|
2065
|
-
"name": "
|
|
1961
|
+
"name": "handleScroll",
|
|
1962
|
+
"privacy": "private"
|
|
1963
|
+
},
|
|
1964
|
+
{
|
|
1965
|
+
"kind": "field",
|
|
1966
|
+
"name": "handlePopoverToggle",
|
|
1967
|
+
"privacy": "private"
|
|
1968
|
+
},
|
|
1969
|
+
{
|
|
1970
|
+
"kind": "field",
|
|
1971
|
+
"name": "handleOtherPopoverOpen",
|
|
1972
|
+
"privacy": "private"
|
|
1973
|
+
},
|
|
1974
|
+
{
|
|
1975
|
+
"kind": "method",
|
|
1976
|
+
"name": "show",
|
|
1977
|
+
"description": "Opens the popover"
|
|
1978
|
+
},
|
|
1979
|
+
{
|
|
1980
|
+
"kind": "method",
|
|
1981
|
+
"name": "hide",
|
|
1982
|
+
"description": "Closes the popover"
|
|
1983
|
+
},
|
|
1984
|
+
{
|
|
1985
|
+
"kind": "method",
|
|
1986
|
+
"name": "toggle",
|
|
1987
|
+
"description": "Toggles the popover"
|
|
1988
|
+
},
|
|
1989
|
+
{
|
|
1990
|
+
"kind": "field",
|
|
1991
|
+
"name": "handleTriggerClick",
|
|
1992
|
+
"privacy": "private"
|
|
1993
|
+
},
|
|
1994
|
+
{
|
|
1995
|
+
"kind": "method",
|
|
1996
|
+
"name": "updatePosition",
|
|
2066
1997
|
"privacy": "private"
|
|
2067
1998
|
},
|
|
2068
1999
|
{
|
|
@@ -2072,56 +2003,125 @@
|
|
|
2072
2003
|
],
|
|
2073
2004
|
"attributes": [
|
|
2074
2005
|
{
|
|
2075
|
-
"name": "
|
|
2076
|
-
"fieldName": "
|
|
2006
|
+
"name": "mode",
|
|
2007
|
+
"fieldName": "mode",
|
|
2008
|
+
"description": "Mode of the popover should be 'default' for internal use",
|
|
2009
|
+
"type": {
|
|
2010
|
+
"text": "'default' | 'admin'"
|
|
2011
|
+
}
|
|
2012
|
+
},
|
|
2013
|
+
{
|
|
2014
|
+
"name": "open",
|
|
2015
|
+
"fieldName": "open",
|
|
2077
2016
|
"default": "false",
|
|
2078
|
-
"description": "Whether the
|
|
2017
|
+
"description": "Whether the popover is currently open",
|
|
2079
2018
|
"type": {
|
|
2080
2019
|
"text": "boolean"
|
|
2081
2020
|
}
|
|
2082
2021
|
},
|
|
2083
2022
|
{
|
|
2084
|
-
"name": "
|
|
2085
|
-
"fieldName": "
|
|
2086
|
-
"default": "
|
|
2087
|
-
"description": "
|
|
2023
|
+
"name": "position",
|
|
2024
|
+
"fieldName": "position",
|
|
2025
|
+
"default": "'bottom'",
|
|
2026
|
+
"description": "Position of the popover relative to its trigger",
|
|
2027
|
+
"type": {
|
|
2028
|
+
"text": "'top' | 'bottom' | 'left' | 'right' | 'auto'"
|
|
2029
|
+
}
|
|
2030
|
+
},
|
|
2031
|
+
{
|
|
2032
|
+
"name": "align",
|
|
2033
|
+
"fieldName": "align",
|
|
2034
|
+
"default": "'start'",
|
|
2035
|
+
"description": "Alignment of the popover",
|
|
2036
|
+
"type": {
|
|
2037
|
+
"text": "'start' | 'center' | 'end'"
|
|
2038
|
+
}
|
|
2039
|
+
},
|
|
2040
|
+
{
|
|
2041
|
+
"name": "popover-title",
|
|
2042
|
+
"fieldName": "popoverTitle",
|
|
2043
|
+
"description": "Optional title for the popover header",
|
|
2044
|
+
"type": {
|
|
2045
|
+
"text": "string"
|
|
2046
|
+
}
|
|
2047
|
+
},
|
|
2048
|
+
{
|
|
2049
|
+
"name": "show-close",
|
|
2050
|
+
"fieldName": "showClose",
|
|
2051
|
+
"default": "true",
|
|
2052
|
+
"description": "Whether to show a close button in the header",
|
|
2088
2053
|
"type": {
|
|
2089
2054
|
"text": "boolean"
|
|
2090
2055
|
}
|
|
2091
2056
|
},
|
|
2092
2057
|
{
|
|
2093
|
-
"name": "
|
|
2094
|
-
"fieldName": "
|
|
2095
|
-
"
|
|
2058
|
+
"name": "close-on-click-outside",
|
|
2059
|
+
"fieldName": "closeOnClickOutside",
|
|
2060
|
+
"default": "true",
|
|
2061
|
+
"description": "Whether clicking outside closes the popover",
|
|
2062
|
+
"type": {
|
|
2063
|
+
"text": "boolean"
|
|
2064
|
+
}
|
|
2065
|
+
},
|
|
2066
|
+
{
|
|
2067
|
+
"name": "close-on-escape",
|
|
2068
|
+
"fieldName": "closeOnEscape",
|
|
2069
|
+
"default": "true",
|
|
2070
|
+
"description": "Whether pressing Escape closes the popover",
|
|
2071
|
+
"type": {
|
|
2072
|
+
"text": "boolean"
|
|
2073
|
+
}
|
|
2074
|
+
},
|
|
2075
|
+
{
|
|
2076
|
+
"name": "offset",
|
|
2077
|
+
"fieldName": "offset",
|
|
2078
|
+
"default": "8",
|
|
2079
|
+
"description": "Offset from the trigger element (in pixels)",
|
|
2080
|
+
"type": {
|
|
2081
|
+
"text": "number"
|
|
2082
|
+
}
|
|
2083
|
+
},
|
|
2084
|
+
{
|
|
2085
|
+
"name": "width",
|
|
2086
|
+
"fieldName": "width",
|
|
2087
|
+
"description": "Fixed width for the popover (e.g., '300px', '20rem')",
|
|
2096
2088
|
"type": {
|
|
2097
2089
|
"text": "string"
|
|
2098
2090
|
}
|
|
2099
2091
|
},
|
|
2100
2092
|
{
|
|
2101
|
-
"name": "
|
|
2102
|
-
"fieldName": "
|
|
2103
|
-
"
|
|
2093
|
+
"name": "min-width",
|
|
2094
|
+
"fieldName": "minWidth",
|
|
2095
|
+
"default": "'200px'",
|
|
2096
|
+
"description": "Minimum width for the popover (e.g., '200px', '15rem')",
|
|
2104
2097
|
"type": {
|
|
2105
2098
|
"text": "string"
|
|
2106
2099
|
}
|
|
2107
2100
|
},
|
|
2108
2101
|
{
|
|
2109
|
-
"name": "
|
|
2110
|
-
"fieldName": "
|
|
2111
|
-
"description": "
|
|
2102
|
+
"name": "max-width",
|
|
2103
|
+
"fieldName": "maxWidth",
|
|
2104
|
+
"description": "Maximum width for the popover (e.g., '400px', '25rem')",
|
|
2112
2105
|
"type": {
|
|
2113
2106
|
"text": "string"
|
|
2114
2107
|
}
|
|
2115
2108
|
}
|
|
2116
2109
|
],
|
|
2117
|
-
"tagName": "le-
|
|
2110
|
+
"tagName": "le-popover",
|
|
2118
2111
|
"events": [
|
|
2119
2112
|
{
|
|
2120
|
-
"name": "
|
|
2113
|
+
"name": "lePopoverOpen",
|
|
2121
2114
|
"type": {
|
|
2122
|
-
"text": "EventEmitter<
|
|
2115
|
+
"text": "EventEmitter<void>"
|
|
2123
2116
|
},
|
|
2124
|
-
"description": "Emitted when the
|
|
2117
|
+
"description": "Emitted when the popover opens"
|
|
2118
|
+
},
|
|
2119
|
+
{
|
|
2120
|
+
"name": "lePopoverClose",
|
|
2121
|
+
"type": {
|
|
2122
|
+
"text": "EventEmitter<void>"
|
|
2123
|
+
},
|
|
2124
|
+
"description": "Emitted when the popover closes"
|
|
2125
2125
|
}
|
|
2126
2126
|
],
|
|
2127
2127
|
"customElement": true
|
|
@@ -2130,18 +2130,18 @@
|
|
|
2130
2130
|
"exports": [
|
|
2131
2131
|
{
|
|
2132
2132
|
"kind": "js",
|
|
2133
|
-
"name": "
|
|
2133
|
+
"name": "LePopover",
|
|
2134
2134
|
"declaration": {
|
|
2135
|
-
"name": "
|
|
2136
|
-
"module": "src/components/le-
|
|
2135
|
+
"name": "LePopover",
|
|
2136
|
+
"module": "src/components/le-popover/le-popover.tsx"
|
|
2137
2137
|
}
|
|
2138
2138
|
},
|
|
2139
2139
|
{
|
|
2140
2140
|
"kind": "custom-element-definition",
|
|
2141
|
-
"name": "le-
|
|
2141
|
+
"name": "le-popover",
|
|
2142
2142
|
"declaration": {
|
|
2143
|
-
"name": "
|
|
2144
|
-
"module": "src/components/le-
|
|
2143
|
+
"name": "LePopover",
|
|
2144
|
+
"module": "src/components/le-popover/le-popover.tsx"
|
|
2145
2145
|
}
|
|
2146
2146
|
}
|
|
2147
2147
|
]
|