tryton-sao 8.0.1 → 8.0.2
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/CHANGELOG +5 -0
- package/dist/tryton-sao.css +9 -8
- package/dist/tryton-sao.js +9 -4
- package/package.json +1 -1
- package/src/sao.js +1 -1
- package/src/sao.less +11 -10
- package/src/view/form.js +8 -3
package/CHANGELOG
CHANGED
package/dist/tryton-sao.css
CHANGED
|
@@ -9724,12 +9724,10 @@ html.accesskey *[accesskey]:after {
|
|
|
9724
9724
|
padding: 0 2px;
|
|
9725
9725
|
position: absolute;
|
|
9726
9726
|
text-transform: uppercase;
|
|
9727
|
-
|
|
9727
|
+
left: -1em;
|
|
9728
|
+
right: 0;
|
|
9728
9729
|
z-index: 5;
|
|
9729
9730
|
}
|
|
9730
|
-
html.accesskey input[accesskey][type="checkbox"]:after {
|
|
9731
|
-
background-color: initial;
|
|
9732
|
-
}
|
|
9733
9731
|
html.accesskey *[accesskey] ~ span[data-accesskey] {
|
|
9734
9732
|
float: right;
|
|
9735
9733
|
position: relative;
|
|
@@ -9740,10 +9738,13 @@ html.accesskey *[accesskey] ~ span[data-accesskey]:after {
|
|
|
9740
9738
|
html.accesskey *[accesskey]:after {
|
|
9741
9739
|
content: attr(accesskey);
|
|
9742
9740
|
}
|
|
9743
|
-
html.accesskey
|
|
9744
|
-
html.accesskey
|
|
9745
|
-
|
|
9746
|
-
|
|
9741
|
+
html.accesskey[dir="rtl"] *[accesskey] ~ span[data-accesskey]:after,
|
|
9742
|
+
html.accesskey[dir="rtl"] *[accesskey]:after {
|
|
9743
|
+
left: 0;
|
|
9744
|
+
right: -1em;
|
|
9745
|
+
}
|
|
9746
|
+
html.accesskey[dir="rtl"] *[accesskey] ~ span[data-accesskey] {
|
|
9747
|
+
float: left;
|
|
9747
9748
|
}
|
|
9748
9749
|
.tab-form,
|
|
9749
9750
|
.tab-board {
|
package/dist/tryton-sao.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
/* eslint-disable no-redeclare */
|
|
5
5
|
var Sao = {
|
|
6
|
-
__version__: '8.0.
|
|
6
|
+
__version__: '8.0.2',
|
|
7
7
|
};
|
|
8
8
|
/* eslint-enable no-redeclare */
|
|
9
9
|
|
|
@@ -17452,11 +17452,13 @@ function eval_pyson(value){
|
|
|
17452
17452
|
this.el = jQuery('<div/>', {
|
|
17453
17453
|
'class': this.class_
|
|
17454
17454
|
});
|
|
17455
|
+
this.group = jQuery('<div/>', {
|
|
17456
|
+
'class': 'input-group input-group-sm'
|
|
17457
|
+
}).css('width', '100%').appendTo(this.el);
|
|
17455
17458
|
this.select = this.labelled = jQuery('<select/>', {
|
|
17456
17459
|
'class': 'form-control input-sm mousetrap',
|
|
17457
17460
|
'name': attributes.name,
|
|
17458
|
-
});
|
|
17459
|
-
this.el.append(this.select);
|
|
17461
|
+
}).appendTo(this.group);
|
|
17460
17462
|
this.select.change(this.focus_out.bind(this));
|
|
17461
17463
|
Sao.common.selection_mixin.init.call(this);
|
|
17462
17464
|
this.init_selection();
|
|
@@ -17557,11 +17559,14 @@ function eval_pyson(value){
|
|
|
17557
17559
|
this.el = jQuery('<div/>', {
|
|
17558
17560
|
'class': this.class_
|
|
17559
17561
|
});
|
|
17562
|
+
this.group = jQuery('<div/>', {
|
|
17563
|
+
'class': 'input-group input-group-sm'
|
|
17564
|
+
}).css('width', '100%').appendTo(this.el);
|
|
17560
17565
|
this.input = this.labelled = jQuery('<input/>', {
|
|
17561
17566
|
'type': 'checkbox',
|
|
17562
17567
|
'class': 'form-control input-sm mousetrap',
|
|
17563
17568
|
'name': attributes.name,
|
|
17564
|
-
}).appendTo(this.
|
|
17569
|
+
}).appendTo(this.group);
|
|
17565
17570
|
this.input.change(this.focus_out.bind(this));
|
|
17566
17571
|
this.input.click(function() {
|
|
17567
17572
|
// Dont trigger click if field is readonly as readonly has no
|
package/package.json
CHANGED
package/src/sao.js
CHANGED
package/src/sao.less
CHANGED
|
@@ -631,14 +631,11 @@ html.accesskey {
|
|
|
631
631
|
padding: 0 2px;
|
|
632
632
|
position: absolute;
|
|
633
633
|
text-transform: uppercase;
|
|
634
|
-
|
|
634
|
+
left: -1em;
|
|
635
|
+
right: 0;
|
|
635
636
|
z-index: 5;
|
|
636
637
|
}
|
|
637
638
|
|
|
638
|
-
input[accesskey][type="checkbox"]:after {
|
|
639
|
-
background-color: initial;
|
|
640
|
-
}
|
|
641
|
-
|
|
642
639
|
*[accesskey] ~ span[data-accesskey] {
|
|
643
640
|
float: right;
|
|
644
641
|
position: relative;
|
|
@@ -652,11 +649,15 @@ html.accesskey {
|
|
|
652
649
|
content: attr(accesskey);
|
|
653
650
|
}
|
|
654
651
|
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
652
|
+
&[dir="rtl"] {
|
|
653
|
+
*[accesskey] ~ span[data-accesskey]:after,
|
|
654
|
+
*[accesskey]:after {
|
|
655
|
+
left: 0;
|
|
656
|
+
right: -1em;
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
*[accesskey] ~ span[data-accesskey] {
|
|
660
|
+
float: left;
|
|
660
661
|
}
|
|
661
662
|
}
|
|
662
663
|
}
|
package/src/view/form.js
CHANGED
|
@@ -2256,11 +2256,13 @@ function eval_pyson(value){
|
|
|
2256
2256
|
this.el = jQuery('<div/>', {
|
|
2257
2257
|
'class': this.class_
|
|
2258
2258
|
});
|
|
2259
|
+
this.group = jQuery('<div/>', {
|
|
2260
|
+
'class': 'input-group input-group-sm'
|
|
2261
|
+
}).css('width', '100%').appendTo(this.el);
|
|
2259
2262
|
this.select = this.labelled = jQuery('<select/>', {
|
|
2260
2263
|
'class': 'form-control input-sm mousetrap',
|
|
2261
2264
|
'name': attributes.name,
|
|
2262
|
-
});
|
|
2263
|
-
this.el.append(this.select);
|
|
2265
|
+
}).appendTo(this.group);
|
|
2264
2266
|
this.select.change(this.focus_out.bind(this));
|
|
2265
2267
|
Sao.common.selection_mixin.init.call(this);
|
|
2266
2268
|
this.init_selection();
|
|
@@ -2361,11 +2363,14 @@ function eval_pyson(value){
|
|
|
2361
2363
|
this.el = jQuery('<div/>', {
|
|
2362
2364
|
'class': this.class_
|
|
2363
2365
|
});
|
|
2366
|
+
this.group = jQuery('<div/>', {
|
|
2367
|
+
'class': 'input-group input-group-sm'
|
|
2368
|
+
}).css('width', '100%').appendTo(this.el);
|
|
2364
2369
|
this.input = this.labelled = jQuery('<input/>', {
|
|
2365
2370
|
'type': 'checkbox',
|
|
2366
2371
|
'class': 'form-control input-sm mousetrap',
|
|
2367
2372
|
'name': attributes.name,
|
|
2368
|
-
}).appendTo(this.
|
|
2373
|
+
}).appendTo(this.group);
|
|
2369
2374
|
this.input.change(this.focus_out.bind(this));
|
|
2370
2375
|
this.input.click(function() {
|
|
2371
2376
|
// Dont trigger click if field is readonly as readonly has no
|