@tagplus/components 5.3.2 → 5.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/demo.html +1 -0
- package/dist/fonts/bevi-bold.7e4dcd11.woff +0 -0
- package/dist/fonts/bevi-bold.873def84.woff2 +0 -0
- package/dist/fonts/bevi-medium.6187e050.woff2 +0 -0
- package/dist/fonts/bevi-medium.65b3056d.woff +0 -0
- package/dist/fonts/bevi-regular.c89f126e.woff +0 -0
- package/dist/fonts/bevi-regular.f81e4b8f.woff2 +0 -0
- package/dist/tp.common.js +2 -0
- package/dist/tp.common.js.map +1 -0
- package/dist/tp.css +167 -0
- package/dist/tp.umd.js +2 -0
- package/dist/tp.umd.js.map +1 -0
- package/dist/tp.umd.min.js +2 -0
- package/dist/tp.umd.min.js.map +1 -0
- package/package.json +61 -74
- package/src/assets/scss/_fonts.scss +27 -0
- package/src/assets/scss/_functions.scss +22 -0
- package/src/assets/scss/_helpers.scss +112 -0
- package/src/assets/scss/_mixins.scss +69 -0
- package/src/assets/scss/_overrides.scss +69 -0
- package/src/assets/scss/_resass.scss +83 -0
- package/src/assets/scss/_variables.scss +27 -0
- package/src/assets/scss/index.scss +11 -0
- package/src/components/Autosuggest/Autosuggest.vue +791 -0
- package/src/components/Autosuggest/index.js +3 -0
- package/src/components/Dialog/Dialog.vue +253 -0
- package/src/components/Dialog/index.js +3 -0
- package/src/components/Inline/Inline.vue +149 -0
- package/src/components/Inline/index.js +3 -0
- package/src/components/InputNumber/InputNumber.vue +430 -0
- package/src/components/InputNumber/index.js +3 -0
- package/src/components/Loader/Loader.vue +317 -0
- package/src/components/Loader/animations.scss +68 -0
- package/src/components/Loader/index.js +3 -0
- package/src/components/Money/Money.vue +82 -0
- package/src/components/Money/index.js +3 -0
- package/src/components/Multisuggest/Multisuggest.vue +858 -0
- package/src/components/Multisuggest/index.js +3 -0
- package/src/components/OptionsList/OptionsList.vue +61 -0
- package/src/components/OptionsList/index.js +3 -0
- package/src/components/OptionsListItem/OptionsListItem.vue +191 -0
- package/src/components/OptionsListItem/index.js +3 -0
- package/src/components/Percent/Percent.vue +81 -0
- package/src/components/Percent/index.js +3 -0
- package/src/components/Skeleton/Skeleton.vue +137 -0
- package/src/components/Skeleton/index.js +3 -0
- package/src/components/Step/Step.vue +230 -0
- package/src/components/Step/index.js +3 -0
- package/src/components/Steps/Steps.vue +18 -0
- package/src/components/Steps/index.js +3 -0
- package/src/components/Tip/Tip.vue +193 -0
- package/src/components/Tip/index.js +3 -0
- package/src/components/index.js +31 -0
- package/src/locale/index.js +78 -0
- package/{dist → src/locale}/lang/en.js +2 -3
- package/{dist → src/locale}/lang/pt-br.js +2 -3
- package/src/main.js +26 -0
- package/src/mixins/floatFormatter.js +53 -0
- package/src/mixins/locale.js +9 -0
- package/src/utils/currency.js +180 -0
- package/src/utils/filters.js +84 -0
- package/dist/es/_virtual/_plugin-vue_export-helper.mjs +0 -10
- package/dist/es/components.css +0 -2391
- package/dist/es/node_modules/@element-plus/icons-vue/dist/index.mjs +0 -148
- package/dist/es/node_modules/@popperjs/core/lib/enums.mjs +0 -22
- package/dist/es/node_modules/@vue/shared/dist/shared.esm-bundler.mjs +0 -28
- package/dist/es/node_modules/@vueuse/core/index.mjs +0 -172
- package/dist/es/node_modules/@vueuse/shared/index.mjs +0 -68
- package/dist/es/node_modules/element-plus/es/constants/size.mjs +0 -4
- package/dist/es/node_modules/element-plus/es/hooks/use-focus-controller/index.mjs +0 -64
- package/dist/es/node_modules/element-plus/es/hooks/use-id/index.mjs +0 -30
- package/dist/es/node_modules/element-plus/es/hooks/use-locale/index.mjs +0 -29
- package/dist/es/node_modules/element-plus/es/hooks/use-namespace/index.mjs +0 -79
- package/dist/es/node_modules/element-plus/es/hooks/use-prop/index.mjs +0 -11
- package/dist/es/node_modules/element-plus/es/hooks/use-size/index.mjs +0 -20
- package/dist/es/node_modules/element-plus/es/locale/lang/en.mjs +0 -182
- package/dist/es/node_modules/element-plus/es/utils/error.mjs +0 -16
- package/dist/es/node_modules/element-plus/es/utils/types.mjs +0 -9
- package/dist/es/node_modules/element-plus/es/utils/vue/props/runtime.mjs +0 -42
- package/dist/es/src/components/Autosuggest/Autosuggest.vue.mjs +0 -446
- package/dist/es/src/components/Autosuggest/Multisuggest.vue.mjs +0 -17
- package/dist/es/src/components/Autosuggest/autosuggest-props.mjs +0 -204
- package/dist/es/src/components/Autosuggest/core.mjs +0 -56
- package/dist/es/src/components/Autosuggest/multisuggest-props.mjs +0 -11
- package/dist/es/src/components/Autosuggest/option.vue.mjs +0 -118
- package/dist/es/src/components/Autosuggest/select-dropdown.vue.mjs +0 -62
- package/dist/es/src/components/Autosuggest/useOption.mjs +0 -93
- package/dist/es/src/components/Autosuggest/useSelect.mjs +0 -803
- package/dist/es/src/components/Inline/Inline.vue.mjs +0 -125
- package/dist/es/src/components/Inline/index.mjs +0 -4
- package/dist/es/src/components/InputNumber/InputNumber.vue.mjs +0 -360
- package/dist/es/src/components/InputNumber/index.mjs +0 -4
- package/dist/es/src/components/InputNumber/input-number.mjs +0 -128
- package/dist/es/src/components/Loader/Loader.vue.mjs +0 -59
- package/dist/es/src/components/Loader/index.mjs +0 -4
- package/dist/es/src/components/Money/Money.vue.mjs +0 -72
- package/dist/es/src/components/Money/index.mjs +0 -4
- package/dist/es/src/components/Multisuggest/index.mjs +0 -4
- package/dist/es/src/components/OptionsList/OptionsList.vue.mjs +0 -28
- package/dist/es/src/components/OptionsList/index.mjs +0 -4
- package/dist/es/src/components/OptionsListItem/OptionsListItem.vue.mjs +0 -96
- package/dist/es/src/components/OptionsListItem/index.mjs +0 -4
- package/dist/es/src/components/Percent/Percent.vue.mjs +0 -73
- package/dist/es/src/components/Percent/index.mjs +0 -4
- package/dist/es/src/components/Skeleton/Skeleton.vue.mjs +0 -79
- package/dist/es/src/components/Skeleton/index.mjs +0 -4
- package/dist/es/src/components/Step/Step.vue.mjs +0 -206
- package/dist/es/src/components/Step/index.mjs +0 -4
- package/dist/es/src/components/Steps/Steps.vue.mjs +0 -15
- package/dist/es/src/components/Steps/index.mjs +0 -4
- package/dist/es/src/components/Tip/Tip.vue.mjs +0 -160
- package/dist/es/src/components/Tip/index.mjs +0 -4
- package/dist/es/src/components/index.mjs +0 -32
- package/dist/es/src/locale/i18nCreator.mjs +0 -93
- package/dist/es/src/locale/lang/pt-br.mjs +0 -21
- package/dist/es/src/main.mjs +0 -17
- package/dist/es/src/mixins/floatFormatter.mjs +0 -42
- package/dist/es/src/plugins/currency.mjs +0 -69
- package/dist/es/src/utils/constants.mjs +0 -6
- package/dist/es/src/utils/error.mjs +0 -22
- package/dist/es/src/utils/i18n.mjs +0 -4
- package/dist/es/src/utils/icon.mjs +0 -9
- package/dist/es/src/utils/index.mjs +0 -11
- package/dist/es/src/utils/runtime.mjs +0 -50
- package/dist/es/src/utils/scroll.mjs +0 -28
- package/dist/es/src/utils/strings.mjs +0 -4
- package/dist/es/src/utils/types.mjs +0 -9
- package/dist/es/src/utils/use-derived-namespace.mjs +0 -15
- package/dist/es/src/utils/use-form-common-props.mjs +0 -25
- package/dist/es/src/utils/use-form-item.mjs +0 -61
- package/dist/es/src/utils/use-id.mjs +0 -35
- package/dist/es/src/utils/use-input.mjs +0 -31
- package/dist/lib/_virtual/_plugin-vue_export-helper.js +0 -10
- package/dist/lib/components.css +0 -2391
- package/dist/lib/node_modules/@element-plus/icons-vue/dist/index.js +0 -148
- package/dist/lib/node_modules/@popperjs/core/lib/enums.js +0 -22
- package/dist/lib/node_modules/@vue/shared/dist/shared.esm-bundler.js +0 -28
- package/dist/lib/node_modules/@vueuse/core/index.js +0 -170
- package/dist/lib/node_modules/@vueuse/shared/index.js +0 -68
- package/dist/lib/node_modules/element-plus/es/constants/size.js +0 -4
- package/dist/lib/node_modules/element-plus/es/hooks/use-focus-controller/index.js +0 -64
- package/dist/lib/node_modules/element-plus/es/hooks/use-id/index.js +0 -30
- package/dist/lib/node_modules/element-plus/es/hooks/use-locale/index.js +0 -29
- package/dist/lib/node_modules/element-plus/es/hooks/use-namespace/index.js +0 -79
- package/dist/lib/node_modules/element-plus/es/hooks/use-prop/index.js +0 -11
- package/dist/lib/node_modules/element-plus/es/hooks/use-size/index.js +0 -20
- package/dist/lib/node_modules/element-plus/es/locale/lang/en.js +0 -182
- package/dist/lib/node_modules/element-plus/es/utils/error.js +0 -16
- package/dist/lib/node_modules/element-plus/es/utils/types.js +0 -9
- package/dist/lib/node_modules/element-plus/es/utils/vue/props/runtime.js +0 -42
- package/dist/lib/src/components/Autosuggest/Autosuggest.vue.js +0 -446
- package/dist/lib/src/components/Autosuggest/Multisuggest.vue.js +0 -17
- package/dist/lib/src/components/Autosuggest/autosuggest-props.js +0 -204
- package/dist/lib/src/components/Autosuggest/core.js +0 -56
- package/dist/lib/src/components/Autosuggest/multisuggest-props.js +0 -11
- package/dist/lib/src/components/Autosuggest/option.vue.js +0 -118
- package/dist/lib/src/components/Autosuggest/select-dropdown.vue.js +0 -62
- package/dist/lib/src/components/Autosuggest/useOption.js +0 -93
- package/dist/lib/src/components/Autosuggest/useSelect.js +0 -803
- package/dist/lib/src/components/Inline/Inline.vue.js +0 -125
- package/dist/lib/src/components/Inline/index.js +0 -4
- package/dist/lib/src/components/InputNumber/InputNumber.vue.js +0 -360
- package/dist/lib/src/components/InputNumber/index.js +0 -4
- package/dist/lib/src/components/InputNumber/input-number.js +0 -128
- package/dist/lib/src/components/Loader/Loader.vue.js +0 -59
- package/dist/lib/src/components/Loader/index.js +0 -4
- package/dist/lib/src/components/Money/Money.vue.js +0 -72
- package/dist/lib/src/components/Money/index.js +0 -4
- package/dist/lib/src/components/Multisuggest/index.js +0 -4
- package/dist/lib/src/components/OptionsList/OptionsList.vue.js +0 -28
- package/dist/lib/src/components/OptionsList/index.js +0 -4
- package/dist/lib/src/components/OptionsListItem/OptionsListItem.vue.js +0 -96
- package/dist/lib/src/components/OptionsListItem/index.js +0 -4
- package/dist/lib/src/components/Percent/Percent.vue.js +0 -73
- package/dist/lib/src/components/Percent/index.js +0 -4
- package/dist/lib/src/components/Skeleton/Skeleton.vue.js +0 -79
- package/dist/lib/src/components/Skeleton/index.js +0 -4
- package/dist/lib/src/components/Step/Step.vue.js +0 -206
- package/dist/lib/src/components/Step/index.js +0 -4
- package/dist/lib/src/components/Steps/Steps.vue.js +0 -15
- package/dist/lib/src/components/Steps/index.js +0 -4
- package/dist/lib/src/components/Tip/Tip.vue.js +0 -160
- package/dist/lib/src/components/Tip/index.js +0 -4
- package/dist/lib/src/components/index.js +0 -32
- package/dist/lib/src/locale/i18nCreator.js +0 -93
- package/dist/lib/src/locale/lang/pt-br.js +0 -21
- package/dist/lib/src/main.js +0 -17
- package/dist/lib/src/mixins/floatFormatter.js +0 -42
- package/dist/lib/src/plugins/currency.js +0 -69
- package/dist/lib/src/utils/constants.js +0 -6
- package/dist/lib/src/utils/error.js +0 -22
- package/dist/lib/src/utils/i18n.js +0 -4
- package/dist/lib/src/utils/icon.js +0 -9
- package/dist/lib/src/utils/index.js +0 -14
- package/dist/lib/src/utils/runtime.js +0 -50
- package/dist/lib/src/utils/scroll.js +0 -28
- package/dist/lib/src/utils/strings.js +0 -4
- package/dist/lib/src/utils/types.js +0 -12
- package/dist/lib/src/utils/use-derived-namespace.js +0 -15
- package/dist/lib/src/utils/use-form-common-props.js +0 -25
- package/dist/lib/src/utils/use-form-item.js +0 -61
- package/dist/lib/src/utils/use-id.js +0 -35
- package/dist/lib/src/utils/use-input.js +0 -31
package/package.json
CHANGED
|
@@ -1,104 +1,91 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tagplus/components",
|
|
3
|
-
"description": "Componentes customizados TagPlus",
|
|
3
|
+
"description": "Componentes customizados TagPlus Baseados no ElementUI",
|
|
4
4
|
"target": "web",
|
|
5
5
|
"maintainers": [
|
|
6
6
|
{
|
|
7
|
-
"name": "
|
|
8
|
-
"email": "
|
|
7
|
+
"name": "Bruno Barbosa",
|
|
8
|
+
"email": "bruno@tagplus.com.br"
|
|
9
9
|
}
|
|
10
10
|
],
|
|
11
|
-
"version": "5.3.
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
|
|
15
|
-
"exports": {
|
|
16
|
-
"require": "./dist/lib/src/main.js",
|
|
17
|
-
"import": "./dist/es/src/main.mjs"
|
|
11
|
+
"version": "5.3.4",
|
|
12
|
+
"main": "./dist/tp.common.js",
|
|
13
|
+
"directories": {
|
|
14
|
+
"lib": "src/lib"
|
|
18
15
|
},
|
|
19
16
|
"files": [
|
|
17
|
+
"lib",
|
|
20
18
|
"dist",
|
|
21
|
-
"
|
|
19
|
+
"src"
|
|
22
20
|
],
|
|
23
21
|
"engines": {
|
|
24
|
-
"node": ">=
|
|
22
|
+
"node": ">=14.0"
|
|
25
23
|
},
|
|
26
24
|
"lint-staged": {
|
|
27
|
-
"*.{js,vue}": "
|
|
28
|
-
|
|
25
|
+
"*.{js,vue,css}": "npm run lint"
|
|
26
|
+
},
|
|
27
|
+
"jest": {
|
|
28
|
+
"testEnvironment": "node"
|
|
29
29
|
},
|
|
30
30
|
"license": "MIT",
|
|
31
31
|
"scripts": {
|
|
32
|
-
"build
|
|
32
|
+
"build": "NODE_ENV=production && vue-cli-service build --target lib --name tp ./src/main.js",
|
|
33
|
+
"build:dev": "NODE_ENV=development && vue-cli-service build --mode development --target lib --name tp ./src/main.js",
|
|
33
34
|
"doc": "npm run docs",
|
|
34
35
|
"docs": "nodemon --exec \"vuese gen && vuese serve\" --watch ./src -e js,vue,scss",
|
|
35
36
|
"docs:gen": "vuese gen",
|
|
37
|
+
"lint": "eslint --cache --ext .js,.vue --ignore-path .gitignore .",
|
|
38
|
+
"pub:major": "npm run build && npm version major && npm publish --access public",
|
|
39
|
+
"pub:minor": "npm run build && npm version minor && npm publish --access public",
|
|
40
|
+
"pub": "npm run build && npm version patch && npm publish --access public",
|
|
41
|
+
"pub:beta": "npm run build && npm version patch && npm publish --tag beta",
|
|
42
|
+
"serve": "vue-cli-service serve --open ./examples/main.js",
|
|
43
|
+
"start": "npm run serve",
|
|
36
44
|
"install:clean": "rm -rf package-lock.json yarn.lock & rm -rf node_modules & npm install",
|
|
37
45
|
"install:clear": "npm run install:clean",
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"prepare": "
|
|
42
|
-
"pub:beta": "build:prod && npm version patch && npm publish --tag beta && npm run postversion",
|
|
43
|
-
"pub:major": "build:prod && npm version major && npm publish --access public && npm run postversion",
|
|
44
|
-
"pub:minor": "build:prod && npm version minor && npm publish --access public && npm run postversion",
|
|
45
|
-
"pub:patch": "build:prod && npm version patch && npm publish --access public && npm run postversion",
|
|
46
|
-
"pub:version": "echo 'Execute o comando a seguir alterando a versão: \nnpm run build:prod && npm version {VERSION} && npm publish --tag beta && npm run postversion'",
|
|
47
|
-
"dev": "vite",
|
|
48
|
-
"build": "vite build",
|
|
49
|
-
"superclean": "rm -rf node_modules dist package-lock.json"
|
|
46
|
+
"test": "jest",
|
|
47
|
+
"test:coverage": "jest --collectCoverage",
|
|
48
|
+
"test:unit": "vue-cli-service test:unit",
|
|
49
|
+
"prepare": "husky install"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@vue/
|
|
53
|
-
"
|
|
54
|
-
"
|
|
52
|
+
"@vue/babel-preset-app": "^5.0.8",
|
|
53
|
+
"axios": "^0.27.2",
|
|
54
|
+
"core-js": "^3.25.0",
|
|
55
|
+
"element-theme-chalk": "^2.13",
|
|
56
|
+
"element-ui": "2.15.8",
|
|
57
|
+
"js-cookie": "^3.0.1",
|
|
58
|
+
"vue": "^2.7.10",
|
|
59
|
+
"vue-axios": "^2.1.5",
|
|
60
|
+
"vue-i18n": "^8.15.3"
|
|
55
61
|
},
|
|
56
62
|
"devDependencies": {
|
|
57
|
-
"@babel/core": "^7.
|
|
58
|
-
"@babel/eslint-parser": "^7.
|
|
59
|
-
"@stylistic/eslint-plugin": "^1.6.1",
|
|
60
|
-
"@stylistic/eslint-plugin-migrate": "^1.7.2",
|
|
61
|
-
"@vitejs/plugin-vue": "^5.2.1",
|
|
62
|
-
"@vue/babel-preset-app": "^5.0.8",
|
|
63
|
+
"@babel/core": "^7.18.13",
|
|
64
|
+
"@babel/eslint-parser": "^7.18.9",
|
|
63
65
|
"@vue/cli-plugin-babel": "^5.0.8",
|
|
64
|
-
"@
|
|
65
|
-
"
|
|
66
|
+
"@vue/cli-plugin-unit-jest": "^5.0.8",
|
|
67
|
+
"@vue/test-utils": "^1.0.0-beta.31",
|
|
68
|
+
"@vuese/cli": "^2.10.0",
|
|
69
|
+
"babel-jest": "^24.9.0",
|
|
70
|
+
"babel-plugin-module-resolver": "^4.1.0",
|
|
66
71
|
"babel-plugin-require-context-hook": "^1.0.0",
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"eslint": "^
|
|
70
|
-
"eslint-
|
|
71
|
-
"eslint-
|
|
72
|
-
"eslint-plugin-
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"stylelint-config-standard-scss": "^13.1.0",
|
|
86
|
-
"vite": "^6.1.0",
|
|
87
|
-
"vite-plugin-static-copy": "^2.2.0",
|
|
88
|
-
"vue-axios": "^3.5.2",
|
|
89
|
-
"vue-eslint-parser": "^9.4.2",
|
|
90
|
-
"vue-i18n": "^9.9.1",
|
|
91
|
-
"vue-loader": "^17.4.2"
|
|
92
|
-
},
|
|
93
|
-
"optionalDependencies": {
|
|
94
|
-
"sass-embedded": "^1.83.4"
|
|
95
|
-
},
|
|
96
|
-
"peerDependencies": {
|
|
97
|
-
"element-plus": "^2.9.3",
|
|
98
|
-
"element-theme-chalk": "^2.15.14",
|
|
99
|
-
"vue-i18n": "^9.9.1"
|
|
100
|
-
},
|
|
101
|
-
"overrides": {
|
|
102
|
-
"vue": "^3.5.13"
|
|
72
|
+
"eslint": "^8.23.0",
|
|
73
|
+
"eslint-config-prettier": "^8.4.0",
|
|
74
|
+
"eslint-config-standard": "^17.0.0",
|
|
75
|
+
"eslint-import-resolver-babel-module": "^5.3.1",
|
|
76
|
+
"eslint-plugin-import": "^2.25.2",
|
|
77
|
+
"eslint-plugin-n": "^15.2.5",
|
|
78
|
+
"eslint-plugin-prettier": "^4.2.1",
|
|
79
|
+
"eslint-plugin-promise": "^6.0.1",
|
|
80
|
+
"eslint-plugin-vue": "^9.4.0",
|
|
81
|
+
"husky": "^8.0.1",
|
|
82
|
+
"jest": "^27.1.0",
|
|
83
|
+
"lint-staged": "^13.2.2",
|
|
84
|
+
"nodemon": "^2.0.19",
|
|
85
|
+
"prettier": "^2.7.1",
|
|
86
|
+
"sass": "^1.63.4",
|
|
87
|
+
"sass-loader": "^13.0.2",
|
|
88
|
+
"vue-template-compiler": "^2.7.10",
|
|
89
|
+
"webpack": "^5.74.0"
|
|
103
90
|
}
|
|
104
91
|
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
@font-face {
|
|
2
|
+
font-family: 'bevi';
|
|
3
|
+
src: url('/fonts/bevi-regular.woff2') format('woff2'),
|
|
4
|
+
url('/fonts/bevi-regular.woff') format('woff');
|
|
5
|
+
font-weight: normal;
|
|
6
|
+
font-style: normal;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@font-face {
|
|
10
|
+
font-family: 'bevi';
|
|
11
|
+
src: url('/fonts/bevi-medium.woff2') format('woff2'),
|
|
12
|
+
url('/fonts/bevi-medium.woff') format('woff');
|
|
13
|
+
font-weight: 500;
|
|
14
|
+
font-style: normal;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@font-face {
|
|
18
|
+
font-family: 'bevi';
|
|
19
|
+
src: url('/fonts/bevi-bold.woff2') format('woff2'),
|
|
20
|
+
url('/fonts/bevi-bold.woff') format('woff');
|
|
21
|
+
font-weight: bold;
|
|
22
|
+
font-style: normal;
|
|
23
|
+
}
|
|
24
|
+
* {
|
|
25
|
+
font-family: "bevi", sans-serif;
|
|
26
|
+
}
|
|
27
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
@function randomNum($min, $max) {
|
|
2
|
+
$rand: random();
|
|
3
|
+
$randomNum: $min + floor($rand * (($max - $min) + 1));
|
|
4
|
+
|
|
5
|
+
@return $randomNum;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
@function number($string) {
|
|
9
|
+
// Matrices
|
|
10
|
+
$strings: '0' '1' '2' '3' '4' '5' '6' '7' '8' '9';
|
|
11
|
+
$numbers: 0 1 2 3 4 5 6 7 8 9;
|
|
12
|
+
|
|
13
|
+
// Result
|
|
14
|
+
$result: 0;
|
|
15
|
+
|
|
16
|
+
// Looping through all characters
|
|
17
|
+
@for $i from 1 through str-length($string) {
|
|
18
|
+
// Do magic
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@return $result;
|
|
22
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
.text {
|
|
2
|
+
&--center {
|
|
3
|
+
text-align: center;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
&-color {
|
|
7
|
+
&--default {
|
|
8
|
+
color: $--color-text-primary;
|
|
9
|
+
}
|
|
10
|
+
&--regular {
|
|
11
|
+
color: $--color-text-regular;
|
|
12
|
+
}
|
|
13
|
+
&--primary {
|
|
14
|
+
color: $--color-primary;
|
|
15
|
+
}
|
|
16
|
+
&--danger {
|
|
17
|
+
color: $--color-danger;
|
|
18
|
+
}
|
|
19
|
+
&--success {
|
|
20
|
+
color: $--color-success;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.hover {
|
|
26
|
+
&-text {
|
|
27
|
+
&--primary:not([disabled]) {
|
|
28
|
+
&:hover,&:focus {
|
|
29
|
+
color: $--color-primary !important;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&--danger:not([disabled]){
|
|
34
|
+
&:hover,&:focus {
|
|
35
|
+
color: $--color-danger !important;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
// Helpers gerados de forma dinâmica, de acordo
|
|
42
|
+
// com a medida dos measures.
|
|
43
|
+
@each $name, $size in $sizes {
|
|
44
|
+
.m-t-#{$name} {
|
|
45
|
+
margin-top: $size;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.m-b-#{$name} {
|
|
49
|
+
margin-bottom: $size;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.m-r-#{$name} {
|
|
53
|
+
margin-right: $size;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.m-l-#{$name} {
|
|
57
|
+
margin-left: $size;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.p-t-#{$name} {
|
|
61
|
+
padding-top: $size;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.p-b-#{$name} {
|
|
65
|
+
padding-bottom: $size;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.p-r-#{$name} {
|
|
69
|
+
padding-right: $size;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.p-l-#{$name} {
|
|
73
|
+
padding-left: $size;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
// Helpers para flexbox, para facilitar, podemos pegar os helpers
|
|
78
|
+
// do bootstrap!
|
|
79
|
+
.d-flex {
|
|
80
|
+
&:not(.mobile-flex) {
|
|
81
|
+
display: initial;
|
|
82
|
+
|
|
83
|
+
@include r(1024) {
|
|
84
|
+
display: flex;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
display: flex;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.d-block {
|
|
92
|
+
display: block;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.justify-between {
|
|
96
|
+
justify-content: space-between;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.text-helper-info {
|
|
100
|
+
font-size: 13px;
|
|
101
|
+
color: #565b66;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.no-font-weight {
|
|
105
|
+
font-weight: initial !important;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.no-padding-mobile {
|
|
109
|
+
@include r(767) {
|
|
110
|
+
padding: 0;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
@mixin change-placeholder-color($color: #010101, $opacity: 1) {
|
|
2
|
+
::placeholder {
|
|
3
|
+
/* Chrome, Firefox, Opera, Safari 10.1+ */
|
|
4
|
+
color: rgba($color, $opacity);
|
|
5
|
+
opacity: 1; /* Firefox */
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
:-ms-input-placeholder {
|
|
9
|
+
/* Internet Explorer 10-11 */
|
|
10
|
+
color: rgba($color, $opacity);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
::-ms-input-placeholder {
|
|
14
|
+
/* Microsoft Edge */
|
|
15
|
+
color: rgba($color, $opacity);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@mixin add-icon-to-menu-title($image: "", $width: "", $height: "") {
|
|
20
|
+
&::before {
|
|
21
|
+
content: "";
|
|
22
|
+
background: url($image);
|
|
23
|
+
width: $width;
|
|
24
|
+
height: $height;
|
|
25
|
+
display: block;
|
|
26
|
+
position: absolute;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@mixin default-sidebar-icon() {
|
|
31
|
+
width: 40px;
|
|
32
|
+
height: 40px;
|
|
33
|
+
background: #fff;
|
|
34
|
+
border-radius: $border-radius;
|
|
35
|
+
justify-content: center;
|
|
36
|
+
border: 1px solid #fff;
|
|
37
|
+
|
|
38
|
+
&:hover {
|
|
39
|
+
border-color: #409eff;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
@mixin option-list-item-hover($color) {
|
|
44
|
+
&:hover {
|
|
45
|
+
border-color: $color;
|
|
46
|
+
|
|
47
|
+
.icon {
|
|
48
|
+
color: $color;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
@mixin option-list-item-checked($color) {
|
|
54
|
+
&.active {
|
|
55
|
+
border-color: $color;
|
|
56
|
+
background: rgba($color, 0.1);
|
|
57
|
+
|
|
58
|
+
.icon {
|
|
59
|
+
color: $color;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
@mixin center-block {
|
|
65
|
+
margin: {
|
|
66
|
+
left: auto;
|
|
67
|
+
right: auto;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
input,
|
|
2
|
+
.el-select-dropdown__empty,
|
|
3
|
+
.el-select-dropdown__list,
|
|
4
|
+
.el-autosuggest-suggestion {
|
|
5
|
+
font-family: "bevi", sans-serif;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* INPUT PREPEND
|
|
11
|
+
* Sobrescrita de itens quando em grupo / com prepend
|
|
12
|
+
*/
|
|
13
|
+
.el-input.el-input-group.el-input-group--prepend {
|
|
14
|
+
border: 1px solid $--border-color-light;
|
|
15
|
+
border-radius: $--border-radius-base;
|
|
16
|
+
transition: border-color 150ms ease-in-out;
|
|
17
|
+
|
|
18
|
+
&:hover,
|
|
19
|
+
&:focus-within {
|
|
20
|
+
border-color: $--color-primary;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.el-input-group__append {
|
|
25
|
+
background-color: transparent;
|
|
26
|
+
}
|
|
27
|
+
.el-input-group__prepend {
|
|
28
|
+
background: transparent;
|
|
29
|
+
position: relative;
|
|
30
|
+
padding: 0 15px;
|
|
31
|
+
border: 0;
|
|
32
|
+
cursor: default;
|
|
33
|
+
|
|
34
|
+
& + input {
|
|
35
|
+
border: 0;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&::after {
|
|
39
|
+
content: "";
|
|
40
|
+
position: absolute;
|
|
41
|
+
right: 0;
|
|
42
|
+
height: 70%;
|
|
43
|
+
width: 1px;
|
|
44
|
+
background: $--border-color-light;
|
|
45
|
+
top: 50%;
|
|
46
|
+
transform: translateY(-50%);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.el-form-item {
|
|
51
|
+
&.is-error {
|
|
52
|
+
.el-input-group--prepend {
|
|
53
|
+
border-color: $--color-danger;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.el-select .el-input{
|
|
59
|
+
height: 48px;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.el-input {
|
|
63
|
+
height: 48px;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
input.el-input__inner {
|
|
67
|
+
height: 100%;
|
|
68
|
+
margin-right: 50px;
|
|
69
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ReSass.
|
|
3
|
+
*
|
|
4
|
+
* MIXIN: Responsive Media Queries.
|
|
5
|
+
*
|
|
6
|
+
* Creates responsive media queries for seven different screen sizes.
|
|
7
|
+
* These are based on min-width which means if x is the size then your
|
|
8
|
+
* CSS will affect any device with screen width x and above.
|
|
9
|
+
*
|
|
10
|
+
* USAGE:
|
|
11
|
+
* @include r(240) { }
|
|
12
|
+
* @include r(320) { }
|
|
13
|
+
* @include r(480) { }
|
|
14
|
+
* @include r(768) { }
|
|
15
|
+
* @include r(1024) { }
|
|
16
|
+
* @include r(1140) { }
|
|
17
|
+
* @include r(1280) { }
|
|
18
|
+
* @include r(1500) { }
|
|
19
|
+
*
|
|
20
|
+
* CSS content goes inside {} brackets. These mixins should be used inside
|
|
21
|
+
* a class definition. For example:
|
|
22
|
+
*
|
|
23
|
+
* The following CSS will hide the .header on screen width 320px and above.
|
|
24
|
+
* .header {
|
|
25
|
+
* @include r(320) { display: none; }
|
|
26
|
+
* }
|
|
27
|
+
*
|
|
28
|
+
* @author Ahmad Awais (https://github.com/ahmadawais)
|
|
29
|
+
* @link https://github.com/ahmadawais/ReSass.git
|
|
30
|
+
* @version 1.0.0
|
|
31
|
+
*/
|
|
32
|
+
@mixin r( $point ) {
|
|
33
|
+
@if $point==240 {
|
|
34
|
+
@media ( min-width: 240px ) {
|
|
35
|
+
@content;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
@if $point==320 {
|
|
39
|
+
@media ( min-width: 320px ) {
|
|
40
|
+
@content;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
@if $point==480 {
|
|
44
|
+
@media ( min-width: 480px ) {
|
|
45
|
+
@content;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
@if $point==600 {
|
|
49
|
+
@media ( min-width: 600px ) {
|
|
50
|
+
@content;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
@if $point==767 {
|
|
54
|
+
@media (max-width: 767px) {
|
|
55
|
+
@content;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
@if $point==768 {
|
|
59
|
+
@media ( min-width: 768px ) {
|
|
60
|
+
@content;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
@if $point==1024 {
|
|
64
|
+
@media ( min-width: 1024px ) {
|
|
65
|
+
@content;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
@if $point==1140 {
|
|
69
|
+
@media ( min-width: 1140px ) {
|
|
70
|
+
@content;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
@if $point==1280 {
|
|
74
|
+
@media ( min-width: 1280px ) {
|
|
75
|
+
@content;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
@if $point==1500 {
|
|
79
|
+
@media ( min-width: 1500px ) {
|
|
80
|
+
@content;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// Sistema de medidas
|
|
2
|
+
$default: 1rem;
|
|
3
|
+
|
|
4
|
+
$sizes: (
|
|
5
|
+
none: 0,
|
|
6
|
+
xxs: calc(0.25 * #{$default}),
|
|
7
|
+
xs: calc(0.5 * #{$default}),
|
|
8
|
+
sm: calc(0.75 * #{$default}),
|
|
9
|
+
md: calc(1.25 * #{$default}),
|
|
10
|
+
lg: calc(2 * #{$default}),
|
|
11
|
+
xl: calc(3.25 * #{$default}),
|
|
12
|
+
xxl: calc(5.25 * #{$default})
|
|
13
|
+
);
|
|
14
|
+
|
|
15
|
+
// Borders
|
|
16
|
+
$border-radius: 3px;
|
|
17
|
+
|
|
18
|
+
// Sizes
|
|
19
|
+
$default-max-width: 1440px;
|
|
20
|
+
$default-side-padding: 20px;
|
|
21
|
+
|
|
22
|
+
// Default font weights
|
|
23
|
+
$light: 300;
|
|
24
|
+
$normal: 400;
|
|
25
|
+
$medium: 500;
|
|
26
|
+
$semi-bold: 600;
|
|
27
|
+
$bold: 700;
|