@vielzeug/codex 3.0.4 → 3.1.1
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 +6 -0
- package/data/catalog.json +93 -8
- package/data/llms-full.txt +10269 -8939
- package/data/llms.txt +3 -1
- package/data/manifest.json +1 -1
- package/data/packages/codex.json +1 -1
- package/data/packages/forge.json +6 -5
- package/data/packages/mesh.json +54 -0
- package/data/packages/refine.json +3 -3
- package/data/packages/sigil.json +49 -0
- package/data/packages/spell.json +30 -26
- package/data/refine.json +653 -5
- package/data/search.json +63 -15
- package/dist/cli.js +32 -0
- package/dist/cli.js.map +1 -1
- package/dist/skills.d.ts +26 -0
- package/dist/skills.js +46 -0
- package/dist/skills.js.map +1 -0
- package/package.json +4 -3
- package/skills/vielzeug/SKILL.md +153 -0
package/data/refine.json
CHANGED
|
@@ -2080,6 +2080,40 @@
|
|
|
2080
2080
|
}
|
|
2081
2081
|
]
|
|
2082
2082
|
},
|
|
2083
|
+
{
|
|
2084
|
+
"kind": "variable",
|
|
2085
|
+
"name": "KEYBOARD_SHORTCUT_TAG",
|
|
2086
|
+
"type": {
|
|
2087
|
+
"text": "'ore-keyboard-shortcut'"
|
|
2088
|
+
},
|
|
2089
|
+
"default": "'ore-keyboard-shortcut'"
|
|
2090
|
+
},
|
|
2091
|
+
{
|
|
2092
|
+
"kind": "class",
|
|
2093
|
+
"name": "OreKeyboardShortcutElement",
|
|
2094
|
+
"tagName": "ore-keyboard-shortcut",
|
|
2095
|
+
"customElement": true,
|
|
2096
|
+
"description": "",
|
|
2097
|
+
"summary": "",
|
|
2098
|
+
"demos": []
|
|
2099
|
+
},
|
|
2100
|
+
{
|
|
2101
|
+
"kind": "variable",
|
|
2102
|
+
"name": "KEYBOARD_KEY_TAG",
|
|
2103
|
+
"type": {
|
|
2104
|
+
"text": "'ore-keyboard-key'"
|
|
2105
|
+
},
|
|
2106
|
+
"default": "'ore-keyboard-key'"
|
|
2107
|
+
},
|
|
2108
|
+
{
|
|
2109
|
+
"kind": "class",
|
|
2110
|
+
"name": "OreKeyboardKeyElement",
|
|
2111
|
+
"tagName": "ore-keyboard-key",
|
|
2112
|
+
"customElement": true,
|
|
2113
|
+
"description": "",
|
|
2114
|
+
"summary": "",
|
|
2115
|
+
"demos": []
|
|
2116
|
+
},
|
|
2083
2117
|
{
|
|
2084
2118
|
"kind": "function",
|
|
2085
2119
|
"name": "createRevealState",
|
|
@@ -2600,6 +2634,155 @@
|
|
|
2600
2634
|
}
|
|
2601
2635
|
]
|
|
2602
2636
|
},
|
|
2637
|
+
{
|
|
2638
|
+
"kind": "variable",
|
|
2639
|
+
"name": "QR_CODE_TAG",
|
|
2640
|
+
"type": {
|
|
2641
|
+
"text": "'ore-qr-code'"
|
|
2642
|
+
},
|
|
2643
|
+
"default": "'ore-qr-code'",
|
|
2644
|
+
"description": "Renders a QR code for `value` as inline SVG — themeable via `currentColor`,\ncrisp at any scale, no canvas. On capacity errors the component shows an\nerror state and emits `error` rather than throwing."
|
|
2645
|
+
},
|
|
2646
|
+
{
|
|
2647
|
+
"kind": "class",
|
|
2648
|
+
"name": "OreQrCodeElement",
|
|
2649
|
+
"tagName": "ore-qr-code",
|
|
2650
|
+
"customElement": true,
|
|
2651
|
+
"description": "Renders a QR code for `value` as inline SVG — themeable via `currentColor`,\ncrisp at any scale, no canvas. On capacity errors the component shows an\nerror state and emits `error` rather than throwing.",
|
|
2652
|
+
"summary": "",
|
|
2653
|
+
"attributes": [
|
|
2654
|
+
{
|
|
2655
|
+
"name": "value",
|
|
2656
|
+
"type": {
|
|
2657
|
+
"text": "string"
|
|
2658
|
+
},
|
|
2659
|
+
"description": "The payload to encode"
|
|
2660
|
+
},
|
|
2661
|
+
{
|
|
2662
|
+
"name": "error-correction",
|
|
2663
|
+
"type": {
|
|
2664
|
+
"text": "'L' | 'M' | 'Q' | 'H'"
|
|
2665
|
+
},
|
|
2666
|
+
"description": "'L' | 'M' | 'Q' | 'H' (default 'M')"
|
|
2667
|
+
},
|
|
2668
|
+
{
|
|
2669
|
+
"name": "margin",
|
|
2670
|
+
"type": {
|
|
2671
|
+
"text": "number"
|
|
2672
|
+
},
|
|
2673
|
+
"description": "Quiet-zone modules (default 4)"
|
|
2674
|
+
},
|
|
2675
|
+
{
|
|
2676
|
+
"name": "size",
|
|
2677
|
+
"type": {
|
|
2678
|
+
"text": "'sm' | 'md' | 'lg'"
|
|
2679
|
+
},
|
|
2680
|
+
"description": "'sm' | 'md' | 'lg', or a pixel value"
|
|
2681
|
+
},
|
|
2682
|
+
{
|
|
2683
|
+
"name": "label",
|
|
2684
|
+
"type": {
|
|
2685
|
+
"text": "string"
|
|
2686
|
+
},
|
|
2687
|
+
"description": "Accessible label (default \"QR code\")"
|
|
2688
|
+
},
|
|
2689
|
+
{
|
|
2690
|
+
"name": "rounded",
|
|
2691
|
+
"type": {
|
|
2692
|
+
"text": "string"
|
|
2693
|
+
},
|
|
2694
|
+
"description": "Border radius for the card variant"
|
|
2695
|
+
}
|
|
2696
|
+
],
|
|
2697
|
+
"events": [
|
|
2698
|
+
{
|
|
2699
|
+
"name": "render",
|
|
2700
|
+
"description": "detail: `{ version, size }` after each successful render",
|
|
2701
|
+
"type": {
|
|
2702
|
+
"text": "CustomEvent"
|
|
2703
|
+
}
|
|
2704
|
+
},
|
|
2705
|
+
{
|
|
2706
|
+
"name": "error",
|
|
2707
|
+
"description": "detail: `{ error }` when encoding fails",
|
|
2708
|
+
"type": {
|
|
2709
|
+
"text": "CustomEvent"
|
|
2710
|
+
}
|
|
2711
|
+
}
|
|
2712
|
+
],
|
|
2713
|
+
"slots": [
|
|
2714
|
+
{
|
|
2715
|
+
"name": "caption",
|
|
2716
|
+
"description": "Optional caption rendered below the code"
|
|
2717
|
+
}
|
|
2718
|
+
],
|
|
2719
|
+
"cssParts": [
|
|
2720
|
+
{
|
|
2721
|
+
"name": "wrapper",
|
|
2722
|
+
"description": "Outer container"
|
|
2723
|
+
},
|
|
2724
|
+
{
|
|
2725
|
+
"name": "svg",
|
|
2726
|
+
"description": "The rendered `<svg>` element"
|
|
2727
|
+
},
|
|
2728
|
+
{
|
|
2729
|
+
"name": "caption",
|
|
2730
|
+
"description": "Caption slot container"
|
|
2731
|
+
},
|
|
2732
|
+
{
|
|
2733
|
+
"name": "error",
|
|
2734
|
+
"description": "Error-state container"
|
|
2735
|
+
}
|
|
2736
|
+
],
|
|
2737
|
+
"cssProperties": [
|
|
2738
|
+
{
|
|
2739
|
+
"name": "--qr-code-dark",
|
|
2740
|
+
"description": "Module color (default `currentColor`)"
|
|
2741
|
+
},
|
|
2742
|
+
{
|
|
2743
|
+
"name": "--qr-code-light",
|
|
2744
|
+
"description": "Background color (default `transparent`)"
|
|
2745
|
+
},
|
|
2746
|
+
{
|
|
2747
|
+
"name": "--qr-code-size",
|
|
2748
|
+
"description": "Rendered size in px (overrides `size`)"
|
|
2749
|
+
},
|
|
2750
|
+
{
|
|
2751
|
+
"name": "--qr-code-radius",
|
|
2752
|
+
"description": "Border radius"
|
|
2753
|
+
},
|
|
2754
|
+
{
|
|
2755
|
+
"name": "--qr-code-padding",
|
|
2756
|
+
"description": "Inner padding"
|
|
2757
|
+
},
|
|
2758
|
+
{
|
|
2759
|
+
"name": "--qr-code-bg",
|
|
2760
|
+
"description": "Card background (variant=\"card\")"
|
|
2761
|
+
},
|
|
2762
|
+
{
|
|
2763
|
+
"name": "--qr-code-border",
|
|
2764
|
+
"description": "Card border width (variant=\"card\")"
|
|
2765
|
+
},
|
|
2766
|
+
{
|
|
2767
|
+
"name": "--qr-code-border-color",
|
|
2768
|
+
"description": "Card border color (variant=\"card\")"
|
|
2769
|
+
},
|
|
2770
|
+
{
|
|
2771
|
+
"name": "--qr-code-shadow",
|
|
2772
|
+
"description": "Card box shadow (variant=\"card\")"
|
|
2773
|
+
},
|
|
2774
|
+
{
|
|
2775
|
+
"name": "--qr-code-error-color",
|
|
2776
|
+
"description": "Error-state text color"
|
|
2777
|
+
}
|
|
2778
|
+
],
|
|
2779
|
+
"demos": [
|
|
2780
|
+
{
|
|
2781
|
+
"url": "",
|
|
2782
|
+
"description": "```html\n<ore-qr-code value=\"https://example.com\"></ore-qr-code>\n<ore-qr-code value=\"otpauth://…\" error-correction=\"H\" size=\"256\"></ore-qr-code>\n```"
|
|
2783
|
+
}
|
|
2784
|
+
]
|
|
2785
|
+
},
|
|
2603
2786
|
{
|
|
2604
2787
|
"kind": "variable",
|
|
2605
2788
|
"name": "SEPARATOR_TAG",
|
|
@@ -4231,6 +4414,13 @@
|
|
|
4231
4414
|
},
|
|
4232
4415
|
"description": "Show a close (×) button"
|
|
4233
4416
|
},
|
|
4417
|
+
{
|
|
4418
|
+
"name": "embedded",
|
|
4419
|
+
"type": {
|
|
4420
|
+
"text": "boolean"
|
|
4421
|
+
},
|
|
4422
|
+
"description": "Passive surface for a host that owns lifecycle and announcements; the close button only emits `dismiss`"
|
|
4423
|
+
},
|
|
4234
4424
|
{
|
|
4235
4425
|
"name": "accented",
|
|
4236
4426
|
"type": {
|
|
@@ -4249,7 +4439,7 @@
|
|
|
4249
4439
|
"events": [
|
|
4250
4440
|
{
|
|
4251
4441
|
"name": "dismiss",
|
|
4252
|
-
"description": "Fired when the alert is dismissed. detail: { originalEvent: MouseEvent }",
|
|
4442
|
+
"description": "Fired when the alert is dismissed (after the exit animation, or immediately when `embedded`). detail: { originalEvent: MouseEvent }",
|
|
4253
4443
|
"type": {
|
|
4254
4444
|
"text": "CustomEvent"
|
|
4255
4445
|
}
|
|
@@ -4630,9 +4820,9 @@
|
|
|
4630
4820
|
{
|
|
4631
4821
|
"name": "variant",
|
|
4632
4822
|
"type": {
|
|
4633
|
-
"text": "'solid' | 'flat' | 'bordered' | 'outline' | 'ghost'"
|
|
4823
|
+
"text": "'solid' | 'flat' | 'bordered' | 'outline' | 'ghost' | 'frost'"
|
|
4634
4824
|
},
|
|
4635
|
-
"description": "Visual variant: 'solid' | 'flat' | 'bordered' | 'outline' | 'ghost'"
|
|
4825
|
+
"description": "Visual variant: 'solid' | 'flat' | 'bordered' | 'outline' | 'ghost' | 'frost'"
|
|
4636
4826
|
},
|
|
4637
4827
|
{
|
|
4638
4828
|
"name": "size",
|
|
@@ -4655,6 +4845,13 @@
|
|
|
4655
4845
|
},
|
|
4656
4846
|
"description": "Interaction mode: 'static' | 'removable' | 'selectable' | 'action'"
|
|
4657
4847
|
},
|
|
4848
|
+
{
|
|
4849
|
+
"name": "layout",
|
|
4850
|
+
"type": {
|
|
4851
|
+
"text": "string"
|
|
4852
|
+
},
|
|
4853
|
+
"description": "Content layout: 'inline' (default) | 'stacked' — stacked places the icon above a wrapping label, for tile-like selectable chips"
|
|
4854
|
+
},
|
|
4658
4855
|
{
|
|
4659
4856
|
"name": "disabled",
|
|
4660
4857
|
"type": {
|
|
@@ -4768,6 +4965,10 @@
|
|
|
4768
4965
|
"name": "--chip-gap",
|
|
4769
4966
|
"description": "Gap between icon, label and remove button"
|
|
4770
4967
|
},
|
|
4968
|
+
{
|
|
4969
|
+
"name": "--chip-icon-size",
|
|
4970
|
+
"description": "Size of the slotted icon (default: 1em)"
|
|
4971
|
+
},
|
|
4771
4972
|
{
|
|
4772
4973
|
"name": "--chip-hover-bg",
|
|
4773
4974
|
"description": "Background on hover (interactive modes)"
|
|
@@ -4965,6 +5166,13 @@
|
|
|
4965
5166
|
},
|
|
4966
5167
|
"description": "'linear' (default) | 'circular' | 'vertical'"
|
|
4967
5168
|
},
|
|
5169
|
+
{
|
|
5170
|
+
"name": "segments",
|
|
5171
|
+
"type": {
|
|
5172
|
+
"text": "number"
|
|
5173
|
+
},
|
|
5174
|
+
"description": "Split the linear bar into discrete blocks (tracks, steps, stages)"
|
|
5175
|
+
},
|
|
4968
5176
|
{
|
|
4969
5177
|
"name": "label",
|
|
4970
5178
|
"type": {
|
|
@@ -4991,6 +5199,10 @@
|
|
|
4991
5199
|
{
|
|
4992
5200
|
"name": "fill",
|
|
4993
5201
|
"description": "Progress fill element."
|
|
5202
|
+
},
|
|
5203
|
+
{
|
|
5204
|
+
"name": "segment",
|
|
5205
|
+
"description": "One block when `segments` is set; carries `data-filled` once reached."
|
|
4994
5206
|
}
|
|
4995
5207
|
],
|
|
4996
5208
|
"cssProperties": [
|
|
@@ -5037,12 +5249,16 @@
|
|
|
5037
5249
|
{
|
|
5038
5250
|
"name": "--progress-circular-title-size",
|
|
5039
5251
|
"description": "Font size of the title inside the ring (default --text-xs)"
|
|
5252
|
+
},
|
|
5253
|
+
{
|
|
5254
|
+
"name": "--progress-segment-gap",
|
|
5255
|
+
"description": "Gap between blocks when `segments` is set (default --size-1)"
|
|
5040
5256
|
}
|
|
5041
5257
|
],
|
|
5042
5258
|
"demos": [
|
|
5043
5259
|
{
|
|
5044
5260
|
"url": "",
|
|
5045
|
-
"description": "```html\n<ore-progress value=\"45\"></ore-progress>\n<ore-progress value=\"75\" max=\"100\" color=\"success\" size=\"lg\"></ore-progress>\n<ore-progress indeterminate color=\"primary\" label=\"Loading…\"></ore-progress>\n```"
|
|
5261
|
+
"description": "```html\n<ore-progress value=\"45\"></ore-progress>\n<ore-progress value=\"75\" max=\"100\" color=\"success\" size=\"lg\"></ore-progress>\n<ore-progress indeterminate color=\"primary\" label=\"Loading…\"></ore-progress>\n<ore-progress value=\"2\" max=\"6\" segments=\"6\" label=\"Struggle\"></ore-progress>\n```"
|
|
5046
5262
|
}
|
|
5047
5263
|
]
|
|
5048
5264
|
},
|
|
@@ -5196,7 +5412,7 @@
|
|
|
5196
5412
|
"name": "OreToastElement",
|
|
5197
5413
|
"tagName": "ore-toast",
|
|
5198
5414
|
"customElement": true,
|
|
5199
|
-
"description": "Declarative toast host. It subscribes to the service for its scope and\nrenders notifications, but has no imperative mutation API of its own.",
|
|
5415
|
+
"description": "Declarative toast host. It subscribes to the service for its scope and\nrenders notifications, but has no imperative mutation API of its own.\nNotifications render as a vertical list (newest nearest the anchored edge)\ninside polite and assertive live regions. Entries are keyed by id, so store\nupdates (timer pauses, message updates, phase changes) patch the existing\nDOM instead of re-creating it — focus, in-flight gestures, and CSS\ntransitions all survive.",
|
|
5200
5416
|
"summary": "",
|
|
5201
5417
|
"attributes": [
|
|
5202
5418
|
{
|
|
@@ -5214,6 +5430,54 @@
|
|
|
5214
5430
|
"description": "Maximum live notifications for the scoped service."
|
|
5215
5431
|
}
|
|
5216
5432
|
],
|
|
5433
|
+
"cssParts": [
|
|
5434
|
+
{
|
|
5435
|
+
"name": "container",
|
|
5436
|
+
"description": "Notification list."
|
|
5437
|
+
},
|
|
5438
|
+
{
|
|
5439
|
+
"name": "toast-wrapper",
|
|
5440
|
+
"description": "Per-notification layout wrapper (swipe target)."
|
|
5441
|
+
},
|
|
5442
|
+
{
|
|
5443
|
+
"name": "toast-inner",
|
|
5444
|
+
"description": "Per-notification motion target."
|
|
5445
|
+
},
|
|
5446
|
+
{
|
|
5447
|
+
"name": "progress",
|
|
5448
|
+
"description": "Auto-dismiss progress bar."
|
|
5449
|
+
}
|
|
5450
|
+
],
|
|
5451
|
+
"cssProperties": [
|
|
5452
|
+
{
|
|
5453
|
+
"name": "--toast-max-width",
|
|
5454
|
+
"description": "Panel width cap (default 400px; full width on phones)."
|
|
5455
|
+
},
|
|
5456
|
+
{
|
|
5457
|
+
"name": "--toast-gap",
|
|
5458
|
+
"description": "Gap between notifications."
|
|
5459
|
+
},
|
|
5460
|
+
{
|
|
5461
|
+
"name": "--toast-bg",
|
|
5462
|
+
"description": "Opaque surface for flat/bordered notifications."
|
|
5463
|
+
},
|
|
5464
|
+
{
|
|
5465
|
+
"name": "--toast-shadow",
|
|
5466
|
+
"description": "Elevation shadow."
|
|
5467
|
+
},
|
|
5468
|
+
{
|
|
5469
|
+
"name": "--toast-enter-duration / --toast-exit-duration",
|
|
5470
|
+
"description": "Motion durations."
|
|
5471
|
+
},
|
|
5472
|
+
{
|
|
5473
|
+
"name": "--toast-progress-height",
|
|
5474
|
+
"description": "Height of the auto-dismiss progress bar."
|
|
5475
|
+
},
|
|
5476
|
+
{
|
|
5477
|
+
"name": "--toast-inset-top / --toast-inset-bottom / --toast-inset-left / --toast-inset-right",
|
|
5478
|
+
"description": "Viewport insets."
|
|
5479
|
+
}
|
|
5480
|
+
],
|
|
5217
5481
|
"demos": []
|
|
5218
5482
|
},
|
|
5219
5483
|
{
|
|
@@ -6249,6 +6513,227 @@
|
|
|
6249
6513
|
"kind": "variable",
|
|
6250
6514
|
"name": "value"
|
|
6251
6515
|
},
|
|
6516
|
+
{
|
|
6517
|
+
"kind": "variable",
|
|
6518
|
+
"name": "COUNTER_HOLD_DELAY_MS",
|
|
6519
|
+
"type": {
|
|
6520
|
+
"text": "number"
|
|
6521
|
+
},
|
|
6522
|
+
"default": "400",
|
|
6523
|
+
"description": "Hold delay before auto-repeat starts, then the repeat interval."
|
|
6524
|
+
},
|
|
6525
|
+
{
|
|
6526
|
+
"kind": "variable",
|
|
6527
|
+
"name": "COUNTER_HOLD_REPEAT_MS",
|
|
6528
|
+
"type": {
|
|
6529
|
+
"text": "number"
|
|
6530
|
+
},
|
|
6531
|
+
"default": "120"
|
|
6532
|
+
},
|
|
6533
|
+
{
|
|
6534
|
+
"kind": "variable",
|
|
6535
|
+
"name": "COUNTER_TAG",
|
|
6536
|
+
"type": {
|
|
6537
|
+
"text": "'ore-counter'"
|
|
6538
|
+
},
|
|
6539
|
+
"default": "'ore-counter'",
|
|
6540
|
+
"description": "A large-target tally control for counting things at a glance: `−` / value / `+` with an\noptional icon, label and hint. Designed for touch and arm's-length use (tabletop trackers,\ninventories, scoreboards) rather than typed form entry — use `ore-number-input` for that.\n\nHolding any button auto-repeats. The value is announced through a live region and is\nkeyboard-operable as a spinbutton (Arrow keys, Home/End, Page Up/Down). Set `quick-steps` to add an\nouter pair of buttons that move by `large-step`, for values that change in chunks (damage, scores)."
|
|
6541
|
+
},
|
|
6542
|
+
{
|
|
6543
|
+
"kind": "class",
|
|
6544
|
+
"name": "OreCounterElement",
|
|
6545
|
+
"tagName": "ore-counter",
|
|
6546
|
+
"customElement": true,
|
|
6547
|
+
"description": "A large-target tally control for counting things at a glance: `−` / value / `+` with an\noptional icon, label and hint. Designed for touch and arm's-length use (tabletop trackers,\ninventories, scoreboards) rather than typed form entry — use `ore-number-input` for that.\nHolding any button auto-repeats. The value is announced through a live region and is\nkeyboard-operable as a spinbutton (Arrow keys, Home/End, Page Up/Down). Set `quick-steps` to add an\nouter pair of buttons that move by `large-step`, for values that change in chunks (damage, scores).",
|
|
6548
|
+
"summary": "",
|
|
6549
|
+
"attributes": [
|
|
6550
|
+
{
|
|
6551
|
+
"name": "value",
|
|
6552
|
+
"type": {
|
|
6553
|
+
"text": "number"
|
|
6554
|
+
},
|
|
6555
|
+
"description": "Current value (default: 0)",
|
|
6556
|
+
"default": "0"
|
|
6557
|
+
},
|
|
6558
|
+
{
|
|
6559
|
+
"name": "min",
|
|
6560
|
+
"type": {
|
|
6561
|
+
"text": "number"
|
|
6562
|
+
},
|
|
6563
|
+
"description": "Minimum value (default: 0)",
|
|
6564
|
+
"default": "0"
|
|
6565
|
+
},
|
|
6566
|
+
{
|
|
6567
|
+
"name": "max",
|
|
6568
|
+
"type": {
|
|
6569
|
+
"text": "number"
|
|
6570
|
+
},
|
|
6571
|
+
"description": "Maximum value"
|
|
6572
|
+
},
|
|
6573
|
+
{
|
|
6574
|
+
"name": "step",
|
|
6575
|
+
"type": {
|
|
6576
|
+
"text": "number"
|
|
6577
|
+
},
|
|
6578
|
+
"description": "Increment/decrement step (default: 1)",
|
|
6579
|
+
"default": "1"
|
|
6580
|
+
},
|
|
6581
|
+
{
|
|
6582
|
+
"name": "large-step",
|
|
6583
|
+
"type": {
|
|
6584
|
+
"text": "number"
|
|
6585
|
+
},
|
|
6586
|
+
"description": "Step for Page Up/Down and the quick-step buttons (default: 10 × step)",
|
|
6587
|
+
"default": "10 × step"
|
|
6588
|
+
},
|
|
6589
|
+
{
|
|
6590
|
+
"name": "quick-steps",
|
|
6591
|
+
"type": {
|
|
6592
|
+
"text": "boolean"
|
|
6593
|
+
},
|
|
6594
|
+
"description": "Adds an outer −/+ pair that moves by `large-step`"
|
|
6595
|
+
},
|
|
6596
|
+
{
|
|
6597
|
+
"name": "disabled",
|
|
6598
|
+
"type": {
|
|
6599
|
+
"text": "boolean"
|
|
6600
|
+
},
|
|
6601
|
+
"description": "Disables the control"
|
|
6602
|
+
},
|
|
6603
|
+
{
|
|
6604
|
+
"name": "readonly",
|
|
6605
|
+
"type": {
|
|
6606
|
+
"text": "boolean"
|
|
6607
|
+
},
|
|
6608
|
+
"description": "Shows the value without the −/+ buttons"
|
|
6609
|
+
},
|
|
6610
|
+
{
|
|
6611
|
+
"name": "label",
|
|
6612
|
+
"type": {
|
|
6613
|
+
"text": "string"
|
|
6614
|
+
},
|
|
6615
|
+
"description": "Visible label and accessible name"
|
|
6616
|
+
},
|
|
6617
|
+
{
|
|
6618
|
+
"name": "hint",
|
|
6619
|
+
"type": {
|
|
6620
|
+
"text": "string"
|
|
6621
|
+
},
|
|
6622
|
+
"description": "One-line hint under the controls"
|
|
6623
|
+
},
|
|
6624
|
+
{
|
|
6625
|
+
"name": "color",
|
|
6626
|
+
"type": {
|
|
6627
|
+
"text": "'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error'"
|
|
6628
|
+
},
|
|
6629
|
+
"description": "Theme color: 'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error'"
|
|
6630
|
+
},
|
|
6631
|
+
{
|
|
6632
|
+
"name": "size",
|
|
6633
|
+
"type": {
|
|
6634
|
+
"text": "'sm' | 'md' | 'lg'"
|
|
6635
|
+
},
|
|
6636
|
+
"description": "'sm' | 'md' | 'lg'"
|
|
6637
|
+
}
|
|
6638
|
+
],
|
|
6639
|
+
"events": [
|
|
6640
|
+
{
|
|
6641
|
+
"name": "change",
|
|
6642
|
+
"description": "Fired after every accepted change. detail: { value: number, delta: number }",
|
|
6643
|
+
"type": {
|
|
6644
|
+
"text": "CustomEvent"
|
|
6645
|
+
}
|
|
6646
|
+
}
|
|
6647
|
+
],
|
|
6648
|
+
"slots": [
|
|
6649
|
+
{
|
|
6650
|
+
"name": "icon",
|
|
6651
|
+
"description": "Leading icon or token artwork shown before the label"
|
|
6652
|
+
},
|
|
6653
|
+
{
|
|
6654
|
+
"name": "hint",
|
|
6655
|
+
"description": "Custom hint content (replaces the `hint` attribute)"
|
|
6656
|
+
}
|
|
6657
|
+
],
|
|
6658
|
+
"cssParts": [
|
|
6659
|
+
{
|
|
6660
|
+
"name": "counter",
|
|
6661
|
+
"description": "Root container."
|
|
6662
|
+
},
|
|
6663
|
+
{
|
|
6664
|
+
"name": "header",
|
|
6665
|
+
"description": "Icon and label row."
|
|
6666
|
+
},
|
|
6667
|
+
{
|
|
6668
|
+
"name": "label",
|
|
6669
|
+
"description": "Label element."
|
|
6670
|
+
},
|
|
6671
|
+
{
|
|
6672
|
+
"name": "controls",
|
|
6673
|
+
"description": "Buttons and value row."
|
|
6674
|
+
},
|
|
6675
|
+
{
|
|
6676
|
+
"name": "decrement-large-btn",
|
|
6677
|
+
"description": "Quick-step decrement button (`quick-steps` only)."
|
|
6678
|
+
},
|
|
6679
|
+
{
|
|
6680
|
+
"name": "decrement-btn",
|
|
6681
|
+
"description": "Decrement button."
|
|
6682
|
+
},
|
|
6683
|
+
{
|
|
6684
|
+
"name": "value",
|
|
6685
|
+
"description": "Value output."
|
|
6686
|
+
},
|
|
6687
|
+
{
|
|
6688
|
+
"name": "increment-btn",
|
|
6689
|
+
"description": "Increment button."
|
|
6690
|
+
},
|
|
6691
|
+
{
|
|
6692
|
+
"name": "increment-large-btn",
|
|
6693
|
+
"description": "Quick-step increment button (`quick-steps` only)."
|
|
6694
|
+
},
|
|
6695
|
+
{
|
|
6696
|
+
"name": "hint",
|
|
6697
|
+
"description": "Hint element."
|
|
6698
|
+
}
|
|
6699
|
+
],
|
|
6700
|
+
"cssProperties": [
|
|
6701
|
+
{
|
|
6702
|
+
"name": "--counter-value-size",
|
|
6703
|
+
"description": "Font size of the value"
|
|
6704
|
+
},
|
|
6705
|
+
{
|
|
6706
|
+
"name": "--counter-button-size",
|
|
6707
|
+
"description": "Width/height of the −/+ buttons"
|
|
6708
|
+
},
|
|
6709
|
+
{
|
|
6710
|
+
"name": "--counter-gap",
|
|
6711
|
+
"description": "Gap between the buttons and the value"
|
|
6712
|
+
},
|
|
6713
|
+
{
|
|
6714
|
+
"name": "--counter-bg",
|
|
6715
|
+
"description": "Background of the control"
|
|
6716
|
+
},
|
|
6717
|
+
{
|
|
6718
|
+
"name": "--counter-border-color",
|
|
6719
|
+
"description": "Border color of the control"
|
|
6720
|
+
},
|
|
6721
|
+
{
|
|
6722
|
+
"name": "--counter-radius",
|
|
6723
|
+
"description": "Border radius of the control"
|
|
6724
|
+
},
|
|
6725
|
+
{
|
|
6726
|
+
"name": "--counter-icon-size",
|
|
6727
|
+
"description": "Size of the slotted icon"
|
|
6728
|
+
}
|
|
6729
|
+
],
|
|
6730
|
+
"demos": [
|
|
6731
|
+
{
|
|
6732
|
+
"url": "",
|
|
6733
|
+
"description": "```html\n<ore-counter label=\"Stamina\" value=\"3\" hint=\"Pay for actions\">\n <ore-icon slot=\"icon\" name=\"zap\"></ore-icon>\n</ore-counter>\n<ore-counter label=\"Score\" value=\"10\" min=\"0\" max=\"99\" size=\"lg\" color=\"primary\"></ore-counter>\n<ore-counter label=\"Damage\" value=\"12\" large-step=\"5\" quick-steps></ore-counter>\n```"
|
|
6734
|
+
}
|
|
6735
|
+
]
|
|
6736
|
+
},
|
|
6252
6737
|
{
|
|
6253
6738
|
"kind": "variable",
|
|
6254
6739
|
"name": "COLUMN_TAG",
|
|
@@ -7884,6 +8369,169 @@
|
|
|
7884
8369
|
}
|
|
7885
8370
|
]
|
|
7886
8371
|
},
|
|
8372
|
+
{
|
|
8373
|
+
"kind": "variable",
|
|
8374
|
+
"name": "QR_SCANNER_TAG",
|
|
8375
|
+
"type": {
|
|
8376
|
+
"text": "'ore-qr-scanner'"
|
|
8377
|
+
},
|
|
8378
|
+
"default": "'ore-qr-scanner'",
|
|
8379
|
+
"description": "Camera QR scanner built on `createQrScanner` (native `BarcodeDetector`).\n`active` starts/stops the camera externally; internal Start/Stop controls\ndrive the same intent. Unsupported browsers render the `unsupported` slot\nso apps can substitute a paste fallback."
|
|
8380
|
+
},
|
|
8381
|
+
{
|
|
8382
|
+
"kind": "class",
|
|
8383
|
+
"name": "OreQrScannerElement",
|
|
8384
|
+
"tagName": "ore-qr-scanner",
|
|
8385
|
+
"customElement": true,
|
|
8386
|
+
"description": "Camera QR scanner built on `createQrScanner` (native `BarcodeDetector`).\n`active` starts/stops the camera externally; internal Start/Stop controls\ndrive the same intent. Unsupported browsers render the `unsupported` slot\nso apps can substitute a paste fallback.",
|
|
8387
|
+
"summary": "",
|
|
8388
|
+
"attributes": [
|
|
8389
|
+
{
|
|
8390
|
+
"name": "active",
|
|
8391
|
+
"type": {
|
|
8392
|
+
"text": "boolean"
|
|
8393
|
+
},
|
|
8394
|
+
"description": "Start/stop the camera"
|
|
8395
|
+
},
|
|
8396
|
+
{
|
|
8397
|
+
"name": "facing-mode",
|
|
8398
|
+
"type": {
|
|
8399
|
+
"text": "'environment' | 'user'"
|
|
8400
|
+
},
|
|
8401
|
+
"description": "'environment' | 'user' (default 'environment')"
|
|
8402
|
+
},
|
|
8403
|
+
{
|
|
8404
|
+
"name": "interval",
|
|
8405
|
+
"type": {
|
|
8406
|
+
"text": "number"
|
|
8407
|
+
},
|
|
8408
|
+
"description": "Ms between detection passes (default 200)"
|
|
8409
|
+
},
|
|
8410
|
+
{
|
|
8411
|
+
"name": "once",
|
|
8412
|
+
"type": {
|
|
8413
|
+
"text": "boolean"
|
|
8414
|
+
},
|
|
8415
|
+
"description": "Stop after first scan (default true)"
|
|
8416
|
+
},
|
|
8417
|
+
{
|
|
8418
|
+
"name": "size",
|
|
8419
|
+
"type": {
|
|
8420
|
+
"text": "'sm' | 'md' | 'lg'"
|
|
8421
|
+
},
|
|
8422
|
+
"description": "'sm' | 'md' | 'lg', or a pixel value"
|
|
8423
|
+
},
|
|
8424
|
+
{
|
|
8425
|
+
"name": "label",
|
|
8426
|
+
"type": {
|
|
8427
|
+
"text": "string"
|
|
8428
|
+
},
|
|
8429
|
+
"description": "Region label (default \"QR code scanner\")"
|
|
8430
|
+
},
|
|
8431
|
+
{
|
|
8432
|
+
"name": "rounded",
|
|
8433
|
+
"type": {
|
|
8434
|
+
"text": "string"
|
|
8435
|
+
},
|
|
8436
|
+
"description": "Border radius"
|
|
8437
|
+
}
|
|
8438
|
+
],
|
|
8439
|
+
"events": [
|
|
8440
|
+
{
|
|
8441
|
+
"name": "scan",
|
|
8442
|
+
"description": "detail: `{ value }` on each decode",
|
|
8443
|
+
"type": {
|
|
8444
|
+
"text": "CustomEvent"
|
|
8445
|
+
}
|
|
8446
|
+
},
|
|
8447
|
+
{
|
|
8448
|
+
"name": "error",
|
|
8449
|
+
"description": "detail: `{ error }` on permission/support/detection failure",
|
|
8450
|
+
"type": {
|
|
8451
|
+
"text": "CustomEvent"
|
|
8452
|
+
}
|
|
8453
|
+
},
|
|
8454
|
+
{
|
|
8455
|
+
"name": "status",
|
|
8456
|
+
"description": "detail: `{ status }` on view-state transitions",
|
|
8457
|
+
"type": {
|
|
8458
|
+
"text": "CustomEvent"
|
|
8459
|
+
}
|
|
8460
|
+
}
|
|
8461
|
+
],
|
|
8462
|
+
"slots": [
|
|
8463
|
+
{
|
|
8464
|
+
"name": "overlay",
|
|
8465
|
+
"description": "Content layered over the camera preview"
|
|
8466
|
+
},
|
|
8467
|
+
{
|
|
8468
|
+
"name": "unsupported",
|
|
8469
|
+
"description": "Fallback UI when scanning is unsupported (e.g. paste input)"
|
|
8470
|
+
},
|
|
8471
|
+
{
|
|
8472
|
+
"name": "footer",
|
|
8473
|
+
"description": "Extra content below the status row"
|
|
8474
|
+
}
|
|
8475
|
+
],
|
|
8476
|
+
"cssParts": [
|
|
8477
|
+
{
|
|
8478
|
+
"name": "wrapper",
|
|
8479
|
+
"description": "Outer container"
|
|
8480
|
+
},
|
|
8481
|
+
{
|
|
8482
|
+
"name": "stage",
|
|
8483
|
+
"description": "Square preview area (video + overlays)"
|
|
8484
|
+
},
|
|
8485
|
+
{
|
|
8486
|
+
"name": "video",
|
|
8487
|
+
"description": "The `<video>` preview element"
|
|
8488
|
+
},
|
|
8489
|
+
{
|
|
8490
|
+
"name": "viewfinder",
|
|
8491
|
+
"description": "Decorative scan frame over the preview"
|
|
8492
|
+
},
|
|
8493
|
+
{
|
|
8494
|
+
"name": "state",
|
|
8495
|
+
"description": "Idle/error/denied/unsupported/result panel"
|
|
8496
|
+
},
|
|
8497
|
+
{
|
|
8498
|
+
"name": "status",
|
|
8499
|
+
"description": "Live status line"
|
|
8500
|
+
},
|
|
8501
|
+
{
|
|
8502
|
+
"name": "controls",
|
|
8503
|
+
"description": "Button row"
|
|
8504
|
+
}
|
|
8505
|
+
],
|
|
8506
|
+
"cssProperties": [
|
|
8507
|
+
{
|
|
8508
|
+
"name": "--qr-scanner-size",
|
|
8509
|
+
"description": "Preview edge length in px (overrides `size`)"
|
|
8510
|
+
},
|
|
8511
|
+
{
|
|
8512
|
+
"name": "--qr-scanner-radius",
|
|
8513
|
+
"description": "Border radius"
|
|
8514
|
+
},
|
|
8515
|
+
{
|
|
8516
|
+
"name": "--qr-scanner-bg",
|
|
8517
|
+
"description": "Preview background while idle"
|
|
8518
|
+
},
|
|
8519
|
+
{
|
|
8520
|
+
"name": "--qr-scanner-viewfinder-color",
|
|
8521
|
+
"description": "Viewfinder frame color"
|
|
8522
|
+
},
|
|
8523
|
+
{
|
|
8524
|
+
"name": "--qr-scanner-status-color",
|
|
8525
|
+
"description": "Status text color"
|
|
8526
|
+
}
|
|
8527
|
+
],
|
|
8528
|
+
"demos": [
|
|
8529
|
+
{
|
|
8530
|
+
"url": "",
|
|
8531
|
+
"description": "```html\n<ore-qr-scanner active @scan=${(e) => pair(e.detail.value)}></ore-qr-scanner>\n```"
|
|
8532
|
+
}
|
|
8533
|
+
]
|
|
8534
|
+
},
|
|
7887
8535
|
{
|
|
7888
8536
|
"kind": "variable",
|
|
7889
8537
|
"name": "RADIO_TAG",
|