@veeqo/transfigure 1.2.3 → 1.2.5

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 (52) hide show
  1. package/dist/BusinessLogic/mocks.d.ts +10 -0
  2. package/dist/index10.cjs +1 -1
  3. package/dist/index10.js +88 -78
  4. package/dist/index100.cjs +1 -1
  5. package/dist/index100.js +29 -33
  6. package/dist/index101.cjs +1 -1
  7. package/dist/index101.js +21 -29
  8. package/dist/index103.cjs +1 -19
  9. package/dist/index103.js +14 -23
  10. package/dist/index104.cjs +1 -1
  11. package/dist/index104.js +24 -21
  12. package/dist/index105.cjs +1 -1
  13. package/dist/index105.js +7 -15
  14. package/dist/index11.cjs +1 -1
  15. package/dist/index11.js +1 -1
  16. package/dist/index34.cjs +1 -1
  17. package/dist/index34.js +1 -1
  18. package/dist/index36.cjs +1 -1
  19. package/dist/index36.js +2 -2
  20. package/dist/index39.cjs +1 -1
  21. package/dist/index39.js +1 -1
  22. package/dist/index40.cjs +1 -1
  23. package/dist/index40.js +1 -1
  24. package/dist/index41.cjs +1 -1
  25. package/dist/index41.js +1 -1
  26. package/dist/index47.cjs +1 -1
  27. package/dist/index47.js +2 -2
  28. package/dist/index63.cjs +1 -1
  29. package/dist/index63.js +36 -35
  30. package/dist/index64.cjs +1 -1
  31. package/dist/index64.js +11 -10
  32. package/dist/index67.cjs +1 -1
  33. package/dist/index67.js +46 -44
  34. package/dist/index68.cjs +1 -1
  35. package/dist/index68.js +194 -193
  36. package/dist/index78.cjs +1 -1
  37. package/dist/index78.js +41 -29
  38. package/dist/index80.cjs +1 -1
  39. package/dist/index80.js +1 -1
  40. package/dist/index86.cjs +1 -1
  41. package/dist/index86.js +41 -5
  42. package/dist/index87.cjs +1 -1
  43. package/dist/index87.js +9 -41
  44. package/dist/index88.cjs +1 -1
  45. package/dist/index88.js +4 -8
  46. package/dist/index98.cjs +19 -1
  47. package/dist/index98.js +24 -7
  48. package/dist/index99.cjs +1 -1
  49. package/dist/index99.js +36 -22
  50. package/dist/mobx/Filters/Filters.d.ts +1 -1
  51. package/dist/storybookHelpers/apiMocks/views/custom_views.d.ts +45 -4
  52. package/package.json +5 -2
@@ -1,5 +1,15 @@
1
1
  import { BusinessLogicType } from './types';
2
2
  import { Filter, FilterGroupType } from '../types';
3
+ export declare const filterIds: {
4
+ BRAND_IDS: string;
5
+ ORDER_NUMBER: string;
6
+ SHOE_SIZE: string;
7
+ SHOE: string;
8
+ CHANNEL_ID: string;
9
+ PRODUCT_COUNT: string;
10
+ DUE_DATE: string;
11
+ MAX_PRODUCTS: string;
12
+ };
3
13
  export declare const DATE_RANGE_FILTERS: string[];
4
14
  export declare const NUMBER_RANGE_FILTERS: string[];
5
15
  export declare const customAppBusinessLogic: Omit<BusinessLogicType, 'FIELDS_MAP' | 'GROUP_MAP'>;
package/dist/index10.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),s=require("@veeqo/ui"),_=require("./index2.cjs"),u=require("./index9.cjs"),o=require("@veeqo/components"),n=["due_date"],r=["product_count"],p="filter[search]",E="sort",a=s.DateRanges.TODAY,m=s.getDateRange(a),T=s.DATE_RANGE_OPTIONS.find(({value:e})=>e===a),A="25",b="1",h="order",y=!1,g=200,L=[10,25,50,100],S="page[number]",D="page[size]",R=["order_id","shipping_rates","package","action"],M=["price"],f="api/v2/orders",F=_.SortingMode.MONOLITH,i={DATE_RANGE_FILTERS:n,SEARCH_FILTER_ID:p,SORT_FILTER_ID:E,NUMBER_RANGE_FILTERS:r,DEFAULT_DATE_SELECTION:a,DEFAULT_DATE_RANGE:m,DEFAULT_DATE_PRESET:T,DEFAULT_PAGE_SIZE:A,DEFAULT_PAGE_NUMBER:b,VIEW_TYPE:h,IS_VIEWS_READONLY:y,FILTERS_DEBOUCE_INTERVAL_MS:g,PAGE_SIZE_OPTIONS:L,PAGE_NUMBER_FILTER_ID:S,PAGE_SIZE_FILTER_ID:D,DEFAULT_VISIBLE_COLUMNS:R,DEFAULT_HIDDEN_COLUMNS:M,TABLE_DATA_URL:f,SORTING_MODE:F},d=()=>{const e=new Map,l=new Map;return e.set("brand_ids[]",{id:"brand_ids[]",glyph:t.jsx(o.VeeqoCommon.Glyph,{name:"brand"}),label:"Brand",filterType:"checkbox",isFilterAllowed:!0,fetchAsyncFilterOptions:{URL:"/catalog/brands",labelProperty:"name",valueProperty:"id",fetcher:"fetcherV1",baseProperty:"brands"}}),l.set("brand",{id:"brand",label:"Brand",fields:[e.get("brand_ids[]")],glyph:t.jsx(o.VeeqoCommon.Glyph,{name:"brand"})}),e.set("order_number",{id:"order_number",label:"Order number",filterType:"text",isFilterAllowed:!0,glyph:t.jsx(o.VeeqoCommon.Glyph,{name:"filter"})}),l.set("order",{id:"order",label:"Order",fields:[e.get("order_number")],glyph:t.jsx(o.VeeqoCommon.Glyph,{name:"product-menu"})}),e.set("shoe_size",{id:"shoe_size",label:"Shoe size",filterType:"radio",isFilterAllowed:!0,glyph:t.jsx(o.VeeqoCommon.Glyph,{name:"filter"}),options:[{label:"One",value:"1"},{label:"Two",value:"2"},{label:"Three",value:"3"},{label:"Four",value:"4"},{label:"Five",value:"5"}]}),l.set("shoe",{id:"shoe",label:"Shoe",fields:[e.get("shoe_size")],glyph:t.jsx(o.VeeqoCommon.Glyph,{name:"filter"})}),e.set("channel_id",{id:"channel_id",label:"Channel",filterType:"checkbox",isFilterAllowed:!0,glyph:t.jsx(o.VeeqoCommon.Glyph,{name:"filter"}),fetchAsyncFilterOptions:{URL:"/channels",labelProperty:"name",valueProperty:"id",fetcher:"fetcherV1"}}),l.set("channel",{id:"channel",label:"Store",fields:[e.get("channel_id")],glyph:t.jsx(o.VeeqoCommon.Glyph,{name:"fba"})}),e.set("product_count",{id:"product_count",label:"Product count",filterType:"number_range",isFilterAllowed:!0,glyph:t.jsx(o.VeeqoCommon.Glyph,{name:"filter"}),options:[{label:"Min",value:"0"},{label:"Max",value:"100"}]}),l.set("product_count",{id:"product_count",label:"Product count",fields:[e.get("product_count")],glyph:t.jsx(o.VeeqoCommon.Glyph,{name:"reports"})}),e.set("due_date",{id:"due_date",label:"Due date",filterType:"date_range",isFilterAllowed:!0,glyph:t.jsx(o.VeeqoCommon.Glyph,{name:"filter"}),options:[{label:"Today",value:"TODAY"},{label:"Yesterday",value:"YESTERDAY"},{label:"Last 7 days",value:"LAST_7_DAYS"},{label:"Last 30 days",value:"LAST_30_DAYS"},{label:"Last 90 days",value:"LAST_90_DAYS"},{label:"Last month",value:"LAST_MONTH"},{label:"Last 12 months",value:"LAST_12_MONTHS"},{label:"Week to date",value:"WEEK_TO_DATE"},{label:"Month to date",value:"MONTH_TO_DATE"},{label:"Year to date",value:"YEAR_TO_DATE"}]}),l.set("due",{id:"due",label:"Due",fields:[e.get("due_date")],glyph:t.jsx(o.VeeqoCommon.Glyph,{name:"date"})}),e.set("max_products",{id:"max_products",label:"Max products",filterType:"number",isFilterAllowed:!0,glyph:t.jsx(o.VeeqoCommon.Glyph,{name:"products"})}),l.set("max_count",{id:"max_count",label:"Max count",fields:[e.get("max_products")],glyph:t.jsx(o.VeeqoCommon.Glyph,{name:"reports"})}),{FIELDS_MAP:e,GROUP_MAP:l}},I=e=>{const l=d(),c={...i,...l,...e};u.BusinessLogicManager.setBusinessLogic(c)};exports.DATE_RANGE_FILTERS=n;exports.NUMBER_RANGE_FILTERS=r;exports.customAppBusinessLogic=i;exports.generateMockedFilterMaps=d;exports.setMockedBusinessLogic=I;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),a=require("@veeqo/ui"),c=require("./index2.cjs"),T=require("./index9.cjs"),o=require("@veeqo/components"),e={BRAND_IDS:"brand_ids",ORDER_NUMBER:"search.order_number",SHOE_SIZE:"shoe_size",SHOE:"shoe",CHANNEL_ID:"channel_id",PRODUCT_COUNT:"product_count",DUE_DATE:"due_date",MAX_PRODUCTS:"max_products"},r=[e.DUE_DATE],_=[e.PRODUCT_COUNT],A="search.all",D="sort",n=a.DateRanges.TODAY,u=a.getDateRange(n),p=a.DATE_RANGE_OPTIONS.find(({value:l})=>l===n),R="25",m="1",O="order",S=!1,b=200,h=[10,25,50,100],y="page[number]",L="page[size]",g=["order_id","shipping_rates","package","action"],N=["price"],U="api/v2/orders",I=c.SortingMode.MONOLITH,i={DATE_RANGE_FILTERS:r,SEARCH_FILTER_ID:A,SORT_FILTER_ID:D,NUMBER_RANGE_FILTERS:_,DEFAULT_DATE_SELECTION:n,DEFAULT_DATE_RANGE:u,DEFAULT_DATE_PRESET:p,DEFAULT_PAGE_SIZE:R,DEFAULT_PAGE_NUMBER:m,VIEW_TYPE:O,IS_VIEWS_READONLY:S,FILTERS_DEBOUCE_INTERVAL_MS:b,PAGE_SIZE_OPTIONS:h,PAGE_NUMBER_FILTER_ID:y,PAGE_SIZE_FILTER_ID:L,DEFAULT_VISIBLE_COLUMNS:g,DEFAULT_HIDDEN_COLUMNS:N,TABLE_DATA_URL:U,SORTING_MODE:I},E=()=>{const l=new Map,s=new Map;return l.set(e.BRAND_IDS,{id:e.BRAND_IDS,glyph:t.jsx(o.VeeqoCommon.Glyph,{name:"brand"}),label:"Brand",filterType:"checkbox",isFilterAllowed:!0,fetchAsyncFilterOptions:{URL:"/catalog/brands",labelProperty:"name",valueProperty:"id",fetcher:"fetcherV1",baseProperty:"brands"}}),s.set("brand",{id:"brand",label:"Brand",fields:[l.get(e.BRAND_IDS)],glyph:t.jsx(o.VeeqoCommon.Glyph,{name:"brand"})}),l.set(e.ORDER_NUMBER,{id:e.ORDER_NUMBER,label:"Order number",filterType:"text",isFilterAllowed:!0,glyph:t.jsx(o.VeeqoCommon.Glyph,{name:"filter"})}),s.set("order",{id:"order",label:"Order",fields:[l.get(e.ORDER_NUMBER)],glyph:t.jsx(o.VeeqoCommon.Glyph,{name:"product-menu"})}),l.set(e.SHOE_SIZE,{id:e.SHOE_SIZE,label:"Shoe size",filterType:"radio",isFilterAllowed:!0,glyph:t.jsx(o.VeeqoCommon.Glyph,{name:"filter"}),options:[{label:"One",value:"1"},{label:"Two",value:"2"},{label:"Three",value:"3"},{label:"Four",value:"4"},{label:"Five",value:"5"}]}),s.set(e.SHOE,{id:e.SHOE,label:"Shoe",fields:[l.get(e.SHOE_SIZE)],glyph:t.jsx(o.VeeqoCommon.Glyph,{name:"filter"})}),l.set(e.CHANNEL_ID,{id:e.CHANNEL_ID,label:"Channel",filterType:"checkbox",isFilterAllowed:!0,glyph:t.jsx(o.VeeqoCommon.Glyph,{name:"filter"}),fetchAsyncFilterOptions:{URL:"/channels",labelProperty:"name",valueProperty:"id",fetcher:"fetcherV1"}}),s.set("channel",{id:"channel",label:"Store",fields:[l.get(e.CHANNEL_ID)],glyph:t.jsx(o.VeeqoCommon.Glyph,{name:"fba"})}),l.set(e.PRODUCT_COUNT,{id:e.PRODUCT_COUNT,label:"Product count",filterType:"number_range",isFilterAllowed:!0,glyph:t.jsx(o.VeeqoCommon.Glyph,{name:"filter"}),options:[{label:"Min",value:"0"},{label:"Max",value:"100"}]}),s.set(e.PRODUCT_COUNT,{id:e.PRODUCT_COUNT,label:"Product count",fields:[l.get(e.PRODUCT_COUNT)],glyph:t.jsx(o.VeeqoCommon.Glyph,{name:"reports"})}),l.set(e.DUE_DATE,{id:e.DUE_DATE,label:"Due date",filterType:"date_range",isFilterAllowed:!0,glyph:t.jsx(o.VeeqoCommon.Glyph,{name:"filter"}),options:[{label:"Today",value:"TODAY"},{label:"Yesterday",value:"YESTERDAY"},{label:"Last 7 days",value:"LAST_7_DAYS"},{label:"Last 30 days",value:"LAST_30_DAYS"},{label:"Last 90 days",value:"LAST_90_DAYS"},{label:"Last month",value:"LAST_MONTH"},{label:"Last 12 months",value:"LAST_12_MONTHS"},{label:"Week to date",value:"WEEK_TO_DATE"},{label:"Month to date",value:"MONTH_TO_DATE"},{label:"Year to date",value:"YEAR_TO_DATE"}]}),s.set("due",{id:"due",label:"Due",fields:[l.get(e.DUE_DATE)],glyph:t.jsx(o.VeeqoCommon.Glyph,{name:"date"})}),l.set(e.MAX_PRODUCTS,{id:e.MAX_PRODUCTS,label:"Max products",filterType:"number",isFilterAllowed:!0,glyph:t.jsx(o.VeeqoCommon.Glyph,{name:"products"})}),s.set("max_count",{id:"max_count",label:"Max count",fields:[l.get(e.MAX_PRODUCTS)],glyph:t.jsx(o.VeeqoCommon.Glyph,{name:"reports"})}),{FIELDS_MAP:l,GROUP_MAP:s}},C=l=>{const s=E(),d={...i,...s,...l};T.BusinessLogicManager.setBusinessLogic(d)};exports.DATE_RANGE_FILTERS=r;exports.NUMBER_RANGE_FILTERS=_;exports.customAppBusinessLogic=i;exports.filterIds=e;exports.generateMockedFilterMaps=E;exports.setMockedBusinessLogic=C;
package/dist/index10.js CHANGED
@@ -1,35 +1,44 @@
1
- import { jsx as l } from "react/jsx-runtime";
2
- import { DATE_RANGE_OPTIONS as s, getDateRange as n, DateRanges as d } from "@veeqo/ui";
1
+ import { jsx as t } from "react/jsx-runtime";
2
+ import { DATE_RANGE_OPTIONS as n, getDateRange as _, DateRanges as E } from "@veeqo/ui";
3
3
  import { SortingMode as i } from "./index2.js";
4
- import { BusinessLogicManager as _ } from "./index9.js";
5
- import { VeeqoCommon as t } from "@veeqo/components";
6
- const c = ["due_date"], p = ["product_count"], u = "filter[search]", E = "sort", r = d.TODAY, T = n(r), h = s.find(
7
- ({ value: e }) => e === r
8
- ), b = "25", A = "1", y = "order", m = !1, L = 200, g = [10, 25, 50, 100], D = "page[number]", f = "page[size]", S = ["order_id", "shipping_rates", "package", "action"], F = ["price"], O = "api/v2/orders", R = i.MONOLITH, I = {
9
- DATE_RANGE_FILTERS: c,
10
- SEARCH_FILTER_ID: u,
11
- SORT_FILTER_ID: E,
12
- NUMBER_RANGE_FILTERS: p,
4
+ import { BusinessLogicManager as d } from "./index9.js";
5
+ import { VeeqoCommon as a } from "@veeqo/components";
6
+ const e = {
7
+ BRAND_IDS: "brand_ids",
8
+ ORDER_NUMBER: "search.order_number",
9
+ SHOE_SIZE: "shoe_size",
10
+ SHOE: "shoe",
11
+ CHANNEL_ID: "channel_id",
12
+ PRODUCT_COUNT: "product_count",
13
+ DUE_DATE: "due_date",
14
+ MAX_PRODUCTS: "max_products"
15
+ }, T = [e.DUE_DATE], D = [e.PRODUCT_COUNT], p = "search.all", A = "sort", r = E.TODAY, c = _(r), u = n.find(
16
+ ({ value: l }) => l === r
17
+ ), O = "25", R = "1", S = "order", h = !1, b = 200, y = [10, 25, 50, 100], L = "page[number]", U = "page[size]", N = ["order_id", "shipping_rates", "package", "action"], m = ["price"], I = "api/v2/orders", g = i.MONOLITH, f = {
18
+ DATE_RANGE_FILTERS: T,
19
+ SEARCH_FILTER_ID: p,
20
+ SORT_FILTER_ID: A,
21
+ NUMBER_RANGE_FILTERS: D,
13
22
  DEFAULT_DATE_SELECTION: r,
14
- DEFAULT_DATE_RANGE: T,
15
- DEFAULT_DATE_PRESET: h,
16
- DEFAULT_PAGE_SIZE: b,
17
- DEFAULT_PAGE_NUMBER: A,
18
- VIEW_TYPE: y,
19
- IS_VIEWS_READONLY: m,
20
- FILTERS_DEBOUCE_INTERVAL_MS: L,
21
- PAGE_SIZE_OPTIONS: g,
22
- PAGE_NUMBER_FILTER_ID: D,
23
- PAGE_SIZE_FILTER_ID: f,
24
- DEFAULT_VISIBLE_COLUMNS: S,
25
- DEFAULT_HIDDEN_COLUMNS: F,
26
- TABLE_DATA_URL: O,
27
- SORTING_MODE: R
23
+ DEFAULT_DATE_RANGE: c,
24
+ DEFAULT_DATE_PRESET: u,
25
+ DEFAULT_PAGE_SIZE: O,
26
+ DEFAULT_PAGE_NUMBER: R,
27
+ VIEW_TYPE: S,
28
+ IS_VIEWS_READONLY: h,
29
+ FILTERS_DEBOUCE_INTERVAL_MS: b,
30
+ PAGE_SIZE_OPTIONS: y,
31
+ PAGE_NUMBER_FILTER_ID: L,
32
+ PAGE_SIZE_FILTER_ID: U,
33
+ DEFAULT_VISIBLE_COLUMNS: N,
34
+ DEFAULT_HIDDEN_COLUMNS: m,
35
+ TABLE_DATA_URL: I,
36
+ SORTING_MODE: g
28
37
  }, M = () => {
29
- const e = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Map();
30
- return e.set("brand_ids[]", {
31
- id: "brand_ids[]",
32
- glyph: /* @__PURE__ */ l(t.Glyph, { name: "brand" }),
38
+ const l = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Map();
39
+ return l.set(e.BRAND_IDS, {
40
+ id: e.BRAND_IDS,
41
+ glyph: /* @__PURE__ */ t(a.Glyph, { name: "brand" }),
33
42
  label: "Brand",
34
43
  filterType: "checkbox",
35
44
  isFilterAllowed: !0,
@@ -40,28 +49,28 @@ const c = ["due_date"], p = ["product_count"], u = "filter[search]", E = "sort",
40
49
  fetcher: "fetcherV1",
41
50
  baseProperty: "brands"
42
51
  }
43
- }), a.set("brand", {
52
+ }), s.set("brand", {
44
53
  id: "brand",
45
54
  label: "Brand",
46
- fields: [e.get("brand_ids[]")],
47
- glyph: /* @__PURE__ */ l(t.Glyph, { name: "brand" })
48
- }), e.set("order_number", {
49
- id: "order_number",
55
+ fields: [l.get(e.BRAND_IDS)],
56
+ glyph: /* @__PURE__ */ t(a.Glyph, { name: "brand" })
57
+ }), l.set(e.ORDER_NUMBER, {
58
+ id: e.ORDER_NUMBER,
50
59
  label: "Order number",
51
60
  filterType: "text",
52
61
  isFilterAllowed: !0,
53
- glyph: /* @__PURE__ */ l(t.Glyph, { name: "filter" })
54
- }), a.set("order", {
62
+ glyph: /* @__PURE__ */ t(a.Glyph, { name: "filter" })
63
+ }), s.set("order", {
55
64
  id: "order",
56
65
  label: "Order",
57
- fields: [e.get("order_number")],
58
- glyph: /* @__PURE__ */ l(t.Glyph, { name: "product-menu" })
59
- }), e.set("shoe_size", {
60
- id: "shoe_size",
66
+ fields: [l.get(e.ORDER_NUMBER)],
67
+ glyph: /* @__PURE__ */ t(a.Glyph, { name: "product-menu" })
68
+ }), l.set(e.SHOE_SIZE, {
69
+ id: e.SHOE_SIZE,
61
70
  label: "Shoe size",
62
71
  filterType: "radio",
63
72
  isFilterAllowed: !0,
64
- glyph: /* @__PURE__ */ l(t.Glyph, { name: "filter" }),
73
+ glyph: /* @__PURE__ */ t(a.Glyph, { name: "filter" }),
65
74
  options: [
66
75
  {
67
76
  label: "One",
@@ -84,34 +93,34 @@ const c = ["due_date"], p = ["product_count"], u = "filter[search]", E = "sort",
84
93
  value: "5"
85
94
  }
86
95
  ]
87
- }), a.set("shoe", {
88
- id: "shoe",
96
+ }), s.set(e.SHOE, {
97
+ id: e.SHOE,
89
98
  label: "Shoe",
90
- fields: [e.get("shoe_size")],
91
- glyph: /* @__PURE__ */ l(t.Glyph, { name: "filter" })
92
- }), e.set("channel_id", {
93
- id: "channel_id",
99
+ fields: [l.get(e.SHOE_SIZE)],
100
+ glyph: /* @__PURE__ */ t(a.Glyph, { name: "filter" })
101
+ }), l.set(e.CHANNEL_ID, {
102
+ id: e.CHANNEL_ID,
94
103
  label: "Channel",
95
104
  filterType: "checkbox",
96
105
  isFilterAllowed: !0,
97
- glyph: /* @__PURE__ */ l(t.Glyph, { name: "filter" }),
106
+ glyph: /* @__PURE__ */ t(a.Glyph, { name: "filter" }),
98
107
  fetchAsyncFilterOptions: {
99
108
  URL: "/channels",
100
109
  labelProperty: "name",
101
110
  valueProperty: "id",
102
111
  fetcher: "fetcherV1"
103
112
  }
104
- }), a.set("channel", {
113
+ }), s.set("channel", {
105
114
  id: "channel",
106
115
  label: "Store",
107
- fields: [e.get("channel_id")],
108
- glyph: /* @__PURE__ */ l(t.Glyph, { name: "fba" })
109
- }), e.set("product_count", {
110
- id: "product_count",
116
+ fields: [l.get(e.CHANNEL_ID)],
117
+ glyph: /* @__PURE__ */ t(a.Glyph, { name: "fba" })
118
+ }), l.set(e.PRODUCT_COUNT, {
119
+ id: e.PRODUCT_COUNT,
111
120
  label: "Product count",
112
121
  filterType: "number_range",
113
122
  isFilterAllowed: !0,
114
- glyph: /* @__PURE__ */ l(t.Glyph, { name: "filter" }),
123
+ glyph: /* @__PURE__ */ t(a.Glyph, { name: "filter" }),
115
124
  options: [
116
125
  {
117
126
  label: "Min",
@@ -122,17 +131,17 @@ const c = ["due_date"], p = ["product_count"], u = "filter[search]", E = "sort",
122
131
  value: "100"
123
132
  }
124
133
  ]
125
- }), a.set("product_count", {
126
- id: "product_count",
134
+ }), s.set(e.PRODUCT_COUNT, {
135
+ id: e.PRODUCT_COUNT,
127
136
  label: "Product count",
128
- fields: [e.get("product_count")],
129
- glyph: /* @__PURE__ */ l(t.Glyph, { name: "reports" })
130
- }), e.set("due_date", {
131
- id: "due_date",
137
+ fields: [l.get(e.PRODUCT_COUNT)],
138
+ glyph: /* @__PURE__ */ t(a.Glyph, { name: "reports" })
139
+ }), l.set(e.DUE_DATE, {
140
+ id: e.DUE_DATE,
132
141
  label: "Due date",
133
142
  filterType: "date_range",
134
143
  isFilterAllowed: !0,
135
- glyph: /* @__PURE__ */ l(t.Glyph, { name: "filter" }),
144
+ glyph: /* @__PURE__ */ t(a.Glyph, { name: "filter" }),
136
145
  options: [
137
146
  {
138
147
  label: "Today",
@@ -175,31 +184,32 @@ const c = ["due_date"], p = ["product_count"], u = "filter[search]", E = "sort",
175
184
  value: "YEAR_TO_DATE"
176
185
  }
177
186
  ]
178
- }), a.set("due", {
187
+ }), s.set("due", {
179
188
  id: "due",
180
189
  label: "Due",
181
- fields: [e.get("due_date")],
182
- glyph: /* @__PURE__ */ l(t.Glyph, { name: "date" })
183
- }), e.set("max_products", {
184
- id: "max_products",
190
+ fields: [l.get(e.DUE_DATE)],
191
+ glyph: /* @__PURE__ */ t(a.Glyph, { name: "date" })
192
+ }), l.set(e.MAX_PRODUCTS, {
193
+ id: e.MAX_PRODUCTS,
185
194
  label: "Max products",
186
195
  filterType: "number",
187
196
  isFilterAllowed: !0,
188
- glyph: /* @__PURE__ */ l(t.Glyph, { name: "products" })
189
- }), a.set("max_count", {
197
+ glyph: /* @__PURE__ */ t(a.Glyph, { name: "products" })
198
+ }), s.set("max_count", {
190
199
  id: "max_count",
191
200
  label: "Max count",
192
- fields: [e.get("max_products")],
193
- glyph: /* @__PURE__ */ l(t.Glyph, { name: "reports" })
194
- }), { FIELDS_MAP: e, GROUP_MAP: a };
195
- }, x = (e) => {
196
- const a = M(), o = { ...I, ...a, ...e };
197
- _.setBusinessLogic(o);
201
+ fields: [l.get(e.MAX_PRODUCTS)],
202
+ glyph: /* @__PURE__ */ t(a.Glyph, { name: "reports" })
203
+ }), { FIELDS_MAP: l, GROUP_MAP: s };
204
+ }, B = (l) => {
205
+ const s = M(), o = { ...f, ...s, ...l };
206
+ d.setBusinessLogic(o);
198
207
  };
199
208
  export {
200
- c as DATE_RANGE_FILTERS,
201
- p as NUMBER_RANGE_FILTERS,
202
- I as customAppBusinessLogic,
209
+ T as DATE_RANGE_FILTERS,
210
+ D as NUMBER_RANGE_FILTERS,
211
+ f as customAppBusinessLogic,
212
+ e as filterIds,
203
213
  M as generateMockedFilterMaps,
204
- x as setMockedBusinessLogic
214
+ B as setMockedBusinessLogic
205
215
  };
package/dist/index100.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const w=require("react"),f=require("swr"),R=require("./index61.cjs"),S=require("./index8.cjs"),P=require("./index62.cjs"),h=require("./index55.cjs"),m=e=>e&&e.__esModule?e:{default:e},q=m(f),E=()=>{var r;const{Filters:{queryParams:e}}=R.useStores(),{TABLE_DATA_URL:i,PAGE_NUMBER_FILTER_ID:u,PAGE_SIZE_FILTER_ID:n}=S.useBusinessLogic(),{isLoading:c}=P.useViews(),a=w.useMemo(()=>{const s=new URLSearchParams(e);return s.set(u,"1"),s.set(n,"1"),s.toString()},[e,u,n]),l=!c?`${i}?${a}`:null,{data:t,error:d,isLoading:_,mutate:L}=q.default([l,{includeMeta:!0}],([s,g])=>h.fetcherV2(s,g),{revalidateOnFocus:!1,revalidateOnReconnect:!1,keepPreviousData:!0}),o=t==null?void 0:t.meta;return{viewCounts:(r=o==null?void 0:o.page)==null?void 0:r.total_count,error:d,isLoadingViewCounts:_,mutate:L}};exports.useViewCounts=E;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),i=require("@veeqo/ui"),r=({shouldShow:a,viewName:n,onCancel:t,onDelete:o})=>e.jsx(i.Modal,{headerTitle:`Delete '${n}' view?`,"data-testid":"act-react-listing-custom-confirmation-popup",variant:"sm",shouldShow:a,onClose:t,rightActions:[{className:"act-react-listing-custom-confirmation-popup-cancel",label:"Cancel",onClick:t,variant:"default"},{className:"act-react-listing-custom-confirmation-popup-delete",label:"Delete",onClick:o,variant:"primaryDestructive"}],showHeaderCloseButton:!0,children:e.jsx(i.Text,{variant:"body",children:"This cannot be undone."})});exports.Confirmation=r;
package/dist/index100.js CHANGED
@@ -1,35 +1,31 @@
1
- import { useMemo as _ } from "react";
2
- import p from "swr";
3
- import { useStores as w } from "./index61.js";
4
- import { useBusinessLogic as R } from "./index8.js";
5
- import { useViews as g } from "./index62.js";
6
- import { fetcherV2 as E } from "./index55.js";
7
- const V = () => {
8
- var i;
9
- const { Filters: { queryParams: s } } = w(), { TABLE_DATA_URL: a, PAGE_NUMBER_FILTER_ID: r, PAGE_SIZE_FILTER_ID: n } = R(), { isLoading: u } = g(), c = _(() => {
10
- const e = new URLSearchParams(s);
11
- return e.set(r, "1"), e.set(n, "1"), e.toString();
12
- }, [s, r, n]), m = !u ? `${a}?${c}` : null, {
13
- data: t,
14
- error: l,
15
- isLoading: L,
16
- mutate: d
17
- } = p(
18
- [m, { includeMeta: !0 }],
19
- ([e, f]) => E(e, f),
20
- {
21
- revalidateOnFocus: !1,
22
- revalidateOnReconnect: !1,
23
- keepPreviousData: !0
24
- }
25
- ), o = t == null ? void 0 : t.meta;
26
- return {
27
- viewCounts: (i = o == null ? void 0 : o.page) == null ? void 0 : i.total_count,
28
- error: l,
29
- isLoadingViewCounts: L,
30
- mutate: d
31
- };
32
- };
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ import { Modal as n, Text as r } from "@veeqo/ui";
3
+ const s = ({ shouldShow: a, viewName: i, onCancel: t, onDelete: o }) => /* @__PURE__ */ e(
4
+ n,
5
+ {
6
+ headerTitle: `Delete '${i}' view?`,
7
+ "data-testid": "act-react-listing-custom-confirmation-popup",
8
+ variant: "sm",
9
+ shouldShow: a,
10
+ onClose: t,
11
+ rightActions: [
12
+ {
13
+ className: "act-react-listing-custom-confirmation-popup-cancel",
14
+ label: "Cancel",
15
+ onClick: t,
16
+ variant: "default"
17
+ },
18
+ {
19
+ className: "act-react-listing-custom-confirmation-popup-delete",
20
+ label: "Delete",
21
+ onClick: o,
22
+ variant: "primaryDestructive"
23
+ }
24
+ ],
25
+ showHeaderCloseButton: !0,
26
+ children: /* @__PURE__ */ e(r, { variant: "body", children: "This cannot be undone." })
27
+ }
28
+ );
33
29
  export {
34
- V as useViewCounts
30
+ s as Confirmation
35
31
  };
package/dist/index101.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),i=require("@veeqo/ui"),r=({shouldShow:a,viewName:n,onCancel:t,onDelete:o})=>e.jsx(i.Modal,{headerTitle:`Delete '${n}' view?`,"data-testid":"act-react-listing-custom-confirmation-popup",variant:"sm",shouldShow:a,onClose:t,rightActions:[{className:"act-react-listing-custom-confirmation-popup-cancel",label:"Cancel",onClick:t,variant:"default"},{className:"act-react-listing-custom-confirmation-popup-delete",label:"Delete",onClick:o,variant:"primaryDestructive"}],showHeaderCloseButton:!0,children:e.jsx(i.Text,{variant:"body",children:"This cannot be undone."})});exports.Confirmation=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("@veeqo/ui"),i=require("./index106.cjs"),n=r.theme.colors.secondary.blue.base,a=({onClick:t})=>e.jsx(i.Notification,{children:e.jsx(i.Pill,{children:e.jsxs(r.Stack,{direction:"horizontal",alignY:"center",children:[e.jsx(i.Glyph,{ariaLabel:"info",name:"info",color:n}),e.jsxs(i.Wrap,{children:[e.jsx(i.Text,{variant:"body",margin:"0 4px 0 0",children:"You are currently in a"}),e.jsx(i.Bold,{variant:"bodyBoldDark",children:"draft view"}),e.jsx(i.Hint,{variant:"hintText",children:"Apply filters and save these by creating a custom view"})]}),e.jsx(i.Button,{variant:"primary",onClick:t,size:"sm",children:"Create view"})]})})});exports.DraftPill=a;
package/dist/index101.js CHANGED
@@ -1,31 +1,23 @@
1
- import { jsx as e } from "react/jsx-runtime";
2
- import { Modal as n, Text as r } from "@veeqo/ui";
3
- const s = ({ shouldShow: a, viewName: i, onCancel: t, onDelete: o }) => /* @__PURE__ */ e(
4
- n,
5
- {
6
- headerTitle: `Delete '${i}' view?`,
7
- "data-testid": "act-react-listing-custom-confirmation-popup",
8
- variant: "sm",
9
- shouldShow: a,
10
- onClose: t,
11
- rightActions: [
12
- {
13
- className: "act-react-listing-custom-confirmation-popup-cancel",
14
- label: "Cancel",
15
- onClick: t,
16
- variant: "default"
17
- },
18
- {
19
- className: "act-react-listing-custom-confirmation-popup-delete",
20
- label: "Delete",
21
- onClick: o,
22
- variant: "primaryDestructive"
23
- }
24
- ],
25
- showHeaderCloseButton: !0,
26
- children: /* @__PURE__ */ e(r, { variant: "body", children: "This cannot be undone." })
27
- }
28
- );
1
+ import { jsx as r, jsxs as i } from "react/jsx-runtime";
2
+ import { Stack as a, theme as n } from "@veeqo/ui";
3
+ import { Notification as t, Pill as o, Glyph as l, Wrap as c, Text as d, Bold as s, Hint as h, Button as m } from "./index106.js";
4
+ const p = n.colors.secondary.blue.base, b = ({ onClick: e }) => /* @__PURE__ */ r(t, { children: /* @__PURE__ */ r(o, { children: /* @__PURE__ */ i(a, { direction: "horizontal", alignY: "center", children: [
5
+ /* @__PURE__ */ r(l, { ariaLabel: "info", name: "info", color: p }),
6
+ /* @__PURE__ */ i(c, { children: [
7
+ /* @__PURE__ */ r(d, { variant: "body", margin: "0 4px 0 0", children: "You are currently in a" }),
8
+ /* @__PURE__ */ r(s, { variant: "bodyBoldDark", children: "draft view" }),
9
+ /* @__PURE__ */ r(h, { variant: "hintText", children: "Apply filters and save these by creating a custom view" })
10
+ ] }),
11
+ /* @__PURE__ */ r(
12
+ m,
13
+ {
14
+ variant: "primary",
15
+ onClick: e,
16
+ size: "sm",
17
+ children: "Create view"
18
+ }
19
+ )
20
+ ] }) }) });
29
21
  export {
30
- s as Confirmation
22
+ b as DraftPill
31
23
  };
package/dist/index103.cjs CHANGED
@@ -1,19 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("styled-components"),e=require("@veeqo/ui"),s=t=>t&&t.__esModule?t:{default:t},o=s(r),i=o.default(e.Button).attrs(()=>({role:"option",variant:"flat"}))`
2
- margin: ${e.theme.sizes.xs};
3
- min-width: 180px;
4
- justify-content: flex-start;
5
- font-size: ${e.theme.text.body.fontSize};
6
-
7
- &:hover {
8
- background-color: ${e.theme.colors.neutral.grey.lightest};
9
- color: ${e.theme.colors.secondary.blue.base};
10
- cursor: pointer;
11
- }
12
- `,n=o.default(e.Card.Surface).attrs(()=>({role:"listbox",elevation:4}))`
13
- margin-top: ${e.theme.sizes.xs};
14
- background-color: white;
15
- `,l=o.default.hr`
16
- width: 100%;
17
- border-top: 1px solid ${e.theme.colors.neutral.grey.dark};
18
- margin: 0;
19
- `;exports.Divider=l;exports.Item=i;exports.MenuItems=n;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),l=require("./index112.cjs"),o=e=>i.jsx(l.StyledSortableViews,{...e,onChange:t=>{t.filter(r=>{var n;return(n=r.children)==null?void 0:n.length}).length||e.onChange(t)}});exports.LegacySortableViews=o;
package/dist/index103.js CHANGED
@@ -1,26 +1,17 @@
1
- import t from "styled-components";
2
- import { theme as o, Card as r, Button as e } from "@veeqo/ui";
3
- const n = t(e).attrs(() => ({ role: "option", variant: "flat" }))`
4
- margin: ${o.sizes.xs};
5
- min-width: 180px;
6
- justify-content: flex-start;
7
- font-size: ${o.text.body.fontSize};
8
-
9
- &:hover {
10
- background-color: ${o.colors.neutral.grey.lightest};
11
- color: ${o.colors.secondary.blue.base};
12
- cursor: pointer;
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import { StyledSortableViews as i } from "./index112.js";
3
+ const h = (e) => /* @__PURE__ */ o(
4
+ i,
5
+ {
6
+ ...e,
7
+ onChange: (t) => {
8
+ t.filter((n) => {
9
+ var r;
10
+ return (r = n.children) == null ? void 0 : r.length;
11
+ }).length || e.onChange(t);
12
+ }
13
13
  }
14
- `, a = t(r.Surface).attrs(() => ({ role: "listbox", elevation: 4 }))`
15
- margin-top: ${o.sizes.xs};
16
- background-color: white;
17
- `, l = t.hr`
18
- width: 100%;
19
- border-top: 1px solid ${o.colors.neutral.grey.dark};
20
- margin: 0;
21
- `;
14
+ );
22
15
  export {
23
- l as Divider,
24
- n as Item,
25
- a as MenuItems
16
+ h as LegacySortableViews
26
17
  };
package/dist/index104.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("@veeqo/ui"),i=require("./index106.cjs"),n=r.theme.colors.secondary.blue.base,a=({onClick:t})=>e.jsx(i.Notification,{children:e.jsx(i.Pill,{children:e.jsxs(r.Stack,{direction:"horizontal",alignY:"center",children:[e.jsx(i.Glyph,{ariaLabel:"info",name:"info",color:n}),e.jsxs(i.Wrap,{children:[e.jsx(i.Text,{variant:"body",margin:"0 4px 0 0",children:"You are currently in a"}),e.jsx(i.Bold,{variant:"bodyBoldDark",children:"draft view"}),e.jsx(i.Hint,{variant:"hintText",children:"Apply filters and save these by creating a custom view"})]}),e.jsx(i.Button,{variant:"primary",onClick:t,size:"sm",children:"Create view"})]})})});exports.DraftPill=a;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("react/jsx-runtime"),n=require("react"),l=require("./index116.cjs"),v=({children:i,style:o,className:c})=>{const r=n.useRef(null),[u,f]=n.useState(0);return n.useEffect(()=>{const e=r.current,s=()=>{if(e){const{top:a}=e.getBoundingClientRect();f(a)}};s();const t=new ResizeObserver(s);return e&&t.observe(e),()=>{e&&t.unobserve(e),t.disconnect()}},[]),d.jsx(l.AdaptiveStyledContainer,{style:o,className:c,offset:u,ref:r,children:i})};exports.AdaptiveHeightContainer=v;
package/dist/index104.js CHANGED
@@ -1,23 +1,26 @@
1
- import { jsx as r, jsxs as i } from "react/jsx-runtime";
2
- import { Stack as a, theme as n } from "@veeqo/ui";
3
- import { Notification as t, Pill as o, Glyph as l, Wrap as c, Text as d, Bold as s, Hint as h, Button as m } from "./index106.js";
4
- const p = n.colors.secondary.blue.base, b = ({ onClick: e }) => /* @__PURE__ */ r(t, { children: /* @__PURE__ */ r(o, { children: /* @__PURE__ */ i(a, { direction: "horizontal", alignY: "center", children: [
5
- /* @__PURE__ */ r(l, { ariaLabel: "info", name: "info", color: p }),
6
- /* @__PURE__ */ i(c, { children: [
7
- /* @__PURE__ */ r(d, { variant: "body", margin: "0 4px 0 0", children: "You are currently in a" }),
8
- /* @__PURE__ */ r(s, { variant: "bodyBoldDark", children: "draft view" }),
9
- /* @__PURE__ */ r(h, { variant: "hintText", children: "Apply filters and save these by creating a custom view" })
10
- ] }),
11
- /* @__PURE__ */ r(
12
- m,
13
- {
14
- variant: "primary",
15
- onClick: e,
16
- size: "sm",
17
- children: "Create view"
18
- }
19
- )
20
- ] }) }) });
1
+ import { jsx as p } from "react/jsx-runtime";
2
+ import { useRef as a, useState as d, useEffect as m } from "react";
3
+ import { AdaptiveStyledContainer as v } from "./index116.js";
4
+ const R = ({
5
+ children: o,
6
+ style: s,
7
+ className: f
8
+ }) => {
9
+ const r = a(null), [i, c] = d(0);
10
+ return m(() => {
11
+ const e = r.current, n = () => {
12
+ if (e) {
13
+ const { top: u } = e.getBoundingClientRect();
14
+ c(u);
15
+ }
16
+ };
17
+ n();
18
+ const t = new ResizeObserver(n);
19
+ return e && t.observe(e), () => {
20
+ e && t.unobserve(e), t.disconnect();
21
+ };
22
+ }, []), /* @__PURE__ */ p(v, { style: s, className: f, offset: i, ref: r, children: o });
23
+ };
21
24
  export {
22
- b as DraftPill
25
+ R as AdaptiveHeightContainer
23
26
  };
package/dist/index105.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),l=require("./index112.cjs"),o=e=>i.jsx(l.StyledSortableViews,{...e,onChange:t=>{t.filter(r=>{var n;return(n=r.children)==null?void 0:n.length}).length||e.onChange(t)}});exports.LegacySortableViews=o;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index79.cjs"),e=i.createAllView(),t={fixedViews:[e],customViews:[],viewsMap:new Map([[e.id,e]])};exports.INITIAL_VIEWS_STATE=t;
package/dist/index105.js CHANGED
@@ -1,17 +1,9 @@
1
- import { jsx as o } from "react/jsx-runtime";
2
- import { StyledSortableViews as i } from "./index112.js";
3
- const h = (e) => /* @__PURE__ */ o(
4
- i,
5
- {
6
- ...e,
7
- onChange: (t) => {
8
- t.filter((n) => {
9
- var r;
10
- return (r = n.children) == null ? void 0 : r.length;
11
- }).length || e.onChange(t);
12
- }
13
- }
14
- );
1
+ import { createAllView as i } from "./index79.js";
2
+ const e = i(), s = {
3
+ fixedViews: [e],
4
+ customViews: [],
5
+ viewsMap: /* @__PURE__ */ new Map([[e.id, e]])
6
+ };
15
7
  export {
16
- h as LegacySortableViews
8
+ s as INITIAL_VIEWS_STATE
17
9
  };
package/dist/index11.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),p=require("react"),t=require("@veeqo/ui"),h=require("pluralize"),m=require("./index86.cjs"),f=e=>e&&e.__esModule?e:{default:e},w=f(h),S=({children:e,totalCount:i,selectedCount:o,itemLabel:r="item"})=>{const[l,c]=p.useState(!1),n=o>0,a=n?o:i,d=w.default(r,a),u=`Actions will apply to ${n?`${o} selected`:`${i} filtered`} ${d}`;return s.jsxs(t.Dropdown,{id:"actions-dropdown",ctaProps:{children:"Actions",variant:"primary",size:"sm"},shouldShow:l,setShouldShow:c,style:{padding:t.theme.sizes.none,minWidth:"300px"},children:[s.jsx("div",{className:m.default.actionsHeaderContainer,children:s.jsx(t.MiniAlert,{title:u,variant:"default",customIconColour:t.theme.colors.secondary.blue.base})}),e]})};exports.ActionsDropdown=S;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),p=require("react"),t=require("@veeqo/ui"),h=require("pluralize"),m=require("./index88.cjs"),f=e=>e&&e.__esModule?e:{default:e},w=f(h),S=({children:e,totalCount:i,selectedCount:o,itemLabel:r="item"})=>{const[l,c]=p.useState(!1),n=o>0,a=n?o:i,d=w.default(r,a),u=`Actions will apply to ${n?`${o} selected`:`${i} filtered`} ${d}`;return s.jsxs(t.Dropdown,{id:"actions-dropdown",ctaProps:{children:"Actions",variant:"primary",size:"sm"},shouldShow:l,setShouldShow:c,style:{padding:t.theme.sizes.none,minWidth:"300px"},children:[s.jsx("div",{className:m.default.actionsHeaderContainer,children:s.jsx(t.MiniAlert,{title:u,variant:"default",customIconColour:t.theme.colors.secondary.blue.base})}),e]})};exports.ActionsDropdown=S;
package/dist/index11.js CHANGED
@@ -2,7 +2,7 @@ import { jsxs as m, jsx as r } from "react/jsx-runtime";
2
2
  import { useState as p } from "react";
3
3
  import { Dropdown as h, theme as e, MiniAlert as u } from "@veeqo/ui";
4
4
  import f from "pluralize";
5
- import w from "./index86.js";
5
+ import w from "./index88.js";
6
6
  const b = ({ children: s, totalCount: t, selectedCount: o, itemLabel: n = "item" }) => {
7
7
  const [l, a] = p(!1), i = o > 0, c = f(n, i ? o : t), d = `Actions will apply to ${i ? `${o} selected` : `${t} filtered`} ${c}`;
8
8
  return /* @__PURE__ */ m(
package/dist/index34.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("mobx-react"),n=require("@veeqo/ui"),o=require("./index8.cjs"),u=require("./index99.cjs"),c=require("./index35.cjs"),a=s.observer(()=>{const{GROUP_MAP:t}=o.useBusinessLogic();return e.jsx(u.AdaptiveHeightContainer,{style:{minWidth:"360px"},children:e.jsx(n.Stack,{alignX:"stretch",children:Array.from(t).map(([r,i])=>e.jsx(c.FilterGroup,{data:i},r))})})});exports.FiltersList=a;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("mobx-react"),n=require("@veeqo/ui"),o=require("./index8.cjs"),u=require("./index104.cjs"),c=require("./index35.cjs"),a=s.observer(()=>{const{GROUP_MAP:t}=o.useBusinessLogic();return e.jsx(u.AdaptiveHeightContainer,{style:{minWidth:"360px"},children:e.jsx(n.Stack,{alignX:"stretch",children:Array.from(t).map(([r,i])=>e.jsx(c.FilterGroup,{data:i},r))})})});exports.FiltersList=a;
package/dist/index34.js CHANGED
@@ -2,7 +2,7 @@ import { jsx as r } from "react/jsx-runtime";
2
2
  import { observer as e } from "mobx-react";
3
3
  import { Stack as m } from "@veeqo/ui";
4
4
  import { useBusinessLogic as s } from "./index8.js";
5
- import { AdaptiveHeightContainer as p } from "./index99.js";
5
+ import { AdaptiveHeightContainer as p } from "./index104.js";
6
6
  import { FilterGroup as n } from "./index35.js";
7
7
  const u = e(() => {
8
8
  const { GROUP_MAP: t } = s();