@frollo/frollo-web-ui 8.5.1 → 8.5.3

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 (35) hide show
  1. package/cjs/index.js +185 -166
  2. package/esm/fw-accordion.js +1 -1
  3. package/esm/fw-animations.js +2 -2
  4. package/esm/{fw-button-BhZXMN8a.js → fw-button-DNozvo7B.js} +1 -1
  5. package/esm/fw-button.js +3 -3
  6. package/esm/fw-date-picker.js +1 -1
  7. package/esm/fw-drawer.js +3 -3
  8. package/esm/{fw-dropdown-ClttctHK.js → fw-dropdown-CbgOvgOt.js} +2 -2
  9. package/esm/fw-dropdown.js +3 -3
  10. package/esm/{fw-image-6o3ZOSCW.js → fw-image-Dl96Dc27.js} +1 -1
  11. package/esm/fw-image.js +2 -2
  12. package/esm/{fw-loading-spinner-CFFbujSq.js → fw-loading-spinner-BFpFFRJm.js} +1 -1
  13. package/esm/fw-media-picker.js +3 -3
  14. package/esm/fw-modal.js +3 -3
  15. package/esm/fw-navigation-menu.js +3 -3
  16. package/esm/fw-period-selector.js +3 -3
  17. package/esm/fw-provider-list.js +7 -7
  18. package/esm/fw-sidebar-menu.js +3 -3
  19. package/esm/{fw-table-row-BlpxQ10C.js → fw-table-row-BetVCzHJ.js} +18 -11
  20. package/esm/fw-table.js +4 -4
  21. package/esm/{fw-tag-DgsnsY7O.js → fw-tag-V0jMl-It.js} +2 -2
  22. package/esm/fw-tag.js +4 -4
  23. package/esm/fw-toast.js +1 -1
  24. package/esm/fw-transactions-card.js +2 -2
  25. package/esm/{index-BjXtr7CR.js → index-CzZMBMV_.js} +128 -114
  26. package/esm/index.js +7 -7
  27. package/frollo-web-ui.esm.js +187 -166
  28. package/icons/copy-chain.svg +3 -0
  29. package/icons/index.ts +3 -1
  30. package/index.d.ts +4 -2
  31. package/package.json +1 -1
  32. package/types/components/fw-table/fw-table.vue.d.ts +1 -1
  33. package/types/components/fw-table/index.types.d.ts +2 -0
  34. package/types/icons/index.d.ts +2 -1
  35. package/web-components/index.js +190 -169
@@ -0,0 +1,3 @@
1
+ <svg viewBox="0 0 19 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M4.85777 4.10932C6.61402 2.35214 9.4609 2.35214 11.2171 4.10932C12.889 5.7812 12.9796 8.46557 11.4203 10.2468L11.2546 10.4374C10.9796 10.7499 10.5078 10.7812 10.1953 10.5093C9.88277 10.2374 9.85152 9.76245 10.1234 9.44995L10.2921 9.25932C11.3296 8.07182 11.2703 6.28432 10.1546 5.1687C8.9859 3.97182 7.08902 3.97182 5.89215 5.1687L2.37746 8.70932C1.20746 9.8812 1.20746 11.7781 2.37746 12.9468C3.49215 14.0343 5.28277 14.1218 6.46715 13.0843L6.6609 12.9156C6.97027 12.6437 7.44527 12.6749 7.71715 12.9874C7.99215 13.2968 7.95777 13.7718 7.6484 14.0437L7.45465 14.2124C5.6734 15.7687 2.98902 15.6812 1.31684 14.0062C-0.438945 12.2531 -0.438945 9.37807 1.31684 7.64995L4.85777 4.10932ZM14.0453 11.8906C12.289 13.6468 9.44215 13.6468 7.6859 11.8906C5.9859 10.1906 5.9234 7.53432 7.47965 5.75307L7.62652 5.58432C7.8984 5.27182 8.3734 5.24057 8.6859 5.51245C8.9984 5.78432 9.02965 6.25932 8.75777 6.57182L8.6109 6.74057C7.57027 7.92807 7.63277 9.71557 8.74527 10.8312C9.91715 11.9999 11.814 11.9999 12.9859 10.8312L16.5265 7.29057C17.6953 6.1187 17.6953 4.22182 16.5265 3.05307C15.4109 1.93807 13.6203 1.87839 12.4359 2.91714L12.2421 3.08432C11.9328 3.3562 11.4578 3.32495 11.1859 3.0137C10.9109 2.70214 10.9453 2.22807 11.2546 1.95557L11.4484 1.78807C13.2296 0.229574 15.914 0.319011 17.5859 1.99245C19.3421 3.74682 19.3421 6.5937 17.5859 8.34995L14.0453 11.8906Z"/>
3
+ </svg>
package/icons/index.ts CHANGED
@@ -45,6 +45,7 @@ import CloudArrowUpSvg from './cloud-arrow-up.svg';
45
45
  import GuideSvg from './guide.svg';
46
46
  import ArrowsRotateSvg from './arrows-rotate.svg';
47
47
  import InfoCircleRegularSvg from './info-circle-regular.svg';
48
+ import CopyChainSvg from './copy-chain.svg';
48
49
 
49
50
  export {
50
51
  ViewSvg,
@@ -93,5 +94,6 @@ export {
93
94
  CloudArrowUpSvg,
94
95
  GuideSvg,
95
96
  ArrowsRotateSvg,
96
- InfoCircleRegularSvg
97
+ InfoCircleRegularSvg,
98
+ CopyChainSvg
97
99
  };
package/index.d.ts CHANGED
@@ -1314,12 +1314,14 @@ declare interface FwTagProps {
1314
1314
 
1315
1315
  declare type FwTableItem = Record<string, string | number>;
1316
1316
  declare type FwTableFormatFunction = (value: string | number | object) => string;
1317
+ declare type FwTableSortFunction = (items: FwTableItem[], columnName: string, sortDirection?: FwTableSort) => FwTableItem[] | undefined;
1317
1318
  declare type FwTableSort = 'asc' | 'desc';
1318
1319
  declare type FwTableItemOptions = Record<string, {
1319
1320
  formatter?: FwTableFormatFunction;
1320
1321
  isSortable?: boolean;
1321
1322
  disabled?: boolean;
1322
1323
  initSortOrder?: FwTableSort;
1324
+ sort?: FwTableSortFunction;
1323
1325
  }>;
1324
1326
  declare interface FwTableProps {
1325
1327
  items: FwTableItem[];
@@ -1584,7 +1586,7 @@ declare const __default__$5: vue.DefineComponent<{
1584
1586
  sortBy: vue.Ref<string>;
1585
1587
  sortDirection: vue.Ref<FwTableSort>;
1586
1588
  sortColumn: (column: string, isAction?: boolean) => void;
1587
- sortedData: vue.ComputedRef<FwTableItem[]>;
1589
+ sortedData: vue.ComputedRef<FwTableItem[] | undefined>;
1588
1590
  currentSortedColumn: vue.Ref<string>;
1589
1591
  sortedIcon: (sortDir: string, column: string) => boolean;
1590
1592
  formattedText: (row: FwTableItem, column: string) => string | number;
@@ -3207,4 +3209,4 @@ declare const install: Exclude<Plugin['install'], undefined>;
3207
3209
 
3208
3210
  declare module '@frollo/frollo-web-ui/icons' { }
3209
3211
 
3210
- export { type ButtonAnimation, type ButtonDefinition, type ButtonDefinitionList, type ButtonSize, type ButtonSizes, type ButtonTypeAttribute, type ButtonVariantName, __default__$4 as FwAccordion, type FwAccordionProps, _default$7 as FwBarChart, type FwBarChartProps, type FwBarGraphData, _default$l as FwButton, type FwButtonProps, _default$m as FwCard, type FwCardProps, _default$o as FwCheckbox, type FwCheckboxProps, __default__$3 as FwDatePicker, type FwDatePickerProps, _default$5 as FwDrawer, type FwDrawerProps, _default$n as FwDropdown, type FwDropdownOption, type FwDropdownProps, __default__$1 as FwEmailPulse, _default$d as FwImage, type FwImageProps, _default$p as FwInput, type FwInputProps, type FwInputType, _default$c as FwLoadingBar, _default$b as FwLoadingCard, _default as FwLoadingSpinner, _default$a as FwLoadingTable, _default$2 as FwMediaPicker, type FwMediaPickerProps, _default$h as FwModal, type FwModalProps, _default$k as FwNavigationMenu, _default$3 as FwPeriodSelector, __default__$2 as FwPopover, type FwPopoverProps, _default$g as FwProgressBar, _default$4 as FwProviderList, type FwProviderListItem, type FwProviderListProps, _default$6 as FwSidebarMenu, type FwSidebarMenuItem, _default$1 as FwSlider, __default__ as FwSuccessPulse, _default$i as FwTab, __default__$5 as FwTable, type FwTableApi, type FwTableFormatFunction, _default$f as FwTableHead, type FwTableItem, type FwTableItemOptions, type FwTableProps, _default$e as FwTableRow, type FwTableSort, _default$j as FwTabs, type FwTabsProps, __default__$6 as FwTag, type FwTagProps, _default$9 as FwToast, type FwToastProps, _default$8 as FwTransactionsCard, type FwTransactionsCardProps, type ModalServiceProps, type NavMenuItem, type ProgressBarStep, type TabsState, type TagDefinition, type TagDefinitionList, type TagSize, type TagSizes, type TagVariantName, type ToastPosition, type ToastServiceProps, type ToastType, type ToastTypes, install as default, modalService, toastService };
3212
+ export { type ButtonAnimation, type ButtonDefinition, type ButtonDefinitionList, type ButtonSize, type ButtonSizes, type ButtonTypeAttribute, type ButtonVariantName, __default__$4 as FwAccordion, type FwAccordionProps, _default$7 as FwBarChart, type FwBarChartProps, type FwBarGraphData, _default$l as FwButton, type FwButtonProps, _default$m as FwCard, type FwCardProps, _default$o as FwCheckbox, type FwCheckboxProps, __default__$3 as FwDatePicker, type FwDatePickerProps, _default$5 as FwDrawer, type FwDrawerProps, _default$n as FwDropdown, type FwDropdownOption, type FwDropdownProps, __default__$1 as FwEmailPulse, _default$d as FwImage, type FwImageProps, _default$p as FwInput, type FwInputProps, type FwInputType, _default$c as FwLoadingBar, _default$b as FwLoadingCard, _default as FwLoadingSpinner, _default$a as FwLoadingTable, _default$2 as FwMediaPicker, type FwMediaPickerProps, _default$h as FwModal, type FwModalProps, _default$k as FwNavigationMenu, _default$3 as FwPeriodSelector, __default__$2 as FwPopover, type FwPopoverProps, _default$g as FwProgressBar, _default$4 as FwProviderList, type FwProviderListItem, type FwProviderListProps, _default$6 as FwSidebarMenu, type FwSidebarMenuItem, _default$1 as FwSlider, __default__ as FwSuccessPulse, _default$i as FwTab, __default__$5 as FwTable, type FwTableApi, type FwTableFormatFunction, _default$f as FwTableHead, type FwTableItem, type FwTableItemOptions, type FwTableProps, _default$e as FwTableRow, type FwTableSort, type FwTableSortFunction, _default$j as FwTabs, type FwTabsProps, __default__$6 as FwTag, type FwTagProps, _default$9 as FwToast, type FwToastProps, _default$8 as FwTransactionsCard, type FwTransactionsCardProps, type ModalServiceProps, type NavMenuItem, type ProgressBarStep, type TabsState, type TagDefinition, type TagDefinitionList, type TagSize, type TagSizes, type TagVariantName, type ToastPosition, type ToastServiceProps, type ToastType, type ToastTypes, install as default, modalService, toastService };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frollo/frollo-web-ui",
3
- "version": "8.5.1",
3
+ "version": "8.5.3",
4
4
  "description": "Frollo's UI library for components, utilities and configs",
5
5
  "exports": {
6
6
  "./icons": "./icons/index.ts",
@@ -39,7 +39,7 @@ declare const __default__: import("vue").DefineComponent<{
39
39
  sortBy: import("vue").Ref<string>;
40
40
  sortDirection: import("vue").Ref<FwTableSort>;
41
41
  sortColumn: (column: string, isAction?: boolean) => void;
42
- sortedData: import("vue").ComputedRef<FwTableItem[]>;
42
+ sortedData: import("vue").ComputedRef<FwTableItem[] | undefined>;
43
43
  currentSortedColumn: import("vue").Ref<string>;
44
44
  sortedIcon: (sortDir: string, column: string) => boolean;
45
45
  formattedText: (row: FwTableItem, column: string) => string | number;
@@ -1,11 +1,13 @@
1
1
  export declare type FwTableItem = Record<string, string | number>;
2
2
  export declare type FwTableFormatFunction = (value: string | number | object) => string;
3
+ export declare type FwTableSortFunction = (items: FwTableItem[], columnName: string, sortDirection?: FwTableSort) => FwTableItem[] | undefined;
3
4
  export declare type FwTableSort = 'asc' | 'desc';
4
5
  export declare type FwTableItemOptions = Record<string, {
5
6
  formatter?: FwTableFormatFunction;
6
7
  isSortable?: boolean;
7
8
  disabled?: boolean;
8
9
  initSortOrder?: FwTableSort;
10
+ sort?: FwTableSortFunction;
9
11
  }>;
10
12
  export declare interface FwTableProps {
11
13
  items: FwTableItem[];
@@ -45,4 +45,5 @@ import CloudArrowUpSvg from './cloud-arrow-up.svg';
45
45
  import GuideSvg from './guide.svg';
46
46
  import ArrowsRotateSvg from './arrows-rotate.svg';
47
47
  import InfoCircleRegularSvg from './info-circle-regular.svg';
48
- export { ViewSvg, GenerateSvg, ManageSvg, NotFoundSvg, EmailFilledSvg, AlertSvg, LockSvg, EyeSvg, EyeCrossedSvg, DownloadSvg, IdCardSvg, InfoCircleSvg, FileExclamationSvg, HourglassClockSvg, EnvelopeSvg, CheckSvg, ChevronUpSvg, ChevronDownSvg, ChevronRightSvg, ChevronLeftSvg, ErrorFilledSvg, LightBulbSvg, LandmarkSvg, CoinsSvg, CaretDownSvg, SortLightSvg, PlusSvg, UserSvg, LoadingSvg, BullseyeSvg, SolidCheckSvg, SolidXMarkSvg, ArrowSortSvg, ArrowDownSvg, SearchSvg, XMarkSvg, PenSvg, CalendarSvg, CalendarDaySvg, EllipsisSvg, ChartLineUpSvg, SackDollarSvg, MountainFlagSvg, CloudArrowUpSvg, GuideSvg, ArrowsRotateSvg, InfoCircleRegularSvg };
48
+ import CopyChainSvg from './copy-chain.svg';
49
+ export { ViewSvg, GenerateSvg, ManageSvg, NotFoundSvg, EmailFilledSvg, AlertSvg, LockSvg, EyeSvg, EyeCrossedSvg, DownloadSvg, IdCardSvg, InfoCircleSvg, FileExclamationSvg, HourglassClockSvg, EnvelopeSvg, CheckSvg, ChevronUpSvg, ChevronDownSvg, ChevronRightSvg, ChevronLeftSvg, ErrorFilledSvg, LightBulbSvg, LandmarkSvg, CoinsSvg, CaretDownSvg, SortLightSvg, PlusSvg, UserSvg, LoadingSvg, BullseyeSvg, SolidCheckSvg, SolidXMarkSvg, ArrowSortSvg, ArrowDownSvg, SearchSvg, XMarkSvg, PenSvg, CalendarSvg, CalendarDaySvg, EllipsisSvg, ChartLineUpSvg, SackDollarSvg, MountainFlagSvg, CloudArrowUpSvg, GuideSvg, ArrowsRotateSvg, InfoCircleRegularSvg, CopyChainSvg };