@forgeroute/ui 0.3.9 → 0.3.10
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.
|
@@ -28080,6 +28080,177 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
28080
28080
|
}]
|
|
28081
28081
|
}
|
|
28082
28082
|
});
|
|
28083
|
+
const EXTRA_ICONS = {
|
|
28084
|
+
"add": "M12 5v14 M5 12h14",
|
|
28085
|
+
"close": "M18 6L6 18 M6 6l12 12",
|
|
28086
|
+
"check": "M20 6L9 17l-5-5",
|
|
28087
|
+
"upload": "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4 M17 8l-5-5-5 5 M12 3v12",
|
|
28088
|
+
"image": "M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2z M8.5 8.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3z M21 15l-5-5L5 21",
|
|
28089
|
+
"chevron-up": "M18 15l-6-6-6 6",
|
|
28090
|
+
"chevron-down": "M6 9l6 6 6-6"
|
|
28091
|
+
};
|
|
28092
|
+
function iconPath(name) {
|
|
28093
|
+
return EXTRA_ICONS[name] ?? builtInActionIcon(name);
|
|
28094
|
+
}
|
|
28095
|
+
var IconComponent = class IconComponent {
|
|
28096
|
+
constructor() {
|
|
28097
|
+
this.name = input.required(...ngDevMode ? [{ debugName: "name" }] : /* istanbul ignore next */ []);
|
|
28098
|
+
this.label = input("", ...ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []);
|
|
28099
|
+
this.size = input(16, ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
|
|
28100
|
+
this.variant = input("default", ...ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []);
|
|
28101
|
+
this.disabled = input(false, ...ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []);
|
|
28102
|
+
this.iconClick = output();
|
|
28103
|
+
this.path = computed(() => iconPath(this.name()), ...ngDevMode ? [{ debugName: "path" }] : /* istanbul ignore next */ []);
|
|
28104
|
+
}
|
|
28105
|
+
onClick(event) {
|
|
28106
|
+
event.stopPropagation();
|
|
28107
|
+
this.iconClick.emit(event);
|
|
28108
|
+
}
|
|
28109
|
+
static {
|
|
28110
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
28111
|
+
minVersion: "12.0.0",
|
|
28112
|
+
version: "22.2.2",
|
|
28113
|
+
ngImport: i0,
|
|
28114
|
+
type: IconComponent,
|
|
28115
|
+
deps: [],
|
|
28116
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
28117
|
+
});
|
|
28118
|
+
}
|
|
28119
|
+
static {
|
|
28120
|
+
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
28121
|
+
minVersion: "17.0.0",
|
|
28122
|
+
version: "22.2.2",
|
|
28123
|
+
type: IconComponent,
|
|
28124
|
+
isStandalone: true,
|
|
28125
|
+
selector: "ui-icon",
|
|
28126
|
+
inputs: {
|
|
28127
|
+
name: {
|
|
28128
|
+
classPropertyName: "name",
|
|
28129
|
+
publicName: "name",
|
|
28130
|
+
isSignal: true,
|
|
28131
|
+
isRequired: true,
|
|
28132
|
+
transformFunction: null
|
|
28133
|
+
},
|
|
28134
|
+
label: {
|
|
28135
|
+
classPropertyName: "label",
|
|
28136
|
+
publicName: "label",
|
|
28137
|
+
isSignal: true,
|
|
28138
|
+
isRequired: false,
|
|
28139
|
+
transformFunction: null
|
|
28140
|
+
},
|
|
28141
|
+
size: {
|
|
28142
|
+
classPropertyName: "size",
|
|
28143
|
+
publicName: "size",
|
|
28144
|
+
isSignal: true,
|
|
28145
|
+
isRequired: false,
|
|
28146
|
+
transformFunction: null
|
|
28147
|
+
},
|
|
28148
|
+
variant: {
|
|
28149
|
+
classPropertyName: "variant",
|
|
28150
|
+
publicName: "variant",
|
|
28151
|
+
isSignal: true,
|
|
28152
|
+
isRequired: false,
|
|
28153
|
+
transformFunction: null
|
|
28154
|
+
},
|
|
28155
|
+
disabled: {
|
|
28156
|
+
classPropertyName: "disabled",
|
|
28157
|
+
publicName: "disabled",
|
|
28158
|
+
isSignal: true,
|
|
28159
|
+
isRequired: false,
|
|
28160
|
+
transformFunction: null
|
|
28161
|
+
}
|
|
28162
|
+
},
|
|
28163
|
+
outputs: { iconClick: "iconClick" },
|
|
28164
|
+
ngImport: i0,
|
|
28165
|
+
template: `
|
|
28166
|
+
<button type="button" class="icon-btn" [class.danger]="variant() === 'danger'"
|
|
28167
|
+
[disabled]="disabled()" [attr.aria-label]="label() || null" (click)="onClick($event)">
|
|
28168
|
+
@if (path(); as d) {
|
|
28169
|
+
<svg viewBox="0 0 24 24" [attr.width]="size()" [attr.height]="size()" fill="none" stroke="currentColor"
|
|
28170
|
+
stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false">
|
|
28171
|
+
<path [attr.d]="d" />
|
|
28172
|
+
</svg>
|
|
28173
|
+
}
|
|
28174
|
+
</button>
|
|
28175
|
+
`,
|
|
28176
|
+
isInline: true,
|
|
28177
|
+
styles: [":host{display:inline-flex}.icon-btn{position:relative;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;border:none;border-radius:6px;background:transparent;color:#475569;cursor:pointer;-webkit-appearance:none;appearance:none;font:inherit;transition:background .15s ease,color .15s ease}.icon-btn:hover:not(:disabled){background:#f1f5f9;color:#0f172a}.icon-btn.danger{color:#b91c1c}.icon-btn.danger:hover:not(:disabled){background:#fef2f2;color:#991b1b}.icon-btn:focus-visible{outline:2px solid #2563eb;outline-offset:2px}.icon-btn:disabled{opacity:.5;cursor:not-allowed}.icon-btn:after{content:\"\";position:absolute;inset:-8px}\n"],
|
|
28178
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
28179
|
+
});
|
|
28180
|
+
}
|
|
28181
|
+
};
|
|
28182
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
28183
|
+
minVersion: "12.0.0",
|
|
28184
|
+
version: "22.2.2",
|
|
28185
|
+
ngImport: i0,
|
|
28186
|
+
type: IconComponent,
|
|
28187
|
+
decorators: [{
|
|
28188
|
+
type: Component,
|
|
28189
|
+
args: [{
|
|
28190
|
+
selector: "ui-icon",
|
|
28191
|
+
standalone: true,
|
|
28192
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
28193
|
+
template: `
|
|
28194
|
+
<button type="button" class="icon-btn" [class.danger]="variant() === 'danger'"
|
|
28195
|
+
[disabled]="disabled()" [attr.aria-label]="label() || null" (click)="onClick($event)">
|
|
28196
|
+
@if (path(); as d) {
|
|
28197
|
+
<svg viewBox="0 0 24 24" [attr.width]="size()" [attr.height]="size()" fill="none" stroke="currentColor"
|
|
28198
|
+
stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false">
|
|
28199
|
+
<path [attr.d]="d" />
|
|
28200
|
+
</svg>
|
|
28201
|
+
}
|
|
28202
|
+
</button>
|
|
28203
|
+
`,
|
|
28204
|
+
styles: [":host{display:inline-flex}.icon-btn{position:relative;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;border:none;border-radius:6px;background:transparent;color:#475569;cursor:pointer;-webkit-appearance:none;appearance:none;font:inherit;transition:background .15s ease,color .15s ease}.icon-btn:hover:not(:disabled){background:#f1f5f9;color:#0f172a}.icon-btn.danger{color:#b91c1c}.icon-btn.danger:hover:not(:disabled){background:#fef2f2;color:#991b1b}.icon-btn:focus-visible{outline:2px solid #2563eb;outline-offset:2px}.icon-btn:disabled{opacity:.5;cursor:not-allowed}.icon-btn:after{content:\"\";position:absolute;inset:-8px}\n"]
|
|
28205
|
+
}]
|
|
28206
|
+
}],
|
|
28207
|
+
propDecorators: {
|
|
28208
|
+
name: [{
|
|
28209
|
+
type: i0.Input,
|
|
28210
|
+
args: [{
|
|
28211
|
+
isSignal: true,
|
|
28212
|
+
alias: "name",
|
|
28213
|
+
required: true
|
|
28214
|
+
}]
|
|
28215
|
+
}],
|
|
28216
|
+
label: [{
|
|
28217
|
+
type: i0.Input,
|
|
28218
|
+
args: [{
|
|
28219
|
+
isSignal: true,
|
|
28220
|
+
alias: "label",
|
|
28221
|
+
required: false
|
|
28222
|
+
}]
|
|
28223
|
+
}],
|
|
28224
|
+
size: [{
|
|
28225
|
+
type: i0.Input,
|
|
28226
|
+
args: [{
|
|
28227
|
+
isSignal: true,
|
|
28228
|
+
alias: "size",
|
|
28229
|
+
required: false
|
|
28230
|
+
}]
|
|
28231
|
+
}],
|
|
28232
|
+
variant: [{
|
|
28233
|
+
type: i0.Input,
|
|
28234
|
+
args: [{
|
|
28235
|
+
isSignal: true,
|
|
28236
|
+
alias: "variant",
|
|
28237
|
+
required: false
|
|
28238
|
+
}]
|
|
28239
|
+
}],
|
|
28240
|
+
disabled: [{
|
|
28241
|
+
type: i0.Input,
|
|
28242
|
+
args: [{
|
|
28243
|
+
isSignal: true,
|
|
28244
|
+
alias: "disabled",
|
|
28245
|
+
required: false
|
|
28246
|
+
}]
|
|
28247
|
+
}],
|
|
28248
|
+
iconClick: [{
|
|
28249
|
+
type: i0.Output,
|
|
28250
|
+
args: ["iconClick"]
|
|
28251
|
+
}]
|
|
28252
|
+
}
|
|
28253
|
+
});
|
|
28083
28254
|
var ImagePreviewComponent = class ImagePreviewComponent {
|
|
28084
28255
|
constructor() {
|
|
28085
28256
|
this.src = input(null, ...ngDevMode ? [{ debugName: "src" }] : /* istanbul ignore next */ []);
|
|
@@ -31174,6 +31345,6 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
31174
31345
|
}]
|
|
31175
31346
|
}
|
|
31176
31347
|
});
|
|
31177
|
-
export { AlertComponent, AppShellComponent, AudioPlayerComponent, AvatarComponent, BADGE_VARIANT_STYLES, BadgeComponent, BulkMessagePanelComponent, ButtonComponent, CheckboxComponent, ChipComponent, ChipGroupComponent, ColumnFilterComponent, ComboboxComponent, ConfirmOutletComponent, ConfirmService, ContactPickerComponent, DEFAULT_DOCUMENT_SUBJECT, DEFAULT_SIGNING_OPTIONS, DOCUMENT_PROVIDER_OPTIONS, DOCUMENT_PURPOSE_OPTIONS, DROPDOWN_GROUP, DataTableComponent, DateInputComponent, DateRangePickerComponent, DatetimeInputComponent, DetailCardComponent, DiscountSelectorComponent, DividerComponent, DocumentMergeCheckComponent, DocumentSendOptionsComponent, DocumentSignersComponent, DropdownComponent, EmptyStateComponent, ErrorComponent, ErrorStateComponent, FORGEROUTE_CONFIG, FileInputComponent, FormRowComponent, FormSectionComponent, HintComponent, ImagePreviewComponent, ImageRepositionComponent, ImportExportComponent, KpiCardComponent, ListItemComponent, MAX_CC, MERGE_CHECK_DEBOUNCE_MS, ModalComponent, MoreMenuComponent, MultiSelectComponent, PaginationComponent, PanelInfoListComponent, PillTabsComponent, ProgressBarComponent, QrCodeComponent, QuickFilterTabsComponent, RICH_TEXT_OPTIONS, RadioComponent, RadioGroupComponent, RadioMatrixComponent, RichTextEditorComponent, SEMANTIC_BADGE_MAP, SIGNER_ROLES, SIGNER_ROLE_LABEL_DEFAULT, SIGNING_LIMITS, SearchInputComponent, SelectComponent, SendMessagePanelComponent, SidePanelComponent, SkeletonComponent, TableToolbarComponent, TemplatePickerComponent, TextInputComponent, TextareaInputComponent, TimeInputComponent, ToastComponent, ToastService, ToggleBadgeComponent, TooltipDirective, US_STATES, UiFieldValidity, VideoPickerComponent, appShellGroupsStorageKey, appendVideoLink, applyVideoLine, autoVariant, buildSigners, buildVideoLink, builtInActionIcon, countersignLine, createFieldReveal, decodeFilterValues, describeDocumentSigners, effectiveRoles, encodeFilterValue, encodeFilterValues, errorContextInterceptor, formatIsoDate, formatIsoDateTime, formatTime, forwardContext, getEligibleIds, getEligibleOptions, getErrorMessage, hasMappedDataFields, humanReadableMessage, isoKey, issueToErrors, maxLengthIssue, mergeFieldText, mergeWarningLines, messagePreviewHtml, normalizeRoles, parseCcList, parseIso, parseTime, pluralize, requiredIssue, resolvePreset, roleNumber, sendExistingEnvelope, signerProblems, signerRoleLabel, stripVideoLink, suggestDocumentSubject, videoMessageLine };
|
|
31348
|
+
export { AlertComponent, AppShellComponent, AudioPlayerComponent, AvatarComponent, BADGE_VARIANT_STYLES, BadgeComponent, BulkMessagePanelComponent, ButtonComponent, CheckboxComponent, ChipComponent, ChipGroupComponent, ColumnFilterComponent, ComboboxComponent, ConfirmOutletComponent, ConfirmService, ContactPickerComponent, DEFAULT_DOCUMENT_SUBJECT, DEFAULT_SIGNING_OPTIONS, DOCUMENT_PROVIDER_OPTIONS, DOCUMENT_PURPOSE_OPTIONS, DROPDOWN_GROUP, DataTableComponent, DateInputComponent, DateRangePickerComponent, DatetimeInputComponent, DetailCardComponent, DiscountSelectorComponent, DividerComponent, DocumentMergeCheckComponent, DocumentSendOptionsComponent, DocumentSignersComponent, DropdownComponent, EmptyStateComponent, ErrorComponent, ErrorStateComponent, FORGEROUTE_CONFIG, FileInputComponent, FormRowComponent, FormSectionComponent, HintComponent, IconComponent, ImagePreviewComponent, ImageRepositionComponent, ImportExportComponent, KpiCardComponent, ListItemComponent, MAX_CC, MERGE_CHECK_DEBOUNCE_MS, ModalComponent, MoreMenuComponent, MultiSelectComponent, PaginationComponent, PanelInfoListComponent, PillTabsComponent, ProgressBarComponent, QrCodeComponent, QuickFilterTabsComponent, RICH_TEXT_OPTIONS, RadioComponent, RadioGroupComponent, RadioMatrixComponent, RichTextEditorComponent, SEMANTIC_BADGE_MAP, SIGNER_ROLES, SIGNER_ROLE_LABEL_DEFAULT, SIGNING_LIMITS, SearchInputComponent, SelectComponent, SendMessagePanelComponent, SidePanelComponent, SkeletonComponent, TableToolbarComponent, TemplatePickerComponent, TextInputComponent, TextareaInputComponent, TimeInputComponent, ToastComponent, ToastService, ToggleBadgeComponent, TooltipDirective, US_STATES, UiFieldValidity, VideoPickerComponent, appShellGroupsStorageKey, appendVideoLink, applyVideoLine, autoVariant, buildSigners, buildVideoLink, builtInActionIcon, countersignLine, createFieldReveal, decodeFilterValues, describeDocumentSigners, effectiveRoles, encodeFilterValue, encodeFilterValues, errorContextInterceptor, formatIsoDate, formatIsoDateTime, formatTime, forwardContext, getEligibleIds, getEligibleOptions, getErrorMessage, hasMappedDataFields, humanReadableMessage, iconPath, isoKey, issueToErrors, maxLengthIssue, mergeFieldText, mergeWarningLines, messagePreviewHtml, normalizeRoles, parseCcList, parseIso, parseTime, pluralize, requiredIssue, resolvePreset, roleNumber, sendExistingEnvelope, signerProblems, signerRoleLabel, stripVideoLink, suggestDocumentSubject, videoMessageLine };
|
|
31178
31349
|
|
|
31179
31350
|
//# sourceMappingURL=forgeroute-ui.mjs.map
|