diff --git a/.DS_Store b/.DS_Store index de200ef..299a3f7 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/conditions/CHANGELOG.md b/CHANGELOG.md similarity index 100% rename from conditions/CHANGELOG.md rename to CHANGELOG.md diff --git a/LICENSE b/LICENSE deleted file mode 100644 index b141936..0000000 --- a/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2019 Milkshake Studio - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/conditions/LICENSE.md b/LICENSE.md similarity index 100% rename from conditions/LICENSE.md rename to LICENSE.md diff --git a/conditions/README.md b/README.md similarity index 100% rename from conditions/README.md rename to README.md diff --git a/conditions/composer.json b/composer.json similarity index 100% rename from conditions/composer.json rename to composer.json diff --git a/conditions/.craftplugin b/conditions/.craftplugin deleted file mode 100644 index 299907f..0000000 --- a/conditions/.craftplugin +++ /dev/null @@ -1,29 +0,0 @@ -{ - "pluginName": "Conditions", - "pluginDescription": "conditions on fields", - "pluginVersion": "1.0.0", - "pluginAuthorName": "Milkshake Studio", - "pluginVendorName": "CraftConditions", - "pluginAuthorUrl": "https://milkshake.studio", - "pluginAuthorGithub": "https://github.com/MilkshakeStudio/", - "codeComments": "yes", - "pluginComponents": [ - "elementtypes", - "models", - "records", - "services" - ], - "consolecommandName": "", - "controllerName": "", - "cpsectionName": "", - "elementName": "Conditions", - "fieldName": "", - "modelName": "ConditionalsModel", - "purchasableName": "", - "recordName": "ConditionalsRecord", - "serviceName": "ConditionsService", - "taskName": "", - "utilityName": "", - "widgetName": "", - "apiVersion": "api_version_3_0" -} \ No newline at end of file diff --git a/conditions/.gitignore b/conditions/.gitignore deleted file mode 100644 index a17970c..0000000 --- a/conditions/.gitignore +++ /dev/null @@ -1,32 +0,0 @@ -# CRAFT ENVIRONMENT -.env.php -.env.sh -.env - -# COMPOSER -/vendor - -# BUILD FILES -/bower_components/* -/node_modules/* -/build/* -/yarn-error.log - -# MISC FILES -.cache -.DS_Store -.idea -.project -.settings -*.esproj -*.sublime-workspace -*.sublime-project -*.tmproj -*.tmproject -.vscode/* -!.vscode/settings.json -!.vscode/tasks.json -!.vscode/launch.json -!.vscode/extensions.json -config.codekit3 -prepros-6.config diff --git a/conditions/resources/img/plugin-logo.png b/resources/img/plugin-logo.png similarity index 100% rename from conditions/resources/img/plugin-logo.png rename to resources/img/plugin-logo.png diff --git a/src/.DS_Store b/src/.DS_Store new file mode 100644 index 0000000..af988fc Binary files /dev/null and b/src/.DS_Store differ diff --git a/conditions/src/Conditions.php b/src/Conditions.php similarity index 100% rename from conditions/src/Conditions.php rename to src/Conditions.php diff --git a/conditions/src/assets/ConditionsAssets.php b/src/assets/ConditionsAssets.php similarity index 100% rename from conditions/src/assets/ConditionsAssets.php rename to src/assets/ConditionsAssets.php diff --git a/conditions/src/elements/Conditions.php b/src/elements/Conditions.php similarity index 100% rename from conditions/src/elements/Conditions.php rename to src/elements/Conditions.php diff --git a/conditions/src/icon-mask.svg b/src/icon-mask.svg similarity index 100% rename from conditions/src/icon-mask.svg rename to src/icon-mask.svg diff --git a/conditions/src/icon.svg b/src/icon.svg similarity index 100% rename from conditions/src/icon.svg rename to src/icon.svg diff --git a/conditions/src/migrations/Install.php b/src/migrations/Install.php similarity index 100% rename from conditions/src/migrations/Install.php rename to src/migrations/Install.php diff --git a/conditions/src/models/ConditionalsModel.php b/src/models/ConditionalsModel.php similarity index 100% rename from conditions/src/models/ConditionalsModel.php rename to src/models/ConditionalsModel.php diff --git a/conditions/src/records/ConditionalsRecord.php b/src/records/ConditionalsRecord.php similarity index 100% rename from conditions/src/records/ConditionalsRecord.php rename to src/records/ConditionalsRecord.php diff --git a/conditions/src/resources/icon.svg b/src/resources/icon.svg similarity index 100% rename from conditions/src/resources/icon.svg rename to src/resources/icon.svg diff --git a/conditions/src/resources/javascripts/conditions-atest3dc3r.js b/src/resources/javascripts/conditions-atest3dc3r.js similarity index 100% rename from conditions/src/resources/javascripts/conditions-atest3dc3r.js rename to src/resources/javascripts/conditions-atest3dc3r.js diff --git a/conditions/src/resources/javascripts/modules/builder.js b/src/resources/javascripts/modules/builder.js similarity index 100% rename from conditions/src/resources/javascripts/modules/builder.js rename to src/resources/javascripts/modules/builder.js diff --git a/conditions/src/resources/javascripts/modules/fld.js b/src/resources/javascripts/modules/fld.js similarity index 100% rename from conditions/src/resources/javascripts/modules/fld.js rename to src/resources/javascripts/modules/fld.js diff --git a/conditions/src/resources/javascripts/modules/render.js b/src/resources/javascripts/modules/render.js similarity index 100% rename from conditions/src/resources/javascripts/modules/render.js rename to src/resources/javascripts/modules/render.js diff --git a/conditions/src/resources/javascripts/reasons-6d1c1d9af95536f0cfb1.js b/src/resources/javascripts/reasons-6d1c1d9af95536f0cfb1.js similarity index 100% rename from conditions/src/resources/javascripts/reasons-6d1c1d9af95536f0cfb1.js rename to src/resources/javascripts/reasons-6d1c1d9af95536f0cfb1.js diff --git a/conditions/src/resources/javascripts/reasons.js b/src/resources/javascripts/reasons.js similarity index 100% rename from conditions/src/resources/javascripts/reasons.js rename to src/resources/javascripts/reasons.js diff --git a/conditions/src/resources/manifest.json b/src/resources/manifest.json similarity index 100% rename from conditions/src/resources/manifest.json rename to src/resources/manifest.json diff --git a/conditions/src/resources/rev-manifest.json b/src/resources/rev-manifest.json similarity index 100% rename from conditions/src/resources/rev-manifest.json rename to src/resources/rev-manifest.json diff --git a/conditions/src/resources/stylesheets/conditions-btest9098.css b/src/resources/stylesheets/conditions-btest9098.css similarity index 100% rename from conditions/src/resources/stylesheets/conditions-btest9098.css rename to src/resources/stylesheets/conditions-btest9098.css diff --git a/conditions/src/resources/stylesheets/reasons-8f9624f667.css b/src/resources/stylesheets/reasons-8f9624f667.css similarity index 100% rename from conditions/src/resources/stylesheets/reasons-8f9624f667.css rename to src/resources/stylesheets/reasons-8f9624f667.css diff --git a/conditions/src/services/ConditionsService.php b/src/services/ConditionsService.php similarity index 100% rename from conditions/src/services/ConditionsService.php rename to src/services/ConditionsService.php diff --git a/conditions/src/translations/en/conditions.php b/src/translations/en/conditions.php similarity index 100% rename from conditions/src/translations/en/conditions.php rename to src/translations/en/conditions.php