@gudhub/core 1.1.115 → 1.1.117

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.
@@ -142,8 +142,8 @@ export default function generateModulesList(async_modules_path, file_server_url,
142
142
  data_type: "calendar",
143
143
  name: 'Calendar',
144
144
  icon: 'calendar',
145
- js: 'https://app.gudhub.com/modules/FullCalendar-Gh-Element/dist/main.js?t=6',
146
- css: 'https://app.gudhub.com/modules/FullCalendar-Gh-Element/dist/style.css?t=1',
145
+ js: 'https://modules.gudhub.com/FullCalendar-Gh-Element/dist/main.js?t=6',
146
+ css: 'https://modules.gudhub.com/FullCalendar-Gh-Element/dist/style.css?t=1',
147
147
  type: 'gh_element',
148
148
  technology: "class"
149
149
  },
@@ -219,6 +219,14 @@ export default function generateModulesList(async_modules_path, file_server_url,
219
219
  type: 'gh_element',
220
220
  technology: 'angular'
221
221
  },
222
+ {
223
+ data_type: 'shared_groups',
224
+ name: 'Shared Groups',
225
+ icon: 'user_gh_element',
226
+ url: file_server_url + '/' + async_modules_path + 'shared_groups_data.js',
227
+ type: 'gh_element',
228
+ technology: 'angular',
229
+ },
222
230
  {
223
231
  data_type: "app",
224
232
  name: 'App',
@@ -612,7 +620,7 @@ export default function generateModulesList(async_modules_path, file_server_url,
612
620
  data_type: "button",
613
621
  name: 'Button',
614
622
  icon: 'button',
615
- js: "https://app.gudhub.com/modules/button_action/button_action.js?t=1",
623
+ js: "https://modules.gudhub.com/button_action/button_action.js?t=1",
616
624
  type: 'gh_element',
617
625
  technology: 'class'
618
626
  },
@@ -620,8 +628,8 @@ export default function generateModulesList(async_modules_path, file_server_url,
620
628
  data_type: "editorjs",
621
629
  name: 'EditorJS',
622
630
  icon: 'code_editor',
623
- js: "https://app.gudhub.com/modules/Editor-Js/dist/main.js?t=2",
624
- css: "https://app.gudhub.com/modules/Editor-Js/dist/style.css?t=2",
631
+ js: "https://modules.gudhub.com/Editor-Js/dist/main.js?t=2",
632
+ css: "https://modules.gudhub.com/Editor-Js/dist/style.css?t=2",
625
633
  type: 'gh_element',
626
634
  technology: 'class'
627
635
  },
@@ -859,8 +867,8 @@ export default function generateModulesList(async_modules_path, file_server_url,
859
867
  data_type: "nested_list",
860
868
  name: 'Nested List',
861
869
  icon: 'scheduling',
862
- js: "https://app.gudhub.com/modules/Nested-List/dist/main.js?t=2",
863
- css: "https://app.gudhub.com/modules/Nested-List/dist/style.css?t=2",
870
+ js: "https://modules.gudhub.com/Nested-List/dist/main.js?t=2",
871
+ css: "https://modules.gudhub.com/Nested-List/dist/style.css?t=2",
864
872
  type: 'gh_element',
865
873
  technology: 'class'
866
874
  },
@@ -876,8 +884,8 @@ export default function generateModulesList(async_modules_path, file_server_url,
876
884
  data_type: "markdown_viewer",
877
885
  name: 'Markdown viewer',
878
886
  icon: 'code_editor',
879
- js: "https://app.gudhub.com/modules/markdown-it-gh-element/dist/main.js?t=1",
880
- css: "https://app.gudhub.com/modules/markdown-it-gh-element/dist/style.css?t=1",
887
+ js: "https://modules.gudhub.com/markdown-it-gh-element/dist/main.js?t=1",
888
+ css: "https://modules.gudhub.com/markdown-it-gh-element/dist/style.css?t=1",
881
889
  type: 'gh_element',
882
890
  technology: "class"
883
891
  },
@@ -885,8 +893,8 @@ export default function generateModulesList(async_modules_path, file_server_url,
885
893
  data_type: "html_viewer",
886
894
  name: 'HTML Viewer',
887
895
  icon: 'code_editor',
888
- js: "https://app.gudhub.com/modules/HTML-Viewer/dist/main.js?t=1",
889
- css: "https://app.gudhub.com/modules/HTML-Viewer/dist/style.css?t=1",
896
+ js: "https://modules.gudhub.com/HTML-Viewer/dist/main.js?t=1",
897
+ css: "https://modules.gudhub.com/HTML-Viewer/dist/style.css?t=1",
890
898
  type: 'gh_element',
891
899
  technology: "class"
892
900
  },
@@ -910,8 +918,8 @@ export default function generateModulesList(async_modules_path, file_server_url,
910
918
  data_type: 'cron_picker',
911
919
  name: 'Cron Picker',
912
920
  icon: 'table',
913
- js: 'https://app.gudhub.com/modules/Cron-Picker/dist/main.js?t=2',
914
- css: 'https://app.gudhub.com/modules/Cron-Picker/dist/style.css?t=2',
921
+ js: 'https://modules.gudhub.com/Cron-Picker/dist/main.js?t=2',
922
+ css: 'https://modules.gudhub.com/Cron-Picker/dist/style.css?t=2',
915
923
  type: 'gh_element',
916
924
  technology: 'class'
917
925
  },
@@ -919,8 +927,8 @@ export default function generateModulesList(async_modules_path, file_server_url,
919
927
  data_type: 'balance_sheet',
920
928
  name: 'Balance Sheet',
921
929
  icon: 'table',
922
- js: 'https://app.gudhub.com/modules/balance-sheet/dist/main.js?t=2',
923
- css: 'https://app.gudhub.com/modules/balance-sheet/dist/style.css?t=2',
930
+ js: 'https://modules.gudhub.com/balance-sheet/dist/main.js?t=2',
931
+ css: 'https://modules.gudhub.com/balance-sheet/dist/style.css?t=2',
924
932
  type: 'gh_element',
925
933
  technology: 'class'
926
934
  },
@@ -928,8 +936,8 @@ export default function generateModulesList(async_modules_path, file_server_url,
928
936
  data_type: 'quote_form',
929
937
  name: 'Quote Form',
930
938
  icon: 'table',
931
- js: 'https://app.gudhub.com/modules/countertop-quote-form/dist/main.js',
932
- css: 'https://app.gudhub.com/modules/countertop-quote-form/dist/style.css',
939
+ js: 'https://modules.gudhub.com/countertop-quote-form/dist/main.js',
940
+ css: 'https://modules.gudhub.com/countertop-quote-form/dist/style.css',
933
941
  type: 'gh_element',
934
942
  technology: 'class'
935
943
  },
@@ -937,8 +945,8 @@ export default function generateModulesList(async_modules_path, file_server_url,
937
945
  data_type: 'static_nested_list',
938
946
  name: 'Nested Filter',
939
947
  icon: 'scheduling',
940
- js: 'https://app.gudhub.com/modules/nested-filter/dist/main.js?t=1',
941
- css: 'https://app.gudhub.com/modules/nested-filter/dist/style.css?t=1',
948
+ js: 'https://modules.gudhub.com/nested-filter/dist/main.js?t=1',
949
+ css: 'https://modules.gudhub.com/nested-filter/dist/style.css?t=1',
942
950
  type: 'gh_element',
943
951
  technology: 'class'
944
952
  },
@@ -946,8 +954,8 @@ export default function generateModulesList(async_modules_path, file_server_url,
946
954
  data_type: 'conversations',
947
955
  name: 'Conversations',
948
956
  icon: 'timeline',
949
- js: 'https://app.gudhub.com/modules/conversation/dist/main.js?t=1',
950
- css: 'https://app.gudhub.com/modules/conversation/dist/style.css?t=1',
957
+ js: 'https://modules.gudhub.com/conversation/dist/main.js?t=1',
958
+ css: 'https://modules.gudhub.com/conversation/dist/style.css?t=1',
951
959
  type: 'gh_element',
952
960
  technology: 'class'
953
961
  },
@@ -955,8 +963,8 @@ export default function generateModulesList(async_modules_path, file_server_url,
955
963
  data_type: 'study_journal',
956
964
  name: 'Study Journal',
957
965
  icon: 'study_journal',
958
- js: 'https://app.gudhub.com/modules/Study-Journal/dist/main.js?t=1',
959
- css: 'https://app.gudhub.com/modules/Study-Journal/dist/style.css',
966
+ js: 'https://modules.gudhub.com/Study-Journal/dist/main.js?t=1',
967
+ css: 'https://modules.gudhub.com/Study-Journal/dist/style.css',
960
968
  type: 'gh_element',
961
969
  technology: 'class'
962
970
  },
@@ -964,8 +972,8 @@ export default function generateModulesList(async_modules_path, file_server_url,
964
972
  data_type: 'study_schedule',
965
973
  name: 'Study Schedule',
966
974
  icon: 'timeline',
967
- js: 'https://app.gudhub.com/modules/Study-Schedule/dist/main.js?t=1',
968
- css: 'https://app.gudhub.com/modules/Study-Schedule/dist/style.css?t=1',
975
+ js: 'https://modules.gudhub.com/Study-Schedule/dist/main.js?t=1',
976
+ css: 'https://modules.gudhub.com/Study-Schedule/dist/style.css?t=1',
969
977
  type: 'gh_element',
970
978
  technology: 'class'
971
979
  },
@@ -973,8 +981,8 @@ export default function generateModulesList(async_modules_path, file_server_url,
973
981
  data_type: 'avatar',
974
982
  name: 'Avatar',
975
983
  icon: 'user',
976
- js: 'https://app.gudhub.com/modules/Gh-Avatar/dist/main.js?t=1',
977
- css: 'https://app.gudhub.com/modules/Gh-Avatar/dist/style.css?t=1',
984
+ js: 'https://modules.gudhub.com/Gh-Avatar/dist/main.js?t=1',
985
+ css: 'https://modules.gudhub.com/Gh-Avatar/dist/style.css?t=1',
978
986
  type: 'gh_element',
979
987
  technology: 'class'
980
988
  },
@@ -982,8 +990,8 @@ export default function generateModulesList(async_modules_path, file_server_url,
982
990
  data_type: "text_area",
983
991
  name: "Text Area",
984
992
  icon: "text_icon",
985
- js: "https://app.gudhub.com/modules/text-area-ghe/dist/main.js?t=3",
986
- css: "https://app.gudhub.com/modules/text-area-ghe/dist/style.css",
993
+ js: "https://modules.gudhub.com/text-area-ghe/dist/main.js?t=3",
994
+ css: "https://modules.gudhub.com/text-area-ghe/dist/style.css",
987
995
  type: "gh_element",
988
996
  technology: "class",
989
997
  },
@@ -1007,8 +1015,7 @@ export default function generateModulesList(async_modules_path, file_server_url,
1007
1015
  data_type: "image_annotation",
1008
1016
  name: "Image Annotation",
1009
1017
  icon: "box",
1010
- js: "https://app.gudhub.com/modules/gh-image-anotation/dist/main.js",
1011
- css: "https://app.gudhub.com/modules/gh-image-anotation/dist/style.css",
1018
+ js: "https://modules.gudhub.com/gh-image-anotation/dist/main.js",
1012
1019
  type: "gh_element",
1013
1020
  technology: "class",
1014
1021
  },
@@ -1016,8 +1023,8 @@ export default function generateModulesList(async_modules_path, file_server_url,
1016
1023
  data_type: "area_map",
1017
1024
  name: "Area Map",
1018
1025
  icon: "location",
1019
- js: "https://app.gudhub.com/modules/gh-area-map/dist/main.js",
1020
- css: "https://app.gudhub.com/modules/gh-area-map/dist/style.css",
1026
+ js: "https://modules.gudhub.com/gh-area-map/dist/main.js",
1027
+ css: "https://modules.gudhub.com/gh-area-map/dist/style.css",
1021
1028
  type: "gh_element",
1022
1029
  technology: "class",
1023
1030
  },
@@ -1025,8 +1032,8 @@ export default function generateModulesList(async_modules_path, file_server_url,
1025
1032
  data_type: "svg_to_pdf",
1026
1033
  name: "SVG To PDF",
1027
1034
  icon: "box",
1028
- js: "https://app.gudhub.com/modules/SVG-to-PDF-Gh-Element/dist/main.js",
1029
- css: "https://app.gudhub.com/modules/SVG-to-PDF-Gh-Element/dist/style.css",
1035
+ js: "https://modules.gudhub.com/SVG-to-PDF-Gh-Element/dist/main.js",
1036
+ css: "https://modules.gudhub.com/SVG-to-PDF-Gh-Element/dist/style.css",
1030
1037
  type: "gh_element",
1031
1038
  technology: "class",
1032
1039
  },
@@ -1042,8 +1049,8 @@ export default function generateModulesList(async_modules_path, file_server_url,
1042
1049
  data_type: "assessment_journual",
1043
1050
  name: "Assessment Journual",
1044
1051
  icon: "text_icon",
1045
- js: "https://app.gudhub.com/modules/Assessment-Journal/dist/main.js",
1046
- css: "https://app.gudhub.com/modules/Assessment-Journal/dist/style.css",
1052
+ js: "https://modules.gudhub.com/Assessment-Journal/dist/main.js",
1053
+ css: "https://modules.gudhub.com/Assessment-Journal/dist/style.css",
1047
1054
  type: "gh_element",
1048
1055
  technology: "class",
1049
1056
  },
@@ -24,6 +24,11 @@ export async function filterPreparation(
24
24
  return [storage_user.user_id];
25
25
  },
26
26
 
27
+ variableMethodshared_groups() {
28
+ const storage_shared_groups = storage.user?.shared_groups?.map(value => value?.group_id) ?? [];
29
+ return storage_shared_groups;
30
+ },
31
+
27
32
  variableMethoduser_email(filter) {
28
33
  const storage_user = storage.getUser();
29
34
  return [storage_user.username];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gudhub/core",
3
- "version": "1.1.115",
3
+ "version": "1.1.117",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {