@ganpatiinfo/gids-web-dom-reference 7.2.0 → 9.0.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/CHANGELOG.md +96 -0
- package/dist/components/GidsActivityGauge/GidsActivityGauge.d.ts +8 -0
- package/dist/components/GidsActivityGauge/GidsActivityGauge.d.ts.map +1 -0
- package/dist/components/GidsActivityGauge/GidsActivityGauge.js +17 -0
- package/dist/components/GidsActivityGauge/GidsActivityGauge.js.map +1 -0
- package/dist/components/GidsBarChart/GidsBarChart.d.ts +6 -0
- package/dist/components/GidsBarChart/GidsBarChart.d.ts.map +1 -0
- package/dist/components/GidsBarChart/GidsBarChart.js +19 -0
- package/dist/components/GidsBarChart/GidsBarChart.js.map +1 -0
- package/dist/components/GidsButton/GidsButton.d.ts +1 -1
- package/dist/components/GidsButton/GidsButton.d.ts.map +1 -1
- package/dist/components/GidsButton/GidsButton.js +2 -2
- package/dist/components/GidsButton/GidsButton.js.map +1 -1
- package/dist/components/GidsCalendar/GidsCalendar.d.ts +6 -0
- package/dist/components/GidsCalendar/GidsCalendar.d.ts.map +1 -0
- package/dist/components/GidsCalendar/GidsCalendar.js +36 -0
- package/dist/components/GidsCalendar/GidsCalendar.js.map +1 -0
- package/dist/components/GidsCalendarCell/GidsCalendarCell.d.ts +8 -0
- package/dist/components/GidsCalendarCell/GidsCalendarCell.d.ts.map +1 -0
- package/dist/components/GidsCalendarCell/GidsCalendarCell.js +55 -0
- package/dist/components/GidsCalendarCell/GidsCalendarCell.js.map +1 -0
- package/dist/components/GidsCalendarDayCell/GidsCalendarDayCell.d.ts +6 -0
- package/dist/components/GidsCalendarDayCell/GidsCalendarDayCell.d.ts.map +1 -0
- package/dist/components/GidsCalendarDayCell/GidsCalendarDayCell.js +17 -0
- package/dist/components/GidsCalendarDayCell/GidsCalendarDayCell.js.map +1 -0
- package/dist/components/GidsCalendarHeaderPanel/GidsCalendarHeaderPanel.d.ts +13 -0
- package/dist/components/GidsCalendarHeaderPanel/GidsCalendarHeaderPanel.d.ts.map +1 -0
- package/dist/components/GidsCalendarHeaderPanel/GidsCalendarHeaderPanel.js +45 -0
- package/dist/components/GidsCalendarHeaderPanel/GidsCalendarHeaderPanel.js.map +1 -0
- package/dist/components/GidsCalendarMonthList/GidsCalendarMonthList.d.ts +6 -0
- package/dist/components/GidsCalendarMonthList/GidsCalendarMonthList.d.ts.map +1 -0
- package/dist/components/GidsCalendarMonthList/GidsCalendarMonthList.js +19 -0
- package/dist/components/GidsCalendarMonthList/GidsCalendarMonthList.js.map +1 -0
- package/dist/components/GidsCalendarYearList/GidsCalendarYearList.d.ts +6 -0
- package/dist/components/GidsCalendarYearList/GidsCalendarYearList.d.ts.map +1 -0
- package/dist/components/GidsCalendarYearList/GidsCalendarYearList.js +34 -0
- package/dist/components/GidsCalendarYearList/GidsCalendarYearList.js.map +1 -0
- package/dist/components/GidsChart/GidsChart.d.ts +8 -0
- package/dist/components/GidsChart/GidsChart.d.ts.map +1 -0
- package/dist/components/GidsChart/GidsChart.js +16 -0
- package/dist/components/GidsChart/GidsChart.js.map +1 -0
- package/dist/components/GidsChartLegend/GidsChartLegend.d.ts +8 -0
- package/dist/components/GidsChartLegend/GidsChartLegend.d.ts.map +1 -0
- package/dist/components/GidsChartLegend/GidsChartLegend.js +13 -0
- package/dist/components/GidsChartLegend/GidsChartLegend.js.map +1 -0
- package/dist/components/GidsChartLegendItem/GidsChartLegendItem.d.ts +8 -0
- package/dist/components/GidsChartLegendItem/GidsChartLegendItem.d.ts.map +1 -0
- package/dist/components/GidsChartLegendItem/GidsChartLegendItem.js +14 -0
- package/dist/components/GidsChartLegendItem/GidsChartLegendItem.js.map +1 -0
- package/dist/components/GidsChevronButton/GidsChevronButton.d.ts +7 -0
- package/dist/components/GidsChevronButton/GidsChevronButton.d.ts.map +1 -0
- package/dist/components/GidsChevronButton/GidsChevronButton.js +18 -0
- package/dist/components/GidsChevronButton/GidsChevronButton.js.map +1 -0
- package/dist/components/GidsDot/GidsDot.d.ts +6 -0
- package/dist/components/GidsDot/GidsDot.d.ts.map +1 -0
- package/dist/components/GidsDot/GidsDot.js +19 -0
- package/dist/components/GidsDot/GidsDot.js.map +1 -0
- package/dist/components/GidsDropdown/GidsDropdown.d.ts +15 -0
- package/dist/components/GidsDropdown/GidsDropdown.d.ts.map +1 -0
- package/dist/components/GidsDropdown/GidsDropdown.js +62 -0
- package/dist/components/GidsDropdown/GidsDropdown.js.map +1 -0
- package/dist/components/GidsDropdownField/GidsDropdownField.d.ts +10 -0
- package/dist/components/GidsDropdownField/GidsDropdownField.d.ts.map +1 -0
- package/dist/components/GidsDropdownField/GidsDropdownField.js +38 -0
- package/dist/components/GidsDropdownField/GidsDropdownField.js.map +1 -0
- package/dist/components/GidsDropdownItem/GidsDropdownItem.d.ts +10 -0
- package/dist/components/GidsDropdownItem/GidsDropdownItem.d.ts.map +1 -0
- package/dist/components/GidsDropdownItem/GidsDropdownItem.js +34 -0
- package/dist/components/GidsDropdownItem/GidsDropdownItem.js.map +1 -0
- package/dist/components/GidsDropdownMenu/GidsDropdownMenu.d.ts +7 -0
- package/dist/components/GidsDropdownMenu/GidsDropdownMenu.d.ts.map +1 -0
- package/dist/components/GidsDropdownMenu/GidsDropdownMenu.js +24 -0
- package/dist/components/GidsDropdownMenu/GidsDropdownMenu.js.map +1 -0
- package/dist/components/GidsDropdownMenuGroup/GidsDropdownMenuGroup.d.ts +7 -0
- package/dist/components/GidsDropdownMenuGroup/GidsDropdownMenuGroup.d.ts.map +1 -0
- package/dist/components/GidsDropdownMenuGroup/GidsDropdownMenuGroup.js +24 -0
- package/dist/components/GidsDropdownMenuGroup/GidsDropdownMenuGroup.js.map +1 -0
- package/dist/components/GidsDropdownPicker/GidsDropdownPicker.d.ts +20 -0
- package/dist/components/GidsDropdownPicker/GidsDropdownPicker.d.ts.map +1 -0
- package/dist/components/GidsDropdownPicker/GidsDropdownPicker.js +62 -0
- package/dist/components/GidsDropdownPicker/GidsDropdownPicker.js.map +1 -0
- package/dist/components/GidsEditButton/GidsEditButton.d.ts +8 -0
- package/dist/components/GidsEditButton/GidsEditButton.d.ts.map +1 -0
- package/dist/components/GidsEditButton/GidsEditButton.js +44 -0
- package/dist/components/GidsEditButton/GidsEditButton.js.map +1 -0
- package/dist/components/GidsLevelGauge/GidsLevelGauge.d.ts +6 -0
- package/dist/components/GidsLevelGauge/GidsLevelGauge.d.ts.map +1 -0
- package/dist/components/GidsLevelGauge/GidsLevelGauge.js +17 -0
- package/dist/components/GidsLevelGauge/GidsLevelGauge.js.map +1 -0
- package/dist/components/GidsLineChart/GidsLineChart.d.ts +6 -0
- package/dist/components/GidsLineChart/GidsLineChart.d.ts.map +1 -0
- package/dist/components/GidsLineChart/GidsLineChart.js +19 -0
- package/dist/components/GidsLineChart/GidsLineChart.js.map +1 -0
- package/dist/components/GidsListItem/GidsListItem.d.ts +11 -0
- package/dist/components/GidsListItem/GidsListItem.d.ts.map +1 -0
- package/dist/components/GidsListItem/GidsListItem.js +207 -0
- package/dist/components/GidsListItem/GidsListItem.js.map +1 -0
- package/dist/components/GidsMenu/GidsMenu.d.ts +7 -0
- package/dist/components/GidsMenu/GidsMenu.d.ts.map +1 -0
- package/dist/components/GidsMenu/GidsMenu.js +27 -0
- package/dist/components/GidsMenu/GidsMenu.js.map +1 -0
- package/dist/components/GidsMenuGroup/GidsMenuGroup.d.ts +7 -0
- package/dist/components/GidsMenuGroup/GidsMenuGroup.d.ts.map +1 -0
- package/dist/components/GidsMenuGroup/GidsMenuGroup.js +24 -0
- package/dist/components/GidsMenuGroup/GidsMenuGroup.js.map +1 -0
- package/dist/components/GidsPageTitle/GidsPageTitle.d.ts +9 -0
- package/dist/components/GidsPageTitle/GidsPageTitle.d.ts.map +1 -0
- package/dist/components/GidsPageTitle/GidsPageTitle.js +32 -0
- package/dist/components/GidsPageTitle/GidsPageTitle.js.map +1 -0
- package/dist/components/GidsPieChart/GidsPieChart.d.ts +8 -0
- package/dist/components/GidsPieChart/GidsPieChart.d.ts.map +1 -0
- package/dist/components/GidsPieChart/GidsPieChart.js +16 -0
- package/dist/components/GidsPieChart/GidsPieChart.js.map +1 -0
- package/dist/components/GidsPopover/GidsPopover.d.ts +7 -0
- package/dist/components/GidsPopover/GidsPopover.d.ts.map +1 -0
- package/dist/components/GidsPopover/GidsPopover.js +16 -0
- package/dist/components/GidsPopover/GidsPopover.js.map +1 -0
- package/dist/components/GidsProgressCircle/GidsProgressCircle.d.ts +6 -0
- package/dist/components/GidsProgressCircle/GidsProgressCircle.d.ts.map +1 -0
- package/dist/components/GidsProgressCircle/GidsProgressCircle.js +17 -0
- package/dist/components/GidsProgressCircle/GidsProgressCircle.js.map +1 -0
- package/dist/components/GidsTooltip/GidsTooltip.d.ts +6 -0
- package/dist/components/GidsTooltip/GidsTooltip.d.ts.map +1 -0
- package/dist/components/GidsTooltip/GidsTooltip.js +20 -0
- package/dist/components/GidsTooltip/GidsTooltip.js.map +1 -0
- package/dist/index.d.ts +31 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +31 -0
- package/dist/index.js.map +1 -1
- package/dist/utils/childrenValidationUtils.d.ts +9 -0
- package/dist/utils/childrenValidationUtils.d.ts.map +1 -0
- package/dist/utils/childrenValidationUtils.js +27 -0
- package/dist/utils/childrenValidationUtils.js.map +1 -0
- package/package.json +45 -45
- package/src/components/GidsActivityGauge/GidsActivityGauge.ts +48 -0
- package/src/components/GidsBarChart/GidsBarChart.ts +47 -0
- package/src/components/GidsButton/GidsButton.ts +2 -1
- package/src/components/GidsCalendar/GidsCalendar.ts +72 -0
- package/src/components/GidsCalendarCell/GidsCalendarCell.ts +95 -0
- package/src/components/GidsCalendarDayCell/GidsCalendarDayCell.ts +29 -0
- package/src/components/GidsCalendarHeaderPanel/GidsCalendarHeaderPanel.ts +107 -0
- package/src/components/GidsCalendarMonthList/GidsCalendarMonthList.ts +56 -0
- package/src/components/GidsCalendarYearList/GidsCalendarYearList.ts +76 -0
- package/src/components/GidsChart/GidsChart.ts +41 -0
- package/src/components/GidsChartLegend/GidsChartLegend.ts +38 -0
- package/src/components/GidsChartLegendItem/GidsChartLegendItem.ts +40 -0
- package/src/components/GidsChevronButton/GidsChevronButton.ts +55 -0
- package/src/components/GidsDot/GidsDot.ts +42 -0
- package/src/components/GidsDropdown/GidsDropdown.ts +149 -0
- package/src/components/GidsDropdownField/GidsDropdownField.ts +106 -0
- package/src/components/GidsDropdownItem/GidsDropdownItem.ts +67 -0
- package/src/components/GidsDropdownMenu/GidsDropdownMenu.ts +43 -0
- package/src/components/GidsDropdownMenuGroup/GidsDropdownMenuGroup.ts +46 -0
- package/src/components/GidsDropdownPicker/GidsDropdownPicker.ts +144 -0
- package/src/components/GidsEditButton/GidsEditButton.ts +71 -0
- package/src/components/GidsLevelGauge/GidsLevelGauge.ts +46 -0
- package/src/components/GidsLineChart/GidsLineChart.ts +50 -0
- package/src/components/GidsListItem/GidsListItem.ts +293 -0
- package/src/components/GidsMenu/GidsMenu.ts +56 -0
- package/src/components/GidsMenuGroup/GidsMenuGroup.ts +43 -0
- package/src/components/GidsPageTitle/GidsPageTitle.ts +60 -0
- package/src/components/GidsPieChart/GidsPieChart.ts +43 -0
- package/src/components/GidsPopover/GidsPopover.ts +32 -0
- package/src/components/GidsProgressCircle/GidsProgressCircle.ts +46 -0
- package/src/components/GidsTooltip/GidsTooltip.ts +37 -0
- package/src/index.ts +31 -0
- package/src/utils/childrenValidationUtils.ts +47 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GidsLineChart.d.ts","sourceRoot":"","sources":["../../../src/components/GidsLineChart/GidsLineChart.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,qBAAqB,EAErB,MAAM,8BAA8B,CAAC;AAMtC,MAAM,WAAW,qBAAsB,SAAQ,qBAAqB;IACnE,YAAY,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,gBAAgB,GAAI,kLAa9B,qBAAqB,KAAG,WAuB1B,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { GidsLineChartWebUtils, } from '@ganpatiinfo/gids-web-shared';
|
|
2
|
+
const { getGidsLineChartClassNames } = GidsLineChartWebUtils;
|
|
3
|
+
export const GidsLineChartDom = ({ breakpoint = 'desktop', legend = 'none', chartData = [], yAxisVisible = false, xAxisLabel, yAxisLabel, dataPoints, chartLoading, chartLoaderSize, chartLoadingTitle, chartLoadingSupportingText, extraClasses, }) => {
|
|
4
|
+
const lineChart = document.createElement('gids-line-chart');
|
|
5
|
+
lineChart.breakpoint = breakpoint;
|
|
6
|
+
lineChart.legend = legend;
|
|
7
|
+
lineChart.chartData = chartData;
|
|
8
|
+
lineChart.yAxisVisible = yAxisVisible;
|
|
9
|
+
lineChart.xAxisLabel = xAxisLabel;
|
|
10
|
+
lineChart.yAxisLabel = yAxisLabel;
|
|
11
|
+
lineChart.dataPoints = dataPoints;
|
|
12
|
+
lineChart.chartLoading = chartLoading;
|
|
13
|
+
lineChart.chartLoaderSize = chartLoaderSize;
|
|
14
|
+
lineChart.chartLoadingTitle = chartLoadingTitle;
|
|
15
|
+
lineChart.chartLoadingSupportingText = chartLoadingSupportingText;
|
|
16
|
+
lineChart.className = getGidsLineChartClassNames({ breakpoint }, extraClasses);
|
|
17
|
+
return lineChart;
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=GidsLineChart.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GidsLineChart.js","sourceRoot":"","sources":["../../../src/components/GidsLineChart/GidsLineChart.ts"],"names":[],"mappings":"AAAA,OAAO,EAEN,qBAAqB,GACrB,MAAM,8BAA8B,CAAC;AAEtC,MAAM,EAAE,0BAA0B,EAAE,GAAG,qBAAqB,CAAC;AAQ7D,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,EAChC,UAAU,GAAG,SAAS,EACtB,MAAM,GAAG,MAAM,EACf,SAAS,GAAG,EAAE,EACd,YAAY,GAAG,KAAK,EACpB,UAAU,EACV,UAAU,EACV,UAAU,EACV,YAAY,EACZ,eAAe,EACf,iBAAiB,EACjB,0BAA0B,EAC1B,YAAY,GACW,EAAe,EAAE;IACxC,MAAM,SAAS,GAAG,QAAQ,CAAC,aAAa,CACvC,iBAAiB,CACO,CAAC;IAE1B,SAAS,CAAC,UAAU,GAAG,UAAU,CAAC;IAClC,SAAS,CAAC,MAAM,GAAG,MAAM,CAAC;IAC1B,SAAS,CAAC,SAAS,GAAG,SAAS,CAAC;IAChC,SAAS,CAAC,YAAY,GAAG,YAAY,CAAC;IACtC,SAAS,CAAC,UAAU,GAAG,UAAU,CAAC;IAClC,SAAS,CAAC,UAAU,GAAG,UAAU,CAAC;IAClC,SAAS,CAAC,UAAU,GAAG,UAAU,CAAC;IAClC,SAAS,CAAC,YAAY,GAAG,YAAY,CAAC;IACtC,SAAS,CAAC,eAAe,GAAG,eAAe,CAAC;IAC5C,SAAS,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAChD,SAAS,CAAC,0BAA0B,GAAG,0BAA0B,CAAC;IAElE,SAAS,CAAC,SAAS,GAAG,0BAA0B,CAC/C,EAAE,UAAU,EAAE,EACd,YAAY,CACZ,CAAC;IAEF,OAAO,SAAS,CAAC;AAClB,CAAC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ClassValue, GidsListItemWebProps } from '@ganpatiinfo/gids-web-shared';
|
|
2
|
+
import { DomChildren, DomNodeOrString } from '../../utils/domUtils';
|
|
3
|
+
import { GidsListItemSelectEventDetail } from '@ganpatiinfo/gids-core-shared';
|
|
4
|
+
export interface GidsListItemDomProps extends GidsListItemWebProps<DomNodeOrString, DomChildren, DomNodeOrString, DomNodeOrString> {
|
|
5
|
+
name?: string;
|
|
6
|
+
onPressEditButton?: (this: HTMLButtonElement, event: Event) => void;
|
|
7
|
+
extraClasses?: ClassValue;
|
|
8
|
+
onPressListItem?: (event: CustomEvent<GidsListItemSelectEventDetail>) => void;
|
|
9
|
+
}
|
|
10
|
+
export declare const GidsListItemDom: (props: GidsListItemDomProps) => HTMLButtonElement;
|
|
11
|
+
//# sourceMappingURL=GidsListItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GidsListItem.d.ts","sourceRoot":"","sources":["../../../src/components/GidsListItem/GidsListItem.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,UAAU,EACV,oBAAoB,EAEpB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAEN,WAAW,EACX,eAAe,EACf,MAAM,sBAAsB,CAAC;AAI9B,OAAO,EAAE,6BAA6B,EAAE,MAAM,+BAA+B,CAAC;AAI9E,MAAM,WAAW,oBAAqB,SAAQ,oBAAoB,CACjE,eAAe,EACf,WAAW,EACX,eAAe,EACf,eAAe,CACf;IACA,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE,iBAAiB,EAAE,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACpE,YAAY,CAAC,EAAE,UAAU,CAAC;IAC1B,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,CAAC,6BAA6B,CAAC,KAAK,IAAI,CAAC;CAC9E;AAED,eAAO,MAAM,eAAe,GAC3B,OAAO,oBAAoB,KACzB,iBAqQF,CAAC"}
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
import { GidsListItemWebUtils, } from '@ganpatiinfo/gids-web-shared';
|
|
2
|
+
import { appendAsChildren, } from '../../utils/domUtils';
|
|
3
|
+
import { GidsEditButtonDom } from '../GidsEditButton/GidsEditButton';
|
|
4
|
+
import { GidsDividerDom } from '../GidsDivider/GidsDivider';
|
|
5
|
+
import { GidsIconDom } from '../GidsIcon/GidsIcon';
|
|
6
|
+
const { getGidsListItemClassNames } = GidsListItemWebUtils;
|
|
7
|
+
export const GidsListItemDom = (props) => {
|
|
8
|
+
const { id, index, defaultSelectedIndex, children, disabled = false, selected, editButton, onPressEditButton, onPressListItem, leadingAccessory, leadingSupport, leadingParagraph, trailingContent, trailingAccessory, trailingSupport, trailingParagraph, divider, extraClasses, name, value, } = props;
|
|
9
|
+
const listItem = document.createElement('button');
|
|
10
|
+
listItem.type = 'button';
|
|
11
|
+
listItem.className = getGidsListItemClassNames({ disabled, selected }, extraClasses);
|
|
12
|
+
listItem.setAttribute('role', 'list-item-option');
|
|
13
|
+
listItem.setAttribute('aria-selected', selected ? 'true' : 'false');
|
|
14
|
+
listItem.setAttribute('id', id);
|
|
15
|
+
listItem.disabled = disabled;
|
|
16
|
+
if (name) {
|
|
17
|
+
listItem.name = name;
|
|
18
|
+
}
|
|
19
|
+
const mainContainer = document.createElement('div');
|
|
20
|
+
mainContainer.className = 'gids-list-item__main-container';
|
|
21
|
+
if (editButton !== undefined &&
|
|
22
|
+
editButton !== null &&
|
|
23
|
+
editButton !== 'none' &&
|
|
24
|
+
!disabled) {
|
|
25
|
+
const editButtonNode = GidsEditButtonDom({
|
|
26
|
+
size: 'md',
|
|
27
|
+
editButtonType: editButton,
|
|
28
|
+
onPressEditButton,
|
|
29
|
+
});
|
|
30
|
+
// 2. Stop the event from bubbling up to mainContainer / listItem
|
|
31
|
+
editButtonNode.addEventListener('click', (event) => {
|
|
32
|
+
event.stopPropagation();
|
|
33
|
+
});
|
|
34
|
+
mainContainer.append(editButtonNode);
|
|
35
|
+
}
|
|
36
|
+
if (leadingAccessory !== undefined && leadingAccessory !== null) {
|
|
37
|
+
const leadingAccessoryContainer = document.createElement('div');
|
|
38
|
+
leadingAccessoryContainer.className = disabled
|
|
39
|
+
? 'gids-list-item__leading-accessory-container gids-list-item__accessory-content-disabled'
|
|
40
|
+
: 'gids-list-item__leading-accessory-container';
|
|
41
|
+
appendAsChildren(leadingAccessoryContainer, leadingAccessory);
|
|
42
|
+
appendAsChildren(mainContainer, leadingAccessoryContainer);
|
|
43
|
+
}
|
|
44
|
+
const middleContentContainer = document.createElement('div');
|
|
45
|
+
middleContentContainer.className = 'gids-list-item__middle-content-container';
|
|
46
|
+
const leadingContentContainer = document.createElement('div');
|
|
47
|
+
leadingContentContainer.className =
|
|
48
|
+
'gids-list-item__leading-content-container';
|
|
49
|
+
if (children !== undefined && children !== null) {
|
|
50
|
+
const leadingLabel = document.createElement('span');
|
|
51
|
+
leadingLabel.className = disabled
|
|
52
|
+
? 'gids-list-item__leading-content-label gids-list-item__text-content-disabled'
|
|
53
|
+
: 'gids-list-item__leading-content-label';
|
|
54
|
+
if (typeof children === 'string') {
|
|
55
|
+
leadingLabel.textContent = children;
|
|
56
|
+
}
|
|
57
|
+
else {
|
|
58
|
+
appendAsChildren(leadingLabel, children);
|
|
59
|
+
}
|
|
60
|
+
appendAsChildren(leadingContentContainer, leadingLabel);
|
|
61
|
+
}
|
|
62
|
+
if ((leadingSupport !== undefined && leadingSupport !== null) ||
|
|
63
|
+
(leadingParagraph !== undefined && leadingParagraph !== null)) {
|
|
64
|
+
const leadingSupportContent = document.createElement('div');
|
|
65
|
+
leadingSupportContent.className = 'gids-list-item__leading-support-content';
|
|
66
|
+
if (leadingSupport !== undefined && leadingSupport !== null) {
|
|
67
|
+
if (typeof leadingSupport === 'string') {
|
|
68
|
+
const leadingContentSupportingText = document.createElement('p');
|
|
69
|
+
leadingContentSupportingText.className = disabled
|
|
70
|
+
? 'gids-list-item__leading-content-supporting-text gids-list-item__text-content-disabled'
|
|
71
|
+
: 'gids-list-item__leading-content-supporting-text';
|
|
72
|
+
leadingContentSupportingText.textContent = leadingSupport;
|
|
73
|
+
appendAsChildren(leadingSupportContent, leadingContentSupportingText);
|
|
74
|
+
}
|
|
75
|
+
else {
|
|
76
|
+
appendAsChildren(leadingSupportContent, leadingSupport);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
if (leadingParagraph !== undefined && leadingParagraph !== null) {
|
|
80
|
+
if (typeof leadingParagraph === 'string') {
|
|
81
|
+
const leadingContentParagraphText = document.createElement('p');
|
|
82
|
+
leadingContentParagraphText.className = disabled
|
|
83
|
+
? 'gids-list-item__leading-content-paragraph-text gids-list-item__text-content-disabled'
|
|
84
|
+
: 'gids-list-item__leading-content-paragraph-text';
|
|
85
|
+
leadingContentParagraphText.textContent = leadingParagraph;
|
|
86
|
+
appendAsChildren(leadingSupportContent, leadingContentParagraphText);
|
|
87
|
+
}
|
|
88
|
+
else {
|
|
89
|
+
appendAsChildren(leadingSupportContent, leadingParagraph);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
appendAsChildren(leadingContentContainer, leadingSupportContent);
|
|
93
|
+
}
|
|
94
|
+
const trailingContentContainer = document.createElement('div');
|
|
95
|
+
trailingContentContainer.className =
|
|
96
|
+
'gids-list-item__trailing-content-container';
|
|
97
|
+
if (trailingContent !== undefined && trailingContent !== null) {
|
|
98
|
+
if (typeof trailingContent === 'string') {
|
|
99
|
+
const trailingLabel = document.createElement('span');
|
|
100
|
+
trailingLabel.className = disabled
|
|
101
|
+
? 'gids-list-item__trailing-content-label gids-list-item__text-content-disabled'
|
|
102
|
+
: 'gids-list-item__trailing-content-label';
|
|
103
|
+
trailingLabel.textContent = trailingContent;
|
|
104
|
+
appendAsChildren(trailingContentContainer, trailingLabel);
|
|
105
|
+
}
|
|
106
|
+
else {
|
|
107
|
+
appendAsChildren(trailingContentContainer, trailingContent);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
if ((trailingSupport !== undefined && trailingSupport !== null) ||
|
|
111
|
+
(trailingParagraph !== undefined && trailingParagraph !== null)) {
|
|
112
|
+
const trailingSupportContent = document.createElement('div');
|
|
113
|
+
trailingSupportContent.className =
|
|
114
|
+
'gids-list-item__trailing-support-content';
|
|
115
|
+
if (trailingSupport !== undefined && trailingSupport !== null) {
|
|
116
|
+
if (typeof trailingSupport === 'string') {
|
|
117
|
+
const trailingContentSupportingText = document.createElement('p');
|
|
118
|
+
trailingContentSupportingText.className = disabled
|
|
119
|
+
? 'gids-list-item__trailing-content-supporting-text gids-list-item__text-content-disabled'
|
|
120
|
+
: 'gids-list-item__trailing-content-supporting-text';
|
|
121
|
+
trailingContentSupportingText.textContent = trailingSupport;
|
|
122
|
+
appendAsChildren(trailingSupportContent, trailingContentSupportingText);
|
|
123
|
+
}
|
|
124
|
+
else {
|
|
125
|
+
appendAsChildren(trailingSupportContent, trailingSupport);
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
if (trailingParagraph !== undefined && trailingParagraph !== null) {
|
|
129
|
+
if (typeof trailingParagraph === 'string') {
|
|
130
|
+
const trailingContentParagraphText = document.createElement('p');
|
|
131
|
+
trailingContentParagraphText.className = disabled
|
|
132
|
+
? 'gids-list-item__trailing-content-paragraph-text gids-list-item__text-content-disabled'
|
|
133
|
+
: 'gids-list-item__trailing-content-paragraph-text';
|
|
134
|
+
trailingContentParagraphText.textContent = trailingParagraph;
|
|
135
|
+
appendAsChildren(trailingSupportContent, trailingContentParagraphText);
|
|
136
|
+
}
|
|
137
|
+
else {
|
|
138
|
+
appendAsChildren(trailingSupportContent, trailingParagraph);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
appendAsChildren(trailingContentContainer, trailingSupportContent);
|
|
142
|
+
}
|
|
143
|
+
appendAsChildren(middleContentContainer, leadingContentContainer);
|
|
144
|
+
appendAsChildren(middleContentContainer, trailingContentContainer);
|
|
145
|
+
appendAsChildren(mainContainer, middleContentContainer);
|
|
146
|
+
const trailingAccessoryContainer = document.createElement('div');
|
|
147
|
+
trailingAccessoryContainer.className = disabled
|
|
148
|
+
? 'gids-list-item__trailing-accessory-container gids-list-item__accessory-content-disabled'
|
|
149
|
+
: 'gids-list-item__trailing-accessory-container';
|
|
150
|
+
if (selected) {
|
|
151
|
+
trailingAccessoryContainer.append(GidsIconDom({
|
|
152
|
+
name: 'checkmark',
|
|
153
|
+
size: 'md',
|
|
154
|
+
appearance: 'regular',
|
|
155
|
+
}));
|
|
156
|
+
appendAsChildren(mainContainer, trailingAccessoryContainer);
|
|
157
|
+
}
|
|
158
|
+
else {
|
|
159
|
+
if (trailingAccessory !== undefined && trailingAccessory !== null) {
|
|
160
|
+
appendAsChildren(trailingAccessoryContainer, trailingAccessory);
|
|
161
|
+
appendAsChildren(mainContainer, trailingAccessoryContainer);
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
appendAsChildren(listItem, mainContainer);
|
|
165
|
+
if (divider && !selected) {
|
|
166
|
+
const dividerWrapper = document.createElement('div');
|
|
167
|
+
dividerWrapper.className = 'gids-list-item__divider';
|
|
168
|
+
dividerWrapper.append(GidsDividerDom({
|
|
169
|
+
orientation: 'horizontal',
|
|
170
|
+
}));
|
|
171
|
+
appendAsChildren(listItem, dividerWrapper);
|
|
172
|
+
}
|
|
173
|
+
// --- ADD THIS CODE BLOCK BEFORE THE END OF THE FUNCTION ---
|
|
174
|
+
if (onPressListItem) {
|
|
175
|
+
listItem.addEventListener('click', (event) => {
|
|
176
|
+
if (event?.defaultPrevented || disabled) {
|
|
177
|
+
return;
|
|
178
|
+
}
|
|
179
|
+
// Create a CustomEvent containing your specific detail payload
|
|
180
|
+
const customEvent = new CustomEvent('onPressListItem', {
|
|
181
|
+
bubbles: true,
|
|
182
|
+
composed: true,
|
|
183
|
+
detail: {
|
|
184
|
+
selectedIndex: index,
|
|
185
|
+
defaultSelectedIndex, // Toggles or passes current state
|
|
186
|
+
},
|
|
187
|
+
});
|
|
188
|
+
// If your Storybook/wrapper expects the custom event directly in the callback:
|
|
189
|
+
onPressListItem(customEvent);
|
|
190
|
+
});
|
|
191
|
+
}
|
|
192
|
+
let newValue = value;
|
|
193
|
+
if (children) {
|
|
194
|
+
newValue = children;
|
|
195
|
+
}
|
|
196
|
+
if (typeof newValue === 'string') {
|
|
197
|
+
listItem.value = newValue;
|
|
198
|
+
}
|
|
199
|
+
else {
|
|
200
|
+
const textContent = newValue?.textContent;
|
|
201
|
+
if (textContent) {
|
|
202
|
+
listItem.value = textContent;
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
return listItem;
|
|
206
|
+
};
|
|
207
|
+
//# sourceMappingURL=GidsListItem.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GidsListItem.js","sourceRoot":"","sources":["../../../src/components/GidsListItem/GidsListItem.ts"],"names":[],"mappings":"AAAA,OAAO,EAGN,oBAAoB,GACpB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACN,gBAAgB,GAGhB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAGnD,MAAM,EAAE,yBAAyB,EAAE,GAAG,oBAAoB,CAAC;AAc3D,MAAM,CAAC,MAAM,eAAe,GAAG,CAC9B,KAA2B,EACP,EAAE;IACtB,MAAM,EACL,EAAE,EACF,KAAK,EACL,oBAAoB,EACpB,QAAQ,EACR,QAAQ,GAAG,KAAK,EAChB,QAAQ,EACR,UAAU,EACV,iBAAiB,EACjB,eAAe,EACf,gBAAgB,EAChB,cAAc,EACd,gBAAgB,EAChB,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,iBAAiB,EACjB,OAAO,EACP,YAAY,EACZ,IAAI,EACJ,KAAK,GACL,GAAG,KAAK,CAAC;IAEV,MAAM,QAAQ,GAAG,QAAQ,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IAClD,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC;IACzB,QAAQ,CAAC,SAAS,GAAG,yBAAyB,CAC7C,EAAE,QAAQ,EAAE,QAAQ,EAAE,EACtB,YAAY,CACZ,CAAC;IACF,QAAQ,CAAC,YAAY,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC;IAClD,QAAQ,CAAC,YAAY,CAAC,eAAe,EAAE,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC;IACpE,QAAQ,CAAC,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,EAAE,cAAc,CAAC,CAAC;IAC5C,CAAC;IAED,6DAA6D;IAC7D,IAAI,eAAe,EAAE,CAAC;QACrB,QAAQ,CAAC,gBAAgB,CAAC,OAAO,EAAE,CAAC,KAAiB,EAAE,EAAE;YACxD,IAAI,KAAK,EAAE,gBAAgB,IAAI,QAAQ,EAAE,CAAC;gBACzC,OAAO;YACR,CAAC;YACD,+DAA+D;YAC/D,MAAM,WAAW,GAAG,IAAI,WAAW,CAClC,iBAAiB,EACjB;gBACC,OAAO,EAAE,IAAI;gBACb,QAAQ,EAAE,IAAI;gBACd,MAAM,EAAE;oBACP,aAAa,EAAE,KAAK;oBACpB,oBAAoB,EAAE,kCAAkC;iBACxD;aACD,CACD,CAAC;YAEF,+EAA+E;YAC/E,eAAe,CAAC,WAAW,CAAC,CAAC;QAC9B,CAAC,CAAC,CAAC;IACJ,CAAC;IAED,IAAI,QAAQ,GAAgC,KAAK,CAAC;IAClD,IAAI,QAAQ,EAAE,CAAC;QACd,QAAQ,GAAG,QAAQ,CAAC;IACrB,CAAC;IAED,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE,CAAC;QAClC,QAAQ,CAAC,KAAK,GAAG,QAAQ,CAAC;IAC3B,CAAC;SAAM,CAAC;QACP,MAAM,WAAW,GAAG,QAAQ,EAAE,WAAW,CAAC;QAC1C,IAAI,WAAW,EAAE,CAAC;YACjB,QAAQ,CAAC,KAAK,GAAG,WAAW,CAAC;QAC9B,CAAC;IACF,CAAC;IAED,OAAO,QAAQ,CAAC;AACjB,CAAC,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { GidsMenuWebProps } from '@ganpatiinfo/gids-web-shared';
|
|
2
|
+
import { DomChildren, DomNodeOrString } from '../../utils/domUtils.js';
|
|
3
|
+
export interface GidsMenuDomProps extends GidsMenuWebProps<DomChildren, DomNodeOrString> {
|
|
4
|
+
extraClasses?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const GidsMenuDom: ({ children, extraClasses, heading, supportingText, supportingTextTypography, ...restProps }: GidsMenuDomProps) => HTMLDivElement;
|
|
7
|
+
//# sourceMappingURL=GidsMenu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GidsMenu.d.ts","sourceRoot":"","sources":["../../../src/components/GidsMenu/GidsMenu.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,gBAAgB,EAEhB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAEN,WAAW,EACX,eAAe,EACf,MAAM,yBAAyB,CAAC;AAKjC,MAAM,WAAW,gBAAiB,SAAQ,gBAAgB,CACzD,WAAW,EACX,eAAe,CACf;IACA,YAAY,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,WAAW,GAAI,6FAOzB,gBAAgB,KAAG,cA4BrB,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { GidsMenuWebUtils, } from '@ganpatiinfo/gids-web-shared';
|
|
2
|
+
import { appendAsChildren, } from '../../utils/domUtils.js';
|
|
3
|
+
import { GidsHeadingDom } from '../GidsHeading/GidsHeading.js';
|
|
4
|
+
const { getGidsMenuClassNames } = GidsMenuWebUtils;
|
|
5
|
+
export const GidsMenuDom = ({ children, extraClasses, heading, supportingText, supportingTextTypography, ...restProps }) => {
|
|
6
|
+
const menu = document.createElement('div');
|
|
7
|
+
menu.className = getGidsMenuClassNames(extraClasses);
|
|
8
|
+
if ((heading !== undefined && heading !== null && heading !== '') ||
|
|
9
|
+
(supportingText !== undefined &&
|
|
10
|
+
supportingText !== null &&
|
|
11
|
+
supportingText !== '')) {
|
|
12
|
+
menu.append(GidsHeadingDom({
|
|
13
|
+
heading,
|
|
14
|
+
supportingText,
|
|
15
|
+
supportingTextTypography: supportingTextTypography ?? 'eyebrow-medium',
|
|
16
|
+
...restProps,
|
|
17
|
+
}));
|
|
18
|
+
}
|
|
19
|
+
if (children !== undefined && children !== null) {
|
|
20
|
+
const childrenContainer = document.createElement('div');
|
|
21
|
+
childrenContainer.className = 'gids-menu__children';
|
|
22
|
+
appendAsChildren(childrenContainer, children);
|
|
23
|
+
appendAsChildren(menu, childrenContainer);
|
|
24
|
+
}
|
|
25
|
+
return menu;
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=GidsMenu.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GidsMenu.js","sourceRoot":"","sources":["../../../src/components/GidsMenu/GidsMenu.ts"],"names":[],"mappings":"AAAA,OAAO,EAEN,gBAAgB,GAChB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACN,gBAAgB,GAGhB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAE/D,MAAM,EAAE,qBAAqB,EAAE,GAAG,gBAAgB,CAAC;AASnD,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,EAC3B,QAAQ,EACR,YAAY,EACZ,OAAO,EACP,cAAc,EACd,wBAAwB,EACxB,GAAG,SAAS,EACM,EAAkB,EAAE;IACtC,MAAM,IAAI,GAAG,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;IAC3C,IAAI,CAAC,SAAS,GAAG,qBAAqB,CAAC,YAAY,CAAC,CAAC;IAErD,IACC,CAAC,OAAO,KAAK,SAAS,IAAI,OAAO,KAAK,IAAI,IAAI,OAAO,KAAK,EAAE,CAAC;QAC7D,CAAC,cAAc,KAAK,SAAS;YAC5B,cAAc,KAAK,IAAI;YACvB,cAAc,KAAK,EAAE,CAAC,EACtB,CAAC;QACF,IAAI,CAAC,MAAM,CACV,cAAc,CAAC;YACd,OAAO;YACP,cAAc;YACd,wBAAwB,EAAE,wBAAwB,IAAI,gBAAgB;YACtE,GAAG,SAAS;SACZ,CAAC,CACF,CAAC;IACH,CAAC;IAED,IAAI,QAAQ,KAAK,SAAS,IAAI,QAAQ,KAAK,IAAI,EAAE,CAAC;QACjD,MAAM,iBAAiB,GAAG,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;QACxD,iBAAiB,CAAC,SAAS,GAAG,qBAAqB,CAAC;QACpD,gBAAgB,CAAC,iBAAiB,EAAE,QAAQ,CAAC,CAAC;QAC9C,gBAAgB,CAAC,IAAI,EAAE,iBAAiB,CAAC,CAAC;IAC3C,CAAC;IAED,OAAO,IAAI,CAAC;AACb,CAAC,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { GidsMenuGroupWebProps } from '@ganpatiinfo/gids-web-shared';
|
|
2
|
+
import { DomChildren } from '../../utils/domUtils.js';
|
|
3
|
+
export interface GidsMenuGroupDomProps extends GidsMenuGroupWebProps<DomChildren> {
|
|
4
|
+
extraClasses?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const GidsMenuGroupDom: ({ type, supportingText, children, extraClasses, }: GidsMenuGroupDomProps) => HTMLDivElement;
|
|
7
|
+
//# sourceMappingURL=GidsMenuGroup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GidsMenuGroup.d.ts","sourceRoot":"","sources":["../../../src/components/GidsMenuGroup/GidsMenuGroup.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,qBAAqB,EAErB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAoB,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAKxE,MAAM,WAAW,qBAAsB,SAAQ,qBAAqB,CAAC,WAAW,CAAC;IAChF,YAAY,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,gBAAgB,GAAI,mDAK9B,qBAAqB,KAAG,cAwB1B,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { GidsMenuGroupWebUtils, } from '@ganpatiinfo/gids-web-shared';
|
|
2
|
+
import { appendAsChildren } from '../../utils/domUtils.js';
|
|
3
|
+
import { GidsSpinnerDom } from '../GidsSpinner/GidsSpinner.js';
|
|
4
|
+
const { getGidsMenuGroupClassNames } = GidsMenuGroupWebUtils;
|
|
5
|
+
export const GidsMenuGroupDom = ({ type = 'no-options', supportingText = 'No options', children, extraClasses, }) => {
|
|
6
|
+
const menuGroup = document.createElement('div');
|
|
7
|
+
menuGroup.className = getGidsMenuGroupClassNames({ type }, extraClasses);
|
|
8
|
+
if (type === 'loading') {
|
|
9
|
+
menuGroup.append(GidsSpinnerDom({
|
|
10
|
+
indeterminate: true,
|
|
11
|
+
size: 'md',
|
|
12
|
+
}));
|
|
13
|
+
}
|
|
14
|
+
if (type === 'no-options') {
|
|
15
|
+
const noOptionText = document.createElement('span');
|
|
16
|
+
noOptionText.textContent = supportingText;
|
|
17
|
+
appendAsChildren(menuGroup, noOptionText);
|
|
18
|
+
}
|
|
19
|
+
if (type === 'default' && children !== undefined && children !== null) {
|
|
20
|
+
appendAsChildren(menuGroup, children);
|
|
21
|
+
}
|
|
22
|
+
return menuGroup;
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=GidsMenuGroup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GidsMenuGroup.js","sourceRoot":"","sources":["../../../src/components/GidsMenuGroup/GidsMenuGroup.ts"],"names":[],"mappings":"AAAA,OAAO,EAEN,qBAAqB,GACrB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,gBAAgB,EAAe,MAAM,yBAAyB,CAAC;AACxE,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAE/D,MAAM,EAAE,0BAA0B,EAAE,GAAG,qBAAqB,CAAC;AAM7D,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,EAChC,IAAI,GAAG,YAAY,EACnB,cAAc,GAAG,YAAY,EAC7B,QAAQ,EACR,YAAY,GACW,EAAkB,EAAE;IAC3C,MAAM,SAAS,GAAG,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;IAChD,SAAS,CAAC,SAAS,GAAG,0BAA0B,CAAC,EAAE,IAAI,EAAE,EAAE,YAAY,CAAC,CAAC;IAEzE,IAAI,IAAI,KAAK,SAAS,EAAE,CAAC;QACxB,SAAS,CAAC,MAAM,CACf,cAAc,CAAC;YACd,aAAa,EAAE,IAAI;YACnB,IAAI,EAAE,IAAI;SACV,CAAC,CACF,CAAC;IACH,CAAC;IAED,IAAI,IAAI,KAAK,YAAY,EAAE,CAAC;QAC3B,MAAM,YAAY,GAAG,QAAQ,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC;QACpD,YAAY,CAAC,WAAW,GAAG,cAAc,CAAC;QAC1C,gBAAgB,CAAC,SAAS,EAAE,YAAY,CAAC,CAAC;IAC3C,CAAC;IAED,IAAI,IAAI,KAAK,SAAS,IAAI,QAAQ,KAAK,SAAS,IAAI,QAAQ,KAAK,IAAI,EAAE,CAAC;QACvE,gBAAgB,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC;IACvC,CAAC;IAED,OAAO,SAAS,CAAC;AAClB,CAAC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { GidsPageTitleWebProps } from '@ganpatiinfo/gids-web-shared';
|
|
2
|
+
import { DomChildren, DomNodeOrString } from '../../utils/domUtils';
|
|
3
|
+
type GidsPageTitleBaseWebProps = GidsPageTitleWebProps<DomChildren, DomNodeOrString>;
|
|
4
|
+
export interface GidsPageTitleDomProps extends GidsPageTitleBaseWebProps {
|
|
5
|
+
extraClasses?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const GidsPageTitleDom: ({ level, children, leadingAccessory, trailingAccessory, extraClasses, }: GidsPageTitleDomProps) => HTMLDivElement;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=GidsPageTitle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GidsPageTitle.d.ts","sourceRoot":"","sources":["../../../src/components/GidsPageTitle/GidsPageTitle.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,qBAAqB,EAErB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAEN,WAAW,EACX,eAAe,EACf,MAAM,sBAAsB,CAAC;AAI9B,KAAK,yBAAyB,GAAG,qBAAqB,CACrD,WAAW,EACX,eAAe,CACf,CAAC;AAEF,MAAM,WAAW,qBAAsB,SAAQ,yBAAyB;IACvE,YAAY,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,gBAAgB,GAAI,yEAM9B,qBAAqB,KAAG,cAgC1B,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { GidsPageTitleWebUtils, } from '@ganpatiinfo/gids-web-shared';
|
|
2
|
+
import { appendAsChildren, } from '../../utils/domUtils';
|
|
3
|
+
const { getGidsPageTitleClassNames } = GidsPageTitleWebUtils;
|
|
4
|
+
export const GidsPageTitleDom = ({ level = 'parent', children, leadingAccessory, trailingAccessory, extraClasses, }) => {
|
|
5
|
+
const pageTitle = document.createElement('div');
|
|
6
|
+
pageTitle.className = getGidsPageTitleClassNames(extraClasses);
|
|
7
|
+
if (leadingAccessory && level === 'child') {
|
|
8
|
+
const leadingAccContainer = document.createElement('div');
|
|
9
|
+
leadingAccContainer.className = 'gids-page-title__leading-accessory';
|
|
10
|
+
appendAsChildren(leadingAccContainer, leadingAccessory);
|
|
11
|
+
pageTitle.append(leadingAccContainer);
|
|
12
|
+
}
|
|
13
|
+
if (children) {
|
|
14
|
+
const h1El = document.createElement('h1');
|
|
15
|
+
h1El.className = 'gids-page-title__heading';
|
|
16
|
+
if (children instanceof Node) {
|
|
17
|
+
h1El.append(children);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
h1El.textContent = children;
|
|
21
|
+
}
|
|
22
|
+
appendAsChildren(pageTitle, h1El);
|
|
23
|
+
}
|
|
24
|
+
if (trailingAccessory) {
|
|
25
|
+
const trailingAccContainer = document.createElement('div');
|
|
26
|
+
trailingAccContainer.className = 'gids-page-title__trailing-accessory';
|
|
27
|
+
appendAsChildren(trailingAccContainer, trailingAccessory);
|
|
28
|
+
pageTitle.append(trailingAccContainer);
|
|
29
|
+
}
|
|
30
|
+
return pageTitle;
|
|
31
|
+
};
|
|
32
|
+
//# sourceMappingURL=GidsPageTitle.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GidsPageTitle.js","sourceRoot":"","sources":["../../../src/components/GidsPageTitle/GidsPageTitle.ts"],"names":[],"mappings":"AAAA,OAAO,EAEN,qBAAqB,GACrB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACN,gBAAgB,GAGhB,MAAM,sBAAsB,CAAC;AAE9B,MAAM,EAAE,0BAA0B,EAAE,GAAG,qBAAqB,CAAC;AAW7D,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,EAChC,KAAK,GAAG,QAAQ,EAChB,QAAQ,EACR,gBAAgB,EAChB,iBAAiB,EACjB,YAAY,GACW,EAAkB,EAAE;IAC3C,MAAM,SAAS,GAAG,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;IAChD,SAAS,CAAC,SAAS,GAAG,0BAA0B,CAAC,YAAY,CAAC,CAAC;IAE/D,IAAI,gBAAgB,IAAI,KAAK,KAAK,OAAO,EAAE,CAAC;QAC3C,MAAM,mBAAmB,GAAG,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;QAC1D,mBAAmB,CAAC,SAAS,GAAG,oCAAoC,CAAC;QACrE,gBAAgB,CAAC,mBAAmB,EAAE,gBAAgB,CAAC,CAAC;QACxD,SAAS,CAAC,MAAM,CAAC,mBAAmB,CAAC,CAAC;IACvC,CAAC;IAED,IAAI,QAAQ,EAAE,CAAC;QACd,MAAM,IAAI,GAAG,QAAQ,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;QAC1C,IAAI,CAAC,SAAS,GAAG,0BAA0B,CAAC;QAE5C,IAAI,QAAQ,YAAY,IAAI,EAAE,CAAC;YAC9B,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;QACvB,CAAC;aAAM,CAAC;YACP,IAAI,CAAC,WAAW,GAAG,QAAQ,CAAC;QAC7B,CAAC;QAED,gBAAgB,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;IACnC,CAAC;IAED,IAAI,iBAAiB,EAAE,CAAC;QACvB,MAAM,oBAAoB,GAAG,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;QAC3D,oBAAoB,CAAC,SAAS,GAAG,qCAAqC,CAAC;QACvE,gBAAgB,CAAC,oBAAoB,EAAE,iBAAiB,CAAC,CAAC;QAC1D,SAAS,CAAC,MAAM,CAAC,oBAAoB,CAAC,CAAC;IACxC,CAAC;IAED,OAAO,SAAS,CAAC;AAClB,CAAC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { GidsPieChartWebProps } from '@ganpatiinfo/gids-web-shared';
|
|
2
|
+
type GidsPieChartBaseWebProps = GidsPieChartWebProps;
|
|
3
|
+
export interface GidsPieChartDomProps extends GidsPieChartBaseWebProps {
|
|
4
|
+
extraClasses?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const GidsPieChartDom: ({ breakpoint, chartLoading, chartLoaderSize, chartLoadingSupportingText, chartLoadingTitle, legendVisible, size, chartData, extraClasses, }: GidsPieChartDomProps) => HTMLElement;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=GidsPieChart.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GidsPieChart.d.ts","sourceRoot":"","sources":["../../../src/components/GidsPieChart/GidsPieChart.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,oBAAoB,EAEpB,MAAM,8BAA8B,CAAC;AAItC,KAAK,wBAAwB,GAAG,oBAAoB,CAAC;AAIrD,MAAM,WAAW,oBAAqB,SAAQ,wBAAwB;IACrE,YAAY,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,eAAe,GAAI,6IAU7B,oBAAoB,KAAG,WAiBzB,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { GidsPieChartWebUtils, } from '@ganpatiinfo/gids-web-shared';
|
|
2
|
+
const { getGidsPieChartClassNames } = GidsPieChartWebUtils;
|
|
3
|
+
export const GidsPieChartDom = ({ breakpoint = 'desktop', chartLoading = false, chartLoaderSize, chartLoadingSupportingText, chartLoadingTitle, legendVisible, size = 'xxs', chartData = [], extraClasses, }) => {
|
|
4
|
+
const pieChart = document.createElement('gids-pie-chart');
|
|
5
|
+
pieChart.breakpoint = breakpoint;
|
|
6
|
+
pieChart.size = size;
|
|
7
|
+
pieChart.legendVisible = legendVisible;
|
|
8
|
+
pieChart.chartData = chartData;
|
|
9
|
+
pieChart.chartLoading = chartLoading;
|
|
10
|
+
pieChart.chartLoaderSize = chartLoaderSize;
|
|
11
|
+
pieChart.chartLoadingTitle = chartLoadingTitle;
|
|
12
|
+
pieChart.chartLoadingSupportingText = chartLoadingSupportingText;
|
|
13
|
+
pieChart.className = getGidsPieChartClassNames({ breakpoint }, extraClasses);
|
|
14
|
+
return pieChart;
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=GidsPieChart.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GidsPieChart.js","sourceRoot":"","sources":["../../../src/components/GidsPieChart/GidsPieChart.ts"],"names":[],"mappings":"AAAA,OAAO,EAEN,oBAAoB,GACpB,MAAM,8BAA8B,CAAC;AAEtC,MAAM,EAAE,yBAAyB,EAAE,GAAG,oBAAoB,CAAC;AAU3D,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,EAC/B,UAAU,GAAG,SAAS,EACtB,YAAY,GAAG,KAAK,EACpB,eAAe,EACf,0BAA0B,EAC1B,iBAAiB,EACjB,aAAa,EACb,IAAI,GAAG,KAAK,EACZ,SAAS,GAAG,EAAE,EACd,YAAY,GACU,EAAe,EAAE;IACvC,MAAM,QAAQ,GAAG,QAAQ,CAAC,aAAa,CACtC,gBAAgB,CACO,CAAC;IAEzB,QAAQ,CAAC,UAAU,GAAG,UAAU,CAAC;IACjC,QAAQ,CAAC,IAAI,GAAG,IAAI,CAAC;IACrB,QAAQ,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,QAAQ,CAAC,SAAS,GAAG,SAAS,CAAC;IAC/B,QAAQ,CAAC,YAAY,GAAG,YAAY,CAAC;IACrC,QAAQ,CAAC,eAAe,GAAG,eAAe,CAAC;IAC3C,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,QAAQ,CAAC,0BAA0B,GAAG,0BAA0B,CAAC;IAEjE,QAAQ,CAAC,SAAS,GAAG,yBAAyB,CAAC,EAAE,UAAU,EAAE,EAAE,YAAY,CAAC,CAAC;IAE7E,OAAO,QAAQ,CAAC;AACjB,CAAC,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { GidsPopoverWebProps } from '@ganpatiinfo/gids-web-shared';
|
|
2
|
+
import { DomChildren } from '../../utils/domUtils.js';
|
|
3
|
+
export interface GidsPopoverDomProps extends GidsPopoverWebProps<DomChildren> {
|
|
4
|
+
extraClasses?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const GidsPopoverDom: ({ placement, htmlFor, extraClasses, children, }: GidsPopoverDomProps) => HTMLElement;
|
|
7
|
+
//# sourceMappingURL=GidsPopover.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GidsPopover.d.ts","sourceRoot":"","sources":["../../../src/components/GidsPopover/GidsPopover.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,mBAAmB,EAEnB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAoB,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAIxE,MAAM,WAAW,mBAAoB,SAAQ,mBAAmB,CAAC,WAAW,CAAC;IAC5E,YAAY,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,cAAc,GAAI,iDAK5B,mBAAmB,KAAG,WAcxB,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { GidsPopoverWebUtils, } from '@ganpatiinfo/gids-web-shared';
|
|
2
|
+
import { appendAsChildren } from '../../utils/domUtils.js';
|
|
3
|
+
const { getGidsPopoverClassNames } = GidsPopoverWebUtils;
|
|
4
|
+
export const GidsPopoverDom = ({ placement, htmlFor, extraClasses, children, }) => {
|
|
5
|
+
const popover = document.createElement('gids-popover');
|
|
6
|
+
popover.className = getGidsPopoverClassNames(extraClasses);
|
|
7
|
+
if (placement !== undefined) {
|
|
8
|
+
popover.setAttribute('placement', placement);
|
|
9
|
+
}
|
|
10
|
+
if (htmlFor !== undefined) {
|
|
11
|
+
popover.setAttribute('for', htmlFor);
|
|
12
|
+
}
|
|
13
|
+
appendAsChildren(popover, children);
|
|
14
|
+
return popover;
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=GidsPopover.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GidsPopover.js","sourceRoot":"","sources":["../../../src/components/GidsPopover/GidsPopover.ts"],"names":[],"mappings":"AAAA,OAAO,EAEN,mBAAmB,GACnB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,gBAAgB,EAAe,MAAM,yBAAyB,CAAC;AAExE,MAAM,EAAE,wBAAwB,EAAE,GAAG,mBAAmB,CAAC;AAMzD,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,EAC9B,SAAS,EACT,OAAO,EACP,YAAY,EACZ,QAAQ,GACa,EAAe,EAAE;IACtC,MAAM,OAAO,GAAG,QAAQ,CAAC,aAAa,CAAC,cAAc,CAAC,CAAC;IACvD,OAAO,CAAC,SAAS,GAAG,wBAAwB,CAAC,YAAY,CAAC,CAAC;IAE3D,IAAI,SAAS,KAAK,SAAS,EAAE,CAAC;QAC7B,OAAO,CAAC,YAAY,CAAC,WAAW,EAAE,SAAS,CAAC,CAAC;IAC9C,CAAC;IACD,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;QAC3B,OAAO,CAAC,YAAY,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtC,CAAC;IAED,gBAAgB,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;IAEpC,OAAO,OAAO,CAAC;AAChB,CAAC,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { GidsProgressCircleWebProps } from '@ganpatiinfo/gids-web-shared';
|
|
2
|
+
export interface GidsProgressCircleDomProps extends GidsProgressCircleWebProps {
|
|
3
|
+
extraClasses?: string;
|
|
4
|
+
}
|
|
5
|
+
export declare const GidsProgressCircleDom: ({ label, shape, value, breakpoint, chartLoading, chartLoaderSize, chartLoadingSupportingText, chartLoadingTitle, size, extraClasses, }: GidsProgressCircleDomProps) => HTMLElement;
|
|
6
|
+
//# sourceMappingURL=GidsProgressCircle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GidsProgressCircle.d.ts","sourceRoot":"","sources":["../../../src/components/GidsProgressCircle/GidsProgressCircle.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,0BAA0B,EAE1B,MAAM,8BAA8B,CAAC;AAMtC,MAAM,WAAW,0BAA2B,SAAQ,0BAA0B;IAC7E,YAAY,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,qBAAqB,GAAI,wIAWnC,0BAA0B,KAAG,WAqB/B,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { GidsProgressCircleWebUtils, } from '@ganpatiinfo/gids-web-shared';
|
|
2
|
+
const { getGidsProgressCircleClassNames } = GidsProgressCircleWebUtils;
|
|
3
|
+
export const GidsProgressCircleDom = ({ label, shape = 'circle', value = 0, breakpoint = 'desktop', chartLoading = false, chartLoaderSize, chartLoadingSupportingText, chartLoadingTitle, size = 'xxs', extraClasses, }) => {
|
|
4
|
+
const progressCircle = document.createElement('gids-progress-circle');
|
|
5
|
+
progressCircle.breakpoint = breakpoint;
|
|
6
|
+
progressCircle.size = size;
|
|
7
|
+
progressCircle.label = label;
|
|
8
|
+
progressCircle.value = value;
|
|
9
|
+
progressCircle.shape = shape;
|
|
10
|
+
progressCircle.chartLoading = chartLoading;
|
|
11
|
+
progressCircle.chartLoaderSize = chartLoaderSize;
|
|
12
|
+
progressCircle.chartLoadingTitle = chartLoadingTitle;
|
|
13
|
+
progressCircle.chartLoadingSupportingText = chartLoadingSupportingText;
|
|
14
|
+
progressCircle.className = getGidsProgressCircleClassNames({ breakpoint }, extraClasses);
|
|
15
|
+
return progressCircle;
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=GidsProgressCircle.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GidsProgressCircle.js","sourceRoot":"","sources":["../../../src/components/GidsProgressCircle/GidsProgressCircle.ts"],"names":[],"mappings":"AAAA,OAAO,EAEN,0BAA0B,GAC1B,MAAM,8BAA8B,CAAC;AAEtC,MAAM,EAAE,+BAA+B,EAAE,GAAG,0BAA0B,CAAC;AAQvE,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,EACrC,KAAK,EACL,KAAK,GAAG,QAAQ,EAChB,KAAK,GAAG,CAAC,EACT,UAAU,GAAG,SAAS,EACtB,YAAY,GAAG,KAAK,EACpB,eAAe,EACf,0BAA0B,EAC1B,iBAAiB,EACjB,IAAI,GAAG,KAAK,EACZ,YAAY,GACgB,EAAe,EAAE;IAC7C,MAAM,cAAc,GAAG,QAAQ,CAAC,aAAa,CAC5C,sBAAsB,CACO,CAAC;IAE/B,cAAc,CAAC,UAAU,GAAG,UAAU,CAAC;IACvC,cAAc,CAAC,IAAI,GAAG,IAAI,CAAC;IAC3B,cAAc,CAAC,KAAK,GAAG,KAAK,CAAC;IAC7B,cAAc,CAAC,KAAK,GAAG,KAAK,CAAC;IAC7B,cAAc,CAAC,KAAK,GAAG,KAAK,CAAC;IAC7B,cAAc,CAAC,YAAY,GAAG,YAAY,CAAC;IAC3C,cAAc,CAAC,eAAe,GAAG,eAAe,CAAC;IACjD,cAAc,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IACrD,cAAc,CAAC,0BAA0B,GAAG,0BAA0B,CAAC;IAEvE,cAAc,CAAC,SAAS,GAAG,+BAA+B,CACzD,EAAE,UAAU,EAAE,EACd,YAAY,CACZ,CAAC;IAEF,OAAO,cAAc,CAAC;AACvB,CAAC,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { GidsTooltipWebProps } from '@ganpatiinfo/gids-web-shared';
|
|
2
|
+
export interface GidsTooltipDomProps extends GidsTooltipWebProps {
|
|
3
|
+
extraClasses?: string;
|
|
4
|
+
}
|
|
5
|
+
export declare const GidsTooltipDom: ({ tooltipText, placement, htmlFor, showWithoutDelay, extraClasses, }: GidsTooltipDomProps) => HTMLElement;
|
|
6
|
+
//# sourceMappingURL=GidsTooltip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GidsTooltip.d.ts","sourceRoot":"","sources":["../../../src/components/GidsTooltip/GidsTooltip.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAKnE,MAAM,WAAW,mBAAoB,SAAQ,mBAAmB;IAC/D,YAAY,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,cAAc,GAAI,sEAM5B,mBAAmB,KAAG,WAqBxB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { GidsTooltipWebUtils } from '@ganpatiinfo/gids-web-shared';
|
|
2
|
+
const { getGidsTooltipClassNames } = GidsTooltipWebUtils;
|
|
3
|
+
export const GidsTooltipDom = ({ tooltipText, placement, htmlFor, showWithoutDelay, extraClasses, }) => {
|
|
4
|
+
const tooltip = document.createElement('gids-tooltip');
|
|
5
|
+
tooltip.className = getGidsTooltipClassNames(extraClasses);
|
|
6
|
+
if (tooltipText !== undefined) {
|
|
7
|
+
tooltip.setAttribute('tooltip-text', tooltipText);
|
|
8
|
+
}
|
|
9
|
+
if (placement !== undefined) {
|
|
10
|
+
tooltip.setAttribute('placement', placement);
|
|
11
|
+
}
|
|
12
|
+
if (htmlFor !== undefined) {
|
|
13
|
+
tooltip.setAttribute('for', htmlFor);
|
|
14
|
+
}
|
|
15
|
+
if (showWithoutDelay) {
|
|
16
|
+
tooltip.setAttribute('show-without-delay', '');
|
|
17
|
+
}
|
|
18
|
+
return tooltip;
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=GidsTooltip.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GidsTooltip.js","sourceRoot":"","sources":["../../../src/components/GidsTooltip/GidsTooltip.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAEnE,MAAM,EAAE,wBAAwB,EAAE,GAAG,mBAAmB,CAAC;AAMzD,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,EAC9B,WAAW,EACX,SAAS,EACT,OAAO,EACP,gBAAgB,EAChB,YAAY,GACS,EAAe,EAAE;IACtC,MAAM,OAAO,GAAG,QAAQ,CAAC,aAAa,CAAC,cAAc,CAAC,CAAC;IACvD,OAAO,CAAC,SAAS,GAAG,wBAAwB,CAAC,YAAY,CAAC,CAAC;IAE3D,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;QAC/B,OAAO,CAAC,YAAY,CAAC,cAAc,EAAE,WAAW,CAAC,CAAC;IACnD,CAAC;IAED,IAAI,SAAS,KAAK,SAAS,EAAE,CAAC;QAC7B,OAAO,CAAC,YAAY,CAAC,WAAW,EAAE,SAAS,CAAC,CAAC;IAC9C,CAAC;IAED,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;QAC3B,OAAO,CAAC,YAAY,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtC,CAAC;IAED,IAAI,gBAAgB,EAAE,CAAC;QACtB,OAAO,CAAC,YAAY,CAAC,oBAAoB,EAAE,EAAE,CAAC,CAAC;IAChD,CAAC;IAED,OAAO,OAAO,CAAC;AAChB,CAAC,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -71,8 +71,39 @@ export * from './components/GidsAccordionItemHeader/GidsAccordionItemHeader.js';
|
|
|
71
71
|
export * from './components/GidsAccordionItemContent/GidsAccordionItemContent.js';
|
|
72
72
|
export * from './components/GidsAccordionItem/GidsAccordionItem.js';
|
|
73
73
|
export * from './components/GidsAccordion/GidsAccordion.js';
|
|
74
|
+
export * from './components/GidsTooltip/GidsTooltip.js';
|
|
75
|
+
export * from './components/GidsPopover/GidsPopover.js';
|
|
76
|
+
export * from './components/GidsEditButton/GidsEditButton.js';
|
|
77
|
+
export * from './components/GidsListItem/GidsListItem.js';
|
|
78
|
+
export * from './components/GidsMenu/GidsMenu.js';
|
|
79
|
+
export * from './components/GidsMenuGroup/GidsMenuGroup.js';
|
|
80
|
+
export * from './components/GidsDropdownItem/GidsDropdownItem.js';
|
|
81
|
+
export * from './components/GidsDropdownMenu/GidsDropdownMenu.js';
|
|
82
|
+
export * from './components/GidsDropdownMenuGroup/GidsDropdownMenuGroup.js';
|
|
83
|
+
export * from './components/GidsDropdown/GidsDropdown.js';
|
|
84
|
+
export * from './components/GidsChevronButton/GidsChevronButton.js';
|
|
85
|
+
export * from './components/GidsDropdownField/GidsDropdownField.js';
|
|
86
|
+
export * from './components/GidsCalendarCell/GidsCalendarCell.js';
|
|
87
|
+
export * from './components/GidsDot/GidsDot.js';
|
|
88
|
+
export * from './components/GidsCalendarDayCell/GidsCalendarDayCell.js';
|
|
89
|
+
export * from './components/GidsCalendarMonthList/GidsCalendarMonthList.js';
|
|
90
|
+
export * from './components/GidsCalendarYearList/GidsCalendarYearList.js';
|
|
91
|
+
export * from './components/GidsDropdownPicker/GidsDropdownPicker.js';
|
|
92
|
+
export * from './components/GidsCalendarHeaderPanel/GidsCalendarHeaderPanel.js';
|
|
93
|
+
export * from './components/GidsCalendar/GidsCalendar.js';
|
|
94
|
+
export * from './components/GidsPageTitle/GidsPageTitle.js';
|
|
95
|
+
export * from './components/GidsChartLegendItem/GidsChartLegendItem.js';
|
|
96
|
+
export * from './components/GidsChartLegend/GidsChartLegend.js';
|
|
97
|
+
export * from './components/GidsLineChart/GidsLineChart.js';
|
|
98
|
+
export * from './components/GidsBarChart/GidsBarChart.js';
|
|
99
|
+
export * from './components/GidsPieChart/GidsPieChart.js';
|
|
100
|
+
export * from './components/GidsLevelGauge/GidsLevelGauge.js';
|
|
101
|
+
export * from './components/GidsProgressCircle/GidsProgressCircle.js';
|
|
102
|
+
export * from './components/GidsActivityGauge/GidsActivityGauge.js';
|
|
103
|
+
export * from './components/GidsChart/GidsChart.js';
|
|
74
104
|
/**
|
|
75
105
|
* Utilities
|
|
76
106
|
*/
|
|
77
107
|
export * from './utils/domUtils.js';
|
|
108
|
+
export * from './utils/childrenValidationUtils.js';
|
|
78
109
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,cAAc,uCAAuC,CAAC;AACtD,cAAc,yCAAyC,CAAC;AACxD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,mCAAmC,CAAC;AAClD,cAAc,uDAAuD,CAAC;AACtE,cAAc,qCAAqC,CAAC;AACpD,cAAc,mCAAmC,CAAC;AAClD,cAAc,wDAAwD,CAAC;AACvE,cAAc,yCAAyC,CAAC;AACxD,cAAc,mDAAmD,CAAC;AAClE,cAAc,0DAA0D,CAAC;AACzE,cAAc,oDAAoD,CAAC;AACnE,cAAc,sDAAsD,CAAC;AACrE,cAAc,2CAA2C,CAAC;AAC1D,cAAc,qCAAqC,CAAC;AACpD,cAAc,uCAAuC,CAAC;AACtD,cAAc,qDAAqD,CAAC;AACpE,cAAc,+CAA+C,CAAC;AAC9D,cAAc,iDAAiD,CAAC;AAChE,cAAc,qCAAqC,CAAC;AACpD,cAAc,uCAAuC,CAAC;A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