@ticatec/uniface-element 0.1.35 → 0.1.46
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/README.md +1 -1
- package/dist/app-layout/ClassicLayout.svelte +7 -4
- package/dist/attachment-files/AttachmentFilesField.svelte +1 -1
- package/dist/attachment-files/FileRender.svelte +2 -2
- package/dist/attachment-files/FileUploadPanel.svelte +1 -1
- package/dist/box/Box.svelte +1 -1
- package/dist/box/Box.svelte.d.ts +2 -2
- package/dist/cascade-options-select/CascadeOptionSelect.svelte +1 -1
- package/dist/criteria-field/CriteriaField.svelte +1 -2
- package/dist/criteria-field/CriteriaField.svelte.d.ts +0 -1
- package/dist/data-table/lib/IndicatorColumn.d.ts +1 -1
- package/dist/data-table/parts/FixedHeaderPanel.svelte +1 -1
- package/dist/data-table/parts/FixedRow.svelte +1 -1
- package/dist/date-picker/ScrollBar.svelte +2 -2
- package/dist/dialog/Dialog.svelte +1 -1
- package/dist/form-field/FormField.svelte +6 -6
- package/dist/form-field/FormField.svelte.d.ts +0 -1
- package/dist/form-panel/flex-form/CellField.svelte +1 -2
- package/dist/form-panel/flex-form/CellField.svelte.d.ts +0 -1
- package/dist/form-panel/flex-form/FlexForm.svelte +3 -1
- package/dist/form-panel/flex-form/FlexForm.svelte.d.ts +1 -0
- package/dist/form-panel/flex-row-form/FormContainer.svelte +2 -1
- package/dist/form-panel/flex-row-form/FormContainer.svelte.d.ts +1 -0
- package/dist/form-panel/grid-form/GridField.svelte +8 -6
- package/dist/form-panel/grid-form/GridField.svelte.d.ts +4 -3
- package/dist/form-panel/grid-form/GridForm.svelte +9 -2
- package/dist/form-panel/grid-form/GridForm.svelte.d.ts +2 -0
- package/dist/image-files/ImageFilesField.svelte +1 -1
- package/dist/image-files/ImagePreview.svelte +3 -3
- package/dist/image-files/ImageRender.svelte +2 -2
- package/dist/lib/TreeNodes.d.ts +58 -0
- package/dist/lib/TreeNodes.js +172 -0
- package/dist/list-box/ListBox.svelte +17 -15
- package/dist/lookup-editor/LookupEditor.svelte +1 -1
- package/dist/message-box/MessageBoxBoard.svelte +1 -1
- package/dist/navigator/Navigator.svelte +2 -0
- package/dist/navigator/Navigator.svelte.d.ts +1 -0
- package/dist/search-box/SearchBox.svelte +2 -2
- package/dist/tabs/Tabs.svelte +24 -34
- package/dist/tabs/Tabs.svelte.d.ts +1 -0
- package/dist/tag/Tag.svelte +4 -2
- package/dist/text-editor/PasswordEditor.svelte +3 -3
- package/dist/ticatec-uniface-web.css +80 -75
- package/dist/tree-view/TreeNodeView.svelte +1 -1
- package/dist/tree-view/TreeNodeView.svelte.d.ts +1 -1
- package/dist/tree-view/TreeView.svelte +1 -1
- package/dist/tree-view/TreeView.svelte.d.ts +1 -1
- package/package.json +1 -1
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
--uniface-box-footer-height: 24px;
|
|
86
86
|
--uniface-box-header-border: none;
|
|
87
87
|
--uniface-box-header-margin: 8px;
|
|
88
|
-
--uniface-box-border-color:
|
|
88
|
+
--uniface-box-border-color: #f0f0f0;
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
.uniface-box {
|
|
@@ -137,6 +137,9 @@
|
|
|
137
137
|
--uniface-list-box-hover-bg: #FFFFE1;
|
|
138
138
|
--uniface-list-box-selected-bg: #b1c8f6;
|
|
139
139
|
--uniface-list-box-header-bottom-border: 1px solid #f0f0f0;
|
|
140
|
+
--uniface-list-box-border-color: #f0f0f0;
|
|
141
|
+
--uniface-list-box-header-bg: #F8FAFC;
|
|
142
|
+
--uniface-list-box-footer-bg: #F8FAFC;
|
|
140
143
|
}
|
|
141
144
|
|
|
142
145
|
.uniface-listbox {
|
|
@@ -146,6 +149,7 @@
|
|
|
146
149
|
overflow: hidden;
|
|
147
150
|
box-sizing: border-box;
|
|
148
151
|
user-select: none;
|
|
152
|
+
border: 1px solid var(--uniface-list-box-border-color);
|
|
149
153
|
}
|
|
150
154
|
.uniface-listbox .list-view-mask {
|
|
151
155
|
width: 100%;
|
|
@@ -163,7 +167,8 @@
|
|
|
163
167
|
.uniface-listbox .box-header .title {
|
|
164
168
|
font-weight: 600;
|
|
165
169
|
line-height: 32px;
|
|
166
|
-
|
|
170
|
+
padding: 0 8px;
|
|
171
|
+
background-color: var(--uniface-list-box-header-bg, #F8FAFC);
|
|
167
172
|
}
|
|
168
173
|
.uniface-listbox .box-header .header-search {
|
|
169
174
|
width: 100%;
|
|
@@ -174,6 +179,7 @@
|
|
|
174
179
|
}
|
|
175
180
|
.uniface-listbox .box-footer {
|
|
176
181
|
border-top: var(--uniface-list-box-header-bottom-border);
|
|
182
|
+
background-color: var(--uniface-list-box-footer-bg);
|
|
177
183
|
height: auto;
|
|
178
184
|
}
|
|
179
185
|
.uniface-listbox .listbox-header {
|
|
@@ -731,38 +737,37 @@
|
|
|
731
737
|
display: grid;
|
|
732
738
|
position: relative;
|
|
733
739
|
gap: 4px;
|
|
740
|
+
grid-template-columns: 1fr;
|
|
734
741
|
}
|
|
735
742
|
.uniface-filter-field .field-label {
|
|
736
743
|
color: var(--uniface-criteria-field-label-color);
|
|
737
744
|
font-size: 0.9em;
|
|
738
745
|
font-weight: 500;
|
|
739
746
|
box-sizing: border-box;
|
|
740
|
-
}
|
|
741
|
-
.uniface-filter-field.vertical .field-container {
|
|
742
|
-
grid-template-columns: 1fr;
|
|
743
|
-
}
|
|
744
|
-
.uniface-filter-field.vertical .field-label {
|
|
745
747
|
width: 100%;
|
|
746
748
|
white-space: nowrap;
|
|
747
749
|
overflow: hidden;
|
|
748
750
|
text-overflow: ellipsis;
|
|
749
751
|
}
|
|
750
|
-
.uniface-filter-field
|
|
752
|
+
.uniface-filter-field .field {
|
|
751
753
|
position: relative;
|
|
752
754
|
display: flex;
|
|
753
755
|
flex-direction: row;
|
|
754
756
|
justify-items: center;
|
|
755
757
|
width: 100%;
|
|
756
758
|
}
|
|
757
|
-
|
|
759
|
+
|
|
760
|
+
.field-layout-horizontal .field-container {
|
|
758
761
|
grid-template-columns: auto 1fr;
|
|
759
762
|
align-items: center;
|
|
760
763
|
gap: 8px;
|
|
761
764
|
}
|
|
762
|
-
.
|
|
765
|
+
.field-layout-horizontal .field-label {
|
|
763
766
|
text-align: var(--uniface-criteria-field-label-alignment);
|
|
764
767
|
width: var(--uniface-criteria-field-label-width);
|
|
765
|
-
overflow:
|
|
768
|
+
overflow: unset;
|
|
769
|
+
text-overflow: unset;
|
|
770
|
+
white-space: unset;
|
|
766
771
|
}
|
|
767
772
|
|
|
768
773
|
.switch-box input[type=checkbox] {
|
|
@@ -870,6 +875,7 @@
|
|
|
870
875
|
--uniface-form-field-label-width: 120px;
|
|
871
876
|
--uniface-form-field-label-alignment: right;
|
|
872
877
|
--uniface-form-field-padding: 6px 4px;
|
|
878
|
+
--uniface-field-gap: 4px;
|
|
873
879
|
}
|
|
874
880
|
|
|
875
881
|
.uniface-form-field {
|
|
@@ -877,7 +883,6 @@
|
|
|
877
883
|
display: block;
|
|
878
884
|
position: relative;
|
|
879
885
|
height: auto;
|
|
880
|
-
padding: var(--uniface-form-field-padding);
|
|
881
886
|
}
|
|
882
887
|
.uniface-form-field .required-indicator {
|
|
883
888
|
color: var(--uniface-form-field-required-indicator-color);
|
|
@@ -889,6 +894,7 @@
|
|
|
889
894
|
font-style: italic;
|
|
890
895
|
color: var(--uniface-form-field-invalid-message-color);
|
|
891
896
|
grid-area: hint;
|
|
897
|
+
margin-top: 8px;
|
|
892
898
|
}
|
|
893
899
|
.uniface-form-field .field {
|
|
894
900
|
width: 100%;
|
|
@@ -912,29 +918,35 @@
|
|
|
912
918
|
.uniface-form-field .form-content {
|
|
913
919
|
width: 100%;
|
|
914
920
|
display: grid;
|
|
915
|
-
|
|
916
|
-
}
|
|
917
|
-
.uniface-form-field.vertical .form-content {
|
|
921
|
+
grid-template-rows: auto 1fr auto;
|
|
918
922
|
grid-template-columns: 1fr;
|
|
919
923
|
grid-template-areas: "label" "field" "hint";
|
|
920
924
|
}
|
|
921
|
-
.uniface-form-field
|
|
925
|
+
.uniface-form-field .form-content .field-label {
|
|
922
926
|
width: 100%;
|
|
923
927
|
white-space: nowrap;
|
|
924
928
|
overflow: hidden;
|
|
925
929
|
text-overflow: ellipsis;
|
|
930
|
+
margin-bottom: var(--uniface-field-gap);
|
|
931
|
+
padding: 0 4px;
|
|
926
932
|
}
|
|
927
|
-
.uniface-form-field
|
|
933
|
+
.uniface-form-field .form-content .empty-field {
|
|
928
934
|
display: none;
|
|
929
935
|
}
|
|
930
|
-
|
|
936
|
+
|
|
937
|
+
.field-layout-horizontal .form-content {
|
|
938
|
+
grid-template-rows: 1fr auto;
|
|
931
939
|
grid-template-columns: auto 1fr;
|
|
932
|
-
gap: 8px;
|
|
933
940
|
grid-template-areas: "label field" "empty hint";
|
|
934
941
|
}
|
|
935
|
-
.
|
|
942
|
+
.field-layout-horizontal .form-content .field-label {
|
|
936
943
|
width: var(--uniface-form-field-label-width);
|
|
944
|
+
white-space: wrap;
|
|
945
|
+
overflow: unset;
|
|
946
|
+
text-overflow: unset;
|
|
947
|
+
margin-bottom: unset;
|
|
937
948
|
text-align: var(--uniface-form-field-label-alignment);
|
|
949
|
+
padding-right: 8px;
|
|
938
950
|
}
|
|
939
951
|
|
|
940
952
|
.flex-block {
|
|
@@ -1857,6 +1869,7 @@
|
|
|
1857
1869
|
}
|
|
1858
1870
|
.uniface-tabs-wrap .scroll-right, .uniface-tabs-wrap .scroll-left {
|
|
1859
1871
|
width: 24px;
|
|
1872
|
+
flex: 0 0 auto;
|
|
1860
1873
|
text-align: center;
|
|
1861
1874
|
cursor: pointer;
|
|
1862
1875
|
}
|
|
@@ -2111,6 +2124,12 @@
|
|
|
2111
2124
|
width: 100%;
|
|
2112
2125
|
}
|
|
2113
2126
|
|
|
2127
|
+
root {
|
|
2128
|
+
--uniface-drawer-bg: #ffffff;
|
|
2129
|
+
--uniface-drawer-shadow: rgba(0, 0, 0, 0.16) 0 3px 6px, rgba(0, 0, 0, 0.23) 0 3px 6px;
|
|
2130
|
+
--uniface-drawer-border-color: #e1e1e1;
|
|
2131
|
+
}
|
|
2132
|
+
|
|
2114
2133
|
.uniface-drawer {
|
|
2115
2134
|
position: fixed;
|
|
2116
2135
|
top: 0;
|
|
@@ -2123,8 +2142,8 @@
|
|
|
2123
2142
|
.uniface-drawer > div {
|
|
2124
2143
|
position: absolute;
|
|
2125
2144
|
height: 100%;
|
|
2126
|
-
background-color: var(--
|
|
2127
|
-
box-shadow:
|
|
2145
|
+
background-color: var(--uniface-drawer-bg);
|
|
2146
|
+
box-shadow: var(--uniface-drawer-shadow);
|
|
2128
2147
|
}
|
|
2129
2148
|
.uniface-drawer > div > div {
|
|
2130
2149
|
position: relative;
|
|
@@ -2134,11 +2153,11 @@
|
|
|
2134
2153
|
}
|
|
2135
2154
|
.uniface-drawer > div.left {
|
|
2136
2155
|
left: 0;
|
|
2137
|
-
border-right: 1px solid var(--
|
|
2156
|
+
border-right: 1px solid var(--uniface-drawer-border-color);
|
|
2138
2157
|
}
|
|
2139
2158
|
.uniface-drawer > div.right {
|
|
2140
2159
|
right: 0;
|
|
2141
|
-
border-left: 1px solid var(--
|
|
2160
|
+
border-left: 1px solid var(--uniface-drawer-border-color);
|
|
2142
2161
|
}
|
|
2143
2162
|
|
|
2144
2163
|
.uniface-pagination-panel {
|
|
@@ -2738,56 +2757,51 @@
|
|
|
2738
2757
|
margin: auto 20px;
|
|
2739
2758
|
}
|
|
2740
2759
|
|
|
2741
|
-
|
|
2760
|
+
:root {
|
|
2761
|
+
--uniface-flex-form-row-gap: 12px;
|
|
2762
|
+
--uniface-flex-container-padding: 8px 6px;
|
|
2763
|
+
--uniface-flex-cell-padding: 0 6px;
|
|
2764
|
+
--uniface-flex-form-row-padding: 6px 0;
|
|
2765
|
+
--uniface-grid-cell-padding: 6px;
|
|
2766
|
+
}
|
|
2767
|
+
|
|
2768
|
+
.flex-row-form, .flex-form {
|
|
2742
2769
|
width: 100%;
|
|
2743
|
-
height: 100%;
|
|
2744
|
-
overflow: auto;
|
|
2745
2770
|
position: relative;
|
|
2746
2771
|
box-sizing: border-box;
|
|
2772
|
+
padding: var(--uniface-flex-container-padding);
|
|
2747
2773
|
}
|
|
2748
|
-
.flex-row-form > div {
|
|
2774
|
+
.flex-row-form > div, .flex-form > div {
|
|
2749
2775
|
width: 100%;
|
|
2750
2776
|
height: 100%;
|
|
2751
2777
|
display: flex;
|
|
2752
|
-
flex-direction: column;
|
|
2753
2778
|
position: relative;
|
|
2779
|
+
justify-items: start;
|
|
2754
2780
|
box-sizing: border-box;
|
|
2755
2781
|
}
|
|
2756
|
-
.flex-row-form .form-
|
|
2757
|
-
width: 100%;
|
|
2758
|
-
display: flex;
|
|
2759
|
-
flex-direction: row;
|
|
2760
|
-
justify-items: flex-start;
|
|
2761
|
-
box-sizing: border-box;
|
|
2762
|
-
padding: 3px 0;
|
|
2763
|
-
}
|
|
2764
|
-
.flex-row-form .form-row .cell-field {
|
|
2765
|
-
box-sizing: border-box;
|
|
2766
|
-
padding: 0 4px;
|
|
2767
|
-
}
|
|
2768
|
-
.flex-row-form .form-row .form-cell {
|
|
2782
|
+
.flex-row-form .form-cell, .flex-form .form-cell {
|
|
2769
2783
|
position: relative;
|
|
2770
2784
|
box-sizing: border-box;
|
|
2771
|
-
padding: 0 4px;
|
|
2772
2785
|
flex: 0 0 auto;
|
|
2786
|
+
padding: var(--uniface-flex-cell-padding);
|
|
2773
2787
|
}
|
|
2774
2788
|
|
|
2775
|
-
.flex-form {
|
|
2776
|
-
|
|
2777
|
-
width: 100%;
|
|
2778
|
-
display: block;
|
|
2789
|
+
.flex-row-form > div {
|
|
2790
|
+
flex-direction: column;
|
|
2779
2791
|
}
|
|
2780
|
-
.flex-form
|
|
2781
|
-
position: relative;
|
|
2782
|
-
width: 100%;
|
|
2792
|
+
.flex-row-form .form-row {
|
|
2783
2793
|
display: flex;
|
|
2784
|
-
flex-
|
|
2785
|
-
|
|
2786
|
-
box-sizing: border-box;
|
|
2794
|
+
flex-direction: row;
|
|
2795
|
+
padding: var(--uniface-flex-form-row-padding);
|
|
2787
2796
|
}
|
|
2788
|
-
.flex-form .
|
|
2789
|
-
|
|
2790
|
-
|
|
2797
|
+
.flex-row-form .form-row:last-child {
|
|
2798
|
+
padding-bottom: 0;
|
|
2799
|
+
}
|
|
2800
|
+
|
|
2801
|
+
.flex-form > div {
|
|
2802
|
+
flex-wrap: wrap;
|
|
2803
|
+
flex-direction: row;
|
|
2804
|
+
row-gap: var(--uniface-flex-form-row-gap);
|
|
2791
2805
|
}
|
|
2792
2806
|
.flex-form .row-break {
|
|
2793
2807
|
width: 100%;
|
|
@@ -2798,35 +2812,20 @@
|
|
|
2798
2812
|
position: relative;
|
|
2799
2813
|
width: 100%;
|
|
2800
2814
|
display: block;
|
|
2815
|
+
padding: var(--uniface-flex-container-padding);
|
|
2801
2816
|
}
|
|
2802
2817
|
.grid-form > div {
|
|
2803
2818
|
width: 100%;
|
|
2819
|
+
height: 100%;
|
|
2804
2820
|
position: relative;
|
|
2805
2821
|
display: grid;
|
|
2806
|
-
grid-template-columns: repeat(12, 1fr);
|
|
2807
2822
|
justify-items: start;
|
|
2808
2823
|
box-sizing: border-box;
|
|
2809
|
-
padding: 6px 8px;
|
|
2810
|
-
grid-row-gap: 3px;
|
|
2811
|
-
grid-column-gap: 4px;
|
|
2812
2824
|
}
|
|
2813
|
-
.grid-form .cell
|
|
2825
|
+
.grid-form .form-cell {
|
|
2814
2826
|
width: 100%;
|
|
2815
2827
|
box-sizing: border-box;
|
|
2816
|
-
|
|
2817
|
-
.grid-form .uniface-form-field.vertical .form-content {
|
|
2818
|
-
height: 100%;
|
|
2819
|
-
display: flex;
|
|
2820
|
-
flex-direction: column;
|
|
2821
|
-
}
|
|
2822
|
-
.grid-form .uniface-form-field.vertical .form-content .field-label {
|
|
2823
|
-
flex: 0 0 auto;
|
|
2824
|
-
}
|
|
2825
|
-
.grid-form .uniface-form-field.vertical .form-content .field-hint {
|
|
2826
|
-
flex: 0 0 auto;
|
|
2827
|
-
}
|
|
2828
|
-
.grid-form .uniface-form-field.vertical .form-content .field {
|
|
2829
|
-
flex: 1 1 auto;
|
|
2828
|
+
padding: var(--uniface-grid-cell-padding);
|
|
2830
2829
|
}
|
|
2831
2830
|
|
|
2832
2831
|
.uniface-display-field.images-field > div {
|
|
@@ -3097,6 +3096,7 @@
|
|
|
3097
3096
|
--uniface-navigator-hover-text-color: #298DFF;
|
|
3098
3097
|
--uniface-navigator-active-text-color: #0061FF;
|
|
3099
3098
|
--uniface-navigator-active-text-weight: 600;
|
|
3099
|
+
--uniface-navigator-highlight-text-color: #0061FF;
|
|
3100
3100
|
}
|
|
3101
3101
|
|
|
3102
3102
|
.uniface-navigator-panel {
|
|
@@ -3158,6 +3158,9 @@
|
|
|
3158
3158
|
color: var(--uniface-navigator-hover-text-color);
|
|
3159
3159
|
cursor: pointer;
|
|
3160
3160
|
}
|
|
3161
|
+
.uniface-navigator-panel .navigator-content .uniface-navigator-item.highlight {
|
|
3162
|
+
color: var(--uniface-navigator-highlight-text-color);
|
|
3163
|
+
}
|
|
3161
3164
|
.uniface-navigator-panel .navigator-content .uniface-navigator-item.active {
|
|
3162
3165
|
color: var(--uniface-navigator-active-text-color);
|
|
3163
3166
|
font-weight: var(--uniface-navigator-active-text-weight);
|
|
@@ -3477,6 +3480,7 @@
|
|
|
3477
3480
|
|
|
3478
3481
|
.uniface-tag {
|
|
3479
3482
|
display: inline-block;
|
|
3483
|
+
cursor: default;
|
|
3480
3484
|
}
|
|
3481
3485
|
.uniface-tag > div {
|
|
3482
3486
|
display: block;
|
|
@@ -3507,6 +3511,7 @@
|
|
|
3507
3511
|
height: 14px;
|
|
3508
3512
|
width: 14px;
|
|
3509
3513
|
border-radius: 50%;
|
|
3514
|
+
cursor: pointer;
|
|
3510
3515
|
top: 2px;
|
|
3511
3516
|
right: 1px;
|
|
3512
3517
|
line-height: 12px;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import type {OnContextMenu} from "../context-menu/ContextMenuItem";
|
|
7
7
|
|
|
8
8
|
export let node: TreeNode;
|
|
9
|
-
export let lazyLoader: LazyLoader;
|
|
9
|
+
export let lazyLoader: LazyLoader | null;
|
|
10
10
|
export let activeNode: any;
|
|
11
11
|
export let isVisible: NodeVisibleFun;
|
|
12
12
|
export let level: number = 1;
|
|
@@ -16,7 +16,7 @@ interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> =
|
|
|
16
16
|
}
|
|
17
17
|
declare const TreeNodeView: $$__sveltets_2_IsomorphicComponent<{
|
|
18
18
|
node: TreeNode;
|
|
19
|
-
lazyLoader: LazyLoader;
|
|
19
|
+
lazyLoader: LazyLoader | null;
|
|
20
20
|
activeNode: any;
|
|
21
21
|
isVisible: NodeVisibleFun;
|
|
22
22
|
level?: number;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
export let nodes: Array<TreeNode>;
|
|
10
10
|
export let style: string = "";
|
|
11
|
-
export let lazyLoader: LazyLoader;
|
|
11
|
+
export let lazyLoader: LazyLoader | null = null;
|
|
12
12
|
export let activeNode: any = null;
|
|
13
13
|
export {className as class};
|
|
14
14
|
export let isVisible: NodeVisibleFun = null as unknown as NodeVisibleFun;
|
|
@@ -17,7 +17,7 @@ interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> =
|
|
|
17
17
|
declare const TreeView: $$__sveltets_2_IsomorphicComponent<{
|
|
18
18
|
nodes: Array<TreeNode>;
|
|
19
19
|
style?: string;
|
|
20
|
-
lazyLoader
|
|
20
|
+
lazyLoader?: LazyLoader | null;
|
|
21
21
|
activeNode?: any;
|
|
22
22
|
class?: string;
|
|
23
23
|
isVisible?: NodeVisibleFun;
|