@svgrid/enterprise 3.1.56 → 3.1.58
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/SvGridBoard.svelte +1 -1
- package/dist/SvGridScheduler.svelte +1 -1
- package/dist/SvRecordDetail.svelte +1 -1
- package/dist/SvSchedule.svelte +1 -1
- package/dist/cdn/svgrid-enterprise.svelte-external.js +295 -295
- package/dist/date-locale.d.ts +8 -0
- package/dist/date-locale.js +1 -0
- package/dist/designer/assets/{index-Cay0XkF7.js → index-DoEhPIfX.js} +310 -310
- package/dist/designer/index.html +1 -1
- package/dist/fields/AttachmentDialog.svelte +155 -77
- package/dist/fields/BaseInboxView.svelte +1 -1
- package/dist/fields/BaseTableView.svelte +1 -1
- package/dist/fields/ButtonCell.svelte +6 -5
- package/dist/fields/ButtonCell.svelte.d.ts +6 -5
- package/dist/fields/PropertyInput.svelte +25 -2
- package/dist/fields/SvBase.svelte +1 -1
- package/dist/fields/attachments.d.ts +48 -0
- package/dist/fields/attachments.js +1 -1
- package/dist/fields/automations.svelte.d.ts +6 -0
- package/dist/fields/automations.svelte.js +1 -1
- package/dist/fields/builtin-types.js +1 -1
- package/dist/fields/button-host.d.ts +61 -0
- package/dist/fields/button-host.js +1 -0
- package/dist/fields/button.d.ts +36 -1
- package/dist/fields/button.js +1 -1
- package/dist/fields/index.d.ts +2 -1
- package/dist/fields/index.js +1 -1
- package/dist/fields/messages/fields.d.ts +41 -2
- package/dist/fields/messages/fields.js +1 -1
- package/dist/fields/messages/record.d.ts +15 -0
- package/dist/fields/messages/record.js +1 -1
- package/dist/fields/messages.svelte.d.ts +60 -3
- package/dist/fields/messages.svelte.js +1 -1
- package/dist/fields/registry.svelte.d.ts +11 -0
- package/dist/gantt/SvGridGantt.svelte +1 -1
- package/dist/gantt/gantt-model.js +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/node/studio.js +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/wc/board-CEIIZoaC.js +26 -0
- package/dist/wc/{palette-DkaM8TCP.js → date-locale-CKE0m3Dc.js} +9 -9
- package/dist/wc/gantt-_heLybcH.js +115 -0
- package/dist/wc/scheduler-CGoM4ahy.js +160 -0
- package/dist/wc/sv-base-element.js +205 -195
- package/package.json +1 -1
- package/dist/wc/board-C2hPY2IP.js +0 -26
- package/dist/wc/gantt-DBRJiYsr.js +0 -115
- package/dist/wc/scheduler-DJZRC1fj.js +0 -160
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/** Set the language dates are written in ("bg", "de-DE"); empty or unknown clears it. */
|
|
2
|
+
export declare function setDateLocale(locale?: string | null): void;
|
|
3
|
+
/** The language dates are written in, or undefined for the browser's own. */
|
|
4
|
+
export declare function dateLocale(): string | undefined;
|
|
5
|
+
/** The 7 weekday names from Sunday, in the date language, or `fallback` (as given) when none is set. */
|
|
6
|
+
export declare function weekdayNames(width: 'short' | 'long' | 'narrow', fallback?: readonly string[]): readonly string[];
|
|
7
|
+
/** The 12 month names from January, in the date language, or `fallback` (as given) when none is set. */
|
|
8
|
+
export declare function monthNames(width: 'short' | 'long', fallback?: readonly string[]): readonly string[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
let a;export function setDateLocale(e){let t;if(e)try{t=Intl.DateTimeFormat.supportedLocalesOf([e]).length?e:void 0}catch{t=void 0}a=t}export function dateLocale(){return a}const f=new Map;export function weekdayNames(e,t){const o=a;if(!o&&t)return t;const r=`w|${e}|${o??""}`;let n=f.get(r);if(!n){const m=new Intl.DateTimeFormat(o,{weekday:e});n=Array.from({length:7},(c,s)=>m.format(new Date(2023,0,1+s))),f.set(r,n)}return n}export function monthNames(e,t){const o=a;if(!o&&t)return t;const r=`m|${e}|${o??""}`;let n=f.get(r);if(!n){const m=new Intl.DateTimeFormat(o,{month:e});n=Array.from({length:12},(c,s)=>m.format(new Date(2023,s,15))),f.set(r,n)}return n}
|