vueless 0.0.354 → 0.0.356
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 +2 -2
- package/ui.container-modal/UModal.vue +1 -1
- package/ui.form-date-picker-range/UDatePickerRange.vue +1 -1
- package/ui.form-input/UInput.vue +3 -3
- package/ui.form-select/USelect.vue +3 -3
- package/ui.form-textarea/UTextarea.vue +1 -1
- package/web-types.json +1 -1
- /package/ui.form-input/assets/{fonts/text-security-disc.woff → text-security-disc.woff} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vueless",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.356",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Vue Styleless Component Framework.",
|
|
6
6
|
"homepage": "https://vueless.com",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@release-it/bumper": "^6.0.1",
|
|
38
38
|
"@vitejs/plugin-vue": "^5.0.5",
|
|
39
39
|
"@vue/eslint-config-prettier": "^9.0.0",
|
|
40
|
-
"@vueless/plugin-vite": "^0.0.
|
|
40
|
+
"@vueless/plugin-vite": "^0.0.61",
|
|
41
41
|
"@vueless/storybook": "^0.0.34",
|
|
42
42
|
"@vueless/web-types": "^0.0.15",
|
|
43
43
|
"autoprefixer": "^10.4.19",
|
|
@@ -321,7 +321,7 @@ function preventOverlayFromScrolling(newValue) {
|
|
|
321
321
|
if (newValue) {
|
|
322
322
|
document.body.style.overflow = "hidden";
|
|
323
323
|
} else {
|
|
324
|
-
document.getElementById(`${
|
|
324
|
+
document.getElementById(`${elementId}`).style.overflow = "hidden";
|
|
325
325
|
document.body.style.overflow = "auto";
|
|
326
326
|
}
|
|
327
327
|
}
|
|
@@ -460,7 +460,7 @@ const localValue = computed({
|
|
|
460
460
|
},
|
|
461
461
|
});
|
|
462
462
|
|
|
463
|
-
const rangeInputName = computed(() => `rangeInput-${
|
|
463
|
+
const rangeInputName = computed(() => `rangeInput-${elementId}`);
|
|
464
464
|
|
|
465
465
|
const isVariant = computed(() => ({
|
|
466
466
|
button: props.variant === DATE_PICKER_BUTTON_TYPE,
|
package/ui.form-input/UInput.vue
CHANGED
|
@@ -388,7 +388,7 @@ function onInput(inputEvent) {
|
|
|
388
388
|
let value = inputEvent.target.value;
|
|
389
389
|
|
|
390
390
|
if (props.validationRule) {
|
|
391
|
-
const input = document.querySelector(`#${
|
|
391
|
+
const input = document.querySelector(`#${elementId}`);
|
|
392
392
|
|
|
393
393
|
value = VALIDATION_RULES_REG_EX[props.validationRule]
|
|
394
394
|
? transformValue(value, VALIDATION_RULES_REG_EX[props.validationRule])
|
|
@@ -438,7 +438,7 @@ function onClickShowPassword() {
|
|
|
438
438
|
*/
|
|
439
439
|
function toggleReadonlyToPreventAutocomplete(toggleState) {
|
|
440
440
|
if (props.noAutocomplete && !props.readonly) {
|
|
441
|
-
const input = document.getElementById(
|
|
441
|
+
const input = document.getElementById(elementId);
|
|
442
442
|
|
|
443
443
|
toggleState ? input.setAttribute("readonly", "readonly") : input.removeAttribute("readonly");
|
|
444
444
|
}
|
|
@@ -476,6 +476,6 @@ function setLabelPosition() {
|
|
|
476
476
|
<style lang="postcss" scoped>
|
|
477
477
|
@font-face {
|
|
478
478
|
font-family: text-security-disc;
|
|
479
|
-
src: url("./assets/
|
|
479
|
+
src: url("./assets/text-security-disc.woff");
|
|
480
480
|
}
|
|
481
481
|
</style>
|
|
@@ -797,7 +797,7 @@ function deactivate() {
|
|
|
797
797
|
search.value = "";
|
|
798
798
|
isOpen.value = false;
|
|
799
799
|
|
|
800
|
-
nextTick(() => emit("close", localValue.value,
|
|
800
|
+
nextTick(() => emit("close", localValue.value, elementId));
|
|
801
801
|
}
|
|
802
802
|
|
|
803
803
|
function activate() {
|
|
@@ -815,7 +815,7 @@ function activate() {
|
|
|
815
815
|
|
|
816
816
|
if (wrapperRef.value !== undefined && !props.searchable) wrapperRef.value.focus();
|
|
817
817
|
|
|
818
|
-
emit("open",
|
|
818
|
+
emit("open", elementId);
|
|
819
819
|
}
|
|
820
820
|
|
|
821
821
|
function adjustPosition() {
|
|
@@ -851,7 +851,7 @@ function removeElement(option, shouldClose = true) {
|
|
|
851
851
|
}
|
|
852
852
|
|
|
853
853
|
emit("update:modelValue", value);
|
|
854
|
-
emit("remove", option,
|
|
854
|
+
emit("remove", option, elementId);
|
|
855
855
|
|
|
856
856
|
if (shouldClose) {
|
|
857
857
|
deactivate();
|
|
@@ -318,7 +318,7 @@ function onMousedown() {
|
|
|
318
318
|
|
|
319
319
|
function toggleReadonly(hasReadonly) {
|
|
320
320
|
if (props.noAutocomplete && !props.readonly) {
|
|
321
|
-
const textarea = document.getElementById(
|
|
321
|
+
const textarea = document.getElementById(elementId);
|
|
322
322
|
|
|
323
323
|
hasReadonly
|
|
324
324
|
? textarea.setAttribute("readonly", "readonly")
|
package/web-types.json
CHANGED
|
File without changes
|