@licklist/design 0.72.4 → 0.72.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.
@@ -20,7 +20,7 @@ import { useTableData } from './hooks/useTableData.js';
20
20
  var EventStatisticModal = function(param) {
21
21
  var isOpen = param.isOpen, setIsOpen = param.setIsOpen, date = param.date, eventStatistic = param.eventStatistic, title = param.title;
22
22
  var t = useTranslation('Design').t;
23
- var data = useTableData(date, eventStatistic, eventId);
23
+ var data = useTableData(date, eventStatistic);
24
24
  var handleClose = function() {
25
25
  setIsOpen(false);
26
26
  };
@@ -1,5 +1,5 @@
1
1
  import { EventStatistic } from '@licklist/core/dist/DataMapper/Provider/EventStatisticDataMapper';
2
2
  import { Event } from '@licklist/core/dist/DataMapper/Provider/EventDataMapper';
3
3
  import { StaticTableData } from '../../../table';
4
- export declare const useTableData: (date: Event["startAt"] | null, eventStatistic: EventStatistic | null, eventId: string) => StaticTableData[];
4
+ export declare const useTableData: (date: Event["startAt"] | null, eventStatistic: EventStatistic | null) => StaticTableData[];
5
5
  //# sourceMappingURL=useTableData.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useTableData.d.ts","sourceRoot":"","sources":["../../../../src/events/event-statistic-modal/hooks/useTableData.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,cAAc,EAAE,MAAM,kEAAkE,CAAA;AACjG,OAAO,EAAE,KAAK,EAAE,MAAM,yDAAyD,CAAA;AAE/E,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAEhD,eAAO,MAAM,YAAY,SACjB,KAAK,CAAC,SAAS,CAAC,GAAG,IAAI,kBACb,cAAc,GAAG,IAAI,WAC5B,MAAM,sBA6EhB,CAAA"}
1
+ {"version":3,"file":"useTableData.d.ts","sourceRoot":"","sources":["../../../../src/events/event-statistic-modal/hooks/useTableData.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,cAAc,EAAE,MAAM,kEAAkE,CAAA;AACjG,OAAO,EAAE,KAAK,EAAE,MAAM,yDAAyD,CAAA;AAE/E,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAEhD,eAAO,MAAM,YAAY,SACjB,KAAK,CAAC,SAAS,CAAC,GAAG,IAAI,kBACb,cAAc,GAAG,IAAI,sBA6EtC,CAAA"}
@@ -52,7 +52,7 @@ function _unsupported_iterable_to_array(o, minLen) {
52
52
  if (n === "Map" || n === "Set") return Array.from(n);
53
53
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
54
54
  }
55
- var useTableData = function(date, eventStatistic, eventId) {
55
+ var useTableData = function(date, eventStatistic) {
56
56
  var t = useTranslation('Design').t;
57
57
  var formatNumber = useIntl().formatNumber;
58
58
  var _useState = _sliced_to_array(useState([]), 2), tableRows = _useState[0], setTableRows = _useState[1];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@licklist/design",
3
- "version": "0.72.4",
3
+ "version": "0.72.5",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+ssh://git@bitbucket.org/artelogicsoft/licklist_design.git"
@@ -23,7 +23,7 @@ export const EventStatisticModal = ({
23
23
  }: EventStatisticModalProps) => {
24
24
  const { t } = useTranslation('Design')
25
25
 
26
- const data = useTableData(date, eventStatistic, eventId)
26
+ const data = useTableData(date, eventStatistic)
27
27
  const handleClose = () => {
28
28
  setIsOpen(false)
29
29
  }
@@ -11,7 +11,6 @@ import { StaticTableData } from '../../../table'
11
11
  export const useTableData = (
12
12
  date: Event['startAt'] | null,
13
13
  eventStatistic: EventStatistic | null,
14
- eventId: string,
15
14
  ) => {
16
15
  const { t } = useTranslation('Design')
17
16
  const { formatNumber } = useIntl()
package/yarn.lock CHANGED
@@ -3174,11 +3174,11 @@ __metadata:
3174
3174
  linkType: hard
3175
3175
 
3176
3176
  "@react-types/shared@npm:^3.9.0":
3177
- version: 3.27.0
3178
- resolution: "@react-types/shared@npm:3.27.0"
3177
+ version: 3.28.0
3178
+ resolution: "@react-types/shared@npm:3.28.0"
3179
3179
  peerDependencies:
3180
3180
  react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1
3181
- checksum: 10c0/7d710d776dcb6a832d3dc5ec281a81cd00a5b5aec1ecfcf7799c73bdb62c8739e574e29dafe04f7710a0ea568e4e11621091658a9c73d3191e1b0f5f3ff21f95
3181
+ checksum: 10c0/d5dbba060c9b3204bb6d6db1fec4c7d8b56a185ce000fe0676a136b07a2655885a9db3cd3e6b30564f1761bf91de12fb36ba869bc90152c865bebec8ce8e3b0a
3182
3182
  languageName: node
3183
3183
  linkType: hard
3184
3184
 
@@ -6199,30 +6199,30 @@ __metadata:
6199
6199
  languageName: node
6200
6200
  linkType: hard
6201
6201
 
6202
- "@volar/language-core@npm:2.4.11, @volar/language-core@npm:~2.4.0-alpha.18":
6203
- version: 2.4.11
6204
- resolution: "@volar/language-core@npm:2.4.11"
6202
+ "@volar/language-core@npm:2.4.12, @volar/language-core@npm:~2.4.0-alpha.18":
6203
+ version: 2.4.12
6204
+ resolution: "@volar/language-core@npm:2.4.12"
6205
6205
  dependencies:
6206
- "@volar/source-map": "npm:2.4.11"
6207
- checksum: 10c0/ccc5de0c28b4186dc99ff9856b2ac2318ee1818480af3ca406f3c09d42b19b6df8698b525f6cf0fed368332fc76659cd4433fb38e6a55a85c7cefc97d665ccf8
6206
+ "@volar/source-map": "npm:2.4.12"
6207
+ checksum: 10c0/060978fe9fcd08b39dddf0dd41283d7b615491aab19634f69ecad72a2a7f111972b2137ed24777f58fd52f4f76d122b91d9bf9aaf5f7261ebb316dd63733c4e0
6208
6208
  languageName: node
6209
6209
  linkType: hard
6210
6210
 
6211
- "@volar/source-map@npm:2.4.11":
6212
- version: 2.4.11
6213
- resolution: "@volar/source-map@npm:2.4.11"
6214
- checksum: 10c0/8e5badf9f67d669679c48fe32258e082d823523ca2807438d38c0aac6c52b84d43580c8921b559fc5a27c0c7457ffcba569e60de7a597851690dec04ed77c5fc
6211
+ "@volar/source-map@npm:2.4.12":
6212
+ version: 2.4.12
6213
+ resolution: "@volar/source-map@npm:2.4.12"
6214
+ checksum: 10c0/433b5d6a9f1e1df1c7410d2dfca43e9c880f4688dde13323ee1c8d2f36cec7dce3e0549d444038384c279c0e1cf9a2764b401278bbfdf1ecfa427092c84fb944
6215
6215
  languageName: node
6216
6216
  linkType: hard
6217
6217
 
6218
6218
  "@volar/typescript@npm:^2.3.4, @volar/typescript@npm:~2.4.0-alpha.18":
6219
- version: 2.4.11
6220
- resolution: "@volar/typescript@npm:2.4.11"
6219
+ version: 2.4.12
6220
+ resolution: "@volar/typescript@npm:2.4.12"
6221
6221
  dependencies:
6222
- "@volar/language-core": "npm:2.4.11"
6222
+ "@volar/language-core": "npm:2.4.12"
6223
6223
  path-browserify: "npm:^1.0.1"
6224
6224
  vscode-uri: "npm:^3.0.8"
6225
- checksum: 10c0/bca9bda9c8c95fd06672b834d1804810fdad496e15ee8e2099f76de74fa529d835f342afb6b976e6e3bc4599a3bbbfd007a842694fe1300cf6286783b827f917
6225
+ checksum: 10c0/fa08dccecc1c41b1b44aa9d4582e75d67c484cc6366075fc84de5e4611b6d7f6fed72a30bad0794a6b3f16003c49a19b5cd1759b79ae4b1c6bc9c8aa4012e413
6226
6226
  languageName: node
6227
6227
  linkType: hard
6228
6228
 
@@ -9861,9 +9861,9 @@ __metadata:
9861
9861
  linkType: hard
9862
9862
 
9863
9863
  "electron-to-chromium@npm:^1.3.564, electron-to-chromium@npm:^1.5.73":
9864
- version: 1.5.112
9865
- resolution: "electron-to-chromium@npm:1.5.112"
9866
- checksum: 10c0/fc597268d6d3d7458b55141c436802a6c51078855f021823cdb380b80ad1a69e1c2899fdfc9cffa501d47feb3791ea6a75893fe802a608c7845e979a48f5ac25
9864
+ version: 1.5.113
9865
+ resolution: "electron-to-chromium@npm:1.5.113"
9866
+ checksum: 10c0/837fe2fd26adbc4f3ad8e758d14067a14f636f9c2923b5ded8adb93426bbe3fdc83b48ddf9f2cf03be31b5becb0c31144db19c823b696fd52a7bc4583f4bde00
9867
9867
  languageName: node
9868
9868
  linkType: hard
9869
9869