|
770 | 770 | "action": "function ready() { var systems = [], system = null, i = 0, length = 0; if (typeof document !== 'undefined') { systems = document.querySelectorAll('link[rel=system]'); length = systems.length; for (i = 0; i < length; i++) { system = systems[i]; if (system.getAttribute('async') === 'true') { this.load(system.href, true); } else { this.load(system.href, false); } } }}", |
771 | 771 | "core": true |
772 | 772 | }, |
773 | | - "1c0921a3931f564": { |
774 | | - "_id": "1c0921a3931f564", |
| 773 | + "1dde71507512d34": { |
| 774 | + "_id": "1dde71507512d34", |
775 | 775 | "component": "Monoco", |
776 | 776 | "state": "error", |
777 | 777 | "action": "function error(data) { console.error('monoco: ' + data.message, data.error); }", |
778 | 778 | "core": true |
779 | 779 | }, |
780 | | - "1e47f1118a12b00": { |
781 | | - "_id": "1e47f1118a12b00", |
| 780 | + "1a323191dd1bd39": { |
| 781 | + "_id": "1a323191dd1bd39", |
782 | 782 | "component": "Monoco", |
783 | 783 | "state": "find", |
784 | 784 | "action": "function find(Class, query) { return $component.find(Class, query);}", |
785 | 785 | "core": true, |
786 | 786 | "useCoreAPI": true |
787 | 787 | }, |
788 | | - "14fe418d6118f07": { |
789 | | - "_id": "14fe418d6118f07", |
| 788 | + "1aa44194861a03f": { |
| 789 | + "_id": "1aa44194861a03f", |
790 | 790 | "component": "Monoco", |
791 | 791 | "state": "system", |
792 | 792 | "action": "function system(name) { var System = null, system = {}, result = [], conf = {}; if (name) { conf.master = true; conf.name = name; System = this.require('MonocoSystem'); system = new System(conf); } else { result = this.find('MonocoSystem', {'master': true}); if (result.length) { system = result[0]; } } return system; }", |
793 | 793 | "core": true |
794 | 794 | }, |
795 | | - "14a12136b31737a": { |
796 | | - "_id": "14a12136b31737a", |
| 795 | + "15a48159f616962": { |
| 796 | + "_id": "15a48159f616962", |
797 | 797 | "component": "Monoco", |
798 | 798 | "state": "warning", |
799 | 799 | "action": "function warning(message) { console.warn('monoco: ' + message); }", |
800 | 800 | "core": true |
801 | 801 | }, |
802 | | - "1a67a10a6c11557": { |
803 | | - "_id": "1a67a10a6c11557", |
| 802 | + "135371883917b6f": { |
| 803 | + "_id": "135371883917b6f", |
804 | 804 | "component": "MonocoChannel", |
805 | 805 | "state": "listen", |
806 | 806 | "action": "function listen(event, action) { $channel.listen(event, action); }", |
807 | 807 | "core": true, |
808 | 808 | "useCoreAPI": true |
809 | 809 | }, |
810 | | - "139df1cc7212554": { |
811 | | - "_id": "139df1cc7212554", |
| 810 | + "1b40a120341d1e7": { |
| 811 | + "_id": "1b40a120341d1e7", |
812 | 812 | "component": "MonocoChannel", |
813 | 813 | "state": "send", |
814 | 814 | "action": "function send(message) { return $channel.send(message); }", |
815 | 815 | "core": true, |
816 | 816 | "useCoreAPI": true |
817 | 817 | }, |
818 | | - "1a9d51771d15c57": { |
819 | | - "_id": "1a9d51771d15c57", |
| 818 | + "1a281194671f956": { |
| 819 | + "_id": "1a281194671f956", |
820 | 820 | "component": "MonocoClassInfo", |
821 | 821 | "state": "collection", |
822 | 822 | "action": "function collection(name) { var result = {}; if (this.metamodel()[name] === 'collection') { result = this.model()[name]; } return result; }", |
823 | 823 | "core": true |
824 | 824 | }, |
825 | | - "13f2d184cc1f6e9": { |
826 | | - "_id": "13f2d184cc1f6e9", |
| 825 | + "17cf61d8bb11eb2": { |
| 826 | + "_id": "17cf61d8bb11eb2", |
827 | 827 | "component": "MonocoClassInfo", |
828 | 828 | "state": "collections", |
829 | 829 | "action": "function collections() { var keys = Object.keys(this.metamodel()), item = '', result = [], i = 0, length = 0; length = keys.length; for (i = 0; i < length; i++) { item = keys[i]; if (this.metamodel()[item] === 'collection') { result.push(item); } } return result; }", |
830 | 830 | "core": true |
831 | 831 | }, |
832 | | - "1524f15dc71d05a": { |
833 | | - "_id": "1524f15dc71d05a", |
| 832 | + "13be01d86f1dbc0": { |
| 833 | + "_id": "13be01d86f1dbc0", |
834 | 834 | "component": "MonocoClassInfo", |
835 | 835 | "state": "event", |
836 | 836 | "action": "function event(name) { var result = {}; if (this.metamodel()[name] === 'event') { result = this.model()[name]; } return result; }", |
837 | 837 | "core": true |
838 | 838 | }, |
839 | | - "1023f18cf71eb37": { |
840 | | - "_id": "1023f18cf71eb37", |
| 839 | + "1c0181ae5d111cc": { |
| 840 | + "_id": "1c0181ae5d111cc", |
841 | 841 | "component": "MonocoClassInfo", |
842 | 842 | "state": "events", |
843 | 843 | "action": "function events() { var keys = Object.keys(this.metamodel()), item = '', result = [], i = 0, length = 0; length = keys.length; for (i = 0; i < length; i++) { item = keys[i]; if (this.metamodel()[item] === 'event') { result.push(item); } } return result; }", |
844 | 844 | "core": true |
845 | 845 | }, |
846 | | - "188241d3391fd8e": { |
847 | | - "_id": "188241d3391fd8e", |
| 846 | + "182ea185a012620": { |
| 847 | + "_id": "182ea185a012620", |
848 | 848 | "component": "MonocoClassInfo", |
849 | 849 | "state": "method", |
850 | 850 | "action": "function method(name) { var result = {}; if (this.metamodel()[name] === 'method') { result = this.model()[name]; } return result; }", |
851 | 851 | "core": true |
852 | 852 | }, |
853 | | - "1afb213724111a1": { |
854 | | - "_id": "1afb213724111a1", |
| 853 | + "17762174c31742c": { |
| 854 | + "_id": "17762174c31742c", |
855 | 855 | "component": "MonocoClassInfo", |
856 | 856 | "state": "methods", |
857 | 857 | "action": "function methods() { var keys = Object.keys(this.metamodel()), item = '', result = [], i = 0, length = 0; length = keys.length; for (i = 0; i < length; i++) { item = keys[i]; if (this.metamodel()[item] === 'method') { result.push(item); } } return result; }", |
858 | 858 | "core": true |
859 | 859 | }, |
860 | | - "164611f4ab13dc7": { |
861 | | - "_id": "164611f4ab13dc7", |
| 860 | + "1593a1055e1337f": { |
| 861 | + "_id": "1593a1055e1337f", |
862 | 862 | "component": "MonocoClassInfo", |
863 | 863 | "state": "properties", |
864 | 864 | "action": "function properties() { var keys = Object.keys(this.metamodel()), item = '', result = [], i = 0, length = 0; length = keys.length; for (i = 0; i < length; i++) { item = keys[i]; if (this.metamodel()[item] === 'property') { result.push(item); } } return result; }", |
865 | 865 | "core": true |
866 | 866 | }, |
867 | | - "1dd9f123781f643": { |
868 | | - "_id": "1dd9f123781f643", |
| 867 | + "1bd9e1b93913277": { |
| 868 | + "_id": "1bd9e1b93913277", |
869 | 869 | "component": "MonocoClassInfo", |
870 | 870 | "state": "property", |
871 | 871 | "action": "function property(name) { var result = {}; if (this.metamodel()[name] === 'property') { result = this.model()[name]; } return result; }", |
872 | 872 | "core": true |
873 | 873 | }, |
874 | | - "1ee461f72f1f43e": { |
875 | | - "_id": "1ee461f72f1f43e", |
| 874 | + "153bc1ec4e142e6": { |
| 875 | + "_id": "153bc1ec4e142e6", |
876 | 876 | "component": "MonocoComponent", |
877 | 877 | "state": "destroy", |
878 | 878 | "action": "function destroy() { $component.destroy(this.id()); }", |
879 | 879 | "core": true, |
880 | 880 | "useCoreAPI": true |
881 | 881 | }, |
882 | | - "1026914ce3117af": { |
883 | | - "_id": "1026914ce3117af", |
| 882 | + "165091da1012c3b": { |
| 883 | + "_id": "165091da1012c3b", |
884 | 884 | "component": "MonocoComponent", |
885 | 885 | "state": "off", |
886 | 886 | "action": "function off(state, behaviorId) { var args = [], i = 0, length = 0; length = arguments.length; for (i = 0; i < length - 7; i++) { args.push(arguments[i]); } if ($workflow.checkParams({\"component\": this, \"methodName\": \"off\", \"args\": args})) { if ($metamodel.isValidState(state, this.constructor.name)) {$behavior.remove({\"behaviorId\": behaviorId, \"componentId\": this.id(), \"state\": state}); } else { $helper.getMonoco().warning({ \"message\":\"invoke 'off' method of component '\" + this.id() + \"' with an invalid state '\" + state + \"'\"}); } } }", |
887 | 887 | "core": true, |
888 | 888 | "useCoreAPI": true |
889 | 889 | }, |
890 | | - "197bf17ef9155a8": { |
891 | | - "_id": "197bf17ef9155a8", |
| 890 | + "15c2810f7d1a30f": { |
| 891 | + "_id": "15c2810f7d1a30f", |
892 | 892 | "component": "MonocoComponent", |
893 | 893 | "state": "require", |
894 | 894 | "action": "function require(id) { return $component.get(id); }", |
895 | 895 | "core": true, |
896 | 896 | "useCoreAPI": true |
897 | 897 | }, |
898 | | - "1300f1769113157": { |
899 | | - "_id": "1300f1769113157", |
| 898 | + "1f600163761ae4d": { |
| 899 | + "_id": "1f600163761ae4d", |
900 | 900 | "component": "MonocoDatabase", |
901 | 901 | "state": "subsystem", |
902 | 902 | "action": "function subsystem(params) { return $db.subsystem(params); }", |
903 | 903 | "core": true, |
904 | 904 | "useCoreAPI": true |
905 | 905 | }, |
906 | | - "1f40612e071a5b1": { |
907 | | - "_id": "1f40612e071a5b1", |
| 906 | + "181e81c18113d19": { |
| 907 | + "_id": "181e81c18113d19", |
908 | 908 | "component": "MonocoDatabase", |
909 | 909 | "state": "system", |
910 | 910 | "action": "function system(system) { return $db.system(system); }", |
911 | 911 | "core": true, |
912 | 912 | "useCoreAPI": true |
913 | 913 | }, |
914 | | - "1ebe615a581e51e": { |
915 | | - "_id": "1ebe615a581e51e", |
| 914 | + "14b6d1e0561ef9d": { |
| 915 | + "_id": "14b6d1e0561ef9d", |
916 | 916 | "component": "MonocoMetamodel", |
917 | 917 | "state": "create", |
918 | 918 | "action": "function create() { $metamodel.create(); }", |
919 | 919 | "core": true, |
920 | 920 | "useCoreAPI": true |
921 | 921 | }, |
922 | | - "13b8e132b01154b": { |
923 | | - "_id": "13b8e132b01154b", |
| 922 | + "194091d9381ff7e": { |
| 923 | + "_id": "194091d9381ff7e", |
924 | 924 | "component": "MonocoMetamodel", |
925 | 925 | "state": "schema", |
926 | 926 | "action": "function schema(schema) { $metamodel.schema(schema); }", |
927 | 927 | "core": true, |
928 | 928 | "useCoreAPI": true |
929 | 929 | }, |
930 | | - "1ec8d1c25c16ad0": { |
931 | | - "_id": "1ec8d1c25c16ad0", |
| 930 | + "1fd4e1e3ca19c2a": { |
| 931 | + "_id": "1fd4e1e3ca19c2a", |
932 | 932 | "component": "MonocoMetamodel", |
933 | 933 | "state": "type", |
934 | 934 | "action": "function type(type) { $metamodel.type(type); }", |
935 | 935 | "core": true, |
936 | 936 | "useCoreAPI": true |
937 | 937 | }, |
938 | | - "15f011642916d06": { |
939 | | - "_id": "15f011642916d06", |
| 938 | + "1116d100d813eb4": { |
| 939 | + "_id": "1116d100d813eb4", |
940 | 940 | "component": "MonocoSystem", |
941 | 941 | "state": "sync", |
942 | 942 | "action": "function sync() { var dump = $db.dump(); this.schemas(dump.schemas); this.types(dump.types); this.behaviors(dump.behaviors); this.components(dump.components); }", |
943 | 943 | "core": true, |
944 | 944 | "useCoreAPI": true |
945 | 945 | }, |
946 | | - "1153314bb910602": { |
947 | | - "_id": "1153314bb910602", |
| 946 | + "1ae70139eb14fae": { |
| 947 | + "_id": "1ae70139eb14fae", |
948 | 948 | "component": "e89c617b6b15d24", |
949 | 949 | "state": "main", |
950 | 950 | "action": "function main() { var monoco = $component.get('monoco'); monoco.ready(); }", |
|
0 commit comments