impact-ui 4.0.15 → 4.0.17

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.
Files changed (112) hide show
  1. package/README.md +3 -1
  2. package/dist/_virtual/index13.js +2 -2
  3. package/dist/_virtual/index14.js +2 -2
  4. package/dist/_virtual/index15.js +2 -2
  5. package/dist/components/CreateItemFlow/CreateItemFlow.types.d.ts +39 -16
  6. package/dist/components/CreateItemFlow/CreateItemFlow.types.d.ts.map +1 -1
  7. package/dist/components/CreateItemFlow/index.d.ts +2 -1
  8. package/dist/components/CreateItemFlow/index.d.ts.map +1 -1
  9. package/dist/components/CreateItemFlow/index.js +116 -66
  10. package/dist/components/DatePicker/datePickerDropdown.d.ts.map +1 -1
  11. package/dist/components/DatePicker/datePickerDropdown.js +3 -0
  12. package/dist/components/DatePicker/datePickerFooter.d.ts +3 -1
  13. package/dist/components/DatePicker/datePickerFooter.d.ts.map +1 -1
  14. package/dist/components/DatePicker/datePickerFooter.js +24 -2
  15. package/dist/components/DateRangePicker/dateRangePickerDropdown.d.ts +1 -1
  16. package/dist/components/DateRangePicker/dateRangePickerDropdown.d.ts.map +1 -1
  17. package/dist/components/DateRangePicker/dateRangePickerDropdown.js +35 -12
  18. package/dist/components/DateRangePicker/dateRangePickerFooter.d.ts +1 -1
  19. package/dist/components/DateRangePicker/dateRangePickerFooter.d.ts.map +1 -1
  20. package/dist/components/DateRangePicker/dateRangePickerFooter.js +5 -3
  21. package/dist/components/DateRangePicker/index.d.ts.map +1 -1
  22. package/dist/components/DateRangePicker/index.js +2 -0
  23. package/dist/components/DynamicLayout/index.d.ts +9 -12
  24. package/dist/components/DynamicLayout/index.d.ts.map +1 -1
  25. package/dist/components/DynamicLayout/index.js +37 -34
  26. package/dist/components/Header/index.js +2 -2
  27. package/dist/components/NewCreateItemFlow/NewCreateItemFlow.types.d.ts +21 -0
  28. package/dist/components/NewCreateItemFlow/NewCreateItemFlow.types.d.ts.map +1 -0
  29. package/dist/components/NewCreateItemFlow/index.d.ts +5 -0
  30. package/dist/components/NewCreateItemFlow/index.d.ts.map +1 -0
  31. package/dist/components/NewCreateItemFlow/index.js +93 -0
  32. package/dist/components/NewDynamicLayout/NewDynamicLayout.types.d.ts +26 -0
  33. package/dist/components/NewDynamicLayout/NewDynamicLayout.types.d.ts.map +1 -0
  34. package/dist/components/NewDynamicLayout/index.d.ts +15 -0
  35. package/dist/components/NewDynamicLayout/index.d.ts.map +1 -0
  36. package/dist/components/NewDynamicLayout/index.js +45 -0
  37. package/dist/components/Notification/NotificationBody/NotificationList/NotificationListItem.d.ts.map +1 -1
  38. package/dist/components/Notification/NotificationBody/NotificationList/NotificationListItem.js +6 -31
  39. package/dist/components/Notification/NotificationBody/NotificationPanelContent.js +2 -2
  40. package/dist/components/Notification/NotificationBody/NotificationTaskList.js +1 -2
  41. package/dist/components/Notification/index.js +1 -1
  42. package/dist/components/Table/AgGridHeader.d.ts.map +1 -1
  43. package/dist/components/Table/AgGridHeader.js +3 -1
  44. package/dist/components/Table/NewAdvanceSearchModal/NewAdvanceSearchModalItem.js +1 -1
  45. package/dist/components/Table/Table.types.d.ts +4 -0
  46. package/dist/components/Table/Table.types.d.ts.map +1 -1
  47. package/dist/components/Table/filterUtils.d.ts +13 -0
  48. package/dist/components/Table/filterUtils.d.ts.map +1 -1
  49. package/dist/components/Table/filterUtils.js +18 -9
  50. package/dist/components/Table/index.d.ts.map +1 -1
  51. package/dist/components/Table/index.js +15 -5
  52. package/dist/components/Table/tableFunctions.d.ts +1 -0
  53. package/dist/components/Table/tableFunctions.d.ts.map +1 -1
  54. package/dist/components/Table/tableFunctions.js +2 -2
  55. package/dist/components/Table/tableHeader.d.ts +2 -1
  56. package/dist/components/Table/tableHeader.d.ts.map +1 -1
  57. package/dist/components/Table/tableHeader.js +2 -0
  58. package/dist/components/Table/tableMoreOptions.d.ts +2 -1
  59. package/dist/components/Table/tableMoreOptions.d.ts.map +1 -1
  60. package/dist/components/Table/tableMoreOptions.js +58 -14
  61. package/dist/components/Table/tableSettings.d.ts.map +1 -1
  62. package/dist/components/Table/tableSettings.js +3 -2
  63. package/dist/components/TableOld/index.d.ts.map +1 -1
  64. package/dist/components/TableOld/index.js +36 -10
  65. package/dist/components/TableOld/tableFunctions.d.ts +1 -0
  66. package/dist/components/TableOld/tableFunctions.d.ts.map +1 -1
  67. package/dist/components/TableOld/tableFunctions.js +2 -2
  68. package/dist/components/TableOld/tableHeader.d.ts +2 -1
  69. package/dist/components/TableOld/tableHeader.d.ts.map +1 -1
  70. package/dist/components/TableOld/tableHeader.js +2 -0
  71. package/dist/components/index.d.ts +5 -1
  72. package/dist/components/index.d.ts.map +1 -1
  73. package/dist/components/index.js +4 -0
  74. package/dist/components/shared/tableColumnSettings/agGridColumnSettingsApi.d.ts +17 -0
  75. package/dist/components/shared/tableColumnSettings/agGridColumnSettingsApi.d.ts.map +1 -0
  76. package/dist/components/shared/tableColumnSettings/agGridColumnSettingsApi.js +52 -0
  77. package/dist/components/shared/tableColumnSettings/columnsSettingsColumnRow.d.ts +12 -0
  78. package/dist/components/shared/tableColumnSettings/columnsSettingsColumnRow.d.ts.map +1 -0
  79. package/dist/components/shared/tableColumnSettings/columnsSettingsColumnRow.js +264 -0
  80. package/dist/components/shared/tableColumnSettings/columnsSettingsVirtualList.d.ts +39 -0
  81. package/dist/components/shared/tableColumnSettings/columnsSettingsVirtualList.d.ts.map +1 -0
  82. package/dist/components/shared/tableColumnSettings/columnsSettingsVirtualList.js +298 -0
  83. package/dist/components/shared/tableColumnSettings/columnsTabV36.d.ts +2 -0
  84. package/dist/components/shared/tableColumnSettings/columnsTabV36.d.ts.map +1 -0
  85. package/dist/components/shared/tableColumnSettings/columnsTabV36.js +1531 -0
  86. package/dist/components/shared/tableColumnSettings/index.d.ts +4 -0
  87. package/dist/components/shared/tableColumnSettings/index.d.ts.map +1 -0
  88. package/dist/components/shared/tableColumnSettings/tableSettingsV36.d.ts +41 -0
  89. package/dist/components/shared/tableColumnSettings/tableSettingsV36.d.ts.map +1 -0
  90. package/dist/components/shared/tableColumnSettings/tableSettingsV36.js +328 -0
  91. package/dist/i18n/I18nContext.d.ts.map +1 -1
  92. package/dist/i18n/I18nContext.js +1 -0
  93. package/dist/locales/de-DE.json.d.ts +12 -0
  94. package/dist/locales/de-DE.json.js +12 -0
  95. package/dist/locales/en-US.json.d.ts +13 -1
  96. package/dist/locales/en-US.json.js +13 -1
  97. package/dist/locales/es-ES.json.d.ts +678 -0
  98. package/dist/locales/es-ES.json.js +611 -0
  99. package/dist/locales/index.d.ts.map +1 -1
  100. package/dist/locales/index.js +11 -3
  101. package/dist/mcp-component-registry.json +102 -60
  102. package/dist/node_modules/@impactsmartsuite/impact-icons/dist/index.js +128 -75
  103. package/dist/node_modules/call-bind/index.js +1 -1
  104. package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +1 -1
  105. package/dist/node_modules/moment/dist/locale/es.js +98 -0
  106. package/dist/node_modules/react-with-styles-interface-css/dist/index.js +1 -1
  107. package/dist/stories/LocaleDictionaryCollapse.d.ts.map +1 -1
  108. package/dist/stories/tableStoryDefaults.d.ts +18 -0
  109. package/dist/stories/tableStoryDefaults.d.ts.map +1 -0
  110. package/dist/stories/tableStoryManyColumns.d.ts +44 -0
  111. package/dist/stories/tableStoryManyColumns.d.ts.map +1 -0
  112. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { __module as reactIs } from "../../../../_virtual/index13.js";
1
+ import { __module as reactIs } from "../../../../_virtual/index15.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
  if (process.env.NODE_ENV === "production") {
@@ -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 { __exports as dist } from "../../../_virtual/index14.js";
1
+ import { __exports as dist } from "../../../_virtual/index13.js";
2
2
  import require$$0 from "@babel/runtime/helpers/interopRequireDefault";
3
3
  import { __require as requireArray_prototype_flat } from "../../array.prototype.flat/index.js";
4
4
  import { __require as requireGlobalCache } from "../../global-cache/index.js";
@@ -1 +1 @@
1
- {"version":3,"file":"LocaleDictionaryCollapse.d.ts","sourceRoot":"","sources":["../../src/stories/LocaleDictionaryCollapse.tsx"],"names":[],"mappings":"AA0BA;;;GAGG;AACH,wBAAgB,wBAAwB,4CAoBvC"}
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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impact-ui",
3
- "version": "4.0.15",
3
+ "version": "4.0.17",
4
4
  "description": "Impact Analytics UI library",
5
5
  "type": "module",
6
6
  "main": "./dist/components/index.js",