@ticatec/uniface-element 0.2.2 → 0.2.4

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.
@@ -20,7 +20,7 @@
20
20
  let dialog: any;
21
21
 
22
22
  let confirmAction: ButtonAction = {
23
- label: confirmText??i18nRes.btnConfirm,
23
+ label: confirmText??i18nRes.common.btnConfirm,
24
24
  type: "primary",
25
25
  disabled: enableConfirm,
26
26
  handler: async ()=> {
@@ -7,7 +7,7 @@
7
7
  import DialogWrapper from "./DialogWrapper.svelte";
8
8
 
9
9
  export const open = (component: any, params: any) => {
10
- let dialog = {component, params, id: crypto.randomUUID()};
10
+ let dialog = {component, params, id: Math.floor(((new Date()).getTime() + Math.random()) * 100).toString(36)};
11
11
  dialogs.showDialog(dialog);
12
12
  }
13
13
 
@@ -917,6 +917,7 @@
917
917
  width: 100%;
918
918
  position: relative;
919
919
  grid-area: field;
920
+ overflow: hidden;
920
921
  }
921
922
  .uniface-form-field .field-label {
922
923
  color: var(--uniface-form-field-label-color);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ticatec/uniface-element",
3
- "version": "0.2.2",
3
+ "version": "0.2.4",
4
4
  "description": "A comprehensive UI component library for Svelte applications with rich form controls, data tables, layouts and interactive elements",
5
5
  "keywords": [
6
6
  "svelte",
@@ -1,30 +0,0 @@
1
- declare const langRes: {
2
- uniface: {
3
- btnClose: string;
4
- btnCancel: string;
5
- btnConfirm: string;
6
- calendar: {
7
- months: string[];
8
- monthsAbbr: string[];
9
- weekTitle: string[];
10
- weekTitleAbbr: string[];
11
- confirmText: string;
12
- };
13
- upload: {
14
- btnCancel: string;
15
- btnRetry: string;
16
- btnRemove: string;
17
- btnPickup: string;
18
- };
19
- propertyEditor: {
20
- colName: string;
21
- colValue: string;
22
- };
23
- dataTable: {
24
- rowNo: string;
25
- actions: string;
26
- emptyDataSet: string;
27
- };
28
- };
29
- };
30
- export default langRes;
@@ -1,38 +0,0 @@
1
- const langRes = {
2
- uniface: {
3
- btnClose: "关闭",
4
- btnCancel: '取消',
5
- btnConfirm: "确认",
6
- calendar: {
7
- months: [
8
- '一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'
9
- ],
10
- monthsAbbr: [
11
- '一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'
12
- ],
13
- weekTitle: [
14
- "星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"
15
- ],
16
- weekTitleAbbr: [
17
- "日", "一", "二", "三", "四", "五", "六"
18
- ],
19
- confirmText: "确认"
20
- },
21
- upload: {
22
- btnCancel: '取消',
23
- btnRetry: "重试",
24
- btnRemove: "删除",
25
- btnPickup: "选择文件"
26
- },
27
- propertyEditor: {
28
- colName: "属性",
29
- colValue: "值"
30
- },
31
- dataTable: {
32
- rowNo: "序号",
33
- actions: "操作",
34
- emptyDataSet: '空数据集'
35
- }
36
- }
37
- };
38
- export default langRes;
@@ -1,34 +0,0 @@
1
- declare const langRes: {
2
- uniface: {
3
- btnClose: string;
4
- btnCancel: string;
5
- btnConfirm: string;
6
- colorPicker: string;
7
- calendar: {
8
- months: string[];
9
- monthsAbbr: string[];
10
- weekTitle: string[];
11
- weekTitleAbbr: string[];
12
- confirmText: string;
13
- };
14
- upload: {
15
- btnCancel: string;
16
- btnRetry: string;
17
- btnRemove: string;
18
- btnPickup: string;
19
- };
20
- propertyEditor: {
21
- colName: string;
22
- colValue: string;
23
- };
24
- dataTable: {
25
- rowNo: string;
26
- actions: string;
27
- emptyDataSet: string;
28
- };
29
- transfer: {
30
- selectIndicator: string;
31
- };
32
- };
33
- };
34
- export default langRes;
@@ -1,42 +0,0 @@
1
- const langRes = {
2
- uniface: {
3
- btnClose: "Close",
4
- btnCancel: 'Cancel',
5
- btnConfirm: "OK",
6
- colorPicker: "Pick up color",
7
- calendar: {
8
- months: [
9
- 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'
10
- ],
11
- monthsAbbr: [
12
- 'Jan', 'Feb', 'Mar', 'Api', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'
13
- ],
14
- weekTitle: [
15
- "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"
16
- ],
17
- weekTitleAbbr: [
18
- "Sun", "Mon", "Tue", "Wed", "Thr", "Fri", "Sat"
19
- ],
20
- confirmText: "OK"
21
- },
22
- upload: {
23
- btnCancel: 'Cancel',
24
- btnRetry: "Retry",
25
- btnRemove: "Delete",
26
- btnPickup: "Pickup files"
27
- },
28
- propertyEditor: {
29
- colName: "Attribute",
30
- colValue: "Value"
31
- },
32
- dataTable: {
33
- rowNo: "Row#",
34
- actions: "Actions",
35
- emptyDataSet: 'Empty dataset'
36
- },
37
- transfer: {
38
- selectIndicator: "Selected: {{selected}}/{{total}}"
39
- }
40
- }
41
- };
42
- export default langRes;