diff --git a/samples/openai-gpt-quizapp/README.md b/samples/openai-gpt-quizapp/README.md new file mode 100644 index 00000000..093b930f --- /dev/null +++ b/samples/openai-gpt-quizapp/README.md @@ -0,0 +1,197 @@ +# Quiz App using OpenAI ChatGPT + +The app uses the [OpenAI GPT (Independent Publisher)](https://learn.microsoft.com/en-us/connectors/openaigpt4ip/). + +This was inspired from [Add OpenAI Capabilities to your Power Platform solutions](https://www.youtube.com/watch?v=AVK7BUmTGvs&t=1062s) by [Robin Rosengrün](https://twitter.com/power_r2) to build a simple quiz app. + +## Applies to + +* [Microsoft Power Apps](https://docs.microsoft.com/powerapps/) + +## Compatibility + +![Power Apps Source File Pack and Unpack Utility 0.20](https://img.shields.io/badge/Packing%20Tool-0.20-green.svg) +![Premium License](https://img.shields.io/badge/Premium%20License-Not%20Required-green.svg "Premium Power Apps license not required") +![Experimental Features](https://img.shields.io/badge/Experimental%20Features-No-green.svg "Does not rely on experimental features") +![On-Premises Connectors](https://img.shields.io/badge/On--Premises%20Connectors-No-green.svg "Does not use on-premise connectors") +![Custom Connectors](https://img.shields.io/badge/Custom%20Connectors-Not%20Required-green.svg "Does not use custom connectors") + +## Authors + +Solution|Author(s) +--------|--------- +OpenAI GPT quizapp | [Reshmee Auckloo](https://github.com/reshmee011) ([@reshmeeauckloo](https://twitter.com/reshmeeauckloo)) + +## Version history + +Version|Date|Comments +-------|----|-------- +1.0|October 01st, 2023|Initial release + +## Features + +The request sent to OpenAI GPT is + +```JSON +Set(varResponse, 'OpenAIGPT(IndependentPublisher)'.CompletionPost("text-davinci-003",{prompt:txtPrompt.Text & Char(10) & "Topic: " & txtTopic.Text,max_tokens:4000,temperature:0.7,top_p:1,n:1}).first_completion); +``` + +Please find more info on the different parameters from [OpenAI GPT (Independent Publisher)](https://learn.microsoft.com/en-us/connectors/openaigpt4ip/). + +The prompt used to send to chatGPT is "Generate a JSON dataset of 10 pub quiz questions. Provide each question entry in proper JSON format with a 'question' field, an 'options' field consisting of an array of 4 possible answers. Additionally, ensure that each option includes an 'answer' field with the text of the option, a 'selected' field initialized to false indicating whether the option has been chosen, and a 'correct' field indicating whether the answer is correct" + + +The sample data returned is the format + +```JSON +[ + { + "question": "What is the capital of France?", + "options": [ + {"Answer": "Berlin", "Selected": false, "Correct": false}, + {"Answer": "Madrid", "Selected": false, "Correct": false}, + {"Answer": "Rome", "Selected": false, "Correct": false}, + {"Answer": "Paris", "Selected": false, "Correct": true} + ] + }, + { + "question": "Which planet is known as the 'Red Planet'?", + "options": [ + {"Answer": "Venus", "Selected": false, "Correct": false}, + {"Answer": "Mars", "Selected": false, "Correct": true}, + {"Answer": "Jupiter", "Selected": false, "Correct": false}, + {"Answer": "Saturn", "Selected": false, "Correct": false} + ] + }, + { + "question": "Who wrote the play 'Romeo and Juliet'?", + "options": [ + {"Answer": "William Shakespeare", "Selected": false, "Correct": true}, + {"Answer": "Charles Dickens", "Selected": false, "Correct": false}, + {"Answer": "Jane Austen", "Selected": false, "Correct": false}, + {"Answer": "Mark Twain", "Selected": false, "Correct": false} + ] + }, + { + "question": "What is the chemical symbol for water?", + "options": [ + {"Answer": "O2", "Selected": false, "Correct": false}, + {"Answer": "H2O", "Selected": false, "Correct": true}, + {"Answer": "CO2", "Selected": false, "Correct": false}, + {"Answer": "CH4", "Selected": false, "Correct": false} + ] + }, + { + "question": "In which year did the Titanic sink?", + "options": [ + {"Answer": "1905", "Selected": false, "Correct": false}, + {"Answer": "1912", "Selected": false, "Correct": true}, + {"Answer": "1920", "Selected": false, "Correct": false}, + {"Answer": "1931", "Selected": false, "Correct": false} + ] + }, + { + "question": "What is the largest mammal on Earth?", + "options": [ + {"Answer": "Elephant", "Selected": false, "Correct": false}, + {"Answer": "Blue Whale", "Selected": false, "Correct": true}, + {"Answer": "Lion", "Selected": false, "Correct": false}, + {"Answer": "Giraffe", "Selected": false, "Correct": false} + ] + }, + { + "question": "Who painted the Mona Lisa?", + "options": [ + {"Answer": "Vincent van Gogh", "Selected": false, "Correct": false}, + {"Answer": "Pablo Picasso", "Selected": false, "Correct": false}, + {"Answer": "Leonardo da Vinci", "Selected": false, "Correct": true}, + {"Answer": "Michelangelo", "Selected": false, "Correct": false} + ] + }, + { + "question": "What is the chemical symbol for gold?", + "options": [ + {"Answer": "Ag", "Selected": false, "Correct": false}, + {"Answer": "Au", "Selected": false, "Correct": true}, + {"Answer": "Fe", "Selected": false, "Correct": false}, + {"Answer": "Cu", "Selected": false, "Correct": false} + ] + }, + { + "question": "Which country is known as the Land of the Rising Sun?", + "options": [ + {"Answer": "China", "Selected": false, "Correct": false}, + {"Answer": "Japan", "Selected": false, "Correct": true}, + {"Answer": "South Korea", "Selected": false, "Correct": false}, + {"Answer": "Thailand", "Selected": false, "Correct": false} + ] + }, + { + "question": "Who was the first man to step on the moon?", + "options": [ + {"Answer": "Buzz Aldrin", "Selected": false, "Correct": false}, + {"Answer": "Yuri Gagarin", "Selected": false, "Correct": false}, + {"Answer": "Neil Armstrong", "Selected": false, "Correct": true}, + {"Answer": "John Glenn", "Selected": false, "Correct": false} + ] + } +] +``` + +ParseJson function has been used to convert the JSON response into a table to bind to a gallery control. + +Each time the generate button is clicked, random set of questions is generated based on the specified topic. + +Watch the app in action + +![QuizApp](./assets/QuizApp.gif) + +## Prerequisites + +You'll need an OpenAI API key. You can obtain one by visiting [OpenAI's API key page](https://platform.openai.com/account/api-keys) and creating a new secret key. Keep in mind that if you're using a free account, you might encounter a quota error ("You exceeded your current quota, please check your plan and billing details"). + +## Data Sources + +No datasource needed. + +## Minimal Path to Awesome + +* [Download](./solution/quiz app.msapp) the `.msapp` from the `solution` folder +* Within **Power Apps Studio**, use the `.msapp` file using **File** > **Open** > **Browse** and select the `.msapp` file you just downloaded. +* Select the **Data** tab + +## Using the Source Code + +You can also use the [Power Apps CLI](https://docs.microsoft.com/powerapps/developer/data-platform/powerapps-cli) to pack the source code by following these steps:: + +* Clone the repository to a local drive +* Pack the source files back into `.msapp` file: + ```bash + pac canvas pack --sources pathtosourcefolder --msapp pathtomsapp + ``` + Making sure to replace `pathtosourcefolder` to point to the path to this sample's `sourcecode` folder, and `pathtomsapp` to point to the path of this solution's `.msapp` file (located under the `solution` folder) +* Within **Power Apps Studio**, use the `.msapp` file using **File** > **Open** > **Browse** and select the `.msapp` file you just packed. + +## Disclaimer + +**THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.** + +## Help + +We do not support samples, but we this community is always willing to help, and we want to improve these samples. We use GitHub to track issues, which makes it easy for community members to volunteer their time and help resolve issues. + +If you encounter any issues while using this sample, you can [create a new issue](https://github.com/pnp/powerapps-samples/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Abug-suspected&template=bug-report.yml&sample=YOURSAMPLENAME&authors=@YOURGITHUBUSERNAME&title=YOURSAMPLENAME%20-%20). + +For questions regarding this sample, [create a new question](https://github.com/pnp/powerapps-samples/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Abug-suspected&template=question.yml&sample=YOURSAMPLENAME&authors=@YOURGITHUBUSERNAME&title=YOURSAMPLENAME%20-%20). + +Finally, if you have an idea for improvement, [make a suggestion](https://github.com/pnp/powerapps-samples/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Abug-suspected&template=suggestion.yml&sample=YOURSAMPLENAME&authors=@YOURGITHUBUSERNAME&title=YOURSAMPLENAME%20-%20). + +## For more information + +- [Overview of creating apps in Power Apps](https://docs.microsoft.com/powerapps/maker/) +- [Power Apps canvas apps documentation](https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/) + + + + + diff --git a/samples/openai-gpt-quizapp/assets/QuizApp.gif b/samples/openai-gpt-quizapp/assets/QuizApp.gif new file mode 100644 index 00000000..d13cd5d9 Binary files /dev/null and b/samples/openai-gpt-quizapp/assets/QuizApp.gif differ diff --git a/samples/openai-gpt-quizapp/solution/Quiz app.msapp b/samples/openai-gpt-quizapp/solution/Quiz app.msapp new file mode 100644 index 00000000..913aaed5 Binary files /dev/null and b/samples/openai-gpt-quizapp/solution/Quiz app.msapp differ diff --git a/samples/openai-gpt-quizapp/sourcecode/CanvasApps/cr8b5_quizapp_7d97d.meta.xml b/samples/openai-gpt-quizapp/sourcecode/CanvasApps/cr8b5_quizapp_7d97d.meta.xml new file mode 100644 index 00000000..927aa0f1 --- /dev/null +++ b/samples/openai-gpt-quizapp/sourcecode/CanvasApps/cr8b5_quizapp_7d97d.meta.xml @@ -0,0 +1,31 @@ + + + cr8b5_quizapp_7d97d + 2023-09-26T05:02:51Z + Ready + 3.23092.13.0 + 3.23092.13.0 + {"primaryDeviceWidth":"1366","primaryDeviceHeight":"768","supportsPortrait":"true","supportsLandscape":"true","primaryFormFactor":"Tablet","showStatusBar":"false","publisherVersion":"3.23092.13","minimumRequiredApiVersion":"2.2.0","hasComponent":"false","hasUnlockedComponent":"false","isUnifiedRootApp":"false","sienaVersion":"20230926T050251Z-3.23092.13.0"} + 0 + + RGBA(0,176,240,1) + Quiz app + + + + [] + {"34571c3b-6bfb-48c9-a515-2cd90fa07652":{"id":"/providers/microsoft.powerapps/apis/shared_openaigpt4ip","displayName":"OpenAI GPT (Independent Publisher)","iconUri":"https://connectoricons-prod.azureedge.net/releases/v1.0.1636/1.0.1636.3297/openaigpt4ip/icon.png","dataSources":["OpenAIGPT(IndependentPublisher)"],"dependencies":[],"dependents":[],"parameterHints":{},"parameterHintsV2":{},"isOnPremiseConnection":false,"bypassConsent":false,"dataSets":{},"apiTier":"Premium","actions":["CompletionPost"]}} + {} + [] + [] + 1 + 0 + 0 + 0 + + 1.0 + {"cdsdependencies":[]} + 1 + /CanvasApps/cr8b5_quizapp_7d97d_BackgroundImageUri + /CanvasApps/cr8b5_quizapp_7d97d_DocumentUri.msapp + \ No newline at end of file diff --git a/samples/openai-gpt-quizapp/sourcecode/CanvasApps/cr8b5_quizapp_7d97d_BackgroundImageUri b/samples/openai-gpt-quizapp/sourcecode/CanvasApps/cr8b5_quizapp_7d97d_BackgroundImageUri new file mode 100644 index 00000000..c67f0065 Binary files /dev/null and b/samples/openai-gpt-quizapp/sourcecode/CanvasApps/cr8b5_quizapp_7d97d_BackgroundImageUri differ diff --git a/samples/openai-gpt-quizapp/sourcecode/CanvasApps/cr8b5_quizapp_7d97d_DocumentUri.msapp b/samples/openai-gpt-quizapp/sourcecode/CanvasApps/cr8b5_quizapp_7d97d_DocumentUri.msapp new file mode 100644 index 00000000..35f98d02 Binary files /dev/null and b/samples/openai-gpt-quizapp/sourcecode/CanvasApps/cr8b5_quizapp_7d97d_DocumentUri.msapp differ diff --git a/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/Assets/SampleImage.json b/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/Assets/SampleImage.json new file mode 100644 index 00000000..ce6ca28a --- /dev/null +++ b/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/Assets/SampleImage.json @@ -0,0 +1,12 @@ +{ + "Content": "Image", + "FileName": "/ctrllib/image/images/SampleImage.svg", + "IsSampleData": true, + "IsWritable": false, + "Name": "SampleImage", + "Path": "/ctrllib/image/images/SampleImage.svg", + "ResourceKind": "Uri", + "RootPath": "ms-appx:///ctrllib/image/images/SampleImage.svg", + "Schema": "i", + "Type": "ResourceInfo" +} \ No newline at end of file diff --git a/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/CanvasManifest.json b/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/CanvasManifest.json new file mode 100644 index 00000000..414feec6 --- /dev/null +++ b/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/CanvasManifest.json @@ -0,0 +1,137 @@ +{ + "FormatVersion": "0.24", + "Header": { + "AnalysisOptions": { + "DataflowAnalysisEnabled": false, + "DataflowAnalysisFlagStateToggledByUser": false + }, + "DocVersion": "1.334", + "MinVersionToLoad": "1.331", + "MSAppStructureVersion": "2.0" + }, + "Properties": { + "AppCreationSource": "AppFromScratch", + "AppDescription": "", + "AppPreviewFlagsMap": { + "aibuilderserviceenrollment": false, + "allowmultiplescreensincanvaspages": false, + "appinsightserrortracing": false, + "appinstrumentationcorrelationtracing": false, + "autocreateenvironmentvariables": false, + "behaviorpropertyui": false, + "blockmovingcontrol": true, + "cdsdataformatting": false, + "classiccontrols": false, + "consistentreturnschemafortabularfunctions": true, + "copyandmerge": false, + "dataflowanalysisenabled": false, + "datatablev2control": true, + "dataverseactionsenabled": true, + "delaycontrolrendering": true, + "delayloadscreens": true, + "disablecdsfileandlargeimage": false, + "dynamicschema": false, + "enableappembeddingux": false, + "enablechatbotfeature": true, + "enablecomponentnamemaps": false, + "enablecomponentscopeoldbehavior": false, + "enablecopilotcontrol": true, + "enabledataverseoffline": false, + "enableeditcacherefreshfrequency": false, + "enableexcelonlinebusinessv2connector": true, + "enableexperimentaldataverseoffline": true, + "enableideaspanel": true, + "enablelegacybarcodescanner": false, + "enableonstart": true, + "enableonstartnavigate": false, + "enablepcfmoderndatasets": true, + "enablerowscopeonetonexpand": false, + "enablerpawarecomponentdependency": true, + "enablerulespanel": false, + "enableruntimepolicies": true, + "enablesaveloadcleardataonweb": true, + "enableupdateifdelegation": false, + "enhancedgalleryinitialization": true, + "errorhandling": true, + "expandedsavedatasupport": true, + "exportimportcomponents2": true, + "externalmessage": false, + "fluentv9controls": false, + "fluentv9controlspreview": false, + "formuladataprefetch": true, + "formularepair": false, + "generatedebugpublishedapp": false, + "herocontrols": false, + "improvedmediacapture": true, + "improvedtabstopbehavior": false, + "isemptyrequirestableargument": true, + "keeprecentscreensloaded": false, + "longlivingcache": false, + "mobilenativerendering": false, + "namedformulas": true, + "nativecdsexperimental": true, + "onegrid": false, + "optimizedforteamsmeeting": false, + "packagemodernruntime": false, + "parallelcodegen": false, + "pdffunction": false, + "powerfxdecimal": false, + "powerfxv1": false, + "projectionmapping": true, + "reactformulabar": false, + "reliableconcurrent": true, + "reservedkeywords": false, + "reverttooldpowerautomate": false, + "rtlinstudiopreview": false, + "rtlsupport": false, + "smartemaildatacard": false, + "supportcolumnnamesasidentifiers": false, + "tabledoesntwraprecords": true, + "untypedobject": true, + "usedisplaynamemetadata": true, + "useenforcesavedatalimits": true, + "useexperimentalcdsconnector": true, + "useexperimentalsqlconnector": true, + "useguiddatatypes": true, + "usenonblockingonstartrule": true, + "webbarcodescanner": false, + "zeroalltabindexes": false + }, + "Author": "", + "BindingErrorCount": 0, + "ContainsThirdPartyPcfControls": false, + "DefaultConnectedDataSourceMaxGetRowsCount": 500, + "DocumentAppType": "DesktopOrTablet", + "DocumentLayoutHeight": 768, + "DocumentLayoutLockOrientation": false, + "DocumentLayoutMaintainAspectRatio": true, + "DocumentLayoutOrientation": "landscape", + "DocumentLayoutScaleToFit": true, + "DocumentLayoutWidth": 1366, + "DocumentType": "App", + "EnableInstrumentation": false, + "FileID": "e143b5da-6b9c-459f-9a47-d4da05fc1de4", + "Id": "e143b5da-6b9c-459f-9a47-d4da05fc1de4", + "InstrumentationKey": "", + "LocalDatabaseReferences": "{}", + "ManualOfflineProfileId": "", + "Name": "Quiz app", + "OriginatingVersion": "1.334", + "ParserErrorCount": 0, + "ShowStatusBar": false + }, + "PublishInfo": { + "AppName": "Quiz app", + "BackgroundColor": "RGBA(0,176,240,1)", + "IconColor": "RGBA(255,255,255,1)", + "IconName": "Edit", + "LogoFileName": "", + "PublishDataLocally": false, + "PublishResourcesLocally": false, + "PublishTarget": "player", + "UserLocale": "en-US" + }, + "ScreenOrder": [ + "scrMain" + ] +} \ No newline at end of file diff --git a/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/ComponentReferences.json b/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/ComponentReferences.json new file mode 100644 index 00000000..0637a088 --- /dev/null +++ b/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/ComponentReferences.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/Connections/Connections.json b/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/Connections/Connections.json new file mode 100644 index 00000000..aa442b8e --- /dev/null +++ b/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/Connections/Connections.json @@ -0,0 +1,22 @@ +{ + "34571c3b-6bfb-48c9-a515-2cd90fa07652": { + "appActions": [ + "CompletionPost" + ], + "connectionRef": { + "apiTier": "Premium", + "displayName": "OpenAI GPT (Independent Publisher)", + "iconUri": "https://connectoricons-prod.azureedge.net/releases/v1.0.1636/1.0.1636.3297/openaigpt4ip/icon.png", + "id": "/providers/microsoft.powerapps/apis/shared_openaigpt4ip", + "parameterHints": {}, + "parameterHintsV2": {} + }, + "datasets": {}, + "dataSources": [ + "OpenAIGPT(IndependentPublisher)" + ], + "dependencies": {}, + "dependents": [], + "id": "34571c3b-6bfb-48c9-a515-2cd90fa07652" + } +} \ No newline at end of file diff --git a/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/ControlTemplates.json b/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/ControlTemplates.json new file mode 100644 index 00000000..ae3faba6 --- /dev/null +++ b/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/ControlTemplates.json @@ -0,0 +1,139 @@ +{ + "appinfo": { + "CustomGroupControlTemplateName": "", + "FirstParty": true, + "Id": "http://microsoft.com/appmagic/appinfo", + "IsComponentTemplate": false, + "IsCustomGroupControlTemplate": false, + "IsPcfControl": false, + "IsPremiumPcfControl": false, + "IsWidgetTemplate": false, + "LastModifiedTimestamp": "0", + "Name": "appinfo", + "OverridableProperties": {}, + "Version": "1.0" + }, + "button": { + "CustomGroupControlTemplateName": "", + "FirstParty": true, + "Id": "http://microsoft.com/appmagic/button", + "IsComponentTemplate": false, + "IsCustomGroupControlTemplate": false, + "IsPcfControl": false, + "IsPremiumPcfControl": false, + "IsWidgetTemplate": true, + "LastModifiedTimestamp": "0", + "Name": "button", + "OverridableProperties": {}, + "Version": "2.2.0" + }, + "gallery": { + "CustomGroupControlTemplateName": "", + "FirstParty": true, + "Id": "http://microsoft.com/appmagic/gallery", + "IsComponentTemplate": false, + "IsCustomGroupControlTemplate": false, + "IsPcfControl": false, + "IsPremiumPcfControl": false, + "IsWidgetTemplate": true, + "LastModifiedTimestamp": "0", + "Name": "gallery", + "OverridableProperties": {}, + "Version": "2.13.2" + }, + "galleryTemplate": { + "CustomGroupControlTemplateName": "", + "FirstParty": true, + "Id": "http://microsoft.com/appmagic/galleryTemplate", + "IsComponentTemplate": false, + "IsCustomGroupControlTemplate": false, + "IsPcfControl": false, + "IsPremiumPcfControl": false, + "IsWidgetTemplate": false, + "LastModifiedTimestamp": "0", + "Name": "galleryTemplate", + "OverridableProperties": {}, + "Version": "1.0" + }, + "groupContainer": { + "FirstParty": true, + "Id": "http://microsoft.com/appmagic/groupContainer", + "IsComponentTemplate": false, + "IsPcfControl": false, + "IsWidgetTemplate": false, + "LastModifiedTimestamp": "0", + "Name": "groupContainer", + "Version": "1.0" + }, + "Host": { + "CustomGroupControlTemplateName": "", + "FirstParty": true, + "HostType": "Default", + "Id": "http://microsoft.com/appmagic/hostcontrol", + "IsComponentTemplate": false, + "IsCustomGroupControlTemplate": false, + "IsPcfControl": false, + "IsPremiumPcfControl": false, + "IsWidgetTemplate": false, + "LastModifiedTimestamp": "0", + "Name": "hostControl", + "OverridableProperties": {}, + "Version": "1.6.0" + }, + "label": { + "CustomGroupControlTemplateName": "", + "FirstParty": true, + "Id": "http://microsoft.com/appmagic/label", + "IsComponentTemplate": false, + "IsCustomGroupControlTemplate": false, + "IsPcfControl": false, + "IsPremiumPcfControl": false, + "IsWidgetTemplate": true, + "LastModifiedTimestamp": "0", + "Name": "label", + "OverridableProperties": {}, + "Version": "2.5.1" + }, + "rectangle": { + "CustomGroupControlTemplateName": "", + "FirstParty": true, + "Id": "http://microsoft.com/appmagic/shapes/rectangle", + "IsComponentTemplate": false, + "IsCustomGroupControlTemplate": false, + "IsPcfControl": false, + "IsPremiumPcfControl": false, + "IsWidgetTemplate": true, + "LastModifiedTimestamp": "0", + "Name": "rectangle", + "OverridableProperties": {}, + "Version": "2.3.0" + }, + "screen": { + "CustomGroupControlTemplateName": "", + "FirstParty": true, + "Id": "http://microsoft.com/appmagic/screen", + "IsComponentTemplate": false, + "IsCustomGroupControlTemplate": false, + "IsPcfControl": false, + "IsPremiumPcfControl": false, + "IsWidgetTemplate": false, + "LastModifiedTimestamp": "0", + "Name": "screen", + "OverridableProperties": {}, + "Version": "1.0" + }, + "text": { + "CustomGroupControlTemplateName": "", + "FirstParty": true, + "Id": "http://microsoft.com/appmagic/text", + "IsComponentTemplate": false, + "IsCustomGroupControlTemplate": false, + "IsPcfControl": false, + "IsPremiumPcfControl": false, + "IsWidgetTemplate": true, + "LastModifiedTimestamp": "0", + "Name": "text", + "OverridableProperties": {}, + "Version": "2.3.2" + } +} \ No newline at end of file diff --git a/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/DataSources/CustomGallerySample.json b/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/DataSources/CustomGallerySample.json new file mode 100644 index 00000000..03563808 --- /dev/null +++ b/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/DataSources/CustomGallerySample.json @@ -0,0 +1,17 @@ +[ + { + "Data": "[{\"SampleHeading\":\"Lorem ipsum 1\",\"SampleImage\":\"/ctrllib/image/images/SampleImage.svg\",\"SampleText\":\"Lorem ipsum dolor sit amet, consectetur adipiscing elit.\"},{\"SampleHeading\":\"Lorem ipsum 2\",\"SampleImage\":\"/ctrllib/image/images/SampleImage.svg\",\"SampleText\":\"Suspendisse enim metus, tincidunt quis lobortis a, fringilla dignissim neque.\"},{\"SampleHeading\":\"Lorem ipsum 3\",\"SampleImage\":\"/ctrllib/image/images/SampleImage.svg\",\"SampleText\":\"Ut pharetra a dolor ac vehicula.\"},{\"SampleHeading\":\"Lorem ipsum 4\",\"SampleImage\":\"/ctrllib/image/images/SampleImage.svg\",\"SampleText\":\"Vestibulum dui felis, fringilla nec mi sed, tristique dictum nisi.\"}]", + "IsSampleData": true, + "IsWritable": false, + "Name": "CustomGallerySample", + "OrderedColumnNames": [ + "SampleImage", + "SampleHeading", + "SampleText" + ], + "OriginalName": "CustomGallerySample", + "OriginalSchema": "*[SampleHeading:s, SampleImage:i, SampleText:s]", + "Schema": "*[SampleHeading:s, SampleImage:i, SampleText:s]", + "Type": "StaticDataSourceInfo" + } +] \ No newline at end of file diff --git a/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/DataSources/OpenAIGPT%28IndependentPublisher%29.json b/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/DataSources/OpenAIGPT%28IndependentPublisher%29.json new file mode 100644 index 00000000..34bf8bf2 --- /dev/null +++ b/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/DataSources/OpenAIGPT%28IndependentPublisher%29.json @@ -0,0 +1,8 @@ +[ + { + "ApiId": "/providers/microsoft.powerapps/apis/shared_openaigpt4ip", + "Name": "OpenAIGPT(IndependentPublisher)", + "ServiceKind": "ConnectedWadl", + "Type": "ServiceInfo" + } +] \ No newline at end of file diff --git a/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/DataSources/colOptions.json b/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/DataSources/colOptions.json new file mode 100644 index 00000000..7cbe7833 --- /dev/null +++ b/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/DataSources/colOptions.json @@ -0,0 +1,9 @@ +[ + { + "IsComponentScoped": false, + "IsSampleData": false, + "IsWritable": true, + "Name": "colOptions", + "Type": "CollectionDataSourceInfo" + } +] \ No newline at end of file diff --git a/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/DataSources/colQuestions.json b/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/DataSources/colQuestions.json new file mode 100644 index 00000000..46f5ea33 --- /dev/null +++ b/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/DataSources/colQuestions.json @@ -0,0 +1,9 @@ +[ + { + "IsComponentScoped": false, + "IsSampleData": false, + "IsWritable": true, + "Name": "colQuestions", + "Type": "CollectionDataSourceInfo" + } +] \ No newline at end of file diff --git a/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/Entropy/AppCheckerResult.sarif b/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/Entropy/AppCheckerResult.sarif new file mode 100644 index 00000000..1e1b5e11 --- /dev/null +++ b/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/Entropy/AppCheckerResult.sarif @@ -0,0 +1,226 @@ +{ + "$schema": "https://schemastore.azurewebsites.net/schemas/json/sarif-2.1.0-rtm.4.json", + "runs": [ + { + "columnKind": "utf16CodeUnits", + "invocations": [ + { + "executionSuccessful": true + } + ], + "results": [ + { + "locations": [ + { + "logicalLocations": [ + { + "fullyQualifiedName": "scrMain.txtPrompt.AccessibleLabel" + } + ], + "physicalLocation": { + "address": { + "fullyQualifiedName": "scrMain.txtPrompt.AccessibleLabel", + "relativeAddress": 0 + } + }, + "properties": { + "member": "AccessibleLabel", + "module": "scrMain", + "type": "scrMain.txtPrompt" + } + } + ], + "message": { + "id": "issue" + }, + "properties": { + "level": "Medium" + }, + "ruleId": "acc-AccessibleLabelNeeded", + "ruleIndex": 0 + }, + { + "locations": [ + { + "logicalLocations": [ + { + "fullyQualifiedName": "scrMain.galQuestionAnswers.AccessibleLabel" + } + ], + "physicalLocation": { + "address": { + "fullyQualifiedName": "scrMain.galQuestionAnswers.AccessibleLabel", + "relativeAddress": 0 + } + }, + "properties": { + "member": "AccessibleLabel", + "module": "scrMain", + "type": "scrMain.galQuestionAnswers" + } + } + ], + "message": { + "id": "issue" + }, + "properties": { + "level": "Medium" + }, + "ruleId": "acc-AccessibleLabelNeeded", + "ruleIndex": 0 + }, + { + "locations": [ + { + "logicalLocations": [ + { + "fullyQualifiedName": "scrMain.galQuestionAnswers.TabIndex" + } + ], + "physicalLocation": { + "address": { + "fullyQualifiedName": "scrMain.galQuestionAnswers.TabIndex", + "relativeAddress": 0 + } + }, + "properties": { + "member": "TabIndex", + "module": "scrMain", + "type": "scrMain.galQuestionAnswers" + } + } + ], + "message": { + "id": "issue" + }, + "properties": { + "level": "Medium" + }, + "ruleId": "acc-TabIndexShouldBeDefinedForInteractiveControl", + "ruleIndex": 1 + }, + { + "locations": [ + { + "logicalLocations": [ + { + "fullyQualifiedName": "scrMain.galQuestionAnswers.lblAns.TabIndex" + } + ], + "physicalLocation": { + "address": { + "fullyQualifiedName": "scrMain.galQuestionAnswers.lblAns.TabIndex", + "relativeAddress": 0 + } + }, + "properties": { + "member": "TabIndex", + "module": "scrMain", + "type": "scrMain.galQuestionAnswers.lblAns" + } + } + ], + "message": { + "id": "issue" + }, + "properties": { + "level": "Medium" + }, + "ruleId": "acc-TabIndexShouldBeDefinedForInteractiveControl", + "ruleIndex": 1 + }, + { + "locations": [ + { + "logicalLocations": [ + { + "fullyQualifiedName": "scrMain.galQuestionAnswers.lblAns.FocusedBorderThickness" + } + ], + "physicalLocation": { + "address": { + "fullyQualifiedName": "scrMain.galQuestionAnswers.lblAns.FocusedBorderThickness", + "relativeAddress": 0 + } + }, + "properties": { + "member": "FocusedBorderThickness", + "module": "scrMain", + "type": "scrMain.galQuestionAnswers.lblAns" + } + } + ], + "message": { + "id": "issue" + }, + "properties": { + "level": "Medium" + }, + "ruleId": "acc-FocusBorderShouldBeVisible", + "ruleIndex": 2 + } + ], + "tool": { + "driver": { + "fullName": "PowerApps app checker", + "name": "PowerApps app checker", + "rules": [ + { + "id": "acc-AccessibleLabelNeeded", + "messageStrings": { + "issue": { + "text": "Missing accessible label" + } + }, + "properties": { + "componentType": "app", + "howToFix": [ + "Edit the accessible label property to describe the item." + ], + "level": "Medium", + "primaryCategory": "accessibility", + "whyFix": "If there's no accessible text, people who can’t see the screen won't understand what’s in images and controls." + } + }, + { + "id": "acc-TabIndexShouldBeDefinedForInteractiveControl", + "messageStrings": { + "issue": { + "text": "Missing tab stop" + } + }, + "properties": { + "componentType": "app", + "howToFix": [ + "Set TabIndex to 0 or greater to ensure that interactive elements have a tab stop." + ], + "level": "Medium", + "primaryCategory": "accessibility", + "whyFix": "People who use the keyboard with your app will not be able to access this element without a tab stop." + } + }, + { + "id": "acc-FocusBorderShouldBeVisible", + "messageStrings": { + "issue": { + "text": "Focus isn't showing" + } + }, + "properties": { + "componentType": "app", + "howToFix": [ + "Change the FocusedBorderThickness property to be more than 0." + ], + "level": "Medium", + "primaryCategory": "accessibility", + "whyFix": "If the focus isn't visible, people who don't use a mouse won't be able to see it when they're interacting with the app." + } + } + ], + "version": "1.334" + } + } + } + ], + "version": "2.1.0" +} \ No newline at end of file diff --git a/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/Entropy/Entropy.json b/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/Entropy/Entropy.json new file mode 100644 index 00000000..364edb9a --- /dev/null +++ b/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/Entropy/Entropy.json @@ -0,0 +1,92 @@ +{ + "ComponentIndexes": {}, + "ControlUniqueGuids": {}, + "ControlUniqueIds": { + "App": 1, + "btnNext": 12, + "btnTest": 6, + "galleryTemplate2": 9, + "galQuestionAnswers": 8, + "Host": 3, + "lblAns": 10, + "lblSelQuestion": 7, + "scrMain": 4, + "Separator3": 11, + "txtPrompt": 5 + }, + "FunctionParamsInvariantScripts": {}, + "FunctionParamsInvariantScriptsOnInstances": {}, + "HeaderLastSavedDateTimeUTC": "09/26/2023 05:02:50", + "IsLegacyComponentAllowGlobalScopeCase": false, + "LocalConnectionIDReferences": { + "34571c3b-6bfb-48c9-a515-2cd90fa07652": "\"/providers/microsoft.powerapps/apis/shared_openaigpt4ip/connections/shared-openaigpt4ip-6ce8b85a-df3f-48e7-8cb9-48872f69d191\"" + }, + "LocalDatabaseReferencesAsEmpty": false, + "LocalResourceFileNames": {}, + "LocalResourceRootPaths": {}, + "OrderComponentMetadata": {}, + "OrderComponentTemplate": {}, + "OrderDataSource": { + "colOptions": 2, + "colQuestions": 3, + "CustomGallerySample": 1, + "OpenAIGPT(IndependentPublisher)": 0 + }, + "OrderGroupControls": {}, + "OrderPcfTemplate": {}, + "OrderTemplate": {}, + "OrderXMLTemplate": { + "button": 1, + "gallery": 3, + "label": 2, + "rectangle": 4, + "text": 0 + }, + "OverridablePropertiesEntry": { + "App": {}, + "btnNext": {}, + "btnTest": {}, + "galleryTemplate2": {}, + "galQuestionAnswers": {}, + "Host": {}, + "lblAns": {}, + "lblSelQuestion": {}, + "scrMain": {}, + "Separator3": {}, + "txtPrompt": {} + }, + "PCFDynamicSchemaForIRRetrievalEntry": {}, + "PCFTemplateEntry": {}, + "PublishOrderIndices": { + "App": 0, + "btnNext": 7, + "btnTest": 1, + "galleryTemplate2": 4, + "galQuestionAnswers": 3, + "Host": 0, + "lblAns": 5, + "lblSelQuestion": 2, + "scrMain": 0, + "Separator3": 6, + "txtPrompt": 0 + }, + "ResourcesJsonIndices": { + "Image-SampleImage": 0 + }, + "RuleScreenIdWithoutScreen": {}, + "TemplateVersions": {}, + "VolatileProperties": { + "AnalysisLoadTime": 0.1235697, + "ControlCount": { + "button": 2, + "gallery": 1, + "galleryTemplate": 1, + "label": 2, + "rectangle": 1, + "screen": 1, + "text": 1 + }, + "DeserializationLoadTime": 4.8066202999999996 + }, + "WasLocalDatabaseReferencesEmpty": true +} \ No newline at end of file diff --git a/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/Entropy/checksum.json b/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/Entropy/checksum.json new file mode 100644 index 00000000..2d6a6677 --- /dev/null +++ b/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/Entropy/checksum.json @@ -0,0 +1,34 @@ +{ + "ClientBuildDetails": { + "CommitHash": "941f06c8f5cf7a493289e9514c8dec5c50b61d34", + "IsLocalBuild": false + }, + "ClientPerFileChecksums": { + "AppCheckerResult.sarif": "C8_aO74Y8xWiECnQpR9jrvgdLGf6louwcXaGeqb2oAblPQ=", + "Controls\\1.json": "C8_2I9OESUJklCkkAU1lNDxqYqrDUPnkl/GGR+coxZoDDI=", + "Controls\\4.json": "C8_IPJlW32a1sIevzavJrHPCIcbDw3mQf6J97uTN5yt47I=", + "Header.json": "C8_CulPGFJT4vuNxQdFyiB23c57isrdbYH7go7EbjpMInQ=", + "Properties.json": "C8_tL8w6wtn0HNLdO50br8ZDIDN2+KBoUuYVeh58r3HZYk=", + "References\\DataSources.json": "C8_77+XVeg3QU7VXpgg1NYaWvfhAmljh5zMETMT8HhpFlQ=", + "References\\ModernThemes.json": "C8_KDQJ/3t27vgKx25iCQB/PGqxkWE34ZB7Eyb+RxNxY0k=", + "References\\Resources.json": "C8_s+se9qfOYnCKwfIt6gbv1FGBHW47JCt5d/CkUpqbcjk=", + "References\\Templates.json": "C8_+Kt36V8MOUCK3KlG1zvD+14susnanXuxbsDJPXPGo/Q=", + "References\\Themes.json": "C8_zuMgLpz3IJQlVgGqo3GtyhriL3PR35GxXf+rtPR4Gfc=", + "Resources\\PublishInfo.json": "C8_mYlOX7nhNVYO3mP1y5ZYLYivxNp8R3CSw6Ce0fzfL5Y=" + }, + "ClientStampedChecksum": "C8_9HWdiUo9MXdL0adWIPNGueoUi04BGP00uW1fbL3tQhk=", + "ServerPerFileChecksums": { + "AppCheckerResult.sarif": "C8_aO74Y8xWiECnQpR9jrvgdLGf6louwcXaGeqb2oAblPQ=", + "Controls\\1.json": "C8_2I9OESUJklCkkAU1lNDxqYqrDUPnkl/GGR+coxZoDDI=", + "Controls\\4.json": "C8_IPJlW32a1sIevzavJrHPCIcbDw3mQf6J97uTN5yt47I=", + "Header.json": "C8_CulPGFJT4vuNxQdFyiB23c57isrdbYH7go7EbjpMInQ=", + "Properties.json": "C8_tL8w6wtn0HNLdO50br8ZDIDN2+KBoUuYVeh58r3HZYk=", + "References\\DataSources.json": "C8_77+XVeg3QU7VXpgg1NYaWvfhAmljh5zMETMT8HhpFlQ=", + "References\\ModernThemes.json": "C8_KDQJ/3t27vgKx25iCQB/PGqxkWE34ZB7Eyb+RxNxY0k=", + "References\\Resources.json": "C8_s+se9qfOYnCKwfIt6gbv1FGBHW47JCt5d/CkUpqbcjk=", + "References\\Templates.json": "C8_+Kt36V8MOUCK3KlG1zvD+14susnanXuxbsDJPXPGo/Q=", + "References\\Themes.json": "C8_zuMgLpz3IJQlVgGqo3GtyhriL3PR35GxXf+rtPR4Gfc=", + "Resources\\PublishInfo.json": "C8_mYlOX7nhNVYO3mP1y5ZYLYivxNp8R3CSw6Ce0fzfL5Y=" + }, + "ServerStampedChecksum": "C8_9HWdiUo9MXdL0adWIPNGueoUi04BGP00uW1fbL3tQhk=" +} \ No newline at end of file diff --git a/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/Other/References/ModernThemes.json b/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/Other/References/ModernThemes.json new file mode 100644 index 00000000..b809c455 --- /dev/null +++ b/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/Other/References/ModernThemes.json @@ -0,0 +1,8 @@ +{ + "Themes": [ + { + "EntityName": "PowerAppsTheme", + "ThemeName": "PowerAppsTheme" + } + ] +} \ No newline at end of file diff --git a/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/Src/App.fx.yaml b/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/Src/App.fx.yaml new file mode 100644 index 00000000..ae2172f2 --- /dev/null +++ b/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/Src/App.fx.yaml @@ -0,0 +1,43 @@ +App As appinfo: + BackEnabled: =false + OnStart: |- + =Set(varIndex, 1); + Set(varPromt,"Generate a JSON dataset of 10 pub quiz questions. Provide each question entry in proper JSON format with a 'question' field, an 'options' field consisting of an array of 4 possible answers. Additionally, ensure that each option includes an 'answer' field with the text of the option, a 'selected' field initialized to false indicating whether the option has been chosen, and a 'correct' field indicating whether the answer is correct." + ); + + Set(varResponse, "[ + { + ""question"": ""None"", + ""options"": [ + {""Answer"": ""None"", ""Selected"": false, ""Correct"": false}, + {""Answer"": ""None"", ""Selected"": false, ""Correct"": false}, + {""Answer"": ""None"", ""Selected"": false, ""Correct"": false}, + {""Answer"": ""None"", ""Selected"": false, ""Correct"": true} + ] + }]"); + + ClearCollect( + colQuestions, + Table(ParseJSON(varResponse)); + ); + + Set(varIndex,1); + + ClearCollect( + colOptions, + AddColumns( + Table(Index(colQuestions, varIndex).Value.options), + "answer", Value.Answer, + "selected", Value.Selected = true, + "correct",Value.Correct = true + ) + ); + Theme: =PowerAppsTheme + + Host As hostControl.DefaultHostControlVariant: + OnCancel: =false + OnEdit: =false + OnNew: =false + OnSave: =false + OnView: =false + diff --git a/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/Src/EditorState/App.editorstate.json b/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/Src/EditorState/App.editorstate.json new file mode 100644 index 00000000..b7b77767 --- /dev/null +++ b/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/Src/EditorState/App.editorstate.json @@ -0,0 +1,125 @@ +{ + "ControlStates": { + "App": { + "AllowAccessToGlobals": true, + "ControlPropertyState": [ + "MinScreenHeight", + "MinScreenWidth", + "ConfirmExit", + "SizeBreakpoints", + "BackEnabled", + "Theme", + { + "AFDDataSourceName": "", + "AutoRuleBindingEnabled": false, + "AutoRuleBindingString": "", + "InvariantPropertyName": "OnStart", + "IsLockable": false, + "NameMapSourceSchema": "?" + } + ], + "IsAutoGenerated": false, + "IsComponentDefinition": false, + "IsDataControl": true, + "IsFromScreenLayout": false, + "IsGroupControl": false, + "IsLocked": false, + "LayoutName": "", + "MetaDataIDKey": "", + "Name": "App", + "ParentIndex": 0, + "PersistMetaDataIDKey": false, + "Properties": [ + { + "Category": "Data", + "PropertyName": "ConfirmExit", + "RuleProviderType": "Unknown" + }, + { + "Category": "Data", + "PropertyName": "BackEnabled", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "MinScreenHeight", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "MinScreenWidth", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Theme", + "RuleProviderType": "Unknown" + }, + { + "Category": "Behavior", + "PropertyName": "OnStart", + "RuleProviderType": "Unknown" + }, + { + "Category": "ConstantData", + "PropertyName": "SizeBreakpoints", + "RuleProviderType": "Unknown" + } + ], + "StyleName": "", + "Type": "ControlInfo" + }, + "Host": { + "AllowAccessToGlobals": true, + "ControlPropertyState": [ + "OnNew", + "OnEdit", + "OnView", + "OnSave", + "OnCancel" + ], + "HasDynamicProperties": false, + "IsAutoGenerated": false, + "IsComponentDefinition": false, + "IsDataControl": true, + "IsFromScreenLayout": false, + "IsGroupControl": false, + "IsLocked": false, + "LayoutName": "", + "MetaDataIDKey": "", + "Name": "Host", + "ParentIndex": 0, + "PersistMetaDataIDKey": false, + "Properties": [ + { + "Category": "Behavior", + "PropertyName": "OnNew", + "RuleProviderType": "Unknown" + }, + { + "Category": "Behavior", + "PropertyName": "OnEdit", + "RuleProviderType": "Unknown" + }, + { + "Category": "Behavior", + "PropertyName": "OnView", + "RuleProviderType": "Unknown" + }, + { + "Category": "Behavior", + "PropertyName": "OnSave", + "RuleProviderType": "Unknown" + }, + { + "Category": "Behavior", + "PropertyName": "OnCancel", + "RuleProviderType": "Unknown" + } + ], + "StyleName": "", + "Type": "ControlInfo" + } + }, + "TopParentName": "App" +} \ No newline at end of file diff --git a/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/Src/EditorState/scrMain.editorstate.json b/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/Src/EditorState/scrMain.editorstate.json new file mode 100644 index 00000000..3d9eaaa3 --- /dev/null +++ b/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/Src/EditorState/scrMain.editorstate.json @@ -0,0 +1,1824 @@ +{ + "ControlStates": { + "btnNext": { + "AllowAccessToGlobals": true, + "ControlPropertyState": [ + { + "AFDDataSourceName": "", + "AutoRuleBindingEnabled": false, + "AutoRuleBindingString": "\"Button\"", + "InvariantPropertyName": "Text", + "IsLockable": false, + "NameMapSourceSchema": "?" + }, + "BorderColor", + "DisabledBorderColor", + "PressedBorderColor", + "HoverBorderColor", + "BorderStyle", + "FocusedBorderColor", + "Color", + "DisabledColor", + "PressedColor", + "HoverColor", + "DisplayMode", + "Fill", + "DisabledFill", + "PressedFill", + "HoverFill", + "Font", + "FontWeight", + "Align", + "VerticalAlign", + "X", + "Y", + "Width", + "Height", + "ZIndex", + "RadiusTopLeft", + "RadiusTopRight", + "RadiusBottomLeft", + "RadiusBottomRight", + "BorderThickness", + "FocusedBorderThickness", + "Size", + "Italic", + "Underline", + "Strikethrough", + { + "AFDDataSourceName": "", + "AutoRuleBindingEnabled": false, + "AutoRuleBindingString": "false", + "InvariantPropertyName": "OnSelect", + "IsLockable": false, + "NameMapSourceSchema": "?" + }, + { + "AFDDataSourceName": "", + "AutoRuleBindingEnabled": false, + "AutoRuleBindingString": "true", + "InvariantPropertyName": "Visible", + "IsLockable": false, + "NameMapSourceSchema": "?" + } + ], + "HasDynamicProperties": false, + "IsAutoGenerated": false, + "IsComponentDefinition": false, + "IsDataControl": false, + "IsFromScreenLayout": false, + "IsGroupControl": false, + "IsLocked": false, + "LayoutName": "", + "MetaDataIDKey": "", + "Name": "btnNext", + "ParentIndex": 4, + "PersistMetaDataIDKey": false, + "Properties": [ + { + "Category": "Data", + "PropertyName": "Text", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "RadiusBottomRight", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Size", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "RadiusBottomLeft", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "FocusedBorderThickness", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Strikethrough", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "RadiusTopRight", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Underline", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "RadiusTopLeft", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "ZIndex", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "BorderThickness", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Height", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Width", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Y", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "X", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Italic", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "VerticalAlign", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Align", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "FontWeight", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Font", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "HoverFill", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "DisabledFill", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Fill", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "DisplayMode", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "HoverColor", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "DisabledColor", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Color", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "BorderStyle", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "DisabledBorderColor", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "PressedColor", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "PressedBorderColor", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "BorderColor", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "PressedFill", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "FocusedBorderColor", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "HoverBorderColor", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Visible", + "RuleProviderType": "Unknown" + }, + { + "Category": "Behavior", + "PropertyName": "OnSelect", + "RuleProviderType": "Unknown" + } + ], + "StyleName": "defaultButtonStyle", + "Type": "ControlInfo" + }, + "btnTest": { + "AllowAccessToGlobals": true, + "ControlPropertyState": [ + { + "AFDDataSourceName": "", + "AutoRuleBindingEnabled": false, + "AutoRuleBindingString": "\"Button\"", + "InvariantPropertyName": "Text", + "IsLockable": false, + "NameMapSourceSchema": "?" + }, + "BorderColor", + "DisabledBorderColor", + "PressedBorderColor", + "HoverBorderColor", + "BorderStyle", + "FocusedBorderColor", + "Color", + "DisabledColor", + "PressedColor", + "HoverColor", + "DisplayMode", + "Fill", + "DisabledFill", + "PressedFill", + "HoverFill", + "Font", + "FontWeight", + "Align", + "VerticalAlign", + "X", + "Y", + "Width", + "Height", + "ZIndex", + "RadiusTopLeft", + "RadiusTopRight", + "RadiusBottomLeft", + "RadiusBottomRight", + "BorderThickness", + "FocusedBorderThickness", + "Size", + "Italic", + "Underline", + "Strikethrough", + { + "AFDDataSourceName": "", + "AutoRuleBindingEnabled": false, + "AutoRuleBindingString": "false", + "InvariantPropertyName": "OnSelect", + "IsLockable": false, + "NameMapSourceSchema": "?" + } + ], + "HasDynamicProperties": false, + "IsAutoGenerated": false, + "IsComponentDefinition": false, + "IsDataControl": false, + "IsFromScreenLayout": false, + "IsGroupControl": false, + "IsLocked": false, + "LayoutName": "", + "MetaDataIDKey": "", + "Name": "btnTest", + "ParentIndex": 1, + "PersistMetaDataIDKey": false, + "Properties": [ + { + "Category": "Data", + "PropertyName": "Text", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "RadiusBottomRight", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Size", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "RadiusBottomLeft", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "FocusedBorderThickness", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Strikethrough", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "RadiusTopRight", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Underline", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "RadiusTopLeft", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "ZIndex", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "BorderThickness", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Height", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Width", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Y", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "X", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Italic", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "VerticalAlign", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Align", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "FontWeight", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Font", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "HoverFill", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "DisabledFill", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Fill", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "DisplayMode", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "HoverColor", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "DisabledColor", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Color", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "BorderStyle", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "DisabledBorderColor", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "PressedColor", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "PressedBorderColor", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "BorderColor", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "PressedFill", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "FocusedBorderColor", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "HoverBorderColor", + "RuleProviderType": "Unknown" + }, + { + "Category": "Behavior", + "PropertyName": "OnSelect", + "RuleProviderType": "Unknown" + } + ], + "StyleName": "defaultButtonStyle", + "Type": "ControlInfo" + }, + "galleryTemplate2": { + "AllowAccessToGlobals": true, + "ControlPropertyState": [ + "TemplateFill" + ], + "HasDynamicProperties": false, + "IsAutoGenerated": false, + "IsComponentDefinition": false, + "IsDataControl": true, + "IsFromScreenLayout": false, + "IsGroupControl": false, + "IsLocked": false, + "LayoutName": "", + "MetaDataIDKey": "", + "Name": "galleryTemplate2", + "ParentIndex": 0, + "PersistMetaDataIDKey": false, + "Properties": [ + { + "Category": "Design", + "PropertyName": "TemplateFill", + "RuleProviderType": "Unknown" + } + ], + "StyleName": "", + "Type": "ControlInfo" + }, + "galQuestionAnswers": { + "AllowAccessToGlobals": true, + "ControlPropertyState": [ + { + "AFDDataSourceName": "", + "AutoRuleBindingEnabled": false, + "AutoRuleBindingString": "CustomGallerySample", + "InvariantPropertyName": "Items", + "IsLockable": false, + "NameMapSourceSchema": "?" + }, + { + "AFDDataSourceName": "", + "AutoRuleBindingEnabled": false, + "AutoRuleBindingString": "", + "InvariantPropertyName": "WrapCount", + "IsLockable": false, + "NameMapSourceSchema": "?" + }, + { + "AFDDataSourceName": "", + "AutoRuleBindingEnabled": false, + "AutoRuleBindingString": "", + "InvariantPropertyName": "TemplateSize", + "IsLockable": false, + "NameMapSourceSchema": "?" + }, + "TemplatePadding", + "Layout", + "Transition", + "DelayItemLoading", + "LoadingSpinner", + "LoadingSpinnerColor", + "DisplayMode", + "BorderColor", + "DisabledBorderColor", + "PressedBorderColor", + "HoverBorderColor", + "BorderStyle", + "FocusedBorderColor", + { + "AFDDataSourceName": "", + "AutoRuleBindingEnabled": false, + "AutoRuleBindingString": "RGBA(0, 0, 0, 0)", + "InvariantPropertyName": "Fill", + "IsLockable": false, + "NameMapSourceSchema": "?" + }, + "DisabledFill", + "PressedFill", + "HoverFill", + "X", + "Y", + "Width", + "Height", + "ZIndex", + { + "AFDDataSourceName": "", + "AutoRuleBindingEnabled": false, + "AutoRuleBindingString": "true", + "InvariantPropertyName": "Visible", + "IsLockable": false, + "NameMapSourceSchema": "?" + } + ], + "GalleryTemplateChildName": "galleryTemplate2", + "HasDynamicProperties": false, + "IsAutoGenerated": false, + "IsComponentDefinition": false, + "IsDataControl": false, + "IsFromScreenLayout": false, + "IsGroupControl": false, + "IsLocked": false, + "LayoutName": "", + "MetaDataIDKey": "", + "Name": "galQuestionAnswers", + "ParentIndex": 3, + "PersistMetaDataIDKey": false, + "Properties": [ + { + "Category": "Data", + "PropertyName": "WrapCount", + "RuleProviderType": "Unknown" + }, + { + "Category": "Data", + "PropertyName": "Items", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "DisplayMode", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "LoadingSpinner", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "DelayItemLoading", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Transition", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Layout", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "TemplatePadding", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "TemplateSize", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "ZIndex", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "HoverFill", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Height", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Width", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Y", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "PressedFill", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "X", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "DisabledFill", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Fill", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "BorderStyle", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "BorderColor", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "FocusedBorderColor", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "HoverBorderColor", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "PressedBorderColor", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "DisabledBorderColor", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "LoadingSpinnerColor", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Visible", + "RuleProviderType": "Unknown" + } + ], + "StyleName": "defaultGalleryStyle", + "Type": "ControlInfo" + }, + "lblAns": { + "AllowAccessToGlobals": true, + "ControlPropertyState": [ + "Live", + "Overflow", + { + "AFDDataSourceName": "", + "AutoRuleBindingEnabled": false, + "AutoRuleBindingString": "ThisItem.Value", + "InvariantPropertyName": "Text", + "IsLockable": false, + "NameMapSourceSchema": "?" + }, + "Role", + "Color", + "DisabledColor", + "PressedColor", + "HoverColor", + "BorderColor", + "DisabledBorderColor", + "PressedBorderColor", + "HoverBorderColor", + "BorderStyle", + "FocusedBorderColor", + { + "AFDDataSourceName": "", + "AutoRuleBindingEnabled": false, + "AutoRuleBindingString": "RGBA(0, 0, 0, 0)", + "InvariantPropertyName": "Fill", + "IsLockable": false, + "NameMapSourceSchema": "?" + }, + "DisabledFill", + "PressedFill", + "HoverFill", + "Font", + { + "AFDDataSourceName": "", + "AutoRuleBindingEnabled": false, + "AutoRuleBindingString": "If(ThisItem.IsSelected, FontWeight.Semibold, FontWeight.Normal)", + "InvariantPropertyName": "FontWeight", + "IsLockable": false, + "NameMapSourceSchema": "?" + }, + "Align", + { + "AFDDataSourceName": "", + "AutoRuleBindingEnabled": false, + "AutoRuleBindingString": "", + "InvariantPropertyName": "VerticalAlign", + "IsLockable": false, + "NameMapSourceSchema": "?" + }, + "X", + "Y", + { + "AFDDataSourceName": "", + "AutoRuleBindingEnabled": false, + "AutoRuleBindingString": "Parent.TemplateWidth - 86", + "InvariantPropertyName": "Width", + "IsLockable": false, + "NameMapSourceSchema": "?" + }, + { + "AFDDataSourceName": "", + "AutoRuleBindingEnabled": false, + "AutoRuleBindingString": "Self.Size * 1.8", + "InvariantPropertyName": "Height", + "IsLockable": false, + "NameMapSourceSchema": "?" + }, + "DisplayMode", + { + "AFDDataSourceName": "", + "AutoRuleBindingEnabled": false, + "AutoRuleBindingString": "Select(Parent)", + "InvariantPropertyName": "OnSelect", + "IsLockable": false, + "NameMapSourceSchema": "?" + }, + "ZIndex", + { + "AFDDataSourceName": "", + "AutoRuleBindingEnabled": false, + "AutoRuleBindingString": "", + "InvariantPropertyName": "PaddingTop", + "IsLockable": false, + "NameMapSourceSchema": "?" + }, + "PaddingRight", + "PaddingBottom", + { + "AFDDataSourceName": "", + "AutoRuleBindingEnabled": false, + "AutoRuleBindingString": "", + "InvariantPropertyName": "PaddingLeft", + "IsLockable": false, + "NameMapSourceSchema": "?" + }, + "TabIndex", + "Size", + { + "AFDDataSourceName": "", + "AutoRuleBindingEnabled": false, + "AutoRuleBindingString": "", + "InvariantPropertyName": "BorderThickness", + "IsLockable": false, + "NameMapSourceSchema": "?" + } + ], + "HasDynamicProperties": false, + "IsAutoGenerated": false, + "IsComponentDefinition": false, + "IsDataControl": false, + "IsFromScreenLayout": false, + "IsGroupControl": false, + "IsLocked": false, + "LayoutName": "", + "MetaDataIDKey": "%TemplateBrowseGalleryTitle.ID%", + "Name": "lblAns", + "ParentIndex": 1, + "PersistMetaDataIDKey": false, + "Properties": [ + { + "Category": "Data", + "PropertyName": "Text", + "RuleProviderType": "Unknown" + }, + { + "Category": "Data", + "PropertyName": "Role", + "RuleProviderType": "Unknown" + }, + { + "Category": "Data", + "PropertyName": "Live", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "DisplayMode", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "X", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "VerticalAlign", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Align", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Size", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "FontWeight", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Font", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "PaddingTop", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "DisabledFill", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Fill", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "BorderStyle", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "ZIndex", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "DisabledBorderColor", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "PaddingRight", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "BorderColor", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Width", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "PaddingBottom", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "PaddingLeft", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "DisabledColor", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Color", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Overflow", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "TabIndex", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "BorderThickness", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Y", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Height", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "HoverFill", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "PressedFill", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "FocusedBorderColor", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "HoverBorderColor", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "PressedBorderColor", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "HoverColor", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "PressedColor", + "RuleProviderType": "Unknown" + }, + { + "Category": "Behavior", + "PropertyName": "OnSelect", + "RuleProviderType": "Unknown" + } + ], + "StyleName": "titleLabelStyle_galleryLayouts_ver5", + "Type": "ControlInfo" + }, + "lblSelQuestion": { + "AllowAccessToGlobals": true, + "ControlPropertyState": [ + "Live", + "Overflow", + { + "AFDDataSourceName": "", + "AutoRuleBindingEnabled": false, + "AutoRuleBindingString": "\"Text\"", + "InvariantPropertyName": "Text", + "IsLockable": false, + "NameMapSourceSchema": "?" + }, + "Role", + "Color", + "DisabledColor", + "PressedColor", + "HoverColor", + "BorderColor", + "DisabledBorderColor", + "PressedBorderColor", + "HoverBorderColor", + "BorderStyle", + "FocusedBorderColor", + "Fill", + "DisabledFill", + "PressedFill", + "HoverFill", + "Font", + "FontWeight", + "Align", + "VerticalAlign", + "X", + "Y", + "Width", + "Height", + "DisplayMode", + "ZIndex", + "LineHeight", + "BorderThickness", + "FocusedBorderThickness", + "Size", + "Italic", + "Underline", + "Strikethrough", + "PaddingTop", + "PaddingRight", + "PaddingBottom", + "PaddingLeft", + { + "AFDDataSourceName": "", + "AutoRuleBindingEnabled": false, + "AutoRuleBindingString": "true", + "InvariantPropertyName": "Visible", + "IsLockable": false, + "NameMapSourceSchema": "?" + } + ], + "HasDynamicProperties": false, + "IsAutoGenerated": false, + "IsComponentDefinition": false, + "IsDataControl": false, + "IsFromScreenLayout": false, + "IsGroupControl": false, + "IsLocked": false, + "LayoutName": "", + "MetaDataIDKey": "", + "Name": "lblSelQuestion", + "ParentIndex": 2, + "PersistMetaDataIDKey": false, + "Properties": [ + { + "Category": "Data", + "PropertyName": "Role", + "RuleProviderType": "Unknown" + }, + { + "Category": "Data", + "PropertyName": "Text", + "RuleProviderType": "Unknown" + }, + { + "Category": "Data", + "PropertyName": "Live", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Size", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "FocusedBorderThickness", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "BorderThickness", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "LineHeight", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "ZIndex", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "DisplayMode", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "PaddingLeft", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "PaddingBottom", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Height", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Width", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "PaddingRight", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "PaddingTop", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Y", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Strikethrough", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "X", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "VerticalAlign", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Underline", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Italic", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Align", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "FontWeight", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Font", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "DisabledFill", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Fill", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "BorderStyle", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "DisabledBorderColor", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "BorderColor", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "DisabledColor", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Color", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Overflow", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "HoverFill", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "PressedFill", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "FocusedBorderColor", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "HoverBorderColor", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "PressedBorderColor", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "HoverColor", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "PressedColor", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Visible", + "RuleProviderType": "Unknown" + } + ], + "StyleName": "defaultLabelStyle", + "Type": "ControlInfo" + }, + "scrMain": { + "AllowAccessToGlobals": true, + "ControlPropertyState": [ + "Fill", + "ImagePosition", + "Height", + "Width", + "Size", + "Orientation", + "LoadingSpinner", + "LoadingSpinnerColor" + ], + "IsAutoGenerated": false, + "IsComponentDefinition": false, + "IsDataControl": false, + "IsFromScreenLayout": false, + "IsGroupControl": false, + "IsLocked": false, + "LayoutName": "", + "MetaDataIDKey": "", + "Name": "scrMain", + "ParentIndex": 0, + "PersistMetaDataIDKey": false, + "Properties": [ + { + "Category": "Design", + "PropertyName": "Width", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Height", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "ImagePosition", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Fill", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "LoadingSpinner", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "LoadingSpinnerColor", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Size", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Orientation", + "RuleProviderType": "Unknown" + } + ], + "StyleName": "defaultScreenStyle", + "Type": "ControlInfo" + }, + "Separator3": { + "AllowAccessToGlobals": true, + "ControlPropertyState": [ + "Fill", + "DisabledFill", + "PressedFill", + "HoverFill", + "BorderColor", + "BorderStyle", + "FocusedBorderColor", + "DisplayMode", + "X", + "Y", + "Width", + "Height", + "OnSelect", + "ZIndex", + "BorderThickness", + "TabIndex" + ], + "HasDynamicProperties": false, + "IsAutoGenerated": false, + "IsComponentDefinition": false, + "IsDataControl": false, + "IsFromScreenLayout": false, + "IsGroupControl": false, + "IsLocked": false, + "LayoutName": "", + "MetaDataIDKey": "%TemplateBrowseGallerySeparator1.ID%", + "Name": "Separator3", + "ParentIndex": 2, + "PersistMetaDataIDKey": false, + "Properties": [ + { + "Category": "Design", + "PropertyName": "Fill", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Width", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Y", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "BorderColor", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "BorderStyle", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "FocusedBorderColor", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "DisplayMode", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "X", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "HoverFill", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "PressedFill", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Height", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "DisabledFill", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "ZIndex", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "BorderThickness", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "TabIndex", + "RuleProviderType": "Unknown" + }, + { + "Category": "Behavior", + "PropertyName": "OnSelect", + "RuleProviderType": "Unknown" + } + ], + "StyleName": "dividerStyle2020", + "Type": "ControlInfo" + }, + "txtPrompt": { + "AllowAccessToGlobals": true, + "ControlPropertyState": [ + { + "AFDDataSourceName": "", + "AutoRuleBindingEnabled": false, + "AutoRuleBindingString": "\"Text input\"", + "InvariantPropertyName": "Default", + "IsLockable": false, + "NameMapSourceSchema": "?" + }, + { + "AFDDataSourceName": "", + "AutoRuleBindingEnabled": false, + "AutoRuleBindingString": "", + "InvariantPropertyName": "Mode", + "IsLockable": false, + "NameMapSourceSchema": "?" + }, + "Format", + "VirtualKeyboardMode", + "DelayOutput", + "BorderColor", + "DisabledBorderColor", + "PressedBorderColor", + "HoverBorderColor", + "BorderStyle", + "FocusedBorderColor", + "Color", + "DisabledColor", + "PressedColor", + { + "AFDDataSourceName": "", + "AutoRuleBindingEnabled": false, + "AutoRuleBindingString": "RGBA(0, 0, 0, 1)", + "InvariantPropertyName": "HoverColor", + "IsLockable": false, + "NameMapSourceSchema": "?" + }, + "Fill", + "DisabledFill", + "PressedFill", + { + "AFDDataSourceName": "", + "AutoRuleBindingEnabled": false, + "AutoRuleBindingString": "RGBA(186, 202, 226, 1)", + "InvariantPropertyName": "HoverFill", + "IsLockable": false, + "NameMapSourceSchema": "?" + }, + "Font", + "FontWeight", + "Align", + "X", + "Y", + "Width", + "Height", + { + "AFDDataSourceName": "", + "AutoRuleBindingEnabled": false, + "AutoRuleBindingString": "", + "InvariantPropertyName": "DisplayMode", + "IsLockable": false, + "NameMapSourceSchema": "?" + }, + "ZIndex", + "RadiusTopLeft", + "RadiusTopRight", + "RadiusBottomLeft", + "RadiusBottomRight", + "BorderThickness", + "FocusedBorderThickness", + "Size", + "Italic", + "Underline", + "Strikethrough", + { + "AFDDataSourceName": "", + "AutoRuleBindingEnabled": false, + "AutoRuleBindingString": "", + "InvariantPropertyName": "HintText", + "IsLockable": false, + "NameMapSourceSchema": "?" + } + ], + "HasDynamicProperties": false, + "IsAutoGenerated": false, + "IsComponentDefinition": false, + "IsDataControl": false, + "IsFromScreenLayout": false, + "IsGroupControl": false, + "IsLocked": false, + "LayoutName": "", + "MetaDataIDKey": "", + "Name": "txtPrompt", + "ParentIndex": 0, + "PersistMetaDataIDKey": false, + "Properties": [ + { + "Category": "Data", + "PropertyName": "HintText", + "RuleProviderType": "Unknown" + }, + { + "Category": "Data", + "PropertyName": "DelayOutput", + "RuleProviderType": "Unknown" + }, + { + "Category": "Data", + "PropertyName": "Default", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Size", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "FocusedBorderThickness", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "BorderThickness", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "RadiusBottomRight", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "RadiusBottomLeft", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "RadiusTopRight", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "RadiusTopLeft", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Strikethrough", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "ZIndex", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "DisplayMode", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Height", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Width", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Underline", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Y", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "X", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Align", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Italic", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "FontWeight", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Font", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "HoverFill", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "DisabledFill", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Fill", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "HoverColor", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "DisabledColor", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Color", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "BorderStyle", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "HoverBorderColor", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "DisabledBorderColor", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "BorderColor", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "VirtualKeyboardMode", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Format", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "Mode", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "PressedFill", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "PressedColor", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "PressedBorderColor", + "RuleProviderType": "Unknown" + }, + { + "Category": "Design", + "PropertyName": "FocusedBorderColor", + "RuleProviderType": "Unknown" + } + ], + "StyleName": "defaultTextStyle", + "Type": "ControlInfo" + } + }, + "TopParentName": "scrMain" +} \ No newline at end of file diff --git a/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/Src/Themes.json b/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/Src/Themes.json new file mode 100644 index 00000000..35c9de02 --- /dev/null +++ b/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/Src/Themes.json @@ -0,0 +1,4962 @@ +{ + "CurrentTheme": "defaultTheme", + "CustomThemes": [ + { + "name": "defaultTheme", + "palette": [ + { + "name": "ScreenBkgColor", + "type": "c", + "value": "%Color.RESERVED%.White" + }, + { + "name": "InvertedBkgColor", + "type": "c", + "value": "RGBA(56, 96, 178, 1)" + }, + { + "name": "PrimaryColor1", + "type": "c", + "value": "RGBA(56, 96, 178, 1)" + }, + { + "name": "PrimaryColor2", + "type": "c", + "value": "RGBA(0, 18, 107, 1)" + }, + { + "name": "PrimaryColor3", + "type": "c", + "value": "RGBA(186, 202, 226, 1)" + }, + { + "name": "PrimaryColor1Light", + "type": "c", + "value": "RGBA(56, 96, 178, .2)" + }, + { + "name": "PrimaryColor2Light", + "type": "c", + "value": "RGBA(0, 18, 107, .2)" + }, + { + "name": "PrimaryColor3Light", + "type": "c", + "value": "RGBA(186, 202, 226, .2)" + }, + { + "name": "PrimaryColor3Fade", + "type": "c", + "value": "ColorFade(RGBA(186, 202, 226, 1), 70%)" + }, + { + "name": "Transparency", + "type": "c", + "value": "RGBA(0, 0, 0, 0)" + }, + { + "name": "TextMainColor", + "type": "c", + "value": "RGBA(0, 0, 0, 1)" + }, + { + "name": "TextMainColorInverted", + "type": "c", + "value": "RGBA(255, 255, 255, 1)" + }, + { + "name": "TextLinkColor", + "type": "c", + "value": "RGBA(0, 134, 208, 1)" + }, + { + "name": "TextFooterFontColor", + "type": "c", + "value": "RGBA(117, 117, 117, 1)" + }, + { + "name": "InputBkgColor", + "type": "c", + "value": "RGBA(255, 255, 255, 1)" + }, + { + "name": "InputTextColor", + "type": "c", + "value": "RGBA(0, 0, 0, 1)" + }, + { + "name": "InputBorderColor", + "type": "c", + "value": "RGBA(0, 18, 107, 1)" + }, + { + "name": "RailBkgColor", + "type": "c", + "value": "RGBA(128, 130, 133, 1)" + }, + { + "name": "HandleBkgColor", + "type": "c", + "value": "RGBA(255, 255, 255, 1)" + }, + { + "name": "InnerCircleBkgColor", + "type": "c", + "value": "RGBA(255, 255, 255, 1)" + }, + { + "name": "DisabledBorderColor", + "type": "c", + "value": "RGBA(166, 166, 166, 1)" + }, + { + "name": "DisabledTextMainColor", + "type": "c", + "value": "RGBA(166, 166, 166, 1)" + }, + { + "name": "DisabledInputBkgColor", + "type": "c", + "value": "RGBA(244, 244, 244, 1)" + }, + { + "name": "DisabledButtonBkgColor", + "type": "c", + "value": "RGBA(244, 244, 244, 1)" + }, + { + "name": "HoverButtonBkgColor", + "type": "c", + "value": "ColorFade(RGBA(56, 96, 178, 1), -20%)" + }, + { + "name": "HoverCancelButtonBkgColor", + "type": "c", + "value": "ColorFade(RGBA(62, 96, 170, 1), 20%)" + }, + { + "name": "HoverInputBkgColor", + "type": "c", + "value": "RGBA(186, 202, 226, 1)" + }, + { + "name": "OverlayBkgColor", + "type": "c", + "value": "RGBA(0, 0, 0, 0.4)" + }, + { + "name": "ReservedInfoColor", + "type": "c", + "value": "RGBA(0, 134, 208, 1)" + }, + { + "name": "ReservedSuccessColor", + "type": "c", + "value": "RGBA(141, 198, 63, 1)" + }, + { + "name": "ReservedWarningColor", + "type": "c", + "value": "RGBA(252, 219, 2, 1)" + }, + { + "name": "ReservedErrorColor", + "type": "c", + "value": "RGBA(246, 88, 16, 1)" + }, + { + "name": "ReservedCriticalErrorColor", + "type": "c", + "value": "RGBA(168, 0, 0, 1)" + }, + { + "name": "ReservedDisabledStatusColor", + "type": "c", + "value": "RGBA(193, 193, 193, 1)" + }, + { + "name": "ReservedWhiteColor", + "type": "c", + "value": "RGBA(255, 255, 255, 1)" + }, + { + "name": "ReservedGrayColor", + "type": "c", + "value": "RGBA(240, 240, 240, 1)" + }, + { + "name": "ReservedBlackColor", + "type": "c", + "value": "RGBA(47, 41, 43, 1)" + }, + { + "name": "ReservedChartColorSet", + "type": "![]", + "value": "[RGBA(49, 130, 93, 1),RGBA(48,166,103, 1), RGBA(94,193,108,1), RGBA(246,199,144,1), RGBA(247,199,114,1), RGBA(247,180,91,1), RGBA(246,143,100,1), RGBA(212,96,104,1), RGBA(148, 110, 176, 1), RGBA(118, 154, 204, 1), RGBA(96, 197, 234, 1)]" + }, + { + "name": "TextBodyFontWeight", + "type": "e", + "value": "%FontWeight.RESERVED%.Normal" + }, + { + "name": "TextEmphasisFontWeight", + "type": "e", + "value": "%FontWeight.RESERVED%.Semibold" + }, + { + "name": "TextBodyFontFace", + "type": "e", + "value": "%Font.RESERVED%.'Open Sans'" + }, + { + "name": "InputBorderThickness", + "type": "n", + "value": "2" + }, + { + "name": "InputFocusedBorderThickness", + "type": "n", + "value": "4" + }, + { + "name": "TextHeaderFontSize", + "phoneValue": "27", + "type": "n", + "value": "18" + }, + { + "name": "TextTitleFontSize", + "type": "n", + "value": "20" + }, + { + "name": "TextSubtitleFontSize", + "type": "n", + "value": "18" + }, + { + "name": "TextContentFontSize", + "type": "n", + "value": "16" + }, + { + "name": "TextTitleFontSize_galleryLayouts_ver5", + "type": "n", + "value": "14" + }, + { + "name": "TextSubtitleFontSize_galleryLayouts_ver5", + "type": "n", + "value": "12" + }, + { + "name": "TextContentFontSize_galleryLayouts_ver5", + "type": "n", + "value": "12" + }, + { + "name": "DividerColor2020", + "type": "c", + "value": "RGBA(255, 255, 255, 1)" + }, + { + "name": "TextTitleColor_galleryLayouts_ver5", + "type": "c", + "value": "RGBA(50, 49, 48, 1)" + }, + { + "name": "TableNameLabelPadding_copilotAppSinglePage", + "type": "n", + "value": "16" + }, + { + "name": "SearchContainerFill_copilotAppPage", + "type": "c", + "value": "RGBA(245, 245, 245, 1)" + }, + { + "name": "ContainerRadius", + "type": "n", + "value": "4" + }, + { + "name": "TextHeaderFontSize2020", + "type": "n", + "value": "16" + }, + { + "name": "TextEmphasisFontSize", + "phoneValue": "24", + "type": "n", + "value": "15" + }, + { + "name": "TextBodyFontSize", + "phoneValue": "21", + "type": "n", + "value": "13" + }, + { + "name": "TextFooterFontSize", + "phoneValue": "18", + "type": "n", + "value": "11" + }, + { + "name": "TextMiniFontSize", + "phoneValue": "15", + "type": "n", + "value": "9" + }, + { + "name": "IconFillColorInverted", + "type": "c", + "value": "RGBA(255, 255, 255, 1)" + }, + { + "name": "IconPressedFillColorInverted", + "type": "c", + "value": "RGBA(255, 255, 255, 0.3)" + }, + { + "name": "DatePickerSelectedColor", + "type": "c", + "value": "RGBA(37, 70, 148, 1)" + }, + { + "name": "DatePickerHeaderColor", + "type": "c", + "value": "RGBA(68, 97, 165, 1)" + }, + { + "name": "NoAttachmentPaddingLeft", + "phoneValue": "20", + "type": "n", + "value": "12" + }, + { + "name": "DefaultSize", + "phoneValue": "24", + "type": "n", + "value": "14" + }, + { + "name": "DefaultSize2", + "type": "n", + "value": "13" + }, + { + "name": "DropTargetBorderColor", + "type": "c", + "value": "RGBA(0, 0, 0, 1)" + }, + { + "name": "DropTargetBackgroundColor", + "type": "c", + "value": "RGBA(255, 255, 255, 0.8)" + }, + { + "name": "DropTargetTextColor", + "type": "c", + "value": "RGBA(0, 0, 0, 1)" + }, + { + "name": "DropTargetBorderThickness", + "type": "n", + "value": "2" + } + ], + "styles": [ + { + "controlTemplateName": "screen", + "name": "defaultScreenStyle", + "propertyValuesMap": [ + { + "property": "Fill", + "value": "%Palette.ScreenBkgColor%" + }, + { + "property": "LoadingSpinnerColor", + "value": "%Palette.PrimaryColor1%" + } + ] + }, + { + "controlTemplateName": "label", + "name": "defaultLabelStyle", + "propertyValuesMap": [ + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + }, + { + "property": "DisabledColor", + "value": "%Palette.DisabledTextMainColor%" + }, + { + "property": "Color", + "value": "%Palette.TextMainColor%" + }, + { + "property": "Font", + "value": "%Palette.TextBodyFontFace%" + }, + { + "property": "FontWeight", + "value": "%Palette.TextBodyFontWeight%" + }, + { + "property": "Size", + "value": "%Palette.TextBodyFontSize%" + }, + { + "property": "LineHeight", + "value": "1.2" + }, + { + "property": "Overflow", + "value": "%Overflow.RESERVED%.Hidden" + }, + { + "property": "DisabledBorderColor", + "value": "RGBA(56, 56, 56, 1)" + }, + { + "property": "BorderStyle", + "value": "%BorderStyle.RESERVED%.Solid" + }, + { + "property": "BorderThickness", + "value": "0" + }, + { + "property": "FocusedBorderThickness", + "value": "0" + }, + { + "property": "Fill", + "value": "RGBA(0, 0, 0, 0)" + }, + { + "property": "DisabledFill", + "value": "RGBA(0, 0, 0, 0)" + }, + { + "property": "Italic", + "value": "false" + }, + { + "property": "Underline", + "value": "false" + }, + { + "property": "Strikethrough", + "value": "false" + }, + { + "property": "PaddingTop", + "value": "5" + }, + { + "property": "PaddingRight", + "value": "5" + }, + { + "property": "PaddingBottom", + "value": "5" + }, + { + "property": "PaddingLeft", + "value": "5" + }, + { + "property": "VerticalAlign", + "value": "%VerticalAlign.RESERVED%.Middle" + } + ] + }, + { + "controlTemplateName": "label", + "name": "basicNoSizeLabelStyle", + "propertyValuesMap": [ + { + "property": "DisabledColor", + "value": "%Palette.DisabledTextMainColor%" + }, + { + "property": "Color", + "value": "%Palette.TextMainColor%" + }, + { + "property": "Font", + "value": "%Palette.TextBodyFontFace%" + }, + { + "property": "FontWeight", + "value": "%Palette.TextBodyFontWeight%" + } + ] + }, + { + "controlTemplateName": "label", + "name": "basicNoSizeInvertedBkgLabelStyle", + "propertyValuesMap": [ + { + "property": "Color", + "value": "%Palette.TextMainColorInverted%" + }, + { + "property": "DisabledColor", + "value": "%Palette.DisabledTextMainColor%" + }, + { + "property": "Font", + "value": "%Palette.TextBodyFontFace%" + }, + { + "property": "FontWeight", + "value": "%Palette.TextBodyFontWeight%" + } + ] + }, + { + "controlTemplateName": "label", + "name": "basicNoSizeWeightColorLabelStyle", + "propertyValuesMap": [ + { + "property": "DisabledColor", + "value": "%Palette.DisabledTextMainColor%" + }, + { + "property": "Font", + "value": "%Palette.TextBodyFontFace%" + } + ] + }, + { + "controlTemplateName": "label", + "name": "invertedBkgHeaderLabelStyle", + "propertyValuesMap": [ + { + "property": "Color", + "value": "%Palette.TextMainColorInverted%" + }, + { + "property": "DisabledColor", + "value": "%Palette.DisabledTextMainColor%" + }, + { + "property": "Font", + "value": "%Palette.TextBodyFontFace%" + }, + { + "property": "FontWeight", + "value": "%Palette.TextBodyFontWeight%" + }, + { + "property": "Size", + "value": "%Palette.TextHeaderFontSize%" + } + ] + }, + { + "controlTemplateName": "label", + "name": "invertedBkgTitleLabelStyle", + "propertyValuesMap": [ + { + "property": "Color", + "value": "%Palette.TextMainColorInverted%" + }, + { + "property": "DisabledColor", + "value": "%Palette.DisabledTextMainColor%" + }, + { + "property": "Font", + "value": "%Palette.TextBodyFontFace%" + }, + { + "property": "FontWeight", + "value": "%Palette.TextBodyFontWeight%" + }, + { + "property": "Size", + "value": "%Palette.TextTitleFontSize%" + } + ] + }, + { + "controlTemplateName": "label", + "name": "linkLabelStyle", + "propertyValuesMap": [ + { + "property": "Color", + "value": "%Palette.TextLinkColor%" + }, + { + "property": "DisabledColor", + "value": "%Palette.DisabledTextMainColor%" + }, + { + "property": "Font", + "value": "%Palette.TextBodyFontFace%" + }, + { + "property": "FontWeight", + "value": "%Palette.TextBodyFontWeight%" + } + ] + }, + { + "controlTemplateName": "label", + "name": "headerLabelStyle", + "propertyValuesMap": [ + { + "property": "Color", + "value": "%Palette.TextMainColor%" + }, + { + "property": "DisabledColor", + "value": "%Palette.DisabledTextMainColor%" + }, + { + "property": "Font", + "value": "%Palette.TextBodyFontFace%" + }, + { + "property": "FontWeight", + "value": "%Palette.TextBodyFontWeight%" + }, + { + "property": "Size", + "value": "%Palette.TextHeaderFontSize%" + } + ] + }, + { + "controlTemplateName": "label", + "name": "subHeaderLabelStyle", + "propertyValuesMap": [ + { + "property": "Color", + "value": "%Palette.PrimaryColor2%" + }, + { + "property": "DisabledColor", + "value": "%Palette.DisabledTextMainColor%" + }, + { + "property": "Font", + "value": "%Palette.TextBodyFontFace%" + }, + { + "property": "FontWeight", + "value": "%Palette.TextEmphasisFontWeight%" + }, + { + "property": "Size", + "value": "%Palette.TextBodyFontSize%" + } + ] + }, + { + "controlTemplateName": "label", + "name": "titleLabelStyle", + "propertyValuesMap": [ + { + "property": "Color", + "value": "%Palette.TextMainColor%" + }, + { + "property": "DisabledColor", + "value": "%Palette.DisabledTextMainColor%" + }, + { + "property": "Font", + "value": "%Palette.TextBodyFontFace%" + }, + { + "property": "FontWeight", + "value": "%Palette.TextEmphasisFontWeight%" + }, + { + "property": "Size", + "value": "%Palette.TextTitleFontSize%" + } + ] + }, + { + "controlTemplateName": "label", + "name": "overlayTitleLabelStyle", + "propertyValuesMap": [ + { + "property": "Color", + "value": "%Palette.TextMainColorInverted%" + }, + { + "property": "DisabledColor", + "value": "%Palette.DisabledTextMainColor%" + }, + { + "property": "Font", + "value": "%Palette.TextBodyFontFace%" + }, + { + "property": "FontWeight", + "value": "%Palette.TextEmphasisFontWeight%" + }, + { + "property": "Size", + "value": "%Palette.TextTitleFontSize%" + } + ] + }, + { + "controlTemplateName": "label", + "name": "subtitleLabelStyle", + "propertyValuesMap": [ + { + "property": "Color", + "value": "%Palette.TextMainColor%" + }, + { + "property": "DisabledColor", + "value": "%Palette.DisabledTextMainColor%" + }, + { + "property": "Font", + "value": "%Palette.TextBodyFontFace%" + }, + { + "property": "FontWeight", + "value": "%Palette.TextBodyFontWeight%" + }, + { + "property": "Size", + "value": "%Palette.TextSubtitleFontSize%" + } + ] + }, + { + "controlTemplateName": "label", + "name": "overlaySubtitleLabelStyle", + "propertyValuesMap": [ + { + "property": "Color", + "value": "%Palette.TextMainColorInverted%" + }, + { + "property": "DisabledColor", + "value": "%Palette.DisabledTextMainColor%" + }, + { + "property": "Font", + "value": "%Palette.TextBodyFontFace%" + }, + { + "property": "FontWeight", + "value": "%Palette.TextBodyFontWeight%" + }, + { + "property": "Size", + "value": "%Palette.TextSubtitleFontSize%" + } + ] + }, + { + "controlTemplateName": "label", + "name": "contentLabelStyle", + "propertyValuesMap": [ + { + "property": "Color", + "value": "%Palette.TextMainColor%" + }, + { + "property": "DisabledColor", + "value": "%Palette.DisabledTextMainColor%" + }, + { + "property": "Font", + "value": "%Palette.TextBodyFontFace%" + }, + { + "property": "FontWeight", + "value": "%Palette.TextBodyFontWeight%" + }, + { + "property": "Size", + "value": "%Palette.TextContentFontSize%" + } + ] + }, + { + "controlTemplateName": "label", + "name": "titleLabelStyle_galleryLayouts_ver5", + "propertyValuesMap": [ + { + "property": "Color", + "value": "%Palette.TextTitleColor_galleryLayouts_ver5%" + }, + { + "property": "DisabledColor", + "value": "%Palette.DisabledTextMainColor%" + }, + { + "property": "Font", + "value": "%Palette.TextBodyFontFace%" + }, + { + "property": "Size", + "value": "%Palette.TextTitleFontSize_galleryLayouts_ver5%" + } + ] + }, + { + "controlTemplateName": "label", + "name": "subtitleLabelStyle_galleryLayouts_ver5", + "propertyValuesMap": [ + { + "property": "Color", + "value": "%Palette.TextMainColor%" + }, + { + "property": "DisabledColor", + "value": "%Palette.DisabledTextMainColor%" + }, + { + "property": "Font", + "value": "%Palette.TextBodyFontFace%" + }, + { + "property": "Size", + "value": "%Palette.TextSubtitleFontSize_galleryLayouts_ver5%" + } + ] + }, + { + "controlTemplateName": "label", + "name": "contentLabelStyle_galleryLayouts_ver5", + "propertyValuesMap": [ + { + "property": "Color", + "value": "%Palette.TextMainColor%" + }, + { + "property": "DisabledColor", + "value": "%Palette.DisabledTextMainColor%" + }, + { + "property": "Font", + "value": "%Palette.TextBodyFontFace%" + }, + { + "property": "Size", + "value": "%Palette.TextContentFontSize_galleryLayouts_ver5%" + } + ] + }, + { + "controlTemplateName": "rectangle", + "name": "dividerStyle2020", + "propertyValuesMap": [ + { + "property": "Fill", + "value": "%Palette.DividerColor2020%" + }, + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + } + ] + }, + { + "controlTemplateName": "label", + "name": "tableNameLabelStyle_copilotAppSinglePage", + "propertyValuesMap": [ + { + "property": "Color", + "value": "%Palette.ReservedWhiteColor%" + }, + { + "property": "Fill", + "value": "%Palette.PrimaryColor1%" + }, + { + "property": "PaddingLeft", + "value": "%Palette.TableNameLabelPadding_copilotAppSinglePage%" + }, + { + "property": "PaddingRight", + "value": "%Palette.TableNameLabelPadding_copilotAppSinglePage%" + }, + { + "property": "PaddingTop", + "value": "%Palette.TableNameLabelPadding_copilotAppSinglePage%" + }, + { + "property": "PaddingBottom", + "value": "%Palette.TableNameLabelPadding_copilotAppSinglePage%" + } + ] + }, + { + "controlTemplateName": "groupContainer", + "name": "searchContainerStyle_copilotAppPage", + "propertyValuesMap": [ + { + "property": "Fill", + "value": "%Palette.SearchContainerFill_copilotAppPage%" + } + ] + }, + { + "controlTemplateName": "text", + "name": "searchInputStyle_copilotAppPage", + "propertyValuesMap": [ + { + "property": "BorderStyle", + "value": "%BorderStyle.RESERVED%.None" + }, + { + "property": "Fill", + "value": "%Palette.Transparency%" + }, + { + "property": "HoverFill", + "value": "%Palette.Transparency%" + }, + { + "property": "PressedFill", + "value": "%Palette.Transparency%" + } + ] + }, + { + "controlTemplateName": "icon", + "name": "searchIconStyle_copilotAppPage", + "propertyValuesMap": [ + { + "property": "Color", + "value": "%Palette.PrimaryColor1%" + }, + { + "property": "Fill", + "value": "%Palette.Transparency%" + } + ] + }, + { + "controlTemplateName": "label", + "name": "accentLabelStyle", + "propertyValuesMap": [ + { + "property": "Color", + "value": "%Palette.PrimaryColor2%" + }, + { + "property": "DisabledColor", + "value": "%Palette.DisabledTextMainColor%" + }, + { + "property": "Font", + "value": "%Palette.TextBodyFontFace%" + }, + { + "property": "FontWeight", + "value": "%Palette.TextBodyFontWeight%" + }, + { + "property": "Size", + "value": "%Palette.TextBodyFontSize%" + }, + { + "property": "LineHeight", + "value": "1.2" + }, + { + "property": "Overflow", + "value": "%Overflow.RESERVED%.Hidden" + }, + { + "property": "DisabledBorderColor", + "value": "RGBA(56, 56, 56, 1)" + }, + { + "property": "BorderColor", + "value": "RGBA(0, 0, 0, 1)" + }, + { + "property": "BorderStyle", + "value": "%BorderStyle.RESERVED%.Solid" + }, + { + "property": "BorderThickness", + "value": "0" + }, + { + "property": "FocusedBorderThickness", + "value": "0" + }, + { + "property": "Fill", + "value": "RGBA(0, 0, 0, 0)" + }, + { + "property": "DisabledFill", + "value": "RGBA(0, 0, 0, 0)" + }, + { + "property": "Italic", + "value": "false" + }, + { + "property": "Underline", + "value": "false" + }, + { + "property": "Strikethrough", + "value": "false" + }, + { + "property": "PaddingTop", + "value": "5" + }, + { + "property": "PaddingRight", + "value": "5" + }, + { + "property": "PaddingBottom", + "value": "5" + }, + { + "property": "PaddingLeft", + "value": "5" + }, + { + "property": "VerticalAlign", + "value": "%VerticalAlign.RESERVED%.Middle" + } + ] + }, + { + "controlTemplateName": "label", + "name": "pickerEmphasisLabelStyle", + "propertyValuesMap": [ + { + "property": "Color", + "value": "%Palette.TextMainColor%" + }, + { + "property": "DisabledColor", + "value": "%Palette.DisabledTextMainColor%" + }, + { + "property": "Font", + "value": "%Palette.TextBodyFontFace%" + }, + { + "property": "FontWeight", + "value": "%Palette.TextEmphasisFontWeight%" + }, + { + "property": "Size", + "value": "%Palette.TextEmphasisFontSize%" + } + ] + }, + { + "controlTemplateName": "label", + "name": "pickerEmphasisWithAccentLabelStyle", + "propertyValuesMap": [ + { + "property": "Color", + "value": "%Palette.PrimaryColor2%" + }, + { + "property": "DisabledColor", + "value": "%Palette.DisabledTextMainColor%" + }, + { + "property": "Font", + "value": "%Palette.TextBodyFontFace%" + }, + { + "property": "FontWeight", + "value": "%Palette.TextEmphasisFontWeight%" + }, + { + "property": "Size", + "value": "%Palette.TextEmphasisFontSize%" + } + ] + }, + { + "controlTemplateName": "label", + "name": "pickerEmphasisSecondaryLabelStyle", + "propertyValuesMap": [ + { + "property": "Color", + "value": "%Palette.TextFooterFontColor%" + }, + { + "property": "DisabledColor", + "value": "%Palette.DisabledTextMainColor%" + }, + { + "property": "Font", + "value": "%Palette.TextBodyFontFace%" + }, + { + "property": "FontWeight", + "value": "%Palette.TextBodyFontWeight%" + }, + { + "property": "Size", + "value": "%Palette.TextEmphasisFontSize%" + } + ] + }, + { + "controlTemplateName": "label", + "name": "footerAccentLabelStyle", + "propertyValuesMap": [ + { + "property": "Color", + "value": "%Palette.PrimaryColor2%" + }, + { + "property": "DisabledColor", + "value": "%Palette.DisabledTextMainColor%" + }, + { + "property": "Font", + "value": "%Palette.TextBodyFontFace%" + }, + { + "property": "FontWeight", + "value": "%Palette.TextBodyFontWeight%" + }, + { + "property": "Size", + "value": "%Palette.TextFooterFontSize%" + } + ] + }, + { + "controlTemplateName": "label", + "name": "footerLabelStyle", + "propertyValuesMap": [ + { + "property": "Color", + "value": "%Palette.TextFooterFontColor%" + }, + { + "property": "DisabledColor", + "value": "%Palette.DisabledTextMainColor%" + }, + { + "property": "Font", + "value": "%Palette.TextBodyFontFace%" + }, + { + "property": "FontWeight", + "value": "%Palette.TextBodyFontWeight%" + }, + { + "property": "Size", + "value": "%Palette.TextFooterFontSize%" + }, + { + "property": "BorderColor", + "value": "RGBA(0, 0, 0, 1)" + }, + { + "property": "LineHeight", + "value": "1.2" + }, + { + "property": "Overflow", + "value": "%Overflow.RESERVED%.Hidden" + }, + { + "property": "DisabledBorderColor", + "value": "RGBA(56, 56, 56, 1)" + }, + { + "property": "BorderStyle", + "value": "%BorderStyle.RESERVED%.Solid" + }, + { + "property": "BorderThickness", + "value": "0" + }, + { + "property": "FocusedBorderThickness", + "value": "0" + }, + { + "property": "Fill", + "value": "RGBA(0, 0, 0, 0)" + }, + { + "property": "DisabledFill", + "value": "RGBA(0, 0, 0, 0)" + }, + { + "property": "Italic", + "value": "false" + }, + { + "property": "Underline", + "value": "false" + }, + { + "property": "Strikethrough", + "value": "false" + }, + { + "property": "PaddingTop", + "value": "5" + }, + { + "property": "PaddingRight", + "value": "5" + }, + { + "property": "PaddingBottom", + "value": "5" + }, + { + "property": "PaddingLeft", + "value": "5" + }, + { + "property": "VerticalAlign", + "value": "%VerticalAlign.RESERVED%.Middle" + } + ] + }, + { + "controlTemplateName": "label", + "name": "miniLabelStyle", + "propertyValuesMap": [ + { + "property": "Color", + "value": "%Palette.PrimaryColor2%" + }, + { + "property": "DisabledColor", + "value": "%Palette.DisabledTextMainColor%" + }, + { + "property": "Font", + "value": "%Palette.TextBodyFontFace%" + }, + { + "property": "FontWeight", + "value": "%Palette.TextBodyFontWeight%" + }, + { + "property": "Size", + "value": "%Palette.TextMiniFontSize%" + } + ] + }, + { + "controlTemplateName": "label", + "name": "miniInvertedBkgLabelStyle", + "propertyValuesMap": [ + { + "property": "Color", + "value": "%Palette.TextMainColorInverted%" + }, + { + "property": "DisabledColor", + "value": "%Palette.DisabledTextMainColor%" + }, + { + "property": "Font", + "value": "%Palette.TextBodyFontFace%" + }, + { + "property": "FontWeight", + "value": "%Palette.TextBodyFontWeight%" + }, + { + "property": "Size", + "value": "%Palette.TextMiniFontSize%" + } + ] + }, + { + "controlTemplateName": "label", + "name": "disabledLabelStyle", + "propertyValuesMap": [ + { + "property": "Color", + "value": "%Palette.ReservedDisabledStatusColor%" + }, + { + "property": "DisabledColor", + "value": "%Palette.DisabledTextMainColor%" + }, + { + "property": "Font", + "value": "%Palette.TextBodyFontFace%" + }, + { + "property": "FontWeight", + "value": "%Palette.TextEmphasisFontWeight%" + } + ] + }, + { + "controlTemplateName": "label", + "name": "infoLabelStyle", + "propertyValuesMap": [ + { + "property": "Color", + "value": "%Palette.TextLinkColor%" + }, + { + "property": "DisabledColor", + "value": "%Palette.DisabledTextMainColor%" + }, + { + "property": "Font", + "value": "%Palette.TextBodyFontFace%" + }, + { + "property": "FontWeight", + "value": "%Palette.TextEmphasisFontWeight%" + } + ] + }, + { + "controlTemplateName": "label", + "name": "successLabelStyle", + "propertyValuesMap": [ + { + "property": "Color", + "value": "%Palette.ReservedSuccessColor%" + }, + { + "property": "DisabledColor", + "value": "%Palette.DisabledTextMainColor%" + }, + { + "property": "Font", + "value": "%Palette.TextBodyFontFace%" + }, + { + "property": "FontWeight", + "value": "%Palette.TextEmphasisFontWeight%" + } + ] + }, + { + "controlTemplateName": "label", + "name": "warningLabelStyle", + "propertyValuesMap": [ + { + "property": "Color", + "value": "%Palette.ReservedWarningColor%" + }, + { + "property": "DisabledColor", + "value": "%Palette.DisabledTextMainColor%" + }, + { + "property": "Font", + "value": "%Palette.TextBodyFontFace%" + }, + { + "property": "FontWeight", + "value": "%Palette.TextEmphasisFontWeight%" + } + ] + }, + { + "controlTemplateName": "label", + "name": "errorLabelStyle", + "propertyValuesMap": [ + { + "property": "Color", + "value": "%Palette.ReservedErrorColor%" + }, + { + "property": "DisabledColor", + "value": "%Palette.DisabledTextMainColor%" + }, + { + "property": "Font", + "value": "%Palette.TextBodyFontFace%" + }, + { + "property": "FontWeight", + "value": "%Palette.TextEmphasisFontWeight%" + } + ] + }, + { + "controlTemplateName": "label", + "name": "criticalErrorLabelStyle", + "propertyValuesMap": [ + { + "property": "Color", + "value": "%Palette.ReservedCriticalErrorColor%" + }, + { + "property": "DisabledColor", + "value": "%Palette.DisabledTextMainColor%" + }, + { + "property": "Font", + "value": "%Palette.TextBodyFontFace%" + }, + { + "property": "FontWeight", + "value": "%Palette.TextEmphasisFontWeight%" + }, + { + "property": "LineHeight", + "value": "1.2" + }, + { + "property": "BorderColor", + "value": "RGBA(0, 0, 0, 1)" + }, + { + "property": "Overflow", + "value": "%Overflow.RESERVED%.Hidden" + }, + { + "property": "DisabledBorderColor", + "value": "RGBA(56, 56, 56, 1)" + }, + { + "property": "BorderStyle", + "value": "%BorderStyle.RESERVED%.Solid" + }, + { + "property": "BorderThickness", + "value": "0" + }, + { + "property": "FocusedBorderThickness", + "value": "0" + }, + { + "property": "Fill", + "value": "RGBA(0, 0, 0, 0)" + }, + { + "property": "DisabledFill", + "value": "RGBA(0, 0, 0, 0)" + }, + { + "property": "Italic", + "value": "false" + }, + { + "property": "Underline", + "value": "false" + }, + { + "property": "Strikethrough", + "value": "false" + }, + { + "property": "VerticalAlign", + "value": "%VerticalAlign.RESERVED%.Middle" + }, + { + "property": "Size", + "value": "%Palette.DefaultSize%" + } + ] + }, + { + "controlTemplateName": "toggleSwitch", + "name": "defaultToggleSwitchStyle", + "propertyValuesMap": [ + { + "property": "Color", + "value": "%Palette.TextMainColor%" + }, + { + "property": "Font", + "value": "%Palette.TextBodyFontFace%" + }, + { + "property": "FontWeight", + "value": "%Palette.TextBodyFontWeight%" + }, + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + }, + { + "property": "BorderStyle", + "value": "%BorderStyle.RESERVED%.Solid" + }, + { + "property": "HandleFill", + "value": "%Palette.HandleBkgColor%" + }, + { + "property": "FalseFill", + "value": "%Palette.RailBkgColor%" + }, + { + "property": "Size", + "value": "%Palette.TextBodyFontSize%" + }, + { + "property": "TrueFill", + "value": "%Palette.PrimaryColor1%" + }, + { + "property": "FalseHoverFill", + "value": "ColorFade(Self.FalseFill, 15%)" + }, + { + "property": "TrueHoverFill", + "value": "ColorFade(Self.TrueFill, 15%)" + }, + { + "property": "DisabledBorderColor", + "value": "RGBA(56, 56, 56, 1)" + }, + { + "property": "PressedBorderColor", + "value": "ColorFade(Self.BorderColor, -15%)" + }, + { + "property": "HoverBorderColor", + "value": "ColorFade(Self.BorderColor, 15%)" + }, + { + "property": "BorderThickness", + "value": "0" + }, + { + "property": "FocusedBorderThickness", + "value": "2" + } + ] + }, + { + "controlTemplateName": "rating", + "name": "defaultRatingStyle", + "propertyValuesMap": [ + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + }, + { + "property": "RatingFill", + "value": "%Palette.PrimaryColor2%" + }, + { + "property": "DisabledBorderColor", + "value": "%Palette.DisabledBorderColor%" + }, + { + "property": "Fill", + "value": "RGBA(0, 0, 0, 0)" + }, + { + "property": "BorderStyle", + "value": "%BorderStyle.RESERVED%.Solid" + }, + { + "property": "BorderThickness", + "value": "0" + }, + { + "property": "FocusedBorderThickness", + "value": "2" + } + ] + }, + { + "controlTemplateName": "checkbox", + "name": "defaultCheckboxStyle", + "propertyValuesMap": [ + { + "property": "Color", + "value": "%Palette.TextMainColor%" + }, + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + }, + { + "property": "CheckboxBackgroundFill", + "value": "%Palette.InnerCircleBkgColor%" + }, + { + "property": "CheckboxBorderColor", + "value": "%Palette.InputBorderColor%" + }, + { + "property": "CheckmarkFill", + "value": "%Palette.InputTextColor%" + }, + { + "property": "HoverColor", + "value": "%Palette.PrimaryColor2%" + }, + { + "property": "Font", + "value": "%Palette.TextBodyFontFace%" + }, + { + "property": "FontWeight", + "value": "%Palette.TextBodyFontWeight%" + }, + { + "property": "Size", + "value": "%Palette.TextBodyFontSize%" + }, + { + "property": "DisabledBorderColor", + "value": "RGBA(56, 56, 56, 1)" + }, + { + "property": "BorderStyle", + "value": "%BorderStyle.RESERVED%.Solid" + }, + { + "property": "BorderThickness", + "value": "0" + }, + { + "property": "FocusedBorderThickness", + "value": "2" + }, + { + "property": "PressedBorderColor", + "value": "ColorFade(Self.BorderColor, -30%)" + }, + { + "property": "HoverBorderColor", + "value": "ColorFade(Self.BorderColor, 30%)" + }, + { + "property": "DisabledColor", + "value": "RGBA(186, 186, 186, 1)" + }, + { + "property": "Fill", + "value": "RGBA(0, 0, 0, 0)" + }, + { + "property": "DisabledFill", + "value": "RGBA(0, 0, 0, 0)" + }, + { + "property": "PressedColor", + "value": "RGBA(70, 68, 64, 1)" + }, + { + "property": "PressedFill", + "value": "ColorFade(Self.Fill, -30%)" + }, + { + "property": "HoverFill", + "value": "ColorFade(Self.Fill, 30%)" + }, + { + "property": "Italic", + "value": "false" + }, + { + "property": "Underline", + "value": "false" + }, + { + "property": "Strikethrough", + "value": "false" + }, + { + "property": "PaddingTop", + "value": "0" + }, + { + "property": "PaddingRight", + "value": "0" + }, + { + "property": "PaddingBottom", + "value": "0" + }, + { + "property": "PaddingLeft", + "value": "0" + }, + { + "property": "VerticalAlign", + "value": "%VerticalAlign.RESERVED%.Middle" + } + ] + }, + { + "controlTemplateName": "radio", + "name": "defaultRadioStyle", + "propertyValuesMap": [ + { + "property": "Color", + "value": "%Palette.TextMainColor%" + }, + { + "property": "Font", + "value": "%Palette.TextBodyFontFace%" + }, + { + "property": "FontWeight", + "value": "%Palette.TextBodyFontWeight%" + }, + { + "property": "HoverColor", + "value": "%Palette.PrimaryColor2%" + }, + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + }, + { + "property": "RadioBackgroundFill", + "value": "%Palette.InnerCircleBkgColor%" + }, + { + "property": "RadioBorderColor", + "value": "%Palette.InputBorderColor%" + }, + { + "property": "RadioSelectionFill", + "value": "%Palette.InputTextColor%" + }, + { + "property": "Size", + "value": "%Palette.TextBodyFontSize%" + }, + { + "property": "DisabledBorderColor", + "value": "RGBA(56, 56, 56, 1)" + }, + { + "property": "BorderStyle", + "value": "%BorderStyle.RESERVED%.Solid" + }, + { + "property": "BorderThickness", + "value": "0" + }, + { + "property": "FocusedBorderThickness", + "value": "2" + }, + { + "property": "DisabledColor", + "value": "RGBA(186, 186, 186, 1)" + }, + { + "property": "Fill", + "value": "RGBA(0, 0, 0, 0)" + }, + { + "property": "DisabledFill", + "value": "RGBA(0, 0, 0, 0)" + }, + { + "property": "Italic", + "value": "false" + }, + { + "property": "Underline", + "value": "false" + }, + { + "property": "Strikethrough", + "value": "false" + }, + { + "property": "PaddingTop", + "value": "10" + }, + { + "property": "PaddingRight", + "value": "0" + }, + { + "property": "PaddingBottom", + "value": "10" + }, + { + "property": "PaddingLeft", + "value": "0" + }, + { + "property": "Align", + "value": "%Align.RESERVED%.Left" + }, + { + "property": "PressedColor", + "value": "Self.Color" + }, + { + "property": "HoverFill", + "value": "Self.Fill" + }, + { + "property": "PressedFill", + "value": "Self.Fill" + } + ] + }, + { + "controlTemplateName": "listbox", + "name": "defaultListboxStyle", + "propertyValuesMap": [ + { + "property": "Color", + "value": "%Palette.InputTextColor%" + }, + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + }, + { + "property": "BorderThickness", + "value": "%Palette.InputBorderThickness%" + }, + { + "property": "BorderStyle", + "value": "%BorderStyle.RESERVED%.Solid" + }, + { + "property": "FocusedBorderThickness", + "value": "%Palette.InputFocusedBorderThickness%" + }, + { + "property": "DisabledBorderColor", + "value": "%Palette.DisabledBorderColor%" + }, + { + "property": "DisabledSelectionColor", + "value": "%Palette.DisabledInputBkgColor%" + }, + { + "property": "DisabledSelectionFill", + "value": "%Palette.DisabledTextMainColor%" + }, + { + "property": "Fill", + "value": "%Palette.InputBkgColor%" + }, + { + "property": "Font", + "value": "%Palette.TextBodyFontFace%" + }, + { + "property": "FontWeight", + "value": "%Palette.TextBodyFontWeight%" + }, + { + "property": "HoverColor", + "value": "%Palette.InputTextColor%" + }, + { + "property": "HoverFill", + "value": "%Palette.HoverInputBkgColor%" + }, + { + "property": "PressedColor", + "value": "%Palette.TextMainColorInverted%" + }, + { + "property": "PressedFill", + "value": "%Palette.PrimaryColor2%" + }, + { + "property": "SelectionColor", + "value": "%Palette.TextMainColorInverted%" + }, + { + "property": "SelectionFill", + "value": "%Palette.PrimaryColor1%" + }, + { + "property": "Size", + "value": "%Palette.TextBodyFontSize%" + }, + { + "property": "DisabledColor", + "value": "RGBA(186, 186, 186, 1)" + }, + { + "property": "DisabledFill", + "value": "RGBA(242, 242, 242, 1)" + }, + { + "property": "PressedBorderColor", + "value": "Self.HoverBorderColor" + }, + { + "property": "HoverBorderColor", + "value": "ColorFade(Self.BorderColor, 15%)" + }, + { + "property": "PaddingTop", + "value": "0" + }, + { + "property": "PaddingRight", + "value": "0" + }, + { + "property": "PaddingBottom", + "value": "0" + }, + { + "property": "PaddingLeft", + "value": "0" + } + ] + }, + { + "controlTemplateName": "dropdown", + "name": "defaultDropdownStyle", + "propertyValuesMap": [ + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + }, + { + "property": "BorderStyle", + "value": "%BorderStyle.RESERVED%.Solid" + }, + { + "property": "BorderThickness", + "value": "%Palette.InputBorderThickness%" + }, + { + "property": "FocusedBorderThickness", + "value": "%Palette.InputFocusedBorderThickness%" + }, + { + "property": "Color", + "value": "%Palette.InputTextColor%" + }, + { + "property": "ChevronBackground", + "value": "%Palette.PrimaryColor1%" + }, + { + "property": "ChevronFill", + "value": "%Palette.TextMainColorInverted%" + }, + { + "property": "ChevronHoverBackground", + "value": "%Palette.HoverButtonBkgColor%" + }, + { + "property": "ChevronHoverFill", + "value": "%Palette.TextMainColorInverted%" + }, + { + "property": "ChevronDisabledBackground", + "value": "%Palette.DisabledBorderColor%" + }, + { + "property": "ChevronDisabledFill", + "value": "%Palette.DisabledInputBkgColor%" + }, + { + "property": "DisabledBorderColor", + "value": "%Palette.DisabledBorderColor%" + }, + { + "property": "DisabledColor", + "value": "%Palette.DisabledTextMainColor%" + }, + { + "property": "DisabledFill", + "value": "%Palette.DisabledInputBkgColor%" + }, + { + "property": "Fill", + "value": "%Palette.InputBkgColor%" + }, + { + "property": "Font", + "value": "%Palette.TextBodyFontFace%" + }, + { + "property": "FontWeight", + "value": "%Palette.TextBodyFontWeight%" + }, + { + "property": "HoverColor", + "value": "%Palette.InputTextColor%" + }, + { + "property": "HoverFill", + "value": "%Palette.HoverInputBkgColor%" + }, + { + "property": "Size", + "value": "%Palette.TextBodyFontSize%" + }, + { + "property": "PressedColor", + "value": "%Palette.TextMainColorInverted%" + }, + { + "property": "PressedFill", + "value": "%Palette.PrimaryColor2%" + }, + { + "property": "SelectionColor", + "value": "%Palette.TextMainColorInverted%" + }, + { + "property": "SelectionFill", + "value": "%Palette.PrimaryColor1%" + }, + { + "property": "HoverBorderColor", + "value": "ColorFade(Self.BorderColor, 15%)" + }, + { + "property": "PressedBorderColor", + "value": "Self.HoverBorderColor" + }, + { + "property": "Italic", + "value": "false" + }, + { + "property": "Underline", + "value": "false" + }, + { + "property": "Strikethrough", + "value": "false" + }, + { + "property": "PaddingTop", + "value": "10" + }, + { + "property": "PaddingRight", + "value": "10" + }, + { + "property": "PaddingBottom", + "value": "10" + }, + { + "property": "PaddingLeft", + "value": "10" + } + ] + }, + { + "controlTemplateName": "combobox", + "name": "defaultComboBoxStyle", + "propertyValuesMap": [ + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + }, + { + "property": "BorderStyle", + "value": "%BorderStyle.RESERVED%.Solid" + }, + { + "property": "BorderThickness", + "value": "%Palette.InputBorderThickness%" + }, + { + "property": "FocusedBorderThickness", + "value": "%Palette.InputFocusedBorderThickness%" + }, + { + "property": "Color", + "value": "%Palette.InputTextColor%" + }, + { + "property": "ChevronBackground", + "value": "%Palette.PrimaryColor1%" + }, + { + "property": "ChevronFill", + "value": "%Palette.TextMainColorInverted%" + }, + { + "property": "ChevronHoverBackground", + "value": "%Palette.HoverButtonBkgColor%" + }, + { + "property": "ChevronHoverFill", + "value": "%Palette.TextMainColorInverted%" + }, + { + "property": "ChevronDisabledBackground", + "value": "%Palette.DisabledBorderColor%" + }, + { + "property": "ChevronDisabledFill", + "value": "%Palette.DisabledInputBkgColor%" + }, + { + "property": "DisabledBorderColor", + "value": "%Palette.DisabledBorderColor%" + }, + { + "property": "DisabledColor", + "value": "%Palette.DisabledTextMainColor%" + }, + { + "property": "DisabledFill", + "value": "%Palette.DisabledInputBkgColor%" + }, + { + "property": "Fill", + "value": "%Palette.InputBkgColor%" + }, + { + "property": "Font", + "value": "%Palette.TextBodyFontFace%" + }, + { + "property": "FontWeight", + "value": "%Palette.TextBodyFontWeight%" + }, + { + "property": "HoverColor", + "value": "%Palette.InputTextColor%" + }, + { + "property": "HoverFill", + "value": "%Palette.HoverInputBkgColor%" + }, + { + "property": "Size", + "value": "%Palette.TextBodyFontSize%" + }, + { + "property": "PressedColor", + "value": "%Palette.TextMainColorInverted%" + }, + { + "property": "PressedFill", + "value": "%Palette.PrimaryColor2%" + }, + { + "property": "SelectionColor", + "value": "%Palette.TextMainColorInverted%" + }, + { + "property": "SelectionFill", + "value": "%Palette.PrimaryColor1%" + }, + { + "property": "HoverBorderColor", + "value": "ColorFade(Self.BorderColor, 15%)" + }, + { + "property": "PressedBorderColor", + "value": "Self.HoverBorderColor" + }, + { + "property": "MoreItemsButtonColor", + "value": "Self.ChevronBackground" + } + ] + }, + { + "controlTemplateName": "attachments", + "name": "defaultAttachmentsStyle", + "propertyValuesMap": [ + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + }, + { + "property": "BorderStyle", + "value": "%BorderStyle.RESERVED%.Solid" + }, + { + "property": "BorderThickness", + "value": "%Palette.InputBorderThickness%" + }, + { + "property": "FocusedBorderThickness", + "value": "%Palette.InputFocusedBorderThickness%" + }, + { + "property": "Color", + "value": "%Palette.InputTextColor%" + }, + { + "property": "DisabledBorderColor", + "value": "%Palette.DisabledBorderColor%" + }, + { + "property": "DisabledColor", + "value": "%Palette.DisabledTextMainColor%" + }, + { + "property": "DisabledFill", + "value": "%Palette.DisabledInputBkgColor%" + }, + { + "property": "Fill", + "value": "%Palette.InputBkgColor%" + }, + { + "property": "Font", + "value": "%Palette.TextBodyFontFace%" + }, + { + "property": "FontWeight", + "value": "%Palette.TextBodyFontWeight%" + }, + { + "property": "HoverColor", + "value": "%Palette.InputTextColor%" + }, + { + "property": "HoverFill", + "value": "%Palette.HoverInputBkgColor%" + }, + { + "property": "Size", + "value": "%Palette.TextBodyFontSize%" + }, + { + "property": "PressedColor", + "value": "%Palette.TextMainColorInverted%" + }, + { + "property": "PressedFill", + "value": "%Palette.PrimaryColor2%" + }, + { + "property": "ItemColor", + "value": "%Palette.TextMainColorInverted%" + }, + { + "property": "ItemFill", + "value": "%Palette.PrimaryColor1%" + }, + { + "property": "ItemHoverColor", + "value": "%Palette.InputTextColor%" + }, + { + "property": "ItemHoverFill", + "value": "%Palette.HoverInputBkgColor%" + }, + { + "property": "ItemSpacing", + "value": "0" + }, + { + "property": "NoAttachmentsColor", + "value": "Self.Color" + }, + { + "property": "NoAttachmentsPaddingLeft", + "value": "%Palette.NoAttachmentPaddingLeft%" + }, + { + "property": "DropTargetBorderThickness", + "value": "%Palette.DropTargetBorderThickness%" + }, + { + "property": "DropTargetBorderStyle", + "value": "%BorderStyle.RESERVED%.Dotted" + }, + { + "property": "DropTargetBorderColor", + "value": "%Palette.DropTargetBorderColor%" + }, + { + "property": "DropTargetBackgroundColor", + "value": "%Palette.DropTargetBackgroundColor%" + }, + { + "property": "DropTargetTextColor", + "value": "%Palette.DropTargetTextColor%" + } + ] + }, + { + "controlTemplateName": "datepicker", + "name": "defaultDatePickerStyle", + "propertyValuesMap": [ + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + }, + { + "property": "BorderStyle", + "value": "%BorderStyle.RESERVED%.Solid" + }, + { + "property": "BorderThickness", + "value": "%Palette.InputBorderThickness%" + }, + { + "property": "FocusedBorderThickness", + "value": "%Palette.InputFocusedBorderThickness%" + }, + { + "property": "Color", + "value": "%Palette.InputTextColor%" + }, + { + "property": "DisabledBorderColor", + "value": "%Palette.DisabledBorderColor%" + }, + { + "property": "DisabledColor", + "value": "%Palette.DisabledTextMainColor%" + }, + { + "property": "DisabledFill", + "value": "%Palette.DisabledInputBkgColor%" + }, + { + "property": "Fill", + "value": "%Palette.InputBkgColor%" + }, + { + "property": "Font", + "value": "%Palette.TextBodyFontFace%" + }, + { + "property": "FontWeight", + "value": "%Palette.TextBodyFontWeight%" + }, + { + "property": "IconFill", + "value": "%Palette.TextMainColorInverted%" + }, + { + "property": "IconBackground", + "value": "%Palette.PrimaryColor1%" + }, + { + "property": "SelectedDateFill", + "value": "%Palette.PrimaryColor1%" + }, + { + "property": "HoverDateFill", + "value": "%Palette.PrimaryColor3%" + }, + { + "property": "CalendarHeaderFill", + "value": "%Palette.PrimaryColor1%" + }, + { + "property": "Size", + "value": "%Palette.DefaultSize%" + }, + { + "property": "Italic", + "value": "false" + }, + { + "property": "PaddingTop", + "value": "0" + }, + { + "property": "PaddingRight", + "value": "5" + }, + { + "property": "PaddingBottom", + "value": "5" + }, + { + "property": "PaddingLeft", + "value": "12" + } + ] + }, + { + "controlTemplateName": "lookup", + "name": "defaultLookupStyle", + "propertyValuesMap": [ + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + }, + { + "property": "BorderStyle", + "value": "%BorderStyle.RESERVED%.Solid" + }, + { + "property": "BorderThickness", + "value": "%Palette.InputBorderThickness%" + }, + { + "property": "FocusedBorderThickness", + "value": "%Palette.InputFocusedBorderThickness%" + }, + { + "property": "Color", + "value": "%Palette.InputTextColor%" + }, + { + "property": "ChevronBackground", + "value": "%Palette.PrimaryColor1%" + }, + { + "property": "ChevronFill", + "value": "%Palette.TextMainColorInverted%" + }, + { + "property": "ChevronHoverBackground", + "value": "%Palette.HoverButtonBkgColor%" + }, + { + "property": "ChevronHoverFill", + "value": "%Palette.TextMainColorInverted%" + }, + { + "property": "ChevronDisabledBackground", + "value": "%Palette.DisabledBorderColor%" + }, + { + "property": "ChevronDisabledFill", + "value": "%Palette.DisabledInputBkgColor%" + }, + { + "property": "DisabledBorderColor", + "value": "%Palette.DisabledBorderColor%" + }, + { + "property": "DisabledColor", + "value": "%Palette.DisabledTextMainColor%" + }, + { + "property": "DisabledFill", + "value": "%Palette.DisabledInputBkgColor%" + }, + { + "property": "Fill", + "value": "%Palette.InputBkgColor%" + }, + { + "property": "Font", + "value": "%Palette.TextBodyFontFace%" + }, + { + "property": "FontWeight", + "value": "%Palette.TextBodyFontWeight%" + }, + { + "property": "HoverColor", + "value": "%Palette.InputTextColor%" + }, + { + "property": "HoverFill", + "value": "%Palette.HoverInputBkgColor%" + }, + { + "property": "Size", + "value": "%Palette.TextBodyFontSize%" + }, + { + "property": "PressedColor", + "value": "%Palette.TextMainColorInverted%" + }, + { + "property": "PressedFill", + "value": "%Palette.PrimaryColor2%" + }, + { + "property": "SelectionColor", + "value": "%Palette.TextMainColorInverted%" + }, + { + "property": "SelectionFill", + "value": "%Palette.PrimaryColor1%" + }, + { + "property": "HoverBorderColor", + "value": "ColorFade(Self.BorderColor, 15%)" + }, + { + "property": "PressedBorderColor", + "value": "Self.HoverBorderColor" + }, + { + "property": "Italic", + "value": "false" + }, + { + "property": "Underline", + "value": "false" + }, + { + "property": "Strikethrough", + "value": "false" + }, + { + "property": "PaddingTop", + "value": "10" + }, + { + "property": "PaddingRight", + "value": "10" + }, + { + "property": "PaddingBottom", + "value": "10" + }, + { + "property": "PaddingLeft", + "value": "10" + }, + { + "property": "FooterSize", + "value": "Self.Size - 3" + } + ] + }, + { + "controlTemplateName": "text", + "name": "defaultTextStyle", + "propertyValuesMap": [ + { + "property": "Color", + "value": "%Palette.InputTextColor%" + }, + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + }, + { + "property": "BorderStyle", + "value": "%BorderStyle.RESERVED%.Solid" + }, + { + "property": "BorderThickness", + "value": "%Palette.InputBorderThickness%" + }, + { + "property": "FocusedBorderThickness", + "value": "%Palette.InputFocusedBorderThickness%" + }, + { + "property": "HoverBorderColor", + "value": "%Palette.InputBorderColor%" + }, + { + "property": "HoverColor", + "value": "%Palette.InputTextColor%" + }, + { + "property": "HoverFill", + "value": "%Palette.HoverInputBkgColor%" + }, + { + "property": "Fill", + "value": "%Palette.InputBkgColor%" + }, + { + "property": "Font", + "value": "%Palette.TextBodyFontFace%" + }, + { + "property": "FontWeight", + "value": "%Palette.TextBodyFontWeight%" + }, + { + "property": "DisabledBorderColor", + "value": "%Palette.DisabledBorderColor%" + }, + { + "property": "DisabledColor", + "value": "%Palette.DisabledTextMainColor%" + }, + { + "property": "DisabledFill", + "value": "%Palette.DisabledInputBkgColor%" + }, + { + "property": "Size", + "value": "%Palette.TextBodyFontSize%" + }, + { + "property": "RadiusTopLeft", + "value": "5" + }, + { + "property": "RadiusBottomRight", + "value": "5" + }, + { + "property": "RadiusTopRight", + "value": "5" + }, + { + "property": "RadiusBottomLeft", + "value": "5" + }, + { + "property": "PressedBorderColor", + "value": "Self.HoverBorderColor" + }, + { + "property": "PressedColor", + "value": "Self.Color" + }, + { + "property": "PressedFill", + "value": "Self.Fill" + }, + { + "property": "Italic", + "value": "false" + }, + { + "property": "Underline", + "value": "false" + }, + { + "property": "Strikethrough", + "value": "false" + }, + { + "property": "Align", + "value": "%Align.RESERVED%.Left" + } + ] + }, + { + "controlTemplateName": "text", + "name": "searchTextStyle", + "propertyValuesMap": [ + { + "property": "Color", + "value": "%Palette.InputTextColor%" + }, + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + }, + { + "property": "BorderStyle", + "value": "%BorderStyle.RESERVED%.None" + }, + { + "property": "BorderThickness", + "value": "%Palette.InputBorderThickness%" + }, + { + "property": "FocusedBorderThickness", + "value": "%Palette.InputFocusedBorderThickness%" + }, + { + "property": "HoverBorderColor", + "value": "%Palette.InputBorderColor%" + }, + { + "property": "HoverColor", + "value": "%Palette.InputTextColor%" + }, + { + "property": "HoverFill", + "value": "%Palette.HoverInputBkgColor%" + }, + { + "property": "Fill", + "value": "%Palette.InputBkgColor%" + }, + { + "property": "Font", + "value": "%Palette.TextBodyFontFace%" + }, + { + "property": "FontWeight", + "value": "%Palette.TextBodyFontWeight%" + }, + { + "property": "DisabledBorderColor", + "value": "%Palette.DisabledBorderColor%" + }, + { + "property": "DisabledColor", + "value": "%Palette.DisabledTextMainColor%" + }, + { + "property": "DisabledFill", + "value": "%Palette.DisabledInputBkgColor%" + }, + { + "property": "Size", + "value": "%Palette.TextBodyFontSize%" + } + ] + }, + { + "controlTemplateName": "slider", + "name": "defaultSliderStyle", + "propertyValuesMap": [ + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + }, + { + "property": "BorderStyle", + "value": "%BorderStyle.RESERVED%.Solid" + }, + { + "property": "DisabledBorderColor", + "value": "%Palette.DisabledBorderColor%" + }, + { + "property": "HandleFill", + "value": "%Palette.HandleBkgColor%" + }, + { + "property": "RailFill", + "value": "%Palette.RailBkgColor%" + }, + { + "property": "ValueFill", + "value": "%Palette.PrimaryColor2%" + }, + { + "property": "HandleHoverFill", + "value": "Self.HandleFill" + }, + { + "property": "HandleActiveFill", + "value": "Self.HandleFill" + }, + { + "property": "RailHoverFill", + "value": "ColorFade(Self.RailFill, 15%)" + }, + { + "property": "ValueHoverFill", + "value": "ColorFade(Self.ValueFill, 15%)" + }, + { + "property": "PressedBorderColor", + "value": "ColorFade(Self.BorderColor, -30%)" + }, + { + "property": "HoverBorderColor", + "value": "ColorFade(Self.BorderColor, 30%)" + }, + { + "property": "BorderThickness", + "value": "0" + }, + { + "property": "FocusedBorderThickness", + "value": "2" + } + ] + }, + { + "controlTemplateName": "button", + "name": "defaultButtonStyle", + "propertyValuesMap": [ + { + "property": "Color", + "value": "%Palette.TextMainColorInverted%" + }, + { + "property": "Fill", + "value": "%Palette.PrimaryColor1%" + }, + { + "property": "Font", + "value": "%Palette.TextBodyFontFace%" + }, + { + "property": "FontWeight", + "value": "%Palette.TextEmphasisFontWeight%" + }, + { + "property": "DisabledBorderColor", + "value": "%Palette.DisabledBorderColor%" + }, + { + "property": "DisabledColor", + "value": "%Palette.DisabledTextMainColor%" + }, + { + "property": "DisabledFill", + "value": "%Palette.DisabledInputBkgColor%" + }, + { + "property": "Size", + "value": "%Palette.TextEmphasisFontSize%" + }, + { + "property": "HoverColor", + "value": "%Palette.TextMainColorInverted%" + }, + { + "property": "HoverFill", + "value": "%Palette.HoverButtonBkgColor%" + }, + { + "property": "BorderColor", + "value": "ColorFade(Self.Fill, -15%)" + }, + { + "property": "RadiusTopLeft", + "value": "10" + }, + { + "property": "RadiusBottomRight", + "value": "10" + }, + { + "property": "RadiusTopRight", + "value": "10" + }, + { + "property": "RadiusBottomLeft", + "value": "10" + }, + { + "property": "PressedBorderColor", + "value": "Self.Fill" + }, + { + "property": "HoverBorderColor", + "value": "ColorFade(Self.BorderColor, 20%)" + }, + { + "property": "BorderStyle", + "value": "%BorderStyle.RESERVED%.Solid" + }, + { + "property": "BorderThickness", + "value": "2" + }, + { + "property": "FocusedBorderThickness", + "value": "4" + }, + { + "property": "PressedColor", + "value": "Self.Fill" + }, + { + "property": "PressedFill", + "value": "Self.Color" + }, + { + "property": "Italic", + "value": "false" + }, + { + "property": "Underline", + "value": "false" + }, + { + "property": "Strikethrough", + "value": "false" + }, + { + "property": "Align", + "value": "%Align.RESERVED%.Center" + }, + { + "property": "VerticalAlign", + "value": "%VerticalAlign.RESERVED%.Middle" + } + ] + }, + { + "controlTemplateName": "button", + "name": "cancelButtonStyle", + "propertyValuesMap": [ + { + "property": "Color", + "value": "%Palette.PrimaryColor1%" + }, + { + "property": "DisabledColor", + "value": "%Palette.DisabledTextMainColor%" + }, + { + "property": "DisabledFill", + "value": "%Palette.DisabledInputBkgColor%" + }, + { + "property": "Fill", + "value": "%Palette.PrimaryColor3%" + }, + { + "property": "Font", + "value": "%Palette.TextBodyFontFace%" + }, + { + "property": "FontWeight", + "value": "%Palette.TextEmphasisFontWeight%" + }, + { + "property": "Size", + "value": "%Palette.TextEmphasisFontSize%" + } + ] + }, + { + "controlTemplateName": "button", + "name": "rezervedOkButtonStyle", + "propertyValuesMap": [ + { + "property": "Color", + "value": "%Palette.ReservedWhiteColor%" + }, + { + "property": "DisabledColor", + "value": "%Palette.DisabledTextMainColor%" + }, + { + "property": "DisabledFill", + "value": "%Palette.DisabledInputBkgColor%" + }, + { + "property": "Fill", + "value": "%Palette.ReservedInfoColor%" + }, + { + "property": "Font", + "value": "%Palette.TextBodyFontFace%" + }, + { + "property": "FontWeight", + "value": "%Palette.TextEmphasisFontWeight%" + }, + { + "property": "Size", + "value": "%Palette.TextEmphasisFontSize%" + } + ] + }, + { + "controlTemplateName": "button", + "name": "rezervedCancelButtonStyle", + "propertyValuesMap": [ + { + "property": "Color", + "value": "%Palette.ReservedInfoColor%" + }, + { + "property": "DisabledColor", + "value": "%Palette.DisabledTextMainColor%" + }, + { + "property": "DisabledFill", + "value": "%Palette.DisabledInputBkgColor%" + }, + { + "property": "Fill", + "value": "%Palette.ReservedWhiteColor%" + }, + { + "property": "Font", + "value": "%Palette.TextBodyFontFace%" + }, + { + "property": "FontWeight", + "value": "%Palette.TextEmphasisFontWeight%" + }, + { + "property": "Size", + "value": "%Palette.TextEmphasisFontSize%" + } + ] + }, + { + "controlTemplateName": "lineChart", + "name": "defaultLineChartStyle", + "propertyValuesMap": [ + { + "property": "DisabledBorderColor", + "value": "%Palette.DisabledBorderColor%" + }, + { + "property": "ItemColorSet", + "value": "%Palette.ReservedChartColorSet%" + }, + { + "property": "Color", + "value": "%Palette.TextMainColor%" + }, + { + "property": "BorderColor", + "value": "RGBA(0, 0, 0, 1)" + }, + { + "property": "PressedBorderColor", + "value": "ColorFade(Self.BorderColor, -30%)" + }, + { + "property": "HoverBorderColor", + "value": "ColorFade(Self.BorderColor, 30%)" + }, + { + "property": "BorderStyle", + "value": "%BorderStyle.RESERVED%.Solid" + }, + { + "property": "BorderThickness", + "value": "0" + }, + { + "property": "Font", + "value": "%Font.RESERVED%.'Open Sans'" + }, + { + "property": "Size", + "value": "11" + } + ] + }, + { + "controlTemplateName": "lineChart", + "name": "monochromeAccentLineChartStyle", + "propertyValuesMap": [ + { + "property": "DisabledBorderColor", + "value": "%Palette.DisabledBorderColor%" + }, + { + "property": "ItemColorSet", + "value": "[%Palette.PrimaryColor1%]" + }, + { + "property": "Color", + "value": "%Palette.TextMainColor%" + } + ] + }, + { + "controlTemplateName": "pieChart", + "name": "defaultPieChartStyle", + "propertyValuesMap": [ + { + "property": "DisabledBorderColor", + "value": "%Palette.DisabledBorderColor%" + }, + { + "property": "ItemColorSet", + "value": "%Palette.ReservedChartColorSet%" + }, + { + "property": "Color", + "value": "%Palette.TextMainColor%" + }, + { + "property": "BorderColor", + "value": "RGBA(0, 0, 0, 1)" + }, + { + "property": "PressedBorderColor", + "value": "ColorFade(Self.BorderColor, -30%)" + }, + { + "property": "HoverBorderColor", + "value": "ColorFade(Self.BorderColor, 30%)" + }, + { + "property": "BorderStyle", + "value": "%BorderStyle.RESERVED%.Solid" + }, + { + "property": "BorderThickness", + "value": "0" + }, + { + "property": "Font", + "value": "%Font.RESERVED%.'Open Sans'" + }, + { + "property": "Size", + "value": "10" + } + ] + }, + { + "controlTemplateName": "pieChart", + "name": "monochromeAccentPieChartStyle", + "propertyValuesMap": [ + { + "property": "DisabledBorderColor", + "value": "%Palette.DisabledBorderColor%" + }, + { + "property": "ItemColorSet", + "value": "[%Palette.PrimaryColor1%]" + }, + { + "property": "Color", + "value": "%Palette.TextMainColor%" + } + ] + }, + { + "controlTemplateName": "barChart", + "name": "defaultBarChartStyle", + "propertyValuesMap": [ + { + "property": "DisabledBorderColor", + "value": "%Palette.DisabledBorderColor%" + }, + { + "property": "ItemColorSet", + "value": "%Palette.ReservedChartColorSet%" + }, + { + "property": "Color", + "value": "%Palette.TextMainColor%" + }, + { + "property": "BorderColor", + "value": "RGBA(0, 0, 0, 1)" + }, + { + "property": "PressedBorderColor", + "value": "ColorFade(Self.BorderColor, -30%)" + }, + { + "property": "HoverBorderColor", + "value": "ColorFade(Self.BorderColor, 30%)" + }, + { + "property": "Size", + "value": "10" + }, + { + "property": "BorderStyle", + "value": "%BorderStyle.RESERVED%.Solid" + }, + { + "property": "BorderThickness", + "value": "0" + }, + { + "property": "Font", + "value": "%Font.RESERVED%.'Open Sans'" + } + ] + }, + { + "controlTemplateName": "barChart", + "name": "monochromeAccentBarChartStyle", + "propertyValuesMap": [ + { + "property": "DisabledBorderColor", + "value": "%Palette.DisabledBorderColor%" + }, + { + "property": "ItemColorSet", + "value": "[%Palette.PrimaryColor1%]" + }, + { + "property": "Color", + "value": "%Palette.TextMainColor%" + } + ] + }, + { + "controlTemplateName": "legend", + "name": "defaultLegendStyle", + "propertyValuesMap": [ + { + "property": "DisabledColor", + "value": "%Palette.DisabledTextMainColor%" + }, + { + "property": "Color", + "value": "%Palette.TextMainColor%" + }, + { + "property": "Font", + "value": "%Palette.TextBodyFontFace%" + }, + { + "property": "FontWeight", + "value": "%Palette.TextBodyFontWeight%" + }, + { + "property": "Size", + "value": "%Palette.TextFooterFontSize%" + }, + { + "property": "BorderColor", + "value": "RGBA(0, 0, 0, 1)" + }, + { + "property": "DisabledBorderColor", + "value": "RGBA(56, 56, 56, 1)" + }, + { + "property": "PressedBorderColor", + "value": "Self.BorderColor" + }, + { + "property": "HoverBorderColor", + "value": "Self.BorderColor" + }, + { + "property": "BorderStyle", + "value": "%BorderStyle.RESERVED%.Solid" + }, + { + "property": "BorderThickness", + "value": "0" + }, + { + "property": "DisabledFill", + "value": "RGBA(0, 0, 0, 0)" + }, + { + "property": "Italic", + "value": "false" + } + ] + }, + { + "controlTemplateName": "rectangle", + "name": "separatorShapeStyle", + "propertyValuesMap": [ + { + "property": "Fill", + "value": "%Palette.PrimaryColor3%" + }, + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + } + ] + }, + { + "controlTemplateName": "videoPlayback", + "name": "defaultVideoPlaybackStyle", + "propertyValuesMap": [ + { + "property": "Fill", + "value": "%Palette.PrimaryColor1%" + }, + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + }, + { + "property": "BorderStyle", + "value": "%BorderStyle.RESERVED%.Solid" + }, + { + "property": "BorderThickness", + "value": "0" + } + ] + }, + { + "controlTemplateName": "timer", + "name": "defaultTimerStyle", + "propertyValuesMap": [ + { + "property": "Color", + "value": "%Palette.TextMainColorInverted%" + }, + { + "property": "Fill", + "value": "%Palette.PrimaryColor1%" + }, + { + "property": "Font", + "value": "%Palette.TextBodyFontFace%" + }, + { + "property": "HoverFill", + "value": "%Palette.HoverButtonBkgColor%" + }, + { + "property": "HoverColor", + "value": "%Palette.TextMainColorInverted%" + }, + { + "property": "FontWeight", + "value": "%Palette.TextBodyFontWeight%" + }, + { + "property": "BorderColor", + "value": "ColorFade(Self.Fill, -15%)" + }, + { + "property": "DisabledBorderColor", + "value": "ColorFade(Self.BorderColor, 70%)" + }, + { + "property": "PressedBorderColor", + "value": "Self.Fill" + }, + { + "property": "HoverBorderColor", + "value": "ColorFade(Self.BorderColor, 20%)" + }, + { + "property": "BorderStyle", + "value": "%BorderStyle.RESERVED%.Solid" + }, + { + "property": "BorderThickness", + "value": "2" + }, + { + "property": "FocusedBorderThickness", + "value": "4" + }, + { + "property": "DisabledColor", + "value": "ColorFade(Self.Fill, 90%)" + }, + { + "property": "PressedColor", + "value": "Self.Fill" + }, + { + "property": "DisabledFill", + "value": "ColorFade(Self.Fill, 70%)" + }, + { + "property": "PressedFill", + "value": "Self.Color" + }, + { + "property": "Size", + "value": "%Palette.DefaultSize2%" + } + ] + }, + { + "controlTemplateName": "triangle", + "name": "defaultTriangleStyle", + "propertyValuesMap": [ + { + "property": "Fill", + "value": "%Palette.PrimaryColor1%" + }, + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + }, + { + "property": "DisabledFill", + "value": "Self.Fill" + }, + { + "property": "PressedFill", + "value": "Self.Fill" + }, + { + "property": "HoverFill", + "value": "Self.Fill" + }, + { + "property": "BorderStyle", + "value": "%BorderStyle.RESERVED%.Solid" + }, + { + "property": "BorderThickness", + "value": "0" + }, + { + "property": "FocusedBorderThickness", + "value": "2" + } + ] + }, + { + "controlTemplateName": "star", + "name": "defaultStarStyle", + "propertyValuesMap": [ + { + "property": "Fill", + "value": "%Palette.PrimaryColor1%" + }, + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + } + ] + }, + { + "controlTemplateName": "pentagon", + "name": "defaultPentagonStyle", + "propertyValuesMap": [ + { + "property": "Fill", + "value": "%Palette.PrimaryColor1%" + }, + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + }, + { + "property": "DisabledFill", + "value": "Self.Fill" + }, + { + "property": "PressedFill", + "value": "Self.Fill" + }, + { + "property": "HoverFill", + "value": "Self.Fill" + }, + { + "property": "BorderStyle", + "value": "%BorderStyle.RESERVED%.Solid" + }, + { + "property": "BorderThickness", + "value": "0" + }, + { + "property": "FocusedBorderThickness", + "value": "2" + } + ] + }, + { + "controlTemplateName": "partialCircle", + "name": "defaultPartialCircleStyle", + "propertyValuesMap": [ + { + "property": "Fill", + "value": "%Palette.PrimaryColor1%" + }, + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + } + ] + }, + { + "controlTemplateName": "octagon", + "name": "defaultOctagonStyle", + "propertyValuesMap": [ + { + "property": "Fill", + "value": "%Palette.PrimaryColor1%" + }, + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + }, + { + "property": "DisabledFill", + "value": "Self.Fill" + }, + { + "property": "PressedFill", + "value": "Self.Fill" + }, + { + "property": "HoverFill", + "value": "Self.Fill" + }, + { + "property": "BorderStyle", + "value": "%BorderStyle.RESERVED%.Solid" + }, + { + "property": "BorderThickness", + "value": "0" + }, + { + "property": "FocusedBorderThickness", + "value": "2" + } + ] + }, + { + "controlTemplateName": "hexagon", + "name": "defaultHexagonStyle", + "propertyValuesMap": [ + { + "property": "Fill", + "value": "%Palette.PrimaryColor1%" + }, + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + }, + { + "property": "DisabledFill", + "value": "Self.Fill" + }, + { + "property": "PressedFill", + "value": "Self.Fill" + }, + { + "property": "HoverFill", + "value": "Self.Fill" + }, + { + "property": "BorderStyle", + "value": "%BorderStyle.RESERVED%.Solid" + }, + { + "property": "BorderThickness", + "value": "0" + }, + { + "property": "FocusedBorderThickness", + "value": "2" + } + ] + }, + { + "controlTemplateName": "hexagon", + "name": "primary2HexagonStyle", + "propertyValuesMap": [ + { + "property": "Fill", + "value": "%Palette.PrimaryColor2%" + }, + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + } + ] + }, + { + "controlTemplateName": "hexagon", + "name": "primary3HexagonStyle", + "propertyValuesMap": [ + { + "property": "Fill", + "value": "%Palette.PrimaryColor3%" + }, + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + } + ] + }, + { + "controlTemplateName": "hexagon", + "name": "primary3FadeHexagonStyle", + "propertyValuesMap": [ + { + "property": "Fill", + "value": "%Palette.PrimaryColor3Fade%" + }, + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + } + ] + }, + { + "controlTemplateName": "hexagon", + "name": "screenHexagonStyle", + "propertyValuesMap": [ + { + "property": "Fill", + "value": "%Palette.ScreenBkgColor%" + }, + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + } + ] + }, + { + "controlTemplateName": "circle", + "name": "defaultCircleStyle", + "propertyValuesMap": [ + { + "property": "Fill", + "value": "%Palette.PrimaryColor1%" + }, + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + }, + { + "property": "DisabledFill", + "value": "Self.Fill" + }, + { + "property": "PressedFill", + "value": "Self.Fill" + }, + { + "property": "HoverFill", + "value": "Self.Fill" + }, + { + "property": "BorderStyle", + "value": "%BorderStyle.RESERVED%.Solid" + }, + { + "property": "BorderThickness", + "value": "0" + } + ] + }, + { + "controlTemplateName": "circle", + "name": "primary2CircleStyle", + "propertyValuesMap": [ + { + "property": "Fill", + "value": "%Palette.PrimaryColor2%" + }, + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + } + ] + }, + { + "controlTemplateName": "circle", + "name": "primary3CircleStyle", + "propertyValuesMap": [ + { + "property": "Fill", + "value": "%Palette.PrimaryColor3%" + }, + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + } + ] + }, + { + "controlTemplateName": "circle", + "name": "primary3FadeCircleStyle", + "propertyValuesMap": [ + { + "property": "Fill", + "value": "%Palette.PrimaryColor3Fade%" + }, + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + } + ] + }, + { + "controlTemplateName": "arrow", + "name": "defaultArrowStyle", + "propertyValuesMap": [ + { + "property": "Fill", + "value": "%Palette.PrimaryColor1%" + }, + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + }, + { + "property": "DisabledBorderColor", + "value": "%Palette.DisabledBorderColor%" + } + ] + }, + { + "controlTemplateName": "icon", + "name": "defaultIconStyle", + "propertyValuesMap": [ + { + "property": "Color", + "value": "%Palette.PrimaryColor2%" + }, + { + "property": "DisabledColor", + "value": "%Palette.DisabledButtonBkgColor%" + }, + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + }, + { + "property": "DisabledBorderColor", + "value": "%Palette.DisabledBorderColor%" + }, + { + "property": "PressedColor", + "value": "ColorFade(Self.Color, -20%)" + }, + { + "property": "HoverColor", + "value": "ColorFade(Self.Color, 20%)" + }, + { + "property": "Fill", + "value": "RGBA(0, 0, 0, 0)" + }, + { + "property": "DisabledFill", + "value": "Self.Fill" + }, + { + "property": "PressedFill", + "value": "Self.Fill" + }, + { + "property": "HoverFill", + "value": "Self.Fill" + }, + { + "property": "BorderStyle", + "value": "%BorderStyle.RESERVED%.Solid" + }, + { + "property": "PressedBorderColor", + "value": "ColorFade(Self.BorderColor, -20%)" + }, + { + "property": "HoverBorderColor", + "value": "ColorFade(Self.BorderColor, 20%)" + }, + { + "property": "BorderThickness", + "value": "0" + }, + { + "property": "FocusedBorderThickness", + "value": "2" + } + ] + }, + { + "controlTemplateName": "icon", + "name": "primary1IconStyle", + "propertyValuesMap": [ + { + "property": "Color", + "value": "%Palette.PrimaryColor1%" + }, + { + "property": "DisabledColor", + "value": "%Palette.DisabledButtonBkgColor%" + }, + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + }, + { + "property": "DisabledBorderColor", + "value": "%Palette.DisabledBorderColor%" + } + ] + }, + { + "controlTemplateName": "icon", + "name": "primary3IconStyle", + "propertyValuesMap": [ + { + "property": "Color", + "value": "%Palette.PrimaryColor3%" + }, + { + "property": "DisabledColor", + "value": "%Palette.DisabledButtonBkgColor%" + }, + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + }, + { + "property": "DisabledBorderColor", + "value": "%Palette.DisabledBorderColor%" + } + ] + }, + { + "controlTemplateName": "icon", + "name": "invertedBkgHeaderIconStyle", + "propertyValuesMap": [ + { + "property": "Color", + "value": "%Palette.IconFillColorInverted%" + }, + { + "property": "PressedFill", + "value": "%Palette.IconPressedFillColorInverted%" + }, + { + "property": "DisabledColor", + "value": "%Palette.DisabledButtonBkgColor%" + }, + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + }, + { + "property": "DisabledBorderColor", + "value": "%Palette.DisabledBorderColor%" + } + ] + }, + { + "controlTemplateName": "microphone", + "name": "defaultMicrophoneStyle", + "propertyValuesMap": [ + { + "property": "Color", + "value": "%Palette.TextMainColorInverted%" + }, + { + "property": "Fill", + "value": "%Palette.PrimaryColor1%" + }, + { + "property": "HoverFill", + "value": "%Palette.HoverButtonBkgColor%" + }, + { + "property": "HoverColor", + "value": "%Palette.TextMainColorInverted%" + }, + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + }, + { + "property": "DisabledColor", + "value": "RGBA(186, 186, 186, 1)" + }, + { + "property": "PressedColor", + "value": "Self.Color" + }, + { + "property": "DisabledBorderColor", + "value": "RGBA(56, 56, 56, 1)" + }, + { + "property": "PressedBorderColor", + "value": "ColorFade(Self.BorderColor, -15%)" + }, + { + "property": "HoverBorderColor", + "value": "ColorFade(Self.BorderColor, 15%)" + }, + { + "property": "BorderStyle", + "value": "%BorderStyle.RESERVED%.Solid" + }, + { + "property": "BorderThickness", + "value": "0" + }, + { + "property": "DisabledFill", + "value": "RGBA(119, 119, 119, 1)" + }, + { + "property": "PressedFill", + "value": "ColorFade(Self.Fill, -15%)" + } + ] + }, + { + "controlTemplateName": "barcode", + "name": "defaultBarcodeStyle", + "propertyValuesMap": [ + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + } + ] + }, + { + "controlTemplateName": "groupContainer", + "name": "defaultGroupContainerStyle", + "propertyValuesMap": [ + { + "property": "RadiusTopLeft", + "value": "%Palette.ContainerRadius%" + }, + { + "property": "RadiusBottomRight", + "value": "%Palette.ContainerRadius%" + }, + { + "property": "RadiusTopRight", + "value": "%Palette.ContainerRadius%" + }, + { + "property": "RadiusBottomLeft", + "value": "%Palette.ContainerRadius%" + }, + { + "property": "DropShadow", + "value": "%DropShadow.RESERVED%.Light" + } + ] + }, + { + "controlTemplateName": "barcodeScanner", + "name": "defaultBarcodeScannerStyle", + "propertyValuesMap": [ + { + "property": "Color", + "value": "%Palette.TextMainColorInverted%" + }, + { + "property": "Fill", + "value": "%Palette.PrimaryColor1%" + }, + { + "property": "Font", + "value": "%Palette.TextBodyFontFace%" + }, + { + "property": "FontWeight", + "value": "%Palette.TextEmphasisFontWeight%" + }, + { + "property": "DisabledBorderColor", + "value": "%Palette.DisabledBorderColor%" + }, + { + "property": "DisabledColor", + "value": "%Palette.DisabledTextMainColor%" + }, + { + "property": "DisabledFill", + "value": "%Palette.DisabledInputBkgColor%" + }, + { + "property": "Size", + "value": "%Palette.TextEmphasisFontSize%" + }, + { + "property": "HoverColor", + "value": "%Palette.TextMainColorInverted%" + }, + { + "property": "HoverFill", + "value": "%Palette.HoverButtonBkgColor%" + }, + { + "property": "BorderColor", + "value": "ColorFade(Self.Fill, -15%)" + }, + { + "property": "RadiusTopLeft", + "value": "10" + }, + { + "property": "RadiusBottomRight", + "value": "10" + }, + { + "property": "RadiusTopRight", + "value": "10" + }, + { + "property": "RadiusBottomLeft", + "value": "10" + }, + { + "property": "PressedBorderColor", + "value": "Self.Fill" + }, + { + "property": "HoverBorderColor", + "value": "ColorFade(Self.BorderColor, 20%)" + }, + { + "property": "BorderStyle", + "value": "%BorderStyle.RESERVED%.Solid" + }, + { + "property": "BorderThickness", + "value": "2" + }, + { + "property": "FocusedBorderThickness", + "value": "4" + }, + { + "property": "PressedColor", + "value": "Self.Fill" + }, + { + "property": "PressedFill", + "value": "Self.Color" + }, + { + "property": "Italic", + "value": "false" + }, + { + "property": "Underline", + "value": "false" + }, + { + "property": "Strikethrough", + "value": "false" + }, + { + "property": "Align", + "value": "%Align.RESERVED%.Center" + }, + { + "property": "VerticalAlign", + "value": "%VerticalAlign.RESERVED%.Middle" + } + ] + }, + { + "controlTemplateName": "camera", + "name": "defaultCameraStyle", + "propertyValuesMap": [ + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + } + ] + }, + { + "controlTemplateName": "inkControl", + "name": "defaultInkControlStyle", + "propertyValuesMap": [ + { + "property": "Color", + "value": "%Palette.TextMainColor%" + }, + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + }, + { + "property": "Size", + "value": "2" + }, + { + "property": "Fill", + "value": "RGBA(0, 0, 0, 0)" + }, + { + "property": "BorderStyle", + "value": "%BorderStyle.RESERVED%.Solid" + }, + { + "property": "BorderThickness", + "value": "2" + } + ] + }, + { + "controlTemplateName": "import", + "name": "defaultImportStyle", + "propertyValuesMap": [ + { + "property": "Color", + "value": "%Palette.TextMainColorInverted%" + }, + { + "property": "Fill", + "value": "%Palette.PrimaryColor1%" + }, + { + "property": "Font", + "value": "%Palette.TextBodyFontFace%" + }, + { + "property": "FontWeight", + "value": "%Palette.TextEmphasisFontWeight%" + }, + { + "property": "DisabledColor", + "value": "%Palette.DisabledTextMainColor%" + }, + { + "property": "DisabledFill", + "value": "%Palette.DisabledInputBkgColor%" + }, + { + "property": "HoverFill", + "value": "%Palette.HoverButtonBkgColor%" + }, + { + "property": "HoverColor", + "value": "%Palette.TextMainColorInverted%" + }, + { + "property": "Size", + "value": "%Palette.TextEmphasisFontSize%" + }, + { + "property": "RadiusTopLeft", + "value": "10" + }, + { + "property": "RadiusTopRight", + "value": "10" + }, + { + "property": "RadiusBottomLeft", + "value": "10" + }, + { + "property": "RadiusBottomRight", + "value": "10" + }, + { + "property": "BorderColor", + "value": "ColorFade(Self.Fill, -15%)" + }, + { + "property": "DisabledBorderColor", + "value": "RGBA(56, 56, 56, 1)" + }, + { + "property": "PressedBorderColor", + "value": "ColorFade(Self.BorderColor, -20%)" + }, + { + "property": "HoverBorderColor", + "value": "ColorFade(Self.BorderColor, 20%)" + }, + { + "property": "BorderStyle", + "value": "%BorderStyle.RESERVED%.Solid" + }, + { + "property": "BorderThickness", + "value": "2" + }, + { + "property": "FocusedBorderThickness", + "value": "4" + }, + { + "property": "PressedColor", + "value": "Self.Color" + }, + { + "property": "PressedFill", + "value": "ColorFade(Self.Fill, -20%)" + } + ] + }, + { + "controlTemplateName": "image", + "name": "defaultImageStyle", + "propertyValuesMap": [ + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + }, + { + "property": "DisabledBorderColor", + "value": "%Palette.DisabledBorderColor%" + }, + { + "property": "DisabledFill", + "value": "%Palette.DisabledButtonBkgColor%" + }, + { + "property": "Fill", + "value": "RGBA(0, 0, 0, 0)" + }, + { + "property": "PressedFill", + "value": "ColorFade(Self.Fill, -20%)" + }, + { + "property": "HoverFill", + "value": "ColorFade(Self.Fill, 20%)" + }, + { + "property": "RadiusTopLeft", + "value": "0" + }, + { + "property": "RadiusTopRight", + "value": "0" + }, + { + "property": "RadiusBottomLeft", + "value": "0" + }, + { + "property": "RadiusBottomRight", + "value": "0" + }, + { + "property": "PressedBorderColor", + "value": "ColorFade(Self.BorderColor, -20%)" + }, + { + "property": "HoverBorderColor", + "value": "ColorFade(Self.BorderColor, 20%)" + }, + { + "property": "BorderThickness", + "value": "0" + }, + { + "property": "FocusedBorderThickness", + "value": "2" + }, + { + "property": "BorderStyle", + "value": "%BorderStyle.RESERVED%.Solid" + }, + { + "property": "PaddingTop", + "value": "0" + }, + { + "property": "PaddingRight", + "value": "0" + }, + { + "property": "PaddingBottom", + "value": "0" + }, + { + "property": "PaddingLeft", + "value": "0" + } + ] + }, + { + "controlTemplateName": "htmlviewer", + "name": "defaultHtmlViewerStyle", + "propertyValuesMap": [ + { + "property": "DisabledBorderColor", + "value": "%Palette.DisabledBorderColor%" + }, + { + "property": "Font", + "value": "%Palette.TextBodyFontFace%" + }, + { + "property": "Size", + "value": "%Palette.TextBodyFontSize%" + } + ] + }, + { + "controlTemplateName": "htmlviewer", + "name": "typedDataCardHtmlViewerStyle", + "propertyValuesMap": [ + { + "property": "DisabledBorderColor", + "value": "%Palette.DisabledBorderColor%" + }, + { + "property": "Font", + "value": "%Palette.TextBodyFontFace%" + }, + { + "property": "Size", + "value": "%Palette.TextBodyFontSize%" + }, + { + "property": "Color", + "value": "%Palette.TextLinkColor%" + } + ] + }, + { + "controlTemplateName": "export", + "name": "defaultExportStyle", + "propertyValuesMap": [ + { + "property": "Color", + "value": "%Palette.TextMainColorInverted%" + }, + { + "property": "Fill", + "value": "%Palette.PrimaryColor1%" + }, + { + "property": "Font", + "value": "%Palette.TextBodyFontFace%" + }, + { + "property": "FontWeight", + "value": "%Palette.TextEmphasisFontWeight%" + }, + { + "property": "DisabledColor", + "value": "%Palette.DisabledTextMainColor%" + }, + { + "property": "DisabledFill", + "value": "%Palette.DisabledInputBkgColor%" + }, + { + "property": "HoverFill", + "value": "%Palette.HoverButtonBkgColor%" + }, + { + "property": "HoverColor", + "value": "%Palette.TextMainColorInverted%" + }, + { + "property": "Size", + "value": "%Palette.TextEmphasisFontSize%" + }, + { + "property": "RadiusTopLeft", + "value": "10" + }, + { + "property": "RadiusTopRight", + "value": "10" + }, + { + "property": "RadiusBottomLeft", + "value": "10" + }, + { + "property": "RadiusBottomRight", + "value": "10" + }, + { + "property": "BorderColor", + "value": "ColorFade(Self.Fill, -15%)" + }, + { + "property": "DisabledBorderColor", + "value": "RGBA(56, 56, 56, 1)" + }, + { + "property": "PressedBorderColor", + "value": "ColorFade(Self.BorderColor, -20%)" + }, + { + "property": "HoverBorderColor", + "value": "ColorFade(Self.BorderColor, 20%)" + }, + { + "property": "BorderStyle", + "value": "%BorderStyle.RESERVED%.Solid" + }, + { + "property": "BorderThickness", + "value": "2" + }, + { + "property": "FocusedBorderThickness", + "value": "4" + }, + { + "property": "PressedColor", + "value": "Self.Color" + }, + { + "property": "PressedFill", + "value": "ColorFade(Self.Fill, -20%)" + } + ] + }, + { + "controlTemplateName": "addMedia", + "name": "defaultAddMediaStyle", + "propertyValuesMap": [ + { + "property": "Color", + "value": "%Palette.InputTextColor%" + }, + { + "property": "Fill", + "value": "%Palette.InputBkgColor%" + }, + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + }, + { + "property": "BorderStyle", + "value": "%BorderStyle.RESERVED%.Solid" + }, + { + "property": "BorderThickness", + "value": "0" + }, + { + "property": "FocusedBorderThickness", + "value": "2" + }, + { + "property": "Font", + "value": "%Font.RESERVED%.'Open Sans'" + }, + { + "property": "Size", + "value": "11" + }, + { + "property": "Italic", + "value": "false" + }, + { + "property": "Underline", + "value": "false" + }, + { + "property": "Strikethrough", + "value": "false" + }, + { + "property": "DisabledBorderColor", + "value": "RGBA(56, 56, 56, 1)" + }, + { + "property": "PressedBorderColor", + "value": "ColorFade(Self.BorderColor, -20%)" + }, + { + "property": "HoverBorderColor", + "value": "ColorFade(Self.BorderColor, 20%)" + }, + { + "property": "DisabledColor", + "value": "RGBA(186, 186, 186, 1)" + }, + { + "property": "PressedColor", + "value": "Self.Color" + }, + { + "property": "HoverColor", + "value": "Self.Color" + }, + { + "property": "DisabledFill", + "value": "RGBA(119, 119, 119, 1)" + }, + { + "property": "PressedFill", + "value": "ColorFade(Self.Fill, -20%)" + }, + { + "property": "HoverFill", + "value": "ColorFade(Self.Fill, 20%)" + }, + { + "property": "FontWeight", + "value": "%FontWeight.RESERVED%.Semibold" + }, + { + "property": "Align", + "value": "%Align.RESERVED%.Center" + }, + { + "property": "VerticalAlign", + "value": "%VerticalAlign.RESERVED%.Middle" + } + ] + }, + { + "controlTemplateName": "audioPlayback", + "name": "defaultAudioPlaybackStyle", + "propertyValuesMap": [ + { + "property": "Fill", + "value": "%Palette.PrimaryColor1%" + }, + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + }, + { + "property": "BorderStyle", + "value": "%BorderStyle.RESERVED%.Solid" + }, + { + "property": "BorderThickness", + "value": "0" + } + ] + }, + { + "controlTemplateName": "rectangle", + "name": "defaultRectangleStyle", + "propertyValuesMap": [ + { + "property": "Fill", + "value": "%Palette.PrimaryColor1%" + }, + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + }, + { + "property": "DisabledFill", + "value": "Self.Fill" + }, + { + "property": "PressedFill", + "value": "Self.Fill" + }, + { + "property": "HoverFill", + "value": "Self.Fill" + }, + { + "property": "BorderStyle", + "value": "%BorderStyle.RESERVED%.Solid" + }, + { + "property": "BorderThickness", + "value": "0" + }, + { + "property": "FocusedBorderThickness", + "value": "2" + } + ] + }, + { + "controlTemplateName": "rectangle", + "name": "primary2RectangleStyle", + "propertyValuesMap": [ + { + "property": "Fill", + "value": "%Palette.PrimaryColor2%" + }, + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + } + ] + }, + { + "controlTemplateName": "rectangle", + "name": "primary3RectangleStyle", + "propertyValuesMap": [ + { + "property": "Fill", + "value": "%Palette.PrimaryColor3%" + }, + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + } + ] + }, + { + "controlTemplateName": "rectangle", + "name": "primary3FadeRectangleStyle", + "propertyValuesMap": [ + { + "property": "Fill", + "value": "%Palette.PrimaryColor3Fade%" + }, + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + } + ] + }, + { + "controlTemplateName": "rectangle", + "name": "grayRectangleStyle", + "propertyValuesMap": [ + { + "property": "Fill", + "value": "%Palette.ReservedGrayColor%" + }, + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + } + ] + }, + { + "controlTemplateName": "rectangle", + "name": "invertedBackgroundRectangleStyle", + "propertyValuesMap": [ + { + "property": "Fill", + "value": "%Palette.InvertedBkgColor%" + }, + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + } + ] + }, + { + "controlTemplateName": "rectangle", + "name": "overlayRectangleStyle", + "propertyValuesMap": [ + { + "property": "Fill", + "value": "%Palette.OverlayBkgColor%" + }, + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + } + ] + }, + { + "controlTemplateName": "typedDataCard", + "name": "defaultTypedDataCardStyle", + "propertyValuesMap": [ + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + } + ] + }, + { + "controlTemplateName": "entityForm", + "name": "defaultEntityFormStyle", + "propertyValuesMap": [ + { + "property": "TextColor", + "value": "%Palette.TextMainColor%" + }, + { + "property": "InputTextColor", + "value": "%Palette.InputTextColor%" + }, + { + "property": "DisabledTextColor", + "value": "%Palette.DisabledTextMainColor%" + }, + { + "property": "PrimaryColor1", + "value": "%Palette.PrimaryColor1%" + }, + { + "property": "PrimaryColor2", + "value": "%Palette.PrimaryColor2%" + }, + { + "property": "PrimaryColor3", + "value": "%Palette.PrimaryColor3%" + }, + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + }, + { + "property": "InputBackgroundColor", + "value": "%Palette.InputBkgColor%" + }, + { + "property": "BorderStyle", + "value": "%BorderStyle.RESERVED%.Solid" + }, + { + "property": "BorderThickness", + "value": "0" + }, + { + "property": "Font", + "value": "%Font.RESERVED%.'Open Sans'" + }, + { + "property": "FontWeight", + "value": "%FontWeight.RESERVED%.Normal" + } + ] + }, + { + "controlTemplateName": "dataGrid", + "name": "defaultDataGridStyle", + "propertyValuesMap": [ + { + "property": "LinkColor", + "value": "%Palette.TextLinkColor%" + }, + { + "property": "PrimaryColor1", + "value": "%Palette.PrimaryColor1%" + }, + { + "property": "PrimaryColor2", + "value": "%Palette.PrimaryColor2%" + }, + { + "property": "PrimaryColor3", + "value": "%Palette.PrimaryColor3%" + }, + { + "property": "Color", + "value": "%Palette.TextMainColor%" + }, + { + "property": "InvertedColor", + "value": "%Palette.TextMainColorInverted%" + }, + { + "property": "DisabledColor", + "value": "%Palette.DisabledTextMainColor%" + }, + { + "property": "SelectedFill", + "value": "%Palette.PrimaryColor1Light%" + }, + { + "property": "SelectedColor", + "value": "%Palette.TextMainColor%" + }, + { + "property": "HoverFill", + "value": "%Palette.PrimaryColor3Light%" + }, + { + "property": "HoverColor", + "value": "%Palette.TextMainColor%" + }, + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + }, + { + "property": "InputFill", + "value": "%Palette.InputBkgColor%" + }, + { + "property": "Font", + "value": "%Palette.TextBodyFontFace%" + }, + { + "property": "FontWeight", + "value": "%Palette.TextBodyFontWeight%" + }, + { + "property": "Size", + "value": "%Palette.TextBodyFontSize%" + }, + { + "property": "HeadingFont", + "value": "%Palette.TextBodyFontFace%" + }, + { + "property": "HeadingFontWeight", + "value": "%Palette.TextBodyFontWeight%" + }, + { + "property": "HeadingSize", + "value": "%Palette.TextBodyFontSize%" + }, + { + "property": "HeadingColor", + "value": "%Palette.TextMainColorInverted%" + }, + { + "property": "HeadingFill", + "value": "%Palette.PrimaryColor1%" + } + ] + }, + { + "controlTemplateName": "powerbi", + "name": "defaultPowerbiStyle", + "propertyValuesMap": [ + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + } + ] + }, + { + "controlTemplateName": "microsoftStreamPlayback", + "name": "defaultMicrosoftStreamPlaybackStyle", + "propertyValuesMap": [ + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + }, + { + "property": "BorderStyle", + "value": "%BorderStyle.RESERVED%.Solid" + }, + { + "property": "BorderThickness", + "value": "0" + }, + { + "property": "Color", + "value": "%Palette.TextMainColor%" + }, + { + "property": "Fill", + "value": "%Palette.ScreenBkgColor%" + } + ] + }, + { + "controlTemplateName": "form", + "name": "defaultFormStyle", + "propertyValuesMap": [ + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + } + ] + }, + { + "controlTemplateName": "formViewer", + "name": "defaultFormViewerStyle", + "propertyValuesMap": [ + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + } + ] + }, + { + "controlTemplateName": "pdfViewer", + "name": "defaultPdfViewerStyle", + "propertyValuesMap": [ + { + "property": "Fill", + "value": "%Palette.ScreenBkgColor%" + }, + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + } + ] + }, + { + "controlTemplateName": "gallery", + "name": "defaultGalleryStyle", + "propertyValuesMap": [ + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + } + ] + }, + { + "controlTemplateName": "richTextEditor", + "name": "defaultRichTextEditorStyle", + "propertyValuesMap": [ + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + } + ] + }, + { + "controlTemplateName": "dataTable", + "name": "defaultDataTableStyle", + "propertyValuesMap": [ + { + "property": "LinkColor", + "value": "%Palette.TextLinkColor%" + }, + { + "property": "PrimaryColor1", + "value": "%Palette.PrimaryColor1%" + }, + { + "property": "PrimaryColor2", + "value": "%Palette.PrimaryColor2%" + }, + { + "property": "PrimaryColor3", + "value": "%Palette.PrimaryColor3%" + }, + { + "property": "Color", + "value": "%Palette.TextMainColor%" + }, + { + "property": "InvertedColor", + "value": "%Palette.TextMainColorInverted%" + }, + { + "property": "DisabledColor", + "value": "%Palette.DisabledTextMainColor%" + }, + { + "property": "SelectedFill", + "value": "%Palette.PrimaryColor1Light%" + }, + { + "property": "SelectedColor", + "value": "%Palette.TextMainColor%" + }, + { + "property": "HoverFill", + "value": "%Palette.PrimaryColor3Light%" + }, + { + "property": "HoverColor", + "value": "%Palette.TextMainColor%" + }, + { + "property": "BorderColor", + "value": "%Palette.InputBorderColor%" + }, + { + "property": "InputFill", + "value": "%Palette.InputBkgColor%" + }, + { + "property": "Font", + "value": "%Palette.TextBodyFontFace%" + }, + { + "property": "FontWeight", + "value": "%Palette.TextBodyFontWeight%" + }, + { + "property": "Size", + "value": "%Palette.TextBodyFontSize%" + }, + { + "property": "HeadingFont", + "value": "%Palette.TextBodyFontFace%" + }, + { + "property": "HeadingFontWeight", + "value": "%Palette.TextBodyFontWeight%" + }, + { + "property": "HeadingSize", + "value": "%Palette.TextBodyFontSize%" + }, + { + "property": "HeadingColor", + "value": "%Palette.TextMainColorInverted%" + }, + { + "property": "HeadingFill", + "value": "%Palette.PrimaryColor1%" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/Src/scrMain.fx.yaml b/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/Src/scrMain.fx.yaml new file mode 100644 index 00000000..33335987 --- /dev/null +++ b/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/Src/scrMain.fx.yaml @@ -0,0 +1,198 @@ +scrMain As screen: + + txtPrompt As text: + Default: =varPromt + Height: =84 + HintText: ="Enter Prompt." + HoverColor: =Self.Color + HoverFill: =Self.Fill + Mode: =TextMode.MultiLine + Width: =1357 + Y: =18 + ZIndex: =1 + + "galQuestionAnswers As gallery.'BrowseLayout_Vertical_OneTextVariant_ver5.0'": + DelayItemLoading: =true + Height: =279 + Items: =colOptions + Layout: =Layout.Vertical + LoadingSpinner: =LoadingSpinner.Data + TemplatePadding: =0 + TemplateSize: =100 + Visible: =If(lblSelQuestion.Text = "None", false, true) + Width: =935 + WrapCount: =2 + X: =28 + Y: =237 + ZIndex: =1 + + lblAns As label: + BorderThickness: =1 + Fill: =If(ThisItem.selected, If(ThisItem.correct, Color.GreenYellow, Color.PaleVioletRed), RGBA(0,0,0,0)) + FontWeight: =FontWeight.Semibold + Height: =Self.Size * 4 + OnSelect: |+ + =Patch(colOptions, ThisItem, {selected: true}) + + PaddingBottom: =0 + PaddingLeft: =10 + PaddingRight: =0 + PaddingTop: =0 + Text: =Text(ThisItem.answer) + Width: =Parent.TemplateWidth - 40 + X: =16 + Y: =(Parent.TemplateHeight / 2) - (Self.Height / 2) + ZIndex: =1 + + Separator3 As rectangle: + Height: =8 + OnSelect: =Select(Parent) + Width: =Parent.TemplateWidth + Y: =Parent.TemplateHeight - Self.Height + ZIndex: =3 + + btnTest As button: + OnSelect: |- + =Set(varResponse, 'OpenAIGPT(IndependentPublisher)'.CompletionPost("text-davinci-003",{prompt:txtPrompt.Text,max_tokens:4000,temperature:0.7,top_p:1,n:1}).first_completion); + /*Set(varResponse, "[ + { + ""question"": ""What is the capital of France?"", + ""options"": [ + {""answer"": ""Berlin"", ""selected"": false, ""correct"": false}, + {""answer"": ""Madrid"", ""selected"": false, ""correct"": false}, + {""answer"": ""Rome"", ""selected"": false, ""correct"": false}, + {""answer"": ""Paris"", ""selected"": false, ""correct"": true} + ] + }, + { + ""question"": ""Which planet is known as the 'Red Planet'?"", + ""options"": [ + {""answer"": ""Venus"", ""selected"": false, ""correct"": false}, + {""answer"": ""Mars"", ""selected"": false, ""correct"": true}, + {""answer"": ""Jupiter"", ""selected"": false, ""correct"": false}, + {""answer"": ""Saturn"", ""selected"": false, ""correct"": false} + ] + }, + { + ""question"": ""Who wrote the play 'Romeo and Juliet'?"", + ""options"": [ + {""answer"": ""William Shakespeare"", ""selected"": false, ""correct"": true}, + {""answer"": ""Charles Dickens"", ""selected"": false, ""correct"": false}, + {""answer"": ""Jane Austen"", ""selected"": false, ""correct"": false}, + {""answer"": ""Mark Twain"", ""selected"": false, ""correct"": false} + ] + }, + { + ""question"": ""What is the chemical symbol for water?"", + ""options"": [ + {""answer"": ""O2"", ""selected"": false, ""correct"": false}, + {""answer"": ""H2O"", ""selected"": false, ""correct"": true}, + {""answer"": ""CO2"", ""selected"": false, ""correct"": false}, + {""answer"": ""CH4"", ""selected"": false, ""correct"": false} + ] + }, + { + ""question"": ""In which year did the Titanic sink?"", + ""options"": [ + {""answer"": ""1905"", ""selected"": false, ""correct"": false}, + {""answer"": ""1912"", ""selected"": false, ""correct"": true}, + {""answer"": ""1920"", ""selected"": false, ""correct"": false}, + {""answer"": ""1931"", ""selected"": false, ""correct"": false} + ] + }, + { + ""question"": ""What is the largest mammal on Earth?"", + ""options"": [ + {""answer"": ""Elephant"", ""selected"": false, ""correct"": false}, + {""answer"": ""Blue Whale"", ""selected"": false, ""correct"": true}, + {""answer"": ""Lion"", ""selected"": false, ""correct"": false}, + {""answer"": ""Giraffe"", ""selected"": false, ""correct"": false} + ] + }, + { + ""question"": ""Who painted the Mona Lisa?"", + ""options"": [ + {""answer"": ""Vincent van Gogh"", ""selected"": false, ""correct"": false}, + {""answer"": ""Pablo Picasso"", ""selected"": false, ""correct"": false}, + {""answer"": ""Leonardo da Vinci"", ""selected"": false, ""correct"": true}, + {""answer"": ""Michelangelo"", ""selected"": false, ""correct"": false} + ] + }, + { + ""question"": ""What is the chemical symbol for gold?"", + ""options"": [ + {""answer"": ""Ag"", ""selected"": false, ""correct"": false}, + {""answer"": ""Au"", ""selected"": false, ""correct"": true}, + {""answer"": ""Fe"", ""selected"": false, ""correct"": false}, + {""answer"": ""Cu"", ""selected"": false, ""correct"": false} + ] + }, + { + ""question"": ""Which country is known as the Land of the Rising Sun?"", + ""options"": [ + {""answer"": ""China"", ""selected"": false, ""correct"": false}, + {""answer"": ""Japan"", ""selected"": false, ""correct"": true}, + {""answer"": ""South Korea"", ""selected"": false, ""correct"": false}, + {""answer"": ""Thailand"", ""selected"": false, ""correct"": false} + ] + }, + { + ""question"": ""Who was the first man to step on the moon?"", + ""options"": [ + {""answer"": ""Buzz Aldrin"", ""selected"": false, ""correct"": false}, + {""answer"": ""Yuri Gagarin"", ""selected"": false, ""correct"": false}, + {""answer"": ""Neil Armstrong"", ""selected"": false, ""correct"": true}, + {""answer"": ""John Glenn"", ""selected"": false, ""correct"": false} + ] + } + ]");*/ + + ClearCollect( + colQuestions, + Table(ParseJSON(varResponse)); + ); + + Set(varIndex,1); + + ClearCollect( + colOptions, + AddColumns( + Table(Index(colQuestions, varIndex).Value.options), + "answer", Value.answer, + "selected", Value.selected = true, + "correct", Value.correct = true + ) + ); + Text: ="Generate" + X: =28 + Y: =125 + ZIndex: =2 + + lblSelQuestion As label: + Height: =72 + Text: =Text(Index(colQuestions,varIndex).Value.question) + Visible: =If(lblSelQuestion.Text = "None", false, true) + Width: =425 + X: =28 + Y: =165 + ZIndex: =5 + + btnNext As button: + OnSelect: |- + =Set(varIndex, varIndex + 1); + + ClearCollect( + colOptions, + AddColumns( + Table(Index(colQuestions, varIndex).Value.options), + "answer", Value.answer, + "selected", Value.selected = true, + "correct", Value.correct = true + ) + ); + Text: ="Next" + Visible: =If(lblSelQuestion.Text = "None" || varIndex >= 10, false, true) + X: =788 + Y: =442 + ZIndex: =6 + diff --git a/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/pkgs/Wadl/OpenAIGPT%28IndependentPublisher%29.xml b/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/pkgs/Wadl/OpenAIGPT%28IndependentPublisher%29.xml new file mode 100644 index 00000000..c636c064 --- /dev/null +++ b/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/pkgs/Wadl/OpenAIGPT%28IndependentPublisher%29.xml @@ -0,0 +1,360 @@ + + OpenAI is an artificial intelligence research laboratory. The company conducts research in the field of AI with the stated goal of promoting and developing friendly AI in a way that benefits humanity as a whole. Through this connector you can access the Generative Pre-trained Transformer 4 (GPT-4), an autoregressive language model that uses deep learning to produce human-like text, plus many other models. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/pkgs/button_2.2.0.xml b/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/pkgs/button_2.2.0.xml new file mode 100644 index 00000000..df212643 --- /dev/null +++ b/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/pkgs/button_2.2.0.xml @@ -0,0 +1,232 @@ + + + TODO: Need license text here.

]]>
+ + + + + + + + + + +
+ + +
+]]> + + + The pressed state of the button. + data + boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/pkgs/gallery_2.13.2.xml b/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/pkgs/gallery_2.13.2.xml new file mode 100644 index 00000000..e146cdcb --- /dev/null +++ b/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/pkgs/gallery_2.13.2.xml @@ -0,0 +1,748 @@ + + + TODO: Need license text here.

]]>
+ + + + + + + + + + + + + + + + + + + + ##gallery_IsSelected_Description## + data + + + Accessible label for a gallery item + data + ##gallery_ItemAccessibleLabel_DisplayName## + ##gallery_ItemAccessibleLabel_Tooltip## + + + + ##gallery_TemplateFill_Description## + ##gallery_TemplateFill_Tooltip## + design + color + ##gallery_TemplateFill_DisplayName## + + + + On select + ##gallery_OnSelect_Tooltip## + behavior + ##gallery_OnSelect_DisplayName## + + + + + + + ##gallery_Items_Description## + data + + ##gallery_Items_DisplayName## + ##gallery_Items_Tooltip## + + + + ##gallery_Default_Description## + data + Items + ##gallery_Default_DisplayName## + ##gallery_Default_Tooltip## + + + ##gallery_AllItems_Description## + data + Items + + + + ##gallery_AllItemsCount_Description## + data + + + + Selectable + data + ##gallery_Selectable_DisplayName## + ##gallery_Selectable_Tooltip## + + + ##gallery_Selected_Description## + data + Items + + + + ##gallery_VisibleIndex_Description## + data + ##gallery_VisibleIndex_DisplayName## + + + ##gallery_TemplateSize_Description## + design + templateSize + ##gallery_TemplateSize_DisplayName## + ##gallery_TemplateSize_Tooltip## + + + ##gallery_TemplateWidth_Description## + design + ##gallery_TemplateWidth_DisplayName## + + + + + ##gallery_TemplateHeight_Description## + design + ##gallery_TemplateHeight_DisplayName## + + + ##gallery_TemplatePadding_Description## + design + ##gallery_TemplatePadding_DisplayName## + templatePadding + ##gallery_TemplatePadding_Tooltip## + + + + ##gallery_Transition_Description## + design + transition + ##gallery_Transition_DisplayName## + ##gallery_Transition_Tooltip## + + + ##gallery_ShowNavigation_Description## + design + boolean + ##gallery_ShowNavigation_DisplayName## + ##gallery_ShowNavigation_Tooltip## + + + ##gallery_NavigationStep_Description## + design + ##gallery_NavigationStep_DisplayName## + ##gallery_NavigationStep_Tooltip## + + + ShowScrollbar + ##gallery_ShowScrollbar_Tooltip## + design + boolean + ##gallery_ShowScrollbar_DisplayName## + + + Valid + data + ##commonProperties_Valid_DisplayName## + ##commonProperties_Valid_Tooltip## + + + + + + + + DelayItemLoading + design + boolean + ##gallery_DelayItemLoading_DisplayName## + ##gallery_DelayItemLoading_Tooltip## + + + LoadingSpinner + design + ##CommonProperties_LoadingSpinner_DisplayName## + ##CommonProperties_LoadingSpinner_Tooltip## + + + LoadingSpinner + design + color + ##CommonProperties_LoadingSpinnerColor_DisplayName## + ##CommonProperties_LoadingSpinnerColor_Tooltip## + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
\ No newline at end of file diff --git a/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/pkgs/label_2.5.1.xml b/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/pkgs/label_2.5.1.xml new file mode 100644 index 00000000..1155d2da --- /dev/null +++ b/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/pkgs/label_2.5.1.xml @@ -0,0 +1,341 @@ + + + TODO: Need license text here.

]]>
+ + + + + + + + = 0 ? 'button' : 'presentation', + 'aria-disabled': properties.TabIndex() >= 0 && viewState.displayMode() !== AppMagic.Constants.DisplayMode.Edit + }, + event: { + click: handleClick + }, + shortcut: { + provider: shortcutProvider, + enabled: shortcutsEnabled + }" + > + +
+
+ + +

+

+ + +

+

+ + +

+

+ + +

+

+ +
+ ]]>
+ + + + Live + data + ##label_Live_DisplayName## + ##label_Live_Tooltip## + + + + Line Height + design + ##label_LineHeight_DisplayName## + ##label_LineHeight_Tooltip## + lineWidth + + + Overflow + design + ##label_Overflow_DisplayName## + ##label_Overflow_Tooltip## + overflow + + + + AutoHeight + design + ##CommonProperties_AutoHeight_DisplayName## + ##CommonProperties_AutoHeight_Tooltip## + + + Wrap + design + ##label_Wrap_DisplayName## + ##label_Wrap_Tooltip## + + + + + + + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
\ No newline at end of file diff --git a/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/pkgs/rectangle_2.3.0.xml b/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/pkgs/rectangle_2.3.0.xml new file mode 100644 index 00000000..31aa9a76 --- /dev/null +++ b/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/pkgs/rectangle_2.3.0.xml @@ -0,0 +1,147 @@ + + + TODO: Need license text here.

]]>
+ + + + + + + = 0) && (viewState.displayMode() !== AppMagic.Constants.DisplayMode.Edit), + 'aria-hidden': properties.TabIndex() < 0 && !properties.AccessibleLabel() + }"> + + + ]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
\ No newline at end of file diff --git a/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/pkgs/text_2.3.2.xml b/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/pkgs/text_2.3.2.xml new file mode 100644 index 00000000..1379b7ca --- /dev/null +++ b/samples/openai-gpt-quizapp/sourcecode/CanvasApps/src/cr8b5_quizapp_7d97d/pkgs/text_2.3.2.xml @@ -0,0 +1,367 @@ + + + TODO: Need license text here.

]]>
+ + + + + + + + + + + + + + + +
+ +
+ + +
+ + + ]]>
+ + + Initial text + data + ##text_Default_DisplayName## + ##text_Default_Tooltip## + + + Output Text + data + + + Textbox Mode + design + TextMode + ##text_Mode_DisplayName## + ##text_Mode_Tooltip## + + + Input textbox Format + design + TextFormat + ##text_Format_DisplayName## + ##text_Format_Tooltip## + + + Input Keyboard Type + design + VirtualKeyboardMode + ##text_VirtualKeyboardMode_DisplayName## + ##text_VirtualKeyboardMode_Tooltip## + + + Clear Button + design + boolean + ##text_Clear_DisplayName## + ##text_Clear_Tooltip## + + + Enable spell check + design + boolean + ##text_EnableSpellCheck_DisplayName## + ##text_EnableSpellCheck_Tooltip## + + + Reset + data + ##commonProperties_Reset_DisplayName## + ##commonProperties_Reset_Tooltip## + + + Line Height + design + ##text_LineHeight_DisplayName## + lineWidth + ##label_LineHeight_Tooltip## + + + Hint text + data + ##text_HintText_DisplayName## + ##text_HintText_Tooltip## + + + MaxLength + data + ##commonProperties_MaxLength_DisplayName## + ##commonProperties_MaxLength_Tooltip## + + + DelayOutput + data + ##text_DelayOutput_DisplayName## + ##text_DelayOutput_Tooltip## + + + + + + + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
\ No newline at end of file diff --git a/samples/openai-gpt-quizapp/sourcecode/Other/Customizations.xml b/samples/openai-gpt-quizapp/sourcecode/Other/Customizations.xml new file mode 100644 index 00000000..4767ab7d --- /dev/null +++ b/samples/openai-gpt-quizapp/sourcecode/Other/Customizations.xml @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + OpenAIGPT + /providers/Microsoft.PowerApps/apis/shared_openaigpt4ip + 1 + 0 + 1 + + + + 1033 + + \ No newline at end of file diff --git a/samples/openai-gpt-quizapp/sourcecode/Other/Solution.xml b/samples/openai-gpt-quizapp/sourcecode/Other/Solution.xml new file mode 100644 index 00000000..fc7f787f --- /dev/null +++ b/samples/openai-gpt-quizapp/sourcecode/Other/Solution.xml @@ -0,0 +1,85 @@ + + + + openaigpt3quizapp + + + + + 1.0.0.0 + 2 + + ra + + + + + + + ra + 12607 + +
+ 1 + 1 + + + + + + + + + + + + + + + + 1 + + + + + + + + +
+
+ 2 + 1 + + + + + + + + + + + + + + + + 1 + + + + + + + + +
+
+
+ + + + +
+
\ No newline at end of file