impact-ui 4.0.15 → 4.0.16
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/README.md +3 -1
- package/dist/_virtual/index3.js +2 -4
- package/dist/_virtual/index4.js +2 -4
- package/dist/_virtual/index5.js +4 -2
- package/dist/_virtual/index6.js +4 -2
- package/dist/components/CreateItemFlow/CreateItemFlow.types.d.ts +39 -16
- package/dist/components/CreateItemFlow/CreateItemFlow.types.d.ts.map +1 -1
- package/dist/components/CreateItemFlow/index.d.ts +2 -1
- package/dist/components/CreateItemFlow/index.d.ts.map +1 -1
- package/dist/components/CreateItemFlow/index.js +116 -66
- package/dist/components/DatePicker/datePickerDropdown.d.ts.map +1 -1
- package/dist/components/DatePicker/datePickerDropdown.js +3 -0
- package/dist/components/DatePicker/datePickerFooter.d.ts +3 -1
- package/dist/components/DatePicker/datePickerFooter.d.ts.map +1 -1
- package/dist/components/DatePicker/datePickerFooter.js +24 -2
- package/dist/components/DateRangePicker/dateRangePickerDropdown.d.ts +1 -1
- package/dist/components/DateRangePicker/dateRangePickerDropdown.d.ts.map +1 -1
- package/dist/components/DateRangePicker/dateRangePickerDropdown.js +35 -12
- package/dist/components/DateRangePicker/dateRangePickerFooter.d.ts +1 -1
- package/dist/components/DateRangePicker/dateRangePickerFooter.d.ts.map +1 -1
- package/dist/components/DateRangePicker/dateRangePickerFooter.js +5 -3
- package/dist/components/DateRangePicker/index.d.ts.map +1 -1
- package/dist/components/DateRangePicker/index.js +2 -0
- package/dist/components/DynamicLayout/index.d.ts +9 -12
- package/dist/components/DynamicLayout/index.d.ts.map +1 -1
- package/dist/components/DynamicLayout/index.js +37 -34
- package/dist/components/Header/index.js +2 -2
- package/dist/components/NewCreateItemFlow/NewCreateItemFlow.types.d.ts +21 -0
- package/dist/components/NewCreateItemFlow/NewCreateItemFlow.types.d.ts.map +1 -0
- package/dist/components/NewCreateItemFlow/index.d.ts +5 -0
- package/dist/components/NewCreateItemFlow/index.d.ts.map +1 -0
- package/dist/components/NewCreateItemFlow/index.js +93 -0
- package/dist/components/NewDynamicLayout/NewDynamicLayout.types.d.ts +26 -0
- package/dist/components/NewDynamicLayout/NewDynamicLayout.types.d.ts.map +1 -0
- package/dist/components/NewDynamicLayout/index.d.ts +15 -0
- package/dist/components/NewDynamicLayout/index.d.ts.map +1 -0
- package/dist/components/NewDynamicLayout/index.js +45 -0
- package/dist/components/Notification/NotificationBody/NotificationList/NotificationListItem.d.ts.map +1 -1
- package/dist/components/Notification/NotificationBody/NotificationList/NotificationListItem.js +6 -31
- package/dist/components/Notification/NotificationBody/NotificationPanelContent.js +2 -2
- package/dist/components/Notification/NotificationBody/NotificationTaskList.js +1 -2
- package/dist/components/Notification/index.js +1 -1
- package/dist/components/Table/AgGridHeader.d.ts.map +1 -1
- package/dist/components/Table/AgGridHeader.js +3 -1
- package/dist/components/Table/NewAdvanceSearchModal/NewAdvanceSearchModalItem.js +1 -1
- package/dist/components/Table/Table.types.d.ts +4 -0
- package/dist/components/Table/Table.types.d.ts.map +1 -1
- package/dist/components/Table/filterUtils.d.ts +13 -0
- package/dist/components/Table/filterUtils.d.ts.map +1 -1
- package/dist/components/Table/filterUtils.js +18 -9
- package/dist/components/Table/index.d.ts.map +1 -1
- package/dist/components/Table/index.js +11 -4
- package/dist/components/Table/tableFunctions.d.ts +1 -0
- package/dist/components/Table/tableFunctions.d.ts.map +1 -1
- package/dist/components/Table/tableHeader.d.ts +2 -1
- package/dist/components/Table/tableHeader.d.ts.map +1 -1
- package/dist/components/Table/tableHeader.js +2 -0
- package/dist/components/Table/tableMoreOptions.d.ts +2 -1
- package/dist/components/Table/tableMoreOptions.d.ts.map +1 -1
- package/dist/components/Table/tableMoreOptions.js +58 -14
- package/dist/components/Table/tableSettings.d.ts.map +1 -1
- package/dist/components/Table/tableSettings.js +3 -2
- package/dist/components/TableOld/index.d.ts.map +1 -1
- package/dist/components/TableOld/index.js +23 -9
- package/dist/components/TableOld/tableFunctions.d.ts +1 -0
- package/dist/components/TableOld/tableFunctions.d.ts.map +1 -1
- package/dist/components/TableOld/tableHeader.d.ts +2 -1
- package/dist/components/TableOld/tableHeader.d.ts.map +1 -1
- package/dist/components/TableOld/tableHeader.js +2 -0
- package/dist/components/index.d.ts +5 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +4 -0
- package/dist/components/shared/tableColumnSettings/agGridColumnSettingsApi.d.ts +17 -0
- package/dist/components/shared/tableColumnSettings/agGridColumnSettingsApi.d.ts.map +1 -0
- package/dist/components/shared/tableColumnSettings/agGridColumnSettingsApi.js +52 -0
- package/dist/components/shared/tableColumnSettings/columnsSettingsColumnRow.d.ts +12 -0
- package/dist/components/shared/tableColumnSettings/columnsSettingsColumnRow.d.ts.map +1 -0
- package/dist/components/shared/tableColumnSettings/columnsSettingsColumnRow.js +262 -0
- package/dist/components/shared/tableColumnSettings/columnsSettingsVirtualList.d.ts +39 -0
- package/dist/components/shared/tableColumnSettings/columnsSettingsVirtualList.d.ts.map +1 -0
- package/dist/components/shared/tableColumnSettings/columnsSettingsVirtualList.js +294 -0
- package/dist/components/shared/tableColumnSettings/columnsTabV36.d.ts +4 -0
- package/dist/components/shared/tableColumnSettings/columnsTabV36.d.ts.map +1 -0
- package/dist/components/shared/tableColumnSettings/columnsTabV36.js +1523 -0
- package/dist/components/shared/tableColumnSettings/index.d.ts +4 -0
- package/dist/components/shared/tableColumnSettings/index.d.ts.map +1 -0
- package/dist/components/shared/tableColumnSettings/tableSettingsV36.d.ts +41 -0
- package/dist/components/shared/tableColumnSettings/tableSettingsV36.d.ts.map +1 -0
- package/dist/components/shared/tableColumnSettings/tableSettingsV36.js +327 -0
- package/dist/i18n/I18nContext.d.ts.map +1 -1
- package/dist/i18n/I18nContext.js +1 -0
- package/dist/locales/en-US.json.d.ts +1 -1
- package/dist/locales/en-US.json.js +1 -1
- package/dist/locales/es-ES.json.d.ts +666 -0
- package/dist/locales/es-ES.json.js +599 -0
- package/dist/locales/index.d.ts.map +1 -1
- package/dist/locales/index.js +11 -3
- package/dist/mcp-component-registry.json +101 -59
- package/dist/node_modules/@impactsmartsuite/impact-icons/dist/index.js +128 -75
- package/dist/node_modules/@mui/system/colorManipulator.js +2 -2
- package/dist/node_modules/moment/dist/locale/es.js +98 -0
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/react-is/index.js +1 -1
- package/dist/stories/LocaleDictionaryCollapse.d.ts.map +1 -1
- package/dist/stories/tableStoryDefaults.d.ts +18 -0
- package/dist/stories/tableStoryDefaults.d.ts.map +1 -0
- package/dist/stories/tableStoryManyColumns.d.ts +44 -0
- package/dist/stories/tableStoryManyColumns.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import hooks from "../moment.js";
|
|
2
|
+
//! moment.js locale configuration
|
|
3
|
+
//! locale : Spanish [es]
|
|
4
|
+
//! author : Julio Napurí : https://github.com/julionc
|
|
5
|
+
var monthsShortDot = "ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split(
|
|
6
|
+
"_"
|
|
7
|
+
), monthsShort = "ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"), monthsParse = [
|
|
8
|
+
/^ene/i,
|
|
9
|
+
/^feb/i,
|
|
10
|
+
/^mar/i,
|
|
11
|
+
/^abr/i,
|
|
12
|
+
/^may/i,
|
|
13
|
+
/^jun/i,
|
|
14
|
+
/^jul/i,
|
|
15
|
+
/^ago/i,
|
|
16
|
+
/^sep/i,
|
|
17
|
+
/^oct/i,
|
|
18
|
+
/^nov/i,
|
|
19
|
+
/^dic/i
|
|
20
|
+
], monthsRegex = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;
|
|
21
|
+
hooks.defineLocale("es", {
|
|
22
|
+
months: "enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split(
|
|
23
|
+
"_"
|
|
24
|
+
),
|
|
25
|
+
monthsShort: function(m, format) {
|
|
26
|
+
if (!m) {
|
|
27
|
+
return monthsShortDot;
|
|
28
|
+
} else if (/-MMM-/.test(format)) {
|
|
29
|
+
return monthsShort[m.month()];
|
|
30
|
+
} else {
|
|
31
|
+
return monthsShortDot[m.month()];
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
monthsRegex,
|
|
35
|
+
monthsShortRegex: monthsRegex,
|
|
36
|
+
monthsStrictRegex: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
|
|
37
|
+
monthsShortStrictRegex: /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
|
|
38
|
+
monthsParse,
|
|
39
|
+
longMonthsParse: monthsParse,
|
|
40
|
+
shortMonthsParse: monthsParse,
|
|
41
|
+
weekdays: "domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),
|
|
42
|
+
weekdaysShort: "dom._lun._mar._mié._jue._vie._sáb.".split("_"),
|
|
43
|
+
weekdaysMin: "do_lu_ma_mi_ju_vi_sá".split("_"),
|
|
44
|
+
weekdaysParseExact: true,
|
|
45
|
+
longDateFormat: {
|
|
46
|
+
LT: "H:mm",
|
|
47
|
+
LTS: "H:mm:ss",
|
|
48
|
+
L: "DD/MM/YYYY",
|
|
49
|
+
LL: "D [de] MMMM [de] YYYY",
|
|
50
|
+
LLL: "D [de] MMMM [de] YYYY H:mm",
|
|
51
|
+
LLLL: "dddd, D [de] MMMM [de] YYYY H:mm"
|
|
52
|
+
},
|
|
53
|
+
calendar: {
|
|
54
|
+
sameDay: function() {
|
|
55
|
+
return "[hoy a la" + (this.hours() !== 1 ? "s" : "") + "] LT";
|
|
56
|
+
},
|
|
57
|
+
nextDay: function() {
|
|
58
|
+
return "[mañana a la" + (this.hours() !== 1 ? "s" : "") + "] LT";
|
|
59
|
+
},
|
|
60
|
+
nextWeek: function() {
|
|
61
|
+
return "dddd [a la" + (this.hours() !== 1 ? "s" : "") + "] LT";
|
|
62
|
+
},
|
|
63
|
+
lastDay: function() {
|
|
64
|
+
return "[ayer a la" + (this.hours() !== 1 ? "s" : "") + "] LT";
|
|
65
|
+
},
|
|
66
|
+
lastWeek: function() {
|
|
67
|
+
return "[el] dddd [pasado a la" + (this.hours() !== 1 ? "s" : "") + "] LT";
|
|
68
|
+
},
|
|
69
|
+
sameElse: "L"
|
|
70
|
+
},
|
|
71
|
+
relativeTime: {
|
|
72
|
+
future: "en %s",
|
|
73
|
+
past: "hace %s",
|
|
74
|
+
s: "unos segundos",
|
|
75
|
+
ss: "%d segundos",
|
|
76
|
+
m: "un minuto",
|
|
77
|
+
mm: "%d minutos",
|
|
78
|
+
h: "una hora",
|
|
79
|
+
hh: "%d horas",
|
|
80
|
+
d: "un día",
|
|
81
|
+
dd: "%d días",
|
|
82
|
+
w: "una semana",
|
|
83
|
+
ww: "%d semanas",
|
|
84
|
+
M: "un mes",
|
|
85
|
+
MM: "%d meses",
|
|
86
|
+
y: "un año",
|
|
87
|
+
yy: "%d años"
|
|
88
|
+
},
|
|
89
|
+
dayOfMonthOrdinalParse: /\d{1,2}º/,
|
|
90
|
+
ordinal: "%dº",
|
|
91
|
+
week: {
|
|
92
|
+
dow: 1,
|
|
93
|
+
// Monday is the first day of the week.
|
|
94
|
+
doy: 4
|
|
95
|
+
// The week that contains Jan 4th is the first week of the year.
|
|
96
|
+
},
|
|
97
|
+
invalidDate: "Fecha inválida"
|
|
98
|
+
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __module as reactIs } from "../../../../_virtual/
|
|
1
|
+
import { __module as reactIs } from "../../../../_virtual/index4.js";
|
|
2
2
|
import { __require as requireReactIs_production_min } from "./cjs/react-is.production.min.js";
|
|
3
3
|
import { __require as requireReactIs_development } from "./cjs/react-is.development.js";
|
|
4
4
|
var hasRequiredReactIs;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __module as reactIs } from "../../_virtual/
|
|
1
|
+
import { __module as reactIs } from "../../_virtual/index3.js";
|
|
2
2
|
import { __require as requireReactIs_production } from "./cjs/react-is.production.js";
|
|
3
3
|
import { __require as requireReactIs_development } from "./cjs/react-is.development.js";
|
|
4
4
|
if (process.env.NODE_ENV === "production") {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LocaleDictionaryCollapse.d.ts","sourceRoot":"","sources":["../../src/stories/LocaleDictionaryCollapse.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"LocaleDictionaryCollapse.d.ts","sourceRoot":"","sources":["../../src/stories/LocaleDictionaryCollapse.tsx"],"names":[],"mappings":"AAiCA;;;GAGG;AACH,wBAAgB,wBAAwB,4CAoBvC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/** Default Table / OldTable column settings mode in Storybook (toggle in Controls). */
|
|
2
|
+
export declare const STORY_COLUMN_SETTINGS_MODE = "v36";
|
|
3
|
+
export declare const tableColumnSettingsArgType: {
|
|
4
|
+
description: string;
|
|
5
|
+
control: {
|
|
6
|
+
type: string;
|
|
7
|
+
};
|
|
8
|
+
options: string[];
|
|
9
|
+
table: {
|
|
10
|
+
defaultValue: {
|
|
11
|
+
summary: string;
|
|
12
|
+
};
|
|
13
|
+
type: {
|
|
14
|
+
summary: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=tableStoryDefaults.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tableStoryDefaults.d.ts","sourceRoot":"","sources":["../../src/stories/tableStoryDefaults.ts"],"names":[],"mappings":"AAAA,uFAAuF;AACvF,eAAO,MAAM,0BAA0B,QAAQ,CAAC;AAEhD,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;CAStC,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/** Default column count for Table Settings scale stories (virtual list kicks in above 300). */
|
|
2
|
+
export declare const TABLE_SETTINGS_STORY_COLUMN_COUNT = 500;
|
|
3
|
+
export declare const TABLE_SETTINGS_STORY_ROW_COUNT = 20;
|
|
4
|
+
export interface ManyColumnsStoryOptions {
|
|
5
|
+
columnCount?: number;
|
|
6
|
+
rowCount?: number;
|
|
7
|
+
pinFirst?: number;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Flat column defs + row data for Table / OldTable column-settings stress tests.
|
|
11
|
+
*/
|
|
12
|
+
export declare function buildManyColumnsStoryData(options?: ManyColumnsStoryOptions): {
|
|
13
|
+
columnDefs: {
|
|
14
|
+
pinned?: string | undefined;
|
|
15
|
+
field: string;
|
|
16
|
+
headerName: string;
|
|
17
|
+
filter: string;
|
|
18
|
+
sortable: boolean;
|
|
19
|
+
}[];
|
|
20
|
+
rowData: Record<string, string | number>[];
|
|
21
|
+
columnCount: number;
|
|
22
|
+
rowCount: number;
|
|
23
|
+
};
|
|
24
|
+
export declare const manyColumnsStoryArgs: (options?: ManyColumnsStoryOptions) => {
|
|
25
|
+
tableHeader: string;
|
|
26
|
+
cardContainer: boolean;
|
|
27
|
+
columnDefs: {
|
|
28
|
+
pinned?: string | undefined;
|
|
29
|
+
field: string;
|
|
30
|
+
headerName: string;
|
|
31
|
+
filter: string;
|
|
32
|
+
sortable: boolean;
|
|
33
|
+
}[];
|
|
34
|
+
rowData: Record<string, string | number>[];
|
|
35
|
+
defaultColDef: {
|
|
36
|
+
sortable: boolean;
|
|
37
|
+
resizable: boolean;
|
|
38
|
+
};
|
|
39
|
+
domLayout: string;
|
|
40
|
+
height: string;
|
|
41
|
+
pagination: boolean;
|
|
42
|
+
suppressHorizontalScroll: boolean;
|
|
43
|
+
};
|
|
44
|
+
//# sourceMappingURL=tableStoryManyColumns.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tableStoryManyColumns.d.ts","sourceRoot":"","sources":["../../src/stories/tableStoryManyColumns.ts"],"names":[],"mappings":"AAAA,+FAA+F;AAC/F,eAAO,MAAM,iCAAiC,MAAM,CAAC;AAErD,eAAO,MAAM,8BAA8B,KAAK,CAAC;AAEjD,MAAM,WAAW,uBAAuB;IACtC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,OAAO,GAAE,uBAA4B;;;;;;;;;;;EA2B9E;AAED,eAAO,MAAM,oBAAoB,GAAI,UAAU,uBAAuB;;;;;;;;;;;;;;;;;;;CAarE,CAAC"}
|