@policystudio/policy-studio-ui-vue 1.1.90-beta.21 → 1.1.90-beta.25
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/css/psui_styles_output.css +0 -2
- package/dist/util/GeneralFunctions.js +3 -0
- package/dist/util/GeneralFunctions.js.map +1 -1
- package/package.json +1 -1
- package/src/assets/scss/components/PsDropdownList.scss +1 -1
- package/src/components/accordion/PsAccordionItem.vue +4 -0
- package/src/components/forms/PsDropdown.vue +1 -1
- package/src/components/forms/PsDropdownList.vue +1 -1
- package/src/components/forms/PsInput.vue +1 -1
- package/src/components/forms/PsInputSelect.vue +1 -1
- package/src/components/forms/PsInputTextArea.vue +0 -1
- package/src/components/table-results/PsTableResults.vue +1 -1
- package/src/components/table-results/PsTableResultsHead.vue +1 -1
- package/src/components/table-results/PsTableResultsHeadComparison.vue +1 -1
- package/src/components/tabs/PsTabHeader.vue +1 -1
- package/src/util/GeneralFunctions.js +5 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GeneralFunctions.js","sourceRoot":"","sources":["../../src/util/GeneralFunctions.js"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,MAAM,EAAE,EAAE;IACrC,IAAI,MAAM,GAAG,EAAE,CAAA;IACf,MAAM,UAAU,GACd,gEAAgE,CAAA;IAClE,MAAM,gBAAgB,GAAG,UAAU,CAAC,MAAM,CAAA;IAC1C,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,MAAM,EAAE,CAAC,EAAE,EAAE;QAC/B,MAAM,IAAI,UAAU,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,gBAAgB,CAAC,CAAC,CAAA;KAC1E;IACD,OAAO,MAAM,CAAA;AACf,CAAC,CAAA;AACD,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,IAAI,EAAE,EAAE;I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,CAAC,IAAI,KAAK,IAAI,EAAE;QAC/B,OAAO,IAAI,CAAA;KACZ;SAAM;QACL,OAAO,2BAA2B,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,CAAA;KACvD;AACH,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
@apply psui-w-full psui-flex psui-flex-col psui-font-medium psui-my-4;
|
|
4
4
|
|
|
5
5
|
.psui-el-dropdown-menu-list-item {
|
|
6
|
-
@apply psui-flex psui-items-end psui-justify-between psui-mx-0 psui-text-small psui-text-gray-60 psui-cursor-pointer psui-transition-all
|
|
6
|
+
@apply psui-flex psui-items-end psui-justify-between psui-mx-0 psui-text-small psui-text-gray-60 psui-cursor-pointer psui-transition-all;
|
|
7
7
|
padding: 7px 20px;
|
|
8
8
|
|
|
9
9
|
&-left-label {
|
|
@@ -100,6 +100,7 @@ const getParent = computed(() => {
|
|
|
100
100
|
})
|
|
101
101
|
|
|
102
102
|
const getIcon = computed(() => {
|
|
103
|
+
if(!getParent.value) return
|
|
103
104
|
if (getParent.value._props.layout === 'medium') return 'expand_more'
|
|
104
105
|
if (getParent.value._props.layout === 'big' && isOpen.value === false) return 'add'
|
|
105
106
|
if (getParent.value._props.layout === 'big' && isOpen.value === true) return 'remove'
|
|
@@ -126,3 +127,6 @@ const end = (el) => {
|
|
|
126
127
|
<style>
|
|
127
128
|
/* Please, use the file src/assets/scss/components/PsAccordion.scss */
|
|
128
129
|
</style>
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
|
@@ -350,7 +350,7 @@ import PsTooltip from '../tooltip/PsTooltip.vue'
|
|
|
350
350
|
import PsSwitch from '../controls/PsSwitch.vue'
|
|
351
351
|
import tailwindConfig from '../../../tailwind.config'
|
|
352
352
|
|
|
353
|
-
import { ref, computed, watch, onMounted, onBeforeUnmount,
|
|
353
|
+
import { ref, computed, watch, onMounted, onBeforeUnmount, getCurrentInstance } from 'vue'
|
|
354
354
|
|
|
355
355
|
const props = defineProps({
|
|
356
356
|
/**
|
|
@@ -19,7 +19,12 @@ export const getParentScrollableEl = (node) => {
|
|
|
19
19
|
return getParentScrollableEl(node.parentNode)
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
|
+
|
|
22
23
|
export const getParentVueComponentByName = (comp, name) => {
|
|
24
|
+
if (!comp) {
|
|
25
|
+
return null
|
|
26
|
+
}
|
|
27
|
+
|
|
23
28
|
if (comp.$options.name === name) {
|
|
24
29
|
return comp
|
|
25
30
|
} else {
|