|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | | -<itop_design xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="3.3"> |
| 2 | +<itop_design xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | + xsi:noNamespaceSchemaLocation="https://www.combodo.com/itop-schema/3.3" |
| 4 | + version="3.3"> |
3 | 5 | <classes> |
4 | 6 | <class id="AbstractResource" _delta="define"> |
5 | 7 | <parent>cmdbAbstractObject</parent> |
6 | 8 | <properties> |
7 | | - <comment>/* Resource access control abstraction. Can be herited by abstract resource access control classes. Generaly controlled using UR_ACTION_MODIFY access right. */</comment> |
| 9 | + <comment>/* Resource access control abstraction. Can be herited by abstract resource access control classes. Generally controlled using UR_ACTION_MODIFY access right. */</comment> |
8 | 10 | <abstract>true</abstract> |
9 | 11 | </properties> |
10 | 12 | <presentation/> |
@@ -552,7 +554,7 @@ Call $this->AddInitialAttributeFlags($sAttCode, $iFlags) for all the initial att |
552 | 554 | <description><![CDATA[Inform the listeners about the connection states]]></description> |
553 | 555 | <event_data> |
554 | 556 | <event_datum id="code"> |
555 | | - <description>The login step result code (LoginWebPage::EXIT_CODE_...) </description> |
| 557 | + <description>The login step result code (LoginWebPage::EXIT_CODE_...)</description> |
556 | 558 | <type>integer</type> |
557 | 559 | </event_datum> |
558 | 560 | <event_datum id="state"> |
@@ -849,5 +851,168 @@ Call $this->AddInitialAttributeFlags($sAttCode, $iFlags) for all the initial att |
849 | 851 | </methods> |
850 | 852 | </class> |
851 | 853 | </classes> |
| 854 | + <property_types _delta="define"> |
| 855 | + <property_type id="Dashlet" xsi:type="Combodo-AbstractPropertyType"/> |
| 856 | + <property_type id="DashletGroupBy" xsi:type="Combodo-PropertyType"> |
| 857 | + <extends>Dashlet</extends> |
| 858 | + <definition xsi:type="Combodo-ValueType-PropertyTree"> |
| 859 | + <label>UI:DashletGroupBy:Title</label> |
| 860 | + <nodes> |
| 861 | + <node id="title" xsi:type="Combodo-ValueType-Label"> |
| 862 | + <label>UI:DashletGroupBy:Prop-Title</label> |
| 863 | + </node> |
| 864 | + <node id="query" xsi:type="Combodo-ValueType-OQL"> |
| 865 | + <label>UI:DashletGroupBy:Prop-Query</label> |
| 866 | + </node> |
| 867 | + <node id="group_by" xsi:type="Combodo-ValueType-ClassAttributeGroupBy"> |
| 868 | + <label>UI:DashletGroupBy:Prop-GroupBy</label> |
| 869 | + <class>{{query.selected_class}}</class> |
| 870 | + </node> |
| 871 | + <node id="style" xsi:type="Combodo-ValueType-Choice"> <!-- Possible de le cacher, etc celui-ci nous met dedans --> |
| 872 | + <label>UI:DashletGroupBy:Prop-Style</label> |
| 873 | + <values> |
| 874 | + <value id="bars"> |
| 875 | + <label>UI:DashletGroupByBars:Label</label> |
| 876 | + </value> |
| 877 | + <value id="pie"> |
| 878 | + <label>UI:DashletGroupByPie:Label</label> |
| 879 | + </value> |
| 880 | + <value id="table"> |
| 881 | + <label>UI:DashletGroupByTable:Label</label> |
| 882 | + </value> |
| 883 | + </values> |
| 884 | + </node> |
| 885 | + <node id="aggregation_function" xsi:type="Combodo-ValueType-AggregateFunction"> |
| 886 | + <label>UI:DashletGroupBy:Prop-Function</label> |
| 887 | + <class>{{query.selected_class}}</class> <!-- pour savoir si il y a des attributs additionnables --> |
| 888 | + </node> |
| 889 | + <node id="aggregation_attribute" xsi:type="Combodo-ValueType-ClassAttribute"> |
| 890 | + <label>UI:DashletGroupBy:Prop-FunctionAttribute</label> |
| 891 | + <relevance-condition>{{aggregation_function.value != 'count'}}</relevance-condition> |
| 892 | + <class>{{query.selected_class}}</class> |
| 893 | + <category>numeric</category> |
| 894 | + </node> |
| 895 | + <node id="order_by" xsi:type="Combodo-ValueType-ChoiceFromInput"> |
| 896 | + <label>UI:DashletGroupBy:Prop-OrderField</label> |
| 897 | + <values> |
| 898 | + <value id="attribute"> |
| 899 | + <label>{{aggregation_attribute.label}}</label> |
| 900 | + </value> |
| 901 | + <value id="function"> |
| 902 | + <label>{{aggregation_function.label}}</label> |
| 903 | + </value> |
| 904 | + </values> |
| 905 | + </node> |
| 906 | + <node id="limit" xsi:type="Combodo-ValueType-Integer"> |
| 907 | + <label>UI:DashletGroupBy:Prop-Limit</label> |
| 908 | + <relevance-condition>{{order_by.value = 'function'}}</relevance-condition> |
| 909 | + </node> |
| 910 | + <node id="order_direction" xsi:type="Combodo-ValueType-Choice"> |
| 911 | + <label>UI:DashletGroupBy:Prop-OrderDirection</label> |
| 912 | + <values> |
| 913 | + <value id="asc"> |
| 914 | + <label>UI:DashletGroupBy:Order:asc</label> |
| 915 | + </value> |
| 916 | + <value id="desc"> |
| 917 | + <label>UI:DashletGroupBy:Order:desc</label> |
| 918 | + </value> |
| 919 | + </values> |
| 920 | + </node> |
| 921 | + </nodes> |
| 922 | + </definition> |
| 923 | + </property_type> |
| 924 | + <property_type id="DashletBadge" xsi:type="Combodo-PropertyType"> |
| 925 | + <extends>Dashlet</extends> |
| 926 | + <definition xsi:type="Combodo-ValueType-PropertyTree"> |
| 927 | + <nodes> |
| 928 | + <node id="class" xsi:type="Combodo-ValueType-Class"> |
| 929 | + <label>UI:DashletBadge:Prop-Class</label> |
| 930 | + <categories-csv>bizmodel</categories-csv> |
| 931 | + </node> |
| 932 | + </nodes> |
| 933 | + </definition> |
| 934 | + </property_type> |
| 935 | + <property_type id="DashletHeaderDynamic" xsi:type="Combodo-PropertyType"> |
| 936 | + <extends>Dashlet</extends> |
| 937 | + <definition xsi:type="Combodo-ValueType-PropertyTree"> |
| 938 | + <label>UI:DashletHeaderDynamic:Title</label> |
| 939 | + <nodes> |
| 940 | + <node id="title" xsi:type="Combodo-ValueType-Label"> |
| 941 | + <label>UI:DashletHeaderDynamic:Prop-Title</label> |
| 942 | + </node> |
| 943 | + <node id="icon" xsi:type="Combodo-ValueType-Icon"> |
| 944 | + <label>UI:DashletHeaderDynamic:Prop-Icon</label> |
| 945 | + </node> |
| 946 | + <node id="subtitle" xsi:type="Combodo-ValueType-Label"> |
| 947 | + <label>UI:DashletHeaderDynamic:Prop-Subtitle</label> |
| 948 | + </node> |
| 949 | + <node id="query" xsi:type="Combodo-ValueType-OQL"> |
| 950 | + <label>UI:DashletHeaderDynamic:Prop-Query</label> |
| 951 | + </node> |
| 952 | + <node id="group_by" xsi:type="Combodo-ValueType-ClassAttribute"> |
| 953 | + <label>UI:DashletHeaderDynamic:Prop-GroupBy</label> |
| 954 | + <class>{{query.selected_class}}</class> |
| 955 | + <category>enum</category> |
| 956 | + </node> |
| 957 | + <node id="values" xsi:type="Combodo-ValueType-CollectionOfValues"> |
| 958 | + <label>UI:DashletHeaderDynamic:Prop-Values</label> |
| 959 | + <xml-format xsi:type="Combodo-XMLFormat-CSV"/> |
| 960 | + <value-type xsi:type="Combodo-ValueType-ClassAttributeValue"> |
| 961 | + <class>{{query.selected_class}}</class> |
| 962 | + <attribute>{{group_by.attribute}}</attribute> |
| 963 | + </value-type> |
| 964 | + </node> |
| 965 | + </nodes> |
| 966 | + </definition> |
| 967 | + </property_type> |
| 968 | + <property_type id="DashletHeaderStatic" xsi:type="Combodo-PropertyType"> |
| 969 | + <extends>Dashlet</extends> |
| 970 | + <definition xsi:type="Combodo-ValueType-PropertyTree"> |
| 971 | + <nodes> |
| 972 | + <node id="title" xsi:type="Combodo-ValueType-Label"> |
| 973 | + <label>UI:DashletHeaderStatic:Prop-Title</label> |
| 974 | + </node> |
| 975 | + <node id="icon" xsi:type="Combodo-ValueType-Icon"> |
| 976 | + <label>UI:DashletHeaderStatic:Prop-Icon</label> |
| 977 | + </node> |
| 978 | + </nodes> |
| 979 | + </definition> |
| 980 | + </property_type> |
| 981 | + <property_type id="DashletObjectList" xsi:type="Combodo-PropertyType"> |
| 982 | + <extends>Dashlet</extends> |
| 983 | + <definition xsi:type="Combodo-ValueType-PropertyTree"> |
| 984 | + <nodes> |
| 985 | + <node id="title" xsi:type="Combodo-ValueType-Label"> |
| 986 | + <label>UI:DashletObjectList:Prop-Title</label> |
| 987 | + </node> |
| 988 | + <node id="query" xsi:type="Combodo-ValueType-OQL"> |
| 989 | + <label>UI:DashletObjectList:Prop-Query</label> |
| 990 | + </node> |
| 991 | + <node id="menu" xsi:type="Combodo-ValueType-Boolean"> |
| 992 | + <label>UI:DashletObjectList:Prop-Menu</label> |
| 993 | + <on> |
| 994 | + <!-- not so cute, but matches exactly 3.2 implementation of boolean fields --> |
| 995 | + <label>UI:UserManagement:ActionAllowed:Yes</label> |
| 996 | + <value>true</value> |
| 997 | + </on> |
| 998 | + <off> |
| 999 | + <label>UI:UserManagement:ActionAllowed:No</label> |
| 1000 | + <value>false</value> |
| 1001 | + </off> |
| 1002 | + </node> |
| 1003 | + </nodes> |
| 1004 | + </definition> |
| 1005 | + </property_type> |
| 1006 | + <property_type id="DashletPlainText" xsi:type="Combodo-PropertyType"> |
| 1007 | + <extends>Dashlet</extends> |
| 1008 | + <definition xsi:type="Combodo-ValueType-PropertyTree"> |
| 1009 | + <nodes> |
| 1010 | + <node id="text" xsi:type="Combodo-ValueType-Text"> |
| 1011 | + <label>UI:DashletPlainText:Prop-Text</label> |
| 1012 | + </node> |
| 1013 | + </nodes> |
| 1014 | + </definition> |
| 1015 | + </property_type> |
| 1016 | + </property_types> |
852 | 1017 | </meta> |
853 | 1018 | </itop_design> |
0 commit comments