mountain-ui 1.0.5 → 1.0.7
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/index.d.ts +2 -0
- package/index.js +2 -0
- package/package.json +1 -1
- package/src/lib/registry/entityRegistry/components/FieldButton copy.svelte +2 -2
- package/src/lib/registry/entityRegistry/components/FieldButton.svelte +2 -2
- package/src/lib/registry/entityRegistry/components/FieldCard.svelte +2 -2
- package/src/lib/registry/entityRegistry/components/FieldInput.svelte +1 -1
- package/src/lib/registry/fieldTypeRegistry/components/Label.svelte +3 -3
- package/src/lib/registry/fieldTypeRegistry/fieldTypes/Lines/Input.svelte +2 -2
- package/src/lib/registry/fieldTypeRegistry/fieldTypes/Link/Input/Input.svelte +3 -3
- package/src/lib/registry/fieldTypeRegistry/fieldTypes/calculation/CalculationColumn/Input.svelte +1 -1
- package/src/lib/registry/fieldTypeRegistry/fieldTypes/calculation/CalculationColumn/index.js +1 -1
- package/src/lib/registry/fieldTypeRegistry/fieldTypes/list/ListCheckbox/Input.svelte +2 -2
- package/src/lib/registry/fieldTypeRegistry/fieldTypes/list/ListCheckbox/index.js +1 -1
- package/src/lib/registry/fieldTypeRegistry/fieldTypes/list/ListRadio/Input.svelte +2 -2
- package/src/lib/registry/fieldTypeRegistry/fieldTypes/list/ListRadio/index.js +1 -1
- package/src/lib/registry/fieldTypeRegistry/fieldTypes/number/NumberInt/Input.svelte +2 -2
- package/src/lib/registry/fieldTypeRegistry/fieldTypes/number/NumberInt/index.js +1 -1
- package/src/lib/registry/fieldTypeRegistry/fieldTypes/number/float/NumberFloatDefault/Input.svelte +2 -2
- package/src/lib/registry/fieldTypeRegistry/fieldTypes/number/float/NumberFloatDefault/index.js +1 -1
- package/src/lib/registry/fieldTypeRegistry/fieldTypes/number/float/NumberFloatPercent/Input.svelte +2 -2
- package/src/lib/registry/fieldTypeRegistry/fieldTypes/number/float/NumberFloatPercent/index.js +1 -1
- package/src/lib/registry/fieldTypeRegistry/fieldTypes/number/float/NumberFloatPrice/Input.svelte +2 -2
- package/src/lib/registry/fieldTypeRegistry/fieldTypes/number/float/NumberFloatPrice/index.js +1 -1
- package/src/lib/registry/fieldTypeRegistry/fieldTypes/text/TextTextarea/Input.svelte +2 -2
- package/src/lib/registry/fieldTypeRegistry/fieldTypes/text/TextTextarea/index.js +1 -1
- package/src/lib/registry/fieldTypeRegistry/fieldTypes/text/varchar/TextVarcharDefault/Input.svelte +2 -2
- package/src/lib/registry/fieldTypeRegistry/fieldTypes/text/varchar/TextVarcharDefault/index.js +1 -1
- package/src/lib/registry/fieldTypeRegistry/fieldTypes/text/varchar/TextVarcharEmail/Input.svelte +2 -2
- package/src/lib/registry/fieldTypeRegistry/fieldTypes/text/varchar/TextVarcharEmail/index.js +1 -1
- package/src/lib/registry/fieldTypeRegistry/fieldTypes/text/varchar/TextVarcharPassword/Input.svelte +2 -2
- package/src/lib/registry/fieldTypeRegistry/fieldTypes/text/varchar/TextVarcharPassword/index.js +1 -1
- package/src/lib/registry/fieldTypeRegistry/fieldTypes/text/varchar/TextVarcharPhone/Input.svelte +2 -2
- package/src/lib/registry/fieldTypeRegistry/fieldTypes/text/varchar/TextVarcharPhone/index.js +1 -1
- package/src/lib/registry/fieldTypeRegistry/fieldTypes/text/varchar/TextVarcharUrl/Input.svelte +2 -2
- package/src/lib/registry/fieldTypeRegistry/fieldTypes/text/varchar/TextVarcharUrl/index.js +1 -1
- package/src/lib/registry/fieldTypeRegistry/fieldTypes/time/TimeCreatedAt/index.js +1 -1
- package/src/lib/registry/fieldTypeRegistry/fieldTypes/time/TimeDate/Input.svelte +2 -2
- package/src/lib/registry/fieldTypeRegistry/fieldTypes/time/TimeDate/index.js +1 -1
- package/src/lib/registry/fieldTypeRegistry/fieldTypes/time/TimeDatetime/Input.svelte +2 -2
- package/src/lib/registry/fieldTypeRegistry/fieldTypes/time/TimeDatetime/index.js +1 -1
- package/src/lib/registry/fieldTypeRegistry/fieldTypes/time/TimeDay/Input.svelte +2 -2
- package/src/lib/registry/fieldTypeRegistry/fieldTypes/time/TimeDay/index.js +1 -1
- package/src/lib/registry/fieldTypeRegistry/fieldTypes/time/TimeHour/Input.svelte +2 -2
- package/src/lib/registry/fieldTypeRegistry/fieldTypes/time/TimeHour/index.js +1 -1
- package/src/lib/registry/fieldTypeRegistry/fieldTypes/time/TimeMonth/Input.svelte +2 -2
- package/src/lib/registry/fieldTypeRegistry/fieldTypes/time/TimeMonth/index.js +1 -1
- package/src/lib/registry/fieldTypeRegistry/fieldTypes/time/TimeMonthOfYear/Input.svelte +2 -2
- package/src/lib/registry/fieldTypeRegistry/fieldTypes/time/TimeMonthOfYear/index.js +1 -1
- package/src/lib/registry/fieldTypeRegistry/fieldTypes/time/TimeUpdatedAt/index.js +1 -1
- package/src/lib/registry/fieldTypeRegistry/fieldTypes/time/TimeYear/Input.svelte +2 -2
- package/src/lib/registry/fieldTypeRegistry/fieldTypes/time/TimeYear/index.js +1 -1
package/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
export { init as initMountainUi } from "hamzus-ui";
|
|
1
2
|
// ============================================
|
|
2
3
|
// Field Type Registry
|
|
3
4
|
// ============================================
|
|
5
|
+
|
|
4
6
|
export { fieldTypeRegistry } from './src/lib/registry/fieldTypeRegistry/registry.svelte.js';
|
|
5
7
|
export { createFieldType } from './src/lib/registry/fieldTypeRegistry/createFieldType.js';
|
|
6
8
|
export { registerDefaultFieldTypes } from './src/lib/registry/fieldTypeRegistry/registerDefaultFieldTypes.js';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mountain-ui",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.7",
|
|
5
5
|
"description": "A comprehensive UI component library for ERP systems with field types, entities, and registry management built with Svelte",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"module": "index.js",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import FieldTypeIcon from '
|
|
3
|
-
import { fieldTypeRegistry } from '
|
|
2
|
+
import FieldTypeIcon from '../../fieldTypeRegistry/components/FieldTypeIcon.svelte';
|
|
3
|
+
import { fieldTypeRegistry } from '../../fieldTypeRegistry/registry.svelte';
|
|
4
4
|
import { Button } from 'hamzus-ui';
|
|
5
5
|
import { entityRegistry } from '../registry.svelte';
|
|
6
6
|
import FieldIsSecretIcon from './FieldIsSecretIcon.svelte';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import FieldTypeIcon from '
|
|
3
|
-
import { fieldTypeRegistry } from '
|
|
2
|
+
import FieldTypeIcon from '../../fieldTypeRegistry/components/FieldTypeIcon.svelte';
|
|
3
|
+
import { fieldTypeRegistry } from '../../fieldTypeRegistry/registry.svelte.js';
|
|
4
4
|
import { Button } from 'hamzus-ui';
|
|
5
5
|
import { entityRegistry } from '../registry.svelte';
|
|
6
6
|
import FieldIsSecretIcon from './FieldIsSecretIcon.svelte';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import FieldTypeIcon from '
|
|
3
|
-
import { fieldTypeRegistry } from '
|
|
2
|
+
import FieldTypeIcon from '../../fieldTypeRegistry/components/FieldTypeIcon.svelte';
|
|
3
|
+
import { fieldTypeRegistry } from '../../fieldTypeRegistry/registry.svelte';
|
|
4
4
|
import { Button } from 'hamzus-ui';
|
|
5
5
|
import { entityRegistry } from '../registry.svelte';
|
|
6
6
|
import FieldIsSecretIcon from './FieldIsSecretIcon.svelte';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import FieldTypeInput from '
|
|
2
|
+
import FieldTypeInput from '../../fieldTypeRegistry/components/FieldTypeInput.svelte';
|
|
3
3
|
import { entityRegistry } from '../registry.svelte';
|
|
4
4
|
|
|
5
5
|
let { id, entityId = null, onChange = () => {}, onChangeDetails = () => {}, ...props } = $props();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import FieldIsRequiredIcon from '
|
|
3
|
-
import FieldIsSecretIcon from '
|
|
4
|
-
import FieldIsUniqueIcon from '
|
|
2
|
+
import FieldIsRequiredIcon from '../../entityRegistry/components/FieldIsRequiredIcon.svelte';
|
|
3
|
+
import FieldIsSecretIcon from '../../entityRegistry/components/FieldIsSecretIcon.svelte';
|
|
4
|
+
import FieldIsUniqueIcon from '../../entityRegistry/components/FieldIsUniqueIcon.svelte';
|
|
5
5
|
|
|
6
6
|
let { label = '', required = false, unique = false, secret = false } = $props();
|
|
7
7
|
</script>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import FieldInput from '
|
|
3
|
-
import { entityRegistry } from '
|
|
2
|
+
import FieldInput from '../../../entityRegistry/components/FieldInput.svelte';
|
|
3
|
+
import { entityRegistry } from '../../../entityRegistry/registry.svelte.js';
|
|
4
4
|
import { Button, IconButton, ResponsiveTable } from 'hamzus-ui';
|
|
5
5
|
|
|
6
6
|
let {
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
import LinkCard from './LinkCard.svelte';
|
|
4
4
|
import LinkCardSelection from './LinkCardSelection.svelte';
|
|
5
5
|
import { onMount } from 'svelte';
|
|
6
|
-
import { entityRegistry } from '
|
|
7
|
-
import Line from '
|
|
8
|
-
import Label from '
|
|
6
|
+
import { entityRegistry } from '../../../../entityRegistry/registry.svelte';
|
|
7
|
+
import Line from '../../../components/Line.svelte';
|
|
8
|
+
import Label from '../../../components/Label.svelte';
|
|
9
9
|
|
|
10
10
|
let {
|
|
11
11
|
label = '',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import Label from '
|
|
3
|
-
import Line from '
|
|
2
|
+
import Label from '../../../components/Label.svelte';
|
|
3
|
+
import Line from '../../../components/Line.svelte';
|
|
4
4
|
import { Checkbox, Tag } from 'hamzus-ui';
|
|
5
5
|
|
|
6
6
|
let {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import Label from '
|
|
3
|
-
import Line from '
|
|
2
|
+
import Label from '../../../components/Label.svelte';
|
|
3
|
+
import Line from '../../../components/Line.svelte';
|
|
4
4
|
import { Button, DropdownMenu, Tag } from 'hamzus-ui';
|
|
5
5
|
|
|
6
6
|
let {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import Label from '
|
|
3
|
-
import Line from '
|
|
2
|
+
import Label from '../../../components/Label.svelte';
|
|
3
|
+
import Line from '../../../components/Line.svelte';
|
|
4
4
|
import { Input } from 'hamzus-ui';
|
|
5
5
|
|
|
6
6
|
let { label, unique = false, secret = false, compact = false, required, ...props } = $props();
|
package/src/lib/registry/fieldTypeRegistry/fieldTypes/number/float/NumberFloatDefault/Input.svelte
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import Label from '
|
|
3
|
-
import Line from '
|
|
2
|
+
import Label from '../../../../components/Label.svelte';
|
|
3
|
+
import Line from '../../../../components/Line.svelte';
|
|
4
4
|
import FieldTypeInputFloat from '../FieldTypeInputFloat.svelte';
|
|
5
5
|
|
|
6
6
|
let { label, unique = false, secret = false, compact = false, required, ...props } = $props();
|
package/src/lib/registry/fieldTypeRegistry/fieldTypes/number/float/NumberFloatPercent/Input.svelte
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import Label from '
|
|
3
|
-
import Line from '
|
|
2
|
+
import Label from '../../../../components/Label.svelte';
|
|
3
|
+
import Line from '../../../../components/Line.svelte';
|
|
4
4
|
import FieldTypeInputFloat from '../FieldTypeInputFloat.svelte';
|
|
5
5
|
|
|
6
6
|
let { label, unique = false, secret = false, compact = false, required, ...props } = $props();
|
package/src/lib/registry/fieldTypeRegistry/fieldTypes/number/float/NumberFloatPrice/Input.svelte
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import Label from '
|
|
3
|
-
import Line from '
|
|
2
|
+
import Label from '../../../../components/Label.svelte';
|
|
3
|
+
import Line from '../../../../components/Line.svelte';
|
|
4
4
|
import FieldTypeInputFloat from '../FieldTypeInputFloat.svelte';
|
|
5
5
|
|
|
6
6
|
let { label, unique = false, secret = false, compact = false, required, ...props } = $props();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import Label from '
|
|
3
|
-
import Line from '
|
|
2
|
+
import Label from '../../../components/Label.svelte';
|
|
3
|
+
import Line from '../../../components/Line.svelte';
|
|
4
4
|
import { TextArea } from 'hamzus-ui';
|
|
5
5
|
|
|
6
6
|
let {
|
package/src/lib/registry/fieldTypeRegistry/fieldTypes/text/varchar/TextVarcharDefault/Input.svelte
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import Label from '
|
|
3
|
-
import Line from '
|
|
2
|
+
import Label from '../../../../components/Label.svelte';
|
|
3
|
+
import Line from '../../../../components/Line.svelte';
|
|
4
4
|
import FieldTypeInputText from '../FieldTypeInputText.svelte';
|
|
5
5
|
|
|
6
6
|
let { label, unique = false, secret = false, compact = false, required, ...props } = $props();
|
package/src/lib/registry/fieldTypeRegistry/fieldTypes/text/varchar/TextVarcharEmail/Input.svelte
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import Label from '
|
|
3
|
-
import Line from '
|
|
2
|
+
import Label from '../../../../components/Label.svelte';
|
|
3
|
+
import Line from '../../../../components/Line.svelte';
|
|
4
4
|
import FieldTypeInputText from '../FieldTypeInputText.svelte';
|
|
5
5
|
let { label, unique = false, secret = false, compact = false, required, ...props } = $props();
|
|
6
6
|
</script>
|
package/src/lib/registry/fieldTypeRegistry/fieldTypes/text/varchar/TextVarcharPassword/Input.svelte
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import Label from '
|
|
3
|
-
import Line from '
|
|
2
|
+
import Label from '../../../../components/Label.svelte';
|
|
3
|
+
import Line from '../../../../components/Line.svelte';
|
|
4
4
|
import { Input } from 'hamzus-ui';
|
|
5
5
|
|
|
6
6
|
let { label, unique = false, secret = false, compact = false, required, ...props } = $props();
|
package/src/lib/registry/fieldTypeRegistry/fieldTypes/text/varchar/TextVarcharPhone/Input.svelte
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import Label from '
|
|
3
|
-
import Line from '
|
|
2
|
+
import Label from '../../../../components/Label.svelte';
|
|
3
|
+
import Line from '../../../../components/Line.svelte';
|
|
4
4
|
import FieldTypeInputText from '../FieldTypeInputText.svelte';
|
|
5
5
|
let { label, unique = false, secret = false, compact = false, required, ...props } = $props();
|
|
6
6
|
</script>
|
package/src/lib/registry/fieldTypeRegistry/fieldTypes/text/varchar/TextVarcharUrl/Input.svelte
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import Label from '
|
|
3
|
-
import Line from '
|
|
2
|
+
import Label from '../../../../components/Label.svelte';
|
|
3
|
+
import Line from '../../../../components/Line.svelte';
|
|
4
4
|
import FieldTypeInputText from '../FieldTypeInputText.svelte';
|
|
5
5
|
let { label, unique = false, secret = false, compact = false, required, ...props } = $props();
|
|
6
6
|
</script>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import Label from '
|
|
3
|
-
import Line from '
|
|
2
|
+
import Label from '../../../components/Label.svelte';
|
|
3
|
+
import Line from '../../../components/Line.svelte';
|
|
4
4
|
import { DatePicker } from 'hamzus-ui';
|
|
5
5
|
|
|
6
6
|
let { label, unique = false, secret = false, compact = false, required, ...props } = $props();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import Label from '
|
|
3
|
-
import Line from '
|
|
2
|
+
import Label from '../../../components/Label.svelte';
|
|
3
|
+
import Line from '../../../components/Line.svelte';
|
|
4
4
|
import { DateTimePicker } from 'hamzus-ui';
|
|
5
5
|
|
|
6
6
|
let { label, unique = false, secret = false, compact = false, required, ...props } = $props();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import Label from '
|
|
3
|
-
import Line from '
|
|
2
|
+
import Label from '../../../components/Label.svelte';
|
|
3
|
+
import Line from '../../../components/Line.svelte';
|
|
4
4
|
import { DayPicker } from 'hamzus-ui';
|
|
5
5
|
|
|
6
6
|
let { label, unique = false, secret = false, compact = false, required, ...props } = $props();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import Label from '
|
|
3
|
-
import Line from '
|
|
2
|
+
import Label from '../../../components/Label.svelte';
|
|
3
|
+
import Line from '../../../components/Line.svelte';
|
|
4
4
|
import { TimePicker } from 'hamzus-ui';
|
|
5
5
|
|
|
6
6
|
let { label, unique = false, secret = false, compact = false, required, ...props } = $props();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import Label from '
|
|
3
|
-
import Line from '
|
|
2
|
+
import Label from '../../../components/Label.svelte';
|
|
3
|
+
import Line from '../../../components/Line.svelte';
|
|
4
4
|
import { MonthPicker } from 'hamzus-ui';
|
|
5
5
|
|
|
6
6
|
let { label, unique = false, secret = false, compact = false, required, ...props } = $props();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import Label from '
|
|
3
|
-
import Line from '
|
|
2
|
+
import Label from '../../../components/Label.svelte';
|
|
3
|
+
import Line from '../../../components/Line.svelte';
|
|
4
4
|
import { MonthOfYearPicker } from 'hamzus-ui';
|
|
5
5
|
|
|
6
6
|
let { label, unique = false, secret = false, compact = false, required, ...props } = $props();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import Label from '
|
|
3
|
-
import Line from '
|
|
2
|
+
import Label from '../../../components/Label.svelte';
|
|
3
|
+
import Line from '../../../components/Line.svelte';
|
|
4
4
|
import { YearPicker } from 'hamzus-ui';
|
|
5
5
|
|
|
6
6
|
let { label, unique = false, secret = false, compact = false, required, ...props } = $props();
|