Brunobkr/llama.cpp_AlgMor24_github
ΩFFFΣLLIa • llama.cpp • AlgMor24 ██████╗ ███████╗███████╗███████╗██╗ ██╗ ██╗ █████╗ ██╔═══██╗██╔════╝██╔════╝██╔════╝██║ ██║ ██║██╔══██╗ ██║ ██║█████╗ █████╗ █████╗ ██║ ██║ ██║███████║ ██║ ██║██╔══╝ ██╔══╝ ██╔══╝ ██║ ██║ ██║██╔══██║ ╚██████╔╝██║ ██║ ███████╗███████╗███████╗██║██║ ██║ ╚═════╝ ╚═╝ ╚═╝ ╚══════╝╚══════╝╚══════╝╚═╝╚═╝ ╚═╝ High-Performance LLM / VLM Inference & Autonomous Agentic Ecosystem… See the full description on the dataset page: https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github.
03.1k
1import type { Updater } from "svelte/store";2import type { DateValue } from "@internationalized/date";3import { type WritableBox, DOMContext, type ReadableBoxedValues, type WritableBoxedValues } from "svelte-toolbelt";4import type { DateRangeFieldRootState } from "../date-range-field/date-range-field.svelte.js";5import type { BitsFocusEvent, BitsKeyboardEvent, BitsMouseEvent, WithRefOpts, RefAttachment } from "../../internal/types.js";6import type { DateAndTimeSegmentObj, DateOnInvalid, DateSegmentObj, DateSegmentPart, DateValidator, Granularity, HourCycle, SegmentPart, SegmentValueObj, TimeSegmentObj, EditableTimeSegmentPart } from "../../shared/date/types.js";7import { type Formatter } from "../../internal/date-time/formatter.js";8import { type Announcer } from "../../internal/date-time/announcer.js";9export declare const dateFieldAttrs: import("../../internal/attrs.js").CreateBitsAttrsReturn<readonly ["input", "label", "segment"]>;10interface SegmentConfig {11 min: number | ((root: DateFieldRootState) => number);12 max: number | ((root: DateFieldRootState) => number);13 cycle: number;14 canBeZero?: boolean;15 padZero?: boolean;16 getAnnouncement?: (value: number, root: DateFieldRootState) => string | number;17 updateLogic?: (props: {18 root: DateFieldRootState;19 prev: string | null;20 num: number;21 moveToNext: {22 value: boolean;23 };24 }) => string | null;25}26interface DateFieldRootStateOpts extends WritableBoxedValues<{27 value: DateValue | undefined;28 placeholder: DateValue;29}>, ReadableBoxedValues<{30 readonlySegments: SegmentPart[];31 validate: DateValidator | undefined;32 onInvalid: DateOnInvalid | undefined;33 minValue: DateValue | undefined;34 maxValue: DateValue | undefined;35 disabled: boolean;36 readonly: boolean;37 granularity: Granularity | undefined;38 hourCycle: HourCycle | undefined;39 locale: string;40 hideTimeZone: boolean;41 required: boolean;42 errorMessageId: string | undefined;43 isInvalidProp: boolean | undefined;44}> {45}46export declare class DateFieldRootState {47 #private;48 static create(opts: DateFieldRootStateOpts, rangeRoot?: DateRangeFieldRootState): DateFieldRootState;49 value: DateFieldRootStateOpts["value"];50 placeholder: WritableBox<DateValue>;51 validate: DateFieldRootStateOpts["validate"];52 minValue: DateFieldRootStateOpts["minValue"];53 maxValue: DateFieldRootStateOpts["maxValue"];54 disabled: DateFieldRootStateOpts["disabled"];55 readonly: DateFieldRootStateOpts["readonly"];56 granularity: DateFieldRootStateOpts["granularity"];57 readonlySegments: DateFieldRootStateOpts["readonlySegments"];58 hourCycle: DateFieldRootStateOpts["hourCycle"];59 locale: DateFieldRootStateOpts["locale"];60 hideTimeZone: DateFieldRootStateOpts["hideTimeZone"];61 required: DateFieldRootStateOpts["required"];62 onInvalid: DateFieldRootStateOpts["onInvalid"];63 errorMessageId: DateFieldRootStateOpts["errorMessageId"];64 isInvalidProp: DateFieldRootStateOpts["isInvalidProp"];65 descriptionId: string;66 formatter: Formatter;67 initialSegments: SegmentValueObj;68 segmentValues: SegmentValueObj;69 announcer: Announcer;70 readonly readonlySegmentsSet: Set<SegmentPart>;71 segmentStates: import("../../internal/date-time/field/types.js").SegmentStateMap;72 descriptionNode: HTMLElement | null;73 validationNode: HTMLElement | null;74 states: import("../../internal/date-time/field/types.js").SegmentStateMap;75 dayPeriodNode: HTMLElement | null;76 rangeRoot: DateRangeFieldRootState | undefined;77 name: string;78 domContext: DOMContext;79 constructor(props: DateFieldRootStateOpts, rangeRoot?: DateRangeFieldRootState);80 setName(name: string): void;81 /**82 * Sets the field node for the `DateFieldRootState` instance. We use this method so we can83 * keep `#fieldNode` private to prevent accidental usage of the incorrect field node.84 */85 setFieldNode(node: HTMLElement | null): void;86 /**87 * Gets the correct field node for the date field regardless of whether it's being88 * used in a standalone context or within a `DateRangeField` component.89 */90 getFieldNode(): HTMLElement | null;91 /**92 * Sets the label node for the `DateFieldRootState` instance. We use this method so we can93 * keep `#labelNode` private to prevent accidental usage of the incorrect label node.94 */95 setLabelNode(node: HTMLElement | null): void;96 /**97 * Gets the correct label node for the date field regardless of whether it's being used in98 * a standalone context or within a `DateRangeField` component.99 */100 getLabelNode(): HTMLElement | null;101 setValue(value: DateValue | undefined): void;102 syncSegmentValues(value: DateValue): void;103 readonly validationStatus: false | {104 readonly reason: "custom";105 readonly message: string | string[];106 } | {107 readonly reason: "min";108 readonly message?: undefined;109 } | {110 readonly reason: "max";111 readonly message?: undefined;112 };113 readonly isInvalid: boolean;114 readonly inferredGranularity: Granularity;115 readonly dateRef: DateValue;116 readonly allSegmentContent: {117 obj: import("../../internal/date-time/field/types.js").SegmentContentObj;118 arr: {119 part: import("../../internal/date-time/field/types.js").SegmentPart;120 value: string;121 }[];122 };123 readonly segmentContents: {124 part: import("../../internal/date-time/field/types.js").SegmentPart;125 value: string;126 }[];127 readonly sharedSegmentAttrs: {128 role: string;129 contenteditable: string;130 tabindex: number;131 spellcheck: boolean;132 inputmode: string;133 autocorrect: string;134 enterkeyhint: string;135 style: {136 caretColor: string;137 };138 onbeforeinput: (e: InputEvent) => void;139 };140 updateSegment<T extends keyof DateAndTimeSegmentObj>(part: T, cb: T extends DateSegmentPart ? Updater<DateSegmentObj[T]> : T extends EditableTimeSegmentPart ? Updater<TimeSegmentObj[T]> : Updater<DateAndTimeSegmentObj[T]>): void;141 handleSegmentClick(e: BitsMouseEvent): void;142 getBaseSegmentAttrs(part: SegmentPart, segmentId: string): {143 [dateFieldAttrs.segment]: string;144 "aria-invalid": "true" | undefined;145 "aria-disabled": "true" | "false";146 "aria-readonly": "true" | "false";147 "data-invalid": "" | undefined;148 "data-disabled": "" | undefined;149 "data-readonly": "" | undefined;150 "data-segment": string;151 } | {152 "aria-labelledby": string;153 contenteditable: string | undefined;154 "aria-describedby": string | undefined;155 tabindex: number | undefined;156 "aria-invalid": "true" | undefined;157 "aria-disabled": "true" | "false";158 "aria-readonly": "true" | "false";159 "data-invalid": "" | undefined;160 "data-disabled": "" | undefined;161 "data-readonly": "" | undefined;162 "data-segment": string;163 };164}165interface DateFieldInputStateOpts extends WithRefOpts, ReadableBoxedValues<{166 name: string;167}> {168}169export declare class DateFieldInputState {170 #private;171 static create(opts: DateFieldInputStateOpts): DateFieldInputState;172 readonly opts: DateFieldInputStateOpts;173 readonly root: DateFieldRootState;174 readonly domContext: DOMContext;175 readonly attachment: RefAttachment;176 constructor(opts: DateFieldInputStateOpts, root: DateFieldRootState);177 readonly props: {178 readonly id: string;179 readonly role: "group";180 readonly "aria-labelledby": string | undefined;181 readonly "aria-describedby": string | undefined;182 readonly "aria-disabled": "true" | "false";183 readonly "data-invalid": "" | undefined;184 readonly "data-disabled": "" | undefined;185 };186}187export declare class DateFieldHiddenInputState {188 static create(): DateFieldHiddenInputState;189 readonly root: DateFieldRootState;190 readonly shouldRender: boolean;191 readonly isoValue: string;192 constructor(root: DateFieldRootState);193 readonly props: {194 name: string;195 value: string;196 required: boolean;197 };198}199interface DateFieldLabelStateOpts extends WithRefOpts {200}201export declare class DateFieldLabelState {202 static create(opts: DateFieldLabelStateOpts): DateFieldLabelState;203 readonly opts: DateFieldLabelStateOpts;204 readonly root: DateFieldRootState;205 readonly attachment: RefAttachment;206 constructor(opts: DateFieldLabelStateOpts, root: DateFieldRootState);207 onclick(_: BitsMouseEvent): void;208 readonly props: {209 readonly id: string;210 readonly "data-invalid": "" | undefined;211 readonly "data-disabled": "" | undefined;212 readonly onclick: (_: BitsMouseEvent) => void;213 };214}215declare abstract class BaseNumericSegmentState {216 #private;217 readonly opts: WithRefOpts;218 readonly root: DateFieldRootState;219 readonly announcer: Announcer;220 readonly part: string;221 readonly config: SegmentConfig;222 readonly attachment: RefAttachment;223 constructor(opts: WithRefOpts, root: DateFieldRootState, part: string, config: SegmentConfig);224 onkeydown(e: BitsKeyboardEvent): void;225 onfocusout(_: BitsFocusEvent): void;226 getSegmentProps(): {227 "aria-label": string;228 "aria-valuemin": number;229 "aria-valuemax": number;230 "aria-valuenow": number;231 "aria-valuetext": string;232 };233 readonly props: {234 "aria-invalid": "true" | undefined;235 "aria-disabled": "true" | "false";236 "aria-readonly": "true" | "false";237 "data-invalid": "" | undefined;238 "data-disabled": "" | undefined;239 "data-readonly": "" | undefined;240 "data-segment": string;241 onkeydown: (e: BitsKeyboardEvent) => void;242 onfocusout: (_: BitsFocusEvent) => void;243 onclick: (e: BitsMouseEvent) => void;244 "aria-label": string;245 "aria-valuemin": number;246 "aria-valuemax": number;247 "aria-valuenow": number;248 "aria-valuetext": string;249 id: string;250 role: string;251 contenteditable: string;252 tabindex: number;253 spellcheck: boolean;254 inputmode: string;255 autocorrect: string;256 enterkeyhint: string;257 style: {258 caretColor: string;259 };260 onbeforeinput: (e: InputEvent) => void;261 } | {262 "aria-labelledby": string;263 contenteditable: string | undefined;264 "aria-describedby": string | undefined;265 tabindex: number | undefined;266 "aria-invalid": "true" | undefined;267 "aria-disabled": "true" | "false";268 "aria-readonly": "true" | "false";269 "data-invalid": "" | undefined;270 "data-disabled": "" | undefined;271 "data-readonly": "" | undefined;272 "data-segment": string;273 onkeydown: (e: BitsKeyboardEvent) => void;274 onfocusout: (_: BitsFocusEvent) => void;275 onclick: (e: BitsMouseEvent) => void;276 "aria-label": string;277 "aria-valuemin": number;278 "aria-valuemax": number;279 "aria-valuenow": number;280 "aria-valuetext": string;281 id: string;282 role: string;283 spellcheck: boolean;284 inputmode: string;285 autocorrect: string;286 enterkeyhint: string;287 style: {288 caretColor: string;289 };290 onbeforeinput: (e: InputEvent) => void;291 };292}293declare class DateFieldYearSegmentState extends BaseNumericSegmentState {294 #private;295 constructor(opts: WithRefOpts, root: DateFieldRootState);296 onkeydown(e: BitsKeyboardEvent): void;297 onfocusout(_: BitsFocusEvent): void;298}299declare class DateFieldDaySegmentState extends BaseNumericSegmentState {300 constructor(opts: WithRefOpts, root: DateFieldRootState);301}302declare class DateFieldMonthSegmentState extends BaseNumericSegmentState {303 constructor(opts: WithRefOpts, root: DateFieldRootState);304}305declare class DateFieldHourSegmentState extends BaseNumericSegmentState {306 constructor(opts: WithRefOpts, root: DateFieldRootState);307 onkeydown(e: BitsKeyboardEvent): void;308}309declare class DateFieldMinuteSegmentState extends BaseNumericSegmentState {310 constructor(opts: WithRefOpts, root: DateFieldRootState);311}312declare class DateFieldSecondSegmentState extends BaseNumericSegmentState {313 constructor(opts: WithRefOpts, root: DateFieldRootState);314}315interface DateFieldDayPeriodSegmentStateOpts extends WithRefOpts {316}317export declare class DateFieldDayPeriodSegmentState {318 #private;319 static create(opts: DateFieldDayPeriodSegmentStateOpts): DateFieldDayPeriodSegmentState;320 readonly opts: DateFieldDayPeriodSegmentStateOpts;321 readonly root: DateFieldRootState;322 readonly attachment: RefAttachment;323 constructor(opts: DateFieldDayPeriodSegmentStateOpts, root: DateFieldRootState);324 onkeydown(e: BitsKeyboardEvent): void;325 readonly props: {326 "aria-invalid": "true" | undefined;327 "aria-disabled": "true" | "false";328 "aria-readonly": "true" | "false";329 "data-invalid": "" | undefined;330 "data-disabled": "" | undefined;331 "data-readonly": "" | undefined;332 "data-segment": string;333 id: string;334 inputmode: string;335 "aria-label": string;336 "aria-valuemin": number;337 "aria-valuemax": number;338 "aria-valuenow": number;339 "aria-valuetext": "AM" | "PM";340 onkeydown: (e: BitsKeyboardEvent) => void;341 onclick: (e: BitsMouseEvent) => void;342 role: string;343 contenteditable: string;344 tabindex: number;345 spellcheck: boolean;346 autocorrect: string;347 enterkeyhint: string;348 style: {349 caretColor: string;350 };351 onbeforeinput: (e: InputEvent) => void;352 } | {353 "aria-labelledby": string;354 contenteditable: string | undefined;355 "aria-describedby": string | undefined;356 tabindex: number | undefined;357 "aria-invalid": "true" | undefined;358 "aria-disabled": "true" | "false";359 "aria-readonly": "true" | "false";360 "data-invalid": "" | undefined;361 "data-disabled": "" | undefined;362 "data-readonly": "" | undefined;363 "data-segment": string;364 id: string;365 inputmode: string;366 "aria-label": string;367 "aria-valuemin": number;368 "aria-valuemax": number;369 "aria-valuenow": number;370 "aria-valuetext": "AM" | "PM";371 onkeydown: (e: BitsKeyboardEvent) => void;372 onclick: (e: BitsMouseEvent) => void;373 role: string;374 spellcheck: boolean;375 autocorrect: string;376 enterkeyhint: string;377 style: {378 caretColor: string;379 };380 onbeforeinput: (e: InputEvent) => void;381 } | undefined;382}383interface DateFieldLiteralSegmentStateOpts extends WithRefOpts {384}385export declare class DateFieldLiteralSegmentState {386 static create(opts: DateFieldLiteralSegmentStateOpts): DateFieldLiteralSegmentState;387 readonly opts: DateFieldLiteralSegmentStateOpts;388 readonly root: DateFieldRootState;389 readonly attachment: RefAttachment;390 constructor(opts: DateFieldLiteralSegmentStateOpts, root: DateFieldRootState);391 readonly props: {392 readonly "aria-invalid": "true" | undefined;393 readonly "aria-disabled": "true" | "false";394 readonly "aria-readonly": "true" | "false";395 readonly "data-invalid": "" | undefined;396 readonly "data-disabled": "" | undefined;397 readonly "data-readonly": "" | undefined;398 readonly "data-segment": string;399 readonly id: string;400 readonly "aria-hidden": "true" | undefined;401 } | {402 readonly "aria-labelledby": string;403 readonly contenteditable: string | undefined;404 readonly "aria-describedby": string | undefined;405 readonly tabindex: number | undefined;406 readonly "aria-invalid": "true" | undefined;407 readonly "aria-disabled": "true" | "false";408 readonly "aria-readonly": "true" | "false";409 readonly "data-invalid": "" | undefined;410 readonly "data-disabled": "" | undefined;411 readonly "data-readonly": "" | undefined;412 readonly "data-segment": string;413 readonly id: string;414 readonly "aria-hidden": "true" | undefined;415 };416}417interface DateFieldTimeZoneSegmentStateOpts extends WithRefOpts {418}419export declare class DateFieldTimeZoneSegmentState {420 static create(opts: DateFieldTimeZoneSegmentStateOpts): DateFieldTimeZoneSegmentState;421 readonly opts: DateFieldTimeZoneSegmentStateOpts;422 readonly root: DateFieldRootState;423 readonly attachment: RefAttachment;424 constructor(opts: DateFieldTimeZoneSegmentStateOpts, root: DateFieldRootState);425 onkeydown(e: BitsKeyboardEvent): void;426 readonly props: {427 readonly "data-readonly": "" | undefined;428 readonly "aria-invalid": "true" | undefined;429 readonly "aria-disabled": "true" | "false";430 readonly "aria-readonly": "true" | "false";431 readonly "data-invalid": "" | undefined;432 readonly "data-disabled": "" | undefined;433 readonly "data-segment": string;434 readonly role: "textbox";435 readonly id: string;436 readonly "aria-label": "timezone, ";437 readonly style: {438 readonly caretColor: "transparent";439 };440 readonly onkeydown: (e: BitsKeyboardEvent) => void;441 } | {442 readonly "data-readonly": "" | undefined;443 readonly "aria-labelledby": string;444 readonly contenteditable: string | undefined;445 readonly "aria-describedby": string | undefined;446 readonly tabindex: number | undefined;447 readonly "aria-invalid": "true" | undefined;448 readonly "aria-disabled": "true" | "false";449 readonly "aria-readonly": "true" | "false";450 readonly "data-invalid": "" | undefined;451 readonly "data-disabled": "" | undefined;452 readonly "data-segment": string;453 readonly role: "textbox";454 readonly id: string;455 readonly "aria-label": "timezone, ";456 readonly style: {457 readonly caretColor: "transparent";458 };459 readonly onkeydown: (e: BitsKeyboardEvent) => void;460 };461}462export declare class DateFieldSegmentState {463 static create(part: SegmentPart, opts: WithRefOpts): DateFieldYearSegmentState | DateFieldDaySegmentState | DateFieldMonthSegmentState | DateFieldHourSegmentState | DateFieldMinuteSegmentState | DateFieldSecondSegmentState | DateFieldDayPeriodSegmentState | DateFieldLiteralSegmentState | DateFieldTimeZoneSegmentState;464}465export {};466 