@webitel/ui-sdk 3.2.103 → 3.2.104
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/ui-sdk.common.js +144 -135
- package/dist/ui-sdk.common.js.map +1 -1
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.umd.js +144 -135
- package/dist/ui-sdk.umd.js.map +1 -1
- package/dist/ui-sdk.umd.min.js +3 -3
- package/dist/ui-sdk.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/{organisms → atoms}/wt-icon-action/_internals/wt-add-icon-action.vue +9 -10
- package/src/components/{organisms → atoms}/wt-icon-action/_internals/wt-delete-icon-action.vue +9 -10
- package/src/components/{organisms → atoms}/wt-icon-action/_internals/wt-download-icon-action.vue +9 -10
- package/src/components/{organisms → atoms}/wt-icon-action/_internals/wt-edit-icon-action.vue +9 -10
- package/src/components/{organisms → atoms}/wt-icon-action/_internals/wt-history-icon-action.vue +9 -10
- package/src/components/{organisms → atoms}/wt-icon-action/wt-icon-action.vue +3 -1
- package/src/components/index.js +1 -1
- package/src/components/molecules/wt-icon-btn/wt-icon-btn.vue +1 -0
- /package/src/components/{organisms → atoms}/wt-icon-action/__tests__/WtIconAction.spec.js +0 -0
- /package/src/components/{organisms → atoms}/wt-icon-action/_internals/__tests__/WtAddIconAction.spec.js +0 -0
- /package/src/components/{organisms → atoms}/wt-icon-action/_internals/__tests__/WtDeleteIconAction.spec.js +0 -0
- /package/src/components/{organisms → atoms}/wt-icon-action/_internals/__tests__/WtDownloadIconAction.spec.js +0 -0
- /package/src/components/{organisms → atoms}/wt-icon-action/_internals/__tests__/WtEditIconAction.spec.js +0 -0
- /package/src/components/{organisms → atoms}/wt-icon-action/_internals/__tests__/WtHistoryIconAction.spec.js +0 -0
package/package.json
CHANGED
|
@@ -4,23 +4,22 @@
|
|
|
4
4
|
<wt-icon-btn
|
|
5
5
|
icon="plus"
|
|
6
6
|
:disabled="disabled"
|
|
7
|
-
@click="
|
|
7
|
+
@click="emit('click')"
|
|
8
8
|
></wt-icon-btn>
|
|
9
9
|
</template>
|
|
10
10
|
{{ $t('webitelUI.iconAction.addActionHint') }}
|
|
11
11
|
</wt-tooltip>
|
|
12
12
|
</template>
|
|
13
13
|
|
|
14
|
-
<script>
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
type: Boolean,
|
|
20
|
-
default: false,
|
|
21
|
-
},
|
|
14
|
+
<script setup>
|
|
15
|
+
const props = defineProps({
|
|
16
|
+
disabled: {
|
|
17
|
+
type: Boolean,
|
|
18
|
+
default: false,
|
|
22
19
|
},
|
|
23
|
-
};
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
const emit = defineEmits(['click']);
|
|
24
23
|
</script>
|
|
25
24
|
|
|
26
25
|
<style scoped>
|
package/src/components/{organisms → atoms}/wt-icon-action/_internals/wt-delete-icon-action.vue
RENAMED
|
@@ -4,23 +4,22 @@
|
|
|
4
4
|
<wt-icon-btn
|
|
5
5
|
icon="bucket"
|
|
6
6
|
:disabled="disabled"
|
|
7
|
-
@click="
|
|
7
|
+
@click="emit('click')"
|
|
8
8
|
></wt-icon-btn>
|
|
9
9
|
</template>
|
|
10
10
|
{{ $t('webitelUI.iconAction.deleteActionHint') }}
|
|
11
11
|
</wt-tooltip>
|
|
12
12
|
</template>
|
|
13
13
|
|
|
14
|
-
<script>
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
type: Boolean,
|
|
20
|
-
default: false,
|
|
21
|
-
},
|
|
14
|
+
<script setup>
|
|
15
|
+
const props = defineProps({
|
|
16
|
+
disabled: {
|
|
17
|
+
type: Boolean,
|
|
18
|
+
default: false,
|
|
22
19
|
},
|
|
23
|
-
};
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
const emit = defineEmits(['click']);
|
|
24
23
|
</script>
|
|
25
24
|
|
|
26
25
|
<style scoped>
|
package/src/components/{organisms → atoms}/wt-icon-action/_internals/wt-download-icon-action.vue
RENAMED
|
@@ -4,23 +4,22 @@
|
|
|
4
4
|
<wt-icon-btn
|
|
5
5
|
icon="download"
|
|
6
6
|
:disabled="disabled"
|
|
7
|
-
@click="
|
|
7
|
+
@click="emit('click')"
|
|
8
8
|
></wt-icon-btn>
|
|
9
9
|
</template>
|
|
10
10
|
{{ $t('webitelUI.iconAction.downloadActionHint') }}
|
|
11
11
|
</wt-tooltip>
|
|
12
12
|
</template>
|
|
13
13
|
|
|
14
|
-
<script>
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
type: Boolean,
|
|
20
|
-
default: false,
|
|
21
|
-
},
|
|
14
|
+
<script setup>
|
|
15
|
+
const props = defineProps({
|
|
16
|
+
disabled: {
|
|
17
|
+
type: Boolean,
|
|
18
|
+
default: false,
|
|
22
19
|
},
|
|
23
|
-
};
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
const emit = defineEmits(['click']);
|
|
24
23
|
</script>
|
|
25
24
|
|
|
26
25
|
<style scoped>
|
package/src/components/{organisms → atoms}/wt-icon-action/_internals/wt-edit-icon-action.vue
RENAMED
|
@@ -5,23 +5,22 @@
|
|
|
5
5
|
class="table-action"
|
|
6
6
|
icon="edit"
|
|
7
7
|
:disabled="disabled"
|
|
8
|
-
@click="
|
|
8
|
+
@click="emit('click')"
|
|
9
9
|
></wt-icon-btn>
|
|
10
10
|
</template>
|
|
11
11
|
{{ $t('webitelUI.iconAction.editActionHint') }}
|
|
12
12
|
</wt-tooltip>
|
|
13
13
|
</template>
|
|
14
14
|
|
|
15
|
-
<script>
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
type: Boolean,
|
|
21
|
-
default: false,
|
|
22
|
-
},
|
|
15
|
+
<script setup>
|
|
16
|
+
const props = defineProps({
|
|
17
|
+
disabled: {
|
|
18
|
+
type: Boolean,
|
|
19
|
+
default: false,
|
|
23
20
|
},
|
|
24
|
-
};
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
const emit = defineEmits(['click']);
|
|
25
24
|
</script>
|
|
26
25
|
|
|
27
26
|
<style scoped>
|
package/src/components/{organisms → atoms}/wt-icon-action/_internals/wt-history-icon-action.vue
RENAMED
|
@@ -4,23 +4,22 @@
|
|
|
4
4
|
<wt-icon-btn
|
|
5
5
|
icon="history"
|
|
6
6
|
:disabled="disabled"
|
|
7
|
-
@click="
|
|
7
|
+
@click="emit('click')"
|
|
8
8
|
></wt-icon-btn>
|
|
9
9
|
</template>
|
|
10
10
|
{{ $t('webitelUI.iconAction.historyActionHint') }}
|
|
11
11
|
</wt-tooltip>
|
|
12
12
|
</template>
|
|
13
13
|
|
|
14
|
-
<script>
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
type: Boolean,
|
|
20
|
-
default: false,
|
|
21
|
-
},
|
|
14
|
+
<script setup>
|
|
15
|
+
const props = defineProps({
|
|
16
|
+
disabled: {
|
|
17
|
+
type: Boolean,
|
|
18
|
+
default: false,
|
|
22
19
|
},
|
|
23
|
-
};
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
const emit = defineEmits(['click']);
|
|
24
23
|
</script>
|
|
25
24
|
|
|
26
25
|
<style scoped>
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<component
|
|
3
3
|
:is="actionComponent"
|
|
4
4
|
:disabled="disabled"
|
|
5
|
-
@click="
|
|
5
|
+
@click="emit('click')"
|
|
6
6
|
></component>
|
|
7
7
|
</template>
|
|
8
8
|
|
|
@@ -26,6 +26,8 @@ const props = defineProps({
|
|
|
26
26
|
},
|
|
27
27
|
});
|
|
28
28
|
|
|
29
|
+
const emit = defineEmits(['click']);
|
|
30
|
+
|
|
29
31
|
const actionComponent = computed(() => {
|
|
30
32
|
switch (props.action) {
|
|
31
33
|
case 'edit':
|
package/src/components/index.js
CHANGED
|
@@ -53,7 +53,7 @@ import WtStatusSelect from './organisms/wt-status-select/wt-status-select.vue';
|
|
|
53
53
|
import WtTable from './organisms/wt-table/wt-table.vue';
|
|
54
54
|
import WtTableActions from './organisms/wt-table-actions/wt-table-actions.vue';
|
|
55
55
|
import WtTableColumnSelect from './organisms/wt-table-column-select/wt-table-column-select.vue';
|
|
56
|
-
import WtIconAction from './
|
|
56
|
+
import WtIconAction from './atoms/wt-icon-action/wt-icon-action.vue';
|
|
57
57
|
import WtPageHeader from './organisms/wt-page-header/wt-page-header.vue';
|
|
58
58
|
import WtStepper from './organisms/wt-stepper/wt-stepper.vue';
|
|
59
59
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|