1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <manifest >
3
+ <control namespace =" RAW" constructor =" ImageCrop" version =" 0.0.12" display-name-key =" ImageCrop_DisplayName" description-key =" ImageCrop_Description" control-type =" standard" >
4
+ <!-- external-service-usage node declares whether this 3rd party PCF control is using external service or not, if yes, this control will be considered as premium and please also add the external domain it is using.
5
+ If it is not using any external service, please set the enabled="false" and DO NOT add any domain below. The "enabled" will be false by default.
6
+ Example1:
7
+ <external-service-usage enabled="true">
8
+ <domain>www.Microsoft.com</domain>
9
+ </external-service-usage>
10
+ Example2:
11
+ <external-service-usage enabled="false">
12
+ </external-service-usage>
13
+ -->
14
+ <external-service-usage enabled =" false" >
15
+ <!-- UNCOMMENT TO ADD EXTERNAL DOMAINS
16
+ <domain></domain>
17
+ <domain></domain>
18
+ -->
19
+ </external-service-usage >
20
+ <!-- property node identifies a specific, configurable piece of data that the control expects from CDS -->
21
+ <property name =" imageInput" display-name-key =" ImageCrop_ImageInput_DisplayName" description-key =" ImageCrop_ImageInput_Description" of-type =" Multiple" usage =" input" required =" true" />
22
+ <property name =" imageOutput" display-name-key =" ImageCrop_ImageOutput_DisplayName" description-key =" ImageCrop_ImageOutput_Description" of-type =" Multiple" usage =" output" required =" false" />
23
+ <property name =" aspect" display-name-key =" ImageCrop_Aspect_DisplayName" description-key =" ImageCrop_Aspect_Description" of-type =" Decimal" usage =" input" required =" false" />
24
+ <property name =" minWidth" display-name-key =" ImageCrop_MinWidth_DisplayName" description-key =" ImageCrop_MinWidth_Description" of-type =" Whole.None" usage =" input" required =" false" default-value =" -1" />
25
+ <property name =" minHeight" display-name-key =" ImageCrop_MinHeight_DisplayName" description-key =" ImageCrop_MinHeight_Description" of-type =" Whole.None" usage =" input" required =" false" default-value =" -1" />
26
+ <property name =" maxWidth" display-name-key =" ImageCrop_MaxWidth_DisplayName" description-key =" ImageCrop_MaxWidth_Description" of-type =" Whole.None" usage =" input" required =" false" default-value =" -1" />
27
+ <property name =" maxHeight" display-name-key =" ImageCrop_MaxHeight_DisplayName" description-key =" ImageCrop_MaxHeight_Description" of-type =" Whole.None" usage =" input" required =" false" default-value =" -1" />
28
+ <property name =" keepSelection" display-name-key =" ImageCrop_KeepSelection_DisplayName" description-key =" ImageCrop_KeepSelection_Description" of-type =" TwoOptions" usage =" input" required =" false" default-value =" false" />
29
+ <property name =" rotation" display-name-key =" ImageCrop_Rotation_DisplayName" description-key =" ImageCrop_Rotation_Description" of-type =" Whole.None" usage =" input" required =" false" default-value =" 0" />
30
+ <property name =" scaling" display-name-key =" ImageCrop_Scaling_DisplayName" description-key =" ImageCrop_Scaling_Description" of-type =" Decimal" usage =" input" required =" false" default-value =" 1" />
31
+ <property name =" disabled" display-name-key =" ImageCrop_Disabled_DisplayName" description-key =" ImageCrop_Disabled_Description" of-type =" TwoOptions" usage =" input" required =" false" default-value =" false" />
32
+ <property name =" locked" display-name-key =" ImageCrop_Locked_DisplayName" description-key =" ImageCrop_Locked_Description" of-type =" TwoOptions" usage =" input" required =" false" default-value =" false" />
33
+ <property name =" ruleOfThirds" display-name-key =" ImageCrop_RuleOfThirds_DisplayName" description-key =" ImageCrop_RuleOfThirds_Description" of-type =" TwoOptions" usage =" input" required =" false" default-value =" false" />
34
+ <property name =" circularCrop" display-name-key =" ImageCrop_CircularCrop_DisplayName" description-key =" ImageCrop_CircularCrop_Description" of-type =" TwoOptions" usage =" input" required =" false" default-value =" false" />
35
+ <property name =" DefaultUnit" display-name-key =" ImageCrop_DefaultUnit_DisplayName" description-key =" ImageCrop_DefaultUnit_Description" of-type =" Enum" usage =" input" required =" false" default-value =" %" >
36
+ <value name =" px" display-name-key =" ImageCrop_DefaultUnit_Enum_px" description-key =" ImageCrop_DefaultUnit_Enum_px_Description" >px</value >
37
+ <value name =" %" display-name-key =" ImageCrop_DefaultUnit_Enum_percent" description-key =" ImageCrop_DefaultUnit_Enum_percent_Description" >%</value >
38
+ </property >
39
+ <property name =" DefaultX" display-name-key =" ImageCrop_DefaultX_DisplayName" description-key =" ImageCrop_DefaultX_Description" of-type =" Decimal" usage =" input" required =" false" default-value =" -1" />
40
+ <property name =" DefaultY" display-name-key =" ImageCrop_DefaultY_DisplayName" description-key =" ImageCrop_DefaultY_Description" of-type =" Decimal" usage =" input" required =" false" default-value =" -1" />
41
+ <property name =" DefaultWidth" display-name-key =" ImageCrop_DefaultWidth_DisplayName" description-key =" ImageCrop_DefaultWidth_Description" of-type =" Decimal" usage =" input" required =" false" default-value =" -1" />
42
+ <property name =" DefaultHeight" display-name-key =" ImageCrop_DefaultHeight_DisplayName" description-key =" ImageCrop_DefaultHeight_Description" of-type =" Decimal" usage =" input" required =" false" default-value =" -1" />
43
+ <property name =" actionSchema" display-name-key =" ImageCrop_ActionSchema_DisplayName" description-key =" ImageCrop_ActionSchema_Description" of-type =" SingleLine.Text" usage =" bound" hidden =" true" />
44
+ <property name =" actionOutput" display-name-key =" ImageCrop_ActionOutput_DisplayName" description-key =" ImageCrop_ActionOutput_Description" of-type =" Object" usage =" output" default-value =" " />
45
+ <property-dependencies >
46
+ <property-dependency input =" actionSchema" output =" actionOutput" required-for =" schema" />
47
+ </property-dependencies >
48
+ <resources >
49
+ <code path =" index.ts" order =" 1" />
50
+ <!-- UNCOMMENT TO ADD MORE RESOURCES
51
+ <css path="css/ImageCrop.css" order="1" />
52
+ -->
53
+ <resx path =" resources/ImageCrop.1033.resx" version =" 1.0.0" />
54
+ </resources >
55
+ <!-- UNCOMMENT TO ENABLE THE SPECIFIED API
56
+ <feature-usage>
57
+ <uses-feature name="Device.captureAudio" required="true" />
58
+ <uses-feature name="Device.captureImage" required="true" />
59
+ <uses-feature name="Device.captureVideo" required="true" />
60
+ <uses-feature name="Device.getBarcodeValue" required="true" />
61
+ <uses-feature name="Device.getCurrentPosition" required="true" />
62
+ <uses-feature name="Device.pickFile" required="true" />
63
+ <uses-feature name="Utility" required="true" />
64
+ <uses-feature name="WebAPI" required="true" />
65
+ </feature-usage>
66
+ -->
67
+ </control >
68
+ </manifest >
0 commit comments