@omnitend/dashboard-for-laravel 0.47.2 → 0.47.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.
- package/dist/dashboard-for-laravel.js +298 -294
- package/dist/dashboard-for-laravel.js.map +1 -1
- package/dist/dashboard-for-laravel.umd.cjs +1 -1
- package/dist/dashboard-for-laravel.umd.cjs.map +1 -1
- package/dist/style.css +1 -1
- package/docs/public/api-reference.json +3 -3
- package/docs/public/docs-map.md +1 -1
- package/package.json +1 -1
- package/resources/css/theme.scss +101 -1
- package/resources/js/components/extended/DXForm.vue +18 -10
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"generated": "2026-10-
|
|
2
|
+
"generated": "2026-10-22T13:54:28.981Z",
|
|
3
3
|
"package": {
|
|
4
4
|
"name": "@omnitend/dashboard-for-laravel",
|
|
5
|
-
"version": "0.47.
|
|
5
|
+
"version": "0.47.4"
|
|
6
6
|
},
|
|
7
7
|
"components": {
|
|
8
8
|
"base": [
|
|
@@ -2668,7 +2668,7 @@
|
|
|
2668
2668
|
"slots": [
|
|
2669
2669
|
{
|
|
2670
2670
|
"name": "`tab-content(${tab.key})`",
|
|
2671
|
-
"description": "Replaces the entire body of a tab, keyed by tab (slot name `tab-content(<tabKey>)`).",
|
|
2671
|
+
"description": "Replaces the entire body of a tab, keyed by tab (slot name `tab-content(<tabKey>)`). Without a card (`:card-tabs=\"false\"`) the body is spaced 1rem below the tab bar, as a field tab's is; in card mode the card's own padding is the only spacing.",
|
|
2672
2672
|
"bindings": [
|
|
2673
2673
|
{
|
|
2674
2674
|
"name": "name",
|
package/docs/public/docs-map.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Documentation Map
|
|
2
2
|
|
|
3
3
|
> Auto-generated hierarchical overview of all documentation
|
|
4
|
-
> Last updated: 2026-10-
|
|
4
|
+
> Last updated: 2026-10-22T13:54:29.048Z
|
|
5
5
|
|
|
6
6
|
This file provides a complete map of all available documentation for AI agents and developers.
|
|
7
7
|
|
package/package.json
CHANGED
package/resources/css/theme.scss
CHANGED
|
@@ -796,11 +796,111 @@ $dx-display-only-row: '.dx-form--horizontal .row:has(> .col-form-label):not(:has
|
|
|
796
796
|
// visual "one control" continuity an input-group exists to provide — an
|
|
797
797
|
// affix + input should shrink/scroll before it wraps, never stack. Applies
|
|
798
798
|
// globally (currency/percentage fields, DAutocomplete's own `:deep()`
|
|
799
|
-
// override becomes redundant but harmless here).
|
|
799
|
+
// override becomes redundant but harmless here). The one exception is a group
|
|
800
|
+
// of several controls on a narrow screen, below.
|
|
800
801
|
.input-group {
|
|
801
802
|
flex-wrap: nowrap;
|
|
802
803
|
}
|
|
803
804
|
|
|
805
|
+
// Below md, a group with TWO OR MORE controls wraps: a leading
|
|
806
|
+
// `.input-group-text` label takes its own row and the controls flow beneath
|
|
807
|
+
// it as separate controls, each with its own corners and a small gap. A
|
|
808
|
+
// filter bar's "Date range [date] [date]" or "Day / Month / Year" + three
|
|
809
|
+
// multi-selects cannot shrink to a phone's width, and an app shell that clips
|
|
810
|
+
// sideways overflow left the last control unreachable (greendragon, where
|
|
811
|
+
// this was trialled as an opt-in `.ot-filter-group` class).
|
|
812
|
+
//
|
|
813
|
+
// A group with ONE control keeps the nowrap rule above, so every
|
|
814
|
+
// affix-plus-input shape stays one joined control: a search box with its
|
|
815
|
+
// button, a "£" amount, "@" username, a password with its reveal button, the
|
|
816
|
+
// number stepper and the autocomplete (buttons and text do not count as
|
|
817
|
+
// controls). CSS cannot tell whether a group overflows, so a multi-control
|
|
818
|
+
// group that would have fitted ("Sort [Name] [Asc]") also takes the wrapped
|
|
819
|
+
// layout below md; it then reads the same as its neighbours in a filter bar.
|
|
820
|
+
//
|
|
821
|
+
// No `!important`: each override below is Bootstrap's own joined-group
|
|
822
|
+
// selector (forms/_input-group.scss) or the theme's DFormFile one, gated on
|
|
823
|
+
// `$dx-wrapping-input-group`. The gate adds specificity to the exact selector
|
|
824
|
+
// it undoes, so it wins wherever that rule applies and touches nothing else.
|
|
825
|
+
$dx-input-group-control: ':not(.input-group-text, .btn, .dropdown-menu, .dropdown-toggle, [type="hidden"], .valid-feedback, .invalid-feedback, .valid-tooltip, .invalid-tooltip)';
|
|
826
|
+
$dx-wrapping-input-group: '.input-group:has(> #{$dx-input-group-control} ~ #{$dx-input-group-control})';
|
|
827
|
+
$dx-input-group-validation-messages: '';
|
|
828
|
+
@each $state in map-keys($form-validation-states) {
|
|
829
|
+
$dx-input-group-validation-messages: $dx-input-group-validation-messages + ':not(.#{$state}-tooltip):not(.#{$state}-feedback)';
|
|
830
|
+
}
|
|
831
|
+
|
|
832
|
+
// The radius each control gets back once it stands alone: the group's size.
|
|
833
|
+
.input-group {
|
|
834
|
+
--dx-input-group-radius: #{$input-border-radius};
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
.input-group-sm {
|
|
838
|
+
--dx-input-group-radius: #{$input-border-radius-sm};
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
.input-group-lg {
|
|
842
|
+
--dx-input-group-radius: #{$input-border-radius-lg};
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
@include media-breakpoint-down(md) {
|
|
846
|
+
#{$dx-wrapping-input-group} {
|
|
847
|
+
flex-wrap: wrap;
|
|
848
|
+
gap: 0.25rem;
|
|
849
|
+
max-width: 100%;
|
|
850
|
+
|
|
851
|
+
> .input-group-text:first-child {
|
|
852
|
+
flex: 1 0 100%;
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
> #{$dx-input-group-control} {
|
|
856
|
+
flex: 1 1 8rem;
|
|
857
|
+
max-width: 100%;
|
|
858
|
+
}
|
|
859
|
+
|
|
860
|
+
> .btn {
|
|
861
|
+
flex: 1 1 auto;
|
|
862
|
+
}
|
|
863
|
+
|
|
864
|
+
// Undo Bootstrap's joined start edge (the -1px overlap and square corners).
|
|
865
|
+
> :not(:first-child):not(.dropdown-menu)#{$dx-input-group-validation-messages} {
|
|
866
|
+
margin-left: 0;
|
|
867
|
+
border-top-left-radius: var(--dx-input-group-radius);
|
|
868
|
+
border-bottom-left-radius: var(--dx-input-group-radius);
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
> .form-floating:not(:first-child) > .form-control,
|
|
872
|
+
> .form-floating:not(:first-child) > .form-select,
|
|
873
|
+
> .b-form-file-root:not(:first-child) .b-form-file-control,
|
|
874
|
+
> .b-form-file-root:not(:first-child) .b-form-file-button {
|
|
875
|
+
border-top-left-radius: var(--dx-input-group-radius);
|
|
876
|
+
border-bottom-left-radius: var(--dx-input-group-radius);
|
|
877
|
+
}
|
|
878
|
+
}
|
|
879
|
+
|
|
880
|
+
// Undo Bootstrap's joined end edge.
|
|
881
|
+
#{$dx-wrapping-input-group}:not(.has-validation) {
|
|
882
|
+
> :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),
|
|
883
|
+
> .dropdown-toggle:nth-last-child(n + 3),
|
|
884
|
+
> .form-floating:not(:last-child) > .form-control,
|
|
885
|
+
> .form-floating:not(:last-child) > .form-select,
|
|
886
|
+
> .b-form-file-root:not(:last-child) .b-form-file-control {
|
|
887
|
+
border-top-right-radius: var(--dx-input-group-radius);
|
|
888
|
+
border-bottom-right-radius: var(--dx-input-group-radius);
|
|
889
|
+
}
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
#{$dx-wrapping-input-group}.has-validation {
|
|
893
|
+
> :nth-last-child(n + 3):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),
|
|
894
|
+
> .dropdown-toggle:nth-last-child(n + 4),
|
|
895
|
+
> .form-floating:nth-last-child(n + 3) > .form-control,
|
|
896
|
+
> .form-floating:nth-last-child(n + 3) > .form-select,
|
|
897
|
+
> .b-form-file-root:nth-last-child(n + 3) .b-form-file-control {
|
|
898
|
+
border-top-right-radius: var(--dx-input-group-radius);
|
|
899
|
+
border-bottom-right-radius: var(--dx-input-group-radius);
|
|
900
|
+
}
|
|
901
|
+
}
|
|
902
|
+
}
|
|
903
|
+
|
|
804
904
|
// DFormFile: bvn's BFormFile draws its own control (`.b-form-file-control`, a
|
|
805
905
|
// div around a Browse button and the file-name text), not a `.form-control`,
|
|
806
906
|
// so none of the theme's input variables reach it. Give it the input's border
|
|
@@ -69,17 +69,25 @@
|
|
|
69
69
|
:titleLinkAttrs="tabButtonAttrs(tab.key)"
|
|
70
70
|
:onClick="tabControlsFor(tab.key).onClick"
|
|
71
71
|
>
|
|
72
|
-
<!--
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
<slot
|
|
72
|
+
<!-- A custom body gets the same top spacing as a field
|
|
73
|
+
body (`pt-3`) when there is no card. In card mode
|
|
74
|
+
`.card-body` already pads the pane, so it gets
|
|
75
|
+
nothing extra. -->
|
|
76
|
+
<div
|
|
78
77
|
v-if="$slots[`tab-content(${tab.key})`]"
|
|
79
|
-
:
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
78
|
+
:class="{ 'pt-3': !tabsInCard }"
|
|
79
|
+
>
|
|
80
|
+
<!--
|
|
81
|
+
@slot Replaces the entire body of a tab, keyed by tab (slot name `tab-content(<tabKey>)`). Without a card (`:card-tabs="false"`) the body is spaced 1rem below the tab bar, as a field tab's is; in card mode the card's own padding is the only spacing.
|
|
82
|
+
@binding {FormTab} tab The tab definition being rendered.
|
|
83
|
+
@binding {object} model Live form data merged with `context`, for predicates.
|
|
84
|
+
-->
|
|
85
|
+
<slot
|
|
86
|
+
:name="`tab-content(${tab.key})`"
|
|
87
|
+
:tab="tab"
|
|
88
|
+
:model="model"
|
|
89
|
+
/>
|
|
90
|
+
</div>
|
|
83
91
|
|
|
84
92
|
<div v-else class="pt-3">
|
|
85
93
|
<!--
|