From 83d36526c35de3516b264d9ffa87813f3f8666c5 Mon Sep 17 00:00:00 2001 From: 1on Date: Fri, 22 May 2020 14:22:56 +0300 Subject: [PATCH] Library renamed to formulario --- .github/ISSUE_TEMPLATE/feature_request.md | 2 +- LICENSE.txt | 1 + build/rollup.config.js | 5 +- build/rollup.iife.config.js | 7 +- package.json | 173 ++++--- src/FileUpload.js | 388 +++++++-------- src/FormSubmission.js | 70 +-- src/Formulario.js | 276 +++++++++++ src/FormularioFiles.vue | 85 ++++ src/FormularioForm.vue | 167 +++++++ src/FormularioGrouping.vue | 43 ++ src/FormularioInput.vue | 331 +++++++++++++ src/Formulate.js | 352 -------------- src/FormulateErrors.vue | 76 --- src/FormulateFiles.vue | 85 ---- src/FormulateForm.vue | 175 ------- src/FormulateGrouping.vue | 122 ----- src/FormulateInput.vue | 396 ---------------- src/FormulateInputMixin.js | 25 - src/FormulateRepeatableProvider.vue | 73 --- src/FormulateSlot.js | 36 -- src/inputs/FormulateInputGroup.vue | 113 ----- src/libs/context.js | 340 +++++--------- src/libs/faux-uploader.js | 40 +- src/libs/handler.js | 6 +- src/libs/library.js | 74 +-- src/libs/mimes.js | 14 +- src/libs/registry.js | 422 ++++++++--------- src/libs/rules.js | 544 +++++++++++----------- src/libs/utils.js | 376 ++++++++------- src/locales/README.md | 9 - src/slots/FormulateAddMore.vue | 26 -- src/slots/FormulateHelp.vue | 19 - src/slots/FormulateLabel.vue | 18 - src/slots/FormulateRepeatable.vue | 37 -- src/slots/FormulateRepeatableRemove.vue | 25 - 36 files changed, 2108 insertions(+), 2843 deletions(-) create mode 100644 src/Formulario.js create mode 100644 src/FormularioFiles.vue create mode 100644 src/FormularioForm.vue create mode 100644 src/FormularioGrouping.vue create mode 100644 src/FormularioInput.vue delete mode 100644 src/Formulate.js delete mode 100644 src/FormulateErrors.vue delete mode 100644 src/FormulateFiles.vue delete mode 100644 src/FormulateForm.vue delete mode 100644 src/FormulateGrouping.vue delete mode 100644 src/FormulateInput.vue delete mode 100644 src/FormulateInputMixin.js delete mode 100644 src/FormulateRepeatableProvider.vue delete mode 100644 src/FormulateSlot.js delete mode 100644 src/inputs/FormulateInputGroup.vue delete mode 100644 src/locales/README.md delete mode 100644 src/slots/FormulateAddMore.vue delete mode 100644 src/slots/FormulateHelp.vue delete mode 100644 src/slots/FormulateLabel.vue delete mode 100644 src/slots/FormulateRepeatable.vue delete mode 100644 src/slots/FormulateRepeatableRemove.vue diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index c35265b..f7c0a81 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -10,5 +10,5 @@ assignees: '' **Describe the new feature you'd like** A clear and concise description of what you want to happen. -**What percentage of vue-formulate users would benefit?** +**What percentage of vue-formulario users would benefit?** 80% diff --git a/LICENSE.txt b/LICENSE.txt index e4b0ab2..29e0cf0 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,5 +1,6 @@ MIT License +Copyright (c) 2020 RetailDriver LLC Copyright (c) 2020 Braid LLC Permission is hereby granted, free of charge, to any person obtaining a copy diff --git a/build/rollup.config.js b/build/rollup.config.js index 538a8fe..40a816c 100644 --- a/build/rollup.config.js +++ b/build/rollup.config.js @@ -5,16 +5,15 @@ import vue from 'rollup-plugin-vue' // Handle .vue SFC files import { terser } from 'rollup-plugin-terser' export default { - input: 'src/Formulate.js', // Path relative to package.json + input: 'src/Formulario.js', // Path relative to package.json output: [ { - name: 'Formulate', + name: 'Formulario', exports: 'default', globals: { 'is-plain-object': 'isPlainObject', 'nanoid/non-secure': 'nanoid', 'is-url': 'isUrl', - '@braid/vue-formulate-i18n': 'VueFormulateI18n' }, sourcemap: false } diff --git a/build/rollup.iife.config.js b/build/rollup.iife.config.js index c60f3b0..9acd4bb 100644 --- a/build/rollup.iife.config.js +++ b/build/rollup.iife.config.js @@ -6,16 +6,15 @@ import internal from 'rollup-plugin-internal' import { terser } from 'rollup-plugin-terser' export default { - input: 'src/Formulate.js', // Path relative to package.json + input: 'src/Formulario.js', // Path relative to package.json output: { - name: 'VueFormulate', + name: 'VueFormulario', exports: 'default', format: 'iife', globals: { 'is-plain-object': 'isPlainObject', 'nanoid/non-secure': 'nanoid', 'is-url': 'isUrl', - '@braid/vue-formulate-i18n': 'VueFormulateI18n' } }, plugins: [ @@ -24,7 +23,7 @@ export default { preferBuiltins: false }), commonjs(), - internal(['is-plain-object', 'nanoid/non-secure', 'is-url', '@braid/vue-formulate-i18n']), + internal(['is-plain-object', 'nanoid/non-secure', 'is-url']), vue({ css: true, // Dynamically inject css as a