@vielzeug/codex 26.11.10 → 26.11.11
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/data/catalog.json +44 -44
- package/data/llms-full.txt +1 -1
- package/data/llms.txt +1 -1
- package/data/manifest.json +1 -1
- package/data/refine.json +536 -536
- package/dist/tools/refine.js +2 -6
- package/dist/tools/refine.js.map +1 -1
- package/package.json +2 -2
- package/skills/vielzeug/SKILL.md +22 -17
package/data/refine.json
CHANGED
|
@@ -2845,184 +2845,78 @@
|
|
|
2845
2845
|
}
|
|
2846
2846
|
]
|
|
2847
2847
|
},
|
|
2848
|
-
{
|
|
2849
|
-
"kind": "function",
|
|
2850
|
-
"name": "syncCoverflow",
|
|
2851
|
-
"return": {
|
|
2852
|
-
"type": {
|
|
2853
|
-
"text": "void"
|
|
2854
|
-
}
|
|
2855
|
-
},
|
|
2856
|
-
"parameters": [
|
|
2857
|
-
{
|
|
2858
|
-
"name": "slides",
|
|
2859
|
-
"type": {
|
|
2860
|
-
"text": "HTMLElement[]"
|
|
2861
|
-
}
|
|
2862
|
-
},
|
|
2863
|
-
{
|
|
2864
|
-
"name": "current",
|
|
2865
|
-
"type": {
|
|
2866
|
-
"text": "number"
|
|
2867
|
-
}
|
|
2868
|
-
},
|
|
2869
|
-
{
|
|
2870
|
-
"name": "options",
|
|
2871
|
-
"type": {
|
|
2872
|
-
"text": "{ extent: number; horizontal: boolean; loop: boolean; rtl: boolean; size: number; spacing: number }"
|
|
2873
|
-
}
|
|
2874
|
-
}
|
|
2875
|
-
]
|
|
2876
|
-
},
|
|
2877
|
-
{
|
|
2878
|
-
"kind": "function",
|
|
2879
|
-
"name": "clearCoverflow",
|
|
2880
|
-
"return": {
|
|
2881
|
-
"type": {
|
|
2882
|
-
"text": "void"
|
|
2883
|
-
}
|
|
2884
|
-
},
|
|
2885
|
-
"parameters": [
|
|
2886
|
-
{
|
|
2887
|
-
"name": "slide",
|
|
2888
|
-
"type": {
|
|
2889
|
-
"text": "HTMLElement"
|
|
2890
|
-
}
|
|
2891
|
-
}
|
|
2892
|
-
]
|
|
2893
|
-
},
|
|
2894
|
-
{
|
|
2895
|
-
"kind": "variable",
|
|
2896
|
-
"name": "CAROUSEL_SLIDE_TAG",
|
|
2897
|
-
"type": {
|
|
2898
|
-
"text": "'ore-carousel-slide'"
|
|
2899
|
-
},
|
|
2900
|
-
"default": "'ore-carousel-slide'"
|
|
2901
|
-
},
|
|
2902
|
-
{
|
|
2903
|
-
"kind": "class",
|
|
2904
|
-
"name": "OreCarouselSlideElement",
|
|
2905
|
-
"tagName": "ore-carousel-slide",
|
|
2906
|
-
"customElement": true,
|
|
2907
|
-
"description": "",
|
|
2908
|
-
"summary": "",
|
|
2909
|
-
"demos": []
|
|
2910
|
-
},
|
|
2911
|
-
{
|
|
2912
|
-
"kind": "variable",
|
|
2913
|
-
"name": "CAROUSEL_ORIENTATIONS",
|
|
2914
|
-
"type": {
|
|
2915
|
-
"text": "['horizontal', 'vertical']"
|
|
2916
|
-
},
|
|
2917
|
-
"default": "['horizontal', 'vertical']"
|
|
2918
|
-
},
|
|
2919
2848
|
{
|
|
2920
2849
|
"kind": "variable",
|
|
2921
|
-
"name": "
|
|
2850
|
+
"name": "CHAT_MESSAGE_STATUSES",
|
|
2922
2851
|
"type": {
|
|
2923
|
-
"text": "['
|
|
2852
|
+
"text": "['error', 'sending', 'sent']"
|
|
2924
2853
|
},
|
|
2925
|
-
"default": "['
|
|
2854
|
+
"default": "['error', 'sending', 'sent']"
|
|
2926
2855
|
},
|
|
2927
2856
|
{
|
|
2928
2857
|
"kind": "variable",
|
|
2929
|
-
"name": "
|
|
2858
|
+
"name": "CHAT_MESSAGE_TAG",
|
|
2930
2859
|
"type": {
|
|
2931
|
-
"text": "'ore-
|
|
2860
|
+
"text": "'ore-chat-message'"
|
|
2932
2861
|
},
|
|
2933
|
-
"default": "'ore-
|
|
2934
|
-
"description": "
|
|
2862
|
+
"default": "'ore-chat-message'",
|
|
2863
|
+
"description": "A single message bubble for chat/conversation UIs: sender-aware alignment, an optional\navatar slot, delivery status (sending/sent/error with retry), and a streaming cursor for\nassistant messages still generating. Content is provided via the default slot, so any\nmarkdown-to-HTML rendering stays the consumer's choice.\n\nThe default slot's leading/trailing whitespace-only text nodes are trimmed in place once\nper slot assignment (mount, and again on `slotchange`): pretty-printed HTML's\nindentation would otherwise render as blank lines, since the bubble preserves line breaks\n(`white-space: pre-wrap`) for genuine multi-paragraph replies. This mutates those specific\ntext nodes' `textContent` directly; it never touches nodes appended afterward (e.g. by\n`el.textContent += token` while streaming), only the ones present at assignment time."
|
|
2935
2864
|
},
|
|
2936
2865
|
{
|
|
2937
2866
|
"kind": "class",
|
|
2938
|
-
"name": "
|
|
2939
|
-
"tagName": "ore-
|
|
2867
|
+
"name": "OreChatMessageElement",
|
|
2868
|
+
"tagName": "ore-chat-message",
|
|
2940
2869
|
"customElement": true,
|
|
2941
|
-
"description": "
|
|
2870
|
+
"description": "A single message bubble for chat/conversation UIs: sender-aware alignment, an optional\navatar slot, delivery status (sending/sent/error with retry), and a streaming cursor for\nassistant messages still generating. Content is provided via the default slot, so any\nmarkdown-to-HTML rendering stays the consumer's choice.\nThe default slot's leading/trailing whitespace-only text nodes are trimmed in place once\nper slot assignment (mount, and again on `slotchange`): pretty-printed HTML's\nindentation would otherwise render as blank lines, since the bubble preserves line breaks\n(`white-space: pre-wrap`) for genuine multi-paragraph replies. This mutates those specific\ntext nodes' `textContent` directly; it never touches nodes appended afterward (e.g. by\n`el.textContent += token` while streaming), only the ones present at assignment time.",
|
|
2942
2871
|
"summary": "",
|
|
2943
2872
|
"attributes": [
|
|
2944
2873
|
{
|
|
2945
|
-
"name": "
|
|
2946
|
-
"type": {
|
|
2947
|
-
"text": "'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error'"
|
|
2948
|
-
},
|
|
2949
|
-
"description": "Theme color for navigation buttons: 'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error'"
|
|
2950
|
-
},
|
|
2951
|
-
{
|
|
2952
|
-
"name": "autoplay",
|
|
2953
|
-
"type": {
|
|
2954
|
-
"text": "boolean"
|
|
2955
|
-
},
|
|
2956
|
-
"description": "Advance slides automatically (default false)"
|
|
2957
|
-
},
|
|
2958
|
-
{
|
|
2959
|
-
"name": "autoplay-interval",
|
|
2874
|
+
"name": "sender",
|
|
2960
2875
|
"type": {
|
|
2961
|
-
"text": "
|
|
2876
|
+
"text": "'user' | 'assistant' | 'system'"
|
|
2962
2877
|
},
|
|
2963
|
-
"description": "
|
|
2878
|
+
"description": "Who sent the message: 'user' | 'assistant' | 'system' (default 'assistant')"
|
|
2964
2879
|
},
|
|
2965
2880
|
{
|
|
2966
|
-
"name": "
|
|
2881
|
+
"name": "name",
|
|
2967
2882
|
"type": {
|
|
2968
2883
|
"text": "string"
|
|
2969
2884
|
},
|
|
2970
|
-
"description": "
|
|
2971
|
-
},
|
|
2972
|
-
{
|
|
2973
|
-
"name": "loop",
|
|
2974
|
-
"type": {
|
|
2975
|
-
"text": "boolean"
|
|
2976
|
-
},
|
|
2977
|
-
"description": "Loop from last slide to first (default true)"
|
|
2885
|
+
"description": "Display name shown above the bubble"
|
|
2978
2886
|
},
|
|
2979
2887
|
{
|
|
2980
|
-
"name": "
|
|
2888
|
+
"name": "timestamp",
|
|
2981
2889
|
"type": {
|
|
2982
2890
|
"text": "string"
|
|
2983
2891
|
},
|
|
2984
|
-
"description": "
|
|
2892
|
+
"description": "ISO 8601 timestamp, rendered as a localized short time"
|
|
2985
2893
|
},
|
|
2986
2894
|
{
|
|
2987
|
-
"name": "
|
|
2895
|
+
"name": "status",
|
|
2988
2896
|
"type": {
|
|
2989
|
-
"text": "'
|
|
2897
|
+
"text": "'sending' | 'sent' | 'error'"
|
|
2990
2898
|
},
|
|
2991
|
-
"description": "
|
|
2899
|
+
"description": "Delivery status: 'sending' | 'sent' | 'error'"
|
|
2992
2900
|
},
|
|
2993
2901
|
{
|
|
2994
|
-
"name": "
|
|
2902
|
+
"name": "error",
|
|
2995
2903
|
"type": {
|
|
2996
|
-
"text": "
|
|
2904
|
+
"text": "string"
|
|
2997
2905
|
},
|
|
2998
|
-
"description": "
|
|
2906
|
+
"description": "Error detail shown beneath the bubble when status=\"error\""
|
|
2999
2907
|
},
|
|
3000
2908
|
{
|
|
3001
|
-
"name": "
|
|
2909
|
+
"name": "streaming",
|
|
3002
2910
|
"type": {
|
|
3003
2911
|
"text": "boolean"
|
|
3004
2912
|
},
|
|
3005
|
-
"description": "
|
|
3006
|
-
},
|
|
3007
|
-
{
|
|
3008
|
-
"name": "max-indicators",
|
|
3009
|
-
"type": {
|
|
3010
|
-
"text": "number"
|
|
3011
|
-
},
|
|
3012
|
-
"description": "Maximum visible indicators (default 7)"
|
|
3013
|
-
},
|
|
3014
|
-
{
|
|
3015
|
-
"name": "slide-index",
|
|
3016
|
-
"type": {
|
|
3017
|
-
"text": "number"
|
|
3018
|
-
},
|
|
3019
|
-
"description": "Active slide index (zero-based, default 0)"
|
|
2913
|
+
"description": "Append a blinking cursor after the content"
|
|
3020
2914
|
}
|
|
3021
2915
|
],
|
|
3022
2916
|
"events": [
|
|
3023
2917
|
{
|
|
3024
|
-
"name": "
|
|
3025
|
-
"description": "
|
|
2918
|
+
"name": "retry",
|
|
2919
|
+
"description": "Fired when the retry action is activated. detail: { originalEvent }",
|
|
3026
2920
|
"type": {
|
|
3027
2921
|
"text": "CustomEvent"
|
|
3028
2922
|
}
|
|
@@ -3031,164 +2925,175 @@
|
|
|
3031
2925
|
"slots": [
|
|
3032
2926
|
{
|
|
3033
2927
|
"name": "",
|
|
3034
|
-
"description": "
|
|
2928
|
+
"description": "Message content"
|
|
2929
|
+
},
|
|
2930
|
+
{
|
|
2931
|
+
"name": "avatar",
|
|
2932
|
+
"description": "Avatar element (e.g. `<ore-avatar>`)"
|
|
2933
|
+
},
|
|
2934
|
+
{
|
|
2935
|
+
"name": "actions",
|
|
2936
|
+
"description": "Action buttons shown beneath the message (copy, regenerate, feedback, …)"
|
|
3035
2937
|
}
|
|
3036
2938
|
],
|
|
3037
2939
|
"cssParts": [
|
|
3038
2940
|
{
|
|
3039
|
-
"name": "
|
|
3040
|
-
"description": "
|
|
2941
|
+
"name": "row",
|
|
2942
|
+
"description": "Root row container (avatar + column)"
|
|
3041
2943
|
},
|
|
3042
2944
|
{
|
|
3043
|
-
"name": "
|
|
3044
|
-
"description": "
|
|
2945
|
+
"name": "avatar",
|
|
2946
|
+
"description": "Avatar slot container"
|
|
3045
2947
|
},
|
|
3046
2948
|
{
|
|
3047
|
-
"name": "
|
|
3048
|
-
"description": "
|
|
2949
|
+
"name": "column",
|
|
2950
|
+
"description": "Column containing name, bubble, meta, and actions"
|
|
3049
2951
|
},
|
|
3050
2952
|
{
|
|
3051
|
-
"name": "
|
|
3052
|
-
"description": "
|
|
2953
|
+
"name": "name",
|
|
2954
|
+
"description": "Sender display name"
|
|
3053
2955
|
},
|
|
3054
2956
|
{
|
|
3055
|
-
"name": "
|
|
3056
|
-
"description": "
|
|
3057
|
-
}
|
|
3058
|
-
],
|
|
3059
|
-
"cssProperties": [
|
|
2957
|
+
"name": "bubble",
|
|
2958
|
+
"description": "Message bubble container"
|
|
2959
|
+
},
|
|
3060
2960
|
{
|
|
3061
|
-
"name": "
|
|
3062
|
-
"description": "
|
|
2961
|
+
"name": "content",
|
|
2962
|
+
"description": "Content container inside the bubble"
|
|
3063
2963
|
},
|
|
3064
2964
|
{
|
|
3065
|
-
"name": "
|
|
3066
|
-
"description": "
|
|
2965
|
+
"name": "cursor",
|
|
2966
|
+
"description": "Blinking streaming cursor"
|
|
3067
2967
|
},
|
|
3068
2968
|
{
|
|
3069
|
-
"name": "
|
|
3070
|
-
"description": "
|
|
2969
|
+
"name": "meta",
|
|
2970
|
+
"description": "Row of timestamp, status, and error text below the bubble"
|
|
3071
2971
|
},
|
|
3072
2972
|
{
|
|
3073
|
-
"name": "
|
|
3074
|
-
"description": "
|
|
2973
|
+
"name": "timestamp",
|
|
2974
|
+
"description": "Timestamp `<time>` element"
|
|
3075
2975
|
},
|
|
3076
2976
|
{
|
|
3077
|
-
"name": "
|
|
3078
|
-
"description": "
|
|
2977
|
+
"name": "status",
|
|
2978
|
+
"description": "Status indicator"
|
|
3079
2979
|
},
|
|
3080
2980
|
{
|
|
3081
|
-
"name": "
|
|
3082
|
-
"description": "
|
|
2981
|
+
"name": "error",
|
|
2982
|
+
"description": "Error text"
|
|
3083
2983
|
},
|
|
3084
2984
|
{
|
|
3085
|
-
"name": "
|
|
3086
|
-
"description": "
|
|
2985
|
+
"name": "retry",
|
|
2986
|
+
"description": "Retry button (status=\"error\" only)"
|
|
3087
2987
|
},
|
|
3088
2988
|
{
|
|
3089
|
-
"name": "
|
|
3090
|
-
"description": "
|
|
2989
|
+
"name": "actions",
|
|
2990
|
+
"description": "Actions slot container"
|
|
2991
|
+
}
|
|
2992
|
+
],
|
|
2993
|
+
"cssProperties": [
|
|
2994
|
+
{
|
|
2995
|
+
"name": "--chat-message-bg",
|
|
2996
|
+
"description": "Bubble background color (assistant/system)"
|
|
3091
2997
|
},
|
|
3092
2998
|
{
|
|
3093
|
-
"name": "--
|
|
3094
|
-
"description": "
|
|
2999
|
+
"name": "--chat-message-color",
|
|
3000
|
+
"description": "Bubble text color (assistant/system)"
|
|
3095
3001
|
},
|
|
3096
3002
|
{
|
|
3097
|
-
"name": "--
|
|
3098
|
-
"description": "
|
|
3003
|
+
"name": "--chat-message-user-bg",
|
|
3004
|
+
"description": "Bubble background color (user)"
|
|
3099
3005
|
},
|
|
3100
3006
|
{
|
|
3101
|
-
"name": "--
|
|
3102
|
-
"description": "
|
|
3007
|
+
"name": "--chat-message-user-color",
|
|
3008
|
+
"description": "Bubble text color (user)"
|
|
3103
3009
|
},
|
|
3104
3010
|
{
|
|
3105
|
-
"name": "--
|
|
3106
|
-
"description": "
|
|
3011
|
+
"name": "--chat-message-radius",
|
|
3012
|
+
"description": "Bubble border radius"
|
|
3107
3013
|
},
|
|
3108
3014
|
{
|
|
3109
|
-
"name": "--
|
|
3110
|
-
"description": "
|
|
3015
|
+
"name": "--chat-message-max-width",
|
|
3016
|
+
"description": "Maximum bubble width"
|
|
3111
3017
|
}
|
|
3112
3018
|
],
|
|
3113
3019
|
"demos": [
|
|
3114
3020
|
{
|
|
3115
3021
|
"url": "",
|
|
3116
|
-
"description": "```html\n<ore-
|
|
3022
|
+
"description": "```html\n<ore-chat-message sender=\"user\" timestamp=\"2024-01-01T12:00:00Z\" status=\"sent\">\n What's the weather like today?\n</ore-chat-message>\n<ore-chat-message sender=\"assistant\" name=\"Assistant\" streaming>\n Let me check that for you\n</ore-chat-message>\n```"
|
|
3117
3023
|
}
|
|
3118
3024
|
]
|
|
3119
3025
|
},
|
|
3120
3026
|
{
|
|
3121
3027
|
"kind": "variable",
|
|
3122
|
-
"name": "
|
|
3028
|
+
"name": "CHAT_PANEL_TAG",
|
|
3123
3029
|
"type": {
|
|
3124
|
-
"text": "
|
|
3125
|
-
},
|
|
3126
|
-
"default": "['error', 'sending', 'sent']"
|
|
3127
|
-
},
|
|
3128
|
-
{
|
|
3129
|
-
"kind": "variable",
|
|
3130
|
-
"name": "CHAT_MESSAGE_TAG",
|
|
3131
|
-
"type": {
|
|
3132
|
-
"text": "'ore-chat-message'"
|
|
3030
|
+
"text": "'ore-chat-panel'"
|
|
3133
3031
|
},
|
|
3134
|
-
"default": "'ore-chat-
|
|
3135
|
-
"description": "A
|
|
3032
|
+
"default": "'ore-chat-panel'",
|
|
3033
|
+
"description": "A self-contained assistant chat surface: the fixed corner window a demo or support\nflow needs: header with title, status, Start over and close; a live-region message\ntranscript built from `ore-chat-message`; suggested questions while the transcript\nholds only the greeting; and an `ore-message-composer` footer.\n\nThe panel owns presentation and interaction only. Reply generation, persistence, and\naction semantics stay with the consumer: listen for `send`, append the assistant reply\nto `messages`, and reassign the array; handle `action` for whatever a message's action\npayload means in your app."
|
|
3136
3034
|
},
|
|
3137
3035
|
{
|
|
3138
3036
|
"kind": "class",
|
|
3139
|
-
"name": "
|
|
3140
|
-
"tagName": "ore-chat-
|
|
3037
|
+
"name": "OreChatPanelElement",
|
|
3038
|
+
"tagName": "ore-chat-panel",
|
|
3141
3039
|
"customElement": true,
|
|
3142
|
-
"description": "A
|
|
3040
|
+
"description": "A self-contained assistant chat surface: the fixed corner window a demo or support\nflow needs: header with title, status, Start over and close; a live-region message\ntranscript built from `ore-chat-message`; suggested questions while the transcript\nholds only the greeting; and an `ore-message-composer` footer.\nThe panel owns presentation and interaction only. Reply generation, persistence, and\naction semantics stay with the consumer: listen for `send`, append the assistant reply\nto `messages`, and reassign the array; handle `action` for whatever a message's action\npayload means in your app.",
|
|
3143
3041
|
"summary": "",
|
|
3144
3042
|
"attributes": [
|
|
3145
3043
|
{
|
|
3146
|
-
"name": "
|
|
3044
|
+
"name": "label",
|
|
3147
3045
|
"type": {
|
|
3148
|
-
"text": "
|
|
3046
|
+
"text": "string"
|
|
3149
3047
|
},
|
|
3150
|
-
"description": "
|
|
3048
|
+
"description": "Accessible name for the panel region"
|
|
3151
3049
|
},
|
|
3152
3050
|
{
|
|
3153
|
-
"name": "
|
|
3051
|
+
"name": "open",
|
|
3154
3052
|
"type": {
|
|
3155
|
-
"text": "
|
|
3053
|
+
"text": "boolean"
|
|
3156
3054
|
},
|
|
3157
|
-
"description": "
|
|
3055
|
+
"description": "Open state"
|
|
3158
3056
|
},
|
|
3159
3057
|
{
|
|
3160
|
-
"name": "
|
|
3058
|
+
"name": "initials",
|
|
3161
3059
|
"type": {
|
|
3162
3060
|
"text": "string"
|
|
3163
3061
|
},
|
|
3164
|
-
"description": "
|
|
3062
|
+
"description": "Assistant avatar initials (default 'V')"
|
|
3165
3063
|
},
|
|
3166
3064
|
{
|
|
3167
|
-
"name": "
|
|
3065
|
+
"name": "maxlength",
|
|
3168
3066
|
"type": {
|
|
3169
|
-
"text": "
|
|
3067
|
+
"text": "number"
|
|
3170
3068
|
},
|
|
3171
|
-
"description": "
|
|
3069
|
+
"description": "Composer character limit (default 240)"
|
|
3070
|
+
}
|
|
3071
|
+
],
|
|
3072
|
+
"events": [
|
|
3073
|
+
{
|
|
3074
|
+
"name": "send",
|
|
3075
|
+
"description": "A send or suggestion was submitted. detail: { text }",
|
|
3076
|
+
"type": {
|
|
3077
|
+
"text": "CustomEvent"
|
|
3078
|
+
}
|
|
3172
3079
|
},
|
|
3173
3080
|
{
|
|
3174
|
-
"name": "
|
|
3081
|
+
"name": "action",
|
|
3082
|
+
"description": "A message action button was activated. detail: { payload }",
|
|
3175
3083
|
"type": {
|
|
3176
|
-
"text": "
|
|
3177
|
-
}
|
|
3178
|
-
"description": "Error detail shown beneath the bubble when status=\"error\""
|
|
3084
|
+
"text": "CustomEvent"
|
|
3085
|
+
}
|
|
3179
3086
|
},
|
|
3180
3087
|
{
|
|
3181
|
-
"name": "
|
|
3088
|
+
"name": "reset",
|
|
3089
|
+
"description": "The transcript was cleared via Start over.",
|
|
3182
3090
|
"type": {
|
|
3183
|
-
"text": "
|
|
3184
|
-
}
|
|
3185
|
-
|
|
3186
|
-
}
|
|
3187
|
-
],
|
|
3188
|
-
"events": [
|
|
3091
|
+
"text": "CustomEvent"
|
|
3092
|
+
}
|
|
3093
|
+
},
|
|
3189
3094
|
{
|
|
3190
|
-
"name": "
|
|
3191
|
-
"description": "
|
|
3095
|
+
"name": "open-change",
|
|
3096
|
+
"description": "Open state changed. detail: { open, reason }",
|
|
3192
3097
|
"type": {
|
|
3193
3098
|
"text": "CustomEvent"
|
|
3194
3099
|
}
|
|
@@ -3196,235 +3101,330 @@
|
|
|
3196
3101
|
],
|
|
3197
3102
|
"slots": [
|
|
3198
3103
|
{
|
|
3199
|
-
"name": "",
|
|
3200
|
-
"description": "
|
|
3201
|
-
},
|
|
3202
|
-
{
|
|
3203
|
-
"name": "avatar",
|
|
3204
|
-
"description": "Avatar element (e.g. `<ore-avatar>`)"
|
|
3205
|
-
},
|
|
3206
|
-
{
|
|
3207
|
-
"name": "actions",
|
|
3208
|
-
"description": "Action buttons shown beneath the message (copy, regenerate, feedback, …)"
|
|
3104
|
+
"name": "header",
|
|
3105
|
+
"description": "Replaces the default title/status header content"
|
|
3209
3106
|
}
|
|
3210
3107
|
],
|
|
3211
3108
|
"cssParts": [
|
|
3212
3109
|
{
|
|
3213
|
-
"name": "
|
|
3214
|
-
"description": "
|
|
3215
|
-
},
|
|
3216
|
-
{
|
|
3217
|
-
"name": "avatar",
|
|
3218
|
-
"description": "Avatar slot container"
|
|
3219
|
-
},
|
|
3220
|
-
{
|
|
3221
|
-
"name": "column",
|
|
3222
|
-
"description": "Column containing name, bubble, meta, and actions"
|
|
3223
|
-
},
|
|
3224
|
-
{
|
|
3225
|
-
"name": "name",
|
|
3226
|
-
"description": "Sender display name"
|
|
3110
|
+
"name": "window",
|
|
3111
|
+
"description": "The fixed panel window"
|
|
3227
3112
|
},
|
|
3228
3113
|
{
|
|
3229
|
-
"name": "
|
|
3230
|
-
"description": "
|
|
3114
|
+
"name": "header",
|
|
3115
|
+
"description": "Header row"
|
|
3231
3116
|
},
|
|
3232
3117
|
{
|
|
3233
|
-
"name": "
|
|
3234
|
-
"description": "
|
|
3118
|
+
"name": "body",
|
|
3119
|
+
"description": "Scrollable transcript area"
|
|
3235
3120
|
},
|
|
3236
3121
|
{
|
|
3237
|
-
"name": "
|
|
3238
|
-
"description": "
|
|
3122
|
+
"name": "messages",
|
|
3123
|
+
"description": "Message list (role=log)"
|
|
3239
3124
|
},
|
|
3240
3125
|
{
|
|
3241
|
-
"name": "
|
|
3242
|
-
"description": "
|
|
3126
|
+
"name": "suggestions",
|
|
3127
|
+
"description": "Suggestion chips row"
|
|
3243
3128
|
},
|
|
3244
3129
|
{
|
|
3245
|
-
"name": "
|
|
3246
|
-
"description": "
|
|
3247
|
-
}
|
|
3130
|
+
"name": "composer",
|
|
3131
|
+
"description": "Composer footer"
|
|
3132
|
+
}
|
|
3133
|
+
],
|
|
3134
|
+
"cssProperties": [
|
|
3248
3135
|
{
|
|
3249
|
-
"name": "
|
|
3250
|
-
"description": "
|
|
3136
|
+
"name": "--chat-panel-width",
|
|
3137
|
+
"description": "Panel width (default min(420px, viewport-fit))"
|
|
3251
3138
|
},
|
|
3252
3139
|
{
|
|
3253
|
-
"name": "
|
|
3254
|
-
"description": "
|
|
3140
|
+
"name": "--chat-panel-height",
|
|
3141
|
+
"description": "Panel height (default min(640px, viewport-fit))"
|
|
3255
3142
|
},
|
|
3256
3143
|
{
|
|
3257
|
-
"name": "
|
|
3258
|
-
"description": "
|
|
3144
|
+
"name": "--chat-panel-inset",
|
|
3145
|
+
"description": "Distance from the viewport corner (default --size-6)"
|
|
3259
3146
|
},
|
|
3260
3147
|
{
|
|
3261
|
-
"name": "
|
|
3262
|
-
"description": "
|
|
3148
|
+
"name": "--chat-panel-z-index",
|
|
3149
|
+
"description": "Stacking order (default --z-fixed)"
|
|
3263
3150
|
}
|
|
3264
3151
|
],
|
|
3265
|
-
"
|
|
3266
|
-
{
|
|
3267
|
-
"name": "--chat-message-bg",
|
|
3268
|
-
"description": "Bubble background color (assistant/system)"
|
|
3269
|
-
},
|
|
3270
|
-
{
|
|
3271
|
-
"name": "--chat-message-color",
|
|
3272
|
-
"description": "Bubble text color (assistant/system)"
|
|
3273
|
-
},
|
|
3152
|
+
"demos": [
|
|
3274
3153
|
{
|
|
3275
|
-
"
|
|
3276
|
-
"description": "
|
|
3277
|
-
}
|
|
3154
|
+
"url": "",
|
|
3155
|
+
"description": "```html\n<ore-chat-panel id=\"advisor\" label=\"Model advisor\"></ore-chat-panel>\n<script type=\"module\">\n import '@vielzeug/refine/chat-panel';\n const panel = document.getElementById('advisor');\n panel.messages = [{ sender: 'assistant', text: 'Hi! What can I help with?' }];\n panel.addEventListener('send', (event) => {\n panel.messages = [\n ...panel.messages,\n { sender: 'user', text: event.detail.text },\n { sender: 'assistant', text: 'Let me look into that.' },\n ];\n });\n panel.show();\n</script>\n```"
|
|
3156
|
+
}
|
|
3157
|
+
]
|
|
3158
|
+
},
|
|
3159
|
+
{
|
|
3160
|
+
"kind": "function",
|
|
3161
|
+
"name": "syncCoverflow",
|
|
3162
|
+
"return": {
|
|
3163
|
+
"type": {
|
|
3164
|
+
"text": "void"
|
|
3165
|
+
}
|
|
3166
|
+
},
|
|
3167
|
+
"parameters": [
|
|
3278
3168
|
{
|
|
3279
|
-
"name": "
|
|
3280
|
-
"
|
|
3169
|
+
"name": "slides",
|
|
3170
|
+
"type": {
|
|
3171
|
+
"text": "HTMLElement[]"
|
|
3172
|
+
}
|
|
3281
3173
|
},
|
|
3282
3174
|
{
|
|
3283
|
-
"name": "
|
|
3284
|
-
"
|
|
3175
|
+
"name": "current",
|
|
3176
|
+
"type": {
|
|
3177
|
+
"text": "number"
|
|
3178
|
+
}
|
|
3285
3179
|
},
|
|
3286
3180
|
{
|
|
3287
|
-
"name": "
|
|
3288
|
-
"
|
|
3181
|
+
"name": "options",
|
|
3182
|
+
"type": {
|
|
3183
|
+
"text": "{ extent: number; horizontal: boolean; loop: boolean; rtl: boolean; size: number; spacing: number }"
|
|
3184
|
+
}
|
|
3289
3185
|
}
|
|
3290
|
-
]
|
|
3291
|
-
|
|
3186
|
+
]
|
|
3187
|
+
},
|
|
3188
|
+
{
|
|
3189
|
+
"kind": "function",
|
|
3190
|
+
"name": "clearCoverflow",
|
|
3191
|
+
"return": {
|
|
3192
|
+
"type": {
|
|
3193
|
+
"text": "void"
|
|
3194
|
+
}
|
|
3195
|
+
},
|
|
3196
|
+
"parameters": [
|
|
3292
3197
|
{
|
|
3293
|
-
"
|
|
3294
|
-
"
|
|
3198
|
+
"name": "slide",
|
|
3199
|
+
"type": {
|
|
3200
|
+
"text": "HTMLElement"
|
|
3201
|
+
}
|
|
3295
3202
|
}
|
|
3296
3203
|
]
|
|
3297
3204
|
},
|
|
3298
3205
|
{
|
|
3299
3206
|
"kind": "variable",
|
|
3300
|
-
"name": "
|
|
3207
|
+
"name": "CAROUSEL_SLIDE_TAG",
|
|
3301
3208
|
"type": {
|
|
3302
|
-
"text": "'ore-
|
|
3209
|
+
"text": "'ore-carousel-slide'"
|
|
3303
3210
|
},
|
|
3304
|
-
"default": "'ore-
|
|
3305
|
-
"description": "A self-contained assistant chat surface: the fixed corner window a demo or support\nflow needs: header with title, status, Start over and close; a live-region message\ntranscript built from `ore-chat-message`; suggested questions while the transcript\nholds only the greeting; and an `ore-message-composer` footer.\n\nThe panel owns presentation and interaction only. Reply generation, persistence, and\naction semantics stay with the consumer: listen for `send`, append the assistant reply\nto `messages`, and reassign the array; handle `action` for whatever a message's action\npayload means in your app."
|
|
3211
|
+
"default": "'ore-carousel-slide'"
|
|
3306
3212
|
},
|
|
3307
3213
|
{
|
|
3308
3214
|
"kind": "class",
|
|
3309
|
-
"name": "
|
|
3310
|
-
"tagName": "ore-
|
|
3215
|
+
"name": "OreCarouselSlideElement",
|
|
3216
|
+
"tagName": "ore-carousel-slide",
|
|
3311
3217
|
"customElement": true,
|
|
3312
|
-
"description": "
|
|
3218
|
+
"description": "",
|
|
3219
|
+
"summary": "",
|
|
3220
|
+
"demos": []
|
|
3221
|
+
},
|
|
3222
|
+
{
|
|
3223
|
+
"kind": "variable",
|
|
3224
|
+
"name": "CAROUSEL_ORIENTATIONS",
|
|
3225
|
+
"type": {
|
|
3226
|
+
"text": "['horizontal', 'vertical']"
|
|
3227
|
+
},
|
|
3228
|
+
"default": "['horizontal', 'vertical']"
|
|
3229
|
+
},
|
|
3230
|
+
{
|
|
3231
|
+
"kind": "variable",
|
|
3232
|
+
"name": "CAROUSEL_VARIANTS",
|
|
3233
|
+
"type": {
|
|
3234
|
+
"text": "['default', 'fade', 'filmstrip', 'gallery', 'coverflow']"
|
|
3235
|
+
},
|
|
3236
|
+
"default": "['default', 'fade', 'filmstrip', 'gallery', 'coverflow']"
|
|
3237
|
+
},
|
|
3238
|
+
{
|
|
3239
|
+
"kind": "variable",
|
|
3240
|
+
"name": "CAROUSEL_TAG",
|
|
3241
|
+
"type": {
|
|
3242
|
+
"text": "'ore-carousel'"
|
|
3243
|
+
},
|
|
3244
|
+
"default": "'ore-carousel'",
|
|
3245
|
+
"description": "An accessible, keyboard-navigable carousel / slideshow with optional\nautoplay, swipe support, and indicator dots.\n\nPlace `<ore-carousel-slide>` elements as direct children."
|
|
3246
|
+
},
|
|
3247
|
+
{
|
|
3248
|
+
"kind": "class",
|
|
3249
|
+
"name": "OreCarouselElement",
|
|
3250
|
+
"tagName": "ore-carousel",
|
|
3251
|
+
"customElement": true,
|
|
3252
|
+
"description": "An accessible, keyboard-navigable carousel / slideshow with optional\nautoplay, swipe support, and indicator dots.\nPlace `<ore-carousel-slide>` elements as direct children.",
|
|
3313
3253
|
"summary": "",
|
|
3314
3254
|
"attributes": [
|
|
3255
|
+
{
|
|
3256
|
+
"name": "color",
|
|
3257
|
+
"type": {
|
|
3258
|
+
"text": "'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error'"
|
|
3259
|
+
},
|
|
3260
|
+
"description": "Theme color for navigation buttons: 'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error'"
|
|
3261
|
+
},
|
|
3262
|
+
{
|
|
3263
|
+
"name": "autoplay",
|
|
3264
|
+
"type": {
|
|
3265
|
+
"text": "boolean"
|
|
3266
|
+
},
|
|
3267
|
+
"description": "Advance slides automatically (default false)"
|
|
3268
|
+
},
|
|
3269
|
+
{
|
|
3270
|
+
"name": "autoplay-interval",
|
|
3271
|
+
"type": {
|
|
3272
|
+
"text": "number"
|
|
3273
|
+
},
|
|
3274
|
+
"description": "Milliseconds between automatic advances (default 5000)"
|
|
3275
|
+
},
|
|
3315
3276
|
{
|
|
3316
3277
|
"name": "label",
|
|
3317
3278
|
"type": {
|
|
3318
3279
|
"text": "string"
|
|
3319
3280
|
},
|
|
3320
|
-
"description": "Accessible
|
|
3281
|
+
"description": "Accessible label for the carousel region"
|
|
3282
|
+
},
|
|
3283
|
+
{
|
|
3284
|
+
"name": "loop",
|
|
3285
|
+
"type": {
|
|
3286
|
+
"text": "boolean"
|
|
3287
|
+
},
|
|
3288
|
+
"description": "Loop from last slide to first (default true)"
|
|
3289
|
+
},
|
|
3290
|
+
{
|
|
3291
|
+
"name": "orientation",
|
|
3292
|
+
"type": {
|
|
3293
|
+
"text": "string"
|
|
3294
|
+
},
|
|
3295
|
+
"description": "'horizontal' (default) | 'vertical'"
|
|
3296
|
+
},
|
|
3297
|
+
{
|
|
3298
|
+
"name": "variant",
|
|
3299
|
+
"type": {
|
|
3300
|
+
"text": "'default' | 'fade' | 'filmstrip' | 'gallery' | 'coverflow'"
|
|
3301
|
+
},
|
|
3302
|
+
"description": "'default' | 'fade' | 'filmstrip' | 'gallery' | 'coverflow'"
|
|
3303
|
+
},
|
|
3304
|
+
{
|
|
3305
|
+
"name": "show-controls",
|
|
3306
|
+
"type": {
|
|
3307
|
+
"text": "boolean"
|
|
3308
|
+
},
|
|
3309
|
+
"description": "Show prev/next buttons (default true)"
|
|
3321
3310
|
},
|
|
3322
3311
|
{
|
|
3323
|
-
"name": "
|
|
3312
|
+
"name": "show-indicators",
|
|
3324
3313
|
"type": {
|
|
3325
3314
|
"text": "boolean"
|
|
3326
3315
|
},
|
|
3327
|
-
"description": "
|
|
3316
|
+
"description": "Show indicator dots (default true)"
|
|
3328
3317
|
},
|
|
3329
3318
|
{
|
|
3330
|
-
"name": "
|
|
3319
|
+
"name": "max-indicators",
|
|
3331
3320
|
"type": {
|
|
3332
|
-
"text": "
|
|
3321
|
+
"text": "number"
|
|
3333
3322
|
},
|
|
3334
|
-
"description": "
|
|
3323
|
+
"description": "Maximum visible indicators (default 7)"
|
|
3335
3324
|
},
|
|
3336
3325
|
{
|
|
3337
|
-
"name": "
|
|
3326
|
+
"name": "slide-index",
|
|
3338
3327
|
"type": {
|
|
3339
3328
|
"text": "number"
|
|
3340
3329
|
},
|
|
3341
|
-
"description": "
|
|
3330
|
+
"description": "Active slide index (zero-based, default 0)"
|
|
3342
3331
|
}
|
|
3343
3332
|
],
|
|
3344
3333
|
"events": [
|
|
3345
3334
|
{
|
|
3346
|
-
"name": "
|
|
3347
|
-
"description": "
|
|
3335
|
+
"name": "change",
|
|
3336
|
+
"description": "Fires when the active slide changes. detail: { index: number }",
|
|
3348
3337
|
"type": {
|
|
3349
3338
|
"text": "CustomEvent"
|
|
3350
3339
|
}
|
|
3340
|
+
}
|
|
3341
|
+
],
|
|
3342
|
+
"slots": [
|
|
3343
|
+
{
|
|
3344
|
+
"name": "",
|
|
3345
|
+
"description": "Place `<ore-carousel-slide>` elements here"
|
|
3346
|
+
}
|
|
3347
|
+
],
|
|
3348
|
+
"cssParts": [
|
|
3349
|
+
{
|
|
3350
|
+
"name": "track",
|
|
3351
|
+
"description": "The scrolling slide track element"
|
|
3351
3352
|
},
|
|
3352
3353
|
{
|
|
3353
|
-
"name": "
|
|
3354
|
-
"description": "
|
|
3355
|
-
"type": {
|
|
3356
|
-
"text": "CustomEvent"
|
|
3357
|
-
}
|
|
3354
|
+
"name": "controls",
|
|
3355
|
+
"description": "The prev/next button container"
|
|
3358
3356
|
},
|
|
3359
3357
|
{
|
|
3360
|
-
"name": "
|
|
3361
|
-
"description": "The
|
|
3362
|
-
"type": {
|
|
3363
|
-
"text": "CustomEvent"
|
|
3364
|
-
}
|
|
3358
|
+
"name": "indicators",
|
|
3359
|
+
"description": "The indicator dots container"
|
|
3365
3360
|
},
|
|
3366
3361
|
{
|
|
3367
|
-
"name": "
|
|
3368
|
-
"description": "
|
|
3369
|
-
|
|
3370
|
-
"text": "CustomEvent"
|
|
3371
|
-
}
|
|
3372
|
-
}
|
|
3373
|
-
],
|
|
3374
|
-
"slots": [
|
|
3362
|
+
"name": "prev-btn",
|
|
3363
|
+
"description": "The previous-slide button"
|
|
3364
|
+
},
|
|
3375
3365
|
{
|
|
3376
|
-
"name": "
|
|
3377
|
-
"description": "
|
|
3366
|
+
"name": "next-btn",
|
|
3367
|
+
"description": "The next-slide button"
|
|
3378
3368
|
}
|
|
3379
3369
|
],
|
|
3380
|
-
"
|
|
3370
|
+
"cssProperties": [
|
|
3381
3371
|
{
|
|
3382
|
-
"name": "
|
|
3383
|
-
"description": "
|
|
3372
|
+
"name": "--carousel-bg",
|
|
3373
|
+
"description": "Slide area background"
|
|
3384
3374
|
},
|
|
3385
3375
|
{
|
|
3386
|
-
"name": "
|
|
3387
|
-
"description": "
|
|
3376
|
+
"name": "--carousel-radius",
|
|
3377
|
+
"description": "Border radius of the carousel"
|
|
3388
3378
|
},
|
|
3389
3379
|
{
|
|
3390
|
-
"name": "
|
|
3391
|
-
"description": "
|
|
3380
|
+
"name": "--carousel-dot-bg",
|
|
3381
|
+
"description": "Inactive indicator color (default: var(--color-contrast-300))"
|
|
3392
3382
|
},
|
|
3393
3383
|
{
|
|
3394
|
-
"name": "
|
|
3395
|
-
"description": "
|
|
3384
|
+
"name": "--carousel-dot-active-bg",
|
|
3385
|
+
"description": "Active indicator / fill color (default: var(--color-contrast-700))"
|
|
3396
3386
|
},
|
|
3397
3387
|
{
|
|
3398
|
-
"name": "
|
|
3399
|
-
"description": "
|
|
3388
|
+
"name": "--carousel-transition-duration",
|
|
3389
|
+
"description": "Slide transition duration (default 0.35s; 0s under prefers-reduced-motion)."
|
|
3400
3390
|
},
|
|
3401
3391
|
{
|
|
3402
|
-
"name": "
|
|
3403
|
-
"description": "
|
|
3404
|
-
}
|
|
3405
|
-
],
|
|
3406
|
-
"cssProperties": [
|
|
3392
|
+
"name": "--carousel-min-height",
|
|
3393
|
+
"description": "Minimum height when no explicit height is set (default 240px)"
|
|
3394
|
+
},
|
|
3407
3395
|
{
|
|
3408
|
-
"name": "--
|
|
3409
|
-
"description": "
|
|
3396
|
+
"name": "--carousel-filmstrip-inactive",
|
|
3397
|
+
"description": "Width (horizontal) or height (vertical) of inactive slides in filmstrip mode"
|
|
3410
3398
|
},
|
|
3411
3399
|
{
|
|
3412
|
-
"name": "--
|
|
3413
|
-
"description": "
|
|
3400
|
+
"name": "--carousel-filmstrip-gap",
|
|
3401
|
+
"description": "Gap between slides in filmstrip mode"
|
|
3414
3402
|
},
|
|
3415
3403
|
{
|
|
3416
|
-
"name": "--
|
|
3417
|
-
"description": "
|
|
3404
|
+
"name": "--carousel-gallery-thumbnail",
|
|
3405
|
+
"description": "Width (horizontal) or height (vertical) of thumbnail slides in gallery mode (default var(--size-24))"
|
|
3418
3406
|
},
|
|
3419
3407
|
{
|
|
3420
|
-
"name": "--
|
|
3421
|
-
"description": "
|
|
3408
|
+
"name": "--carousel-gallery-gap",
|
|
3409
|
+
"description": "Gap between slides in gallery mode (default var(--size-2))"
|
|
3410
|
+
},
|
|
3411
|
+
{
|
|
3412
|
+
"name": "--carousel-coverflow-size",
|
|
3413
|
+
"description": "Card extent along the navigation axis (default var(--size-40))"
|
|
3414
|
+
},
|
|
3415
|
+
{
|
|
3416
|
+
"name": "--carousel-coverflow-spacing",
|
|
3417
|
+
"description": "Distance between cover centers (default var(--size-12))"
|
|
3418
|
+
},
|
|
3419
|
+
{
|
|
3420
|
+
"name": "--carousel-coverflow-perspective",
|
|
3421
|
+
"description": "Coverflow perspective (default calc(var(--size-64) * 4))"
|
|
3422
3422
|
}
|
|
3423
3423
|
],
|
|
3424
3424
|
"demos": [
|
|
3425
3425
|
{
|
|
3426
3426
|
"url": "",
|
|
3427
|
-
"description": "```html\n<ore-
|
|
3427
|
+
"description": "```html\n<ore-carousel label=\"Product highlights\" loop>\n <ore-carousel-slide>Slide 1</ore-carousel-slide>\n <ore-carousel-slide>Slide 2</ore-carousel-slide>\n <ore-carousel-slide>Slide 3</ore-carousel-slide>\n</ore-carousel>\n```"
|
|
3428
3428
|
}
|
|
3429
3429
|
]
|
|
3430
3430
|
},
|
|
@@ -13924,62 +13924,204 @@
|
|
|
13924
13924
|
"type": {
|
|
13925
13925
|
"text": "number"
|
|
13926
13926
|
},
|
|
13927
|
-
"description": "Maximum visible indicator buttons (default 7)"
|
|
13927
|
+
"description": "Maximum visible indicator buttons (default 7)"
|
|
13928
|
+
},
|
|
13929
|
+
{
|
|
13930
|
+
"name": "loop",
|
|
13931
|
+
"type": {
|
|
13932
|
+
"text": "boolean"
|
|
13933
|
+
},
|
|
13934
|
+
"description": "Wrap navigation at the ends (default false)"
|
|
13935
|
+
},
|
|
13936
|
+
{
|
|
13937
|
+
"name": "orientation",
|
|
13938
|
+
"type": {
|
|
13939
|
+
"text": "string"
|
|
13940
|
+
},
|
|
13941
|
+
"description": "horizontal (default) or vertical"
|
|
13942
|
+
},
|
|
13943
|
+
{
|
|
13944
|
+
"name": "previous-label",
|
|
13945
|
+
"type": {
|
|
13946
|
+
"text": "string"
|
|
13947
|
+
},
|
|
13948
|
+
"description": "Previous button name (default Previous item)"
|
|
13949
|
+
},
|
|
13950
|
+
{
|
|
13951
|
+
"name": "next-label",
|
|
13952
|
+
"type": {
|
|
13953
|
+
"text": "string"
|
|
13954
|
+
},
|
|
13955
|
+
"description": "Next button name (default Next item)"
|
|
13956
|
+
},
|
|
13957
|
+
{
|
|
13958
|
+
"name": "progress-duration",
|
|
13959
|
+
"type": {
|
|
13960
|
+
"text": "number"
|
|
13961
|
+
},
|
|
13962
|
+
"description": "Active indicator progress duration in milliseconds (default 0)"
|
|
13963
|
+
},
|
|
13964
|
+
{
|
|
13965
|
+
"name": "show-controls",
|
|
13966
|
+
"type": {
|
|
13967
|
+
"text": "boolean"
|
|
13968
|
+
},
|
|
13969
|
+
"description": "Show arrows (default true)"
|
|
13970
|
+
},
|
|
13971
|
+
{
|
|
13972
|
+
"name": "show-indicators",
|
|
13973
|
+
"type": {
|
|
13974
|
+
"text": "boolean"
|
|
13975
|
+
},
|
|
13976
|
+
"description": "Show indicators (default true)"
|
|
13977
|
+
}
|
|
13978
|
+
],
|
|
13979
|
+
"events": [
|
|
13980
|
+
{
|
|
13981
|
+
"name": "navigate",
|
|
13982
|
+
"description": "Requests a new index. detail: { index: number }",
|
|
13983
|
+
"type": {
|
|
13984
|
+
"text": "CustomEvent"
|
|
13985
|
+
}
|
|
13986
|
+
}
|
|
13987
|
+
],
|
|
13988
|
+
"cssParts": [
|
|
13989
|
+
{
|
|
13990
|
+
"name": "bar",
|
|
13991
|
+
"description": "Shared navigation surface"
|
|
13992
|
+
},
|
|
13993
|
+
{
|
|
13994
|
+
"name": "controls",
|
|
13995
|
+
"description": "Arrow button group"
|
|
13996
|
+
},
|
|
13997
|
+
{
|
|
13998
|
+
"name": "indicators",
|
|
13999
|
+
"description": "Indicator group"
|
|
14000
|
+
},
|
|
14001
|
+
{
|
|
14002
|
+
"name": "indicator",
|
|
14003
|
+
"description": "Individual indicator button"
|
|
14004
|
+
},
|
|
14005
|
+
{
|
|
14006
|
+
"name": "previous",
|
|
14007
|
+
"description": "Previous button"
|
|
14008
|
+
},
|
|
14009
|
+
{
|
|
14010
|
+
"name": "next",
|
|
14011
|
+
"description": "Next button"
|
|
14012
|
+
}
|
|
14013
|
+
],
|
|
14014
|
+
"cssProperties": [
|
|
14015
|
+
{
|
|
14016
|
+
"name": "--media-navigation-bg",
|
|
14017
|
+
"description": "Navigation surface background"
|
|
14018
|
+
},
|
|
14019
|
+
{
|
|
14020
|
+
"name": "--media-navigation-dot-bg",
|
|
14021
|
+
"description": "Inactive track color"
|
|
14022
|
+
}
|
|
14023
|
+
],
|
|
14024
|
+
"demos": []
|
|
14025
|
+
},
|
|
14026
|
+
{
|
|
14027
|
+
"kind": "variable",
|
|
14028
|
+
"name": "DEFAULT_PAGINATION_LABELS",
|
|
14029
|
+
"type": {
|
|
14030
|
+
"text": "PaginationLabels"
|
|
14031
|
+
},
|
|
14032
|
+
"default": "{ first: 'First page', last: 'Last page', next: 'Next page', page: (page) => `Page ${page}`, previous: 'Previous page', }"
|
|
14033
|
+
},
|
|
14034
|
+
{
|
|
14035
|
+
"kind": "variable",
|
|
14036
|
+
"name": "PAGINATION_TAG",
|
|
14037
|
+
"type": {
|
|
14038
|
+
"text": "'ore-pagination'"
|
|
14039
|
+
},
|
|
14040
|
+
"default": "'ore-pagination'",
|
|
14041
|
+
"description": "Page-based navigation control."
|
|
14042
|
+
},
|
|
14043
|
+
{
|
|
14044
|
+
"kind": "class",
|
|
14045
|
+
"name": "OrePaginationElement",
|
|
14046
|
+
"tagName": "ore-pagination",
|
|
14047
|
+
"customElement": true,
|
|
14048
|
+
"description": "Page-based navigation control.\nThe `page` attribute updates optimistically on selection and `change` fires in the same\nstep, so plain attribute-driven usage works without extra wiring. Router-driven apps\nwrite `page` from the URL as normal: the grid-external state remains the destination of\ntruth and a later attribute write simply re-syncs the control. The JS-only `labels`\nproperty localizes the boundary and page-button accessible names.",
|
|
14049
|
+
"summary": "",
|
|
14050
|
+
"attributes": [
|
|
14051
|
+
{
|
|
14052
|
+
"name": "page",
|
|
14053
|
+
"type": {
|
|
14054
|
+
"text": "number"
|
|
14055
|
+
},
|
|
14056
|
+
"description": "Current page (1-indexed, default: 1)",
|
|
14057
|
+
"default": "1)"
|
|
14058
|
+
},
|
|
14059
|
+
{
|
|
14060
|
+
"name": "total-pages",
|
|
14061
|
+
"type": {
|
|
14062
|
+
"text": "number"
|
|
14063
|
+
},
|
|
14064
|
+
"description": "Total number of pages (required)"
|
|
13928
14065
|
},
|
|
13929
14066
|
{
|
|
13930
|
-
"name": "
|
|
14067
|
+
"name": "siblings",
|
|
13931
14068
|
"type": {
|
|
13932
|
-
"text": "
|
|
14069
|
+
"text": "number"
|
|
13933
14070
|
},
|
|
13934
|
-
"description": "
|
|
14071
|
+
"description": "Sibling pages around current (default: 1)",
|
|
14072
|
+
"default": "1"
|
|
13935
14073
|
},
|
|
13936
14074
|
{
|
|
13937
|
-
"name": "
|
|
14075
|
+
"name": "show-first-last",
|
|
13938
14076
|
"type": {
|
|
13939
|
-
"text": "
|
|
14077
|
+
"text": "boolean"
|
|
13940
14078
|
},
|
|
13941
|
-
"description": "
|
|
14079
|
+
"description": "Show first/last page buttons (default: false)",
|
|
14080
|
+
"default": "false"
|
|
13942
14081
|
},
|
|
13943
14082
|
{
|
|
13944
|
-
"name": "
|
|
14083
|
+
"name": "show-prev-next",
|
|
13945
14084
|
"type": {
|
|
13946
|
-
"text": "
|
|
14085
|
+
"text": "boolean"
|
|
13947
14086
|
},
|
|
13948
|
-
"description": "
|
|
14087
|
+
"description": "Show prev/next buttons (default: true)",
|
|
14088
|
+
"default": "true"
|
|
13949
14089
|
},
|
|
13950
14090
|
{
|
|
13951
|
-
"name": "
|
|
14091
|
+
"name": "color",
|
|
13952
14092
|
"type": {
|
|
13953
|
-
"text": "
|
|
14093
|
+
"text": "'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error'"
|
|
13954
14094
|
},
|
|
13955
|
-
"description": "
|
|
14095
|
+
"description": "Theme color: 'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error'"
|
|
13956
14096
|
},
|
|
13957
14097
|
{
|
|
13958
|
-
"name": "
|
|
14098
|
+
"name": "variant",
|
|
13959
14099
|
"type": {
|
|
13960
|
-
"text": "
|
|
14100
|
+
"text": "'solid' | 'flat' | 'bordered' | 'outline' | 'ghost' | 'text' | 'frost'"
|
|
13961
14101
|
},
|
|
13962
|
-
"description": "
|
|
14102
|
+
"description": "Visual variant for nav buttons: 'solid' | 'flat' | 'bordered' | 'outline' | 'ghost' | 'text' | 'frost' (default: 'ghost')",
|
|
14103
|
+
"default": "'ghost'"
|
|
13963
14104
|
},
|
|
13964
14105
|
{
|
|
13965
|
-
"name": "
|
|
14106
|
+
"name": "size",
|
|
13966
14107
|
"type": {
|
|
13967
|
-
"text": "
|
|
14108
|
+
"text": "'sm' | 'md' | 'lg'"
|
|
13968
14109
|
},
|
|
13969
|
-
"description": "
|
|
14110
|
+
"description": "'sm' | 'md' | 'lg'"
|
|
13970
14111
|
},
|
|
13971
14112
|
{
|
|
13972
|
-
"name": "
|
|
14113
|
+
"name": "label",
|
|
13973
14114
|
"type": {
|
|
13974
|
-
"text": "
|
|
14115
|
+
"text": "string"
|
|
13975
14116
|
},
|
|
13976
|
-
"description": "
|
|
14117
|
+
"description": "Accessible nav label (default: 'Pagination')",
|
|
14118
|
+
"default": "'Pagination'"
|
|
13977
14119
|
}
|
|
13978
14120
|
],
|
|
13979
14121
|
"events": [
|
|
13980
14122
|
{
|
|
13981
|
-
"name": "
|
|
13982
|
-
"description": "
|
|
14123
|
+
"name": "change",
|
|
14124
|
+
"description": "Emitted when the page changes, with { page: number }",
|
|
13983
14125
|
"type": {
|
|
13984
14126
|
"text": "CustomEvent"
|
|
13985
14127
|
}
|
|
@@ -13987,41 +14129,54 @@
|
|
|
13987
14129
|
],
|
|
13988
14130
|
"cssParts": [
|
|
13989
14131
|
{
|
|
13990
|
-
"name": "
|
|
13991
|
-
"description": "
|
|
14132
|
+
"name": "page-btn",
|
|
14133
|
+
"description": "Page button."
|
|
13992
14134
|
},
|
|
13993
14135
|
{
|
|
13994
|
-
"name": "
|
|
13995
|
-
"description": "
|
|
14136
|
+
"name": "nav",
|
|
14137
|
+
"description": "Navigation container."
|
|
13996
14138
|
},
|
|
13997
14139
|
{
|
|
13998
|
-
"name": "
|
|
13999
|
-
"description": "
|
|
14140
|
+
"name": "list",
|
|
14141
|
+
"description": "List container."
|
|
14000
14142
|
},
|
|
14001
14143
|
{
|
|
14002
|
-
"name": "
|
|
14003
|
-
"description": "
|
|
14144
|
+
"name": "first-btn",
|
|
14145
|
+
"description": "First page button."
|
|
14004
14146
|
},
|
|
14005
14147
|
{
|
|
14006
|
-
"name": "
|
|
14007
|
-
"description": "Previous button"
|
|
14148
|
+
"name": "prev-btn",
|
|
14149
|
+
"description": "Previous page button."
|
|
14008
14150
|
},
|
|
14009
14151
|
{
|
|
14010
|
-
"name": "next",
|
|
14011
|
-
"description": "Next button"
|
|
14152
|
+
"name": "next-btn",
|
|
14153
|
+
"description": "Next page button."
|
|
14154
|
+
},
|
|
14155
|
+
{
|
|
14156
|
+
"name": "last-btn",
|
|
14157
|
+
"description": "Last page button."
|
|
14012
14158
|
}
|
|
14013
14159
|
],
|
|
14014
14160
|
"cssProperties": [
|
|
14015
14161
|
{
|
|
14016
|
-
"name": "--
|
|
14017
|
-
"description": "
|
|
14162
|
+
"name": "--pagination-item-size",
|
|
14163
|
+
"description": "Width/height of each item"
|
|
14018
14164
|
},
|
|
14019
14165
|
{
|
|
14020
|
-
"name": "--
|
|
14021
|
-
"description": "
|
|
14166
|
+
"name": "--pagination-gap",
|
|
14167
|
+
"description": "Gap between items"
|
|
14168
|
+
},
|
|
14169
|
+
{
|
|
14170
|
+
"name": "--pagination-radius",
|
|
14171
|
+
"description": "Border radius of items"
|
|
14022
14172
|
}
|
|
14023
14173
|
],
|
|
14024
|
-
"demos": [
|
|
14174
|
+
"demos": [
|
|
14175
|
+
{
|
|
14176
|
+
"url": "",
|
|
14177
|
+
"description": "```html\n<!-- Basic -->\n<ore-pagination page=\"3\" total-pages=\"10\" color=\"primary\"></ore-pagination>\n<!-- With prev/next and first/last buttons -->\n<ore-pagination page=\"5\" total-pages=\"20\" show-prev-next show-first-last siblings=\"2\"></ore-pagination>\n<!-- Compact size -->\n<ore-pagination page=\"1\" total-pages=\"5\" size=\"sm\" variant=\"ghost\"></ore-pagination>\n```"
|
|
14178
|
+
}
|
|
14179
|
+
]
|
|
14025
14180
|
},
|
|
14026
14181
|
{
|
|
14027
14182
|
"kind": "variable",
|
|
@@ -14215,161 +14370,6 @@
|
|
|
14215
14370
|
],
|
|
14216
14371
|
"demos": []
|
|
14217
14372
|
},
|
|
14218
|
-
{
|
|
14219
|
-
"kind": "variable",
|
|
14220
|
-
"name": "DEFAULT_PAGINATION_LABELS",
|
|
14221
|
-
"type": {
|
|
14222
|
-
"text": "PaginationLabels"
|
|
14223
|
-
},
|
|
14224
|
-
"default": "{ first: 'First page', last: 'Last page', next: 'Next page', page: (page) => `Page ${page}`, previous: 'Previous page', }"
|
|
14225
|
-
},
|
|
14226
|
-
{
|
|
14227
|
-
"kind": "variable",
|
|
14228
|
-
"name": "PAGINATION_TAG",
|
|
14229
|
-
"type": {
|
|
14230
|
-
"text": "'ore-pagination'"
|
|
14231
|
-
},
|
|
14232
|
-
"default": "'ore-pagination'",
|
|
14233
|
-
"description": "Page-based navigation control."
|
|
14234
|
-
},
|
|
14235
|
-
{
|
|
14236
|
-
"kind": "class",
|
|
14237
|
-
"name": "OrePaginationElement",
|
|
14238
|
-
"tagName": "ore-pagination",
|
|
14239
|
-
"customElement": true,
|
|
14240
|
-
"description": "Page-based navigation control.\nThe `page` attribute updates optimistically on selection and `change` fires in the same\nstep, so plain attribute-driven usage works without extra wiring. Router-driven apps\nwrite `page` from the URL as normal: the grid-external state remains the destination of\ntruth and a later attribute write simply re-syncs the control. The JS-only `labels`\nproperty localizes the boundary and page-button accessible names.",
|
|
14241
|
-
"summary": "",
|
|
14242
|
-
"attributes": [
|
|
14243
|
-
{
|
|
14244
|
-
"name": "page",
|
|
14245
|
-
"type": {
|
|
14246
|
-
"text": "number"
|
|
14247
|
-
},
|
|
14248
|
-
"description": "Current page (1-indexed, default: 1)",
|
|
14249
|
-
"default": "1)"
|
|
14250
|
-
},
|
|
14251
|
-
{
|
|
14252
|
-
"name": "total-pages",
|
|
14253
|
-
"type": {
|
|
14254
|
-
"text": "number"
|
|
14255
|
-
},
|
|
14256
|
-
"description": "Total number of pages (required)"
|
|
14257
|
-
},
|
|
14258
|
-
{
|
|
14259
|
-
"name": "siblings",
|
|
14260
|
-
"type": {
|
|
14261
|
-
"text": "number"
|
|
14262
|
-
},
|
|
14263
|
-
"description": "Sibling pages around current (default: 1)",
|
|
14264
|
-
"default": "1"
|
|
14265
|
-
},
|
|
14266
|
-
{
|
|
14267
|
-
"name": "show-first-last",
|
|
14268
|
-
"type": {
|
|
14269
|
-
"text": "boolean"
|
|
14270
|
-
},
|
|
14271
|
-
"description": "Show first/last page buttons (default: false)",
|
|
14272
|
-
"default": "false"
|
|
14273
|
-
},
|
|
14274
|
-
{
|
|
14275
|
-
"name": "show-prev-next",
|
|
14276
|
-
"type": {
|
|
14277
|
-
"text": "boolean"
|
|
14278
|
-
},
|
|
14279
|
-
"description": "Show prev/next buttons (default: true)",
|
|
14280
|
-
"default": "true"
|
|
14281
|
-
},
|
|
14282
|
-
{
|
|
14283
|
-
"name": "color",
|
|
14284
|
-
"type": {
|
|
14285
|
-
"text": "'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error'"
|
|
14286
|
-
},
|
|
14287
|
-
"description": "Theme color: 'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error'"
|
|
14288
|
-
},
|
|
14289
|
-
{
|
|
14290
|
-
"name": "variant",
|
|
14291
|
-
"type": {
|
|
14292
|
-
"text": "'solid' | 'flat' | 'bordered' | 'outline' | 'ghost' | 'text' | 'frost'"
|
|
14293
|
-
},
|
|
14294
|
-
"description": "Visual variant for nav buttons: 'solid' | 'flat' | 'bordered' | 'outline' | 'ghost' | 'text' | 'frost' (default: 'ghost')",
|
|
14295
|
-
"default": "'ghost'"
|
|
14296
|
-
},
|
|
14297
|
-
{
|
|
14298
|
-
"name": "size",
|
|
14299
|
-
"type": {
|
|
14300
|
-
"text": "'sm' | 'md' | 'lg'"
|
|
14301
|
-
},
|
|
14302
|
-
"description": "'sm' | 'md' | 'lg'"
|
|
14303
|
-
},
|
|
14304
|
-
{
|
|
14305
|
-
"name": "label",
|
|
14306
|
-
"type": {
|
|
14307
|
-
"text": "string"
|
|
14308
|
-
},
|
|
14309
|
-
"description": "Accessible nav label (default: 'Pagination')",
|
|
14310
|
-
"default": "'Pagination'"
|
|
14311
|
-
}
|
|
14312
|
-
],
|
|
14313
|
-
"events": [
|
|
14314
|
-
{
|
|
14315
|
-
"name": "change",
|
|
14316
|
-
"description": "Emitted when the page changes, with { page: number }",
|
|
14317
|
-
"type": {
|
|
14318
|
-
"text": "CustomEvent"
|
|
14319
|
-
}
|
|
14320
|
-
}
|
|
14321
|
-
],
|
|
14322
|
-
"cssParts": [
|
|
14323
|
-
{
|
|
14324
|
-
"name": "page-btn",
|
|
14325
|
-
"description": "Page button."
|
|
14326
|
-
},
|
|
14327
|
-
{
|
|
14328
|
-
"name": "nav",
|
|
14329
|
-
"description": "Navigation container."
|
|
14330
|
-
},
|
|
14331
|
-
{
|
|
14332
|
-
"name": "list",
|
|
14333
|
-
"description": "List container."
|
|
14334
|
-
},
|
|
14335
|
-
{
|
|
14336
|
-
"name": "first-btn",
|
|
14337
|
-
"description": "First page button."
|
|
14338
|
-
},
|
|
14339
|
-
{
|
|
14340
|
-
"name": "prev-btn",
|
|
14341
|
-
"description": "Previous page button."
|
|
14342
|
-
},
|
|
14343
|
-
{
|
|
14344
|
-
"name": "next-btn",
|
|
14345
|
-
"description": "Next page button."
|
|
14346
|
-
},
|
|
14347
|
-
{
|
|
14348
|
-
"name": "last-btn",
|
|
14349
|
-
"description": "Last page button."
|
|
14350
|
-
}
|
|
14351
|
-
],
|
|
14352
|
-
"cssProperties": [
|
|
14353
|
-
{
|
|
14354
|
-
"name": "--pagination-item-size",
|
|
14355
|
-
"description": "Width/height of each item"
|
|
14356
|
-
},
|
|
14357
|
-
{
|
|
14358
|
-
"name": "--pagination-gap",
|
|
14359
|
-
"description": "Gap between items"
|
|
14360
|
-
},
|
|
14361
|
-
{
|
|
14362
|
-
"name": "--pagination-radius",
|
|
14363
|
-
"description": "Border radius of items"
|
|
14364
|
-
}
|
|
14365
|
-
],
|
|
14366
|
-
"demos": [
|
|
14367
|
-
{
|
|
14368
|
-
"url": "",
|
|
14369
|
-
"description": "```html\n<!-- Basic -->\n<ore-pagination page=\"3\" total-pages=\"10\" color=\"primary\"></ore-pagination>\n<!-- With prev/next and first/last buttons -->\n<ore-pagination page=\"5\" total-pages=\"20\" show-prev-next show-first-last siblings=\"2\"></ore-pagination>\n<!-- Compact size -->\n<ore-pagination page=\"1\" total-pages=\"5\" size=\"sm\" variant=\"ghost\"></ore-pagination>\n```"
|
|
14370
|
-
}
|
|
14371
|
-
]
|
|
14372
|
-
},
|
|
14373
14373
|
{
|
|
14374
14374
|
"kind": "function",
|
|
14375
14375
|
"name": "isStepNavigable",
|