diff --git a/docs/.vuepress/components/Features.vue b/docs/.vuepress/components/Features.vue deleted file mode 100644 index a31b910..0000000 --- a/docs/.vuepress/components/Features.vue +++ /dev/null @@ -1,36 +0,0 @@ - - - - - diff --git a/docs/.vuepress/components/FormComposition.vue b/docs/.vuepress/components/FormComposition.vue deleted file mode 100644 index 6ef0ad4..0000000 --- a/docs/.vuepress/components/FormComposition.vue +++ /dev/null @@ -1,64 +0,0 @@ - - - - - diff --git a/docs/.vuepress/components/InputCheckbox.vue b/docs/.vuepress/components/InputCheckbox.vue deleted file mode 100644 index f18b409..0000000 --- a/docs/.vuepress/components/InputCheckbox.vue +++ /dev/null @@ -1,65 +0,0 @@ - - - - - diff --git a/docs/.vuepress/components/InputEmail.vue b/docs/.vuepress/components/InputEmail.vue deleted file mode 100644 index 93c6da1..0000000 --- a/docs/.vuepress/components/InputEmail.vue +++ /dev/null @@ -1,69 +0,0 @@ - - - - - diff --git a/docs/.vuepress/components/InputNumber.vue b/docs/.vuepress/components/InputNumber.vue deleted file mode 100644 index 51ca1bc..0000000 --- a/docs/.vuepress/components/InputNumber.vue +++ /dev/null @@ -1,67 +0,0 @@ - - - - - diff --git a/docs/.vuepress/components/InputPassword.vue b/docs/.vuepress/components/InputPassword.vue deleted file mode 100644 index 5f4a5c4..0000000 --- a/docs/.vuepress/components/InputPassword.vue +++ /dev/null @@ -1,76 +0,0 @@ - - - - - diff --git a/docs/.vuepress/components/InputRadio.vue b/docs/.vuepress/components/InputRadio.vue deleted file mode 100644 index ad0c794..0000000 --- a/docs/.vuepress/components/InputRadio.vue +++ /dev/null @@ -1,72 +0,0 @@ - - - - - diff --git a/docs/.vuepress/components/InputSelect.vue b/docs/.vuepress/components/InputSelect.vue deleted file mode 100644 index 5e4aa26..0000000 --- a/docs/.vuepress/components/InputSelect.vue +++ /dev/null @@ -1,73 +0,0 @@ - - - - - diff --git a/docs/.vuepress/components/InputText.vue b/docs/.vuepress/components/InputText.vue deleted file mode 100644 index fe782f3..0000000 --- a/docs/.vuepress/components/InputText.vue +++ /dev/null @@ -1,60 +0,0 @@ - - - - - diff --git a/docs/.vuepress/components/InputTextArea.vue b/docs/.vuepress/components/InputTextArea.vue deleted file mode 100644 index fa8d2d5..0000000 --- a/docs/.vuepress/components/InputTextArea.vue +++ /dev/null @@ -1,62 +0,0 @@ - - - - - diff --git a/docs/.vuepress/components/PhonePrefix.vue b/docs/.vuepress/components/PhonePrefix.vue deleted file mode 100644 index 6c765be..0000000 --- a/docs/.vuepress/components/PhonePrefix.vue +++ /dev/null @@ -1,75 +0,0 @@ - - - - - diff --git a/docs/.vuepress/components/SlotCustomField.vue b/docs/.vuepress/components/SlotCustomField.vue deleted file mode 100644 index a5c21cb..0000000 --- a/docs/.vuepress/components/SlotCustomField.vue +++ /dev/null @@ -1,99 +0,0 @@ - - - - - diff --git a/docs/.vuepress/components/ThirdParty.vue b/docs/.vuepress/components/ThirdParty.vue deleted file mode 100644 index f60baef..0000000 --- a/docs/.vuepress/components/ThirdParty.vue +++ /dev/null @@ -1,76 +0,0 @@ - - - - - diff --git a/docs/.vuepress/components/ValidationEmail.vue b/docs/.vuepress/components/ValidationEmail.vue deleted file mode 100644 index 94bec79..0000000 --- a/docs/.vuepress/components/ValidationEmail.vue +++ /dev/null @@ -1,75 +0,0 @@ - - - - - diff --git a/docs/.vuepress/components/ValidationMax.vue b/docs/.vuepress/components/ValidationMax.vue deleted file mode 100644 index 8440173..0000000 --- a/docs/.vuepress/components/ValidationMax.vue +++ /dev/null @@ -1,79 +0,0 @@ - - - - - diff --git a/docs/.vuepress/components/ValidationMaxLength.vue b/docs/.vuepress/components/ValidationMaxLength.vue deleted file mode 100644 index a6bb36c..0000000 --- a/docs/.vuepress/components/ValidationMaxLength.vue +++ /dev/null @@ -1,82 +0,0 @@ - - - - - diff --git a/docs/.vuepress/components/ValidationMin.vue b/docs/.vuepress/components/ValidationMin.vue deleted file mode 100644 index 0067dc7..0000000 --- a/docs/.vuepress/components/ValidationMin.vue +++ /dev/null @@ -1,79 +0,0 @@ - - - - - diff --git a/docs/.vuepress/components/ValidationMinLength.vue b/docs/.vuepress/components/ValidationMinLength.vue deleted file mode 100644 index d18a2ca..0000000 --- a/docs/.vuepress/components/ValidationMinLength.vue +++ /dev/null @@ -1,79 +0,0 @@ - - - - - diff --git a/docs/.vuepress/components/ValidationPattern.vue b/docs/.vuepress/components/ValidationPattern.vue deleted file mode 100644 index 6ae8f98..0000000 --- a/docs/.vuepress/components/ValidationPattern.vue +++ /dev/null @@ -1,82 +0,0 @@ - - - - - diff --git a/docs/.vuepress/components/ValidationRequired.vue b/docs/.vuepress/components/ValidationRequired.vue deleted file mode 100644 index ea879d6..0000000 --- a/docs/.vuepress/components/ValidationRequired.vue +++ /dev/null @@ -1,72 +0,0 @@ - - - - - diff --git a/docs/.vuepress/components/ValidationUrl.vue b/docs/.vuepress/components/ValidationUrl.vue deleted file mode 100644 index a2be9a6..0000000 --- a/docs/.vuepress/components/ValidationUrl.vue +++ /dev/null @@ -1,73 +0,0 @@ - - - - - diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js deleted file mode 100644 index 9fab64d..0000000 --- a/docs/.vuepress/config.js +++ /dev/null @@ -1,19 +0,0 @@ -const { description } = require('./config/meta'); -const head = require('./config/head'); -const plugins = require('./config/plugins'); -const themeConfig = require('./config/themeConfig'); - -module.exports = { - title: 'Vue Dynamic Forms', - description, - head, - plugins, - themeConfig, - configureWebpack: { - resolve: { - alias: { - '@': 'src', - }, - }, - }, -}; diff --git a/docs/.vuepress/config/head.js b/docs/.vuepress/config/head.js deleted file mode 100644 index 2f4ca57..0000000 --- a/docs/.vuepress/config/head.js +++ /dev/null @@ -1,84 +0,0 @@ -const isDeployPreview = require('./isDeployPreview'); -const meta = require('./meta'); - -const head = [ - [ - 'link', - { - href: - '//fonts.googleapis.com/css?family=Source+Sans+Pro:400,600|Roboto Mono', - rel: 'stylesheet', - type: 'text/css', - }, - ], - [ - 'link', - { - href: - '//fonts.googleapis.com/css?family=Dosis:300&text=Vue Dynamic Forms', - rel: 'stylesheet', - type: 'text/css', - }, - ], - ['link', { rel: 'icon', href: `/icons/favicon.ico` }], - [ - 'link', - { - rel: 'icon', - type: 'image/png', - sizes: '32x32', - href: '/icons/favicon-32x32.png', - }, - ], - [ - 'link', - { - rel: 'icon', - type: 'image/png', - sizes: '16x16', - href: '/icons/favicon-16x16.png', - }, - ], - ['link', { rel: 'shortcut icon', href: '/icons/favicon.ico' }], - ['meta', { name: 'theme-color', content: '#3eaf7c' }], - ['meta', { name: 'apple-mobile-web-app-capable', content: 'yes' }], - ['meta', { name: 'apple-mobile-web-app-status-bar-style', content: 'black' }], - ['link', { rel: 'apple-touch-icon', href: `/vue-dynamic-forms` }], - [ - 'link', - { - rel: 'mask-icon', - href: '/icons/safari-pinned-tab.svg', - color: '#3eaf7c', - }, - ], - [ - 'meta', - { - name: 'msapplication-TileImage', - content: '/icons/msapplication-icon-144x144.png', - }, - ], - ['meta', { name: 'msapplication-TileColor', content: '#000000' }], - ['meta', { name: 'title', content: meta.title }], - ['meta', { name: 'description', content: meta.description }], - ['link', { rel: 'icon', href: meta.icon, type: 'image/png' }], - ['meta', { property: 'og:image', content: meta.icon }], - ['meta', { property: 'twitter:image', content: meta.icon }], - ['meta', { name: 'description', content: meta.description }], - ['meta', { property: 'og:description', content: '' }], - ['meta', { property: 'twitter:description', content: meta.description }], - ['meta', { property: 'twitter:title', content: meta.title }], - ['meta', { property: 'og:title', content: meta.title }], - ['meta', { property: 'og:site_name', content: meta.title }], - ['meta', { property: 'og:url', content: meta.url }], -]; - -if (isDeployPreview) { - head.push( - ['meta', { name: 'robots', content: 'noindex' }], - ['meta', { name: 'googlebot', content: 'noindex' }], - ); -} - -module.exports = head; diff --git a/docs/.vuepress/config/isDeployPreview.js b/docs/.vuepress/config/isDeployPreview.js deleted file mode 100644 index 47bb083..0000000 --- a/docs/.vuepress/config/isDeployPreview.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = process.env.hasOwnProperty('DEPLOY_PREVIEW'); diff --git a/docs/.vuepress/config/meta.js b/docs/.vuepress/config/meta.js deleted file mode 100644 index c7f42d6..0000000 --- a/docs/.vuepress/config/meta.js +++ /dev/null @@ -1,7 +0,0 @@ -module.exports = { - title: 'Vue Dynamic Forms', - description: - 'Easy way to dynamically create reactive forms in vue based on varying business object model.', - // url: 'https://vue-select.org', - icon: '/vue-dynamic-forms.png', -}; diff --git a/docs/.vuepress/config/plugins.js b/docs/.vuepress/config/plugins.js deleted file mode 100644 index bb0e559..0000000 --- a/docs/.vuepress/config/plugins.js +++ /dev/null @@ -1,15 +0,0 @@ -const isDeployPreview = require('./isDeployPreview'); - -module.exports = [ - [ - '@vuepress/pwa', - { - serviceWorker: false, - updatePopup: true, - }, - ], - '@vuepress/plugin-register-components', - '@vuepress/plugin-active-header-links', - '@vuepress/plugin-search', - '@vuepress/plugin-nprogress', -]; diff --git a/docs/.vuepress/config/themeConfig.js b/docs/.vuepress/config/themeConfig.js deleted file mode 100644 index 2772534..0000000 --- a/docs/.vuepress/config/themeConfig.js +++ /dev/null @@ -1,59 +0,0 @@ -module.exports = { - repo: 'alvarosaburido/vue-dynamic-forms', - editLinks: true, - docsDir: 'docs', - logo: '/vue-dynamic-forms.png', - nav: [ - { - text: 'Sandbox', - target: '_blank', - link: 'https://codesandbox.io/s/vue-dynamic-forms-ftzes', - }, - ], - sidebar: { - '/': [ - { - title: 'Getting Started', - collapsable: false, - children: [ - ['guide/install', 'Installation'], - ['guide/usage', 'Usage'], - ], - }, - { - title: 'API', - collapsable: false, - children: [ - ['guide/fields', 'Fields'], - ['guide/props', 'Props'], - ['guide/events', 'Events'], - ['guide/models', 'Models'], - ['guide/slots', 'Slots'], - ], - }, - { - title: 'Theme & Styling', - collapsable: true, - children: [['guide/theming', 'Theming']], - }, - { - title: 'Validation', - collapsable: true, - children: [['guide/validation', 'Add validation']], - }, - { - title: 'Examples', - collapsable: true, - children: [ - ['guide/examples/phone-prefix-example', 'Phone Prefix'], - ['guide/examples/thirdparty', 'Third-Party'], - ], - }, - { - title: 'Advanced', - collapsable: true, - children: [['guide/netlify-forms', 'Netlify Forms']], - }, - ], - }, -}; diff --git a/docs/.vuepress/data/books.js b/docs/.vuepress/data/books.js deleted file mode 100644 index bc00994..0000000 --- a/docs/.vuepress/data/books.js +++ /dev/null @@ -1,164 +0,0 @@ -/* eslint-disable */ -export default [ - { - title: "Old Man's War", - author: { - firstName: "John", - lastName: "Scalzi" - } - }, - { - title: "The Lock Artist", - author: { - firstName: "Steve", - lastName: "Hamilton" - } - }, - { - title: "HTML5", - author: { - firstName: "Remy", - lastName: "Sharp" - } - }, - { - title: "Right Ho Jeeves", - author: { - firstName: "P.D", - lastName: "Woodhouse" - } - }, - { - title: "The Code of the Wooster", - author: { - firstName: "P.D", - lastName: "Woodhouse" - } - }, - { - title: "Thank You Jeeves", - author: { - firstName: "P.D", - lastName: "Woodhouse" - } - }, - { - title: "The DaVinci Code", - author: { - firstName: "Dan", - lastName: "Brown" - } - }, - { - title: "Angels & Demons", - author: { - firstName: "Dan", - lastName: "Brown" - } - }, - { - title: "The Silmarillion", - author: { - firstName: "J.R.R", - lastName: "Tolkien" - } - }, - { - title: "Syrup", - author: { - firstName: "Max", - lastName: "Barry" - } - }, - { - title: "The Lost Symbol", - author: { - firstName: "Dan", - lastName: "Brown" - } - }, - { - title: "The Book of Lies", - author: { - firstName: "Brad", - lastName: "Meltzer" - } - }, - { - title: "Lamb", - author: { - firstName: "Christopher", - lastName: "Moore" - } - }, - { - title: "Fool", - author: { - firstName: "Christopher", - lastName: "Moore" - } - }, - { - title: "Incompetence", - author: { - firstName: "Rob", - lastName: "Grant" - } - }, - { - title: "Fat", - author: { - firstName: "Rob", - lastName: "Grant" - } - }, - { - title: "Colony", - author: { - firstName: "Rob", - lastName: "Grant" - } - }, - { - title: "Backwards, Red Dwarf", - author: { - firstName: "Rob", - lastName: "Grant" - } - }, - { - title: "The Grand Design", - author: { - firstName: "Stephen", - lastName: "Hawking" - } - }, - { - title: "The Book of Samson", - author: { - firstName: "David", - lastName: "Maine" - } - }, - { - title: "The Preservationist", - author: { - firstName: "David", - lastName: "Maine" - } - }, - { - title: "Fallen", - author: { - firstName: "David", - lastName: "Maine" - } - }, - { - title: "Monster 1959", - author: { - firstName: "David", - lastName: "Maine" - } - } -] diff --git a/docs/.vuepress/data/countries.js b/docs/.vuepress/data/countries.js deleted file mode 100644 index cec5f3e..0000000 --- a/docs/.vuepress/data/countries.js +++ /dev/null @@ -1,246 +0,0 @@ -/* eslint-disable */ -export default [ - 'Afghanistan', - 'Åland Islands', - 'Albania', - 'Algeria', - 'American Samoa', - 'Andorra', - 'Angola', - 'Anguilla', - 'Antarctica', - 'Antigua and Barbuda', - 'Argentina', - 'Armenia', - 'Aruba', - 'Australia', - 'Austria', - 'Azerbaijan', - 'Bahamas', - 'Bahrain', - 'Bangladesh', - 'Barbados', - 'Belarus', - 'Belgium', - 'Belize', - 'Benin', - 'Bermuda', - 'Bhutan', - 'Bolivia', - 'Bosnia and Herzegovina', - 'Botswana', - 'Bouvet Island', - 'Brazil', - 'British Indian Ocean Territory', - 'Brunei Darussalam', - 'Bulgaria', - 'Burkina Faso', - 'Burundi', - 'Cambodia', - 'Cameroon', - 'Canada', - 'Cape Verde', - 'Cayman Islands', - 'Central African Republic', - 'Chad', - 'Chile', - 'China', - 'Christmas Island', - 'Cocos (Keeling) Islands', - 'Colombia', - 'Comoros', - 'Congo', - 'Congo, The Democratic Republic of The', - 'Cook Islands', - 'Costa Rica', - 'Cote D\'ivoire', - 'Croatia', - 'Cuba', - 'Cyprus', - 'Czech Republic', - 'Denmark', - 'Djibouti', - 'Dominica', - 'Dominican Republic', - 'Ecuador', - 'Egypt', - 'El Salvador', - 'Equatorial Guinea', - 'Eritrea', - 'Estonia', - 'Ethiopia', - 'Falkland Islands (Malvinas)', - 'Faroe Islands', - 'Fiji', - 'Finland', - 'France', - 'French Guiana', - 'French Polynesia', - 'French Southern Territories', - 'Gabon', - 'Gambia', - 'Georgia', - 'Germany', - 'Ghana', - 'Gibraltar', - 'Greece', - 'Greenland', - 'Grenada', - 'Guadeloupe', - 'Guam', - 'Guatemala', - 'Guernsey', - 'Guinea', - 'Guinea-bissau', - 'Guyana', - 'Haiti', - 'Heard Island and Mcdonald Islands', - 'Holy See (Vatican City State)', - 'Honduras', - 'Hong Kong', - 'Hungary', - 'Iceland', - 'India', - 'Indonesia', - 'Iran, Islamic Republic of', - 'Iraq', - 'Ireland', - 'Isle of Man', - 'Israel', - 'Italy', - 'Jamaica', - 'Japan', - 'Jersey', - 'Jordan', - 'Kazakhstan', - 'Kenya', - 'Kiribati', - 'Korea, Democratic People\'s Republic of', - 'Korea, Republic of', - 'Kuwait', - 'Kyrgyzstan', - 'Lao People\'s Democratic Republic', - 'Latvia', - 'Lebanon', - 'Lesotho', - 'Liberia', - 'Libyan Arab Jamahiriya', - 'Liechtenstein', - 'Lithuania', - 'Luxembourg', - 'Macao', - 'Macedonia, The Former Yugoslav Republic of', - 'Madagascar', - 'Malawi', - 'Malaysia', - 'Maldives', - 'Mali', - 'Malta', - 'Marshall Islands', - 'Martinique', - 'Mauritania', - 'Mauritius', - 'Mayotte', - 'Mexico', - 'Micronesia, Federated States of', - 'Moldova, Republic of', - 'Monaco', - 'Mongolia', - 'Montenegro', - 'Montserrat', - 'Morocco', - 'Mozambique', - 'Myanmar', - 'Namibia', - 'Nauru', - 'Nepal', - 'Netherlands', - 'Netherlands Antilles', - 'New Caledonia', - 'New Zealand', - 'Nicaragua', - 'Niger', - 'Nigeria', - 'Niue', - 'Norfolk Island', - 'Northern Mariana Islands', - 'Norway', - 'Oman', - 'Pakistan', - 'Palau', - 'Palestinian Territory, Occupied', - 'Panama', - 'Papua New Guinea', - 'Paraguay', - 'Peru', - 'Philippines', - 'Pitcairn', - 'Poland', - 'Portugal', - 'Puerto Rico', - 'Qatar', - 'Reunion', - 'Romania', - 'Russian Federation', - 'Rwanda', - 'Saint Helena', - 'Saint Kitts and Nevis', - 'Saint Lucia', - 'Saint Pierre and Miquelon', - 'Saint Vincent and The Grenadines', - 'Samoa', - 'San Marino', - 'Sao Tome and Principe', - 'Saudi Arabia', - 'Senegal', - 'Serbia', - 'Seychelles', - 'Sierra Leone', - 'Singapore', - 'Slovakia', - 'Slovenia', - 'Solomon Islands', - 'Somalia', - 'South Africa', - 'South Georgia and The South Sandwich Islands', - 'Spain', - 'Sri Lanka', - 'Sudan', - 'Suriname', - 'Svalbard and Jan Mayen', - 'Swaziland', - 'Sweden', - 'Switzerland', - 'Syrian Arab Republic', - 'Taiwan, Province of China', - 'Tajikistan', - 'Tanzania, United Republic of', - 'Thailand', - 'Timor-leste', - 'Togo', - 'Tokelau', - 'Tonga', - 'Trinidad and Tobago', - 'Tunisia', - 'Turkey', - 'Turkmenistan', - 'Turks and Caicos Islands', - 'Tuvalu', - 'Uganda', - 'Ukraine', - 'United Arab Emirates', - 'United Kingdom', - 'United States', - 'United States Minor Outlying Islands', - 'Uruguay', - 'Uzbekistan', - 'Vanuatu', - 'Venezuela', - 'Viet Nam', - 'Virgin Islands, British', - 'Virgin Islands, U.S.', - 'Wallis and Futuna', - 'Western Sahara', - 'Yemen', - 'Zambia', - 'Zimbabwe']; diff --git a/docs/.vuepress/data/countryCodes.js b/docs/.vuepress/data/countryCodes.js deleted file mode 100644 index 1aca88e..0000000 --- a/docs/.vuepress/data/countryCodes.js +++ /dev/null @@ -1,1218 +0,0 @@ -/* eslint-disable */ -export default [ - { - label: 'Afghanistan (‫افغانستان‬‎)', - si: 'af', - code: '93', - }, - { - label: 'Albania (Shqipëri)', - si: 'al', - code: '355', - }, - { - label: 'Algeria (‫الجزائر‬‎)', - si: 'dz', - code: '213', - }, - { - label: 'American Samoa', - si: 'as', - code: '1', - }, - { - label: 'Andorra', - si: 'ad', - code: '376', - }, - { - label: 'Angola', - si: 'ao', - code: '244', - }, - { - label: 'Anguilla', - si: 'ai', - code: '1', - }, - { - label: 'Antigua and Barbuda', - si: 'ag', - code: '1', - }, - { - label: 'Argentina', - si: 'ar', - code: '54', - }, - { - label: 'Armenia (Հայաստան)', - si: 'am', - code: '374', - }, - { - label: 'Aruba', - si: 'aw', - code: '297', - }, - { - label: 'Australia', - si: 'au', - code: '61', - }, - { - label: 'Austria (Österreich)', - si: 'at', - code: '43', - }, - { - label: 'Azerbaijan (Azərbaycan)', - si: 'az', - code: '994', - }, - { - label: 'Bahamas', - si: 'bs', - code: '1', - }, - { - label: 'Bahrain (‫البحرين‬‎)', - si: 'bh', - code: '973', - }, - { - label: 'Bangladesh (বাংলাদেশ)', - si: 'bd', - code: '880', - }, - { - label: 'Barbados', - si: 'bb', - code: '1', - }, - { - label: 'Belarus (Беларусь)', - si: 'by', - code: '375', - }, - { - label: 'Belgium (België)', - si: 'be', - code: '32', - }, - { - label: 'Belize', - si: 'bz', - code: '501', - }, - { - label: 'Benin (Bénin)', - si: 'bj', - code: '229', - }, - { - label: 'Bermuda', - si: 'bm', - code: '1', - }, - { - label: 'Bhutan (འབྲུག)', - si: 'bt', - code: '975', - }, - { - label: 'Bolivia', - si: 'bo', - code: '591', - }, - { - label: 'Bosnia and Herzegovina (Босна и Херцеговина)', - si: 'ba', - code: '387', - }, - { - label: 'Botswana', - si: 'bw', - code: '267', - }, - { - label: 'Brazil (Brasil)', - si: 'br', - code: '55', - }, - { - label: 'British Indian Ocean Territory', - si: 'io', - code: '246', - }, - { - label: 'British Virgin Islands', - si: 'vg', - code: '1', - }, - { - label: 'Brunei', - si: 'bn', - code: '673', - }, - { - label: 'Bulgaria (България)', - si: 'bg', - code: '359', - }, - { - label: 'Burkina Faso', - si: 'bf', - code: '226', - }, - { - label: 'Burundi (Uburundi)', - si: 'bi', - code: '257', - }, - { - label: 'Cambodia (កម្ពុជា)', - si: 'kh', - code: '855', - }, - { - label: 'Cameroon (Cameroun)', - si: 'cm', - code: '237', - }, - { - label: 'Canada', - si: 'ca', - code: '1', - }, - { - label: 'Cape Verde (Kabu Verdi)', - si: 'cv', - code: '238', - }, - { - label: 'Caribbean Netherlands', - si: 'bq', - code: '599', - }, - { - label: 'Cayman Islands', - si: 'ky', - code: '1', - }, - { - label: 'Central African Republic (République centrafricaine)', - si: 'cf', - code: '236', - }, - { - label: 'Chad (Tchad)', - si: 'td', - code: '235', - }, - { - label: 'Chile', - si: 'cl', - code: '56', - }, - { - label: 'China (中国)', - si: 'cn', - code: '86', - }, - { - label: 'Christmas Island', - si: 'cx', - code: '61', - }, - { - label: 'Cocos (Keeling) Islands', - si: 'cc', - code: '61', - }, - { - label: 'Colombia', - si: 'co', - code: '57', - }, - { - label: 'Comoros (‫جزر القمر‬‎)', - si: 'km', - code: '269', - }, - { - label: 'Congo (DRC) (Jamhuri ya Kidemokrasia ya Kongo)', - si: 'cd', - code: '243', - }, - { - label: 'Congo (Republic) (Congo-Brazzaville)', - si: 'cg', - code: '242', - }, - { - label: 'Cook Islands', - si: 'ck', - code: '682', - }, - { - label: 'Costa Rica', - si: 'cr', - code: '506', - }, - { - label: 'Côte d’Ivoire', - si: 'ci', - code: '225', - }, - { - label: 'Croatia (Hrvatska)', - si: 'hr', - code: '385', - }, - { - label: 'Cuba', - si: 'cu', - code: '53', - }, - { - label: 'Curaçao', - si: 'cw', - code: '599', - }, - { - label: 'Cyprus (Κύπρος)', - si: 'cy', - code: '357', - }, - { - label: 'Czech Republic (Česká republika)', - si: 'cz', - code: '420', - }, - { - label: 'Denmark (Danmark)', - si: 'dk', - code: '45', - }, - { - label: 'Djibouti', - si: 'dj', - code: '253', - }, - { - label: 'Dominica', - si: 'dm', - code: '1', - }, - { - label: 'Dominican Republic (República Dominicana)', - si: 'do', - code: '1', - }, - { - label: 'Ecuador', - si: 'ec', - code: '593', - }, - { - label: 'Egypt (‫مصر‬‎)', - si: 'eg', - code: '20', - }, - { - label: 'El Salvador', - si: 'sv', - code: '503', - }, - { - label: 'Equatorial Guinea (Guinea Ecuatorial)', - si: 'gq', - code: '240', - }, - { - label: 'Eritrea', - si: 'er', - code: '291', - }, - { - label: 'Estonia (Eesti)', - si: 'ee', - code: '372', - }, - { - label: 'Ethiopia', - si: 'et', - code: '251', - }, - { - label: 'Falkland Islands (Islas Malvinas)', - si: 'fk', - code: '500', - }, - { - label: 'Faroe Islands (Føroyar)', - si: 'fo', - code: '298', - }, - { - label: 'Fiji', - si: 'fj', - code: '679', - }, - { - label: 'Finland (Suomi)', - si: 'fi', - code: '358', - }, - { - label: 'France', - si: 'fr', - code: '33', - }, - { - label: 'French Guiana (Guyane française)', - si: 'gf', - code: '594', - }, - { - label: 'French Polynesia (Polynésie française)', - si: 'pf', - code: '689', - }, - { - label: 'Gabon', - si: 'ga', - code: '241', - }, - { - label: 'Gambia', - si: 'gm', - code: '220', - }, - { - label: 'Georgia (საქართველო)', - si: 'ge', - code: '995', - }, - { - label: 'Germany (Deutschland)', - si: 'de', - code: '49', - }, - { - label: 'Ghana (Gaana)', - si: 'gh', - code: '233', - }, - { - label: 'Gibraltar', - si: 'gi', - code: '350', - }, - { - label: 'Greece (Ελλάδα)', - si: 'gr', - code: '30', - }, - { - label: 'Greenland (Kalaallit Nunaat)', - si: 'gl', - code: '299', - }, - { - label: 'Grenada', - si: 'gd', - code: '1', - }, - { - label: 'Guadeloupe', - si: 'gp', - code: '590', - }, - { - label: 'Guam', - si: 'gu', - code: '1', - }, - { - label: 'Guatemala', - si: 'gt', - code: '502', - }, - { - label: 'Guernsey', - si: 'gg', - code: '44', - }, - { - label: 'Guinea (Guinée)', - si: 'gn', - code: '224', - }, - { - label: 'Guinea-Bissau (Guiné Bissau)', - si: 'gw', - code: '245', - }, - { - label: 'Guyana', - si: 'gy', - code: '592', - }, - { - label: 'Haiti', - si: 'ht', - code: '509', - }, - { - label: 'Honduras', - si: 'hn', - code: '504', - }, - { - label: 'Hong Kong (香港)', - si: 'hk', - code: '852', - }, - { - label: 'Hungary (Magyarország)', - si: 'hu', - code: '36', - }, - { - label: 'Iceland (Ísland)', - si: 'is', - code: '354', - }, - { - label: 'India (भारत)', - si: 'in', - code: '91', - }, - { - label: 'Indonesia', - si: 'id', - code: '62', - }, - { - label: 'Iran (‫ایران‬‎)', - si: 'ir', - code: '98', - }, - { - label: 'Iraq (‫العراق‬‎)', - si: 'iq', - code: '964', - }, - { - label: 'Ireland', - si: 'ie', - code: '353', - }, - { - label: 'Isle of Man', - si: 'im', - code: '44', - }, - { - label: 'Israel (‫ישראל‬‎)', - si: 'il', - code: '972', - }, - { - label: 'Italy (Italia)', - si: 'it', - code: '39', - }, - { - label: 'Jamaica', - si: 'jm', - code: '1', - }, - { - label: 'Japan (日本)', - si: 'jp', - code: '81', - }, - { - label: 'Jersey', - si: 'je', - code: '44', - }, - { - label: 'Jordan (‫الأردن‬‎)', - si: 'jo', - code: '962', - }, - { - label: 'Kazakhstan (Казахстан)', - si: 'kz', - code: '7', - }, - { - label: 'Kenya', - si: 'ke', - code: '254', - }, - { - label: 'Kiribati', - si: 'ki', - code: '686', - }, - { - label: 'Kosovo', - si: 'xk', - code: '383', - }, - { - label: 'Kuwait (‫الكويت‬‎)', - si: 'kw', - code: '965', - }, - { - label: 'Kyrgyzstan (Кыргызстан)', - si: 'kg', - code: '996', - }, - { - label: 'Laos (ລາວ)', - si: 'la', - code: '856', - }, - { - label: 'Latvia (Latvija)', - si: 'lv', - code: '371', - }, - { - label: 'Lebanon (‫لبنان‬‎)', - si: 'lb', - code: '961', - }, - { - label: 'Lesotho', - si: 'ls', - code: '266', - }, - { - label: 'Liberia', - si: 'lr', - code: '231', - }, - { - label: 'Libya (‫ليبيا‬‎)', - si: 'ly', - code: '218', - }, - { - label: 'Liechtenstein', - si: 'li', - code: '423', - }, - { - label: 'Lithuania (Lietuva)', - si: 'lt', - code: '370', - }, - { - label: 'Luxembourg', - si: 'lu', - code: '352', - }, - { - label: 'Macau (澳門)', - si: 'mo', - code: '853', - }, - { - label: 'Macedonia (FYROM) (Македонија)', - si: 'mk', - code: '389', - }, - { - label: 'Madagascar (Madagasikara)', - si: 'mg', - code: '261', - }, - { - label: 'Malawi', - si: 'mw', - code: '265', - }, - { - label: 'Malaysia', - si: 'my', - code: '60', - }, - { - label: 'Maldives', - si: 'mv', - code: '960', - }, - { - label: 'Mali', - si: 'ml', - code: '223', - }, - { - label: 'Malta', - si: 'mt', - code: '356', - }, - { - label: 'Marshall Islands', - si: 'mh', - code: '692', - }, - { - label: 'Martinique', - si: 'mq', - code: '596', - }, - { - label: 'Mauritania (‫موريتانيا‬‎)', - si: 'mr', - code: '222', - }, - { - label: 'Mauritius (Moris)', - si: 'mu', - code: '230', - }, - { - label: 'Mayotte', - si: 'yt', - code: '262', - }, - { - label: 'Mexico (México)', - si: 'mx', - code: '52', - }, - { - label: 'Micronesia', - si: 'fm', - code: '691', - }, - { - label: 'Moldova (Republica Moldova)', - si: 'md', - code: '373', - }, - { - label: 'Monaco', - si: 'mc', - code: '377', - }, - { - label: 'Mongolia (Монгол)', - si: 'mn', - code: '976', - }, - { - label: 'Montenegro (Crna Gora)', - si: 'me', - code: '382', - }, - { - label: 'Montserrat', - si: 'ms', - code: '1', - }, - { - label: 'Morocco (‫المغرب‬‎)', - si: 'ma', - code: '212', - }, - { - label: 'Mozambique (Moçambique)', - si: 'mz', - code: '258', - }, - { - label: 'Myanmar (Burma) (မြန်မာ)', - si: 'mm', - code: '95', - }, - { - label: 'Namibia (Namibië)', - si: 'na', - code: '264', - }, - { - label: 'Nauru', - si: 'nr', - code: '674', - }, - { - label: 'Nepal (नेपाल)', - si: 'np', - code: '977', - }, - { - label: 'Netherlands (Nederland)', - si: 'nl', - code: '31', - }, - { - label: 'New Caledonia (Nouvelle-Calédonie)', - si: 'nc', - code: '687', - }, - { - label: 'New Zealand', - si: 'nz', - code: '64', - }, - { - label: 'Nicaragua', - si: 'ni', - code: '505', - }, - { - label: 'Niger (Nijar)', - si: 'ne', - code: '227', - }, - { - label: 'Nigeria', - si: 'ng', - code: '234', - }, - { - label: 'Niue', - si: 'nu', - code: '683', - }, - { - label: 'Norfolk Island', - si: 'nf', - code: '672', - }, - { - label: 'North Korea (조선 민주주의 인민 공화국)', - si: 'kp', - code: '850', - }, - { - label: 'Northern Mariana Islands', - si: 'mp', - code: '1', - }, - { - label: 'Norway (Norge)', - si: 'no', - code: '47', - }, - { - label: 'Oman (‫عُمان‬‎)', - si: 'om', - code: '968', - }, - { - label: 'Pakistan (‫پاکستان‬‎)', - si: 'pk', - code: '92', - }, - { - label: 'Palau', - si: 'pw', - code: '680', - }, - { - label: 'Palestine (‫فلسطين‬‎)', - si: 'ps', - code: '970', - }, - { - label: 'Panama (Panamá)', - si: 'pa', - code: '507', - }, - { - label: 'Papua New Guinea', - si: 'pg', - code: '675', - }, - { - label: 'Paraguay', - si: 'py', - code: '595', - }, - { - label: 'Peru (Perú)', - si: 'pe', - code: '51', - }, - { - label: 'Philippines', - si: 'ph', - code: '63', - }, - { - label: 'Poland (Polska)', - si: 'pl', - code: '48', - }, - { - label: 'Portugal', - si: 'pt', - code: '351', - }, - { - label: 'Puerto Rico', - si: 'pr', - code: '1', - }, - { - label: 'Qatar (‫قطر‬‎)', - si: 'qa', - code: '974', - }, - { - label: 'Réunion (La Réunion)', - si: 're', - code: '262', - }, - { - label: 'Romania (România)', - si: 'ro', - code: '40', - }, - { - label: 'Russia (Россия)', - si: 'ru', - code: '7', - }, - { - label: 'Rwanda', - si: 'rw', - code: '250', - }, - { - label: 'Saint Barthélemy', - si: 'bl', - code: '590', - }, - { - label: 'Saint Helena', - si: 'sh', - code: '290', - }, - { - label: 'Saint Kitts and Nevis', - si: 'kn', - code: '1', - }, - { - label: 'Saint Lucia', - si: 'lc', - code: '1', - }, - { - label: 'Saint Martin (Saint-Martin (partie française))', - si: 'mf', - code: '590', - }, - { - label: 'Saint Pierre and Miquelon (Saint-Pierre-et-Miquelon)', - si: 'pm', - code: '508', - }, - { - label: 'Saint Vincent and the Grenadines', - si: 'vc', - code: '1', - }, - { - label: 'Samoa', - si: 'ws', - code: '685', - }, - { - label: 'San Marino', - si: 'sm', - code: '378', - }, - { - label: 'São Tomé and Príncipe (São Tomé e Príncipe)', - si: 'st', - code: '239', - }, - { - label: 'Saudi Arabia (‫المملكة العربية السعودية‬‎)', - si: 'sa', - code: '966', - }, - { - label: 'Senegal (Sénégal)', - si: 'sn', - code: '221', - }, - { - label: 'Serbia (Србија)', - si: 'rs', - code: '381', - }, - { - label: 'Seychelles', - si: 'sc', - code: '248', - }, - { - label: 'Sierra Leone', - si: 'sl', - code: '232', - }, - { - label: 'Singapore', - si: 'sg', - code: '65', - }, - { - label: 'Sint Maarten', - si: 'sx', - code: '1', - }, - { - label: 'Slovakia (Slovensko)', - si: 'sk', - code: '421', - }, - { - label: 'Slovenia (Slovenija)', - si: 'si', - code: '386', - }, - { - label: 'Solomon Islands', - si: 'sb', - code: '677', - }, - { - label: 'Somalia (Soomaaliya)', - si: 'so', - code: '252', - }, - { - label: 'South Africa', - si: 'za', - code: '27', - }, - { - label: 'South Korea (대한민국)', - si: 'kr', - code: '82', - }, - { - label: 'South Sudan (‫جنوب السودان‬‎)', - si: 'ss', - code: '211', - }, - { - label: 'Spain (España)', - si: 'es', - code: '34', - }, - { - label: 'Sri Lanka (ශ්‍රී ලංකාව)', - si: 'lk', - code: '94', - }, - { - label: 'Sudan (‫السودان‬‎)', - si: 'sd', - code: '249', - }, - { - label: 'Suriname', - si: 'sr', - code: '597', - }, - { - label: 'Svalbard and Jan Mayen', - si: 'sj', - code: '47', - }, - { - label: 'Swaziland', - si: 'sz', - code: '268', - }, - { - label: 'Sweden (Sverige)', - si: 'se', - code: '46', - }, - { - label: 'Switzerland (Schweiz)', - si: 'ch', - code: '41', - }, - { - label: 'Syria (‫سوريا‬‎)', - si: 'sy', - code: '963', - }, - { - label: 'Taiwan (台灣)', - si: 'tw', - code: '886', - }, - { - label: 'Tajikistan', - si: 'tj', - code: '992', - }, - { - label: 'Tanzania', - si: 'tz', - code: '255', - }, - { - label: 'Thailand (ไทย)', - si: 'th', - code: '66', - }, - { - label: 'Timor-Leste', - si: 'tl', - code: '670', - }, - { - label: 'Togo', - si: 'tg', - code: '228', - }, - { - label: 'Tokelau', - si: 'tk', - code: '690', - }, - { - label: 'Tonga', - si: 'to', - code: '676', - }, - { - label: 'Trinidad and Tobago', - si: 'tt', - code: '1', - }, - { - label: 'Tunisia (‫تونس‬‎)', - si: 'tn', - code: '216', - }, - { - label: 'Turkey (Türkiye)', - si: 'tr', - code: '90', - }, - { - label: 'Turkmenistan', - si: 'tm', - code: '993', - }, - { - label: 'Turks and Caicos Islands', - si: 'tc', - code: '1', - }, - { - label: 'Tuvalu', - si: 'tv', - code: '688', - }, - { - label: 'U.S. Virgin Islands', - si: 'vi', - code: '1', - }, - { - label: 'Uganda', - si: 'ug', - code: '256', - }, - { - label: 'Ukraine (Україна)', - si: 'ua', - code: '380', - }, - { - label: 'United Arab Emirates (‫الإمارات العربية المتحدة‬‎)', - si: 'ae', - code: '971', - }, - { - label: 'United Kingdom', - si: 'gb', - code: '44', - }, - { - label: 'United States', - si: 'us', - code: '1', - }, - { - label: 'Uruguay', - si: 'uy', - code: '598', - }, - { - label: 'Uzbekistan (Oʻzbekiston)', - si: 'uz', - code: '998', - }, - { - label: 'Vanuatu', - si: 'vu', - code: '678', - }, - { - label: 'Vatican City (Città del Vaticano)', - si: 'va', - code: '39', - }, - { - label: 'Venezuela', - si: 've', - code: '58', - }, - { - label: 'Vietnam (Việt Nam)', - si: 'vn', - code: '84', - }, - { - label: 'Wallis and Futuna (Wallis-et-Futuna)', - si: 'wf', - code: '681', - }, - { - label: 'Western Sahara (‫الصحراء الغربية‬‎)', - si: 'eh', - code: '212', - }, - { - label: 'Yemen (‫اليمن‬‎)', - si: 'ye', - code: '967', - }, - { - label: 'Zambia', - si: 'zm', - code: '260', - }, - { - label: 'Zimbabwe', - si: 'zw', - code: '263', - }, - { - label: 'Åland Islands', - si: 'ax', - code: '358', - }, -]; diff --git a/docs/.vuepress/data/features.js b/docs/.vuepress/data/features.js deleted file mode 100644 index 83612a3..0000000 --- a/docs/.vuepress/data/features.js +++ /dev/null @@ -1,22 +0,0 @@ -export default [ - { - title: 'Magical 🧞‍♂️✨', - text: - 'Generating forms quickly from a simple data object, a JSON string or the response from an ajax call using only a DynamicForm component, yup, that easily. ', - }, - { - title: 'Customizable 🧑‍🎤👩🏻‍🎤', - text: - 'Vue Dynamic Forms is UI agnostic, plain style ready for you to customize, or you can import one of the default themes', - }, - { - title: 'Built-in Validation 🦾', - text: - 'No need to add more dependencies for your input validations, Vue Dynamic Forms comes with a pretty solid built-in validations to make your life and your project easier.', - }, - { - title: 'Flexible 🤸', - text: - 'This library is aimed to give an awesome developing experience, you need a really custom input type that is not in the library? Create your own and attach it vía scoped slots', - }, -]; diff --git a/docs/.vuepress/dist/404.html b/docs/.vuepress/dist/404.html deleted file mode 100644 index c6ac86b..0000000 --- a/docs/.vuepress/dist/404.html +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - Vue Dynamic Forms - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

404

There's nothing here.
- Take me home. -
- - - diff --git a/docs/.vuepress/dist/assets/css/0.styles.65c0f685.css b/docs/.vuepress/dist/assets/css/0.styles.65c0f685.css deleted file mode 100644 index 9a172a8..0000000 --- a/docs/.vuepress/dist/assets/css/0.styles.65c0f685.css +++ /dev/null @@ -1 +0,0 @@ -code[class*=language-],pre[class*=language-]{color:#ccc;background:none;font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-ms-hyphens:none;hyphens:none}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto}:not(pre)>code[class*=language-],pre[class*=language-]{background:#2d2d2d}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.block-comment,.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#999}.token.punctuation{color:#ccc}.token.attr-name,.token.deleted,.token.namespace,.token.tag{color:#e2777a}.token.function-name{color:#6196cc}.token.boolean,.token.function,.token.number{color:#f08d49}.token.class-name,.token.constant,.token.property,.token.symbol{color:#f8c555}.token.atrule,.token.builtin,.token.important,.token.keyword,.token.selector{color:#cc99cd}.token.attr-value,.token.char,.token.regex,.token.string,.token.variable{color:#7ec699}.token.entity,.token.operator,.token.url{color:#67cdcc}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}.token.inserted{color:green}.theme-default-content code{color:#476582;padding:.25rem .5rem;margin:0;font-size:.85em;background-color:rgba(27,31,35,.05);border-radius:3px}.theme-default-content code .token.deleted{color:#ec5975}.theme-default-content code .token.inserted{color:#3eaf7c}.theme-default-content pre,.theme-default-content pre[class*=language-]{line-height:1.4;padding:1.25rem 1.5rem;margin:.85rem 0;background-color:#282c34;border-radius:6px;overflow:auto}.theme-default-content pre[class*=language-] code,.theme-default-content pre code{color:#fff;padding:0;background-color:transparent;border-radius:0}div[class*=language-]{position:relative;background-color:#282c34;border-radius:6px}div[class*=language-] .highlight-lines{-webkit-user-select:none;-ms-user-select:none;user-select:none;padding-top:1.3rem;position:absolute;top:0;left:0;width:100%;line-height:1.4}div[class*=language-] .highlight-lines .highlighted{background-color:rgba(0,0,0,.66)}div[class*=language-] pre,div[class*=language-] pre[class*=language-]{background:transparent;position:relative;z-index:1}div[class*=language-]:before{position:absolute;z-index:3;top:.8em;right:1em;font-size:.75rem;color:hsla(0,0%,100%,.4)}div[class*=language-]:not(.line-numbers-mode) .line-numbers-wrapper{display:none}div[class*=language-].line-numbers-mode .highlight-lines .highlighted{position:relative}div[class*=language-].line-numbers-mode .highlight-lines .highlighted:before{content:" ";position:absolute;z-index:3;left:0;top:0;display:block;width:3.5rem;height:100%;background-color:rgba(0,0,0,.66)}div[class*=language-].line-numbers-mode pre{padding-left:4.5rem;vertical-align:middle}div[class*=language-].line-numbers-mode .line-numbers-wrapper{position:absolute;top:0;width:3.5rem;text-align:center;color:hsla(0,0%,100%,.3);padding:1.25rem 0;line-height:1.4}div[class*=language-].line-numbers-mode .line-numbers-wrapper br{-webkit-user-select:none;-ms-user-select:none;user-select:none}div[class*=language-].line-numbers-mode .line-numbers-wrapper .line-number{position:relative;z-index:4;-webkit-user-select:none;-ms-user-select:none;user-select:none;font-size:.85em}div[class*=language-].line-numbers-mode:after{content:"";position:absolute;z-index:2;top:0;left:0;width:3.5rem;height:100%;border-radius:6px 0 0 6px;border-right:1px solid rgba(0,0,0,.66);background-color:#282c34}div[class~=language-js]:before{content:"js"}div[class~=language-ts]:before{content:"ts"}div[class~=language-html]:before{content:"html"}div[class~=language-md]:before{content:"md"}div[class~=language-vue]:before{content:"vue"}div[class~=language-css]:before{content:"css"}div[class~=language-sass]:before{content:"sass"}div[class~=language-scss]:before{content:"scss"}div[class~=language-less]:before{content:"less"}div[class~=language-stylus]:before{content:"stylus"}div[class~=language-go]:before{content:"go"}div[class~=language-java]:before{content:"java"}div[class~=language-c]:before{content:"c"}div[class~=language-sh]:before{content:"sh"}div[class~=language-yaml]:before{content:"yaml"}div[class~=language-py]:before{content:"py"}div[class~=language-docker]:before{content:"docker"}div[class~=language-dockerfile]:before{content:"dockerfile"}div[class~=language-makefile]:before{content:"makefile"}div[class~=language-javascript]:before{content:"js"}div[class~=language-typescript]:before{content:"ts"}div[class~=language-markup]:before{content:"html"}div[class~=language-markdown]:before{content:"md"}div[class~=language-json]:before{content:"json"}div[class~=language-ruby]:before{content:"rb"}div[class~=language-python]:before{content:"py"}div[class~=language-bash]:before{content:"sh"}div[class~=language-php]:before{content:"php"}.custom-block .custom-block-title{font-weight:600;margin-bottom:-.4rem}.custom-block.danger,.custom-block.tip,.custom-block.warning{padding:.1rem 1.5rem;border-left-width:.5rem;border-left-style:solid;margin:1rem 0}.custom-block.tip{background-color:#f3f5f7;border-color:#42b983}.custom-block.warning{background-color:rgba(255,229,100,.3);border-color:#e7c000;color:#6b5900}.custom-block.warning .custom-block-title{color:#b29400}.custom-block.warning a{color:#2c3e50}.custom-block.danger{background-color:#ffe6e6;border-color:#c00;color:#4d0000}.custom-block.danger .custom-block-title{color:#900}.custom-block.danger a{color:#2c3e50}.custom-block.details{display:block;position:relative;border-radius:2px;margin:1.6em 0;padding:1.6em;background-color:#eee}.custom-block.details h4{margin-top:0}.custom-block.details figure:last-child,.custom-block.details p:last-child{margin-bottom:0;padding-bottom:0}.custom-block.details summary{outline:none;cursor:pointer}.arrow{display:inline-block;width:0;height:0}.arrow.up{border-bottom:6px solid #ccc}.arrow.down,.arrow.up{border-left:4px solid transparent;border-right:4px solid transparent}.arrow.down{border-top:6px solid #ccc}.arrow.right{border-left:6px solid #ccc}.arrow.left,.arrow.right{border-top:4px solid transparent;border-bottom:4px solid transparent}.arrow.left{border-right:6px solid #ccc}.theme-default-content:not(.custom){max-width:740px;margin:0 auto;padding:2rem 2.5rem}@media (max-width:959px){.theme-default-content:not(.custom){padding:2rem}}@media (max-width:419px){.theme-default-content:not(.custom){padding:1.5rem}}.table-of-contents .badge{vertical-align:middle}body,html{padding:0;margin:0;background-color:#fff}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:16px;color:#2c3e50}.page{padding-left:20rem}.navbar{z-index:20;right:0;height:3.6rem;background-color:#fff;box-sizing:border-box;border-bottom:1px solid #eaecef}.navbar,.sidebar-mask{position:fixed;top:0;left:0}.sidebar-mask{z-index:9;width:100vw;height:100vh;display:none}.sidebar{font-size:16px;background-color:#fff;width:20rem;position:fixed;z-index:10;margin:0;top:3.6rem;left:0;bottom:0;box-sizing:border-box;border-right:1px solid #eaecef;overflow-y:auto}.theme-default-content:not(.custom)>:first-child{margin-top:3.6rem}.theme-default-content:not(.custom) a:hover{text-decoration:underline}.theme-default-content:not(.custom) p.demo{padding:1rem 1.5rem;border:1px solid #ddd;border-radius:4px}.theme-default-content:not(.custom) img{max-width:100%}.theme-default-content.custom{padding:0;margin:0}.theme-default-content.custom img{max-width:100%}a{font-weight:500;text-decoration:none}a,p a code{color:#3eaf7c}p a code{font-weight:400}kbd{background:#eee;border:.15rem solid #ddd;border-bottom:.25rem solid #ddd;border-radius:.15rem;padding:0 .15em}blockquote{font-size:1rem;color:#999;border-left:.2rem solid #dfe2e5;margin:1rem 0;padding:.25rem 0 .25rem 1rem}blockquote>p{margin:0}ol,ul{padding-left:1.2em}strong{font-weight:600}h1,h2,h3,h4,h5,h6{font-weight:600;line-height:1.25}.theme-default-content:not(.custom)>h1,.theme-default-content:not(.custom)>h2,.theme-default-content:not(.custom)>h3,.theme-default-content:not(.custom)>h4,.theme-default-content:not(.custom)>h5,.theme-default-content:not(.custom)>h6{margin-top:-3.1rem;padding-top:4.6rem;margin-bottom:0}.theme-default-content:not(.custom)>h1:first-child,.theme-default-content:not(.custom)>h2:first-child,.theme-default-content:not(.custom)>h3:first-child,.theme-default-content:not(.custom)>h4:first-child,.theme-default-content:not(.custom)>h5:first-child,.theme-default-content:not(.custom)>h6:first-child{margin-top:-1.5rem;margin-bottom:1rem}.theme-default-content:not(.custom)>h1:first-child+.custom-block,.theme-default-content:not(.custom)>h1:first-child+p,.theme-default-content:not(.custom)>h1:first-child+pre,.theme-default-content:not(.custom)>h2:first-child+.custom-block,.theme-default-content:not(.custom)>h2:first-child+p,.theme-default-content:not(.custom)>h2:first-child+pre,.theme-default-content:not(.custom)>h3:first-child+.custom-block,.theme-default-content:not(.custom)>h3:first-child+p,.theme-default-content:not(.custom)>h3:first-child+pre,.theme-default-content:not(.custom)>h4:first-child+.custom-block,.theme-default-content:not(.custom)>h4:first-child+p,.theme-default-content:not(.custom)>h4:first-child+pre,.theme-default-content:not(.custom)>h5:first-child+.custom-block,.theme-default-content:not(.custom)>h5:first-child+p,.theme-default-content:not(.custom)>h5:first-child+pre,.theme-default-content:not(.custom)>h6:first-child+.custom-block,.theme-default-content:not(.custom)>h6:first-child+p,.theme-default-content:not(.custom)>h6:first-child+pre{margin-top:2rem}h1:hover .header-anchor,h2:hover .header-anchor,h3:hover .header-anchor,h4:hover .header-anchor,h5:hover .header-anchor,h6:hover .header-anchor{opacity:1}h1{font-size:2.2rem}h2{font-size:1.65rem;padding-bottom:.3rem;border-bottom:1px solid #eaecef}h3{font-size:1.35rem}a.header-anchor{font-size:.85em;float:left;margin-left:-.87em;padding-right:.23em;margin-top:.125em;opacity:0}a.header-anchor:hover{text-decoration:none}.line-number,code,kbd{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}ol,p,ul{line-height:1.7}hr{border:0;border-top:1px solid #eaecef}table{border-collapse:collapse;margin:1rem 0;display:block;overflow-x:auto}tr{border-top:1px solid #dfe2e5}tr:nth-child(2n){background-color:#f6f8fa}td,th{border:1px solid #dfe2e5;padding:.6em 1em}.theme-container.sidebar-open .sidebar-mask{display:block}.theme-container.no-navbar .theme-default-content:not(.custom)>h1,.theme-container.no-navbar h2,.theme-container.no-navbar h3,.theme-container.no-navbar h4,.theme-container.no-navbar h5,.theme-container.no-navbar h6{margin-top:1.5rem;padding-top:0}.theme-container.no-navbar .sidebar{top:0}@media (min-width:720px){.theme-container.no-sidebar .sidebar{display:none}.theme-container.no-sidebar .page{padding-left:0}}@media (max-width:959px){.sidebar{font-size:15px;width:16.4rem}.page{padding-left:16.4rem}}@media (max-width:719px){.sidebar{top:0;padding-top:3.6rem;transform:translateX(-100%);transition:transform .2s ease}.page{padding-left:0}.theme-container.sidebar-open .sidebar{transform:translateX(0)}.theme-container.no-navbar .sidebar{padding-top:0}}@media (max-width:419px){h1{font-size:1.9rem}.theme-default-content div[class*=language-]{margin:.85rem -1.5rem;border-radius:0}}#nprogress{pointer-events:none}#nprogress .bar{background:#3eaf7c;position:fixed;z-index:1031;top:0;left:0;width:100%;height:2px}#nprogress .peg{display:block;position:absolute;right:0;width:100px;height:100%;box-shadow:0 0 10px #3eaf7c,0 0 5px #3eaf7c;opacity:1;transform:rotate(3deg) translateY(-4px)}#nprogress .spinner{display:block;position:fixed;z-index:1031;top:15px;right:15px}#nprogress .spinner-icon{width:18px;height:18px;box-sizing:border-box;border-color:#3eaf7c transparent transparent #3eaf7c;border-style:solid;border-width:2px;border-radius:50%;-webkit-animation:nprogress-spinner .4s linear infinite;animation:nprogress-spinner .4s linear infinite}.nprogress-custom-parent{overflow:hidden;position:relative}.nprogress-custom-parent #nprogress .bar,.nprogress-custom-parent #nprogress .spinner{position:absolute}@-webkit-keyframes nprogress-spinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes nprogress-spinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.icon.outbound{color:#aaa;display:inline-block;vertical-align:middle;position:relative;top:-1px}.home{padding:3.6rem 2rem 0;max-width:960px;margin:0 auto;display:block}.home .hero{text-align:center}.home .hero img{max-width:100%;max-height:280px;display:block;margin:3rem auto 1.5rem}.home .hero h1{font-size:3rem}.home .hero .action,.home .hero .description,.home .hero h1{margin:1.8rem auto}.home .hero .description{max-width:35rem;font-size:1.6rem;line-height:1.3;color:#6a8bad}.home .hero .action-button{display:inline-block;font-size:1.2rem;color:#fff;background-color:#3eaf7c;padding:.8rem 1.6rem;border-radius:4px;transition:background-color .1s ease;box-sizing:border-box;border-bottom:1px solid #389d70}.home .hero .action-button:hover{background-color:#4abf8a}.home .features{border-top:1px solid #eaecef;padding:1.2rem 0;margin-top:2.5rem;display:flex;flex-wrap:wrap;align-items:flex-start;align-content:stretch;justify-content:space-between}.home .feature{flex-grow:1;flex-basis:30%;max-width:30%}.home .feature h2{font-size:1.4rem;font-weight:500;border-bottom:none;padding-bottom:0;color:#3a5169}.home .feature p{color:#4e6e8e}.home .footer{padding:2.5rem;border-top:1px solid #eaecef;text-align:center;color:#4e6e8e}@media (max-width:719px){.home .features{flex-direction:column}.home .feature{max-width:100%;padding:0 2.5rem}}@media (max-width:419px){.home{padding-left:1.5rem;padding-right:1.5rem}.home .hero img{max-height:210px;margin:2rem auto 1.2rem}.home .hero h1{font-size:2rem}.home .hero .action,.home .hero .description,.home .hero h1{margin:1.2rem auto}.home .hero .description{font-size:1.2rem}.home .hero .action-button{font-size:1rem;padding:.6rem 1.2rem}.home .feature h2{font-size:1.25rem}}.search-box{display:inline-block;position:relative;margin-right:1rem}.search-box input{cursor:text;width:10rem;height:2rem;color:#4e6e8e;display:inline-block;border:1px solid #cfd4db;border-radius:2rem;font-size:.9rem;line-height:2rem;padding:0 .5rem 0 2rem;outline:none;transition:all .2s ease;background:#fff url(/assets/img/search.83621669.svg) .6rem .5rem no-repeat;background-size:1rem}.search-box input:focus{cursor:auto;border-color:#3eaf7c}.search-box .suggestions{background:#fff;width:20rem;position:absolute;top:2rem;border:1px solid #cfd4db;border-radius:6px;padding:.4rem;list-style-type:none}.search-box .suggestions.align-right{right:0}.search-box .suggestion{line-height:1.4;padding:.4rem .6rem;border-radius:4px;cursor:pointer}.search-box .suggestion a{white-space:normal;color:#5d82a6}.search-box .suggestion a .page-title{font-weight:600}.search-box .suggestion a .header{font-size:.9em;margin-left:.25em}.search-box .suggestion.focused{background-color:#f3f4f5}.search-box .suggestion.focused a{color:#3eaf7c}@media (max-width:959px){.search-box input{cursor:pointer;width:0;border-color:transparent;position:relative}.search-box input:focus{cursor:text;left:0;width:10rem}}@media (-ms-high-contrast:none){.search-box input{height:2rem}}@media (max-width:959px) and (min-width:719px){.search-box .suggestions{left:0}}@media (max-width:719px){.search-box{margin-right:0}.search-box input{left:1rem}.search-box .suggestions{right:0}}@media (max-width:419px){.search-box .suggestions{width:calc(100vw - 4rem)}.search-box input:focus{width:8rem}}.sidebar-button{cursor:pointer;display:none;width:1.25rem;height:1.25rem;position:absolute;padding:.6rem;top:.6rem;left:1rem}.sidebar-button .icon{display:block;width:1.25rem;height:1.25rem}@media (max-width:719px){.sidebar-button{display:block}}.dropdown-enter,.dropdown-leave-to{height:0!important}.dropdown-wrapper{cursor:pointer}.dropdown-wrapper .dropdown-title{display:block;font-size:.9rem;font-family:inherit;cursor:inherit;padding:inherit;line-height:1.4rem;background:transparent;border:none;font-weight:500;color:#2c3e50}.dropdown-wrapper .dropdown-title:hover{border-color:transparent}.dropdown-wrapper .dropdown-title .arrow{vertical-align:middle;margin-top:-1px;margin-left:.4rem}.dropdown-wrapper .nav-dropdown .dropdown-item{color:inherit;line-height:1.7rem}.dropdown-wrapper .nav-dropdown .dropdown-item h4{margin:.45rem 0 0;border-top:1px solid #eee;padding:.45rem 1.5rem 0 1.25rem}.dropdown-wrapper .nav-dropdown .dropdown-item .dropdown-subitem-wrapper{padding:0;list-style:none}.dropdown-wrapper .nav-dropdown .dropdown-item .dropdown-subitem-wrapper .dropdown-subitem{font-size:.9em}.dropdown-wrapper .nav-dropdown .dropdown-item a{display:block;line-height:1.7rem;position:relative;border-bottom:none;font-weight:400;margin-bottom:0;padding:0 1.5rem 0 1.25rem}.dropdown-wrapper .nav-dropdown .dropdown-item a.router-link-active,.dropdown-wrapper .nav-dropdown .dropdown-item a:hover{color:#3eaf7c}.dropdown-wrapper .nav-dropdown .dropdown-item a.router-link-active:after{content:"";width:0;height:0;border-left:5px solid #3eaf7c;border-top:3px solid transparent;border-bottom:3px solid transparent;position:absolute;top:calc(50% - 2px);left:9px}.dropdown-wrapper .nav-dropdown .dropdown-item:first-child h4{margin-top:0;padding-top:0;border-top:0}@media (max-width:719px){.dropdown-wrapper.open .dropdown-title{margin-bottom:.5rem}.dropdown-wrapper .dropdown-title{font-weight:600;font-size:inherit}.dropdown-wrapper .dropdown-title:hover{color:#3eaf7c}.dropdown-wrapper .nav-dropdown{transition:height .1s ease-out;overflow:hidden}.dropdown-wrapper .nav-dropdown .dropdown-item h4{border-top:0;margin-top:0;padding-top:0}.dropdown-wrapper .nav-dropdown .dropdown-item>a,.dropdown-wrapper .nav-dropdown .dropdown-item h4{font-size:15px;line-height:2rem}.dropdown-wrapper .nav-dropdown .dropdown-item .dropdown-subitem{font-size:14px;padding-left:1rem}}@media (min-width:719px){.dropdown-wrapper{height:1.8rem}.dropdown-wrapper.open .nav-dropdown,.dropdown-wrapper:hover .nav-dropdown{display:block!important}.dropdown-wrapper.open:blur{display:none}.dropdown-wrapper .dropdown-title .arrow{border-left:4px solid transparent;border-right:4px solid transparent;border-top:6px solid #ccc;border-bottom:0}.dropdown-wrapper .nav-dropdown{display:none;height:auto!important;box-sizing:border-box;max-height:calc(100vh - 2.7rem);overflow-y:auto;position:absolute;top:100%;right:0;background-color:#fff;padding:.6rem 0;border:1px solid;border-color:#ddd #ddd #ccc;text-align:left;border-radius:.25rem;white-space:nowrap;margin:0}}.nav-links{display:inline-block}.nav-links a{line-height:1.4rem;color:inherit}.nav-links a.router-link-active,.nav-links a:hover{color:#3eaf7c}.nav-links .nav-item{position:relative;display:inline-block;margin-left:1.5rem;line-height:2rem}.nav-links .nav-item:first-child{margin-left:0}.nav-links .repo-link{margin-left:1.5rem}@media (max-width:719px){.nav-links .nav-item,.nav-links .repo-link{margin-left:0}}@media (min-width:719px){.nav-links a.router-link-active,.nav-links a:hover{color:#2c3e50}.nav-item>a:not(.external).router-link-active,.nav-item>a:not(.external):hover{margin-bottom:-2px;border-bottom:2px solid #46bd87}}.navbar{padding:.7rem 1.5rem;line-height:2.2rem}.navbar a,.navbar img,.navbar span{display:inline-block}.navbar .logo{height:2.2rem;min-width:2.2rem;margin-right:.8rem;vertical-align:top}.navbar .site-name{font-size:1.3rem;font-weight:600;color:#2c3e50;position:relative}.navbar .links{padding-left:1.5rem;box-sizing:border-box;background-color:#fff;white-space:nowrap;font-size:.9rem;position:absolute;right:1.5rem;top:.7rem;display:flex}.navbar .links .search-box{flex:0 0 auto;vertical-align:top}@media (max-width:719px){.navbar{padding-left:4rem}.navbar .can-hide{display:none}.navbar .links{padding-left:1.5rem}.navbar .site-name{width:calc(100vw - 9.4rem);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}}.page-edit{max-width:740px;margin:0 auto;padding:2rem 2.5rem}@media (max-width:959px){.page-edit{padding:2rem}}@media (max-width:419px){.page-edit{padding:1.5rem}}.page-edit{padding-top:1rem;padding-bottom:1rem;overflow:auto}.page-edit .edit-link{display:inline-block}.page-edit .edit-link a{color:#4e6e8e;margin-right:.25rem}.page-edit .last-updated{float:right;font-size:.9em}.page-edit .last-updated .prefix{font-weight:500;color:#4e6e8e}.page-edit .last-updated .time{font-weight:400;color:#aaa}@media (max-width:719px){.page-edit .edit-link{margin-bottom:.5rem}.page-edit .last-updated{font-size:.8em;float:none;text-align:left}}.page-nav{max-width:740px;margin:0 auto;padding:2rem 2.5rem}@media (max-width:959px){.page-nav{padding:2rem}}@media (max-width:419px){.page-nav{padding:1.5rem}}.page-nav{padding-top:1rem;padding-bottom:0}.page-nav .inner{min-height:2rem;margin-top:0;border-top:1px solid #eaecef;padding-top:1rem;overflow:auto}.page-nav .next{float:right}.page{padding-bottom:2rem;display:block}.sidebar-group .sidebar-group{padding-left:.5em}.sidebar-group:not(.collapsable) .sidebar-heading:not(.clickable){cursor:auto;color:inherit}.sidebar-group.is-sub-group{padding-left:0}.sidebar-group.is-sub-group>.sidebar-heading{font-size:.95em;line-height:1.4;font-weight:400;padding-left:2rem}.sidebar-group.is-sub-group>.sidebar-heading:not(.clickable){opacity:.5}.sidebar-group.is-sub-group>.sidebar-group-items{padding-left:1rem}.sidebar-group.is-sub-group>.sidebar-group-items>li>.sidebar-link{font-size:.95em;border-left:none}.sidebar-group.depth-2>.sidebar-heading{border-left:none}.sidebar-heading{color:#2c3e50;transition:color .15s ease;cursor:pointer;font-size:1.1em;font-weight:700;padding:.35rem 1.5rem .35rem 1.25rem;width:100%;box-sizing:border-box;margin:0;border-left:.25rem solid transparent}.sidebar-heading.open,.sidebar-heading:hover{color:inherit}.sidebar-heading .arrow{position:relative;top:-.12em;left:.5em}.sidebar-heading.clickable.active{font-weight:600;color:#3eaf7c;border-left-color:#3eaf7c}.sidebar-heading.clickable:hover{color:#3eaf7c}.sidebar-group-items{transition:height .1s ease-out;font-size:.95em;overflow:hidden}.sidebar .sidebar-sub-headers{padding-left:1rem;font-size:.95em}a.sidebar-link{font-size:1em;font-weight:400;display:inline-block;color:#2c3e50;border-left:.25rem solid transparent;padding:.35rem 1rem .35rem 1.25rem;line-height:1.4;width:100%;box-sizing:border-box}a.sidebar-link:hover{color:#3eaf7c}a.sidebar-link.active{font-weight:600;color:#3eaf7c;border-left-color:#3eaf7c}.sidebar-group a.sidebar-link{padding-left:2rem}.sidebar-sub-headers a.sidebar-link{padding-top:.25rem;padding-bottom:.25rem;border-left:none}.sidebar-sub-headers a.sidebar-link.active{font-weight:500}.sidebar ul{padding:0;margin:0;list-style-type:none}.sidebar a{display:inline-block}.sidebar .nav-links{display:none;border-bottom:1px solid #eaecef;padding:.5rem 0 .75rem}.sidebar .nav-links a{font-weight:600}.sidebar .nav-links .nav-item,.sidebar .nav-links .repo-link{display:block;line-height:1.25rem;font-size:1.1em;padding:.5rem 0 .5rem 1.5rem}.sidebar>.sidebar-links{padding:1.5rem 0}.sidebar>.sidebar-links>li>a.sidebar-link{font-size:1.1em;line-height:1.7;font-weight:700}.sidebar>.sidebar-links>li:not(:first-child){margin-top:.75rem}@media (max-width:719px){.sidebar .nav-links{display:block}.sidebar .nav-links .dropdown-wrapper .nav-dropdown .dropdown-item a.router-link-active:after{top:calc(1rem - 2px)}.sidebar>.sidebar-links{padding:1rem 0}}#codefund{border-bottom:1px solid #eaecef;min-height:115px}#codefund+.sidebar-links{padding-top:1rem}.features{display:flex;list-style:none;padding:0;margin:0 -15px;justify-content:flex-start;flex-wrap:wrap}.feature{padding:15px;width:45%}.avocado-field{position:relative}.avocado-field .form-control{border-color:#aec64c;background-color:rgba(226,235,93,.32);border-radius:16px}.avocado-field i{position:absolute;top:11px;right:0}.form-label{display:inline-block;margin-bottom:.5rem}.form-group{width:100%;margin-bottom:1rem}.form-group--error .form-label{color:#dc3545}.form-group--error .form-control{border-color:#dc3545;background:#fae3e5}.form-group .error{font-size:11px;color:#dc3545}.form-control{display:block;width:100%;padding:.375rem .75rem;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-size:1rem;border:1px solid #e9ecef;border-radius:.25rem}.form-control:not(textarea){height:calc(1.5em + .75rem + 2px)}.form-control::-webkit-input-placeholder{color:#e9ecef;opacity:1}.form-control::-moz-placeholder{color:#e9ecef;opacity:1}.form-control:-ms-input-placeholder{color:#e9ecef;opacity:1}.form-control::-ms-input-placeholder{color:#e9ecef;opacity:1}.form-control::placeholder{color:#e9ecef;opacity:1}.library-example{background-color:#efefef;border-bottom:5px solid #ccc;padding:1rem;margin-top:1rem}.hint{font-size:11px}.form-composition{display:flex;justify-content:space-between}.col{width:45%}pre{color:#fff;font-size:12px}.badge[data-v-15b7b770]{display:inline-block;font-size:14px;height:18px;line-height:18px;border-radius:3px;padding:0 6px;color:#fff}.badge.green[data-v-15b7b770],.badge.tip[data-v-15b7b770],.badge[data-v-15b7b770]{background-color:#42b983}.badge.error[data-v-15b7b770]{background-color:#da5961}.badge.warn[data-v-15b7b770],.badge.warning[data-v-15b7b770],.badge.yellow[data-v-15b7b770]{background-color:#e7c000}.badge+.badge[data-v-15b7b770]{margin-left:5px} \ No newline at end of file diff --git a/docs/.vuepress/dist/assets/img/search.83621669.svg b/docs/.vuepress/dist/assets/img/search.83621669.svg deleted file mode 100644 index 03d8391..0000000 --- a/docs/.vuepress/dist/assets/img/search.83621669.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/docs/.vuepress/dist/assets/js/1.7e7c5c5d.js b/docs/.vuepress/dist/assets/js/1.7e7c5c5d.js deleted file mode 100644 index 80fe7d3..0000000 --- a/docs/.vuepress/dist/assets/js/1.7e7c5c5d.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{303:function(t,n,e){e(47),e(48),e(70),e(372),e(178),e(24),e(324),e(100),e(108),e(170),e(95),e(173),e(66),e(181),e(49),e(109),e(373),e(71),e(374),e(375),e(106),e(376),e(189),e(188),e(377),e(182),e(378),e(103),e(93),e(110),e(9),e(379),e(310),e(45),e(381),e(96),e(26),e(306),e(67),e(308),e(309),e(382),e(101),e(30);var r=e(385);t.exports=function(t){var n={};function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"===r(t)&&t&&t.__esModule)return t;var o=Object.create(null);if(e.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var i in t)e.d(o,i,function(n){return t[n]}.bind(null,i));return o},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s="fb15")}({"00ee":function(t,n,e){var r={};r[e("b622")("toStringTag")]="z",t.exports="[object z]"===String(r)},"0366":function(t,n,e){var r=e("1c0b");t.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 0:return function(){return t.call(n)};case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,o){return t.call(n,e,r,o)}}return function(){return t.apply(n,arguments)}}},"057f":function(t,n,e){var o=e("fc6a"),i=e("241c").f,u={}.toString,a="object"==("undefined"==typeof window?"undefined":r(window))&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"[object Window]"==u.call(t)?function(t){try{return i(t)}catch(t){return a.slice()}}(t):i(o(t))}},"06cf":function(t,n,e){var r=e("83ab"),o=e("d1e7"),i=e("5c6c"),u=e("fc6a"),a=e("c04e"),c=e("5135"),f=e("0cfb"),l=Object.getOwnPropertyDescriptor;n.f=r?l:function(t,n){if(t=u(t),n=a(n,!0),f)try{return l(t,n)}catch(t){}if(c(t,n))return i(!o.f.call(t,n),t[n])}},"0cfb":function(t,n,e){var r=e("83ab"),o=e("d039"),i=e("cc12");t.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},"0d03":function(t,n,e){var r=e("6eeb"),o=Date.prototype,i=o.toString,u=o.getTime;new Date(NaN)+""!="Invalid Date"&&r(o,"toString",(function(){var t=u.call(this);return t==t?i.call(this):"Invalid Date"}))},"13d5":function(t,n,e){"use strict";var r=e("23e7"),o=e("d58f").left,i=e("a640"),u=e("ae40"),a=i("reduce"),c=u("reduce",{1:0});r({target:"Array",proto:!0,forced:!a||!c},{reduce:function(t){return o(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"159b":function(t,n,e){var r=e("da84"),o=e("fdbc"),i=e("17c2"),u=e("9112");for(var a in o){var c=r[a],f=c&&c.prototype;if(f&&f.forEach!==i)try{u(f,"forEach",i)}catch(t){f.forEach=i}}},"17c2":function(t,n,e){"use strict";var r=e("b727").forEach,o=e("a640"),i=e("ae40"),u=o("forEach"),a=i("forEach");t.exports=u&&a?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},"1be4":function(t,n,e){var r=e("d066");t.exports=r("document","documentElement")},"1c0b":function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},"1c7e":function(t,n,e){var r=e("b622")("iterator"),o=!1;try{var i=0,u={next:function(){return{done:!!i++}},return:function(){o=!0}};u[r]=function(){return this},Array.from(u,(function(){throw 2}))}catch(t){}t.exports=function(t,n){if(!n&&!o)return!1;var e=!1;try{var i={};i[r]=function(){return{next:function(){return{done:e=!0}}}},t(i)}catch(t){}return e}},"1d1c":function(t,n,e){var r=e("23e7"),o=e("83ab");r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperties:e("37e8")})},"1d80":function(t,n){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},"1dde":function(t,n,e){var r=e("d039"),o=e("b622"),i=e("2d00"),u=o("species");t.exports=function(t){return i>=51||!r((function(){var n=[];return(n.constructor={})[u]=function(){return{foo:1}},1!==n[t](Boolean).foo}))}},"23cb":function(t,n,e){var r=e("a691"),o=Math.max,i=Math.min;t.exports=function(t,n){var e=r(t);return e<0?o(e+n,0):i(e,n)}},"23e7":function(t,n,e){var o=e("da84"),i=e("06cf").f,u=e("9112"),a=e("6eeb"),c=e("ce4e"),f=e("e893"),l=e("94ca");t.exports=function(t,n){var e,s,d,p,v,h=t.target,m=t.global,b=t.stat;if(e=m?o:b?o[h]||c(h,{}):(o[h]||{}).prototype)for(s in n){if(p=n[s],d=t.noTargetGet?(v=i(e,s))&&v.value:e[s],!l(m?s:h+(b?".":"#")+s,t.forced)&&void 0!==d){if(r(p)===r(d))continue;f(p,d)}(t.sham||d&&d.sham)&&u(p,"sham",!0),a(e,s,p,t)}}},"241c":function(t,n,e){var r=e("ca84"),o=e("7839").concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},"25f0":function(t,n,e){"use strict";var r=e("6eeb"),o=e("825a"),i=e("d039"),u=e("ad6d"),a=RegExp.prototype,c=a.toString,f=i((function(){return"/a/b"!=c.call({source:"a",flags:"b"})})),l="toString"!=c.name;(f||l)&&r(RegExp.prototype,"toString",(function(){var t=o(this),n=String(t.source),e=t.flags;return"/"+n+"/"+String(void 0===e&&t instanceof RegExp&&!("flags"in a)?u.call(t):e)}),{unsafe:!0})},2626:function(t,n,e){"use strict";var r=e("d066"),o=e("9bf2"),i=e("b622"),u=e("83ab"),a=i("species");t.exports=function(t){var n=r(t),e=o.f;u&&n&&!n[a]&&e(n,a,{configurable:!0,get:function(){return this}})}},"277d":function(t,n,e){e("23e7")({target:"Array",stat:!0},{isArray:e("e8b5")})},"2d00":function(t,n,e){var r,o,i=e("da84"),u=e("342f"),a=i.process,c=a&&a.versions,f=c&&c.v8;f?o=(r=f.split("."))[0]+r[1]:u&&(!(r=u.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=u.match(/Chrome\/(\d+)/))&&(o=r[1]),t.exports=o&&+o},"342f":function(t,n,e){var r=e("d066");t.exports=r("navigator","userAgent")||""},"35a1":function(t,n,e){var r=e("f5df"),o=e("3f8c"),i=e("b622")("iterator");t.exports=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[r(t)]}},"37e8":function(t,n,e){var r=e("83ab"),o=e("9bf2"),i=e("825a"),u=e("df75");t.exports=r?Object.defineProperties:function(t,n){i(t);for(var e,r=u(n),a=r.length,c=0;a>c;)o.f(t,e=r[c++],n[e]);return t}},"3bbe":function(t,n,e){var r=e("861d");t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},"3ca3":function(t,n,e){"use strict";var r=e("6547").charAt,o=e("69f3"),i=e("7dd0"),u=o.set,a=o.getterFor("String Iterator");i(String,"String",(function(t){u(this,{type:"String Iterator",string:String(t),index:0})}),(function(){var t,n=a(this),e=n.string,o=n.index;return o>=e.length?{value:void 0,done:!0}:(t=r(e,o),n.index+=t.length,{value:t,done:!1})}))},"3f8c":function(t,n){t.exports={}},4160:function(t,n,e){"use strict";var r=e("23e7"),o=e("17c2");r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},"428f":function(t,n,e){var r=e("da84");t.exports=r},"44ad":function(t,n,e){var r=e("d039"),o=e("c6b6"),i="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},"44d2":function(t,n,e){var r=e("b622"),o=e("7c73"),i=e("9bf2"),u=r("unscopables"),a=Array.prototype;null==a[u]&&i.f(a,u,{configurable:!0,value:o(null)}),t.exports=function(t){a[u][t]=!0}},"44e7":function(t,n,e){var r=e("861d"),o=e("c6b6"),i=e("b622")("match");t.exports=function(t){var n;return r(t)&&(void 0!==(n=t[i])?!!n:"RegExp"==o(t))}},4930:function(t,n,e){var r=e("d039");t.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},"4d63":function(t,n,e){var r=e("83ab"),o=e("da84"),i=e("94ca"),u=e("7156"),a=e("9bf2").f,c=e("241c").f,f=e("44e7"),l=e("ad6d"),s=e("9f7f"),d=e("6eeb"),p=e("d039"),v=e("69f3").set,h=e("2626"),m=e("b622")("match"),b=o.RegExp,y=b.prototype,g=/a/g,x=/a/g,C=new b(g)!==g,S=s.UNSUPPORTED_Y;if(r&&i("RegExp",!C||S||p((function(){return x[m]=!1,b(g)!=g||b(x)==x||"/a/i"!=b(g,"i")})))){for(var w=function(t,n){var e,r=this instanceof w,o=f(t),i=void 0===n;if(!r&&o&&t.constructor===w&&i)return t;C?o&&!i&&(t=t.source):t instanceof w&&(i&&(n=l.call(t)),t=t.source),S&&(e=!!n&&n.indexOf("y")>-1)&&(n=n.replace(/y/g,""));var a=u(C?new b(t,n):b(t,n),r?this:y,w);return S&&e&&v(a,{sticky:e}),a},O=function(t){t in w||a(w,t,{configurable:!0,get:function(){return b[t]},set:function(n){b[t]=n}})},_=c(b),j=0;_.length>j;)O(_[j++]);y.constructor=w,w.prototype=y,d(o,"RegExp",w)}h("RegExp")},"4d64":function(t,n,e){var r=e("fc6a"),o=e("50c4"),i=e("23cb"),u=function(t){return function(n,e,u){var a,c=r(n),f=o(c.length),l=i(u,f);if(t&&e!=e){for(;f>l;)if((a=c[l++])!=a)return!0}else for(;f>l;l++)if((t||l in c)&&c[l]===e)return t||l||0;return!t&&-1}};t.exports={includes:u(!0),indexOf:u(!1)}},"4de4":function(t,n,e){"use strict";var r=e("23e7"),o=e("b727").filter,i=e("1dde"),u=e("ae40"),a=i("filter"),c=u("filter");r({target:"Array",proto:!0,forced:!a||!c},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(t,n,e){"use strict";var r=e("0366"),o=e("7b0b"),i=e("9bdd"),u=e("e95a"),a=e("50c4"),c=e("8418"),f=e("35a1");t.exports=function(t){var n,e,l,s,d,p,v=o(t),h="function"==typeof this?this:Array,m=arguments.length,b=m>1?arguments[1]:void 0,y=void 0!==b,g=f(v),x=0;if(y&&(b=r(b,m>2?arguments[2]:void 0,2)),null==g||h==Array&&u(g))for(e=new h(n=a(v.length));n>x;x++)p=y?b(v[x],x):v[x],c(e,x,p);else for(d=(s=g.call(v)).next,e=new h;!(l=d.call(s)).done;x++)p=y?i(s,b,[l.value,x],!0):l.value,c(e,x,p);return e.length=x,e}},"4fad":function(t,n,e){var r=e("23e7"),o=e("6f53").entries;r({target:"Object",stat:!0},{entries:function(t){return o(t)}})},"50c4":function(t,n,e){var r=e("a691"),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},5135:function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},5692:function(t,n,e){var r=e("c430"),o=e("c6cd");(t.exports=function(t,n){return o[t]||(o[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.6.4",mode:r?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(t,n,e){var r=e("d066"),o=e("241c"),i=e("7418"),u=e("825a");t.exports=r("Reflect","ownKeys")||function(t){var n=o.f(u(t)),e=i.f;return e?n.concat(e(t)):n}},5899:function(t,n){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},"58a8":function(t,n,e){var r=e("1d80"),o="["+e("5899")+"]",i=RegExp("^"+o+o+"*"),u=RegExp(o+o+"*$"),a=function(t){return function(n){var e=String(r(n));return 1&t&&(e=e.replace(i,"")),2&t&&(e=e.replace(u,"")),e}};t.exports={start:a(1),end:a(2),trim:a(3)}},"5c6c":function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},6547:function(t,n,e){var r=e("a691"),o=e("1d80"),i=function(t){return function(n,e){var i,u,a=String(o(n)),c=r(e),f=a.length;return c<0||c>=f?t?"":void 0:(i=a.charCodeAt(c))<55296||i>56319||c+1===f||(u=a.charCodeAt(c+1))<56320||u>57343?t?a.charAt(c):i:t?a.slice(c,c+2):u-56320+(i-55296<<10)+65536}};t.exports={codeAt:i(!1),charAt:i(!0)}},"65f0":function(t,n,e){var r=e("861d"),o=e("e8b5"),i=e("b622")("species");t.exports=function(t,n){var e;return o(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!o(e.prototype)?r(e)&&null===(e=e[i])&&(e=void 0):e=void 0),new(void 0===e?Array:e)(0===n?0:n)}},"69f3":function(t,n,e){var r,o,i,u=e("7f9a"),a=e("da84"),c=e("861d"),f=e("9112"),l=e("5135"),s=e("f772"),d=e("d012"),p=a.WeakMap;if(u){var v=new p,h=v.get,m=v.has,b=v.set;r=function(t,n){return b.call(v,t,n),n},o=function(t){return h.call(v,t)||{}},i=function(t){return m.call(v,t)}}else{var y=s("state");d[y]=!0,r=function(t,n){return f(t,y,n),n},o=function(t){return l(t,y)?t[y]:{}},i=function(t){return l(t,y)}}t.exports={set:r,get:o,has:i,enforce:function(t){return i(t)?o(t):r(t,{})},getterFor:function(t){return function(n){var e;if(!c(n)||(e=o(n)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return e}}}},"6eeb":function(t,n,e){var r=e("da84"),o=e("9112"),i=e("5135"),u=e("ce4e"),a=e("8925"),c=e("69f3"),f=c.get,l=c.enforce,s=String(String).split("String");(t.exports=function(t,n,e,a){var c=!!a&&!!a.unsafe,f=!!a&&!!a.enumerable,d=!!a&&!!a.noTargetGet;"function"==typeof e&&("string"!=typeof n||i(e,"name")||o(e,"name",n),l(e).source=s.join("string"==typeof n?n:"")),t!==r?(c?!d&&t[n]&&(f=!0):delete t[n],f?t[n]=e:o(t,n,e)):f?t[n]=e:u(n,e)})(Function.prototype,"toString",(function(){return"function"==typeof this&&f(this).source||a(this)}))},"6f53":function(t,n,e){var r=e("83ab"),o=e("df75"),i=e("fc6a"),u=e("d1e7").f,a=function(t){return function(n){for(var e,a=i(n),c=o(a),f=c.length,l=0,s=[];f>l;)e=c[l++],r&&!u.call(a,e)||s.push(t?[e,a[e]]:a[e]);return s}};t.exports={entries:a(!0),values:a(!1)}},7156:function(t,n,e){var r=e("861d"),o=e("d2bb");t.exports=function(t,n,e){var i,u;return o&&"function"==typeof(i=n.constructor)&&i!==e&&r(u=i.prototype)&&u!==e.prototype&&o(t,u),t}},7418:function(t,n){n.f=Object.getOwnPropertySymbols},"746f":function(t,n,e){var r=e("428f"),o=e("5135"),i=e("e538"),u=e("9bf2").f;t.exports=function(t){var n=r.Symbol||(r.Symbol={});o(n,t)||u(n,t,{value:i.f(t)})}},7839:function(t,n){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7a82":function(t,n,e){var r=e("23e7"),o=e("83ab");r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:e("9bf2").f})},"7b0b":function(t,n,e){var r=e("1d80");t.exports=function(t){return Object(r(t))}},"7c73":function(t,n,e){var r,o=e("825a"),i=e("37e8"),u=e("7839"),a=e("d012"),c=e("1be4"),f=e("cc12"),l=e("f772"),s=l("IE_PROTO"),d=function(){},p=function(t){return" - - diff --git a/docs/.vuepress/dist/guide/fields.html b/docs/.vuepress/dist/guide/fields.html deleted file mode 100644 index 3ab6c0a..0000000 --- a/docs/.vuepress/dist/guide/fields.html +++ /dev/null @@ -1,257 +0,0 @@ - - - - - - Input Fields | Vue Dynamic Forms - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

# Input Fields

By default, Vue Dynamic Forms cover the following input types:

  • Text
  • Email
  • Password
  • Url
  • Number
  • Checkbox
  • Radio
  • Select
  • Textarea

TIP

You can also include your very own custom input using slots (Check Slots)

All the input types are instances of FormField which ends up creating the following html:

<div class="dynamic-input form-group">
-  <label for="username" class="form-label"> Username </label
-  ><input
-    id="username"
-    name="username"
-    type="text"
-    class="form-control"
-    autocomplete="off"
-  />
-</div>
-

# Text

The input of type text defines a single-line text field entry. If a FormField is created without passing the property type, it will be text by default.

import { FormField } from '@asigloo/vue-dynamic-forms';
-
-const yourAwesomeComponent = {
-  name: 'InputDemo',
-  data() {
-    return {
-      testForm: {
-        id: 'form-text-demo',
-        fields: [new FormField({ label: 'Username', name: 'username' })],
-      },
-    };
-  },
-};
-export default yourAwesomeComponent;
-

# Email

The input of type email is used for input fields that should contain an e-mail address.

import { FormField, FormValidation, email } from '@asigloo/vue-dynamic-forms';
-
-const yourAwesomeComponent = {
-  name: 'EmailDemo',
-  data() {
-    return {
-      testForm: {
-        id: 'form-email-demo',
-        fields: [
-          new FormField({
-            type: 'email',
-            label: 'Email',
-            name: 'email',
-            validations: [
-              new FormValidation(email, 'Email format is incorrect'),
-            ],
-          }),
-        ],
-      },
-    };
-  },
-};
-export default yourAwesomeComponent;
-

# Password

The input of type password is used for input that define a password field (characters are masked)

import { FormField, FormValidation, pattern } from '@asigloo/vue-dynamic-forms';
-
-const yourAwesomeComponent = {
-  name: 'PasswordDemo',
-  data() {
-    return {
-      testForm: {
-        id: 'form-password-demo',
-        fields: [
-          new FormField({
-            type: 'password',
-            label: 'Password',
-            name: 'password',
-            validations: [
-              new FormValidation(
-                pattern(
-                  '^(?=.*[a-z])(?=.*[A-Z])(?=.*d)(?=.*[#$^+=!*()@%&]).{8,10}$',
-                ),
-                'Password must contain at least 1 Uppercase, 1 Lowercase, 1 number, 1 special character and min 8 characters max 10',
-              ),
-            ],
-          }),
-        ],
-      },
-    };
-  },
-};
-export default yourAwesomeComponent;
-

# Number

The input of type number defines a single-line numerical field entry

import { FormField } from '@asigloo/vue-dynamic-forms';
-
-const yourAwesomeComponent = {
-  name: 'InputNumberDemo',
-  data() {
-    return {
-      testForm: {
-        id: 'form-numbber-demo',
-        fields: [
-          new FormField({
-            type: 'number',
-            label: 'Stars',
-            name: 'stars',
-            value: 37,
-          }),
-        ],
-      },
-    };
-  },
-};
-export default yourAwesomeComponent;
-

# Checkbox

The input of type checkbox defines a checkbox. The checkbox is shown as a square box that is ticked (checked) when activated. Checkboxes are used to let a user select one or more options of a limited number of choices.

import { FormField } from '@asigloo/vue-dynamic-forms';
-
-const yourAwesomeComponent = {
-  name: 'InputCheckboxDemo',
-  data() {
-    return {
-      testForm: {
-        id: 'form-checkbox-demo',
-        fields: [
-          new FormField({
-            type: 'checkbox',
-            label: 'Accept the conditions',
-            name: 'policies',
-          }),
-        ],
-      },
-    };
-  },
-};
-export default yourAwesomeComponent;
-

# Radio

The input of type radio defines a radio button. Radio buttons are normally presented in radio groups (a collection of radio buttons describing a set of related options). Only one radio button in a group can be selected at the same time.

import { FormField } from '@asigloo/vue-dynamic-forms';
-
-const yourAwesomeComponent = {
-  name: 'InputRadioDemo',
-  data() {
-    return {
-      testForm: {
-        id: 'form-radio-demo',
-        fields: [
-          new FormField({
-            type: 'radio',
-            label: 'Prefered Animal',
-            name: 'animal',
-            options: [
-              { text: 'Dogs', value: 'dogs' },
-              { text: 'Cats', value: 'cats' },
-              { text: 'Others', value: 'others' },
-            ],
-          }),
-        ],
-      },
-    };
-  },
-};
-export default yourAwesomeComponent;
-

# Select

The input of type radio defines a drop-down list

import { FormField } from '@asigloo/vue-dynamic-forms';
-
-const yourAwesomeComponent = {
-  name: 'InputRadioDemo',
-  data() {
-    return {
-      testForm: {
-        id: 'form-select-demo',
-        fields: [
-          new FormField({
-            type: 'select',
-            label: 'Category',
-            name: 'category',
-            options: [
-              { value: null, text: 'Please select an option' },
-              { value: 'arduino', text: 'Arduino' },
-              { value: 'transistors', text: 'Transistors' },
-              { value: 'resistors', text: 'Resistors', disabled: true },
-            ],
-          }),
-        ],
-      },
-    };
-  },
-};
-export default yourAwesomeComponent;
-

If you want to select a predefined value, just add the property value to the FormField like this:

new FormField({
-    type: 'select',
-    label: 'Category',
-    name: 'category',
-    value: 'arduino',
-    options: [
-        { value: null, text: 'Please select an option' },
-        { value: 'arduino', text: 'Arduino' },
-        { value: 'transistors', text: 'Transistors' },
-        { value: 'resistors', text: 'Resistors', disabled: true },
-    ],
-}),
-

# TextArea

The input of type textarea defines a multi-line input field (a text area).

The rows attribute specifies the visible number of lines in a text area.

The cols attribute specifies the visible width of a text area.

import { FormField } from '@asigloo/vue-dynamic-forms';
-
-const yourAwesomeComponent = {
-  name: 'TextAreaDemo',
-  data() {
-    return {
-      testForm: {
-        id: 'form-textarea-demo',
-        fields: [
-          new FormField({
-            type: 'textarea',
-            label: 'Bio',
-            name: 'bio',
-            cols: 30,
-            rows: 5,
-          }),
-        ],
-      },
-    };
-  },
-};
-export default yourAwesomeComponent;
-``;
-
- - - diff --git a/docs/.vuepress/dist/guide/install.html b/docs/.vuepress/dist/guide/install.html deleted file mode 100644 index c547420..0000000 --- a/docs/.vuepress/dist/guide/install.html +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - Yarn / NPM | Vue Dynamic Forms - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

# Yarn / NPM

Install with yarn:

yarn add @asigloo/vue-dynamic-forms
-
-# or, using NPM
-npm install @asigloo/vue-dynamic-forms
-

# Add to vue

# Global

import Vue from 'vue';
-import VueDynamicForms from '@asigloo/vue-dynamic-forms';
-
-Vue.use(VueDynamicForms);
-

# Local

You can include the dynamic form directly to your component.

import Vue from 'vue';
-import { DynamicForm } from '@asigloo/vue-dynamic-forms';
-
-const components = { DynamicForm };
-
-export {
-    ...
-    components,
-    ...
-}
-
- - - diff --git a/docs/.vuepress/dist/guide/models.html b/docs/.vuepress/dist/guide/models.html deleted file mode 100644 index 8ec758f..0000000 --- a/docs/.vuepress/dist/guide/models.html +++ /dev/null @@ -1,105 +0,0 @@ - - - - - - Vue Dynamic Forms - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

This library counts with several factory functions to model your fields and validation. All of them can be imported into your code.

# FormField

This is the principal instance containing the info of your field, as seen in several documentation pages and example, your form fields must be of type FormField when declaring the array on your data object.

export function FormField({
-  type = 'text',
-  value = null,
-  validations = [],
-  label = null,
-  name = null,
-  customClass = null,
-  disabled = false,
-  options = [],
-  placeholder = null,
-  inline = false,
-}) {
-  this.type = type;
-  this.value = value;
-  this.validations = validations;
-  this.label = label;
-  this.name = name;
-  this.customClass = customClass;
-  this.disabled = disabled;
-  this.options = options;
-  this.placeholder = placeholder;
-  this.inline = inline;
-}
-

# FormControl

Tracks the value and validation status of an individual form control. FormControls are used inside of the main component to map the FormFields into controls with extra data like if the input is valid (no errors), if it's touched or dirty.

export function FormControl({
-  type = null,
-  value = null,
-  validations = [],
-  label = null,
-  name = null,
-  customClass = null,
-  options = [],
-  placeholder = null,
-  errors = {},
-  valid = true,
-  touched = false,
-  dirty = false,
-}) {
-  this.type = type;
-  this.value = value;
-  this.validations = validations;
-  this.label = label;
-  this.name = name;
-  this.customClass = customClass;
-  this.options = options;
-  this.placeholder = placeholder;
-  this.errors = errors;
-  this.valid = valid;
-  this.touched = touched;
-  this.dirty = dirty;
-}
-
- - - diff --git a/docs/.vuepress/dist/guide/netlify-forms.html b/docs/.vuepress/dist/guide/netlify-forms.html deleted file mode 100644 index fc5428b..0000000 --- a/docs/.vuepress/dist/guide/netlify-forms.html +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - Vue Dynamic Forms - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Documentation coming soon.

- - - diff --git a/docs/.vuepress/dist/guide/props.html b/docs/.vuepress/dist/guide/props.html deleted file mode 100644 index 240e894..0000000 --- a/docs/.vuepress/dist/guide/props.html +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - Dynamic form | Vue Dynamic Forms - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

# Dynamic form

# id

This field of type string contains the form id, is especially useful to access your form via javascript when accessing the DOM, also helps to assign external inputs or submit buttons via form attribute.

The form attribute name is set with the id value

 id: {
-    default: null,
-    type: String,
-  },
-

# fields

This is the prop containing an Array for FormFields which is going to be the base of creating the input controls.

fields: {
-    type: Array,
-},
-

# options

Contains all the form options using FormOptions

options: {
-    type: Object,
-    default: () => new FormOptions({}),
-},
-

Defaults:

options: {
-  customClass = '',
-  method = 'POST',
-  autoValidate = false,
-  netlify = false,
-  netlifyHoneypot = null,
-}
-

# Dynamic Input

# formControl

This is the prop containing an instance of FormControl which tracks validation and errors for each input

formControl: {
-    default: () => new FormControl({}),
-    type: Object,
-},
-
- - - diff --git a/docs/.vuepress/dist/guide/slots.html b/docs/.vuepress/dist/guide/slots.html deleted file mode 100644 index e8e8460..0000000 --- a/docs/.vuepress/dist/guide/slots.html +++ /dev/null @@ -1,102 +0,0 @@ - - - - - - Custom Field Slot | Vue Dynamic Forms - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

# Custom Field Slot

Using dynamic scoped slots approach, now is easy to add your own custom fields to the dynamic-forms component.

The first step is to add a new FormField with type: 'custom-field' to your form fields array in the components data:

new FormField({
-    type: 'custom-field',
-    label: 'My Avocado Field',
-    name: 'avocado-field',
-}),
-
-

Inside of the dynamic-form component, add a <template> tag with the attribute slot equal to your custom FormField name property (In this case, avocado-field).

To make sure your component works within the same API, it's important to also add slot-scope="props" to the <template> tag. This will allow your input to access data And methods from inside the Dynamic Form component such as:

  • control: contains FormControl instance // Check model 'FormControl` -
    • value
    • type
    • name
    • dirty
    • touched
    • validations
    • errors
  • valueChange: event on input change
  • onFocus: event on input focus.
  • blur: event on input blur.
<dynamic-form
-  :id="testForm.id"
-  :fields="testForm.fields"
-  :options="testForm.options"
-  @change="valuesChanged"
->
-  <template slot="avocado-field" slot-scope="props">
-    <div class="avocado-field">
-      <input
-        v-if="props.control"
-        class="form-control"
-        v-model="props.control.value"
-        :type="props.control.type"
-        :name="props.control.name"
-        @change="props.valueChange()"
-        @focus="props.onFocus()"
-        @blur="props.onBlur()"
-      />
-      <i>🥑</i>
-    </div>
-  </template>
-</dynamic-form>
-

You can also deconstruct the props object to have a more cleaner approach:

<template
-  slot="custom-field-1"
-  slot-scope="{ control, valueChange, onFocus, onBlur }"
->
-  <div class="avocado-field">
-    <input
-      v-if="control"
-      class="form-control"
-      v-model="control.value"
-      :type="control.type"
-      :name="control.name"
-      @change="valueChange()"
-      @focus="onFocus()"
-      @blur="onBlur()"
-    />
-    <i>🥑</i>
-  </div>
-</template>
-
- - - diff --git a/docs/.vuepress/dist/guide/theming.html b/docs/.vuepress/dist/guide/theming.html deleted file mode 100644 index 6fc0b59..0000000 --- a/docs/.vuepress/dist/guide/theming.html +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - Vue Dynamic Forms - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

The components are unstyled by default, so you can customize them with your own styles. If you want a more "ready to go" solution you can import one of the themes we have included in src/styles/themes/

@import '~@asigloo/vue-dynamic-forms/src/styles/themes/default.scss';
-

For now, only default theme (similar to bootstrap) is available. More themes are in progress.

- - - diff --git a/docs/.vuepress/dist/guide/usage.html b/docs/.vuepress/dist/guide/usage.html deleted file mode 100644 index 577fe4f..0000000 --- a/docs/.vuepress/dist/guide/usage.html +++ /dev/null @@ -1,100 +0,0 @@ - - - - - - Form Composition | Vue Dynamic Forms - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

# Form Composition

The dynamic form component is pretty straight-forward. 😁

You will only need to add it to your template like this:

<template>
-  <dynamic-form :id="testForm.id" :fields="testForm.fields" />
-</template>
-

And then create the fields on your component's data structure, to create the fields you can import the factory function FormField from the library core:

import { FormField } from '@asigloo/vue-dynamic-forms';
-const yourAwesomeComponent = {
-  name: 'your-awesome',
-  data() {
-    return {
-      testForm: {
-        id: 'test-form',
-        fields: [
-          new FormField({ type: 'text', label: 'Name', name: 'name' }),
-          new FormField({ type: 'email', label: 'Email', name: 'email' }),
-        ],
-      },
-    };
-  },
-};
-export default yourAwesomeComponent;
-

# Submitting the form

This is the recommended way to use the dynamic-forms with all the features. (Built-in Validations included).

<template>
-  <div>
-    <dynamic-form
-      :id="testForm.id"
-      :fields="testForm.fields"
-      @submit="formSubmitted"
-      @error="processErrrors"
-    />
-    <button submit="true" :form="testForm.id">
-      Submit
-    </button>
-  </div>
-</template>
-

# Values Changed

The library provides you the possibility of submitting the form (check the previous section) or listen to the values change directly, using the change event.

<template>
-  <dynamic-form
-    :id="testForm.id"
-    :fields="testForm.fields"
-    @change="updateValues"
-  />
-</template>
-
methods: {
-  updateValues(values) {
-    // Apply your own validation
-    // Do what you need with the data
-  }
-}
-

WARNING

By using change event, you are giving up to the built-in validation, which is only available if the form is submitted. You will need to apply the validation yourself or use the error event.

- - - diff --git a/docs/.vuepress/dist/guide/validation.html b/docs/.vuepress/dist/guide/validation.html deleted file mode 100644 index d204980..0000000 --- a/docs/.vuepress/dist/guide/validation.html +++ /dev/null @@ -1,831 +0,0 @@ - - - - - - - Vue Dynamic Forms - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- - - -
-
-

This library comes with a Built-in Validation responsible of controlling that the inputs match certain - criteria defined by the user when defining the FormFields.

-

By default, Vue Dynamic Forms contains the following validations:

-
    -
  • required
  • -
  • min
  • -
  • max
  • -
  • email
  • -
  • minLength
  • -
  • maxLength
  • -
  • pattern
  • -
-

To add validations to your fields, you only need to import the FormValidation and the desired - validation function into your component like this:

-
-
import { FormField, required } from '@asigloo/vue-dynamic-forms';
-
-
-

The FormValidation function takes 2 params, the validation function (required, min, max, - email, etc) and the message to display when the validations are not successful:

-
-
new FormValidation(email, 'Format of email is incorrect');
-
-
-

# required

-

The required attribute is a boolean attribute.

-

When present, it specifies that an input field must be filled out before submitting the form.

-
-
-
-
- -
-

- Please remove the complete value to see the validation working 👆🏻 -

-
-
-

-            
-
-
-
import {
-  FormField,
-  FormValidation,
-  required,
-} from '@asigloo/vue-dynamic-forms';
-
-const yourAwesomeComponent = {
-  name: 'your-awesome',
-  data() {
-    return {
-      testForm: {
-        id: 'test-form',
-        fields: [
-          new FormField({
-            type: 'text',
-            label: 'Username',
-            name: 'username',
-            validations: [
-              new FormValidation(required, 'This field is required'),
-            ],
-          }),
-        ],
-      },
-    };
-  },
-};
-export default yourAwesomeComponent;
-
-
-

# email

-

Email input types are just a text field with a semantic use of type="email", so the - text string should be tested to match an email pattern (lowercase and uppercase, and @ followed - by a domain name with . and a suffix).

-

The best way to achieve it is by using a regular expression, we use the following one, email.

-
-
-
-
- -
-

- Please change the value and press enter (blur) to see the validation working 👆🏻 -

-
-
-

-            
-
-
-
import { FormField, FormValidation, email } from '@asigloo/vue-dynamic-forms';
-
-const yourAwesomeComponent = {
-  name: 'your-awesome',
-  data() {
-    return {
-      testForm: {
-        id: 'test-form',
-        fields: [
-          new FormField({
-            type: 'email',
-            label: 'Email',
-            name: 'email',
-            validations: [
-              new FormValidation(email, 'Format of email is incorrect'),
-            ],
-          }),
-        ],
-      },
-    };
-  },
-};
-export default yourAwesomeComponent;
-
-
-

# pattern

-

If you need a text validation that is not included by default in the library, such as a specific password - rule, you can use the pattern validator.

-
-
-
-
- -
-

- Please change the value and press enter (blur) to see the validation working 👆🏻 -

-
-
-

-            
-
-
-
import { FormField, FormValidation, pattern } from '@asigloo/vue-dynamic-forms';
-
-const yourAwesomeComponent = {
-  name: 'your-awesome',
-  data() {
-    return {
-      testForm: {
-        id: 'test-form',
-        fields: [
-          new FormField({
-            type: 'password',
-            label: 'Password',
-            name: 'password',
-            validations: [
-              new FormValidation(required, 'This field is required'),
-              new FormValidation(
-                pattern(
-                  '^(?=.*[a-z])(?=.*[A-Z])(?=.*d)(?=.*[#$^+=!*()@%&]).{8,10}$',
-                ),
-                'Password must contain at least 1 Uppercase, 1 Lowercase, 1 number, 1 special character and min 8 characters max 10',
-              ),
-            ],
-          }),
-        ],
-      },
-    };
-  },
-};
-export default yourAwesomeComponent;
-
-
-

# min

-

The min validators check if a numeric input type value less than a certain threshold.

-
-
-
-
- -
-

- Decrease -1 number and blur to see the validation working 👆🏻 -

-
-
-

-            
-
-
-
import {
-  FormField,
-  FormValidation,
-  required,
-} from '@asigloo/vue-dynamic-forms';
-
-const MIN_VALUE = 5;
-
-const yourAwesomeComponent = {
-  name: 'your-awesome',
-  data() {
-    return {
-      testForm: {
-        id: 'test-form',
-        fields: [
-          new FormField({
-            type: 'number',
-            label: 'Number',
-            name: 'number',
-            value: 0,
-            validations: [
-              new FormValidation(min(MIN_VALUE), 'This field is required'),
-            ],
-          }),
-        ],
-      },
-    };
-  },
-};
-export default yourAwesomeComponent;
-
-
-

# max

-

The max validators check if a numeric input type value bigger than a certain threshold.

-
-
-
-
- -
-

- Increase +1 number and blur to see the validation working 👆🏻 -

-
-
-

-            
-
-
-
import { FormField, FormValidation, max } from '@asigloo/vue-dynamic-forms';
-
-const MAX_VALUE = 5;
-
-const yourAwesomeComponent = {
-  name: 'your-awesome',
-  data() {
-    return {
-      testForm: {
-        id: 'test-form',
-        fields: [
-          new FormField({
-            type: 'number',
-            label: 'Number',
-            name: 'number',
-            value: 5,
-            validations: [
-              new FormValidation(
-                max(MAX_VALUE),
-                `Value should be less than: ${MAX_VALUE}`,
-              ),
-            ],
-          }),
-        ],
-      },
-    };
-  },
-};
-export default yourAwesomeComponent;
-
-
-

# minLength

-

The minLength validators check if a text input type length less than a certain threshold.

-
-
-
-
- -
-

- Remove -1 character and blur to see the validation working 👆🏻 -

-
-
-

-            
-
-
-
import {
-  FormField,
-  FormValidation,
-  minLength,
-} from '@asigloo/vue-dynamic-forms';
-
-const MIN_VALUE = 5;
-
-const yourAwesomeComponent = {
-  name: 'your-awesome',
-  data() {
-    return {
-      testForm: {
-        id: 'test-form',
-        fields: [
-          new FormField({
-            type: 'text',
-            label: 'Username',
-            name: 'username',
-            value: 'avocado',
-            validations: [
-              new FormValidation(
-                minLength(MIN_VALUE),
-                `Text length should be bigger than: ${MIN_VALUE}`,
-              ),
-            ],
-          }),
-        ],
-      },
-    };
-  },
-};
-export default yourAwesomeComponent;
-
-
-

# maxLength

-

The maxLength validators check if a text input length bigger than a certain threshold.

-
-
-
-
- -
-

- Add the tweet enough characters and blur to see the validation working - 👆🏻 -

-
-
-

-            
-
-
-
import {
-  FormField,
-  FormValidation,
-  maxLength,
-} from '@asigloo/vue-dynamic-forms';
-
-const MAX_VALUE = 280;
-
-const yourAwesomeComponent = {
-  name: 'your-awesome',
-  data() {
-    return {
-      testForm: {
-        id: 'test-form',
-        fields: [
-          new FormField({
-            type: 'textarea',
-            label: 'Tweet',
-            name: 'tweet',
-            rows: 10,
-            value:
-              'Prism whatever occupy, stumptown polaroid butcher activated charcoal seitan cornhole direct trade coloring book offal sriracha. 8-bit pitchfork kitsch crucifix chartreuse, tumblr adaptogen brunch stumptown. Drinking vinegar yuccie echo park lo-fi, poutine unicorn raclette adaptogen kale chips chia. Deep v austin fam organic kickstarter hexagon hell of wolf pour-over YOLO. 8-bit glossier lyft authentic, selfies aesthetic kinfolk prism tattooed irony quinoa distillery pug slow-carb post-ironic..',
-            validations: [
-              new FormValidation(
-                maxLength(MAX_VALUE),
-                `Tweet shouldn't be more than: ${MAX_VALUE} characters`,
-              ),
-            ],
-          }),
-        ],
-      },
-    };
-  },
-};
-export default yourAwesomeComponent;
-
-
-
- - -
-
-
-
- - - - - - - - - - - - - - diff --git a/docs/.vuepress/dist/icons/android-chrome-192x192.png b/docs/.vuepress/dist/icons/android-chrome-192x192.png deleted file mode 100644 index c25271b..0000000 Binary files a/docs/.vuepress/dist/icons/android-chrome-192x192.png and /dev/null differ diff --git a/docs/.vuepress/dist/icons/android-chrome-512x512.png b/docs/.vuepress/dist/icons/android-chrome-512x512.png deleted file mode 100644 index 0bb5414..0000000 Binary files a/docs/.vuepress/dist/icons/android-chrome-512x512.png and /dev/null differ diff --git a/docs/.vuepress/dist/icons/apple-touch-icon.png b/docs/.vuepress/dist/icons/apple-touch-icon.png deleted file mode 100644 index dbb26bb..0000000 Binary files a/docs/.vuepress/dist/icons/apple-touch-icon.png and /dev/null differ diff --git a/docs/.vuepress/dist/icons/favicon-16x16.png b/docs/.vuepress/dist/icons/favicon-16x16.png deleted file mode 100644 index cf719d9..0000000 Binary files a/docs/.vuepress/dist/icons/favicon-16x16.png and /dev/null differ diff --git a/docs/.vuepress/dist/icons/favicon-32x32.png b/docs/.vuepress/dist/icons/favicon-32x32.png deleted file mode 100644 index 243ae64..0000000 Binary files a/docs/.vuepress/dist/icons/favicon-32x32.png and /dev/null differ diff --git a/docs/.vuepress/dist/icons/favicon.ico b/docs/.vuepress/dist/icons/favicon.ico deleted file mode 100644 index 8cd90b9..0000000 Binary files a/docs/.vuepress/dist/icons/favicon.ico and /dev/null differ diff --git a/docs/.vuepress/dist/icons/mstile-150x150.png b/docs/.vuepress/dist/icons/mstile-150x150.png deleted file mode 100644 index f1896d2..0000000 Binary files a/docs/.vuepress/dist/icons/mstile-150x150.png and /dev/null differ diff --git a/docs/.vuepress/dist/index.html b/docs/.vuepress/dist/index.html deleted file mode 100644 index 8146805..0000000 --- a/docs/.vuepress/dist/index.html +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - Vue Dynamic Forms - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Library Banner

# Vue Dynamic Forms

Current npm version Minified size Vue.js version

Implementing handcrafted forms can be:

  1. Costly
  2. Time-consuming

Especially if you need to create a very large form, in which the inputs are similar to each other, and they change frequently to meet rapidly changing business and regulatory requirements.

So, wouldn't it be more economical to create the forms dynamically? Based on metadata that describes the business object model?

That's Vue Dynamic Forms.

# Features

  • Magical 🧞‍♂️✨

    Generating forms quickly from a simple data object, a JSON string or the response from an ajax call using only a DynamicForm component, yup, that easily.

  • Customizable 🧑‍🎤👩🏻‍🎤

    Vue Dynamic Forms is UI agnostic, plain style ready for you to customize, or you can import one of the default themes

  • Built-in Validation 🦾

    No need to add more dependencies for your input validations, Vue Dynamic Forms comes with a pretty solid built-in validations to make your life and your project easier.

  • Flexible 🤸

    This library is aimed to give an awesome developing experience, you need a really custom input type that is not in the library? Create your own and attach it vía scoped slots

- - - diff --git a/docs/.vuepress/dist/vue-dynamic-forms.png b/docs/.vuepress/dist/vue-dynamic-forms.png deleted file mode 100644 index 803b955..0000000 Binary files a/docs/.vuepress/dist/vue-dynamic-forms.png and /dev/null differ diff --git a/docs/.vuepress/enhanceApp.js b/docs/.vuepress/enhanceApp.js deleted file mode 100644 index 43403e8..0000000 --- a/docs/.vuepress/enhanceApp.js +++ /dev/null @@ -1,7 +0,0 @@ -import pageComponents from '@internal/page-components'; - -export default ({ Vue }) => { - for (const [name, component] of Object.entries(pageComponents)) { - Vue.component(name, component); - } -}; diff --git a/docs/.vuepress/public/icons/android-chrome-192x192.png b/docs/.vuepress/public/icons/android-chrome-192x192.png deleted file mode 100644 index c25271b..0000000 Binary files a/docs/.vuepress/public/icons/android-chrome-192x192.png and /dev/null differ diff --git a/docs/.vuepress/public/icons/android-chrome-512x512.png b/docs/.vuepress/public/icons/android-chrome-512x512.png deleted file mode 100644 index 0bb5414..0000000 Binary files a/docs/.vuepress/public/icons/android-chrome-512x512.png and /dev/null differ diff --git a/docs/.vuepress/public/icons/apple-touch-icon.png b/docs/.vuepress/public/icons/apple-touch-icon.png deleted file mode 100644 index dbb26bb..0000000 Binary files a/docs/.vuepress/public/icons/apple-touch-icon.png and /dev/null differ diff --git a/docs/.vuepress/public/icons/favicon-16x16.png b/docs/.vuepress/public/icons/favicon-16x16.png deleted file mode 100644 index cf719d9..0000000 Binary files a/docs/.vuepress/public/icons/favicon-16x16.png and /dev/null differ diff --git a/docs/.vuepress/public/icons/favicon-32x32.png b/docs/.vuepress/public/icons/favicon-32x32.png deleted file mode 100644 index 243ae64..0000000 Binary files a/docs/.vuepress/public/icons/favicon-32x32.png and /dev/null differ diff --git a/docs/.vuepress/public/icons/favicon.ico b/docs/.vuepress/public/icons/favicon.ico deleted file mode 100644 index 8cd90b9..0000000 Binary files a/docs/.vuepress/public/icons/favicon.ico and /dev/null differ diff --git a/docs/.vuepress/public/icons/mstile-150x150.png b/docs/.vuepress/public/icons/mstile-150x150.png deleted file mode 100644 index f1896d2..0000000 Binary files a/docs/.vuepress/public/icons/mstile-150x150.png and /dev/null differ diff --git a/docs/.vuepress/public/vue-dynamic-forms.png b/docs/.vuepress/public/vue-dynamic-forms.png deleted file mode 100644 index 803b955..0000000 Binary files a/docs/.vuepress/public/vue-dynamic-forms.png and /dev/null differ diff --git a/docs/.vuepress/styles/styles.scss b/docs/.vuepress/styles/styles.scss deleted file mode 100644 index 68afe29..0000000 --- a/docs/.vuepress/styles/styles.scss +++ /dev/null @@ -1,15 +0,0 @@ -@import 'bootstrap/scss/bootstrap-grid.scss'; -@import 'vue-select/src/scss/vue-select.scss'; - -@import '../../../src/styles/themes/default.scss'; - -.library-example { - background-color: #efefef; - border-bottom: 5px solid #ccc; - padding: 1rem; - margin-top: 1rem; -} - -.hint { - font-size: 11px; -} diff --git a/docs/.vuepress/theme/components/CodeFund.vue b/docs/.vuepress/theme/components/CodeFund.vue deleted file mode 100644 index f779ed4..0000000 --- a/docs/.vuepress/theme/components/CodeFund.vue +++ /dev/null @@ -1,43 +0,0 @@ - diff --git a/docs/.vuepress/theme/index.js b/docs/.vuepress/theme/index.js deleted file mode 100644 index 85eb83a..0000000 --- a/docs/.vuepress/theme/index.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports = { - extend: '@vuepress/theme-default', -}; diff --git a/docs/.vuepress/theme/layouts/Layout.vue b/docs/.vuepress/theme/layouts/Layout.vue deleted file mode 100644 index cf3d264..0000000 --- a/docs/.vuepress/theme/layouts/Layout.vue +++ /dev/null @@ -1,27 +0,0 @@ - - - - - diff --git a/docs/.vuepress/utils/codePen.js b/docs/.vuepress/utils/codePen.js deleted file mode 100644 index b8d7a28..0000000 --- a/docs/.vuepress/utils/codePen.js +++ /dev/null @@ -1,111 +0,0 @@ -export default () => { - - document.getElementsByClassName || (document.getElementsByClassName = function (e) { - var n, t, r, a = document, o = []; - if (a.querySelectorAll) return a.querySelectorAll('.' + e); - if (a.evaluate) for (t = './/*[contains(concat(\' \', @class, \' \'), \' ' + e + ' \')]', n = a.evaluate(t, a, - null, 0, - null); r = n.iterateNext();) o.push(r); else for (n = a.getElementsByTagName('*'), t = new RegExp( - '(^|\\s)' + e + '(\\s|$)'), r = 0; r < n.length; r++) t.test(n[r].className) && o.push(n[r]); - return o; - }), function () { - function e () { - function e () { - for (var e = document.getElementsByClassName('codepen'), t = e.length - 1; t > -1; t--) { - var u = a(e[t]); - if (0 !== Object.keys(u).length && (u = o(u), u.user = n(u, e[t]), r(u))) { - var c = i(u), l = s(u, c); - f(e[t], l); - } - } - m(); - } - - function n (e, n) { - if ('string' == typeof e.user) return e.user; - for (var t = 0, r = n.children.length; t < r; t++) { - var a = n.children[t], o = a.href || '', i = o.match(/codepen\.(io|dev)\/(\w+)\/pen\//i); - if (i) return i[2]; - } - return 'anon'; - } - - function r (e) {return e['slug-hash'];} - - function a (e) { - for (var n = {}, t = e.attributes, r = 0, a = t.length; r < a; r++) { - var o = t[r].name; - 0 === o.indexOf('data-') && (n[o.replace('data-', '')] = t[r].value); - } - return n; - } - - function o (e) { - return e.href && (e['slug-hash'] = e.href), e.type && (e['default-tab'] = e.type), e.safe && - ('true' === e.safe ? e.animations = 'run' : e.animations = 'stop-after-5'), e; - } - - function i (e) { - var n = u(e), t = e.user ? e.user : 'anon', r = '?' + l(e), - a = e.preview && 'true' === e.preview ? 'embed/preview' : 'embed', - o = [n, t, a, e['slug-hash'] + r].join('/'); - return o.replace(/\/\//g, '//'); - } - - function u (e) { - return e.host ? c(e.host) : 'file:' === document.location.protocol - ? 'https://codepen.io' - : '//codepen.io'; - } - - function c (e) {return e.match(/^\/\//) || !e.match(/https?:/) ? document.location.protocol + '//' + e : e;} - - function l (e) { - var n = ''; - for (var t in e) '' !== n && (n += '&'), n += t + '=' + encodeURIComponent(e[t]); - return n; - } - - function s (e, n) { - var r; - e['pen-title'] ? r = e['pen-title'] : (r = 'CodePen Embed ' + t, t++); - var a = { - id: 'cp_embed_' + e['slug-hash'].replace('/', '_'), - src: n, - scrolling: 'no', - frameborder: '0', - height: d(e), - allowTransparency: 'true', - allowfullscreen: 'true', - allowpaymentrequest: 'true', - name: 'CodePen Embed', - title: r, - 'class': 'cp_embed_iframe ' + (e['class'] ? e['class'] : ''), - style: 'width: ' + p + '; overflow: hidden;', - }, o = '