@gudhub/core 1.1.40 → 1.1.42

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.
@@ -606,12 +606,6 @@ export default function generateModulesList(async_modules_path, file_server_url,
606
606
  type: 'gh_element',
607
607
  technology: 'angular'
608
608
  },
609
- {
610
- name: "markdown_viewer",
611
- url: file_server_url + '/' + async_modules_path + "markdown_viewer_data.js",
612
- type: 'gh_element',
613
- technology: 'angular'
614
- },
615
609
  {
616
610
  name: "password_input",
617
611
  url: file_server_url + '/' + async_modules_path + "password_input_data.js",
@@ -638,7 +632,7 @@ export default function generateModulesList(async_modules_path, file_server_url,
638
632
  technology: 'angular'
639
633
  },
640
634
  {
641
- name: "markdown_viewer_web_component",
635
+ name: "markdown_viewer",
642
636
  js: "https://gudhub.com/modules/markdown-it-gh-element/dist/main.js",
643
637
  css: "https://gudhub.com/modules/markdown-it-gh-element/dist/style.css",
644
638
  type: 'gh_element',
@@ -646,184 +640,244 @@ export default function generateModulesList(async_modules_path, file_server_url,
646
640
  },
647
641
  /* AUTOMATION MODULES */
648
642
  {
643
+ data_type: 'API',
649
644
  name: 'API',
650
645
  url: file_server_url + '/' + automation_modules_path + 'api_node.js',
651
646
  type: 'automation'
652
647
  },
653
648
  {
649
+ data_type: 'Calculator',
654
650
  name: 'Calculator',
655
651
  url: file_server_url + '/' + automation_modules_path + 'calculator.js',
656
652
  type: 'automation'
657
653
  },
658
654
  {
659
- name: 'CompareItems',
655
+ data_type: 'CompareItems',
656
+ name: 'Compare Items',
660
657
  url: file_server_url + '/' + automation_modules_path + 'compare_items.js',
661
658
  type: 'automation'
662
659
  },
663
660
  {
661
+ data_type: 'Constants',
664
662
  name: 'Constants',
665
663
  url: file_server_url + '/' + automation_modules_path + 'constants.js',
666
664
  type: 'automation'
667
665
  },
668
666
  {
669
- name: 'CreateFiles',
667
+ data_type: 'CreateFiles',
668
+ name: 'Create Files',
670
669
  url: file_server_url + '/' + automation_modules_path + 'create_files.js',
671
670
  type: 'automation'
672
671
  },
673
672
  {
674
- name: 'CreateItemsApi',
673
+ data_type: 'CreateItemsApi',
674
+ name: 'Create Items API',
675
675
  url: file_server_url + '/' + automation_modules_path + 'create_item_api.js',
676
676
  type: 'automation'
677
677
  },
678
678
  {
679
- name: 'FaceDetector',
679
+ data_type: 'FaceDetector',
680
+ name: 'Face Detector',
680
681
  url: file_server_url + '/' + automation_modules_path + 'face_detector.js',
681
682
  type: 'automation'
682
683
  },
683
684
  {
684
- name: 'FileDuplicate',
685
+ data_type: 'FileDuplicate',
686
+ name: 'File Duplicate',
685
687
  url: file_server_url + '/' + automation_modules_path + 'file_duplicate.js',
686
688
  type: 'automation'
687
689
  },
688
690
  {
691
+ data_type: 'Filter',
689
692
  name: 'Filter',
690
693
  url: file_server_url + '/' + automation_modules_path + 'filter_node.js',
691
694
  type: 'automation'
692
695
  },
693
696
  {
694
- name: 'GetItemByItemRef',
697
+ data_type: 'GetItemByItemRef',
698
+ name: 'Get Item By Item Ref',
695
699
  url: file_server_url + '/' + automation_modules_path + 'get_item_by_item_ref.js',
696
700
  type: 'automation'
697
701
  },
698
702
  {
699
- name: 'GetItems',
703
+ data_type: 'GetItems',
704
+ name: 'Get Items',
700
705
  url: file_server_url + '/' + automation_modules_path + 'get_items.js',
701
706
  type: 'automation'
702
707
  },
703
708
  {
704
- name: 'GhElementNode',
709
+ data_type: 'GhElementNode',
710
+ name: 'Gh Element Node',
705
711
  url: file_server_url + '/' + automation_modules_path + 'gh_element_node.js',
706
712
  type: 'automation'
707
713
  },
708
714
  {
709
- name: 'IfCondition',
715
+ data_type: 'IfCondition',
716
+ name: 'If Condition',
710
717
  url: file_server_url + '/' + automation_modules_path + 'if_condition.js',
711
718
  type: 'automation'
712
719
  },
713
720
  {
714
- name: 'ItemConstructor',
721
+ data_type: 'ItemConstructor',
722
+ name: 'Item Constructor',
715
723
  url: file_server_url + '/' + automation_modules_path + 'item_constructor.js',
716
724
  type: 'automation'
717
725
  },
718
726
  {
719
- name: 'ItemDestructor',
727
+ data_type: 'ItemDestructor',
728
+ name: 'Item Destructor',
720
729
  url: file_server_url + '/' + automation_modules_path + 'item_destructor.js',
721
730
  type: 'automation'
722
731
  },
723
732
  {
724
- name: 'JSONScheme',
733
+ data_type: 'JSONScheme',
734
+ name: 'JSON Scheme',
725
735
  url: file_server_url + '/' + automation_modules_path + 'json_scheme.js',
726
736
  type: 'automation'
727
737
  },
728
738
  {
729
- name: 'MergeItems',
739
+ data_type: 'MergeItems',
740
+ name: 'Merge Items',
730
741
  url: file_server_url + '/' + automation_modules_path + 'merge_items.js',
731
742
  type: 'automation'
732
743
  },
733
744
  {
734
- name: 'MessageConstructor',
745
+ data_type: 'MessageConstructor',
746
+ name: 'Message Constructor',
735
747
  url: file_server_url + '/' + automation_modules_path + 'message_constructor.js',
736
748
  type: 'automation'
737
749
  },
738
750
  {
739
- name: 'ObjectToItem',
751
+ data_type: 'ObjectToItem',
752
+ name: 'Object To Item',
740
753
  url: file_server_url + '/' + automation_modules_path + 'obj_to_item.js',
741
754
  type: 'automation'
742
755
  },
743
756
  {
744
- name: 'ObjectConstructor',
757
+ data_type: 'ObjectConstructor',
758
+ name: 'Object Constructor',
745
759
  url: file_server_url + '/' + automation_modules_path + 'object_constructor.js',
746
760
  type: 'automation'
747
761
  },
748
762
  {
749
- name: 'ObjectDestructor',
763
+ data_type: 'ObjectDestructor',
764
+ name: 'Object Destructor',
750
765
  url: file_server_url + '/' + automation_modules_path + 'object_destructor.js',
751
766
  type: 'automation'
752
767
  },
753
768
  {
754
- name: 'PopulateElement',
769
+ data_type: 'PopulateElement',
770
+ name: 'Populate Element',
755
771
  url: file_server_url + '/' + automation_modules_path + 'populate_element.js',
756
772
  type: 'automation'
757
773
  },
758
774
  {
759
- name: 'PopulateItems',
775
+ data_type: 'PopulateItems',
776
+ name: 'Populate Items',
760
777
  url: file_server_url + '/' + automation_modules_path + 'populate_items.js',
761
778
  type: 'automation'
762
779
  },
763
780
  {
764
- name: 'PopulateWithDate',
781
+ data_type: 'PopulateWithDate',
782
+ name: 'Populate With Date',
765
783
  url: file_server_url + '/' + automation_modules_path + 'populate_with_date.js',
766
784
  type: 'automation'
767
785
  },
768
786
  {
769
- name: 'PopulateWithItemRef',
787
+ data_type: 'PopulateWithItemRef',
788
+ name: 'Populate With Item Ref',
770
789
  url: file_server_url + '/' + automation_modules_path + 'populate_with_item_ref.js',
771
790
  type: 'automation'
772
791
  },
773
792
  {
774
- name: 'PopUpForm',
793
+ data_type: 'PopUpForm',
794
+ name: 'Pop Up Form',
775
795
  url: file_server_url + '/' + automation_modules_path + 'popup_form.js',
776
796
  type: 'automation'
777
797
  },
778
798
  {
779
- name: 'QuizForm',
799
+ data_type: 'QuizForm',
800
+ name: 'Quiz Form',
780
801
  url: file_server_url + '/' + automation_modules_path + 'quiz_form.js',
781
802
  type: 'automation'
782
803
  },
783
804
  {
784
- name: 'QuizNode',
805
+ data_type: 'QuizNode',
806
+ name: 'Quiz Node',
785
807
  url: file_server_url + '/' + automation_modules_path + 'quiz_node.js',
786
808
  type: 'automation'
787
809
  },
788
810
  {
811
+ data_type: 'Request',
789
812
  name: 'Request',
790
813
  url: file_server_url + '/' + automation_modules_path + 'request_node.js',
791
814
  type: 'automation'
792
815
  },
793
816
  {
817
+ data_type: 'Response',
794
818
  name: 'Response',
795
819
  url: file_server_url + '/' + automation_modules_path + 'response_node.js',
796
820
  type: 'automation'
797
821
  },
798
822
  {
799
- name: 'SmartInput',
823
+ data_type: 'SmartInput',
824
+ name: 'Smart Input',
800
825
  url: file_server_url + '/' + automation_modules_path + 'smart_input.js',
801
826
  type: 'automation'
802
827
  },
803
828
  {
829
+ data_type: 'Trigger',
804
830
  name: 'Trigger',
805
831
  url: file_server_url + '/' + automation_modules_path + 'trigger_node.js',
806
832
  type: 'automation'
807
833
  },
808
834
  {
809
- name: 'TwilioSMS',
835
+ data_type: 'TwilioSMS',
836
+ name: 'Twilio SMS',
810
837
  url: file_server_url + '/' + automation_modules_path + 'twilio_sms.js',
811
838
  type: 'automation'
812
839
  },
813
840
  {
814
- name: 'UpdateItemsApi',
841
+ data_type: 'UpdateItemsApi',
842
+ name: 'Update Items Api',
815
843
  url: file_server_url + '/' + automation_modules_path + 'update_items_api.js',
816
844
  type: 'automation'
817
845
  },
818
846
  {
819
- name: 'GoogleCalendar',
847
+ data_type: 'GoogleCalendar',
848
+ name: 'Google Calendar',
820
849
  url: file_server_url + '/' + automation_modules_path + 'google_calendar.js',
821
850
  type: 'automation'
822
851
  },
823
852
  {
824
- name: 'VerifyEmail',
853
+ data_type: 'VerifyEmail',
854
+ name: 'Verify Email',
825
855
  url: file_server_url + '/' + automation_modules_path + 'verify_email.js',
826
856
  type: 'automation'
857
+ },
858
+ {
859
+ data_type: 'Iterator',
860
+ name: 'Iterator',
861
+ url: file_server_url + '/' + automation_modules_path + 'iterator.js',
862
+ type: 'automation'
863
+ },
864
+ {
865
+ data_type: 'IteratorInput',
866
+ name: 'Iterator Input',
867
+ url: file_server_url + '/' + automation_modules_path + 'iterator_input.js',
868
+ type: 'automation'
869
+ },
870
+ {
871
+ data_type: 'IteratorOutput',
872
+ name: 'Iterator Output',
873
+ url: file_server_url + '/' + automation_modules_path + 'iterator_output.js',
874
+ type: 'automation'
875
+ },
876
+ {
877
+ data_type: 'SendEmail',
878
+ name: 'Send Email',
879
+ url: file_server_url + '/' + automation_modules_path + 'send_email.js',
880
+ type: 'automation'
827
881
  }
828
882
  ]
829
883
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gudhub/core",
3
- "version": "1.1.40",
3
+ "version": "1.1.42",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -104,7 +104,7 @@ var t="function"==typeof Map&&Map.prototype,e=Object.getOwnPropertyDescriptor&&t
104
104
  },{}],"E3xI":[function(require,module,exports) {
105
105
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.PipeService=void 0;var e=require("./utils.js");function r(e){return i(e)||n(e)||s(e)||t()}function t(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function s(e,r){if(e){if("string"==typeof e)return o(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?o(e,r):void 0}}function n(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function i(e){if(Array.isArray(e))return o(e)}function o(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,s=new Array(r);t<r;t++)s[t]=e[t];return s}function a(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function u(e,r){for(var t=0;t<r.length;t++){var s=r[t];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}function c(e,r,t){return r&&u(e.prototype,r),t&&u(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}var l=function(){function t(){a(this,t),this.subscribers={},this.messageBox={}}return c(t,[{key:"on",value:function(r,t,s){var n=this;return(0,e.checkParams)(r,t,s)&&r.split(" ").map(function(r){return r+":"+(0,e.createId)(t)}).forEach(function(e){n.subscribers[e]||(n.subscribers[e]=new Set),n.subscribers[e].add(s),n.checkMessageBox(e)}),this}},{key:"emit",value:function(r,t,s,n){var i=this;return r.split(" ").forEach(function(o){var a=o+":"+(0,e.createId)(t);if(i.subscribers[a]){if(0==i.subscribers[a].size)return i.messageBox[a]=[r,t,s,n,!1],i;i.subscribers[a].forEach(function(e){e(null,s,n)})}else i.messageBox[a]=[r,t,s,n,!1]}),this}},{key:"onRoot",value:function(e,r,t){return this.on(e,r,t)}},{key:"destroy",value:function(r,t,s){var n=this;return r.split(" ").forEach(function(r){var i=r+":"+(0,e.createId)(t);n.subscribers[i]&&s&&n.subscribers[i].delete(s),n.subscribers[i]&&!s&&delete n.subscribers[i]}),this}},{key:"checkMessageBox",value:function(e){var t=this;this.cleanMesssageBox(),this.messageBox[e]&&setTimeout(function(){t.messageBox[e]&&(t.emit.apply(t,r(t.messageBox[e])),t.messageBox[e][4]=!0)},0)}},{key:"cleanMesssageBox",value:function(){for(var e in this.messageBox)this.messageBox[e][4]&&delete this.messageBox[e]}}]),t}();exports.PipeService=l;
106
106
  },{"./utils.js":"Lc8J"}],"FJWL":[function(require,module,exports) {
107
- "use strict";function e(e,t,a){return[{name:"text",url:t+"/"+e+"text_data.js",type:"gh_element",technology:"angular"},{name:"text_opt",url:t+"/"+e+"text_options_data.js",type:"gh_element",technology:"angular"},{name:"number",url:t+"/"+e+"number_data.js",type:"gh_element",technology:"angular"},{name:"task_board",url:t+"/"+e+"task_board_data.js",type:"gh_element",technology:"angular"},{name:"visualizer",url:t+"/"+e+"visualizer_data.js",type:"gh_element",technology:"angular"},{name:"enterprice_visualizer",url:t+"/"+e+"enterprice_visualizer_data.js",type:"gh_element",technology:"angular"},{name:"email",url:t+"/"+e+"email_data.js",type:"gh_element",technology:"angular"},{name:"date",url:t+"/"+e+"date_data.js",type:"gh_element",technology:"angular"},{name:"radio_button",url:t+"/"+e+"radio_button_data.js",type:"gh_element",technology:"angular"},{name:"radio_icon",url:t+"/"+e+"radio_icon_data.js",type:"gh_element",technology:"angular"},{name:"twilio_phone",url:t+"/"+e+"twilio_phone_data.js",type:"gh_element",technology:"angular"},{name:"twilio_autodialer",url:t+"/"+e+"twillio_autodialer_data.js",type:"gh_element",technology:"angular"},{name:"color",url:t+"/"+e+"color_data.js",type:"gh_element",technology:"angular"},{name:"charts",url:t+"/"+e+"charts_data.js",type:"gh_element",technology:"angular"},{name:"funnel_chart",url:t+"/"+e+"funnel_chart_data.js",type:"gh_element",technology:"angular"},{name:"add_items_from_template",url:t+"/"+e+"add_items_from_template_data.js",type:"gh_element",technology:"angular"},{name:"item_ref",url:t+"/"+e+"itemRef_data.js",type:"gh_element",technology:"angular"},{name:"calendar",js:"https://gudhub.com/modules/FullCalendar-Gh-Element/dist/main.js",css:"https://gudhub.com/modules/FullCalendar-Gh-Element/dist/style.css",type:"gh_element",technology:"class"},{name:"data_ref",url:t+"/"+e+"data_ref_data.js",type:"gh_element",technology:"angular"},{name:"table",url:t+"/"+e+"table_data.js",type:"gh_element",technology:"angular"},{name:"tile",url:t+"/"+e+"tile_data.js",type:"gh_element",technology:"angular"},{name:"file",url:t+"/"+e+"file_data.js",type:"gh_element",technology:"angular"},{name:"image",url:t+"/"+e+"image_data.js",type:"gh_element",technology:"angular"},{name:"text_editor",url:t+"/"+e+"text_editor_data.js",type:"gh_element",technology:"angular"},{name:"tinymse",url:t+"/"+e+"tinymse_data.js",type:"gh_element",technology:"angular"},{name:"duration",url:t+"/"+e+"duration_data.js",type:"gh_element",technology:"angular"},{name:"user",url:t+"/"+e+"user_data.js",type:"gh_element",technology:"angular"},{name:"app",url:t+"/"+e+"application_data.js",type:"gh_element",technology:"angular"},{name:"field",url:t+"/"+e+"field_data.js",type:"gh_element",technology:"angular"},{name:"available",url:t+"/"+e+"available_data.js",type:"gh_element",technology:"angular"},{name:"view_list",url:t+"/"+e+"view_list_data.js",type:"gh_element",technology:"angular"},{name:"calculator",url:t+"/"+e+"calculator_data.js",type:"gh_element",technology:"angular"},{name:"string_join",url:t+"/"+e+"string_joiner_data.js",type:"gh_element",technology:"angular"},{name:"signature",url:t+"/"+e+"signature_data.js",type:"gh_element",technology:"angular"},{name:"sendEmail",url:t+"/"+e+"send_email_data.js",type:"gh_element",technology:"angular"},{name:"boolean",url:t+"/"+e+"boolean_data.js",type:"gh_element",technology:"angular"},{name:"product_gallery",url:t+"/"+e+"product_gallery_data.js",type:"gh_element",technology:"angular"},{name:"online_inventory",url:t+"/"+e+"online_inventory_data.js",type:"gh_element",technology:"angular"},{name:"3d_edges",url:t+"/"+e+"3d_edges_data.js",type:"gh_element",technology:"angular"},{name:"color_list",url:t+"/"+e+"color_list_data.js",type:"gh_element",technology:"angular"},{name:"go_to_link",url:t+"/"+e+"go_to_link_data.js",type:"gh_element",technology:"angular"},{name:"go_to_view",url:t+"/"+e+"go_to_view_data.js",type:"gh_element",technology:"angular"},{name:"range",url:t+"/"+e+"range_data.js",type:"gh_element",technology:"angular"},{name:"barcode",url:t+"/"+e+"barcode_data.js",type:"gh_element",technology:"angular"},{name:"item_remote_add",url:t+"/"+e+"item_remote_add_data.js",type:"gh_element",technology:"angular"},{name:"item_remote_update",url:t+"/"+e+"item_remote_update_data.js",type:"gh_element",technology:"angular"},{name:"timeline",url:t+"/"+e+"timeline_data.js",type:"gh_element",technology:"angular"},{name:"delete_item",url:t+"/"+e+"delete_action.js",type:"gh_element",technology:"angular"},{name:"print_doc",url:t+"/"+e+"print_doc_action.js",type:"gh_element",technology:"angular"},{name:"open_item",url:t+"/"+e+"open_item_action.js",type:"gh_element",technology:"angular"},{name:"edit_template",url:t+"/"+e+"edit_template_action.js",type:"gh_element",technology:"angular"},{name:"open_app",url:t+"/"+e+"open_app_action.js",type:"gh_element",technology:"angular"},{name:"user_settings",url:t+"/"+e+"user_settings_action.js",type:"gh_element",technology:"angular"},{name:"app_sharing",url:t+"/"+e+"sharing_action.js",type:"gh_element",technology:"angular"},{name:"app_constructor",url:t+"/"+e+"app_constructor_action.js",type:"gh_element",technology:"angular"},{name:"app_settings",url:t+"/"+e+"app_settings_action.js",type:"gh_element",technology:"angular"},{name:"export_csv",url:t+"/"+e+"export_csv.js",type:"gh_element",technology:"angular"},{name:"import_csv",url:t+"/"+e+"import_csv.js",type:"gh_element",technology:"angular"},{name:"add_items",url:t+"/"+e+"add_items_action.js",type:"gh_element",technology:"angular"},{name:"update_items",url:t+"/"+e+"update_items_action.js",type:"gh_element",technology:"angular"},{name:"install_app",url:t+"/"+e+"install_app_action.js",type:"gh_element",technology:"angular"},{name:"search_action",url:t+"/"+e+"search_action.js",type:"gh_element",technology:"angular"},{name:"filter_table",url:t+"/"+e+"filter_table_action.js",type:"gh_element",technology:"angular"},{name:"slider",url:t+"/"+e+"slider_data.js",type:"gh_element",technology:"angular"},{name:"clone_item",url:t+"/"+e+"clone_item_action.js",type:"gh_element",technology:"angular"},{name:"close",url:t+"/"+e+"close_action.js",type:"gh_element",technology:"angular"},{name:"phone",url:t+"/"+e+"phone_data.js",type:"gh_element",technology:"angular"},{name:"link",url:t+"/"+e+"link_data.js",type:"gh_element",technology:"angular"},{name:"sheduling",url:t+"/"+e+"sheduling_data.js",type:"gh_element",technology:"angular"},{name:"qrcode",url:t+"/"+e+"qrcode_data.js",type:"gh_element",technology:"angular"},{name:"graph2d",url:t+"/"+e+"graph2d_data.js",type:"gh_element",technology:"angular"},{name:"quote_tool",url:t+"/"+e+"quote_tool_data.js",type:"gh_element",technology:"angular"},{name:"cards",url:t+"/"+e+"cards_data.js",type:"gh_element",technology:"angular"},{name:"jsonConstructor",url:t+"/"+e+"json_constructor_data.js",type:"gh_element",technology:"angular"},{name:"button",js:"https://gudhub.com/modules/button_action/button_action.js",type:"gh_element",technology:"class"},{name:"editorjs",js:"https://gudhub.com/modules/Editor-Js/dist/main.js",css:"https://gudhub.com/modules/Editor-Js/dist/style.css",type:"gh_element",technology:"class"},{name:"filter_advanced",url:t+"/"+e+"filter_advanced_data.js",type:"gh_element",technology:"angular"},{name:"code_editor",url:t+"/"+e+"code_editor_data.js",type:"gh_element",technology:"angular"},{name:"icon",url:t+"/"+e+"icon_data.js",type:"gh_element",technology:"angular"},{name:"quoteRequest",url:t+"/"+e+"quote_request_data.js",type:"gh_element",technology:"angular"},{name:"view_container",url:t+"/"+e+"view_container_data.js",type:"gh_element",technology:"angular"},{name:"element_ref",url:t+"/"+e+"element_ref_data.js",type:"gh_element",technology:"angular"},{name:"quote_tool_objects_renderer",url:t+"/"+e+"quote_tool_objects_renderer_data.js",type:"gh_element",technology:"angular"},{name:"quote_tool_objects_renderer_generator",url:t+"/"+e+"quote_tool_objects_renderer_generator_data.js",type:"gh_element",technology:"angular"},{name:"trigger",url:t+"/"+e+"trigger_data.js",type:"gh_element",technology:"angular"},{name:"voting",url:t+"/"+e+"voting_data.js",type:"gh_element",technology:"angular"},{name:"view_tabs",url:t+"/"+e+"view_tabs.js",type:"gh_element",technology:"angular"},{name:"filter_tabs",url:t+"/"+e+"filter_tabs.js",type:"gh_element",technology:"angular"},{name:"gps_coords",url:t+"/"+e+"gps_coords.js",type:"gh_element",technology:"angular"},{name:"google_map",url:t+"/"+e+"google_map_data.js",type:"gh_element",technology:"angular"},{name:"data_migrations",url:t+"/"+e+"data_migrations.js",type:"gh_element",technology:"angular"},{name:"additional_settings",url:t+"/"+e+"gh_additional_settings_data.js",type:"gh_element",technology:"angular"},{name:"send_request",url:t+"/"+e+"send_request_data.js",type:"gh_element",technology:"angular"},{name:"webcam",url:t+"/"+e+"webcam_data.js",type:"gh_element",technology:"angular"},{name:"json_viewer",url:t+"/"+e+"json_viewer_data.js",type:"gh_element",technology:"angular"},{name:"notifications",url:t+"/"+e+"notifications_data.js",type:"gh_element",technology:"angular"},{name:"api",url:t+"/"+e+"api_data.js",type:"gh_element",technology:"angular"},{name:"smart_input",url:t+"/"+e+"smart_input_data.js",type:"gh_element",technology:"angular"},{name:"json_editor",url:t+"/"+e+"json_editor_data.js",type:"gh_element",technology:"angular"},{name:"grapes_html_editor",url:t+"/"+e+"grapes_html_editor_data.js",type:"gh_element",technology:"angular"},{name:"quiz",url:t+"/"+e+"quiz_data.js",type:"gh_element",technology:"angular"},{name:"markdown_viewer",url:t+"/"+e+"markdown_viewer_data.js",type:"gh_element",technology:"angular"},{name:"password_input",url:t+"/"+e+"password_input_data.js",type:"gh_element",technology:"angular"},{name:"vs_code",url:t+"/"+e+"vs_code_data.js",type:"gh_element",technology:"angular"},{name:"nested_list",js:"https://gudhub.com/modules/Nested-List/dist/main.js",css:"https://gudhub.com/modules/Nested-List/dist/style.css",type:"gh_element",technology:"class"},{name:"countertop_smart_quote",url:t+"/"+e+"countertop_smart_quote_data.js",type:"gh_element",technology:"angular"},{name:"markdown_viewer_web_component",js:"https://gudhub.com/modules/markdown-it-gh-element/dist/main.js",css:"https://gudhub.com/modules/markdown-it-gh-element/dist/style.css",type:"gh_element",technology:"class"},{name:"API",url:t+"/"+a+"api_node.js",type:"automation"},{name:"Calculator",url:t+"/"+a+"calculator.js",type:"automation"},{name:"CompareItems",url:t+"/"+a+"compare_items.js",type:"automation"},{name:"Constants",url:t+"/"+a+"constants.js",type:"automation"},{name:"CreateFiles",url:t+"/"+a+"create_files.js",type:"automation"},{name:"CreateItemsApi",url:t+"/"+a+"create_item_api.js",type:"automation"},{name:"FaceDetector",url:t+"/"+a+"face_detector.js",type:"automation"},{name:"FileDuplicate",url:t+"/"+a+"file_duplicate.js",type:"automation"},{name:"Filter",url:t+"/"+a+"filter_node.js",type:"automation"},{name:"GetItemByItemRef",url:t+"/"+a+"get_item_by_item_ref.js",type:"automation"},{name:"GetItems",url:t+"/"+a+"get_items.js",type:"automation"},{name:"GhElementNode",url:t+"/"+a+"gh_element_node.js",type:"automation"},{name:"IfCondition",url:t+"/"+a+"if_condition.js",type:"automation"},{name:"ItemConstructor",url:t+"/"+a+"item_constructor.js",type:"automation"},{name:"ItemDestructor",url:t+"/"+a+"item_destructor.js",type:"automation"},{name:"JSONScheme",url:t+"/"+a+"json_scheme.js",type:"automation"},{name:"MergeItems",url:t+"/"+a+"merge_items.js",type:"automation"},{name:"MessageConstructor",url:t+"/"+a+"message_constructor.js",type:"automation"},{name:"ObjectToItem",url:t+"/"+a+"obj_to_item.js",type:"automation"},{name:"ObjectConstructor",url:t+"/"+a+"object_constructor.js",type:"automation"},{name:"ObjectDestructor",url:t+"/"+a+"object_destructor.js",type:"automation"},{name:"PopulateElement",url:t+"/"+a+"populate_element.js",type:"automation"},{name:"PopulateItems",url:t+"/"+a+"populate_items.js",type:"automation"},{name:"PopulateWithDate",url:t+"/"+a+"populate_with_date.js",type:"automation"},{name:"PopulateWithItemRef",url:t+"/"+a+"populate_with_item_ref.js",type:"automation"},{name:"PopUpForm",url:t+"/"+a+"popup_form.js",type:"automation"},{name:"QuizForm",url:t+"/"+a+"quiz_form.js",type:"automation"},{name:"QuizNode",url:t+"/"+a+"quiz_node.js",type:"automation"},{name:"Request",url:t+"/"+a+"request_node.js",type:"automation"},{name:"Response",url:t+"/"+a+"response_node.js",type:"automation"},{name:"SmartInput",url:t+"/"+a+"smart_input.js",type:"automation"},{name:"Trigger",url:t+"/"+a+"trigger_node.js",type:"automation"},{name:"TwilioSMS",url:t+"/"+a+"twilio_sms.js",type:"automation"},{name:"UpdateItemsApi",url:t+"/"+a+"update_items_api.js",type:"automation"},{name:"GoogleCalendar",url:t+"/"+a+"google_calendar.js",type:"automation"},{name:"VerifyEmail",url:t+"/"+a+"verify_email.js",type:"automation"}]}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e;
107
+ "use strict";function e(e,t,a){return[{name:"text",url:t+"/"+e+"text_data.js",type:"gh_element",technology:"angular"},{name:"text_opt",url:t+"/"+e+"text_options_data.js",type:"gh_element",technology:"angular"},{name:"number",url:t+"/"+e+"number_data.js",type:"gh_element",technology:"angular"},{name:"task_board",url:t+"/"+e+"task_board_data.js",type:"gh_element",technology:"angular"},{name:"visualizer",url:t+"/"+e+"visualizer_data.js",type:"gh_element",technology:"angular"},{name:"enterprice_visualizer",url:t+"/"+e+"enterprice_visualizer_data.js",type:"gh_element",technology:"angular"},{name:"email",url:t+"/"+e+"email_data.js",type:"gh_element",technology:"angular"},{name:"date",url:t+"/"+e+"date_data.js",type:"gh_element",technology:"angular"},{name:"radio_button",url:t+"/"+e+"radio_button_data.js",type:"gh_element",technology:"angular"},{name:"radio_icon",url:t+"/"+e+"radio_icon_data.js",type:"gh_element",technology:"angular"},{name:"twilio_phone",url:t+"/"+e+"twilio_phone_data.js",type:"gh_element",technology:"angular"},{name:"twilio_autodialer",url:t+"/"+e+"twillio_autodialer_data.js",type:"gh_element",technology:"angular"},{name:"color",url:t+"/"+e+"color_data.js",type:"gh_element",technology:"angular"},{name:"charts",url:t+"/"+e+"charts_data.js",type:"gh_element",technology:"angular"},{name:"funnel_chart",url:t+"/"+e+"funnel_chart_data.js",type:"gh_element",technology:"angular"},{name:"add_items_from_template",url:t+"/"+e+"add_items_from_template_data.js",type:"gh_element",technology:"angular"},{name:"item_ref",url:t+"/"+e+"itemRef_data.js",type:"gh_element",technology:"angular"},{name:"calendar",js:"https://gudhub.com/modules/FullCalendar-Gh-Element/dist/main.js",css:"https://gudhub.com/modules/FullCalendar-Gh-Element/dist/style.css",type:"gh_element",technology:"class"},{name:"data_ref",url:t+"/"+e+"data_ref_data.js",type:"gh_element",technology:"angular"},{name:"table",url:t+"/"+e+"table_data.js",type:"gh_element",technology:"angular"},{name:"tile",url:t+"/"+e+"tile_data.js",type:"gh_element",technology:"angular"},{name:"file",url:t+"/"+e+"file_data.js",type:"gh_element",technology:"angular"},{name:"image",url:t+"/"+e+"image_data.js",type:"gh_element",technology:"angular"},{name:"text_editor",url:t+"/"+e+"text_editor_data.js",type:"gh_element",technology:"angular"},{name:"tinymse",url:t+"/"+e+"tinymse_data.js",type:"gh_element",technology:"angular"},{name:"duration",url:t+"/"+e+"duration_data.js",type:"gh_element",technology:"angular"},{name:"user",url:t+"/"+e+"user_data.js",type:"gh_element",technology:"angular"},{name:"app",url:t+"/"+e+"application_data.js",type:"gh_element",technology:"angular"},{name:"field",url:t+"/"+e+"field_data.js",type:"gh_element",technology:"angular"},{name:"available",url:t+"/"+e+"available_data.js",type:"gh_element",technology:"angular"},{name:"view_list",url:t+"/"+e+"view_list_data.js",type:"gh_element",technology:"angular"},{name:"calculator",url:t+"/"+e+"calculator_data.js",type:"gh_element",technology:"angular"},{name:"string_join",url:t+"/"+e+"string_joiner_data.js",type:"gh_element",technology:"angular"},{name:"signature",url:t+"/"+e+"signature_data.js",type:"gh_element",technology:"angular"},{name:"sendEmail",url:t+"/"+e+"send_email_data.js",type:"gh_element",technology:"angular"},{name:"boolean",url:t+"/"+e+"boolean_data.js",type:"gh_element",technology:"angular"},{name:"product_gallery",url:t+"/"+e+"product_gallery_data.js",type:"gh_element",technology:"angular"},{name:"online_inventory",url:t+"/"+e+"online_inventory_data.js",type:"gh_element",technology:"angular"},{name:"3d_edges",url:t+"/"+e+"3d_edges_data.js",type:"gh_element",technology:"angular"},{name:"color_list",url:t+"/"+e+"color_list_data.js",type:"gh_element",technology:"angular"},{name:"go_to_link",url:t+"/"+e+"go_to_link_data.js",type:"gh_element",technology:"angular"},{name:"go_to_view",url:t+"/"+e+"go_to_view_data.js",type:"gh_element",technology:"angular"},{name:"range",url:t+"/"+e+"range_data.js",type:"gh_element",technology:"angular"},{name:"barcode",url:t+"/"+e+"barcode_data.js",type:"gh_element",technology:"angular"},{name:"item_remote_add",url:t+"/"+e+"item_remote_add_data.js",type:"gh_element",technology:"angular"},{name:"item_remote_update",url:t+"/"+e+"item_remote_update_data.js",type:"gh_element",technology:"angular"},{name:"timeline",url:t+"/"+e+"timeline_data.js",type:"gh_element",technology:"angular"},{name:"delete_item",url:t+"/"+e+"delete_action.js",type:"gh_element",technology:"angular"},{name:"print_doc",url:t+"/"+e+"print_doc_action.js",type:"gh_element",technology:"angular"},{name:"open_item",url:t+"/"+e+"open_item_action.js",type:"gh_element",technology:"angular"},{name:"edit_template",url:t+"/"+e+"edit_template_action.js",type:"gh_element",technology:"angular"},{name:"open_app",url:t+"/"+e+"open_app_action.js",type:"gh_element",technology:"angular"},{name:"user_settings",url:t+"/"+e+"user_settings_action.js",type:"gh_element",technology:"angular"},{name:"app_sharing",url:t+"/"+e+"sharing_action.js",type:"gh_element",technology:"angular"},{name:"app_constructor",url:t+"/"+e+"app_constructor_action.js",type:"gh_element",technology:"angular"},{name:"app_settings",url:t+"/"+e+"app_settings_action.js",type:"gh_element",technology:"angular"},{name:"export_csv",url:t+"/"+e+"export_csv.js",type:"gh_element",technology:"angular"},{name:"import_csv",url:t+"/"+e+"import_csv.js",type:"gh_element",technology:"angular"},{name:"add_items",url:t+"/"+e+"add_items_action.js",type:"gh_element",technology:"angular"},{name:"update_items",url:t+"/"+e+"update_items_action.js",type:"gh_element",technology:"angular"},{name:"install_app",url:t+"/"+e+"install_app_action.js",type:"gh_element",technology:"angular"},{name:"search_action",url:t+"/"+e+"search_action.js",type:"gh_element",technology:"angular"},{name:"filter_table",url:t+"/"+e+"filter_table_action.js",type:"gh_element",technology:"angular"},{name:"slider",url:t+"/"+e+"slider_data.js",type:"gh_element",technology:"angular"},{name:"clone_item",url:t+"/"+e+"clone_item_action.js",type:"gh_element",technology:"angular"},{name:"close",url:t+"/"+e+"close_action.js",type:"gh_element",technology:"angular"},{name:"phone",url:t+"/"+e+"phone_data.js",type:"gh_element",technology:"angular"},{name:"link",url:t+"/"+e+"link_data.js",type:"gh_element",technology:"angular"},{name:"sheduling",url:t+"/"+e+"sheduling_data.js",type:"gh_element",technology:"angular"},{name:"qrcode",url:t+"/"+e+"qrcode_data.js",type:"gh_element",technology:"angular"},{name:"graph2d",url:t+"/"+e+"graph2d_data.js",type:"gh_element",technology:"angular"},{name:"quote_tool",url:t+"/"+e+"quote_tool_data.js",type:"gh_element",technology:"angular"},{name:"cards",url:t+"/"+e+"cards_data.js",type:"gh_element",technology:"angular"},{name:"jsonConstructor",url:t+"/"+e+"json_constructor_data.js",type:"gh_element",technology:"angular"},{name:"button",js:"https://gudhub.com/modules/button_action/button_action.js",type:"gh_element",technology:"class"},{name:"editorjs",js:"https://gudhub.com/modules/Editor-Js/dist/main.js",css:"https://gudhub.com/modules/Editor-Js/dist/style.css",type:"gh_element",technology:"class"},{name:"filter_advanced",url:t+"/"+e+"filter_advanced_data.js",type:"gh_element",technology:"angular"},{name:"code_editor",url:t+"/"+e+"code_editor_data.js",type:"gh_element",technology:"angular"},{name:"icon",url:t+"/"+e+"icon_data.js",type:"gh_element",technology:"angular"},{name:"quoteRequest",url:t+"/"+e+"quote_request_data.js",type:"gh_element",technology:"angular"},{name:"view_container",url:t+"/"+e+"view_container_data.js",type:"gh_element",technology:"angular"},{name:"element_ref",url:t+"/"+e+"element_ref_data.js",type:"gh_element",technology:"angular"},{name:"quote_tool_objects_renderer",url:t+"/"+e+"quote_tool_objects_renderer_data.js",type:"gh_element",technology:"angular"},{name:"quote_tool_objects_renderer_generator",url:t+"/"+e+"quote_tool_objects_renderer_generator_data.js",type:"gh_element",technology:"angular"},{name:"trigger",url:t+"/"+e+"trigger_data.js",type:"gh_element",technology:"angular"},{name:"voting",url:t+"/"+e+"voting_data.js",type:"gh_element",technology:"angular"},{name:"view_tabs",url:t+"/"+e+"view_tabs.js",type:"gh_element",technology:"angular"},{name:"filter_tabs",url:t+"/"+e+"filter_tabs.js",type:"gh_element",technology:"angular"},{name:"gps_coords",url:t+"/"+e+"gps_coords.js",type:"gh_element",technology:"angular"},{name:"google_map",url:t+"/"+e+"google_map_data.js",type:"gh_element",technology:"angular"},{name:"data_migrations",url:t+"/"+e+"data_migrations.js",type:"gh_element",technology:"angular"},{name:"additional_settings",url:t+"/"+e+"gh_additional_settings_data.js",type:"gh_element",technology:"angular"},{name:"send_request",url:t+"/"+e+"send_request_data.js",type:"gh_element",technology:"angular"},{name:"webcam",url:t+"/"+e+"webcam_data.js",type:"gh_element",technology:"angular"},{name:"json_viewer",url:t+"/"+e+"json_viewer_data.js",type:"gh_element",technology:"angular"},{name:"notifications",url:t+"/"+e+"notifications_data.js",type:"gh_element",technology:"angular"},{name:"api",url:t+"/"+e+"api_data.js",type:"gh_element",technology:"angular"},{name:"smart_input",url:t+"/"+e+"smart_input_data.js",type:"gh_element",technology:"angular"},{name:"json_editor",url:t+"/"+e+"json_editor_data.js",type:"gh_element",technology:"angular"},{name:"grapes_html_editor",url:t+"/"+e+"grapes_html_editor_data.js",type:"gh_element",technology:"angular"},{name:"quiz",url:t+"/"+e+"quiz_data.js",type:"gh_element",technology:"angular"},{name:"password_input",url:t+"/"+e+"password_input_data.js",type:"gh_element",technology:"angular"},{name:"vs_code",url:t+"/"+e+"vs_code_data.js",type:"gh_element",technology:"angular"},{name:"nested_list",js:"https://gudhub.com/modules/Nested-List/dist/main.js",css:"https://gudhub.com/modules/Nested-List/dist/style.css",type:"gh_element",technology:"class"},{name:"countertop_smart_quote",url:t+"/"+e+"countertop_smart_quote_data.js",type:"gh_element",technology:"angular"},{name:"markdown_viewer",js:"https://gudhub.com/modules/markdown-it-gh-element/dist/main.js",css:"https://gudhub.com/modules/markdown-it-gh-element/dist/style.css",type:"gh_element",technology:"class"},{data_type:"API",name:"API",url:t+"/"+a+"api_node.js",type:"automation"},{data_type:"Calculator",name:"Calculator",url:t+"/"+a+"calculator.js",type:"automation"},{data_type:"CompareItems",name:"Compare Items",url:t+"/"+a+"compare_items.js",type:"automation"},{data_type:"Constants",name:"Constants",url:t+"/"+a+"constants.js",type:"automation"},{data_type:"CreateFiles",name:"Create Files",url:t+"/"+a+"create_files.js",type:"automation"},{data_type:"CreateItemsApi",name:"Create Items API",url:t+"/"+a+"create_item_api.js",type:"automation"},{data_type:"FaceDetector",name:"Face Detector",url:t+"/"+a+"face_detector.js",type:"automation"},{data_type:"FileDuplicate",name:"File Duplicate",url:t+"/"+a+"file_duplicate.js",type:"automation"},{data_type:"Filter",name:"Filter",url:t+"/"+a+"filter_node.js",type:"automation"},{data_type:"GetItemByItemRef",name:"Get Item By Item Ref",url:t+"/"+a+"get_item_by_item_ref.js",type:"automation"},{data_type:"GetItems",name:"Get Items",url:t+"/"+a+"get_items.js",type:"automation"},{data_type:"GhElementNode",name:"Gh Element Node",url:t+"/"+a+"gh_element_node.js",type:"automation"},{data_type:"IfCondition",name:"If Condition",url:t+"/"+a+"if_condition.js",type:"automation"},{data_type:"ItemConstructor",name:"Item Constructor",url:t+"/"+a+"item_constructor.js",type:"automation"},{data_type:"ItemDestructor",name:"Item Destructor",url:t+"/"+a+"item_destructor.js",type:"automation"},{data_type:"JSONScheme",name:"JSON Scheme",url:t+"/"+a+"json_scheme.js",type:"automation"},{data_type:"MergeItems",name:"Merge Items",url:t+"/"+a+"merge_items.js",type:"automation"},{data_type:"MessageConstructor",name:"Message Constructor",url:t+"/"+a+"message_constructor.js",type:"automation"},{data_type:"ObjectToItem",name:"Object To Item",url:t+"/"+a+"obj_to_item.js",type:"automation"},{data_type:"ObjectConstructor",name:"Object Constructor",url:t+"/"+a+"object_constructor.js",type:"automation"},{data_type:"ObjectDestructor",name:"Object Destructor",url:t+"/"+a+"object_destructor.js",type:"automation"},{data_type:"PopulateElement",name:"Populate Element",url:t+"/"+a+"populate_element.js",type:"automation"},{data_type:"PopulateItems",name:"Populate Items",url:t+"/"+a+"populate_items.js",type:"automation"},{data_type:"PopulateWithDate",name:"Populate With Date",url:t+"/"+a+"populate_with_date.js",type:"automation"},{data_type:"PopulateWithItemRef",name:"Populate With Item Ref",url:t+"/"+a+"populate_with_item_ref.js",type:"automation"},{data_type:"PopUpForm",name:"Pop Up Form",url:t+"/"+a+"popup_form.js",type:"automation"},{data_type:"QuizForm",name:"Quiz Form",url:t+"/"+a+"quiz_form.js",type:"automation"},{data_type:"QuizNode",name:"Quiz Node",url:t+"/"+a+"quiz_node.js",type:"automation"},{data_type:"Request",name:"Request",url:t+"/"+a+"request_node.js",type:"automation"},{data_type:"Response",name:"Response",url:t+"/"+a+"response_node.js",type:"automation"},{data_type:"SmartInput",name:"Smart Input",url:t+"/"+a+"smart_input.js",type:"automation"},{data_type:"Trigger",name:"Trigger",url:t+"/"+a+"trigger_node.js",type:"automation"},{data_type:"TwilioSMS",name:"Twilio SMS",url:t+"/"+a+"twilio_sms.js",type:"automation"},{data_type:"UpdateItemsApi",name:"Update Items Api",url:t+"/"+a+"update_items_api.js",type:"automation"},{data_type:"GoogleCalendar",name:"Google Calendar",url:t+"/"+a+"google_calendar.js",type:"automation"},{data_type:"VerifyEmail",name:"Verify Email",url:t+"/"+a+"verify_email.js",type:"automation"},{data_type:"Iterator",name:"Iterator",url:t+"/"+a+"iterator.js",type:"automation"},{data_type:"IteratorInput",name:"Iterator Input",url:t+"/"+a+"iterator_input.js",type:"automation"},{data_type:"IteratorOutput",name:"Iterator Output",url:t+"/"+a+"iterator_output.js",type:"automation"},{data_type:"SendEmail",name:"Send Email",url:t+"/"+a+"send_email.js",type:"automation"}]}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e;
108
108
  },{}],"CSHe":[function(require,module,exports) {
109
109
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Storage=void 0;var t=e(require("./ModulesList.js"));function e(t){return t&&t.__esModule?t:{default:t}}function r(t){return u(t)||s(t)||i(t)||n()}function n(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function i(t,e){if(t){if("string"==typeof t)return a(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(t,e):void 0}}function s(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function u(t){if(Array.isArray(t))return a(t)}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function o(t,e,r,n,i,s,u){try{var a=t[s](u),o=a.value}catch(p){return void r(p)}a.done?e(o):Promise.resolve(o).then(n,i)}function p(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var s=t.apply(e,r);function u(t){o(s,n,i,u,a,"next",t)}function a(t){o(s,n,i,u,a,"throw",t)}u(void 0)})}}function c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function l(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?c(Object(r),!0).forEach(function(e){f(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function f(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function v(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function d(t,e,r){return e&&v(t.prototype,e),r&&v(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}var y=function(){function e(r,n,i){h(this,e),this.apps_list=[],this.users_list=[],this.user={},this.modulesList=(0,t.default)(r,n,i),this.ghComponentsPromises=[]}return d(e,[{key:"getMainStorage",value:function(){return this}},{key:"getAppsList",value:function(){return this.apps_list}},{key:"getUser",value:function(){return this.user}},{key:"getUsersList",value:function(){return this.users_list}},{key:"getModulesList",value:function(t){return void 0===t?this.modulesList:this.modulesList.filter(function(e){return e.type===t})}},{key:"getModuleUrl",value:function(t){return this.modulesList.find(function(e){return e.name==t})}},{key:"setUser",value:function(t){this.user=t,this.users_list.push(t)}},{key:"updateUser",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t.avatar_128&&(t.avatar_128=t.avatar_128+"?"+(new Date).getTime()),t.avatar_512&&(t.avatar_512=t.avatar_512+"?"+(new Date).getTime()),this.user=l(l({},this.user),t),this.users_list=this.users_list.filter(function(e){return e.user_id!=t.user_id}),this.users_list.push(this.user)}},{key:"unsetUser",value:function(){this.user={}}},{key:"getApp",value:function(t){for(var e=0;e<this.apps_list.length;e++)if(this.apps_list[e].app_id==t)return this.apps_list[e]}},{key:"unsetApps",value:function(){this.apps_list=[]}},{key:"updateApp",value:function(t){return this.apps_list=this.apps_list.map(function(e){return e.app_id==t.app_id?t:e}),this.apps_list}},{key:"deleteApp",value:function(t){return this.apps_list=this.apps_list.filter(function(e){return e.app_id!=t}),this.apps_list}},{key:"updateItemsInApp",value:function(){var t=p(regeneratorRuntime.mark(function t(e,r){var n;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.getApp(r);case 2:return(n=t.sent)&&(n.items_list=updateItems(e,n.items_list,this.pipeService.emit.bind(this.pipeService),r),this.updateApp(n)),t.abrupt("return",n);case 5:case"end":return t.stop()}},t,this)}));return function(e,r){return t.apply(this,arguments)}}()},{key:"addItemsToApp",value:function(){var t=p(regeneratorRuntime.mark(function t(e,n){var i,s;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.getApp(n);case 2:return(i=t.sent)&&((s=i.items_list).push.apply(s,r(e)),this.updateApp(i),this.pipeService.emit("gh_items_update",{app_id:n},e)),t.abrupt("return",i);case 5:case"end":return t.stop()}},t,this)}));return function(e,r){return t.apply(this,arguments)}}()},{key:"deleteItemsInApp",value:function(){var t=p(regeneratorRuntime.mark(function t(e,r){var n;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.getApp(r);case 2:return(n=t.sent)&&(n.items_list=n.items_list.filter(function(t){return!e.find(function(e){return e.item_id==t.item_id})}),this.updateApp(n)),t.abrupt("return",n);case 5:case"end":return t.stop()}},t,this)}));return function(e,r){return t.apply(this,arguments)}}()}]),e}();exports.Storage=y;
110
110
  },{"./ModulesList.js":"FJWL"}],"p58b":[function(require,module,exports) {