@ganpatiinfo/gids-core-web 10.0.0 → 10.1.0
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/css/index.css +59 -0
- package/dist/css/index.css.map +1 -1
- package/dist/gids-action-bar.d.ts +11 -0
- package/dist/gids-action-bar.js +1 -0
- package/dist/gids-activity-gauge.d.ts +1 -1
- package/dist/gids-activity-gauge.js +1 -1
- package/dist/gids-bar-chart.d.ts +1 -1
- package/dist/gids-bar-chart.js +1 -1
- package/dist/gids-calendar-header-panel.d.ts +1 -1
- package/dist/gids-calendar-header-panel.js +1 -1
- package/dist/gids-calendar-month-list.d.ts +1 -1
- package/dist/gids-calendar-month-list.js +1 -1
- package/dist/gids-calendar-year-list.d.ts +1 -1
- package/dist/gids-calendar-year-list.js +1 -1
- package/dist/gids-calendar.d.ts +1 -1
- package/dist/gids-calendar.js +1 -1
- package/dist/gids-chart-legend-item.d.ts +1 -1
- package/dist/gids-chart-legend-item.js +1 -1
- package/dist/gids-chart-legend.d.ts +1 -1
- package/dist/gids-chart-legend.js +1 -1
- package/dist/gids-chart.d.ts +1 -1
- package/dist/gids-chart.js +1 -1
- package/dist/gids-chevron-button.d.ts +1 -1
- package/dist/gids-chevron-button.js +1 -1
- package/dist/gids-dot.d.ts +1 -1
- package/dist/gids-dot.js +1 -1
- package/dist/gids-dropdown-field.d.ts +1 -1
- package/dist/gids-dropdown-field.js +1 -1
- package/dist/gids-dropdown-picker.d.ts +1 -1
- package/dist/gids-dropdown-picker.js +1 -1
- package/dist/gids-dropdown.d.ts +1 -1
- package/dist/gids-dropdown.js +1 -1
- package/dist/gids-field.d.ts +1 -1
- package/dist/gids-field.js +1 -1
- package/dist/gids-filter.d.ts +11 -0
- package/dist/gids-filter.js +1 -0
- package/dist/gids-icon.d.ts +1 -1
- package/dist/gids-icon.js +1 -1
- package/dist/gids-input.d.ts +1 -1
- package/dist/gids-input.js +1 -1
- package/dist/gids-level-gauge.d.ts +1 -1
- package/dist/gids-level-gauge.js +1 -1
- package/dist/gids-line-chart.d.ts +1 -1
- package/dist/gids-line-chart.js +1 -1
- package/dist/gids-notification.d.ts +1 -1
- package/dist/gids-notification.js +1 -1
- package/dist/gids-overflow-container.d.ts +1 -1
- package/dist/gids-overflow-container.js +1 -1
- package/dist/gids-overlay-provider.d.ts +1 -1
- package/dist/gids-overlay-provider.js +1 -1
- package/dist/gids-password-field.d.ts +1 -1
- package/dist/gids-password-field.js +1 -1
- package/dist/gids-pie-chart.d.ts +1 -1
- package/dist/gids-pie-chart.js +1 -1
- package/dist/gids-popover.d.ts +1 -1
- package/dist/gids-popover.js +1 -1
- package/dist/gids-progress-circle.d.ts +1 -1
- package/dist/gids-progress-circle.js +1 -1
- package/dist/gids-scrim.d.ts +1 -1
- package/dist/gids-scrim.js +1 -1
- package/dist/gids-snackbar.d.ts +1 -1
- package/dist/gids-snackbar.js +1 -1
- package/dist/gids-text-field.d.ts +1 -1
- package/dist/gids-text-field.js +1 -1
- package/dist/gids-toggle-button.d.ts +1 -1
- package/dist/gids-toggle-button.js +1 -1
- package/dist/gids-tooltip.d.ts +1 -1
- package/dist/gids-tooltip.js +1 -1
- package/dist/index.js +1 -1
- package/dist/{p-DfFqFdmS.js → p-BQ-ZnlnH.js} +1 -1
- package/dist/{p-9_mrQ7ac.js → p-BZCJlqVe.js} +1 -1
- package/dist/p-Bf3p-DY2.js +1 -0
- package/dist/{p-CIP0xyhD.js → p-BpQB6ncp.js} +1 -1
- package/dist/p-CHGTBObD.js +1 -0
- package/dist/{p-CPSHPtGE.js → p-CP1wz2PI.js} +1 -1
- package/dist/{p-D93TNeOt.js → p-CQH7eAs3.js} +1 -1
- package/dist/{p-CJzporPT.js → p-CW7tw1Fb.js} +1 -1
- package/dist/{p-D_wcwB7E.js → p-CaauwQNd.js} +1 -1
- package/dist/p-Cn3-K5eR.js +1 -0
- package/dist/{p-quZYWCxU.js → p-CoS0NuDU.js} +1 -1
- package/dist/{p-BnL97lOW.js → p-D4Pimu_8.js} +1 -1
- package/dist/p-D6lxqcxP.js +1 -0
- package/dist/p-DMNS1d8v.js +1 -0
- package/dist/{p-BvYnawkJ.js → p-DNTv2BQ5.js} +1 -1
- package/dist/{p-tyIgTtUC.js → p-DPIK2ayL.js} +1 -1
- package/dist/{p-BiPAgxAQ.js → p-Db62Pz3n.js} +1 -1
- package/dist/{p-uqSjmNkw.js → p-Degg_WJz.js} +1 -1
- package/dist/{p-h6alWGT8.js → p-DfxTsSdZ.js} +1 -1
- package/dist/p-Dg2yoUxw.js +1 -0
- package/dist/p-DmLoB2Dn.js +1 -0
- package/dist/p-DoCwI_bx.js +1 -0
- package/dist/p-H1JIMJ2t.js +1 -0
- package/dist/p-JjN8U9B5.js +1 -0
- package/dist/p-UVmSPzTd.js +1 -0
- package/dist/p-UxDcM-C5.js +1 -0
- package/dist/{p-Bmb-HiXg.js → p-V48JyMbP.js} +1 -1
- package/dist/{p-B81J5HCC.js → p-mZJdpfOo.js} +1 -1
- package/dist/types/components/html/GidsButtonGroup/GidsButtonGroup.d.ts +2 -2
- package/dist/types/components/webComponents/GidsActionBar/GidsActionBar.d.ts +59 -0
- package/dist/types/components/webComponents/GidsFilter/GidsFilter.d.ts +55 -0
- package/dist/types/components/webComponents/GidsToggleButton/GidsToggleButton.d.ts +5 -3
- package/dist/types/components.d.ts +260 -5
- package/dist-bundled/es/gids-action-bar.js +177 -0
- package/dist-bundled/es/gids-activity-gauge.js +1 -1
- package/dist-bundled/es/gids-bar-chart.js +3 -3
- package/dist-bundled/es/gids-calendar-header-panel.js +4 -4
- package/dist-bundled/es/gids-calendar-month-list.js +3 -3
- package/dist-bundled/es/gids-calendar-year-list.js +4 -4
- package/dist-bundled/es/gids-calendar.js +22 -22
- package/dist-bundled/es/gids-chart-legend-item.js +4 -4
- package/dist-bundled/es/gids-chart-legend.js +4 -4
- package/dist-bundled/es/gids-chart.js +22 -22
- package/dist-bundled/es/gids-chevron-button.js +10 -10
- package/dist-bundled/es/gids-dot.js +3 -3
- package/dist-bundled/es/gids-dropdown-field.js +8 -8
- package/dist-bundled/es/gids-dropdown-picker.js +1 -1
- package/dist-bundled/es/gids-dropdown.js +4 -4
- package/dist-bundled/es/gids-field.js +1 -1
- package/dist-bundled/es/gids-filter.js +6 -0
- package/dist-bundled/es/gids-icon.js +4 -4
- package/dist-bundled/es/gids-input.js +1 -1
- package/dist-bundled/es/gids-level-gauge.js +4 -4
- package/dist-bundled/es/gids-line-chart.js +4 -4
- package/dist-bundled/es/gids-notification.js +1 -1
- package/dist-bundled/es/gids-overflow-container.js +2 -2
- package/dist-bundled/es/gids-overlay-provider.js +12 -12
- package/dist-bundled/es/gids-password-field.js +36 -36
- package/dist-bundled/es/gids-pie-chart.js +4 -4
- package/dist-bundled/es/gids-popover.js +5 -5
- package/dist-bundled/es/gids-progress-circle.js +1 -1
- package/dist-bundled/es/gids-scrim.js +2 -2
- package/dist-bundled/es/gids-snackbar.js +1 -1
- package/dist-bundled/es/gids-text-field.js +12 -12
- package/dist-bundled/es/gids-toggle-button.js +4 -44
- package/dist-bundled/es/gids-tooltip.js +5 -5
- package/dist-bundled/es/index.js +3 -3
- package/dist-bundled/es/{p-DfFqFdmS-DjI2pk-0.js → p-BQ-ZnlnH-CUVdDHzX.js} +6 -6
- package/dist-bundled/es/{p-9_mrQ7ac-If6e6cvJ.js → p-BZCJlqVe-BcSwze-q.js} +6 -6
- package/dist-bundled/es/p-Bf3p-DY2-CPqEc-vc.js +672 -0
- package/dist-bundled/es/{p-CIP0xyhD-D6y5soLj.js → p-BpQB6ncp-C2AWddf-.js} +11 -11
- package/dist-bundled/es/{p-DKsrt7dx-ImYLc4xz.js → p-CHGTBObD-EN4cCwtX.js} +3 -3
- package/dist-bundled/es/{p-CPSHPtGE-C7baJgXR.js → p-CP1wz2PI-DhVAsHFS.js} +4 -4
- package/dist-bundled/es/{p-D93TNeOt-Vvshbux8.js → p-CQH7eAs3-BVowyVGn.js} +14 -14
- package/dist-bundled/es/{p-CJzporPT-I_OdjJsQ.js → p-CW7tw1Fb-DtJ5TwCU.js} +18 -18
- package/dist-bundled/es/{p-D_wcwB7E-d3jYxfod.js → p-CaauwQNd-D6_PbcRr.js} +1 -1
- package/dist-bundled/es/{p-BaO-kEWS-ZITkeP-j.js → p-Cn3-K5eR-tQ1EOnDF.js} +22 -20
- package/dist-bundled/es/{p-quZYWCxU-CPyWW0nv.js → p-CoS0NuDU-CqmDcRWj.js} +9 -9
- package/dist-bundled/es/{p-BnL97lOW-BO0p4EdC.js → p-D4Pimu_8-DfEGRQGf.js} +1 -1
- package/dist-bundled/es/p-D6lxqcxP-DWrZi1Xi.js +74 -0
- package/dist-bundled/es/{p-Dehss-X0-Di5vMgvd.js → p-DMNS1d8v-CHF62UXm.js} +3 -3
- package/dist-bundled/es/{p-BvYnawkJ-DohV9UNG.js → p-DNTv2BQ5-Bwgd30mM.js} +6 -6
- package/dist-bundled/es/{p-tyIgTtUC-C8jR4A5G.js → p-DPIK2ayL-DPEbctqo.js} +4 -4
- package/dist-bundled/es/{p-BiPAgxAQ-BtMBQpJY.js → p-Db62Pz3n-DpQjwBYb.js} +5 -5
- package/dist-bundled/es/{p-uqSjmNkw-Cz2T86sC.js → p-Degg_WJz-BLua06el.js} +3 -3
- package/dist-bundled/es/{p-h6alWGT8-CSY2g3c8.js → p-DfxTsSdZ-C2Afv1lS.js} +8 -8
- package/dist-bundled/es/{p-CRngHsR7-DL9wz3Z3.js → p-Dg2yoUxw-Cca8ROd_.js} +4 -4
- package/dist-bundled/es/p-DmLoB2Dn-D-FSoCvI.js +44 -0
- package/dist-bundled/es/{p-B_HaXpJZ-a2SDgQ0E.js → p-DoCwI_bx-BXHlZI7-.js} +7 -7
- package/dist-bundled/es/p-H1JIMJ2t-DEXp7M4I.js +152 -0
- package/dist-bundled/es/{p-BFHWXEeg-ByjSjz8i.js → p-JjN8U9B5-GeWjfJBY.js} +23 -21
- package/dist-bundled/es/{p-KxRqlvSh-JOFDmT0B.js → p-UVmSPzTd-DiTxS9kW.js} +8 -8
- package/dist-bundled/es/{p-DZWWuJac-DNQvnHAr.js → p-UxDcM-C5-Dr5d_WpJ.js} +2 -2
- package/dist-bundled/es/{p-Bmb-HiXg-MyHWdhpw.js → p-V48JyMbP-Bx-0od-Z.js} +12 -12
- package/dist-bundled/es/{p-B81J5HCC-Bkt2yXKi.js → p-mZJdpfOo-DicbKil0.js} +7 -7
- package/dist-bundled/umd/gids-action-bar.umd.js +7 -0
- package/dist-bundled/umd/gids-activity-gauge.umd.js +2 -2
- package/dist-bundled/umd/gids-bar-chart.umd.js +3 -3
- package/dist-bundled/umd/gids-calendar-header-panel.umd.js +2 -2
- package/dist-bundled/umd/gids-calendar-month-list.umd.js +2 -2
- package/dist-bundled/umd/gids-calendar-year-list.umd.js +2 -2
- package/dist-bundled/umd/gids-calendar.umd.js +2 -2
- package/dist-bundled/umd/gids-chart-legend-item.umd.js +2 -2
- package/dist-bundled/umd/gids-chart-legend.umd.js +2 -2
- package/dist-bundled/umd/gids-chart.umd.js +3 -3
- package/dist-bundled/umd/gids-chevron-button.umd.js +2 -2
- package/dist-bundled/umd/gids-dot.umd.js +2 -2
- package/dist-bundled/umd/gids-dropdown-field.umd.js +2 -2
- package/dist-bundled/umd/gids-dropdown-picker.umd.js +2 -2
- package/dist-bundled/umd/gids-dropdown.umd.js +2 -2
- package/dist-bundled/umd/gids-field.umd.js +2 -2
- package/dist-bundled/umd/gids-filter.umd.js +7 -0
- package/dist-bundled/umd/gids-icon.umd.js +2 -2
- package/dist-bundled/umd/gids-input.umd.js +2 -2
- package/dist-bundled/umd/gids-level-gauge.umd.js +2 -2
- package/dist-bundled/umd/gids-line-chart.umd.js +2 -2
- package/dist-bundled/umd/gids-notification.umd.js +2 -2
- package/dist-bundled/umd/gids-overflow-container.umd.js +2 -2
- package/dist-bundled/umd/gids-overlay-provider.umd.js +2 -2
- package/dist-bundled/umd/gids-password-field.umd.js +2 -2
- package/dist-bundled/umd/gids-pie-chart.umd.js +2 -2
- package/dist-bundled/umd/gids-popover.umd.js +2 -2
- package/dist-bundled/umd/gids-progress-circle.umd.js +2 -2
- package/dist-bundled/umd/gids-scrim.umd.js +2 -2
- package/dist-bundled/umd/gids-snackbar.umd.js +2 -2
- package/dist-bundled/umd/gids-text-field.umd.js +2 -2
- package/dist-bundled/umd/gids-toggle-button.umd.js +3 -3
- package/dist-bundled/umd/gids-tooltip.umd.js +2 -2
- package/dist-bundled/umd/index.umd.js +2 -2
- package/dist-bundled/umd-complete/gids-core-web.umd.js +8 -8
- package/package.json +20 -4
- package/dist/p-BFHWXEeg.js +0 -1
- package/dist/p-B_HaXpJZ.js +0 -1
- package/dist/p-BaO-kEWS.js +0 -1
- package/dist/p-CRngHsR7.js +0 -1
- package/dist/p-Ct3Ixgvf.js +0 -1
- package/dist/p-DKsrt7dx.js +0 -1
- package/dist/p-DZWWuJac.js +0 -1
- package/dist/p-Dehss-X0.js +0 -1
- package/dist/p-KxRqlvSh.js +0 -1
- package/dist/p-MgTlrSP_.js +0 -1
- package/dist-bundled/es/p-Ct3Ixgvf-CNP_PKwP.js +0 -646
- package/dist-bundled/es/p-MgTlrSP_-DifRVv94.js +0 -70
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e,p as t,H as a,h as i}from"./p-
|
|
1
|
+
import{t as e,p as t,H as a,h as i}from"./p-Bf3p-DY2.js";import{G as r}from"./p-D4Pimu_8.js";import{GidsChartLegendItemWebUtils as s}from"@ganpatiinfo/gids-web-shared";const{getGidsChartLegendItemClassNames:n}=s,l=t(class extends a{constructor(e){super(),!1!==e&&this.__registerHost(),this.orientation="horizontal",this.seriesType="1"}handleOrientationChange(e){this.orientation=e}handleSeriesTypeChange(e){this.seriesType=e}render(){const e=n({seriesType:this.seriesType,orientation:this.orientation});return i("div",{key:"a168968003ccd7216f5c69beac50898a1f176dc7",class:e},i("div",{key:"995b46947af3677386a2c67a7b7fa469483a8745",class:"vertical"===this.orientation?"gids-chart-legend-item__dot-wrapper-vertical":"gids-chart-legend-item__dot-wrapper-horizontal"},i(r,{key:"6b8b0a267e30a77f8c6d4ae18db2f4dfcf4041e7",name:"new",alt:"new_icon",appearance:"filled"})),i("span",{key:"c9e38851fd89a20e06e111fe2ca4faf3211f03fa",class:"gids-chart-legend-item__label"},i("slot",{key:"aa30a8f07ef92ff658f76fe1dce2d10dbfb636c1"})))}static get watchers(){return{orientation:[{handleOrientationChange:0}],seriesType:[{handleSeriesTypeChange:0}]}}static get style(){return".gids-chart-legend-item{display:flex;align-items:center;gap:var(--gids-gap-100);--gidsChartLegendItemIcon-color:var(--gids-color-icon-subtle);--gidsIcon-color:var(--gidsChartLegendItemIcon-color);--gidsIcon-height:var(--gids-size-080)}.gids-chart-legend-item--orientation-vertical{display:flex}.gids-chart-legend-item--series-2{--gidsChartLegendItemIcon-color:var(--gids-color-icon-warning)}.gids-chart-legend-item--series-3{--gidsChartLegendItemIcon-color:var(--gids-color-icon-danger)}.gids-chart-legend-item--series-4{--gidsChartLegendItemIcon-color:var(--gids-color-background-positive-bold-hovered)}.gids-chart-legend-item--series-5{--gidsChartLegendItemIcon-color:var(--gids-color-background-information-bold-default)}.gids-chart-legend-item--series-6{--gidsChartLegendItemIcon-color:rgb(238, 70, 188)}.gids-chart-legend-item__label{font-family:var(--gids-typography-label-small__font-family);font-size:var(--gids-typography-label-small__font-size);font-weight:var(--gids-typography-label-small__font-weight);letter-spacing:var(--gids-typography-label-small__letter-spacing);line-height:var(--gids-typography-label-small__line-height);text-transform:var(--gids-typography-label-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-small__font-variant-caps, inherit);text-align:left;color:var(--gids-color-text-subtlest)}.gids-chart-legend-item__dot-wrapper-vertical{display:flex;padding-top:var(--gids-padding-vertical-edge-to-element-075)}.gids-chart-legend-item__dot-wrapper-horizontal{display:flex;align-items:center}"}},[260,"gids-chart-legend-item",{orientation:[1],seriesType:[1,"series-type"]},void 0,{orientation:[{handleOrientationChange:0}],seriesType:[{handleSeriesTypeChange:0}]}]);function d(){"undefined"!=typeof customElements&&["gids-chart-legend-item"].forEach((t=>{"gids-chart-legend-item"===t&&(customElements.get(e(t))||customElements.define(e(t),l))}))}d();export{l as G,d}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type FunctionalComponent
|
|
1
|
+
import { type FunctionalComponent } from '../../../stencil-public-runtime';
|
|
2
2
|
import { type JSXBase } from '../../../stencil-public-runtime';
|
|
3
3
|
import { type GidsButtonGroupCommonProps } from '@ganpatiinfo/gids-core-shared';
|
|
4
|
-
export type GidsButtonGroupProps = JSXBase.IntrinsicElements['span'] & GidsButtonGroupCommonProps<
|
|
4
|
+
export type GidsButtonGroupProps = JSXBase.IntrinsicElements['span'] & Omit<GidsButtonGroupCommonProps<never>, 'children'>;
|
|
5
5
|
export declare const GidsButtonGroup: FunctionalComponent<GidsButtonGroupProps>;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import type { GidsActionBarFilterToggleEventDetail, GidsButtonSize, GidsActionBarFilterSelectEventDetail, GidsActionBarPrimaryFilters, GidsActionBarSecondaryFilters, GidsActionBarMoreFilters, GidsActionBarAllFilters, GidsButtonAppearance } from '@ganpatiinfo/gids-core-shared';
|
|
2
|
+
import { type GidsActionBarWebProps } from '@ganpatiinfo/gids-web-shared';
|
|
3
|
+
export declare class GidsActionBar implements GidsActionBarWebProps<Event> {
|
|
4
|
+
actionGroup?: boolean;
|
|
5
|
+
allFiltersTabVisible?: boolean;
|
|
6
|
+
moreFiltersTabVisible?: boolean;
|
|
7
|
+
clearAllFiltersVisible?: boolean;
|
|
8
|
+
clearAllFiltersButtonAppearance?: GidsButtonAppearance;
|
|
9
|
+
primaryFilters?: GidsActionBarPrimaryFilters[];
|
|
10
|
+
secondaryFilters?: GidsActionBarSecondaryFilters[];
|
|
11
|
+
allFiltersData?: GidsActionBarAllFilters;
|
|
12
|
+
moreFiltersData?: GidsActionBarMoreFilters;
|
|
13
|
+
filterSize?: GidsButtonSize;
|
|
14
|
+
dropdownDividerVisible?: boolean;
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
onToggleActionBarAllFilter?: (detail: GidsActionBarFilterSelectEventDetail) => void;
|
|
17
|
+
onToggleActionBarDropdownFilter?: (detail: GidsActionBarFilterToggleEventDetail<Event>) => void;
|
|
18
|
+
onToggleActionBarMoreFilter?: (detail: GidsActionBarFilterToggleEventDetail<Event>) => void;
|
|
19
|
+
onToggleActionBarNoneFilter?: (detail: GidsActionBarFilterSelectEventDetail) => void;
|
|
20
|
+
onDropdownSelectionActionBarFilterChange?: (detail: GidsActionBarFilterSelectEventDetail) => void;
|
|
21
|
+
onMoreSelectionActionBarFilterChange?: (detail: GidsActionBarFilterSelectEventDetail) => void;
|
|
22
|
+
onClearAllFiltersButton?: (event: Event) => void;
|
|
23
|
+
private selectedFilters?;
|
|
24
|
+
private activeExpandedFilterId?;
|
|
25
|
+
protected handleFilterSizeChange(next: GidsButtonSize): void;
|
|
26
|
+
protected handleDropdownDividerVisibilityChange(next: boolean): void;
|
|
27
|
+
protected handlePrimaryFiltersChange(next: GidsActionBarPrimaryFilters[]): void;
|
|
28
|
+
protected handleSecondaryFiltersChange(next: GidsActionBarSecondaryFilters[]): void;
|
|
29
|
+
protected handleAllFiltersDataChange(next: GidsActionBarAllFilters): void;
|
|
30
|
+
protected handleMoreFiltersValueChange(next: GidsActionBarMoreFilters): void;
|
|
31
|
+
protected handleDisabilityChange(next: boolean): void;
|
|
32
|
+
protected handleActionGroupChange(next: boolean): void;
|
|
33
|
+
protected handleClearAllFiltersButtonAppearanceChange(next: GidsButtonAppearance): void;
|
|
34
|
+
connectedCallback(): void;
|
|
35
|
+
private handleAllFilterClick;
|
|
36
|
+
private applyAllToggleSelection;
|
|
37
|
+
private handleSecondaryFilterClick;
|
|
38
|
+
private applySecondaryFilterToggleSelection;
|
|
39
|
+
private applyNormalFiltersSelectedStateChange;
|
|
40
|
+
private toggleDropdownFilter;
|
|
41
|
+
private handleDropdownFilterMenuItemClick;
|
|
42
|
+
private applyDropdownFilterMenuItemSelection;
|
|
43
|
+
private applyDropdownFiltersSelectedStateChange;
|
|
44
|
+
private handleClearAllFiltersClick;
|
|
45
|
+
private isMoreFilterVisible;
|
|
46
|
+
private isAllFilterVisible;
|
|
47
|
+
private isAllFiltersTabDisabled;
|
|
48
|
+
private isMoreFiltersTabDisabled;
|
|
49
|
+
private isActionGroup;
|
|
50
|
+
private createAllFiltersData;
|
|
51
|
+
private getAllFiltersValue;
|
|
52
|
+
private getSelectedFilter;
|
|
53
|
+
private getSelectedDropdownFilterTitle;
|
|
54
|
+
private isNormalFilterSelected;
|
|
55
|
+
private isDropdownFilterSelected;
|
|
56
|
+
private getSelectedFilterPickerData;
|
|
57
|
+
private setFilterPickerExpandedState;
|
|
58
|
+
render(): any;
|
|
59
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { type GidsFilterPickerChangeEventDetail, GidsButtonSize, GidsFilterType, GidsFilterItemType, GidsFilterToggleEventDetail } from '@ganpatiinfo/gids-core-shared';
|
|
2
|
+
import { type GidsFilterWebProps } from '@ganpatiinfo/gids-web-shared';
|
|
3
|
+
export declare class GidsFilter implements Omit<GidsFilterWebProps<never>, 'children'> {
|
|
4
|
+
private hostElement;
|
|
5
|
+
name?: string;
|
|
6
|
+
filterId?: string;
|
|
7
|
+
filterPickerId?: string;
|
|
8
|
+
expanded?: boolean;
|
|
9
|
+
type?: GidsFilterType;
|
|
10
|
+
filterItemType?: GidsFilterItemType;
|
|
11
|
+
value?: string;
|
|
12
|
+
filterSelected?: boolean;
|
|
13
|
+
filterDefaultSelected?: boolean;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
size?: GidsButtonSize;
|
|
16
|
+
loading?: boolean;
|
|
17
|
+
filterIndex?: number;
|
|
18
|
+
onFilterMenuItemChange?: (detail: GidsFilterPickerChangeEventDetail) => void;
|
|
19
|
+
onToggle?: (detail: GidsFilterToggleEventDetail<Event>) => void;
|
|
20
|
+
private selectedItemTitle?;
|
|
21
|
+
private hasSlottedMenu;
|
|
22
|
+
private hasItemListener;
|
|
23
|
+
private suppressNextMenuClickSelection;
|
|
24
|
+
private patternForm?;
|
|
25
|
+
private initialValue?;
|
|
26
|
+
protected handleExpandedChange(next: boolean): void;
|
|
27
|
+
protected handleInteractivityChange(): void;
|
|
28
|
+
protected handleFilterTypeChange(next: GidsFilterType): void;
|
|
29
|
+
handleFilterSelectedChange(newValue: boolean): void;
|
|
30
|
+
connectedCallback(): void;
|
|
31
|
+
componentDidLoad(): void;
|
|
32
|
+
disconnectedCallback(): void;
|
|
33
|
+
private getFilterButtonControl;
|
|
34
|
+
private getItemElements;
|
|
35
|
+
private evaluateSlottedMenuExistence;
|
|
36
|
+
private readonly handleFilterPickerItemSelect;
|
|
37
|
+
private readonly handleMenuClick;
|
|
38
|
+
private attachItemListener;
|
|
39
|
+
private detachItemListener;
|
|
40
|
+
private applySelection;
|
|
41
|
+
private clearActive;
|
|
42
|
+
private readonly handleTriggerToggle;
|
|
43
|
+
private readonly handleFilterButtonClickToggle;
|
|
44
|
+
private setExpandedState;
|
|
45
|
+
private syncFilterDisplayValue;
|
|
46
|
+
private readonly handleFormReset;
|
|
47
|
+
private attachFormListener;
|
|
48
|
+
private detachFormListener;
|
|
49
|
+
private isInteractive;
|
|
50
|
+
private coerceEvent;
|
|
51
|
+
private isMenuToggler;
|
|
52
|
+
private setFilterDropdownPosition;
|
|
53
|
+
protected handleWindowClick(event: MouseEvent): void;
|
|
54
|
+
render(): any;
|
|
55
|
+
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { type GidsButtonSize, type GidsToggleButtonAppearance, type GidsButtonWidth } from '@ganpatiinfo/gids-core-shared';
|
|
2
2
|
import { type GidsToggleButtonWebProps } from '@ganpatiinfo/gids-web-shared';
|
|
3
3
|
export declare class GidsToggleButton implements Omit<GidsToggleButtonWebProps, 'children'> {
|
|
4
|
-
#private;
|
|
5
4
|
/**
|
|
6
5
|
* @internal
|
|
7
6
|
*/
|
|
@@ -48,9 +47,12 @@ export declare class GidsToggleButton implements Omit<GidsToggleButtonWebProps,
|
|
|
48
47
|
*
|
|
49
48
|
* @inheritdoc
|
|
50
49
|
*/
|
|
51
|
-
|
|
52
|
-
set selected(value: unknown);
|
|
50
|
+
selected?: boolean;
|
|
53
51
|
constructor();
|
|
52
|
+
protected handleSelctedChange(next: boolean): void;
|
|
53
|
+
/**
|
|
54
|
+
* @internal
|
|
55
|
+
*/
|
|
54
56
|
connectedCallback(): void;
|
|
55
57
|
private _toggle;
|
|
56
58
|
render(): any;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* It contains typing information for all components that exist in this project.
|
|
6
6
|
*/
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
|
-
import { GidsActivityGaugeCommonProps, GidsActivityGaugeData, GidsActivityGaugeLegendPosition, GidsActivityGaugeSize, GidsBarChartCommonProps, GidsBarChartData, GidsBarChartLegendPosition, GidsButtonAppearance, GidsButtonSize, GidsButtonWidth, GidsCalendarDateSelectionEventDetails, GidsCalendarHeaderPanelActionsEventDetail, GidsCalendarHeaderPanelItemSelectEventDetail, GidsCalendarMonthListItemSelectEventDetail, GidsCalendarWidth, GidsCalendarYearListItemSelectEventDetail, GidsChartBreakpoint, GidsChartLegendItemOrientation, GidsChartLegendItemSeriesType, GidsChartType, GidsComponentPosition, GidsDotAppearance, GidsDotSize, GidsDropdownChangeEventDetail, GidsDropdownPickerChangeEventDetail, GidsFloatingElementPlacement, GidsInputAppearance, GidsLabelFieldRequirement, GidsLabelFieldRequirementTextFn, GidsLevelGaugeColor, GidsLevelGaugeCommonProps, GidsLevelGaugeSize, GidsLineChartCommonProps, GidsLineChartData, GidsLineChartLegendPosition, GidsMenuGroupType, GidsNotificationPronunciation, GidsOverflowContainerShadowLocation, GidsPieChartCommonProps, GidsPieChartData, GidsProgressCircleCommonProps, GidsRequirementsProps, GidsSnackbarContainerAppearance, GidsSpinnerSize, GidsToggleButtonAppearance, IsLabelSentenceFn } from "@ganpatiinfo/gids-core-shared";
|
|
8
|
+
import { GidsActionBarAllFilters, GidsActionBarFilterSelectEventDetail, GidsActionBarFilterToggleEventDetail, GidsActionBarMoreFilters, GidsActionBarPrimaryFilters, GidsActionBarSecondaryFilters, GidsActivityGaugeCommonProps, GidsActivityGaugeData, GidsActivityGaugeLegendPosition, GidsActivityGaugeSize, GidsBarChartCommonProps, GidsBarChartData, GidsBarChartLegendPosition, GidsButtonAppearance, GidsButtonSize, GidsButtonWidth, GidsCalendarDateSelectionEventDetails, GidsCalendarHeaderPanelActionsEventDetail, GidsCalendarHeaderPanelItemSelectEventDetail, GidsCalendarMonthListItemSelectEventDetail, GidsCalendarWidth, GidsCalendarYearListItemSelectEventDetail, GidsChartBreakpoint, GidsChartLegendItemOrientation, GidsChartLegendItemSeriesType, GidsChartType, GidsComponentPosition, GidsDotAppearance, GidsDotSize, GidsDropdownChangeEventDetail, GidsDropdownPickerChangeEventDetail, GidsFilterItemType, GidsFilterPickerChangeEventDetail, GidsFilterToggleEventDetail, GidsFilterType, GidsFloatingElementPlacement, GidsInputAppearance, GidsLabelFieldRequirement, GidsLabelFieldRequirementTextFn, GidsLevelGaugeColor, GidsLevelGaugeCommonProps, GidsLevelGaugeSize, GidsLineChartCommonProps, GidsLineChartData, GidsLineChartLegendPosition, GidsMenuGroupType, GidsNotificationPronunciation, GidsOverflowContainerShadowLocation, GidsPieChartCommonProps, GidsPieChartData, GidsProgressCircleCommonProps, GidsRequirementsProps, GidsSnackbarContainerAppearance, GidsSpinnerSize, GidsToggleButtonAppearance, IsLabelSentenceFn } from "@ganpatiinfo/gids-core-shared";
|
|
9
9
|
import { NativeInputForwardedProps } from "./components/webComponents/GidsDropdown/GidsDropdown";
|
|
10
10
|
import { GidsComponentButtonClickHandler, GidsDropdownFieldWebProps, GidsIconWebProps, GidsInputWebStatus, GidsWebFieldStatus, RemovedGidsOverlayProviderNotificationQueueWebProps, RemovedGidsOverlayProviderSnackbarQueueWebProps, RemoveGidsInputProps, RemoveGidsPasswordFieldProps, RemoveGidsTextFieldProps, TextInputTypes } from "@ganpatiinfo/gids-web-shared";
|
|
11
11
|
import { NativeInputForwardedProps as NativeInputForwardedProps1 } from "./components/webComponents/GidsDropdownField/GidsDropdownField";
|
|
@@ -13,7 +13,7 @@ import { IconAppearance, IconName } from "@ganpatiinfo/gids-web-theme-interface"
|
|
|
13
13
|
import { JSXBase } from "./stencil-public-runtime";
|
|
14
14
|
import { GidsPieChartSize } from "./components/webComponents/GidsPieChart/GidsPieChart";
|
|
15
15
|
import { GidsProgressCircleShape, GidsProgressCircleSize } from "./components/webComponents/GidsProgressCircle/GidsProgressCircle";
|
|
16
|
-
export { GidsActivityGaugeCommonProps, GidsActivityGaugeData, GidsActivityGaugeLegendPosition, GidsActivityGaugeSize, GidsBarChartCommonProps, GidsBarChartData, GidsBarChartLegendPosition, GidsButtonAppearance, GidsButtonSize, GidsButtonWidth, GidsCalendarDateSelectionEventDetails, GidsCalendarHeaderPanelActionsEventDetail, GidsCalendarHeaderPanelItemSelectEventDetail, GidsCalendarMonthListItemSelectEventDetail, GidsCalendarWidth, GidsCalendarYearListItemSelectEventDetail, GidsChartBreakpoint, GidsChartLegendItemOrientation, GidsChartLegendItemSeriesType, GidsChartType, GidsComponentPosition, GidsDotAppearance, GidsDotSize, GidsDropdownChangeEventDetail, GidsDropdownPickerChangeEventDetail, GidsFloatingElementPlacement, GidsInputAppearance, GidsLabelFieldRequirement, GidsLabelFieldRequirementTextFn, GidsLevelGaugeColor, GidsLevelGaugeCommonProps, GidsLevelGaugeSize, GidsLineChartCommonProps, GidsLineChartData, GidsLineChartLegendPosition, GidsMenuGroupType, GidsNotificationPronunciation, GidsOverflowContainerShadowLocation, GidsPieChartCommonProps, GidsPieChartData, GidsProgressCircleCommonProps, GidsRequirementsProps, GidsSnackbarContainerAppearance, GidsSpinnerSize, GidsToggleButtonAppearance, IsLabelSentenceFn } from "@ganpatiinfo/gids-core-shared";
|
|
16
|
+
export { GidsActionBarAllFilters, GidsActionBarFilterSelectEventDetail, GidsActionBarFilterToggleEventDetail, GidsActionBarMoreFilters, GidsActionBarPrimaryFilters, GidsActionBarSecondaryFilters, GidsActivityGaugeCommonProps, GidsActivityGaugeData, GidsActivityGaugeLegendPosition, GidsActivityGaugeSize, GidsBarChartCommonProps, GidsBarChartData, GidsBarChartLegendPosition, GidsButtonAppearance, GidsButtonSize, GidsButtonWidth, GidsCalendarDateSelectionEventDetails, GidsCalendarHeaderPanelActionsEventDetail, GidsCalendarHeaderPanelItemSelectEventDetail, GidsCalendarMonthListItemSelectEventDetail, GidsCalendarWidth, GidsCalendarYearListItemSelectEventDetail, GidsChartBreakpoint, GidsChartLegendItemOrientation, GidsChartLegendItemSeriesType, GidsChartType, GidsComponentPosition, GidsDotAppearance, GidsDotSize, GidsDropdownChangeEventDetail, GidsDropdownPickerChangeEventDetail, GidsFilterItemType, GidsFilterPickerChangeEventDetail, GidsFilterToggleEventDetail, GidsFilterType, GidsFloatingElementPlacement, GidsInputAppearance, GidsLabelFieldRequirement, GidsLabelFieldRequirementTextFn, GidsLevelGaugeColor, GidsLevelGaugeCommonProps, GidsLevelGaugeSize, GidsLineChartCommonProps, GidsLineChartData, GidsLineChartLegendPosition, GidsMenuGroupType, GidsNotificationPronunciation, GidsOverflowContainerShadowLocation, GidsPieChartCommonProps, GidsPieChartData, GidsProgressCircleCommonProps, GidsRequirementsProps, GidsSnackbarContainerAppearance, GidsSpinnerSize, GidsToggleButtonAppearance, IsLabelSentenceFn } from "@ganpatiinfo/gids-core-shared";
|
|
17
17
|
export { NativeInputForwardedProps } from "./components/webComponents/GidsDropdown/GidsDropdown";
|
|
18
18
|
export { GidsComponentButtonClickHandler, GidsDropdownFieldWebProps, GidsIconWebProps, GidsInputWebStatus, GidsWebFieldStatus, RemovedGidsOverlayProviderNotificationQueueWebProps, RemovedGidsOverlayProviderSnackbarQueueWebProps, RemoveGidsInputProps, RemoveGidsPasswordFieldProps, RemoveGidsTextFieldProps, TextInputTypes } from "@ganpatiinfo/gids-web-shared";
|
|
19
19
|
export { NativeInputForwardedProps as NativeInputForwardedProps1 } from "./components/webComponents/GidsDropdownField/GidsDropdownField";
|
|
@@ -22,6 +22,66 @@ export { JSXBase } from "./stencil-public-runtime";
|
|
|
22
22
|
export { GidsPieChartSize } from "./components/webComponents/GidsPieChart/GidsPieChart";
|
|
23
23
|
export { GidsProgressCircleShape, GidsProgressCircleSize } from "./components/webComponents/GidsProgressCircle/GidsProgressCircle";
|
|
24
24
|
export namespace Components {
|
|
25
|
+
interface GidsActionBar {
|
|
26
|
+
/**
|
|
27
|
+
* @default false
|
|
28
|
+
*/
|
|
29
|
+
"actionGroup"?: boolean;
|
|
30
|
+
"allFiltersData"?: GidsActionBarAllFilters;
|
|
31
|
+
/**
|
|
32
|
+
* @default false
|
|
33
|
+
*/
|
|
34
|
+
"allFiltersTabVisible"?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* @default 'primary'
|
|
37
|
+
*/
|
|
38
|
+
"clearAllFiltersButtonAppearance"?: GidsButtonAppearance;
|
|
39
|
+
/**
|
|
40
|
+
* @default true
|
|
41
|
+
*/
|
|
42
|
+
"clearAllFiltersVisible"?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* @default false
|
|
45
|
+
*/
|
|
46
|
+
"disabled"?: boolean;
|
|
47
|
+
"dropdownDividerVisible"?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* @default 'xs'
|
|
50
|
+
*/
|
|
51
|
+
"filterSize"?: GidsButtonSize;
|
|
52
|
+
"moreFiltersData"?: GidsActionBarMoreFilters;
|
|
53
|
+
/**
|
|
54
|
+
* @default false
|
|
55
|
+
*/
|
|
56
|
+
"moreFiltersTabVisible"?: boolean;
|
|
57
|
+
"onClearAllFiltersButton"?: (event: Event) => void;
|
|
58
|
+
"onDropdownSelectionActionBarFilterChange"?: (
|
|
59
|
+
detail: GidsActionBarFilterSelectEventDetail,
|
|
60
|
+
) => void;
|
|
61
|
+
"onMoreSelectionActionBarFilterChange"?: (
|
|
62
|
+
detail: GidsActionBarFilterSelectEventDetail,
|
|
63
|
+
) => void;
|
|
64
|
+
"onToggleActionBarAllFilter"?: (
|
|
65
|
+
detail: GidsActionBarFilterSelectEventDetail,
|
|
66
|
+
) => void;
|
|
67
|
+
"onToggleActionBarDropdownFilter"?: (
|
|
68
|
+
detail: GidsActionBarFilterToggleEventDetail<Event>,
|
|
69
|
+
) => void;
|
|
70
|
+
"onToggleActionBarMoreFilter"?: (
|
|
71
|
+
detail: GidsActionBarFilterToggleEventDetail<Event>,
|
|
72
|
+
) => void;
|
|
73
|
+
"onToggleActionBarNoneFilter"?: (
|
|
74
|
+
detail: GidsActionBarFilterSelectEventDetail,
|
|
75
|
+
) => void;
|
|
76
|
+
/**
|
|
77
|
+
* @default []
|
|
78
|
+
*/
|
|
79
|
+
"primaryFilters"?: GidsActionBarPrimaryFilters[];
|
|
80
|
+
/**
|
|
81
|
+
* @default []
|
|
82
|
+
*/
|
|
83
|
+
"secondaryFilters"?: GidsActionBarSecondaryFilters[];
|
|
84
|
+
}
|
|
25
85
|
interface GidsActivityGauge {
|
|
26
86
|
/**
|
|
27
87
|
* @default 'desktop'
|
|
@@ -373,6 +433,52 @@ export namespace Components {
|
|
|
373
433
|
"status": GidsWebFieldStatus;
|
|
374
434
|
"statusText"?: string;
|
|
375
435
|
}
|
|
436
|
+
interface GidsFilter {
|
|
437
|
+
/**
|
|
438
|
+
* @default false
|
|
439
|
+
*/
|
|
440
|
+
"disabled"?: boolean;
|
|
441
|
+
/**
|
|
442
|
+
* @default false
|
|
443
|
+
*/
|
|
444
|
+
"expanded"?: boolean;
|
|
445
|
+
/**
|
|
446
|
+
* @default false
|
|
447
|
+
*/
|
|
448
|
+
"filterDefaultSelected"?: boolean;
|
|
449
|
+
"filterId"?: string;
|
|
450
|
+
/**
|
|
451
|
+
* @default 0
|
|
452
|
+
*/
|
|
453
|
+
"filterIndex"?: number;
|
|
454
|
+
/**
|
|
455
|
+
* @default 'primary'
|
|
456
|
+
*/
|
|
457
|
+
"filterItemType"?: GidsFilterItemType;
|
|
458
|
+
"filterPickerId"?: string;
|
|
459
|
+
/**
|
|
460
|
+
* @default false
|
|
461
|
+
*/
|
|
462
|
+
"filterSelected"?: boolean;
|
|
463
|
+
/**
|
|
464
|
+
* @default false
|
|
465
|
+
*/
|
|
466
|
+
"loading"?: boolean;
|
|
467
|
+
"name"?: string;
|
|
468
|
+
"onFilterMenuItemChange"?: (
|
|
469
|
+
detail: GidsFilterPickerChangeEventDetail,
|
|
470
|
+
) => void;
|
|
471
|
+
"onToggle"?: (detail: GidsFilterToggleEventDetail<Event>) => void;
|
|
472
|
+
/**
|
|
473
|
+
* @default 'sm'
|
|
474
|
+
*/
|
|
475
|
+
"size"?: GidsButtonSize;
|
|
476
|
+
/**
|
|
477
|
+
* @default 'none'
|
|
478
|
+
*/
|
|
479
|
+
"type"?: GidsFilterType;
|
|
480
|
+
"value"?: string;
|
|
481
|
+
}
|
|
376
482
|
interface GidsIcon {
|
|
377
483
|
"alt"?: string;
|
|
378
484
|
"appearance"?: IconAppearance;
|
|
@@ -659,7 +765,7 @@ export namespace Components {
|
|
|
659
765
|
* Only available as a property. There is no `selected` attribute
|
|
660
766
|
* @inheritdoc
|
|
661
767
|
*/
|
|
662
|
-
"selected"
|
|
768
|
+
"selected"?: boolean;
|
|
663
769
|
/**
|
|
664
770
|
* Reflected by `size` property
|
|
665
771
|
* @inheritdoc
|
|
@@ -705,6 +811,12 @@ export interface GidsToggleButtonCustomEvent<T> extends CustomEvent<T> {
|
|
|
705
811
|
target: HTMLGidsToggleButtonElement;
|
|
706
812
|
}
|
|
707
813
|
declare global {
|
|
814
|
+
interface HTMLGidsActionBarElement extends Components.GidsActionBar, HTMLStencilElement {
|
|
815
|
+
}
|
|
816
|
+
var HTMLGidsActionBarElement: {
|
|
817
|
+
prototype: HTMLGidsActionBarElement;
|
|
818
|
+
new (): HTMLGidsActionBarElement;
|
|
819
|
+
};
|
|
708
820
|
interface HTMLGidsActivityGaugeElement extends Components.GidsActivityGauge, HTMLStencilElement {
|
|
709
821
|
}
|
|
710
822
|
var HTMLGidsActivityGaugeElement: {
|
|
@@ -806,6 +918,12 @@ declare global {
|
|
|
806
918
|
prototype: HTMLGidsFieldElement;
|
|
807
919
|
new (): HTMLGidsFieldElement;
|
|
808
920
|
};
|
|
921
|
+
interface HTMLGidsFilterElement extends Components.GidsFilter, HTMLStencilElement {
|
|
922
|
+
}
|
|
923
|
+
var HTMLGidsFilterElement: {
|
|
924
|
+
prototype: HTMLGidsFilterElement;
|
|
925
|
+
new (): HTMLGidsFilterElement;
|
|
926
|
+
};
|
|
809
927
|
interface HTMLGidsIconElement extends Components.GidsIcon, HTMLStencilElement {
|
|
810
928
|
}
|
|
811
929
|
var HTMLGidsIconElement: {
|
|
@@ -937,6 +1055,7 @@ declare global {
|
|
|
937
1055
|
new (): HTMLGidsTooltipElement;
|
|
938
1056
|
};
|
|
939
1057
|
interface HTMLElementTagNameMap {
|
|
1058
|
+
"gids-action-bar": HTMLGidsActionBarElement;
|
|
940
1059
|
"gids-activity-gauge": HTMLGidsActivityGaugeElement;
|
|
941
1060
|
"gids-bar-chart": HTMLGidsBarChartElement;
|
|
942
1061
|
"gids-calendar": HTMLGidsCalendarElement;
|
|
@@ -952,6 +1071,7 @@ declare global {
|
|
|
952
1071
|
"gids-dropdown-field": HTMLGidsDropdownFieldElement;
|
|
953
1072
|
"gids-dropdown-picker": HTMLGidsDropdownPickerElement;
|
|
954
1073
|
"gids-field": HTMLGidsFieldElement;
|
|
1074
|
+
"gids-filter": HTMLGidsFilterElement;
|
|
955
1075
|
"gids-icon": HTMLGidsIconElement;
|
|
956
1076
|
"gids-input": HTMLGidsInputElement;
|
|
957
1077
|
"gids-level-gauge": HTMLGidsLevelGaugeElement;
|
|
@@ -973,6 +1093,66 @@ declare global {
|
|
|
973
1093
|
declare namespace LocalJSX {
|
|
974
1094
|
type OneOf<K extends string, PropT, AttrT = PropT> = { [P in K]: PropT } & { [P in `attr:${K}` | `prop:${K}`]?: never } | { [P in `attr:${K}`]: AttrT } & { [P in K | `prop:${K}`]?: never } | { [P in `prop:${K}`]: PropT } & { [P in K | `attr:${K}`]?: never };
|
|
975
1095
|
|
|
1096
|
+
interface GidsActionBar {
|
|
1097
|
+
/**
|
|
1098
|
+
* @default false
|
|
1099
|
+
*/
|
|
1100
|
+
"actionGroup"?: boolean;
|
|
1101
|
+
"allFiltersData"?: GidsActionBarAllFilters;
|
|
1102
|
+
/**
|
|
1103
|
+
* @default false
|
|
1104
|
+
*/
|
|
1105
|
+
"allFiltersTabVisible"?: boolean;
|
|
1106
|
+
/**
|
|
1107
|
+
* @default 'primary'
|
|
1108
|
+
*/
|
|
1109
|
+
"clearAllFiltersButtonAppearance"?: GidsButtonAppearance;
|
|
1110
|
+
/**
|
|
1111
|
+
* @default true
|
|
1112
|
+
*/
|
|
1113
|
+
"clearAllFiltersVisible"?: boolean;
|
|
1114
|
+
/**
|
|
1115
|
+
* @default false
|
|
1116
|
+
*/
|
|
1117
|
+
"disabled"?: boolean;
|
|
1118
|
+
"dropdownDividerVisible"?: boolean;
|
|
1119
|
+
/**
|
|
1120
|
+
* @default 'xs'
|
|
1121
|
+
*/
|
|
1122
|
+
"filterSize"?: GidsButtonSize;
|
|
1123
|
+
"moreFiltersData"?: GidsActionBarMoreFilters;
|
|
1124
|
+
/**
|
|
1125
|
+
* @default false
|
|
1126
|
+
*/
|
|
1127
|
+
"moreFiltersTabVisible"?: boolean;
|
|
1128
|
+
"onClearAllFiltersButton"?: (event: Event) => void;
|
|
1129
|
+
"onDropdownSelectionActionBarFilterChange"?: (
|
|
1130
|
+
detail: GidsActionBarFilterSelectEventDetail,
|
|
1131
|
+
) => void;
|
|
1132
|
+
"onMoreSelectionActionBarFilterChange"?: (
|
|
1133
|
+
detail: GidsActionBarFilterSelectEventDetail,
|
|
1134
|
+
) => void;
|
|
1135
|
+
"onToggleActionBarAllFilter"?: (
|
|
1136
|
+
detail: GidsActionBarFilterSelectEventDetail,
|
|
1137
|
+
) => void;
|
|
1138
|
+
"onToggleActionBarDropdownFilter"?: (
|
|
1139
|
+
detail: GidsActionBarFilterToggleEventDetail<Event>,
|
|
1140
|
+
) => void;
|
|
1141
|
+
"onToggleActionBarMoreFilter"?: (
|
|
1142
|
+
detail: GidsActionBarFilterToggleEventDetail<Event>,
|
|
1143
|
+
) => void;
|
|
1144
|
+
"onToggleActionBarNoneFilter"?: (
|
|
1145
|
+
detail: GidsActionBarFilterSelectEventDetail,
|
|
1146
|
+
) => void;
|
|
1147
|
+
/**
|
|
1148
|
+
* @default []
|
|
1149
|
+
*/
|
|
1150
|
+
"primaryFilters"?: GidsActionBarPrimaryFilters[];
|
|
1151
|
+
/**
|
|
1152
|
+
* @default []
|
|
1153
|
+
*/
|
|
1154
|
+
"secondaryFilters"?: GidsActionBarSecondaryFilters[];
|
|
1155
|
+
}
|
|
976
1156
|
interface GidsActivityGauge {
|
|
977
1157
|
/**
|
|
978
1158
|
* @default 'desktop'
|
|
@@ -1322,6 +1502,52 @@ declare namespace LocalJSX {
|
|
|
1322
1502
|
"status"?: GidsWebFieldStatus;
|
|
1323
1503
|
"statusText"?: string;
|
|
1324
1504
|
}
|
|
1505
|
+
interface GidsFilter {
|
|
1506
|
+
/**
|
|
1507
|
+
* @default false
|
|
1508
|
+
*/
|
|
1509
|
+
"disabled"?: boolean;
|
|
1510
|
+
/**
|
|
1511
|
+
* @default false
|
|
1512
|
+
*/
|
|
1513
|
+
"expanded"?: boolean;
|
|
1514
|
+
/**
|
|
1515
|
+
* @default false
|
|
1516
|
+
*/
|
|
1517
|
+
"filterDefaultSelected"?: boolean;
|
|
1518
|
+
"filterId"?: string;
|
|
1519
|
+
/**
|
|
1520
|
+
* @default 0
|
|
1521
|
+
*/
|
|
1522
|
+
"filterIndex"?: number;
|
|
1523
|
+
/**
|
|
1524
|
+
* @default 'primary'
|
|
1525
|
+
*/
|
|
1526
|
+
"filterItemType"?: GidsFilterItemType;
|
|
1527
|
+
"filterPickerId"?: string;
|
|
1528
|
+
/**
|
|
1529
|
+
* @default false
|
|
1530
|
+
*/
|
|
1531
|
+
"filterSelected"?: boolean;
|
|
1532
|
+
/**
|
|
1533
|
+
* @default false
|
|
1534
|
+
*/
|
|
1535
|
+
"loading"?: boolean;
|
|
1536
|
+
"name"?: string;
|
|
1537
|
+
"onFilterMenuItemChange"?: (
|
|
1538
|
+
detail: GidsFilterPickerChangeEventDetail,
|
|
1539
|
+
) => void;
|
|
1540
|
+
"onToggle"?: (detail: GidsFilterToggleEventDetail<Event>) => void;
|
|
1541
|
+
/**
|
|
1542
|
+
* @default 'sm'
|
|
1543
|
+
*/
|
|
1544
|
+
"size"?: GidsButtonSize;
|
|
1545
|
+
/**
|
|
1546
|
+
* @default 'none'
|
|
1547
|
+
*/
|
|
1548
|
+
"type"?: GidsFilterType;
|
|
1549
|
+
"value"?: string;
|
|
1550
|
+
}
|
|
1325
1551
|
interface GidsIcon {
|
|
1326
1552
|
"alt"?: string;
|
|
1327
1553
|
"appearance"?: IconAppearance;
|
|
@@ -1611,7 +1837,7 @@ declare namespace LocalJSX {
|
|
|
1611
1837
|
* Only available as a property. There is no `selected` attribute
|
|
1612
1838
|
* @inheritdoc
|
|
1613
1839
|
*/
|
|
1614
|
-
"selected"?: boolean
|
|
1840
|
+
"selected"?: boolean;
|
|
1615
1841
|
/**
|
|
1616
1842
|
* Reflected by `size` property
|
|
1617
1843
|
* @inheritdoc
|
|
@@ -1640,6 +1866,16 @@ declare namespace LocalJSX {
|
|
|
1640
1866
|
"tooltipText"?: string;
|
|
1641
1867
|
}
|
|
1642
1868
|
|
|
1869
|
+
interface GidsActionBarAttributes {
|
|
1870
|
+
"actionGroup": boolean;
|
|
1871
|
+
"allFiltersTabVisible": boolean;
|
|
1872
|
+
"moreFiltersTabVisible": boolean;
|
|
1873
|
+
"clearAllFiltersVisible": boolean;
|
|
1874
|
+
"clearAllFiltersButtonAppearance": GidsButtonAppearance;
|
|
1875
|
+
"filterSize": GidsButtonSize;
|
|
1876
|
+
"dropdownDividerVisible": boolean;
|
|
1877
|
+
"disabled": boolean;
|
|
1878
|
+
}
|
|
1643
1879
|
interface GidsActivityGaugeAttributes {
|
|
1644
1880
|
"breakpoint": GidsChartBreakpoint;
|
|
1645
1881
|
"label": string;
|
|
@@ -1770,6 +2006,21 @@ declare namespace LocalJSX {
|
|
|
1770
2006
|
"statusText": string;
|
|
1771
2007
|
"status": GidsWebFieldStatus;
|
|
1772
2008
|
}
|
|
2009
|
+
interface GidsFilterAttributes {
|
|
2010
|
+
"name": string;
|
|
2011
|
+
"filterId": string;
|
|
2012
|
+
"filterPickerId": string;
|
|
2013
|
+
"expanded": boolean;
|
|
2014
|
+
"type": GidsFilterType;
|
|
2015
|
+
"filterItemType": GidsFilterItemType;
|
|
2016
|
+
"value": string;
|
|
2017
|
+
"filterSelected": boolean;
|
|
2018
|
+
"filterDefaultSelected": boolean;
|
|
2019
|
+
"disabled": boolean;
|
|
2020
|
+
"size": GidsButtonSize;
|
|
2021
|
+
"loading": boolean;
|
|
2022
|
+
"filterIndex": number;
|
|
2023
|
+
}
|
|
1773
2024
|
interface GidsIconAttributes {
|
|
1774
2025
|
"name": IconName;
|
|
1775
2026
|
"size": GidsIconWebProps<IconName, IconAppearance>['size'];
|
|
@@ -1908,7 +2159,7 @@ declare namespace LocalJSX {
|
|
|
1908
2159
|
"size": GidsButtonSize;
|
|
1909
2160
|
"width": GidsButtonWidth;
|
|
1910
2161
|
"defaultSelected": boolean;
|
|
1911
|
-
"selected": boolean
|
|
2162
|
+
"selected": boolean;
|
|
1912
2163
|
}
|
|
1913
2164
|
interface GidsTooltipAttributes {
|
|
1914
2165
|
"htmlFor": string;
|
|
@@ -1919,6 +2170,7 @@ declare namespace LocalJSX {
|
|
|
1919
2170
|
}
|
|
1920
2171
|
|
|
1921
2172
|
interface IntrinsicElements {
|
|
2173
|
+
"gids-action-bar": Omit<GidsActionBar, keyof GidsActionBarAttributes> & { [K in keyof GidsActionBar & keyof GidsActionBarAttributes]?: GidsActionBar[K] } & { [K in keyof GidsActionBar & keyof GidsActionBarAttributes as `attr:${K}`]?: GidsActionBarAttributes[K] } & { [K in keyof GidsActionBar & keyof GidsActionBarAttributes as `prop:${K}`]?: GidsActionBar[K] };
|
|
1922
2174
|
"gids-activity-gauge": Omit<GidsActivityGauge, keyof GidsActivityGaugeAttributes> & { [K in keyof GidsActivityGauge & keyof GidsActivityGaugeAttributes]?: GidsActivityGauge[K] } & { [K in keyof GidsActivityGauge & keyof GidsActivityGaugeAttributes as `attr:${K}`]?: GidsActivityGaugeAttributes[K] } & { [K in keyof GidsActivityGauge & keyof GidsActivityGaugeAttributes as `prop:${K}`]?: GidsActivityGauge[K] };
|
|
1923
2175
|
"gids-bar-chart": Omit<GidsBarChart, keyof GidsBarChartAttributes> & { [K in keyof GidsBarChart & keyof GidsBarChartAttributes]?: GidsBarChart[K] } & { [K in keyof GidsBarChart & keyof GidsBarChartAttributes as `attr:${K}`]?: GidsBarChartAttributes[K] } & { [K in keyof GidsBarChart & keyof GidsBarChartAttributes as `prop:${K}`]?: GidsBarChart[K] };
|
|
1924
2176
|
"gids-calendar": Omit<GidsCalendar, keyof GidsCalendarAttributes> & { [K in keyof GidsCalendar & keyof GidsCalendarAttributes]?: GidsCalendar[K] } & { [K in keyof GidsCalendar & keyof GidsCalendarAttributes as `attr:${K}`]?: GidsCalendarAttributes[K] } & { [K in keyof GidsCalendar & keyof GidsCalendarAttributes as `prop:${K}`]?: GidsCalendar[K] };
|
|
@@ -1934,6 +2186,7 @@ declare namespace LocalJSX {
|
|
|
1934
2186
|
"gids-dropdown-field": Omit<GidsDropdownField, keyof GidsDropdownFieldAttributes> & { [K in keyof GidsDropdownField & keyof GidsDropdownFieldAttributes]?: GidsDropdownField[K] } & { [K in keyof GidsDropdownField & keyof GidsDropdownFieldAttributes as `attr:${K}`]?: GidsDropdownFieldAttributes[K] } & { [K in keyof GidsDropdownField & keyof GidsDropdownFieldAttributes as `prop:${K}`]?: GidsDropdownField[K] };
|
|
1935
2187
|
"gids-dropdown-picker": Omit<GidsDropdownPicker, keyof GidsDropdownPickerAttributes> & { [K in keyof GidsDropdownPicker & keyof GidsDropdownPickerAttributes]?: GidsDropdownPicker[K] } & { [K in keyof GidsDropdownPicker & keyof GidsDropdownPickerAttributes as `attr:${K}`]?: GidsDropdownPickerAttributes[K] } & { [K in keyof GidsDropdownPicker & keyof GidsDropdownPickerAttributes as `prop:${K}`]?: GidsDropdownPicker[K] };
|
|
1936
2188
|
"gids-field": Omit<GidsField, keyof GidsFieldAttributes> & { [K in keyof GidsField & keyof GidsFieldAttributes]?: GidsField[K] } & { [K in keyof GidsField & keyof GidsFieldAttributes as `attr:${K}`]?: GidsFieldAttributes[K] } & { [K in keyof GidsField & keyof GidsFieldAttributes as `prop:${K}`]?: GidsField[K] };
|
|
2189
|
+
"gids-filter": Omit<GidsFilter, keyof GidsFilterAttributes> & { [K in keyof GidsFilter & keyof GidsFilterAttributes]?: GidsFilter[K] } & { [K in keyof GidsFilter & keyof GidsFilterAttributes as `attr:${K}`]?: GidsFilterAttributes[K] } & { [K in keyof GidsFilter & keyof GidsFilterAttributes as `prop:${K}`]?: GidsFilter[K] };
|
|
1937
2190
|
"gids-icon": Omit<GidsIcon, keyof GidsIconAttributes> & { [K in keyof GidsIcon & keyof GidsIconAttributes]?: GidsIcon[K] } & { [K in keyof GidsIcon & keyof GidsIconAttributes as `attr:${K}`]?: GidsIconAttributes[K] } & { [K in keyof GidsIcon & keyof GidsIconAttributes as `prop:${K}`]?: GidsIcon[K] } & OneOf<"name", GidsIcon["name"], GidsIconAttributes["name"]>;
|
|
1938
2191
|
"gids-input": Omit<GidsInput, keyof GidsInputAttributes> & { [K in keyof GidsInput & keyof GidsInputAttributes]?: GidsInput[K] } & { [K in keyof GidsInput & keyof GidsInputAttributes as `attr:${K}`]?: GidsInputAttributes[K] } & { [K in keyof GidsInput & keyof GidsInputAttributes as `prop:${K}`]?: GidsInput[K] };
|
|
1939
2192
|
"gids-level-gauge": Omit<GidsLevelGauge, keyof GidsLevelGaugeAttributes> & { [K in keyof GidsLevelGauge & keyof GidsLevelGaugeAttributes]?: GidsLevelGauge[K] } & { [K in keyof GidsLevelGauge & keyof GidsLevelGaugeAttributes as `attr:${K}`]?: GidsLevelGaugeAttributes[K] } & { [K in keyof GidsLevelGauge & keyof GidsLevelGaugeAttributes as `prop:${K}`]?: GidsLevelGauge[K] };
|
|
@@ -1956,6 +2209,7 @@ export { LocalJSX as JSX };
|
|
|
1956
2209
|
declare module "@stencil/core" {
|
|
1957
2210
|
export namespace JSX {
|
|
1958
2211
|
interface IntrinsicElements {
|
|
2212
|
+
"gids-action-bar": LocalJSX.IntrinsicElements["gids-action-bar"] & JSXBase.HTMLAttributes<HTMLGidsActionBarElement>;
|
|
1959
2213
|
"gids-activity-gauge": LocalJSX.IntrinsicElements["gids-activity-gauge"] & JSXBase.HTMLAttributes<HTMLGidsActivityGaugeElement>;
|
|
1960
2214
|
"gids-bar-chart": LocalJSX.IntrinsicElements["gids-bar-chart"] & JSXBase.HTMLAttributes<HTMLGidsBarChartElement>;
|
|
1961
2215
|
"gids-calendar": LocalJSX.IntrinsicElements["gids-calendar"] & JSXBase.HTMLAttributes<HTMLGidsCalendarElement>;
|
|
@@ -1971,6 +2225,7 @@ declare module "@stencil/core" {
|
|
|
1971
2225
|
"gids-dropdown-field": LocalJSX.IntrinsicElements["gids-dropdown-field"] & JSXBase.HTMLAttributes<HTMLGidsDropdownFieldElement>;
|
|
1972
2226
|
"gids-dropdown-picker": LocalJSX.IntrinsicElements["gids-dropdown-picker"] & JSXBase.HTMLAttributes<HTMLGidsDropdownPickerElement>;
|
|
1973
2227
|
"gids-field": LocalJSX.IntrinsicElements["gids-field"] & JSXBase.HTMLAttributes<HTMLGidsFieldElement>;
|
|
2228
|
+
"gids-filter": LocalJSX.IntrinsicElements["gids-filter"] & JSXBase.HTMLAttributes<HTMLGidsFilterElement>;
|
|
1974
2229
|
"gids-icon": LocalJSX.IntrinsicElements["gids-icon"] & JSXBase.HTMLAttributes<HTMLGidsIconElement>;
|
|
1975
2230
|
"gids-input": LocalJSX.IntrinsicElements["gids-input"] & JSXBase.HTMLAttributes<HTMLGidsInputElement>;
|
|
1976
2231
|
"gids-level-gauge": LocalJSX.IntrinsicElements["gids-level-gauge"] & JSXBase.HTMLAttributes<HTMLGidsLevelGaugeElement>;
|