@mixd-id/web-scaffold 0.2.240704 → 0.2.240706
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/package.json
CHANGED
|
@@ -169,21 +169,14 @@ export default{
|
|
|
169
169
|
|
|
170
170
|
.button-primary {
|
|
171
171
|
@apply bg-primary-500 text-white rounded-lg;
|
|
172
|
+
@apply hover:bg-primary-600 focus:border-primary-300;
|
|
172
173
|
box-shadow: 0 2px 1px rgba(0, 0, 0, .05);
|
|
173
174
|
border: solid 1px rgb(var(--primary-500));
|
|
174
175
|
}
|
|
175
176
|
|
|
176
|
-
.button-primary:focus {
|
|
177
|
-
border-color: rgb(var(--primary-600));
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
.button-primary:hover {
|
|
181
|
-
@apply bg-primary-600;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
177
|
.button-primary-disabled,
|
|
185
178
|
.button-primary-disabled:hover {
|
|
186
|
-
@apply bg-primary-
|
|
179
|
+
@apply bg-primary-300 border-primary-300 top-0 left-0 cursor-not-allowed text-opacity-50;
|
|
187
180
|
@apply top-0 left-0;
|
|
188
181
|
}
|
|
189
182
|
|
package/src/components/List.vue
CHANGED
|
@@ -617,7 +617,8 @@ export default{
|
|
|
617
617
|
|
|
618
618
|
this._config = setupConfig(JSON.parse(JSON.stringify((await this.defaultConfig()).default)))
|
|
619
619
|
|
|
620
|
-
|
|
620
|
+
if(save)
|
|
621
|
+
this.saveConfig()
|
|
621
622
|
},
|
|
622
623
|
|
|
623
624
|
async loadConfig(){
|
|
@@ -634,7 +635,9 @@ export default{
|
|
|
634
635
|
else{
|
|
635
636
|
return this.socket.send(this.presetSrc, { key:this.presetKey })
|
|
636
637
|
.then(async (config) => {
|
|
637
|
-
|
|
638
|
+
!config ?
|
|
639
|
+
await this.loadDefaultConfig() :
|
|
640
|
+
this._config = config
|
|
638
641
|
})
|
|
639
642
|
.catch(() => {})
|
|
640
643
|
}
|