@authing/vue-ui-components 3.0.26 → 3.0.29
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/components/AuthingGuard/index.js +8 -0
- package/{src/components/AuthingGuard.vue → components/AuthingGuard/src/index.vue} +28 -39
- package/components/Guard/index.js +8 -0
- package/{src/components/Guard.vue → components/Guard/src/index.vue} +22 -17
- package/components/index.js +25 -0
- package/lib/index.min.css +1 -2
- package/lib/index.min.js +482 -1
- package/package.json +58 -39
- package/.eslintignore +0 -2
- package/configs/rollup.config.base.js +0 -77
- package/configs/rollup.config.browser.js +0 -15
- package/configs/rollup.config.es.js +0 -16
- package/configs/rollup.config.umd.js +0 -15
- package/src/components/index.d.ts +0 -0
- package/src/components/index.js +0 -7
- package/src/icons.js +0 -18
- package/src/index.js +0 -79
- package/src/mixins/CoupledChild.js +0 -49
- package/src/mixins/CoupledParent.js +0 -172
- package/src/mixins/DisableScroll.js +0 -25
- package/src/mixins/DisabledChild.js +0 -25
- package/src/mixins/DisabledParent.js +0 -35
- package/vue.config.js +0 -33
- package/yarn-error.log +0 -21426
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* (Use with the DisabledChild mixin)
|
|
3
|
-
* Allow disabling an entire tree of components implementing the DisabledChild mixin.
|
|
4
|
-
*/
|
|
5
|
-
// @vue/component
|
|
6
|
-
export default {
|
|
7
|
-
provide () {
|
|
8
|
-
return {
|
|
9
|
-
VueDisableMixin: {
|
|
10
|
-
data: this.injectedDisableData,
|
|
11
|
-
},
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
|
|
15
|
-
props: {
|
|
16
|
-
disabled: {
|
|
17
|
-
type: Boolean,
|
|
18
|
-
default: false,
|
|
19
|
-
},
|
|
20
|
-
},
|
|
21
|
-
|
|
22
|
-
data () {
|
|
23
|
-
return {
|
|
24
|
-
injectedDisableData: {
|
|
25
|
-
value: this.disabled,
|
|
26
|
-
},
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
|
|
30
|
-
watch: {
|
|
31
|
-
disabled (value, oldValue) {
|
|
32
|
-
if (value !== oldValue) this.injectedDisableData.value = value
|
|
33
|
-
},
|
|
34
|
-
},
|
|
35
|
-
}
|
package/vue.config.js
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
const path = require("path");
|
|
2
|
-
|
|
3
|
-
module.exports = {
|
|
4
|
-
lintOnSave: false,
|
|
5
|
-
|
|
6
|
-
outputDir: "./docs",
|
|
7
|
-
publicPath: "./",
|
|
8
|
-
|
|
9
|
-
configureWebpack: {
|
|
10
|
-
entry: {
|
|
11
|
-
app: path.resolve(__dirname, "./docs-src/main.js"),
|
|
12
|
-
},
|
|
13
|
-
resolve: {
|
|
14
|
-
alias: {
|
|
15
|
-
"@style": path.resolve(__dirname, "./src/style/imports.styl"),
|
|
16
|
-
"@": path.resolve(__dirname, "./docs-src"),
|
|
17
|
-
},
|
|
18
|
-
},
|
|
19
|
-
},
|
|
20
|
-
|
|
21
|
-
chainWebpack: (config) => {
|
|
22
|
-
config.module.rule("js").include.add(path.resolve(__dirname, "./docs-src"));
|
|
23
|
-
|
|
24
|
-
config.module
|
|
25
|
-
.rule("vue")
|
|
26
|
-
.use("vue-loader")
|
|
27
|
-
.loader("vue-loader")
|
|
28
|
-
.tap((options) => {
|
|
29
|
-
options.compilerOptions.preserveWhitespace = true;
|
|
30
|
-
return options;
|
|
31
|
-
});
|
|
32
|
-
},
|
|
33
|
-
};
|