@vielzeug/refine 3.2.1 → 3.3.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/dist/alert.cjs +3 -3
- package/dist/alert.cjs.map +1 -1
- package/dist/alert.js +11 -4
- package/dist/alert.js.map +1 -1
- package/dist/chip.cjs +9 -9
- package/dist/chip.cjs.map +1 -1
- package/dist/chip.js +38 -35
- package/dist/chip.js.map +1 -1
- package/dist/command-palette.cjs +5 -5
- package/dist/command-palette.cjs.map +1 -1
- package/dist/command-palette.js +5 -5
- package/dist/command-palette.js.map +1 -1
- package/dist/content/card/card.css.cjs +1 -1
- package/dist/content/card/card.css.cjs.map +1 -1
- package/dist/content/card/card.css.js +1 -1
- package/dist/content/card/card.css.js.map +1 -1
- package/dist/content/index.d.ts +4 -0
- package/dist/content/index.d.ts.map +1 -1
- package/dist/content/keyboard-key/keyboard-key.css.cjs +2 -0
- package/dist/content/keyboard-key/keyboard-key.css.cjs.map +1 -0
- package/dist/content/keyboard-key/keyboard-key.css.js +6 -0
- package/dist/content/keyboard-key/keyboard-key.css.js.map +1 -0
- package/dist/content/keyboard-key/keyboard-key.d.ts +12 -0
- package/dist/content/keyboard-key/keyboard-key.d.ts.map +1 -0
- package/dist/content/keyboard-key/keyboard-shortcut.css.cjs +2 -0
- package/dist/content/keyboard-key/keyboard-shortcut.css.cjs.map +1 -0
- package/dist/content/keyboard-key/keyboard-shortcut.css.js +6 -0
- package/dist/content/keyboard-key/keyboard-shortcut.css.js.map +1 -0
- package/dist/content/qr-code/qr-code.css.cjs +2 -0
- package/dist/content/qr-code/qr-code.css.cjs.map +1 -0
- package/dist/content/qr-code/qr-code.css.js +6 -0
- package/dist/content/qr-code/qr-code.css.js.map +1 -0
- package/dist/content/qr-code/qr-code.d.ts +74 -0
- package/dist/content/qr-code/qr-code.d.ts.map +1 -0
- package/dist/core/positioner.cjs +1 -1
- package/dist/core/positioner.cjs.map +1 -1
- package/dist/core/positioner.d.ts +4 -1
- package/dist/core/positioner.d.ts.map +1 -1
- package/dist/core/positioner.js +10 -5
- package/dist/core/positioner.js.map +1 -1
- package/dist/counter.cjs +91 -0
- package/dist/counter.cjs.map +1 -0
- package/dist/counter.js +180 -0
- package/dist/counter.js.map +1 -0
- package/dist/custom-elements.json +793 -17
- package/dist/disclosure/tabs/tabs.css.cjs +1 -1
- package/dist/disclosure/tabs/tabs.css.cjs.map +1 -1
- package/dist/disclosure/tabs/tabs.css.js +1 -1
- package/dist/disclosure/tabs/tabs.css.js.map +1 -1
- package/dist/feedback/alert/alert.d.ts +8 -1
- package/dist/feedback/alert/alert.d.ts.map +1 -1
- package/dist/feedback/chip/chip.css.cjs +1 -1
- package/dist/feedback/chip/chip.css.cjs.map +1 -1
- package/dist/feedback/chip/chip.css.js +1 -1
- package/dist/feedback/chip/chip.css.js.map +1 -1
- package/dist/feedback/chip/chip.d.ts +6 -2
- package/dist/feedback/chip/chip.d.ts.map +1 -1
- package/dist/feedback/progress/progress.css.cjs +1 -1
- package/dist/feedback/progress/progress.css.cjs.map +1 -1
- package/dist/feedback/progress/progress.css.js +1 -1
- package/dist/feedback/progress/progress.css.js.map +1 -1
- package/dist/feedback/progress/progress.d.ts +6 -0
- package/dist/feedback/progress/progress.d.ts.map +1 -1
- package/dist/feedback/toast/toast.css.cjs +1 -1
- package/dist/feedback/toast/toast.css.cjs.map +1 -1
- package/dist/feedback/toast/toast.css.js +1 -1
- package/dist/feedback/toast/toast.css.js.map +1 -1
- package/dist/feedback/toast/toast.d.ts.map +1 -1
- package/dist/frameworks/elements.d.ts +1 -1
- package/dist/inputs/button/button.css.cjs +1 -1
- package/dist/inputs/button/button.css.cjs.map +1 -1
- package/dist/inputs/button/button.css.js +1 -1
- package/dist/inputs/button/button.css.js.map +1 -1
- package/dist/inputs/combobox/combobox.css.cjs +1 -1
- package/dist/inputs/combobox/combobox.css.cjs.map +1 -1
- package/dist/inputs/combobox/combobox.css.js +1 -1
- package/dist/inputs/combobox/combobox.css.js.map +1 -1
- package/dist/inputs/counter/counter.css.cjs +2 -0
- package/dist/inputs/counter/counter.css.cjs.map +1 -0
- package/dist/inputs/counter/counter.css.js +6 -0
- package/dist/inputs/counter/counter.css.js.map +1 -0
- package/dist/inputs/counter/counter.d.ts +100 -0
- package/dist/inputs/counter/counter.d.ts.map +1 -0
- package/dist/inputs/date-picker/date-picker.css.cjs +1 -1
- package/dist/inputs/date-picker/date-picker.css.cjs.map +1 -1
- package/dist/inputs/date-picker/date-picker.css.js +1 -1
- package/dist/inputs/date-picker/date-picker.css.js.map +1 -1
- package/dist/inputs/index.d.ts +4 -0
- package/dist/inputs/index.d.ts.map +1 -1
- package/dist/inputs/input/input.css.cjs +1 -1
- package/dist/inputs/input/input.css.cjs.map +1 -1
- package/dist/inputs/input/input.css.js +1 -1
- package/dist/inputs/input/input.css.js.map +1 -1
- package/dist/inputs/number-input/number-input.css.cjs +1 -1
- package/dist/inputs/number-input/number-input.css.cjs.map +1 -1
- package/dist/inputs/number-input/number-input.css.js +1 -1
- package/dist/inputs/number-input/number-input.css.js.map +1 -1
- package/dist/inputs/qr-scanner/qr-scanner.css.cjs +2 -0
- package/dist/inputs/qr-scanner/qr-scanner.css.cjs.map +1 -0
- package/dist/inputs/qr-scanner/qr-scanner.css.js +6 -0
- package/dist/inputs/qr-scanner/qr-scanner.css.js.map +1 -0
- package/dist/inputs/qr-scanner/qr-scanner.d.ts +87 -0
- package/dist/inputs/qr-scanner/qr-scanner.d.ts.map +1 -0
- package/dist/inputs/select/select.css.cjs +1 -1
- package/dist/inputs/select/select.css.cjs.map +1 -1
- package/dist/inputs/select/select.css.js +1 -1
- package/dist/inputs/select/select.css.js.map +1 -1
- package/dist/inputs/slider/slider.css.cjs +1 -1
- package/dist/inputs/slider/slider.css.cjs.map +1 -1
- package/dist/inputs/slider/slider.css.js +1 -1
- package/dist/inputs/slider/slider.css.js.map +1 -1
- package/dist/keyboard-key.cjs +9 -0
- package/dist/keyboard-key.cjs.map +1 -0
- package/dist/keyboard-key.js +36 -0
- package/dist/keyboard-key.js.map +1 -0
- package/dist/menu.cjs +1 -1
- package/dist/menu.cjs.map +1 -1
- package/dist/menu.js +2 -1
- package/dist/menu.js.map +1 -1
- package/dist/overlay/command-palette/command-palette.css.cjs +1 -1
- package/dist/overlay/command-palette/command-palette.css.cjs.map +1 -1
- package/dist/overlay/command-palette/command-palette.css.js +1 -1
- package/dist/overlay/command-palette/command-palette.css.js.map +1 -1
- package/dist/overlay/command-palette/command-palette.d.ts +1 -0
- package/dist/overlay/command-palette/command-palette.d.ts.map +1 -1
- package/dist/progress.cjs +14 -6
- package/dist/progress.cjs.map +1 -1
- package/dist/progress.js +19 -7
- package/dist/progress.js.map +1 -1
- package/dist/qr-code.cjs +15 -0
- package/dist/qr-code.cjs.map +1 -0
- package/dist/qr-code.js +70 -0
- package/dist/qr-code.js.map +1 -0
- package/dist/qr-scanner.cjs +46 -0
- package/dist/qr-scanner.cjs.map +1 -0
- package/dist/qr-scanner.js +129 -0
- package/dist/qr-scanner.js.map +1 -0
- package/dist/refine.cjs +365 -199
- package/dist/refine.cjs.map +1 -1
- package/dist/refine.iife.js +393 -227
- package/dist/refine.iife.js.map +1 -1
- package/dist/refine.js +740 -574
- package/dist/refine.js.map +1 -1
- package/dist/tabs.cjs +2 -2
- package/dist/tabs.cjs.map +1 -1
- package/dist/tabs.js +37 -34
- package/dist/tabs.js.map +1 -1
- package/dist/toast.cjs +44 -39
- package/dist/toast.cjs.map +1 -1
- package/dist/toast.js +132 -117
- package/dist/toast.js.map +1 -1
- package/dist/types/elements.d.ts +9 -0
- package/package.json +35 -2
|
@@ -3080,6 +3080,80 @@
|
|
|
3080
3080
|
}
|
|
3081
3081
|
]
|
|
3082
3082
|
},
|
|
3083
|
+
{
|
|
3084
|
+
"kind": "javascript-module",
|
|
3085
|
+
"path": "src/content/keyboard-key/keyboard-key.ts",
|
|
3086
|
+
"declarations": [
|
|
3087
|
+
{
|
|
3088
|
+
"kind": "variable",
|
|
3089
|
+
"name": "KEYBOARD_SHORTCUT_TAG",
|
|
3090
|
+
"type": {
|
|
3091
|
+
"text": "'ore-keyboard-shortcut'"
|
|
3092
|
+
},
|
|
3093
|
+
"default": "'ore-keyboard-shortcut'"
|
|
3094
|
+
},
|
|
3095
|
+
{
|
|
3096
|
+
"kind": "class",
|
|
3097
|
+
"name": "OreKeyboardShortcutElement",
|
|
3098
|
+
"tagName": "ore-keyboard-shortcut",
|
|
3099
|
+
"customElement": true,
|
|
3100
|
+
"description": "",
|
|
3101
|
+
"summary": "",
|
|
3102
|
+
"demos": []
|
|
3103
|
+
},
|
|
3104
|
+
{
|
|
3105
|
+
"kind": "variable",
|
|
3106
|
+
"name": "KEYBOARD_KEY_TAG",
|
|
3107
|
+
"type": {
|
|
3108
|
+
"text": "'ore-keyboard-key'"
|
|
3109
|
+
},
|
|
3110
|
+
"default": "'ore-keyboard-key'"
|
|
3111
|
+
},
|
|
3112
|
+
{
|
|
3113
|
+
"kind": "class",
|
|
3114
|
+
"name": "OreKeyboardKeyElement",
|
|
3115
|
+
"tagName": "ore-keyboard-key",
|
|
3116
|
+
"customElement": true,
|
|
3117
|
+
"description": "",
|
|
3118
|
+
"summary": "",
|
|
3119
|
+
"demos": []
|
|
3120
|
+
}
|
|
3121
|
+
],
|
|
3122
|
+
"exports": [
|
|
3123
|
+
{
|
|
3124
|
+
"kind": "js",
|
|
3125
|
+
"name": "KEYBOARD_SHORTCUT_TAG",
|
|
3126
|
+
"declaration": {
|
|
3127
|
+
"name": "KEYBOARD_SHORTCUT_TAG",
|
|
3128
|
+
"module": "src/content/keyboard-key/keyboard-key.ts"
|
|
3129
|
+
}
|
|
3130
|
+
},
|
|
3131
|
+
{
|
|
3132
|
+
"kind": "custom-element-definition",
|
|
3133
|
+
"name": "OreKeyboardShortcutElement",
|
|
3134
|
+
"declaration": {
|
|
3135
|
+
"name": "OreKeyboardShortcutElement",
|
|
3136
|
+
"module": "src/content/keyboard-key/keyboard-key.ts"
|
|
3137
|
+
}
|
|
3138
|
+
},
|
|
3139
|
+
{
|
|
3140
|
+
"kind": "js",
|
|
3141
|
+
"name": "KEYBOARD_KEY_TAG",
|
|
3142
|
+
"declaration": {
|
|
3143
|
+
"name": "KEYBOARD_KEY_TAG",
|
|
3144
|
+
"module": "src/content/keyboard-key/keyboard-key.ts"
|
|
3145
|
+
}
|
|
3146
|
+
},
|
|
3147
|
+
{
|
|
3148
|
+
"kind": "custom-element-definition",
|
|
3149
|
+
"name": "OreKeyboardKeyElement",
|
|
3150
|
+
"declaration": {
|
|
3151
|
+
"name": "OreKeyboardKeyElement",
|
|
3152
|
+
"module": "src/content/keyboard-key/keyboard-key.ts"
|
|
3153
|
+
}
|
|
3154
|
+
}
|
|
3155
|
+
]
|
|
3156
|
+
},
|
|
3083
3157
|
{
|
|
3084
3158
|
"kind": "javascript-module",
|
|
3085
3159
|
"path": "src/content/list/_list-item-reveal.ts",
|
|
@@ -3720,6 +3794,179 @@
|
|
|
3720
3794
|
}
|
|
3721
3795
|
]
|
|
3722
3796
|
},
|
|
3797
|
+
{
|
|
3798
|
+
"kind": "javascript-module",
|
|
3799
|
+
"path": "src/content/qr-code/qr-code.ts",
|
|
3800
|
+
"declarations": [
|
|
3801
|
+
{
|
|
3802
|
+
"kind": "variable",
|
|
3803
|
+
"name": "QR_CODE_TAG",
|
|
3804
|
+
"type": {
|
|
3805
|
+
"text": "'ore-qr-code'"
|
|
3806
|
+
},
|
|
3807
|
+
"default": "'ore-qr-code'",
|
|
3808
|
+
"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."
|
|
3809
|
+
},
|
|
3810
|
+
{
|
|
3811
|
+
"kind": "class",
|
|
3812
|
+
"name": "OreQrCodeElement",
|
|
3813
|
+
"tagName": "ore-qr-code",
|
|
3814
|
+
"customElement": true,
|
|
3815
|
+
"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.",
|
|
3816
|
+
"summary": "",
|
|
3817
|
+
"attributes": [
|
|
3818
|
+
{
|
|
3819
|
+
"name": "value",
|
|
3820
|
+
"type": {
|
|
3821
|
+
"text": "string"
|
|
3822
|
+
},
|
|
3823
|
+
"description": "The payload to encode"
|
|
3824
|
+
},
|
|
3825
|
+
{
|
|
3826
|
+
"name": "error-correction",
|
|
3827
|
+
"type": {
|
|
3828
|
+
"text": "'L' | 'M' | 'Q' | 'H'"
|
|
3829
|
+
},
|
|
3830
|
+
"description": "'L' | 'M' | 'Q' | 'H' (default 'M')"
|
|
3831
|
+
},
|
|
3832
|
+
{
|
|
3833
|
+
"name": "margin",
|
|
3834
|
+
"type": {
|
|
3835
|
+
"text": "number"
|
|
3836
|
+
},
|
|
3837
|
+
"description": "Quiet-zone modules (default 4)"
|
|
3838
|
+
},
|
|
3839
|
+
{
|
|
3840
|
+
"name": "size",
|
|
3841
|
+
"type": {
|
|
3842
|
+
"text": "'sm' | 'md' | 'lg'"
|
|
3843
|
+
},
|
|
3844
|
+
"description": "'sm' | 'md' | 'lg', or a pixel value"
|
|
3845
|
+
},
|
|
3846
|
+
{
|
|
3847
|
+
"name": "label",
|
|
3848
|
+
"type": {
|
|
3849
|
+
"text": "string"
|
|
3850
|
+
},
|
|
3851
|
+
"description": "Accessible label (default \"QR code\")"
|
|
3852
|
+
},
|
|
3853
|
+
{
|
|
3854
|
+
"name": "rounded",
|
|
3855
|
+
"type": {
|
|
3856
|
+
"text": "string"
|
|
3857
|
+
},
|
|
3858
|
+
"description": "Border radius for the card variant"
|
|
3859
|
+
}
|
|
3860
|
+
],
|
|
3861
|
+
"events": [
|
|
3862
|
+
{
|
|
3863
|
+
"name": "render",
|
|
3864
|
+
"description": "detail: `{ version, size }` after each successful render",
|
|
3865
|
+
"type": {
|
|
3866
|
+
"text": "CustomEvent"
|
|
3867
|
+
}
|
|
3868
|
+
},
|
|
3869
|
+
{
|
|
3870
|
+
"name": "error",
|
|
3871
|
+
"description": "detail: `{ error }` when encoding fails",
|
|
3872
|
+
"type": {
|
|
3873
|
+
"text": "CustomEvent"
|
|
3874
|
+
}
|
|
3875
|
+
}
|
|
3876
|
+
],
|
|
3877
|
+
"slots": [
|
|
3878
|
+
{
|
|
3879
|
+
"name": "caption",
|
|
3880
|
+
"description": "Optional caption rendered below the code"
|
|
3881
|
+
}
|
|
3882
|
+
],
|
|
3883
|
+
"cssParts": [
|
|
3884
|
+
{
|
|
3885
|
+
"name": "wrapper",
|
|
3886
|
+
"description": "Outer container"
|
|
3887
|
+
},
|
|
3888
|
+
{
|
|
3889
|
+
"name": "svg",
|
|
3890
|
+
"description": "The rendered `<svg>` element"
|
|
3891
|
+
},
|
|
3892
|
+
{
|
|
3893
|
+
"name": "caption",
|
|
3894
|
+
"description": "Caption slot container"
|
|
3895
|
+
},
|
|
3896
|
+
{
|
|
3897
|
+
"name": "error",
|
|
3898
|
+
"description": "Error-state container"
|
|
3899
|
+
}
|
|
3900
|
+
],
|
|
3901
|
+
"cssProperties": [
|
|
3902
|
+
{
|
|
3903
|
+
"name": "--qr-code-dark",
|
|
3904
|
+
"description": "Module color (default `currentColor`)"
|
|
3905
|
+
},
|
|
3906
|
+
{
|
|
3907
|
+
"name": "--qr-code-light",
|
|
3908
|
+
"description": "Background color (default `transparent`)"
|
|
3909
|
+
},
|
|
3910
|
+
{
|
|
3911
|
+
"name": "--qr-code-size",
|
|
3912
|
+
"description": "Rendered size in px (overrides `size`)"
|
|
3913
|
+
},
|
|
3914
|
+
{
|
|
3915
|
+
"name": "--qr-code-radius",
|
|
3916
|
+
"description": "Border radius"
|
|
3917
|
+
},
|
|
3918
|
+
{
|
|
3919
|
+
"name": "--qr-code-padding",
|
|
3920
|
+
"description": "Inner padding"
|
|
3921
|
+
},
|
|
3922
|
+
{
|
|
3923
|
+
"name": "--qr-code-bg",
|
|
3924
|
+
"description": "Card background (variant=\"card\")"
|
|
3925
|
+
},
|
|
3926
|
+
{
|
|
3927
|
+
"name": "--qr-code-border",
|
|
3928
|
+
"description": "Card border width (variant=\"card\")"
|
|
3929
|
+
},
|
|
3930
|
+
{
|
|
3931
|
+
"name": "--qr-code-border-color",
|
|
3932
|
+
"description": "Card border color (variant=\"card\")"
|
|
3933
|
+
},
|
|
3934
|
+
{
|
|
3935
|
+
"name": "--qr-code-shadow",
|
|
3936
|
+
"description": "Card box shadow (variant=\"card\")"
|
|
3937
|
+
},
|
|
3938
|
+
{
|
|
3939
|
+
"name": "--qr-code-error-color",
|
|
3940
|
+
"description": "Error-state text color"
|
|
3941
|
+
}
|
|
3942
|
+
],
|
|
3943
|
+
"demos": [
|
|
3944
|
+
{
|
|
3945
|
+
"url": "",
|
|
3946
|
+
"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```"
|
|
3947
|
+
}
|
|
3948
|
+
]
|
|
3949
|
+
}
|
|
3950
|
+
],
|
|
3951
|
+
"exports": [
|
|
3952
|
+
{
|
|
3953
|
+
"kind": "js",
|
|
3954
|
+
"name": "QR_CODE_TAG",
|
|
3955
|
+
"declaration": {
|
|
3956
|
+
"name": "QR_CODE_TAG",
|
|
3957
|
+
"module": "src/content/qr-code/qr-code.ts"
|
|
3958
|
+
}
|
|
3959
|
+
},
|
|
3960
|
+
{
|
|
3961
|
+
"kind": "custom-element-definition",
|
|
3962
|
+
"name": "OreQrCodeElement",
|
|
3963
|
+
"declaration": {
|
|
3964
|
+
"name": "OreQrCodeElement",
|
|
3965
|
+
"module": "src/content/qr-code/qr-code.ts"
|
|
3966
|
+
}
|
|
3967
|
+
}
|
|
3968
|
+
]
|
|
3969
|
+
},
|
|
3723
3970
|
{
|
|
3724
3971
|
"kind": "javascript-module",
|
|
3725
3972
|
"path": "src/content/separator/separator.ts",
|
|
@@ -5683,6 +5930,13 @@
|
|
|
5683
5930
|
},
|
|
5684
5931
|
"description": "Show a close (×) button"
|
|
5685
5932
|
},
|
|
5933
|
+
{
|
|
5934
|
+
"name": "embedded",
|
|
5935
|
+
"type": {
|
|
5936
|
+
"text": "boolean"
|
|
5937
|
+
},
|
|
5938
|
+
"description": "Passive surface for a host that owns lifecycle and announcements; the close button only emits `dismiss`"
|
|
5939
|
+
},
|
|
5686
5940
|
{
|
|
5687
5941
|
"name": "accented",
|
|
5688
5942
|
"type": {
|
|
@@ -5701,7 +5955,7 @@
|
|
|
5701
5955
|
"events": [
|
|
5702
5956
|
{
|
|
5703
5957
|
"name": "dismiss",
|
|
5704
|
-
"description": "Fired when the alert is dismissed. detail: { originalEvent: MouseEvent }",
|
|
5958
|
+
"description": "Fired when the alert is dismissed (after the exit animation, or immediately when `embedded`). detail: { originalEvent: MouseEvent }",
|
|
5705
5959
|
"type": {
|
|
5706
5960
|
"text": "CustomEvent"
|
|
5707
5961
|
}
|
|
@@ -6154,9 +6408,9 @@
|
|
|
6154
6408
|
{
|
|
6155
6409
|
"name": "variant",
|
|
6156
6410
|
"type": {
|
|
6157
|
-
"text": "'solid' | 'flat' | 'bordered' | 'outline' | 'ghost'"
|
|
6411
|
+
"text": "'solid' | 'flat' | 'bordered' | 'outline' | 'ghost' | 'frost'"
|
|
6158
6412
|
},
|
|
6159
|
-
"description": "Visual variant: 'solid' | 'flat' | 'bordered' | 'outline' | 'ghost'"
|
|
6413
|
+
"description": "Visual variant: 'solid' | 'flat' | 'bordered' | 'outline' | 'ghost' | 'frost'"
|
|
6160
6414
|
},
|
|
6161
6415
|
{
|
|
6162
6416
|
"name": "size",
|
|
@@ -6179,6 +6433,13 @@
|
|
|
6179
6433
|
},
|
|
6180
6434
|
"description": "Interaction mode: 'static' | 'removable' | 'selectable' | 'action'"
|
|
6181
6435
|
},
|
|
6436
|
+
{
|
|
6437
|
+
"name": "layout",
|
|
6438
|
+
"type": {
|
|
6439
|
+
"text": "string"
|
|
6440
|
+
},
|
|
6441
|
+
"description": "Content layout: 'inline' (default) | 'stacked' — stacked places the icon above a wrapping label, for tile-like selectable chips"
|
|
6442
|
+
},
|
|
6182
6443
|
{
|
|
6183
6444
|
"name": "disabled",
|
|
6184
6445
|
"type": {
|
|
@@ -6292,6 +6553,10 @@
|
|
|
6292
6553
|
"name": "--chip-gap",
|
|
6293
6554
|
"description": "Gap between icon, label and remove button"
|
|
6294
6555
|
},
|
|
6556
|
+
{
|
|
6557
|
+
"name": "--chip-icon-size",
|
|
6558
|
+
"description": "Size of the slotted icon (default: 1em)"
|
|
6559
|
+
},
|
|
6295
6560
|
{
|
|
6296
6561
|
"name": "--chip-hover-bg",
|
|
6297
6562
|
"description": "Background on hover (interactive modes)"
|
|
@@ -6537,6 +6802,13 @@
|
|
|
6537
6802
|
},
|
|
6538
6803
|
"description": "'linear' (default) | 'circular' | 'vertical'"
|
|
6539
6804
|
},
|
|
6805
|
+
{
|
|
6806
|
+
"name": "segments",
|
|
6807
|
+
"type": {
|
|
6808
|
+
"text": "number"
|
|
6809
|
+
},
|
|
6810
|
+
"description": "Split the linear bar into discrete blocks (tracks, steps, stages)"
|
|
6811
|
+
},
|
|
6540
6812
|
{
|
|
6541
6813
|
"name": "label",
|
|
6542
6814
|
"type": {
|
|
@@ -6563,6 +6835,10 @@
|
|
|
6563
6835
|
{
|
|
6564
6836
|
"name": "fill",
|
|
6565
6837
|
"description": "Progress fill element."
|
|
6838
|
+
},
|
|
6839
|
+
{
|
|
6840
|
+
"name": "segment",
|
|
6841
|
+
"description": "One block when `segments` is set; carries `data-filled` once reached."
|
|
6566
6842
|
}
|
|
6567
6843
|
],
|
|
6568
6844
|
"cssProperties": [
|
|
@@ -6609,12 +6885,16 @@
|
|
|
6609
6885
|
{
|
|
6610
6886
|
"name": "--progress-circular-title-size",
|
|
6611
6887
|
"description": "Font size of the title inside the ring (default --text-xs)"
|
|
6888
|
+
},
|
|
6889
|
+
{
|
|
6890
|
+
"name": "--progress-segment-gap",
|
|
6891
|
+
"description": "Gap between blocks when `segments` is set (default --size-1)"
|
|
6612
6892
|
}
|
|
6613
6893
|
],
|
|
6614
6894
|
"demos": [
|
|
6615
6895
|
{
|
|
6616
6896
|
"url": "",
|
|
6617
|
-
"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```"
|
|
6897
|
+
"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```"
|
|
6618
6898
|
}
|
|
6619
6899
|
]
|
|
6620
6900
|
}
|
|
@@ -6816,7 +7096,7 @@
|
|
|
6816
7096
|
"name": "OreToastElement",
|
|
6817
7097
|
"tagName": "ore-toast",
|
|
6818
7098
|
"customElement": true,
|
|
6819
|
-
"description": "Declarative toast host. It subscribes to the service for its scope and\nrenders notifications, but has no imperative mutation API of its own.",
|
|
7099
|
+
"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.",
|
|
6820
7100
|
"summary": "",
|
|
6821
7101
|
"attributes": [
|
|
6822
7102
|
{
|
|
@@ -6834,6 +7114,54 @@
|
|
|
6834
7114
|
"description": "Maximum live notifications for the scoped service."
|
|
6835
7115
|
}
|
|
6836
7116
|
],
|
|
7117
|
+
"cssParts": [
|
|
7118
|
+
{
|
|
7119
|
+
"name": "container",
|
|
7120
|
+
"description": "Notification list."
|
|
7121
|
+
},
|
|
7122
|
+
{
|
|
7123
|
+
"name": "toast-wrapper",
|
|
7124
|
+
"description": "Per-notification layout wrapper (swipe target)."
|
|
7125
|
+
},
|
|
7126
|
+
{
|
|
7127
|
+
"name": "toast-inner",
|
|
7128
|
+
"description": "Per-notification motion target."
|
|
7129
|
+
},
|
|
7130
|
+
{
|
|
7131
|
+
"name": "progress",
|
|
7132
|
+
"description": "Auto-dismiss progress bar."
|
|
7133
|
+
}
|
|
7134
|
+
],
|
|
7135
|
+
"cssProperties": [
|
|
7136
|
+
{
|
|
7137
|
+
"name": "--toast-max-width",
|
|
7138
|
+
"description": "Panel width cap (default 400px; full width on phones)."
|
|
7139
|
+
},
|
|
7140
|
+
{
|
|
7141
|
+
"name": "--toast-gap",
|
|
7142
|
+
"description": "Gap between notifications."
|
|
7143
|
+
},
|
|
7144
|
+
{
|
|
7145
|
+
"name": "--toast-bg",
|
|
7146
|
+
"description": "Opaque surface for flat/bordered notifications."
|
|
7147
|
+
},
|
|
7148
|
+
{
|
|
7149
|
+
"name": "--toast-shadow",
|
|
7150
|
+
"description": "Elevation shadow."
|
|
7151
|
+
},
|
|
7152
|
+
{
|
|
7153
|
+
"name": "--toast-enter-duration / --toast-exit-duration",
|
|
7154
|
+
"description": "Motion durations."
|
|
7155
|
+
},
|
|
7156
|
+
{
|
|
7157
|
+
"name": "--toast-progress-height",
|
|
7158
|
+
"description": "Height of the auto-dismiss progress bar."
|
|
7159
|
+
},
|
|
7160
|
+
{
|
|
7161
|
+
"name": "--toast-inset-top / --toast-inset-bottom / --toast-inset-left / --toast-inset-right",
|
|
7162
|
+
"description": "Viewport insets."
|
|
7163
|
+
}
|
|
7164
|
+
],
|
|
6837
7165
|
"demos": []
|
|
6838
7166
|
},
|
|
6839
7167
|
{
|
|
@@ -8185,29 +8513,290 @@
|
|
|
8185
8513
|
},
|
|
8186
8514
|
{
|
|
8187
8515
|
"kind": "javascript-module",
|
|
8188
|
-
"path": "src/inputs/
|
|
8516
|
+
"path": "src/inputs/counter/counter.ts",
|
|
8189
8517
|
"declarations": [
|
|
8190
8518
|
{
|
|
8191
|
-
"kind": "
|
|
8192
|
-
"
|
|
8193
|
-
"
|
|
8194
|
-
|
|
8195
|
-
"name": "HTMLElement"
|
|
8519
|
+
"kind": "variable",
|
|
8520
|
+
"name": "COUNTER_HOLD_DELAY_MS",
|
|
8521
|
+
"type": {
|
|
8522
|
+
"text": "number"
|
|
8196
8523
|
},
|
|
8197
|
-
"
|
|
8524
|
+
"default": "400",
|
|
8525
|
+
"description": "Hold delay before auto-repeat starts, then the repeat interval."
|
|
8526
|
+
},
|
|
8527
|
+
{
|
|
8528
|
+
"kind": "variable",
|
|
8529
|
+
"name": "COUNTER_HOLD_REPEAT_MS",
|
|
8530
|
+
"type": {
|
|
8531
|
+
"text": "number"
|
|
8532
|
+
},
|
|
8533
|
+
"default": "120"
|
|
8534
|
+
},
|
|
8535
|
+
{
|
|
8536
|
+
"kind": "variable",
|
|
8537
|
+
"name": "COUNTER_TAG",
|
|
8538
|
+
"type": {
|
|
8539
|
+
"text": "'ore-counter'"
|
|
8540
|
+
},
|
|
8541
|
+
"default": "'ore-counter'",
|
|
8542
|
+
"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)."
|
|
8543
|
+
},
|
|
8544
|
+
{
|
|
8545
|
+
"kind": "class",
|
|
8546
|
+
"name": "OreCounterElement",
|
|
8547
|
+
"tagName": "ore-counter",
|
|
8198
8548
|
"customElement": true,
|
|
8549
|
+
"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).",
|
|
8550
|
+
"summary": "",
|
|
8199
8551
|
"attributes": [
|
|
8200
8552
|
{
|
|
8201
|
-
"name": "
|
|
8553
|
+
"name": "value",
|
|
8202
8554
|
"type": {
|
|
8203
|
-
"text": "
|
|
8555
|
+
"text": "number"
|
|
8204
8556
|
},
|
|
8205
|
-
"description": "
|
|
8557
|
+
"description": "Current value (default: 0)",
|
|
8558
|
+
"default": "0"
|
|
8206
8559
|
},
|
|
8207
8560
|
{
|
|
8208
|
-
"name": "
|
|
8561
|
+
"name": "min",
|
|
8209
8562
|
"type": {
|
|
8210
|
-
"text": "
|
|
8563
|
+
"text": "number"
|
|
8564
|
+
},
|
|
8565
|
+
"description": "Minimum value (default: 0)",
|
|
8566
|
+
"default": "0"
|
|
8567
|
+
},
|
|
8568
|
+
{
|
|
8569
|
+
"name": "max",
|
|
8570
|
+
"type": {
|
|
8571
|
+
"text": "number"
|
|
8572
|
+
},
|
|
8573
|
+
"description": "Maximum value"
|
|
8574
|
+
},
|
|
8575
|
+
{
|
|
8576
|
+
"name": "step",
|
|
8577
|
+
"type": {
|
|
8578
|
+
"text": "number"
|
|
8579
|
+
},
|
|
8580
|
+
"description": "Increment/decrement step (default: 1)",
|
|
8581
|
+
"default": "1"
|
|
8582
|
+
},
|
|
8583
|
+
{
|
|
8584
|
+
"name": "large-step",
|
|
8585
|
+
"type": {
|
|
8586
|
+
"text": "number"
|
|
8587
|
+
},
|
|
8588
|
+
"description": "Step for Page Up/Down and the quick-step buttons (default: 10 × step)",
|
|
8589
|
+
"default": "10 × step"
|
|
8590
|
+
},
|
|
8591
|
+
{
|
|
8592
|
+
"name": "quick-steps",
|
|
8593
|
+
"type": {
|
|
8594
|
+
"text": "boolean"
|
|
8595
|
+
},
|
|
8596
|
+
"description": "Adds an outer −/+ pair that moves by `large-step`"
|
|
8597
|
+
},
|
|
8598
|
+
{
|
|
8599
|
+
"name": "disabled",
|
|
8600
|
+
"type": {
|
|
8601
|
+
"text": "boolean"
|
|
8602
|
+
},
|
|
8603
|
+
"description": "Disables the control"
|
|
8604
|
+
},
|
|
8605
|
+
{
|
|
8606
|
+
"name": "readonly",
|
|
8607
|
+
"type": {
|
|
8608
|
+
"text": "boolean"
|
|
8609
|
+
},
|
|
8610
|
+
"description": "Shows the value without the −/+ buttons"
|
|
8611
|
+
},
|
|
8612
|
+
{
|
|
8613
|
+
"name": "label",
|
|
8614
|
+
"type": {
|
|
8615
|
+
"text": "string"
|
|
8616
|
+
},
|
|
8617
|
+
"description": "Visible label and accessible name"
|
|
8618
|
+
},
|
|
8619
|
+
{
|
|
8620
|
+
"name": "hint",
|
|
8621
|
+
"type": {
|
|
8622
|
+
"text": "string"
|
|
8623
|
+
},
|
|
8624
|
+
"description": "One-line hint under the controls"
|
|
8625
|
+
},
|
|
8626
|
+
{
|
|
8627
|
+
"name": "color",
|
|
8628
|
+
"type": {
|
|
8629
|
+
"text": "'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error'"
|
|
8630
|
+
},
|
|
8631
|
+
"description": "Theme color: 'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error'"
|
|
8632
|
+
},
|
|
8633
|
+
{
|
|
8634
|
+
"name": "size",
|
|
8635
|
+
"type": {
|
|
8636
|
+
"text": "'sm' | 'md' | 'lg'"
|
|
8637
|
+
},
|
|
8638
|
+
"description": "'sm' | 'md' | 'lg'"
|
|
8639
|
+
}
|
|
8640
|
+
],
|
|
8641
|
+
"events": [
|
|
8642
|
+
{
|
|
8643
|
+
"name": "change",
|
|
8644
|
+
"description": "Fired after every accepted change. detail: { value: number, delta: number }",
|
|
8645
|
+
"type": {
|
|
8646
|
+
"text": "CustomEvent"
|
|
8647
|
+
}
|
|
8648
|
+
}
|
|
8649
|
+
],
|
|
8650
|
+
"slots": [
|
|
8651
|
+
{
|
|
8652
|
+
"name": "icon",
|
|
8653
|
+
"description": "Leading icon or token artwork shown before the label"
|
|
8654
|
+
},
|
|
8655
|
+
{
|
|
8656
|
+
"name": "hint",
|
|
8657
|
+
"description": "Custom hint content (replaces the `hint` attribute)"
|
|
8658
|
+
}
|
|
8659
|
+
],
|
|
8660
|
+
"cssParts": [
|
|
8661
|
+
{
|
|
8662
|
+
"name": "counter",
|
|
8663
|
+
"description": "Root container."
|
|
8664
|
+
},
|
|
8665
|
+
{
|
|
8666
|
+
"name": "header",
|
|
8667
|
+
"description": "Icon and label row."
|
|
8668
|
+
},
|
|
8669
|
+
{
|
|
8670
|
+
"name": "label",
|
|
8671
|
+
"description": "Label element."
|
|
8672
|
+
},
|
|
8673
|
+
{
|
|
8674
|
+
"name": "controls",
|
|
8675
|
+
"description": "Buttons and value row."
|
|
8676
|
+
},
|
|
8677
|
+
{
|
|
8678
|
+
"name": "decrement-large-btn",
|
|
8679
|
+
"description": "Quick-step decrement button (`quick-steps` only)."
|
|
8680
|
+
},
|
|
8681
|
+
{
|
|
8682
|
+
"name": "decrement-btn",
|
|
8683
|
+
"description": "Decrement button."
|
|
8684
|
+
},
|
|
8685
|
+
{
|
|
8686
|
+
"name": "value",
|
|
8687
|
+
"description": "Value output."
|
|
8688
|
+
},
|
|
8689
|
+
{
|
|
8690
|
+
"name": "increment-btn",
|
|
8691
|
+
"description": "Increment button."
|
|
8692
|
+
},
|
|
8693
|
+
{
|
|
8694
|
+
"name": "increment-large-btn",
|
|
8695
|
+
"description": "Quick-step increment button (`quick-steps` only)."
|
|
8696
|
+
},
|
|
8697
|
+
{
|
|
8698
|
+
"name": "hint",
|
|
8699
|
+
"description": "Hint element."
|
|
8700
|
+
}
|
|
8701
|
+
],
|
|
8702
|
+
"cssProperties": [
|
|
8703
|
+
{
|
|
8704
|
+
"name": "--counter-value-size",
|
|
8705
|
+
"description": "Font size of the value"
|
|
8706
|
+
},
|
|
8707
|
+
{
|
|
8708
|
+
"name": "--counter-button-size",
|
|
8709
|
+
"description": "Width/height of the −/+ buttons"
|
|
8710
|
+
},
|
|
8711
|
+
{
|
|
8712
|
+
"name": "--counter-gap",
|
|
8713
|
+
"description": "Gap between the buttons and the value"
|
|
8714
|
+
},
|
|
8715
|
+
{
|
|
8716
|
+
"name": "--counter-bg",
|
|
8717
|
+
"description": "Background of the control"
|
|
8718
|
+
},
|
|
8719
|
+
{
|
|
8720
|
+
"name": "--counter-border-color",
|
|
8721
|
+
"description": "Border color of the control"
|
|
8722
|
+
},
|
|
8723
|
+
{
|
|
8724
|
+
"name": "--counter-radius",
|
|
8725
|
+
"description": "Border radius of the control"
|
|
8726
|
+
},
|
|
8727
|
+
{
|
|
8728
|
+
"name": "--counter-icon-size",
|
|
8729
|
+
"description": "Size of the slotted icon"
|
|
8730
|
+
}
|
|
8731
|
+
],
|
|
8732
|
+
"demos": [
|
|
8733
|
+
{
|
|
8734
|
+
"url": "",
|
|
8735
|
+
"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```"
|
|
8736
|
+
}
|
|
8737
|
+
]
|
|
8738
|
+
}
|
|
8739
|
+
],
|
|
8740
|
+
"exports": [
|
|
8741
|
+
{
|
|
8742
|
+
"kind": "js",
|
|
8743
|
+
"name": "COUNTER_HOLD_DELAY_MS",
|
|
8744
|
+
"declaration": {
|
|
8745
|
+
"name": "COUNTER_HOLD_DELAY_MS",
|
|
8746
|
+
"module": "src/inputs/counter/counter.ts"
|
|
8747
|
+
}
|
|
8748
|
+
},
|
|
8749
|
+
{
|
|
8750
|
+
"kind": "js",
|
|
8751
|
+
"name": "COUNTER_HOLD_REPEAT_MS",
|
|
8752
|
+
"declaration": {
|
|
8753
|
+
"name": "COUNTER_HOLD_REPEAT_MS",
|
|
8754
|
+
"module": "src/inputs/counter/counter.ts"
|
|
8755
|
+
}
|
|
8756
|
+
},
|
|
8757
|
+
{
|
|
8758
|
+
"kind": "js",
|
|
8759
|
+
"name": "COUNTER_TAG",
|
|
8760
|
+
"declaration": {
|
|
8761
|
+
"name": "COUNTER_TAG",
|
|
8762
|
+
"module": "src/inputs/counter/counter.ts"
|
|
8763
|
+
}
|
|
8764
|
+
},
|
|
8765
|
+
{
|
|
8766
|
+
"kind": "custom-element-definition",
|
|
8767
|
+
"name": "OreCounterElement",
|
|
8768
|
+
"declaration": {
|
|
8769
|
+
"name": "OreCounterElement",
|
|
8770
|
+
"module": "src/inputs/counter/counter.ts"
|
|
8771
|
+
}
|
|
8772
|
+
}
|
|
8773
|
+
]
|
|
8774
|
+
},
|
|
8775
|
+
{
|
|
8776
|
+
"kind": "javascript-module",
|
|
8777
|
+
"path": "src/inputs/datagrid/datagrid-column.ts",
|
|
8778
|
+
"declarations": [
|
|
8779
|
+
{
|
|
8780
|
+
"kind": "class",
|
|
8781
|
+
"description": "Light-DOM row marker consumed by `<ore-table>`.",
|
|
8782
|
+
"name": "anonymous_0",
|
|
8783
|
+
"superclass": {
|
|
8784
|
+
"name": "HTMLElement"
|
|
8785
|
+
},
|
|
8786
|
+
"tagName": "ore-tr",
|
|
8787
|
+
"customElement": true,
|
|
8788
|
+
"attributes": [
|
|
8789
|
+
{
|
|
8790
|
+
"name": "head",
|
|
8791
|
+
"type": {
|
|
8792
|
+
"text": "boolean"
|
|
8793
|
+
},
|
|
8794
|
+
"description": "Places the row in the generated `<thead>` section"
|
|
8795
|
+
},
|
|
8796
|
+
{
|
|
8797
|
+
"name": "foot",
|
|
8798
|
+
"type": {
|
|
8799
|
+
"text": "boolean"
|
|
8211
8800
|
},
|
|
8212
8801
|
"description": "Places the row in the generated `<tfoot>` section"
|
|
8213
8802
|
}
|
|
@@ -10210,6 +10799,193 @@
|
|
|
10210
10799
|
}
|
|
10211
10800
|
]
|
|
10212
10801
|
},
|
|
10802
|
+
{
|
|
10803
|
+
"kind": "javascript-module",
|
|
10804
|
+
"path": "src/inputs/qr-scanner/qr-scanner.ts",
|
|
10805
|
+
"declarations": [
|
|
10806
|
+
{
|
|
10807
|
+
"kind": "variable",
|
|
10808
|
+
"name": "QR_SCANNER_TAG",
|
|
10809
|
+
"type": {
|
|
10810
|
+
"text": "'ore-qr-scanner'"
|
|
10811
|
+
},
|
|
10812
|
+
"default": "'ore-qr-scanner'",
|
|
10813
|
+
"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."
|
|
10814
|
+
},
|
|
10815
|
+
{
|
|
10816
|
+
"kind": "class",
|
|
10817
|
+
"name": "OreQrScannerElement",
|
|
10818
|
+
"tagName": "ore-qr-scanner",
|
|
10819
|
+
"customElement": true,
|
|
10820
|
+
"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.",
|
|
10821
|
+
"summary": "",
|
|
10822
|
+
"attributes": [
|
|
10823
|
+
{
|
|
10824
|
+
"name": "active",
|
|
10825
|
+
"type": {
|
|
10826
|
+
"text": "boolean"
|
|
10827
|
+
},
|
|
10828
|
+
"description": "Start/stop the camera"
|
|
10829
|
+
},
|
|
10830
|
+
{
|
|
10831
|
+
"name": "facing-mode",
|
|
10832
|
+
"type": {
|
|
10833
|
+
"text": "'environment' | 'user'"
|
|
10834
|
+
},
|
|
10835
|
+
"description": "'environment' | 'user' (default 'environment')"
|
|
10836
|
+
},
|
|
10837
|
+
{
|
|
10838
|
+
"name": "interval",
|
|
10839
|
+
"type": {
|
|
10840
|
+
"text": "number"
|
|
10841
|
+
},
|
|
10842
|
+
"description": "Ms between detection passes (default 200)"
|
|
10843
|
+
},
|
|
10844
|
+
{
|
|
10845
|
+
"name": "once",
|
|
10846
|
+
"type": {
|
|
10847
|
+
"text": "boolean"
|
|
10848
|
+
},
|
|
10849
|
+
"description": "Stop after first scan (default true)"
|
|
10850
|
+
},
|
|
10851
|
+
{
|
|
10852
|
+
"name": "size",
|
|
10853
|
+
"type": {
|
|
10854
|
+
"text": "'sm' | 'md' | 'lg'"
|
|
10855
|
+
},
|
|
10856
|
+
"description": "'sm' | 'md' | 'lg', or a pixel value"
|
|
10857
|
+
},
|
|
10858
|
+
{
|
|
10859
|
+
"name": "label",
|
|
10860
|
+
"type": {
|
|
10861
|
+
"text": "string"
|
|
10862
|
+
},
|
|
10863
|
+
"description": "Region label (default \"QR code scanner\")"
|
|
10864
|
+
},
|
|
10865
|
+
{
|
|
10866
|
+
"name": "rounded",
|
|
10867
|
+
"type": {
|
|
10868
|
+
"text": "string"
|
|
10869
|
+
},
|
|
10870
|
+
"description": "Border radius"
|
|
10871
|
+
}
|
|
10872
|
+
],
|
|
10873
|
+
"events": [
|
|
10874
|
+
{
|
|
10875
|
+
"name": "scan",
|
|
10876
|
+
"description": "detail: `{ value }` on each decode",
|
|
10877
|
+
"type": {
|
|
10878
|
+
"text": "CustomEvent"
|
|
10879
|
+
}
|
|
10880
|
+
},
|
|
10881
|
+
{
|
|
10882
|
+
"name": "error",
|
|
10883
|
+
"description": "detail: `{ error }` on permission/support/detection failure",
|
|
10884
|
+
"type": {
|
|
10885
|
+
"text": "CustomEvent"
|
|
10886
|
+
}
|
|
10887
|
+
},
|
|
10888
|
+
{
|
|
10889
|
+
"name": "status",
|
|
10890
|
+
"description": "detail: `{ status }` on view-state transitions",
|
|
10891
|
+
"type": {
|
|
10892
|
+
"text": "CustomEvent"
|
|
10893
|
+
}
|
|
10894
|
+
}
|
|
10895
|
+
],
|
|
10896
|
+
"slots": [
|
|
10897
|
+
{
|
|
10898
|
+
"name": "overlay",
|
|
10899
|
+
"description": "Content layered over the camera preview"
|
|
10900
|
+
},
|
|
10901
|
+
{
|
|
10902
|
+
"name": "unsupported",
|
|
10903
|
+
"description": "Fallback UI when scanning is unsupported (e.g. paste input)"
|
|
10904
|
+
},
|
|
10905
|
+
{
|
|
10906
|
+
"name": "footer",
|
|
10907
|
+
"description": "Extra content below the status row"
|
|
10908
|
+
}
|
|
10909
|
+
],
|
|
10910
|
+
"cssParts": [
|
|
10911
|
+
{
|
|
10912
|
+
"name": "wrapper",
|
|
10913
|
+
"description": "Outer container"
|
|
10914
|
+
},
|
|
10915
|
+
{
|
|
10916
|
+
"name": "stage",
|
|
10917
|
+
"description": "Square preview area (video + overlays)"
|
|
10918
|
+
},
|
|
10919
|
+
{
|
|
10920
|
+
"name": "video",
|
|
10921
|
+
"description": "The `<video>` preview element"
|
|
10922
|
+
},
|
|
10923
|
+
{
|
|
10924
|
+
"name": "viewfinder",
|
|
10925
|
+
"description": "Decorative scan frame over the preview"
|
|
10926
|
+
},
|
|
10927
|
+
{
|
|
10928
|
+
"name": "state",
|
|
10929
|
+
"description": "Idle/error/denied/unsupported/result panel"
|
|
10930
|
+
},
|
|
10931
|
+
{
|
|
10932
|
+
"name": "status",
|
|
10933
|
+
"description": "Live status line"
|
|
10934
|
+
},
|
|
10935
|
+
{
|
|
10936
|
+
"name": "controls",
|
|
10937
|
+
"description": "Button row"
|
|
10938
|
+
}
|
|
10939
|
+
],
|
|
10940
|
+
"cssProperties": [
|
|
10941
|
+
{
|
|
10942
|
+
"name": "--qr-scanner-size",
|
|
10943
|
+
"description": "Preview edge length in px (overrides `size`)"
|
|
10944
|
+
},
|
|
10945
|
+
{
|
|
10946
|
+
"name": "--qr-scanner-radius",
|
|
10947
|
+
"description": "Border radius"
|
|
10948
|
+
},
|
|
10949
|
+
{
|
|
10950
|
+
"name": "--qr-scanner-bg",
|
|
10951
|
+
"description": "Preview background while idle"
|
|
10952
|
+
},
|
|
10953
|
+
{
|
|
10954
|
+
"name": "--qr-scanner-viewfinder-color",
|
|
10955
|
+
"description": "Viewfinder frame color"
|
|
10956
|
+
},
|
|
10957
|
+
{
|
|
10958
|
+
"name": "--qr-scanner-status-color",
|
|
10959
|
+
"description": "Status text color"
|
|
10960
|
+
}
|
|
10961
|
+
],
|
|
10962
|
+
"demos": [
|
|
10963
|
+
{
|
|
10964
|
+
"url": "",
|
|
10965
|
+
"description": "```html\n<ore-qr-scanner active @scan=${(e) => pair(e.detail.value)}></ore-qr-scanner>\n```"
|
|
10966
|
+
}
|
|
10967
|
+
]
|
|
10968
|
+
}
|
|
10969
|
+
],
|
|
10970
|
+
"exports": [
|
|
10971
|
+
{
|
|
10972
|
+
"kind": "js",
|
|
10973
|
+
"name": "QR_SCANNER_TAG",
|
|
10974
|
+
"declaration": {
|
|
10975
|
+
"name": "QR_SCANNER_TAG",
|
|
10976
|
+
"module": "src/inputs/qr-scanner/qr-scanner.ts"
|
|
10977
|
+
}
|
|
10978
|
+
},
|
|
10979
|
+
{
|
|
10980
|
+
"kind": "custom-element-definition",
|
|
10981
|
+
"name": "OreQrScannerElement",
|
|
10982
|
+
"declaration": {
|
|
10983
|
+
"name": "OreQrScannerElement",
|
|
10984
|
+
"module": "src/inputs/qr-scanner/qr-scanner.ts"
|
|
10985
|
+
}
|
|
10986
|
+
}
|
|
10987
|
+
]
|
|
10988
|
+
},
|
|
10213
10989
|
{
|
|
10214
10990
|
"kind": "javascript-module",
|
|
10215
10991
|
"path": "src/inputs/radio/radio.ts",
|