@htmlbricks/hb-table 0.60.46 → 0.60.48

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
@@ -349,6 +349,9 @@
349
349
  },
350
350
  "type": "array"
351
351
  },
352
+ "i18nlang": {
353
+ "type": "string"
354
+ },
352
355
  "id": {
353
356
  "type": "string"
354
357
  },
@@ -798,7 +801,16 @@
798
801
  "name": "buttons-container"
799
802
  }
800
803
  ],
801
- "i18n": [],
804
+ "i18n": [
805
+ {
806
+ "lang": "it",
807
+ "language": "italian"
808
+ },
809
+ {
810
+ "lang": "en",
811
+ "language": "english"
812
+ }
813
+ ],
802
814
  "examples": [
803
815
  {
804
816
  "name": "BasicTableWithClick",
@@ -860,6 +872,71 @@
860
872
  "selectrow": "yes"
861
873
  }
862
874
  },
875
+ {
876
+ "name": "BasicTableWithActionsSimple",
877
+ "data": {
878
+ "headers": [
879
+ {
880
+ "label": "title",
881
+ "key": "title"
882
+ },
883
+ {
884
+ "label": "description",
885
+ "key": "description"
886
+ },
887
+ {
888
+ "label": "nested",
889
+ "key": "testnested.nested"
890
+ }
891
+ ],
892
+ "rows": [
893
+ {
894
+ "title": "bb9",
895
+ "time": "2021-08-06T22:46:33.565Z",
896
+ "_id": "bb9",
897
+ "status": "active"
898
+ },
899
+ {
900
+ "title": "bb10",
901
+ "time": "2021-08-06T22:46:34.565Z",
902
+ "_id": "bb10",
903
+ "status": "active"
904
+ },
905
+ {
906
+ "title": "bb11",
907
+ "time": "2021-08-06T22:46:34.565Z",
908
+ "_id": "bb11",
909
+ "status": "active"
910
+ },
911
+ {
912
+ "title": "bb12",
913
+ "time": "2021-08-06T22:46:34.565Z",
914
+ "videoSrc": "https://comapi.be-on.tv/v1/public/records/61043eedb50af916a6429fdc/video",
915
+ "_id": "bb12",
916
+ "status": "active"
917
+ },
918
+ {
919
+ "title": "bb13",
920
+ "time": "2021-08-07T22:46:39.565Z",
921
+ "_id": "bb13",
922
+ "status": "active"
923
+ }
924
+ ],
925
+ "selectrow": "yes",
926
+ "actions": [
927
+ {
928
+ "name": "testaction",
929
+ "type": "text",
930
+ "iconOrText": "string"
931
+ },
932
+ {
933
+ "name": "testaction2",
934
+ "type": "icon",
935
+ "iconOrText": "github"
936
+ }
937
+ ]
938
+ }
939
+ },
863
940
  {
864
941
  "name": "BasicTableWithAdd",
865
942
  "data": {
@@ -1963,5 +2040,5 @@
1963
2040
  "size": {},
1964
2041
  "iifePath": "main.iife.js",
1965
2042
  "repoName": "@htmlbricks/hb-table",
1966
- "version": "0.60.46"
2043
+ "version": "0.60.48"
1967
2044
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@htmlbricks/hb-table",
3
- "version": "0.60.46",
3
+ "version": "0.60.48",
4
4
  "contributors": [],
5
5
  "description": "",
6
6
  "licenses": [
@@ -29,6 +29,9 @@
29
29
  },
30
30
  "type": "array"
31
31
  },
32
+ "i18nlang": {
33
+ "type": "string"
34
+ },
32
35
  "id": {
33
36
  "type": "string"
34
37
  },
@@ -65,6 +65,7 @@ export type Component = {
65
65
  enableselect?: string;
66
66
  disablepagination?: boolean;
67
67
  add_item?: boolean;
68
+ i18nlang?: string;
68
69
  };
69
70
 
70
71
  export type Events = {