@j-solution/components 1.4.0 → 1.4.1
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/assets/jwms-portal-frontend-BEj91L1x.css +1 -0
- package/assets/styles/j-components.css +1 -1
- package/components/organisms/JFilterBar.vue.cjs +1 -1
- package/components/organisms/JFilterBar.vue.cjs.map +1 -1
- package/components/organisms/JFilterBar.vue.js +112 -30
- package/components/organisms/JFilterBar.vue.js.map +1 -1
- package/components/organisms/JSidebarSimple/JDynamicMenuItem.vue.cjs +1 -1
- package/components/organisms/JSidebarSimple/JDynamicMenuItem.vue.cjs.map +1 -1
- package/components/organisms/JSidebarSimple/JDynamicMenuItem.vue.js +32 -28
- package/components/organisms/JSidebarSimple/JDynamicMenuItem.vue.js.map +1 -1
- package/package.json +1 -1
- package/types/index.d.ts +30 -3
- package/assets/jwms-portal-frontend-Cs1trVbC.css +0 -1
package/types/index.d.ts
CHANGED
|
@@ -189,13 +189,22 @@ handleError: (errs: any) => void;
|
|
|
189
189
|
}, any>;
|
|
190
190
|
|
|
191
191
|
declare const __VLS_component_19: DefineComponent<JFilterBarProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
192
|
+
search: () => any;
|
|
192
193
|
"update:collapsed": (value: boolean) => any;
|
|
194
|
+
"update:filterValues": (value: Record<string, unknown>) => any;
|
|
193
195
|
}, string, PublicProps, Readonly<JFilterBarProps> & Readonly<{
|
|
196
|
+
onSearch?: (() => any) | undefined;
|
|
194
197
|
"onUpdate:collapsed"?: ((value: boolean) => any) | undefined;
|
|
198
|
+
"onUpdate:filterValues"?: ((value: Record<string, unknown>) => any) | undefined;
|
|
195
199
|
}>, {
|
|
196
200
|
collapsible: boolean;
|
|
197
|
-
mode: "full" | "simple";
|
|
198
201
|
collapsed: boolean;
|
|
202
|
+
filterValues: Record<string, unknown>;
|
|
203
|
+
filterConfig: Record<string, FilterConfigItem>;
|
|
204
|
+
showResetButton: boolean;
|
|
205
|
+
showSearchButton: boolean;
|
|
206
|
+
resetButtonText: string;
|
|
207
|
+
searchButtonText: string;
|
|
199
208
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
200
209
|
|
|
201
210
|
declare const __VLS_component_2: DefineComponent<__VLS_Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -1620,6 +1629,14 @@ declare interface DynamicTab {
|
|
|
1620
1629
|
meta?: Record<string, any>;
|
|
1621
1630
|
}
|
|
1622
1631
|
|
|
1632
|
+
/** 필터 설정 타입 */
|
|
1633
|
+
declare interface FilterConfigItem {
|
|
1634
|
+
/** 표시할 라벨 */
|
|
1635
|
+
label: string;
|
|
1636
|
+
/** 값을 표시용 문자열로 변환 (예: combo value -> label) */
|
|
1637
|
+
displayValue?: (value: unknown) => string;
|
|
1638
|
+
}
|
|
1639
|
+
|
|
1623
1640
|
declare interface FormSchema {
|
|
1624
1641
|
id: string;
|
|
1625
1642
|
name: string;
|
|
@@ -1858,12 +1875,22 @@ theme: "light" | "dark";
|
|
|
1858
1875
|
export declare const JFilterBar: __VLS_WithTemplateSlots_19<typeof __VLS_component_19, __VLS_TemplateResult_19["slots"]>;
|
|
1859
1876
|
|
|
1860
1877
|
declare interface JFilterBarProps {
|
|
1861
|
-
/** full: 토글+필터 있음, simple: 버튼만 */
|
|
1862
|
-
mode?: 'full' | 'simple';
|
|
1863
1878
|
/** 필터 접힘 상태 (v-model 지원) */
|
|
1864
1879
|
collapsed?: boolean;
|
|
1865
1880
|
/** 접기/펼치기 가능 여부. false면 토글 버튼 숨김 & 필터 항상 표시 */
|
|
1866
1881
|
collapsible?: boolean;
|
|
1882
|
+
/** 필터 값 객체 (v-model:filterValues 지원) */
|
|
1883
|
+
filterValues?: Record<string, unknown>;
|
|
1884
|
+
/** 필터 설정 (label, displayValue 등) */
|
|
1885
|
+
filterConfig?: Record<string, FilterConfigItem>;
|
|
1886
|
+
/** 초기화 버튼 표시 여부 */
|
|
1887
|
+
showResetButton?: boolean;
|
|
1888
|
+
/** 조회 버튼 표시 여부 */
|
|
1889
|
+
showSearchButton?: boolean;
|
|
1890
|
+
/** 초기화 버튼 텍스트 */
|
|
1891
|
+
resetButtonText?: string;
|
|
1892
|
+
/** 조회 버튼 텍스트 */
|
|
1893
|
+
searchButtonText?: string;
|
|
1867
1894
|
}
|
|
1868
1895
|
|
|
1869
1896
|
export declare const JFormField: DefineComponent<__VLS_Props_25, {
|