@emuanalytics/flow-rdf-ui 0.0.30 → 0.0.32
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/custom-elements.json +4430 -4420
- package/dist/index.cjs +3 -3
- package/dist/index.d.cts +3 -0
- package/dist/index.d.mts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.mjs +3 -3
- package/dist/vscode.html-custom-data.json +160 -160
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -13152,11 +13152,11 @@ function whereClausesFromRuleSet(rule, config, options) {
|
|
|
13152
13152
|
clause = { $or: [{ [fieldName]: { $is: null } }, clause] };
|
|
13153
13153
|
}
|
|
13154
13154
|
return clause;
|
|
13155
|
-
} else {
|
|
13155
|
+
} else if (isRuleSet(rule)) {
|
|
13156
13156
|
const condition = rule.condition === "and" ? "$and" : "$or";
|
|
13157
13157
|
const rules = rule.rules.map((r) => whereClausesFromRuleSet(r, config, options)).filter((r) => isObjectFull(r));
|
|
13158
13158
|
return rules.length ? { [condition]: rules } : {};
|
|
13159
|
-
}
|
|
13159
|
+
} else ;
|
|
13160
13160
|
}
|
|
13161
13161
|
function predicateFromRule(rule, config) {
|
|
13162
13162
|
const field = config.fields[rule.field];
|
|
@@ -23377,7 +23377,7 @@ const translation = {
|
|
|
23377
23377
|
};
|
|
23378
23378
|
localize.registerTranslation(translation);
|
|
23379
23379
|
|
|
23380
|
-
const version = "0.0.
|
|
23380
|
+
const version = "0.0.32";
|
|
23381
23381
|
|
|
23382
23382
|
const CONSOLE_HIGHLIGHT_STYLE = `
|
|
23383
23383
|
padding: 2px 4px;
|
package/dist/index.d.cts
CHANGED
|
@@ -2706,6 +2706,9 @@ type NoUnion<T, U = T> = T extends U ? ([U] extends [T] ? T : never) : never;
|
|
|
2706
2706
|
* @summary Query builder component
|
|
2707
2707
|
*
|
|
2708
2708
|
* @event flow-ui-change - Emitted when the control's value changes.
|
|
2709
|
+
*
|
|
2710
|
+
* @slot label - The component's label. Alternatively, you can use the `label` attribute.
|
|
2711
|
+
* @slot help-text - Text that describes how to use the component. Alternatively, you can use the `help-text` attribute.
|
|
2709
2712
|
*/
|
|
2710
2713
|
declare class FlowQueryBuilder extends FlowRdfElement {
|
|
2711
2714
|
static styles: CSSResultGroup;
|
package/dist/index.d.mts
CHANGED
|
@@ -2706,6 +2706,9 @@ type NoUnion<T, U = T> = T extends U ? ([U] extends [T] ? T : never) : never;
|
|
|
2706
2706
|
* @summary Query builder component
|
|
2707
2707
|
*
|
|
2708
2708
|
* @event flow-ui-change - Emitted when the control's value changes.
|
|
2709
|
+
*
|
|
2710
|
+
* @slot label - The component's label. Alternatively, you can use the `label` attribute.
|
|
2711
|
+
* @slot help-text - Text that describes how to use the component. Alternatively, you can use the `help-text` attribute.
|
|
2709
2712
|
*/
|
|
2710
2713
|
declare class FlowQueryBuilder extends FlowRdfElement {
|
|
2711
2714
|
static styles: CSSResultGroup;
|
package/dist/index.d.ts
CHANGED
|
@@ -2706,6 +2706,9 @@ type NoUnion<T, U = T> = T extends U ? ([U] extends [T] ? T : never) : never;
|
|
|
2706
2706
|
* @summary Query builder component
|
|
2707
2707
|
*
|
|
2708
2708
|
* @event flow-ui-change - Emitted when the control's value changes.
|
|
2709
|
+
*
|
|
2710
|
+
* @slot label - The component's label. Alternatively, you can use the `label` attribute.
|
|
2711
|
+
* @slot help-text - Text that describes how to use the component. Alternatively, you can use the `help-text` attribute.
|
|
2709
2712
|
*/
|
|
2710
2713
|
declare class FlowQueryBuilder extends FlowRdfElement {
|
|
2711
2714
|
static styles: CSSResultGroup;
|
package/dist/index.mjs
CHANGED
|
@@ -13133,11 +13133,11 @@ function whereClausesFromRuleSet(rule, config, options) {
|
|
|
13133
13133
|
clause = { $or: [{ [fieldName]: { $is: null } }, clause] };
|
|
13134
13134
|
}
|
|
13135
13135
|
return clause;
|
|
13136
|
-
} else {
|
|
13136
|
+
} else if (isRuleSet(rule)) {
|
|
13137
13137
|
const condition = rule.condition === "and" ? "$and" : "$or";
|
|
13138
13138
|
const rules = rule.rules.map((r) => whereClausesFromRuleSet(r, config, options)).filter((r) => isObjectFull(r));
|
|
13139
13139
|
return rules.length ? { [condition]: rules } : {};
|
|
13140
|
-
}
|
|
13140
|
+
} else ;
|
|
13141
13141
|
}
|
|
13142
13142
|
function predicateFromRule(rule, config) {
|
|
13143
13143
|
const field = config.fields[rule.field];
|
|
@@ -23358,7 +23358,7 @@ const translation = {
|
|
|
23358
23358
|
};
|
|
23359
23359
|
registerTranslation(translation);
|
|
23360
23360
|
|
|
23361
|
-
const version = "0.0.
|
|
23361
|
+
const version = "0.0.32";
|
|
23362
23362
|
|
|
23363
23363
|
const CONSOLE_HIGHLIGHT_STYLE = `
|
|
23364
23364
|
padding: 2px 4px;
|
|
@@ -71,39 +71,28 @@
|
|
|
71
71
|
"references": []
|
|
72
72
|
},
|
|
73
73
|
{
|
|
74
|
-
"name": "flow-ui-
|
|
75
|
-
"description": "
|
|
76
|
-
"attributes": [
|
|
77
|
-
{
|
|
78
|
-
"name": "label",
|
|
79
|
-
"description": "The label to use for the breadcrumb control. This will not be shown on the screen, but it will be announced by\nscreen readers and other assistive devices to provide more context for users.",
|
|
80
|
-
"values": []
|
|
81
|
-
}
|
|
82
|
-
],
|
|
83
|
-
"references": []
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
"name": "flow-ui-breadcrumb-item",
|
|
87
|
-
"description": "Breadcrumb Items are used inside [breadcrumbs](/components/breadcrumb) to represent different links.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The breadcrumb item's label.\n- **prefix** - An optional prefix, usually an icon or icon button.\n- **suffix** - An optional suffix, usually an icon or icon button.\n- **separator** - The separator to use for the breadcrumb item. This will only change the separator for this item. If you want to change it for all items in the group, set the separator on `<flow-ui-breadcrumb>` instead.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **label** - The breadcrumb item's label.\n- **prefix** - The container that wraps the prefix.\n- **suffix** - The container that wraps the suffix.\n- **separator** - The container that wraps the separator.",
|
|
74
|
+
"name": "flow-ui-badge",
|
|
75
|
+
"description": "Badges are used to draw attention and display statuses or counts.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The badge's content.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
88
76
|
"attributes": [
|
|
89
77
|
{
|
|
90
|
-
"name": "
|
|
91
|
-
"description": "
|
|
92
|
-
"values": []
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
"name": "target",
|
|
96
|
-
"description": "Tells the browser where to open the link. Only used when `href` is set.",
|
|
78
|
+
"name": "variant",
|
|
79
|
+
"description": "The badge's theme variant.",
|
|
97
80
|
"values": [
|
|
98
|
-
{ "name": "
|
|
99
|
-
{ "name": "
|
|
100
|
-
{ "name": "
|
|
101
|
-
{ "name": "
|
|
81
|
+
{ "name": "primary" },
|
|
82
|
+
{ "name": "success" },
|
|
83
|
+
{ "name": "neutral" },
|
|
84
|
+
{ "name": "warning" },
|
|
85
|
+
{ "name": "danger" }
|
|
102
86
|
]
|
|
103
87
|
},
|
|
104
88
|
{
|
|
105
|
-
"name": "
|
|
106
|
-
"description": "
|
|
89
|
+
"name": "pill",
|
|
90
|
+
"description": "Draws a pill-style badge with rounded edges.",
|
|
91
|
+
"values": []
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"name": "pulse",
|
|
95
|
+
"description": "Makes the badge pulsate to draw attention.",
|
|
107
96
|
"values": []
|
|
108
97
|
}
|
|
109
98
|
],
|
|
@@ -268,28 +257,39 @@
|
|
|
268
257
|
"references": []
|
|
269
258
|
},
|
|
270
259
|
{
|
|
271
|
-
"name": "flow-ui-
|
|
272
|
-
"description": "
|
|
260
|
+
"name": "flow-ui-breadcrumb-item",
|
|
261
|
+
"description": "Breadcrumb Items are used inside [breadcrumbs](/components/breadcrumb) to represent different links.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The breadcrumb item's label.\n- **prefix** - An optional prefix, usually an icon or icon button.\n- **suffix** - An optional suffix, usually an icon or icon button.\n- **separator** - The separator to use for the breadcrumb item. This will only change the separator for this item. If you want to change it for all items in the group, set the separator on `<flow-ui-breadcrumb>` instead.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **label** - The breadcrumb item's label.\n- **prefix** - The container that wraps the prefix.\n- **suffix** - The container that wraps the suffix.\n- **separator** - The container that wraps the separator.",
|
|
273
262
|
"attributes": [
|
|
274
263
|
{
|
|
275
|
-
"name": "
|
|
276
|
-
"description": "
|
|
264
|
+
"name": "href",
|
|
265
|
+
"description": "Optional URL to direct the user to when the breadcrumb item is activated. When set, a link will be rendered\ninternally. When unset, a button will be rendered instead.",
|
|
266
|
+
"values": []
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"name": "target",
|
|
270
|
+
"description": "Tells the browser where to open the link. Only used when `href` is set.",
|
|
277
271
|
"values": [
|
|
278
|
-
{ "name": "
|
|
279
|
-
{ "name": "
|
|
280
|
-
{ "name": "
|
|
281
|
-
{ "name": "
|
|
282
|
-
{ "name": "danger" }
|
|
272
|
+
{ "name": "_blank" },
|
|
273
|
+
{ "name": "_parent" },
|
|
274
|
+
{ "name": "_self" },
|
|
275
|
+
{ "name": "_top" }
|
|
283
276
|
]
|
|
284
277
|
},
|
|
285
278
|
{
|
|
286
|
-
"name": "
|
|
287
|
-
"description": "
|
|
279
|
+
"name": "rel",
|
|
280
|
+
"description": "The `rel` attribute to use on the link. Only used when `href` is set.",
|
|
288
281
|
"values": []
|
|
289
|
-
}
|
|
282
|
+
}
|
|
283
|
+
],
|
|
284
|
+
"references": []
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"name": "flow-ui-breadcrumb",
|
|
288
|
+
"description": "Breadcrumbs provide a group of links so users can easily navigate a website's hierarchy.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - One or more breadcrumb items to display.\n- **separator** - The separator to use between breadcrumb items. Works best with `<flow-ui-icon>`.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
289
|
+
"attributes": [
|
|
290
290
|
{
|
|
291
|
-
"name": "
|
|
292
|
-
"description": "
|
|
291
|
+
"name": "label",
|
|
292
|
+
"description": "The label to use for the breadcrumb control. This will not be shown on the screen, but it will be announced by\nscreen readers and other assistive devices to provide more context for users.",
|
|
293
293
|
"values": []
|
|
294
294
|
}
|
|
295
295
|
],
|
|
@@ -464,69 +464,6 @@
|
|
|
464
464
|
],
|
|
465
465
|
"references": []
|
|
466
466
|
},
|
|
467
|
-
{
|
|
468
|
-
"name": "flow-ui-color-mapper",
|
|
469
|
-
"description": "A component for defining mappings between data values and colors.\n\n\n---\n\n\n",
|
|
470
|
-
"attributes": [
|
|
471
|
-
{ "name": "field", "values": [] },
|
|
472
|
-
{ "name": "options", "values": [{ "name": "ColorMapperOptions" }] },
|
|
473
|
-
{ "name": "value", "values": [{ "name": "ColorMapperValue" }] },
|
|
474
|
-
{
|
|
475
|
-
"name": "size",
|
|
476
|
-
"values": [
|
|
477
|
-
{ "name": "small" },
|
|
478
|
-
{ "name": "medium" },
|
|
479
|
-
{ "name": "large" }
|
|
480
|
-
]
|
|
481
|
-
},
|
|
482
|
-
{ "name": "defaultColorStop", "values": [] },
|
|
483
|
-
{
|
|
484
|
-
"name": "swatches",
|
|
485
|
-
"description": "One or more predefined color swatches to display as presets in the color picker. Can include any format the color\npicker can parse, including HEX(A), RGB(A), HSL(A), HSV(A), and CSS color names. Each color must be separated by a\nsemicolon (`;`). Alternatively, you can pass an array of color values to this property using JavaScript.",
|
|
486
|
-
"values": [{ "name": "string[]" }]
|
|
487
|
-
}
|
|
488
|
-
],
|
|
489
|
-
"references": []
|
|
490
|
-
},
|
|
491
|
-
{
|
|
492
|
-
"name": "flow-ui-color-stop",
|
|
493
|
-
"description": "A single color stop used by the `flow-ui-color-mapper` component.\n\n\n---\n\n\n",
|
|
494
|
-
"attributes": [
|
|
495
|
-
{
|
|
496
|
-
"name": "name",
|
|
497
|
-
"description": "The name of the color stop, submitted as a name/value pair with form data.",
|
|
498
|
-
"values": []
|
|
499
|
-
},
|
|
500
|
-
{
|
|
501
|
-
"name": "form",
|
|
502
|
-
"description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
|
|
503
|
-
"values": []
|
|
504
|
-
},
|
|
505
|
-
{
|
|
506
|
-
"name": "required",
|
|
507
|
-
"description": "Makes the color stop as a required field.",
|
|
508
|
-
"values": []
|
|
509
|
-
},
|
|
510
|
-
{ "name": "options", "values": [{ "name": "ColorStopOptions" }] },
|
|
511
|
-
{ "name": "value", "values": [{ "name": "ColorStopValue" }] },
|
|
512
|
-
{
|
|
513
|
-
"name": "size",
|
|
514
|
-
"values": [
|
|
515
|
-
{ "name": "small" },
|
|
516
|
-
{ "name": "medium" },
|
|
517
|
-
{ "name": "large" }
|
|
518
|
-
]
|
|
519
|
-
},
|
|
520
|
-
{ "name": "placeholder", "values": [] },
|
|
521
|
-
{ "name": "fixed", "values": [] },
|
|
522
|
-
{
|
|
523
|
-
"name": "swatches",
|
|
524
|
-
"description": "One or more predefined color swatches to display as presets in the color picker. Can include any format the color\npicker can parse, including HEX(A), RGB(A), HSL(A), HSV(A), and CSS color names. Each color must be separated by a\nsemicolon (`;`). Alternatively, you can pass an array of color values to this property using JavaScript.",
|
|
525
|
-
"values": [{ "name": "string[]" }]
|
|
526
|
-
}
|
|
527
|
-
],
|
|
528
|
-
"references": []
|
|
529
|
-
},
|
|
530
467
|
{
|
|
531
468
|
"name": "flow-ui-color-picker",
|
|
532
469
|
"description": "Color pickers allow the user to select a color.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-blur** - Emitted when the color picker loses focus.\n- **flow-ui-change** - Emitted when the color picker's value changes.\n- **flow-ui-focus** - Emitted when the color picker receives focus.\n- **flow-ui-input** - Emitted when the color picker receives input.\n- **flow-ui-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the color picker.\n- **blur()** - Removes focus from the color picker.\n- **getFormattedValue(format: _'hex' | 'hexa' | 'rgb' | 'rgba' | 'hsl' | 'hsla' | 'hsv' | 'hsva'_)** - Returns the current value as a string in the specified format.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - **label** - The color picker's form label. Alternatively, you can use the `label` attribute.\n\n### **CSS Properties:**\n - **--grid-width** - The width of the color grid. _(default: undefined)_\n- **--grid-height** - The height of the color grid. _(default: undefined)_\n- **--grid-handle-size** - The size of the color grid's handle. _(default: undefined)_\n- **--slider-height** - The height of the hue and alpha sliders. _(default: undefined)_\n- **--slider-handle-size** - The diameter of the slider's handle. _(default: undefined)_\n- **--swatch-size** - The size of each predefined color swatch. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **trigger** - The color picker's dropdown trigger.\n- **swatches** - The container that holds the swatches.\n- **swatch** - Each individual swatch.\n- **grid** - The color grid.\n- **grid-handle** - The color grid's handle.\n- **slider** - Hue and opacity sliders.\n- **slider-handle** - Hue and opacity slider handles.\n- **hue-slider** - The hue slider.\n- **hue-slider-handle** - The hue slider's handle.\n- **opacity-slider** - The opacity slider.\n- **opacity-slider-handle** - The opacity slider's handle.\n- **preview** - The preview color.\n- **input** - The text input.\n- **eye-dropper-button** - The eye dropper button.\n- **eye-dropper-button__base** - The eye dropper button's exported `button` part.\n- **eye-dropper-button__prefix** - The eye dropper button's exported `prefix` part.\n- **eye-dropper-button__label** - The eye dropper button's exported `label` part.\n- **eye-dropper-button__suffix** - The eye dropper button's exported `suffix` part.\n- **eye-dropper-button__caret** - The eye dropper button's exported `caret` part.\n- **format-button** - The format button.\n- **format-button__base** - The format button's exported `button` part.\n- **format-button__prefix** - The format button's exported `prefix` part.\n- **format-button__label** - The format button's exported `label` part.\n- **format-button__suffix** - The format button's exported `suffix` part.\n- **format-button__caret** - The format button's exported `caret` part.",
|
|
@@ -642,6 +579,69 @@
|
|
|
642
579
|
],
|
|
643
580
|
"references": []
|
|
644
581
|
},
|
|
582
|
+
{
|
|
583
|
+
"name": "flow-ui-color-mapper",
|
|
584
|
+
"description": "A component for defining mappings between data values and colors.\n\n\n---\n\n\n",
|
|
585
|
+
"attributes": [
|
|
586
|
+
{ "name": "field", "values": [] },
|
|
587
|
+
{ "name": "options", "values": [{ "name": "ColorMapperOptions" }] },
|
|
588
|
+
{ "name": "value", "values": [{ "name": "ColorMapperValue" }] },
|
|
589
|
+
{
|
|
590
|
+
"name": "size",
|
|
591
|
+
"values": [
|
|
592
|
+
{ "name": "small" },
|
|
593
|
+
{ "name": "medium" },
|
|
594
|
+
{ "name": "large" }
|
|
595
|
+
]
|
|
596
|
+
},
|
|
597
|
+
{ "name": "defaultColorStop", "values": [] },
|
|
598
|
+
{
|
|
599
|
+
"name": "swatches",
|
|
600
|
+
"description": "One or more predefined color swatches to display as presets in the color picker. Can include any format the color\npicker can parse, including HEX(A), RGB(A), HSL(A), HSV(A), and CSS color names. Each color must be separated by a\nsemicolon (`;`). Alternatively, you can pass an array of color values to this property using JavaScript.",
|
|
601
|
+
"values": [{ "name": "string[]" }]
|
|
602
|
+
}
|
|
603
|
+
],
|
|
604
|
+
"references": []
|
|
605
|
+
},
|
|
606
|
+
{
|
|
607
|
+
"name": "flow-ui-color-stop",
|
|
608
|
+
"description": "A single color stop used by the `flow-ui-color-mapper` component.\n\n\n---\n\n\n",
|
|
609
|
+
"attributes": [
|
|
610
|
+
{
|
|
611
|
+
"name": "name",
|
|
612
|
+
"description": "The name of the color stop, submitted as a name/value pair with form data.",
|
|
613
|
+
"values": []
|
|
614
|
+
},
|
|
615
|
+
{
|
|
616
|
+
"name": "form",
|
|
617
|
+
"description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
|
|
618
|
+
"values": []
|
|
619
|
+
},
|
|
620
|
+
{
|
|
621
|
+
"name": "required",
|
|
622
|
+
"description": "Makes the color stop as a required field.",
|
|
623
|
+
"values": []
|
|
624
|
+
},
|
|
625
|
+
{ "name": "options", "values": [{ "name": "ColorStopOptions" }] },
|
|
626
|
+
{ "name": "value", "values": [{ "name": "ColorStopValue" }] },
|
|
627
|
+
{
|
|
628
|
+
"name": "size",
|
|
629
|
+
"values": [
|
|
630
|
+
{ "name": "small" },
|
|
631
|
+
{ "name": "medium" },
|
|
632
|
+
{ "name": "large" }
|
|
633
|
+
]
|
|
634
|
+
},
|
|
635
|
+
{ "name": "placeholder", "values": [] },
|
|
636
|
+
{ "name": "fixed", "values": [] },
|
|
637
|
+
{
|
|
638
|
+
"name": "swatches",
|
|
639
|
+
"description": "One or more predefined color swatches to display as presets in the color picker. Can include any format the color\npicker can parse, including HEX(A), RGB(A), HSL(A), HSV(A), and CSS color names. Each color must be separated by a\nsemicolon (`;`). Alternatively, you can pass an array of color values to this property using JavaScript.",
|
|
640
|
+
"values": [{ "name": "string[]" }]
|
|
641
|
+
}
|
|
642
|
+
],
|
|
643
|
+
"references": []
|
|
644
|
+
},
|
|
645
645
|
{
|
|
646
646
|
"name": "flow-ui-details",
|
|
647
647
|
"description": "Details show a brief summary and expand to show additional content.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-show** - Emitted when the details opens.\n- **flow-ui-after-show** - Emitted after the details opens and all animations are complete.\n- **flow-ui-hide** - Emitted when the details closes.\n- **flow-ui-after-hide** - Emitted after the details closes and all animations are complete.\n\n### **Methods:**\n - **show()** - Shows the details.\n- **hide()** - Hides the details\n\n### **Slots:**\n - _default_ - The details' main content.\n- **summary** - The details' summary. Alternatively, you can use the `summary` attribute.\n- **expand-icon** - Optional expand icon to use instead of the default. Works best with `<flow-ui-icon>`.\n- **collapse-icon** - Optional collapse icon to use instead of the default. Works best with `<flow-ui-icon>`.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **header** - The header that wraps both the summary and the expand/collapse icon.\n- **summary** - The container that wraps the summary.\n- **summary-icon** - The container that wraps the expand/collapse icons.\n- **content** - The details content.",
|
|
@@ -1225,7 +1225,7 @@
|
|
|
1225
1225
|
},
|
|
1226
1226
|
{
|
|
1227
1227
|
"name": "flow-ui-query-builder",
|
|
1228
|
-
"description": "Query builder component\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-change** - Emitted when the control's value changes.\n\n### **Methods:**\n - **registerFieldDefinition(type: _T_, fieldDefinition: _FlowQueryBuilderFieldDefinition<NoUnion<T>>_)** - Register a custom field definition.\n\nA field definition is used to add support for a custom field type. A field type comprises:\n\n- a field `type` string\n- a `template` function that returns the template for the field's value control\n- an array of `operators` that are valid for the field\n- **isRule(value: _unknown_): _value is FlowQueryBuilderRule_** - Static helper method to determine if supplied argument is\na `FlowQueryBuilderRule`.\n- **isRuleSet(value: _unknown_): __** - Static helper method to determine if supplied argument is\na `FlowQueryBuilderRuleSet`.\n- **filterRuleSet(ruleset: _FlowQueryBuilderRuleSet_, options: _{ excludeFields?: string[]; includeFields?: string[] }_): __** - Static helper method to recursively filter a `FlowQueryBuilderRuleSet`.\n\nThis can be used to sanitize user queries before they are executed.\n- **renameRuleSetFields(ruleset: _FlowQueryBuilderRuleSet_, replacements: _Record<string, string>_, ruleSet): __** - Static helper method to rename fields in a `FlowQueryBuilderRuleSet`.\n- **transformRuleSet(ruleSet: _FlowQueryBuilderRuleSet_, transformFn: _(rule: FlowQueryBuilderRule) => FlowQueryBuilderRule | undefined_): __** - Static helper method to recursively apply a transform function to each rule\nin a `FlowQueryBuilderRuleSet`.\n\nThe transform fn should expect a single FlowQueryBuilderRule and return:\n\n- the same rule unmodifed or modified in place\n- `undefined` to exclude the rule from the rule set\n\nThis can be used to sanitize rule sets before they are used to perform queries.",
|
|
1228
|
+
"description": "Query builder component\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-change** - Emitted when the control's value changes.\n\n### **Methods:**\n - **registerFieldDefinition(type: _T_, fieldDefinition: _FlowQueryBuilderFieldDefinition<NoUnion<T>>_)** - Register a custom field definition.\n\nA field definition is used to add support for a custom field type. A field type comprises:\n\n- a field `type` string\n- a `template` function that returns the template for the field's value control\n- an array of `operators` that are valid for the field\n- **isRule(value: _unknown_): _value is FlowQueryBuilderRule_** - Static helper method to determine if supplied argument is\na `FlowQueryBuilderRule`.\n- **isRuleSet(value: _unknown_): __** - Static helper method to determine if supplied argument is\na `FlowQueryBuilderRuleSet`.\n- **filterRuleSet(ruleset: _FlowQueryBuilderRuleSet_, options: _{ excludeFields?: string[]; includeFields?: string[] }_): __** - Static helper method to recursively filter a `FlowQueryBuilderRuleSet`.\n\nThis can be used to sanitize user queries before they are executed.\n- **renameRuleSetFields(ruleset: _FlowQueryBuilderRuleSet_, replacements: _Record<string, string>_, ruleSet): __** - Static helper method to rename fields in a `FlowQueryBuilderRuleSet`.\n- **transformRuleSet(ruleSet: _FlowQueryBuilderRuleSet_, transformFn: _(rule: FlowQueryBuilderRule) => FlowQueryBuilderRule | undefined_): __** - Static helper method to recursively apply a transform function to each rule\nin a `FlowQueryBuilderRuleSet`.\n\nThe transform fn should expect a single FlowQueryBuilderRule and return:\n\n- the same rule unmodifed or modified in place\n- `undefined` to exclude the rule from the rule set\n\nThis can be used to sanitize rule sets before they are used to perform queries.\n\n### **Slots:**\n - **label** - The component's label. Alternatively, you can use the `label` attribute.\n- **help-text** - Text that describes how to use the component. Alternatively, you can use the `help-text` attribute.",
|
|
1229
1229
|
"attributes": [
|
|
1230
1230
|
{
|
|
1231
1231
|
"name": "value",
|
|
@@ -1420,12 +1420,67 @@
|
|
|
1420
1420
|
],
|
|
1421
1421
|
"references": []
|
|
1422
1422
|
},
|
|
1423
|
+
{
|
|
1424
|
+
"name": "flow-ui-scroll-view",
|
|
1425
|
+
"description": "Scroll views provide a scrollable area for content.\n\n\n---\n\n\n",
|
|
1426
|
+
"attributes": [
|
|
1427
|
+
{
|
|
1428
|
+
"name": "mode",
|
|
1429
|
+
"values": [{ "name": "native" }, { "name": "overlay" }]
|
|
1430
|
+
},
|
|
1431
|
+
{
|
|
1432
|
+
"name": "overflow-x",
|
|
1433
|
+
"values": [
|
|
1434
|
+
{ "name": "" },
|
|
1435
|
+
{ "name": "hidden" },
|
|
1436
|
+
{ "name": "scroll" },
|
|
1437
|
+
{ "name": "visible" },
|
|
1438
|
+
{ "name": "visible-hidden" },
|
|
1439
|
+
{ "name": "visible-scroll" }
|
|
1440
|
+
]
|
|
1441
|
+
},
|
|
1442
|
+
{
|
|
1443
|
+
"name": "overflow-y",
|
|
1444
|
+
"values": [
|
|
1445
|
+
{ "name": "" },
|
|
1446
|
+
{ "name": "hidden" },
|
|
1447
|
+
{ "name": "scroll" },
|
|
1448
|
+
{ "name": "visible" },
|
|
1449
|
+
{ "name": "visible-hidden" },
|
|
1450
|
+
{ "name": "visible-scroll" }
|
|
1451
|
+
]
|
|
1452
|
+
},
|
|
1453
|
+
{
|
|
1454
|
+
"name": "auto-hide",
|
|
1455
|
+
"values": [
|
|
1456
|
+
{ "name": "never" },
|
|
1457
|
+
{ "name": "scroll" },
|
|
1458
|
+
{ "name": "leave" },
|
|
1459
|
+
{ "name": "move" }
|
|
1460
|
+
]
|
|
1461
|
+
},
|
|
1462
|
+
{ "name": "auto-hide-delay", "values": [] },
|
|
1463
|
+
{ "name": "auto-hide-suspend", "values": [] }
|
|
1464
|
+
],
|
|
1465
|
+
"references": []
|
|
1466
|
+
},
|
|
1423
1467
|
{
|
|
1424
1468
|
"name": "flow-ui-spinner",
|
|
1425
1469
|
"description": "Spinners are used to show the progress of an indeterminate operation.\n\n\n---\n\n\n\n\n### **CSS Properties:**\n - **--track-width** - The width of the track. _(default: undefined)_\n- **--track-color** - The color of the track. _(default: undefined)_\n- **--indicator-color** - The color of the spinner's indicator. _(default: undefined)_\n- **--speed** - The time it takes for the spinner to complete one animation cycle. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
1426
1470
|
"attributes": [],
|
|
1427
1471
|
"references": []
|
|
1428
1472
|
},
|
|
1473
|
+
{
|
|
1474
|
+
"name": "flow-ui-split-view",
|
|
1475
|
+
"description": "Split-views contain 2 or more split-view panes to create resizable areas.\n\n\n---\n\n\n",
|
|
1476
|
+
"attributes": [
|
|
1477
|
+
{ "name": "no-drag-close", "values": [] },
|
|
1478
|
+
{ "name": "positions", "values": [{ "name": "string[]" }] },
|
|
1479
|
+
{ "name": "vertical", "values": [] },
|
|
1480
|
+
{ "name": "dragging", "values": [] }
|
|
1481
|
+
],
|
|
1482
|
+
"references": []
|
|
1483
|
+
},
|
|
1429
1484
|
{
|
|
1430
1485
|
"name": "flow-ui-split-view-divider",
|
|
1431
1486
|
"description": "Split-view dividers are used internally by split-views to create resizable areas.\n\n\n---\n\n\n",
|
|
@@ -1558,50 +1613,6 @@
|
|
|
1558
1613
|
],
|
|
1559
1614
|
"references": []
|
|
1560
1615
|
},
|
|
1561
|
-
{
|
|
1562
|
-
"name": "flow-ui-scroll-view",
|
|
1563
|
-
"description": "Scroll views provide a scrollable area for content.\n\n\n---\n\n\n",
|
|
1564
|
-
"attributes": [
|
|
1565
|
-
{
|
|
1566
|
-
"name": "mode",
|
|
1567
|
-
"values": [{ "name": "native" }, { "name": "overlay" }]
|
|
1568
|
-
},
|
|
1569
|
-
{
|
|
1570
|
-
"name": "overflow-x",
|
|
1571
|
-
"values": [
|
|
1572
|
-
{ "name": "" },
|
|
1573
|
-
{ "name": "hidden" },
|
|
1574
|
-
{ "name": "scroll" },
|
|
1575
|
-
{ "name": "visible" },
|
|
1576
|
-
{ "name": "visible-hidden" },
|
|
1577
|
-
{ "name": "visible-scroll" }
|
|
1578
|
-
]
|
|
1579
|
-
},
|
|
1580
|
-
{
|
|
1581
|
-
"name": "overflow-y",
|
|
1582
|
-
"values": [
|
|
1583
|
-
{ "name": "" },
|
|
1584
|
-
{ "name": "hidden" },
|
|
1585
|
-
{ "name": "scroll" },
|
|
1586
|
-
{ "name": "visible" },
|
|
1587
|
-
{ "name": "visible-hidden" },
|
|
1588
|
-
{ "name": "visible-scroll" }
|
|
1589
|
-
]
|
|
1590
|
-
},
|
|
1591
|
-
{
|
|
1592
|
-
"name": "auto-hide",
|
|
1593
|
-
"values": [
|
|
1594
|
-
{ "name": "never" },
|
|
1595
|
-
{ "name": "scroll" },
|
|
1596
|
-
{ "name": "leave" },
|
|
1597
|
-
{ "name": "move" }
|
|
1598
|
-
]
|
|
1599
|
-
},
|
|
1600
|
-
{ "name": "auto-hide-delay", "values": [] },
|
|
1601
|
-
{ "name": "auto-hide-suspend", "values": [] }
|
|
1602
|
-
],
|
|
1603
|
-
"references": []
|
|
1604
|
-
},
|
|
1605
1616
|
{
|
|
1606
1617
|
"name": "flow-ui-stepper",
|
|
1607
1618
|
"description": "Steppers are used to guide users through a series of steps in a wizard-like UI.\n\n\n---\n\n\n",
|
|
@@ -1632,17 +1643,6 @@
|
|
|
1632
1643
|
],
|
|
1633
1644
|
"references": []
|
|
1634
1645
|
},
|
|
1635
|
-
{
|
|
1636
|
-
"name": "flow-ui-split-view",
|
|
1637
|
-
"description": "Split-views contain 2 or more split-view panes to create resizable areas.\n\n\n---\n\n\n",
|
|
1638
|
-
"attributes": [
|
|
1639
|
-
{ "name": "no-drag-close", "values": [] },
|
|
1640
|
-
{ "name": "positions", "values": [{ "name": "string[]" }] },
|
|
1641
|
-
{ "name": "vertical", "values": [] },
|
|
1642
|
-
{ "name": "dragging", "values": [] }
|
|
1643
|
-
],
|
|
1644
|
-
"references": []
|
|
1645
|
-
},
|
|
1646
1646
|
{
|
|
1647
1647
|
"name": "flow-ui-switch",
|
|
1648
1648
|
"description": "Switches allow the user to toggle an option on or off.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-blur** - Emitted when the control loses focus.\n- **flow-ui-change** - Emitted when the control's checked state changes.\n- **flow-ui-input** - Emitted when the control receives input.\n- **flow-ui-focus** - Emitted when the control gains focus.\n- **flow-ui-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **click()** - Simulates a click on the switch.\n- **focus(options: _FocusOptions_)** - Sets focus on the switch.\n- **blur()** - Removes focus from the switch.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - _default_ - The switch's label.\n\n### **CSS Properties:**\n - **--width** - The width of the switch. _(default: undefined)_\n- **--height** - The height of the switch. _(default: undefined)_\n- **--thumb-size** - The size of the thumb. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **control** - The control that houses the switch's thumb.\n- **thumb** - The switch's thumb.\n- **label** - The switch's label.",
|