@ansible/ansible-ui-framework 2.4.2660 → 2.4.2662
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/ChatbotPortal-CBCm_AIh.js +1430 -0
- package/ChatbotSideBarHeader-Cd-1Hu3R.js +33 -0
- package/PageForm/Inputs/PageFormAsyncSingleSelect.d.ts +1 -0
- package/{ChatbotPortal-BTVwTcq0.js → ansible-chatbot-DULYdDND.js} +29557 -31013
- package/{index-D9PYJxBj.js → index-QIGmRSaU.js} +1568 -1564
- package/index.js +10 -10
- package/index.umd.cjs +231 -220
- package/package.json +1 -1
- package/publish/ChatbotPortal-CBCm_AIh.d.ts +4 -0
- package/publish/ChatbotSideBarHeader-Cd-1Hu3R.d.ts +2 -0
- package/publish/ansible-chatbot-DULYdDND.d.ts +8 -0
- package/publish/{index-D9PYJxBj.d.ts → index-QIGmRSaU.d.ts} +77 -72
- package/publish/index.d.ts +152 -152
- package/publish/ChatbotPortal-BTVwTcq0.d.ts +0 -4
@@ -0,0 +1,33 @@
|
|
1
|
+
import { u as a, j as e, d as i } from "./index-QIGmRSaU.js";
|
2
|
+
import { Z as s, N as r, Q as n } from "./ansible-chatbot-DULYdDND.js";
|
3
|
+
import "@patternfly/react-core";
|
4
|
+
import "react";
|
5
|
+
import "@patternfly/react-icons";
|
6
|
+
import "react-router-dom";
|
7
|
+
const o = i.img`
|
8
|
+
height: 40px;
|
9
|
+
display: inline-block;
|
10
|
+
vertical-align: middle;
|
11
|
+
`, l = i.div`
|
12
|
+
display: flex;
|
13
|
+
align-items: center;
|
14
|
+
gap: 10px;
|
15
|
+
`, d = i.span`
|
16
|
+
display: inline-block;
|
17
|
+
vertical-align: middle;
|
18
|
+
`, j = () => {
|
19
|
+
const { activeTheme: t } = a();
|
20
|
+
return /* @__PURE__ */ e.jsxs(l, { children: [
|
21
|
+
/* @__PURE__ */ e.jsx(
|
22
|
+
o,
|
23
|
+
{
|
24
|
+
src: String(t === "dark" ? s : r),
|
25
|
+
alt: "Lightspeed Logo"
|
26
|
+
}
|
27
|
+
),
|
28
|
+
/* @__PURE__ */ e.jsx(d, { children: n })
|
29
|
+
] });
|
30
|
+
};
|
31
|
+
export {
|
32
|
+
j as default
|
33
|
+
};
|
@@ -5,5 +5,6 @@ export type PageFormAsyncSingleSelectProps<TFieldValues extends FieldValues = Fi
|
|
5
5
|
name: TFieldName;
|
6
6
|
validate?: Validate<FieldPathValue<TFieldValues, TFieldName>, TFieldValues> | Record<string, Validate<FieldPathValue<TFieldValues, TFieldName>, TFieldValues>>;
|
7
7
|
isReadOnly?: boolean;
|
8
|
+
onChange?: (value: string) => void;
|
8
9
|
} & Pick<PageAsyncSingleSelectProps<ValueT>, 'id' | 'placeholder' | 'footer' | 'isDisabled' | 'isRequired' | 'queryOptions' | 'queryPlaceholder' | 'queryErrorText' | 'onBrowse' | 'queryLabel' | 'writeInOption'> & Pick<PageFormGroupProps, 'label' | 'labelHelp' | 'labelHelpTitle' | 'additionalControls' | 'isRequired' | 'helperText'>;
|
9
10
|
export declare function PageFormAsyncSingleSelect<TFieldValues extends FieldValues = FieldValues, TFieldName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>(props: PageFormAsyncSingleSelectProps<TFieldValues, TFieldName>): import("react/jsx-runtime").JSX.Element;
|