Skip to content

Commit

Permalink
Beta (#345)
Browse files Browse the repository at this point in the history
* fix: property of maskedtextfield
  • Loading branch information
Ramakrishnan24689 authored May 22, 2024
1 parent 570dd7d commit 5570485
Show file tree
Hide file tree
Showing 2 changed files with 115 additions and 104 deletions.
20 changes: 10 additions & 10 deletions MaskedTextField/MaskedTextField/ControlManifest.Input.xml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<?xml version="1.0" encoding="utf-8" ?>
<manifest>
<control namespace="PowerCAT" constructor="MaskedTextField" version="0.0.1" display-name-key="MaskedTextField" description-key="MaskedTextField_Desc" control-type="virtual">
<property name="Value" display-name-key="Value" description-key="CustomizableTextField_Value_Description" of-type="SingleLine.Text" usage="bound" required="true" />
<property name="Prefix" display-name-key="Prefix" description-key="Prefix" of-type="SingleLine.Text" usage="input" required="false" />
<property name="Suffix" display-name-key="Suffix" description-key="Suffix" of-type="SingleLine.Text" usage="input" required="false" />
<property name="ErrorMessage" display-name-key="ErrorMessage" description-key="ErrorMessage_Desc" of-type="SingleLine.Text" usage="input" required="false" />
<property name="MaskFormat" display-name-key="MaskFormat" description-key="MaskFormat_Desc" of-type="SingleLine.Text" usage="input" required="false" default-value="[\d\w!#$%'()*+,\-./:;<=>?@_'{}~\t]" />
<property name="Mask" display-name-key="Mask" description-key="Mask_Desc" of-type="SingleLine.Text" usage="input" required="false" default-value="***********************************" />
<property name="DelayOutput" display-name-key="DelayOutput" of-type="TwoOptions" usage="input" required="false" />
<property name="Theme" display-name-key="Theme" of-type="Multiple" usage="input" required="false" />
<property name="AccessibilityLabel" display-name-key="AccessibilityLabel" of-type="SingleLine.Text" usage="input" required="false" />
<property name="InputEvent" display-name-key="InputEvent" of-type="SingleLine.Text" usage="input" required="false"/>
<property name="Value" display-name-key="MaskedTextField_Value" of-type="SingleLine.Text" usage="bound" required="true" />
<property name="Prefix" display-name-key="MaskedTextField_Prefix" of-type="SingleLine.Text" usage="input" required="false" />
<property name="Suffix" display-name-key="MaskedTextField_Suffix" of-type="SingleLine.Text" usage="input" required="false" />
<property name="ErrorMessage" display-name-key="MaskedTextField_ErrorMessage" of-type="SingleLine.Text" usage="input" required="false" />
<property name="MaskFormat" display-name-key="MaskedTextField_MaskFormat" description-key="MaskFormat_Desc" of-type="SingleLine.Text" usage="input" required="false" default-value="[\d\w!#$%'()*+,\-./:;&lt;=&gt;?@_'{}~\t]" />
<property name="Mask" display-name-key="MaskedTextField_Mask" of-type="SingleLine.Text" usage="input" required="false" default-value="***********************************" />
<property name="DelayOutput" display-name-key="MaskedTextField_DelayOutput" of-type="TwoOptions" usage="input" required="false" />
<property name="Theme" display-name-key="MaskedTextField_Theme" of-type="Multiple" usage="input" required="false" />
<property name="AccessibilityLabel" display-name-key="MaskedTextField_AccessibilityLabel" of-type="SingleLine.Text" usage="input" required="false" />
<property name="InputEvent" display-name-key="MaskedTextField_InputEvent" of-type="SingleLine.Text" usage="input" required="false"/>
<common-event name="OnChange" />
<feature-usage>
<!-- No common events (OnChange, OnSelect, etc.) are shown unless explicitly declared in the manifest -->
Expand Down
199 changes: 105 additions & 94 deletions MaskedTextField/MaskedTextField/strings/MaskedTextField.1033.resx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
<!--
Microsoft ResX Schema
Version 2.0
Expand Down Expand Up @@ -59,99 +59,110 @@
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace"/>
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace"/>
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string"/>
<xsd:attribute name="type" type="xsd:string"/>
<xsd:attribute name="mimetype" type="xsd:string"/>
<xsd:attribute ref="xml:space"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string"/>
<xsd:attribute name="name" type="xsd:string"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1"/>
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2"/>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1"/>
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3"/>
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4"/>
<xsd:attribute ref="xml:space"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1"/>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required"/>
</xsd:complexType>
</xsd:element>
</xsd:choice>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string"/>
<xsd:attribute name="type" type="xsd:string"/>
<xsd:attribute name="mimetype" type="xsd:string"/>
<xsd:attribute ref="xml:space"/>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="MaskedTextField" xml:space="preserve">
<value>Fluent Masked TextField (%VERSION%) Preview</value>
</data>
<data name="MaskedTextField_Desc" xml:space="preserve">
<value>A component to format or control text provided as input</value>
</data>
<data name="AccessibilityLabel" xml:space="preserve">
<value>Accessibility label</value>
<comment/>
</data>
<data name="DelayOutput" xml:space="preserve">
<value>Delay Output</value>
</data>
<data name="Value" xml:space="preserve">
<value>Value</value>
</data>
<data name="Prefix" xml:space="preserve">
<value>Prefix</value>
</data>
<data name="Suffix" xml:space="preserve">
<value>Suffix</value>
</data>
<data name="ErrorMessage" xml:space="preserve">
<value>Error Message</value>
</data>
<data name="MaskFormat" xml:space="preserve">
<value>Mask Format</value>
</data>
<data name="Mask" xml:space="preserve">
<value>Mask</value>
</data>
<data name="Theme" xml:space="preserve">
<value>Theme</value>
</data>
<data name="InputEvent" xml:space="preserve">
<value>Input Event</value>
</data>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string"/>
<xsd:attribute name="name" type="xsd:string"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1"/>
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2"/>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1"/>
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3"/>
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4"/>
<xsd:attribute ref="xml:space"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1"/>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required"/>
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="MaskedTextField" xml:space="preserve">
<value>Fluent Masked TextField (%VERSION%) Preview</value>
<comment/>
</data>
<data name="MaskedTextField_Desc" xml:space="preserve">
<value>A component to format or control text provided as input</value>
<comment/>
</data>
<data name="MaskedTextField_AccessibilityLabel" xml:space="preserve">
<value>Accessibility label</value>
<comment/>
</data>
<data name="MaskedTextField_DelayOutput" xml:space="preserve">
<value>Delay Output</value>
<comment/>
</data>
<data name="MaskedTextField_Value" xml:space="preserve">
<value>Value</value>
<comment/>
</data>
<data name="MaskedTextField_Prefix" xml:space="preserve">
<value>Prefix</value>
<comment/>
</data>
<data name="MaskedTextField_Suffix" xml:space="preserve">
<value>Suffix</value>
<comment/>
</data>
<data name="MaskedTextField_ErrorMessage" xml:space="preserve">
<value>Error Message</value>
<comment/>
</data>
<data name="MaskedTextField_MaskFormat" xml:space="preserve">
<value>Mask Format</value>
<comment/>
</data>
<data name="MaskedTextField_Mask" xml:space="preserve">
<value>Mask</value>
<comment/>
</data>
<data name="MaskedTextField_Theme" xml:space="preserve">
<value>Theme</value>
<comment/>
</data>
<data name="MaskedTextField_InputEvent" xml:space="preserve">
<value>Input Event</value>
<comment/>
</data>
</root>

0 comments on commit 5570485

Please sign in to comment.