@htmlbricks/hb-table 0.60.55 → 0.60.57

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/manifest.json CHANGED
@@ -379,6 +379,9 @@
379
379
  },
380
380
  "style": {
381
381
  "type": "string"
382
+ },
383
+ "total": {
384
+ "type": "number"
382
385
  }
383
386
  },
384
387
  "required": [
@@ -655,6 +658,20 @@
655
658
  "type": "number"
656
659
  }
657
660
  },
661
+ "i18nlang": {
662
+ "control": {
663
+ "type": "select"
664
+ },
665
+ "options": [
666
+ "en",
667
+ "it"
668
+ ]
669
+ },
670
+ "total": {
671
+ "control": {
672
+ "type": "number"
673
+ }
674
+ },
658
675
  "enableselect": {
659
676
  "control": {
660
677
  "type": "boolean"
@@ -937,6 +954,123 @@
937
954
  ]
938
955
  }
939
956
  },
957
+ {
958
+ "name": "BasicTableWithDates",
959
+ "data": {
960
+ "headers": [
961
+ {
962
+ "label": "title",
963
+ "key": "title"
964
+ },
965
+ {
966
+ "label": "description",
967
+ "key": "description"
968
+ },
969
+ {
970
+ "label": "nested",
971
+ "key": "testnested.nested"
972
+ },
973
+ {
974
+ "label": "data",
975
+ "key": "time",
976
+ "type": "datetime",
977
+ "format": "DD MMMM YYYY"
978
+ }
979
+ ],
980
+ "rows": [
981
+ {
982
+ "title": "bb9",
983
+ "time": "2021-08-06T22:46:33.565Z",
984
+ "_id": "bb9",
985
+ "status": "active"
986
+ },
987
+ {
988
+ "title": "bb10",
989
+ "time": "2021-08-06T22:46:34.565Z",
990
+ "_id": "bb10",
991
+ "status": "active"
992
+ },
993
+ {
994
+ "title": "bb11",
995
+ "time": "2021-08-06T22:46:34.565Z",
996
+ "_id": "bb11",
997
+ "status": "active"
998
+ },
999
+ {
1000
+ "title": "bb12",
1001
+ "time": "2021-08-06T22:46:34.565Z",
1002
+ "videoSrc": "https://comapi.be-on.tv/v1/public/records/61043eedb50af916a6429fdc/video",
1003
+ "_id": "bb12",
1004
+ "status": "active"
1005
+ },
1006
+ {
1007
+ "title": "bb13",
1008
+ "time": "2021-08-07T22:46:39.565Z",
1009
+ "_id": "bb13",
1010
+ "status": "active"
1011
+ }
1012
+ ]
1013
+ }
1014
+ },
1015
+ {
1016
+ "name": "BasicTableWithDatesAndSearch",
1017
+ "data": {
1018
+ "headers": [
1019
+ {
1020
+ "label": "title",
1021
+ "key": "title"
1022
+ },
1023
+ {
1024
+ "label": "description",
1025
+ "key": "description"
1026
+ },
1027
+ {
1028
+ "label": "nested",
1029
+ "key": "testnested.nested"
1030
+ },
1031
+ {
1032
+ "label": "data",
1033
+ "key": "time",
1034
+ "type": "datetime",
1035
+ "format": "DD MMMM YYYY",
1036
+ "search": true
1037
+ }
1038
+ ],
1039
+ "rows": [
1040
+ {
1041
+ "title": "bb9",
1042
+ "time": "2021-08-06T22:46:33.565Z",
1043
+ "_id": "bb9",
1044
+ "status": "active"
1045
+ },
1046
+ {
1047
+ "title": "bb10",
1048
+ "time": "2021-08-06T22:46:34.565Z",
1049
+ "_id": "bb10",
1050
+ "status": "active"
1051
+ },
1052
+ {
1053
+ "title": "bb11",
1054
+ "time": "2021-08-06T22:46:34.565Z",
1055
+ "_id": "bb11",
1056
+ "status": "active"
1057
+ },
1058
+ {
1059
+ "title": "bb12",
1060
+ "time": "2021-08-06T22:46:34.565Z",
1061
+ "videoSrc": "https://comapi.be-on.tv/v1/public/records/61043eedb50af916a6429fdc/video",
1062
+ "_id": "bb12",
1063
+ "status": "active"
1064
+ },
1065
+ {
1066
+ "title": "bb13",
1067
+ "time": "2021-08-07T22:46:39.565Z",
1068
+ "_id": "bb13",
1069
+ "status": "active"
1070
+ }
1071
+ ]
1072
+ }
1073
+ },
940
1074
  {
941
1075
  "name": "BasicTableWithAdd",
942
1076
  "data": {
@@ -2040,5 +2174,5 @@
2040
2174
  "size": {},
2041
2175
  "iifePath": "main.iife.js",
2042
2176
  "repoName": "@htmlbricks/hb-table",
2043
- "version": "0.60.55"
2177
+ "version": "0.60.57"
2044
2178
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@htmlbricks/hb-table",
3
- "version": "0.60.55",
3
+ "version": "0.60.57",
4
4
  "contributors": [],
5
5
  "description": "",
6
6
  "licenses": [
@@ -59,6 +59,9 @@
59
59
  },
60
60
  "style": {
61
61
  "type": "string"
62
+ },
63
+ "total": {
64
+ "type": "number"
62
65
  }
63
66
  },
64
67
  "required": [
@@ -66,6 +66,7 @@ export type Component = {
66
66
  disablepagination?: boolean;
67
67
  add_item?: boolean;
68
68
  i18nlang?: string;
69
+ total?: number;
69
70
  };
70
71
 
71
72
  export type Events = {